WebhookOperationsOperations interface

Interface representing a WebhookOperations operations.

Properties

createOrUpdate

Create the webhook identified by webhook name.

delete

Delete the webhook by name.

generateUri

Generates a Uri for use in creating a webhook.

get

Retrieve the webhook identified by webhook name.

listByAutomationAccount

Retrieve a list of webhooks.

update

Update the webhook identified by webhook name.

Property Details

createOrUpdate

Create the webhook identified by webhook name.

createOrUpdate: (resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, options?: WebhookOperationsCreateOrUpdateOptionalParams) => Promise<Webhook>

Property Value

(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, options?: WebhookOperationsCreateOrUpdateOptionalParams) => Promise<Webhook>

delete

Delete the webhook by name.

delete: (resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookOperationsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookOperationsDeleteOptionalParams) => Promise<void>

generateUri

Generates a Uri for use in creating a webhook.

generateUri: (resourceGroupName: string, automationAccountName: string, options?: WebhookOperationsGenerateUriOptionalParams) => Promise<WebhookOperationsGenerateUriResponse>

Property Value

(resourceGroupName: string, automationAccountName: string, options?: WebhookOperationsGenerateUriOptionalParams) => Promise<WebhookOperationsGenerateUriResponse>

get

Retrieve the webhook identified by webhook name.

get: (resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookOperationsGetOptionalParams) => Promise<Webhook>

Property Value

(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookOperationsGetOptionalParams) => Promise<Webhook>

listByAutomationAccount

Retrieve a list of webhooks.

listByAutomationAccount: (resourceGroupName: string, automationAccountName: string, options?: WebhookOperationsListByAutomationAccountOptionalParams) => PagedAsyncIterableIterator<Webhook, Webhook[], PageSettings>

Property Value

(resourceGroupName: string, automationAccountName: string, options?: WebhookOperationsListByAutomationAccountOptionalParams) => PagedAsyncIterableIterator<Webhook, Webhook[], PageSettings>

update

Update the webhook identified by webhook name.

update: (resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, options?: WebhookOperationsUpdateOptionalParams) => Promise<Webhook>

Property Value

(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, options?: WebhookOperationsUpdateOptionalParams) => Promise<Webhook>