WebhookOperations interface
Interface representing a WebhookOperations.
Methods
create |
Create the webhook identified by webhook name. |
delete(string, string, string, Webhook |
Delete the webhook by name. |
generate |
Generates a Uri for use in creating a webhook. |
get(string, string, string, Webhook |
Retrieve the webhook identified by webhook name. |
list |
Retrieve a list of webhooks. |
update(string, string, string, Webhook |
Update the webhook identified by webhook name. |
Method Details
createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, WebhookCreateOrUpdateOptionalParams)
Create the webhook identified by webhook name.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, options?: WebhookCreateOrUpdateOptionalParams): Promise<Webhook>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- webhookName
-
string
The webhook name.
- parameters
- WebhookCreateOrUpdateParameters
The create or update parameters for webhook.
The options parameters.
Returns
Promise<Webhook>
delete(string, string, string, WebhookDeleteOptionalParams)
Delete the webhook by name.
function delete(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- webhookName
-
string
The webhook name.
- options
- WebhookDeleteOptionalParams
The options parameters.
Returns
Promise<void>
generateUri(string, string, WebhookGenerateUriOptionalParams)
Generates a Uri for use in creating a webhook.
function generateUri(resourceGroupName: string, automationAccountName: string, options?: WebhookGenerateUriOptionalParams): Promise<WebhookGenerateUriResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- WebhookGenerateUriOptionalParams
The options parameters.
Returns
Promise<WebhookGenerateUriResponse>
get(string, string, string, WebhookGetOptionalParams)
Retrieve the webhook identified by webhook name.
function get(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookGetOptionalParams): Promise<Webhook>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- webhookName
-
string
The webhook name.
- options
- WebhookGetOptionalParams
The options parameters.
Returns
Promise<Webhook>
listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)
Retrieve a list of webhooks.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: WebhookListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Webhook, Webhook[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The options parameters.
Returns
update(string, string, string, WebhookUpdateParameters, WebhookUpdateOptionalParams)
Update the webhook identified by webhook name.
function update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, options?: WebhookUpdateOptionalParams): Promise<Webhook>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- webhookName
-
string
The webhook name.
- parameters
- WebhookUpdateParameters
The update parameters for webhook.
- options
- WebhookUpdateOptionalParams
The options parameters.
Returns
Promise<Webhook>
Azure SDK for JavaScript