WebhookOperations class
Classe représentant un WebhookOperations.
Constructeurs
| Webhook |
Créez un WebhookOperations. |
Méthodes
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<WebhookCreateOrUpdateResponse>
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
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
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<WebhookGenerateUriResponse>
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<WebhookGetResponse>
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
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
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.
- callback
Rappel
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.
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.
Paramètres facultatifs
- callback
Rappel
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
- callback
Rappel
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.
- callback
Rappel
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<WebhookUpdateResponse>
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
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
Rappel