Partager via


WebhookOperations class

Classe représentant un WebhookOperations.

Constructeurs

WebhookOperations(AutomationClientContext)

Créez un WebhookOperations.

Méthodes

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, RequestOptionsBase)

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

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Webhook>)
createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, ServiceCallback<Webhook>)
deleteMethod(string, string, string, RequestOptionsBase)

Supprimez le webhook par nom.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
generateUri(string, string, RequestOptionsBase)

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

generateUri(string, string, RequestOptionsBase, ServiceCallback<string>)
generateUri(string, string, ServiceCallback<string>)
get(string, string, string, RequestOptionsBase)

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

get(string, string, string, RequestOptionsBase, ServiceCallback<Webhook>)
get(string, string, string, ServiceCallback<Webhook>)
listByAutomationAccount(string, string, ServiceCallback<WebhookListResult>)
listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Récupérez une liste de webhooks.

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams, ServiceCallback<WebhookListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de webhooks.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WebhookListResult>)
listByAutomationAccountNext(string, ServiceCallback<WebhookListResult>)
update(string, string, string, WebhookUpdateParameters, RequestOptionsBase)

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

update(string, string, string, WebhookUpdateParameters, RequestOptionsBase, ServiceCallback<Webhook>)
update(string, string, string, WebhookUpdateParameters, ServiceCallback<Webhook>)

Détails du constructeur

WebhookOperations(AutomationClientContext)

Créez un WebhookOperations.

new WebhookOperations(client: AutomationClientContext)

Paramètres

client
AutomationClientContext

Référence au client de service.

Détails de la méthode

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, RequestOptionsBase)

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

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

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
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WebhookCreateOrUpdateResponse>

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Webhook>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Webhook>

Rappel

createOrUpdate(string, string, string, WebhookCreateOrUpdateParameters, ServiceCallback<Webhook>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, callback: ServiceCallback<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.

callback

ServiceCallback<Webhook>

Rappel

deleteMethod(string, string, string, RequestOptionsBase)

Supprimez le webhook par nom.

function deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, webhookName: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

callback

ServiceCallback<void>

Rappel

generateUri(string, string, RequestOptionsBase)

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

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WebhookGenerateUriResponse>

generateUri(string, string, RequestOptionsBase, ServiceCallback<string>)

function generateUri(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<string>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<string>

Rappel

generateUri(string, string, ServiceCallback<string>)

function generateUri(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<string>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

callback

ServiceCallback<string>

Rappel

get(string, string, string, RequestOptionsBase)

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

function get(resourceGroupName: string, automationAccountName: string, webhookName: string, options?: RequestOptionsBase): Promise<WebhookGetResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WebhookGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Webhook>)

function get(resourceGroupName: string, automationAccountName: string, webhookName: string, options: RequestOptionsBase, callback: ServiceCallback<Webhook>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Webhook>

Rappel

get(string, string, string, ServiceCallback<Webhook>)

function get(resourceGroupName: string, automationAccountName: string, webhookName: string, callback: ServiceCallback<Webhook>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

webhookName

string

Nom du webhook.

callback

ServiceCallback<Webhook>

Rappel

listByAutomationAccount(string, string, ServiceCallback<WebhookListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<WebhookListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Récupérez une liste de webhooks.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: WebhookListByAutomationAccountOptionalParams): Promise<WebhookListByAutomationAccountResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
WebhookListByAutomationAccountOptionalParams

Paramètres facultatifs

Retours

Promise<Models.WebhookListByAutomationAccountResponse>

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams, ServiceCallback<WebhookListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: WebhookListByAutomationAccountOptionalParams, callback: ServiceCallback<WebhookListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
WebhookListByAutomationAccountOptionalParams

Paramètres facultatifs

listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de webhooks.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<WebhookListByAutomationAccountNextResponse>

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WebhookListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WebhookListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<WebhookListResult>)

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

options
RequestOptionsBase

Paramètres facultatifs

listByAutomationAccountNext(string, ServiceCallback<WebhookListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<WebhookListResult>)

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

update(string, string, string, WebhookUpdateParameters, RequestOptionsBase)

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

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

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
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.WebhookUpdateResponse>

update(string, string, string, WebhookUpdateParameters, RequestOptionsBase, ServiceCallback<Webhook>)

function update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Webhook>

Rappel

update(string, string, string, WebhookUpdateParameters, ServiceCallback<Webhook>)

function update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, callback: ServiceCallback<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.

callback

ServiceCallback<Webhook>

Rappel