Partager via


WebhookOperations interface

Interface représentant un WebhookOperations.

Méthodes

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, WebhookCreateOrUpdateOptionalParams)

Créez le webhook identifié par le nom du webhook.

delete(string, string, string, WebhookDeleteOptionalParams)

Supprimez le webhook par nom.

generateUri(string, string, WebhookGenerateUriOptionalParams)

Génère un URI à utiliser pour créer un webhook.

get(string, string, string, WebhookGetOptionalParams)

Récupérez le webhook identifié par le nom du webhook.

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Récupérez une liste de webhooks.

update(string, string, string, WebhookUpdateParameters, WebhookUpdateOptionalParams)

Mettez à jour le webhook identifié par le nom du webhook.

Détails de la méthode

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, WebhookCreateOrUpdateOptionalParams)

Créez le webhook identifié par le nom du webhook.

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

parameters
WebhookCreateOrUpdateParameters

Paramètres de création ou de mise à jour pour le webhook.

options
WebhookCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<Webhook>

delete(string, string, string, WebhookDeleteOptionalParams)

Supprimez le webhook par nom.

function delete(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

options
WebhookDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

generateUri(string, string, WebhookGenerateUriOptionalParams)

Génère un URI à utiliser pour créer un webhook.

function generateUri(resourceGroupName: string, automationAccountName: string, options?: WebhookGenerateUriOptionalParams): Promise<WebhookGenerateUriResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
WebhookGenerateUriOptionalParams

Paramètres d’options.

Retours

get(string, string, string, WebhookGetOptionalParams)

Récupérez le webhook identifié par le nom du webhook.

function get(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: WebhookGetOptionalParams): Promise<Webhook>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

options
WebhookGetOptionalParams

Paramètres d’options.

Retours

Promise<Webhook>

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Récupérez une liste de webhooks.

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
WebhookListByAutomationAccountOptionalParams

Paramètres d’options.

Retours

update(string, string, string, WebhookUpdateParameters, WebhookUpdateOptionalParams)

Mettez à jour le webhook identifié par le nom du webhook.

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

parameters
WebhookUpdateParameters

Paramètres de mise à jour pour le webhook.

options
WebhookUpdateOptionalParams

Paramètres d’options.

Retours

Promise<Webhook>