Condividi tramite


WebhookOperations class

Classe che rappresenta un webhookOperations.

Costruttori

WebhookOperations(AutomationClientContext)

Creare un webhookOperations.

Metodi

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

Creare il webhook identificato dal nome del webhook.

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

Eliminare il webhook in base al nome.

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

Genera un URI da usare per la creazione di un webhook.

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

Recuperare il webhook identificato dal nome del webhook.

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

Recuperare un elenco di webhook.

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

Recuperare un elenco di webhook.

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

Aggiornare il webhook identificato dal nome del webhook.

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

Dettagli costruttore

WebhookOperations(AutomationClientContext)

Creare un webhookOperations.

new WebhookOperations(client: AutomationClientContext)

Parametri

client
AutomationClientContext

Riferimento al client del servizio.

Dettagli metodo

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

Creare il webhook identificato dal nome del webhook.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

parameters
WebhookCreateOrUpdateParameters

Parametri di creazione o aggiornamento per il webhook.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

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>)

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

parameters
WebhookCreateOrUpdateParameters

Parametri di creazione o aggiornamento per il webhook.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<Webhook>

Callback

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

function createOrUpdate(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookCreateOrUpdateParameters, callback: ServiceCallback<Webhook>)

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

parameters
WebhookCreateOrUpdateParameters

Parametri di creazione o aggiornamento per il webhook.

callback

ServiceCallback<Webhook>

Callback

deleteMethod(string, string, string, RequestOptionsBase)

Eliminare il webhook in base al nome.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<RestResponse>

Prometti<msRest.RestResponse>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<void>

Callback

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

callback

ServiceCallback<void>

Callback

generateUri(string, string, RequestOptionsBase)

Genera un URI da usare per la creazione di un webhook.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebhookGenerateUriResponse>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<string>

Callback

generateUri(string, string, ServiceCallback<string>)

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

callback

ServiceCallback<string>

Callback

get(string, string, string, RequestOptionsBase)

Recuperare il webhook identificato dal nome del webhook.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebhookGetResponse>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<Webhook>

Callback

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

callback

ServiceCallback<Webhook>

Callback

listByAutomationAccount(string, string, ServiceCallback<WebhookListResult>)

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

callback

ServiceCallback<WebhookListResult>

Callback

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Recuperare un elenco di webhook.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

options
WebhookListByAutomationAccountOptionalParams

Parametri facoltativi

Restituisce

Promise<Models.WebhookListByAutomationAccountResponse>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

options
WebhookListByAutomationAccountOptionalParams

Parametri facoltativi

callback

ServiceCallback<WebhookListResult>

Callback

listByAutomationAccountNext(string, RequestOptionsBase)

Recuperare un elenco di webhook.

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.WebhookListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WebhookListResult>)

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<WebhookListResult>

Callback

listByAutomationAccountNext(string, ServiceCallback<WebhookListResult>)

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

Parametri

nextPageLink

string

NextLink della precedente chiamata riuscita all'operazione List.

callback

ServiceCallback<WebhookListResult>

Callback

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

Aggiornare il webhook identificato dal nome del webhook.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

parameters
WebhookUpdateParameters

Parametri di aggiornamento per il webhook.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

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>)

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

parameters
WebhookUpdateParameters

Parametri di aggiornamento per il webhook.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<Webhook>

Callback

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

function update(resourceGroupName: string, automationAccountName: string, webhookName: string, parameters: WebhookUpdateParameters, callback: ServiceCallback<Webhook>)

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

webhookName

string

Nome del webhook.

parameters
WebhookUpdateParameters

Parametri di aggiornamento per il webhook.

callback

ServiceCallback<Webhook>

Callback