Udostępnij za pośrednictwem


WebhookOperations class

Klasa reprezentująca element WebhookOperations.

Konstruktory

WebhookOperations(AutomationClientContext)

Utwórz element WebhookOperations.

Metody

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

Utwórz element webhook identyfikowany przez nazwę elementu webhook.

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

Usuń element webhook według nazwy.

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

Generuje identyfikator URI do użycia podczas tworzenia elementu webhook.

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

Pobierz element webhook zidentyfikowany przez nazwę elementu webhook.

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

Pobieranie listy elementów webhook.

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

Pobieranie listy elementów webhook.

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

Zaktualizuj element webhook zidentyfikowany przez nazwę elementu webhook.

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

Szczegóły konstruktora

WebhookOperations(AutomationClientContext)

Utwórz element WebhookOperations.

new WebhookOperations(client: AutomationClientContext)

Parametry

client
AutomationClientContext

Odwołanie do klienta usługi.

Szczegóły metody

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

Utwórz element webhook identyfikowany przez nazwę elementu webhook.

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

parameters
WebhookCreateOrUpdateParameters

Parametry tworzenia lub aktualizowania elementu webhook.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

parameters
WebhookCreateOrUpdateParameters

Parametry tworzenia lub aktualizowania elementu webhook.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<Webhook>

Wywołanie zwrotne

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

parameters
WebhookCreateOrUpdateParameters

Parametry tworzenia lub aktualizowania elementu webhook.

callback

ServiceCallback<Webhook>

Wywołanie zwrotne

deleteMethod(string, string, string, RequestOptionsBase)

Usuń element webhook według nazwy.

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<RestResponse>

Promise<msRest.RestResponse>

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<void>

Wywołanie zwrotne

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

callback

ServiceCallback<void>

Wywołanie zwrotne

generateUri(string, string, RequestOptionsBase)

Generuje identyfikator URI do użycia podczas tworzenia elementu webhook.

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.WebhookGenerateUriResponse>

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<string>

Wywołanie zwrotne

generateUri(string, string, ServiceCallback<string>)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

callback

ServiceCallback<string>

Wywołanie zwrotne

get(string, string, string, RequestOptionsBase)

Pobierz element webhook zidentyfikowany przez nazwę elementu webhook.

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.WebhookGetResponse>

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<Webhook>

Wywołanie zwrotne

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

callback

ServiceCallback<Webhook>

Wywołanie zwrotne

listByAutomationAccount(string, string, ServiceCallback<WebhookListResult>)

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

callback

ServiceCallback<WebhookListResult>

Wywołanie zwrotne

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Pobieranie listy elementów webhook.

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

options
WebhookListByAutomationAccountOptionalParams

Parametry opcjonalne

Zwraca

Promise<Models.WebhookListByAutomationAccountResponse>

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

options
WebhookListByAutomationAccountOptionalParams

Parametry opcjonalne

callback

ServiceCallback<WebhookListResult>

Wywołanie zwrotne

listByAutomationAccountNext(string, RequestOptionsBase)

Pobieranie listy elementów webhook.

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

Parametry

nextPageLink

string

Operacja NextLink z poprzedniego pomyślnego wywołania do listy.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.WebhookListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WebhookListResult>)

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

Parametry

nextPageLink

string

Operacja NextLink z poprzedniego pomyślnego wywołania do listy.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<WebhookListResult>

Wywołanie zwrotne

listByAutomationAccountNext(string, ServiceCallback<WebhookListResult>)

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

Parametry

nextPageLink

string

Operacja NextLink z poprzedniego pomyślnego wywołania do listy.

callback

ServiceCallback<WebhookListResult>

Wywołanie zwrotne

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

Zaktualizuj element webhook zidentyfikowany przez nazwę elementu webhook.

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

parameters
WebhookUpdateParameters

Parametry aktualizacji elementu webhook.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

parameters
WebhookUpdateParameters

Parametry aktualizacji elementu webhook.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<Webhook>

Wywołanie zwrotne

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

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

Parametry

resourceGroupName

string

Nazwa grupy zasobów platformy Azure.

automationAccountName

string

Nazwa konta usługi Automation.

webhookName

string

Nazwa elementu webhook.

parameters
WebhookUpdateParameters

Parametry aktualizacji elementu webhook.

callback

ServiceCallback<Webhook>

Wywołanie zwrotne