Compartir a través de


WebhookOperations class

Clase que representa un WebhookOperations.

Constructores

WebhookOperations(AutomationClientContext)

Cree un webhookOperations.

Métodos

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

Cree el webhook identificado por el nombre del webhook.

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

Elimine el webhook por nombre.

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

Genera un URI para su uso en la creación de un webhook.

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

Recupere el webhook identificado por el nombre del webhook.

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

Recupere una lista de webhooks.

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

Recupere una lista de webhooks.

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

Actualice el webhook identificado por el nombre del webhook.

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

Detalles del constructor

WebhookOperations(AutomationClientContext)

Cree un webhookOperations.

new WebhookOperations(client: AutomationClientContext)

Parámetros

client
AutomationClientContext

Referencia al cliente de servicio.

Detalles del método

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

Cree el webhook identificado por el nombre del webhook.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

parameters
WebhookCreateOrUpdateParameters

Parámetros de creación o actualización para webhook.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Modelos de promesas.WebhookCreateOrUpdateResponse<>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

parameters
WebhookCreateOrUpdateParameters

Parámetros de creación o actualización para webhook.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<Webhook>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

parameters
WebhookCreateOrUpdateParameters

Parámetros de creación o actualización para webhook.

callback

ServiceCallback<Webhook>

Devolución de llamada

deleteMethod(string, string, string, RequestOptionsBase)

Elimine el webhook por nombre.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Promise<RestResponse>

Promesa<msRest.RestResponse>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<void>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

callback

ServiceCallback<void>

Devolución de llamada

generateUri(string, string, RequestOptionsBase)

Genera un URI para su uso en la creación de un webhook.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Modelos de promesas.WebhookGenerateUriResponse<>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<string>

Devolución de llamada

generateUri(string, string, ServiceCallback<string>)

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

callback

ServiceCallback<string>

Devolución de llamada

get(string, string, string, RequestOptionsBase)

Recupere el webhook identificado por el nombre del webhook.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

< Promise>Models.WebhookGetResponse

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<Webhook>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

callback

ServiceCallback<Webhook>

Devolución de llamada

listByAutomationAccount(string, string, ServiceCallback<WebhookListResult>)

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

callback

ServiceCallback<WebhookListResult>

Devolución de llamada

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Recupere una lista de webhooks.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

options
WebhookListByAutomationAccountOptionalParams

Los parámetros opcionales

Devoluciones

Modelos de promesas.WebhookListByAutomationAccountResponse<>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

options
WebhookListByAutomationAccountOptionalParams

Los parámetros opcionales

callback

ServiceCallback<WebhookListResult>

Devolución de llamada

listByAutomationAccountNext(string, RequestOptionsBase)

Recupere una lista de webhooks.

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

Parámetros

nextPageLink

string

NextLink de la llamada correcta anterior a la operación List.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Modelos de promesas.WebhookListByAutomationAccountNextResponse<>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WebhookListResult>)

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

Parámetros

nextPageLink

string

NextLink de la llamada correcta anterior a la operación List.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<WebhookListResult>

Devolución de llamada

listByAutomationAccountNext(string, ServiceCallback<WebhookListResult>)

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

Parámetros

nextPageLink

string

NextLink de la llamada correcta anterior a la operación List.

callback

ServiceCallback<WebhookListResult>

Devolución de llamada

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

Actualice el webhook identificado por el nombre del webhook.

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

parameters
WebhookUpdateParameters

Parámetros de actualización para webhook.

options
RequestOptionsBase

Los parámetros opcionales

Devoluciones

Modelos de promesas.WebhookUpdateResponse<>

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

parameters
WebhookUpdateParameters

Parámetros de actualización para webhook.

options
RequestOptionsBase

Los parámetros opcionales

callback

ServiceCallback<Webhook>

Devolución de llamada

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

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

Parámetros

resourceGroupName

string

Nombre de un grupo de recursos de Azure.

automationAccountName

string

Nombre de la cuenta de Automation.

webhookName

string

Nombre del webhook.

parameters
WebhookUpdateParameters

Parámetros de actualización para webhook.

callback

ServiceCallback<Webhook>

Devolución de llamada