public interface WebhooksClient
Modifier and Type | Method and Description |
---|---|
WebhookInner |
createOrUpdate(String resourceGroupName,
String automationAccountName,
String webhookName,
WebhookCreateOrUpdateParameters parameters)
Create the webhook identified by webhook name.
|
com.azure.core.http.rest.Response<WebhookInner> |
createOrUpdateWithResponse(String resourceGroupName,
String automationAccountName,
String webhookName,
WebhookCreateOrUpdateParameters parameters,
com.azure.core.util.Context context)
Create the webhook identified by webhook name.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String webhookName)
Delete the webhook by name.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String automationAccountName,
String webhookName,
com.azure.core.util.Context context)
Delete the webhook by name.
|
String |
generateUri(String resourceGroupName,
String automationAccountName)
Generates a Uri for use in creating a webhook.
|
com.azure.core.http.rest.Response<String> |
generateUriWithResponse(String resourceGroupName,
String automationAccountName,
com.azure.core.util.Context context)
Generates a Uri for use in creating a webhook.
|
WebhookInner |
get(String resourceGroupName,
String automationAccountName,
String webhookName)
Retrieve the webhook identified by webhook name.
|
com.azure.core.http.rest.Response<WebhookInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String webhookName,
com.azure.core.util.Context context)
Retrieve the webhook identified by webhook name.
|
com.azure.core.http.rest.PagedIterable<WebhookInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of webhooks.
|
com.azure.core.http.rest.PagedIterable<WebhookInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
String filter,
com.azure.core.util.Context context)
Retrieve a list of webhooks.
|
WebhookInner |
update(String resourceGroupName,
String automationAccountName,
String webhookName,
WebhookUpdateParameters parameters)
Update the webhook identified by webhook name.
|
com.azure.core.http.rest.Response<WebhookInner> |
updateWithResponse(String resourceGroupName,
String automationAccountName,
String webhookName,
WebhookUpdateParameters parameters,
com.azure.core.util.Context context)
Update the webhook identified by webhook name.
|
String generateUri(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<String> generateUriWithResponse(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String automationAccountName, String webhookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.webhookName
- The webhook name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String webhookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.webhookName
- The webhook name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.WebhookInner get(String resourceGroupName, String automationAccountName, String webhookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.webhookName
- The webhook name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<WebhookInner> getWithResponse(String resourceGroupName, String automationAccountName, String webhookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.webhookName
- The webhook name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.WebhookInner createOrUpdate(String resourceGroupName, String automationAccountName, String webhookName, WebhookCreateOrUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.webhookName
- The webhook name.parameters
- The create or update parameters for webhook.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<WebhookInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String webhookName, WebhookCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.webhookName
- The webhook name.parameters
- The create or update parameters for webhook.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.WebhookInner update(String resourceGroupName, String automationAccountName, String webhookName, WebhookUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.webhookName
- The webhook name.parameters
- The update parameters for webhook.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<WebhookInner> updateWithResponse(String resourceGroupName, String automationAccountName, String webhookName, WebhookUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.webhookName
- The webhook name.parameters
- The update parameters for webhook.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<WebhookInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<WebhookInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.filter
- The filter to apply on the operation.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.