public interface Webhooks
Modifier and Type | Method and Description |
---|---|
Webhook.DefinitionStages.Blank |
define(String name)
Begins definition for a new Webhook resource.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String webhookName)
Delete the webhook by name.
|
void |
deleteById(String id)
Delete the webhook by name.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
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.
|
Webhook |
get(String resourceGroupName,
String automationAccountName,
String webhookName)
Retrieve the webhook identified by webhook name.
|
Webhook |
getById(String id)
Retrieve the webhook identified by webhook name.
|
com.azure.core.http.rest.Response<Webhook> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Retrieve the webhook identified by webhook name.
|
com.azure.core.http.rest.Response<Webhook> |
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<Webhook> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of webhooks.
|
com.azure.core.http.rest.PagedIterable<Webhook> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
String filter,
com.azure.core.util.Context context)
Retrieve a list of webhooks.
|
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.Webhook 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<Webhook> 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.com.azure.core.http.rest.PagedIterable<Webhook> 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<Webhook> 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.Webhook getById(String id)
id
- the resource ID.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<Webhook> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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 deleteById(String id)
id
- the resource ID.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> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.Webhook.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.