Dela via


WebhookOperations class

Klass som representerar en WebhookOperations.

Konstruktorer

WebhookOperations(AutomationClientContext)

Skapa en WebhookOperations.

Metoder

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

Skapa webhooken som identifieras med webhook-namnet.

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

Ta bort webhooken efter namn.

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

Genererar en URI för användning när du skapar en webhook.

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

Hämta webhooken som identifieras med webhooknamn.

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

Hämta en lista över webhooks.

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

Hämta en lista över webhooks.

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

Uppdatera webhooken som identifieras med webhooknamn.

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

Konstruktorinformation

WebhookOperations(AutomationClientContext)

Skapa en WebhookOperations.

new WebhookOperations(client: AutomationClientContext)

Parametrar

client
AutomationClientContext

Referens till tjänstklienten.

Metodinformation

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

Skapa webhooken som identifieras med webhook-namnet.

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

parameters
WebhookCreateOrUpdateParameters

Parametrarna för att skapa eller uppdatera för webhook.

options
RequestOptionsBase

De valfria parametrarna

Returer

Löfte<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>)

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

parameters
WebhookCreateOrUpdateParameters

Parametrarna för att skapa eller uppdatera för webhook.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<Webhook>

Återanropet

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

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

parameters
WebhookCreateOrUpdateParameters

Parametrarna för att skapa eller uppdatera för webhook.

callback

ServiceCallback<Webhook>

Återanropet

deleteMethod(string, string, string, RequestOptionsBase)

Ta bort webhooken efter namn.

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<RestResponse>

Löfte<msRest.RestResponse>

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

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<void>

Återanropet

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

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

callback

ServiceCallback<void>

Återanropet

generateUri(string, string, RequestOptionsBase)

Genererar en URI för användning när du skapar en webhook.

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

options
RequestOptionsBase

De valfria parametrarna

Returer

Löfte<Models.WebhookGenerateUriResponse>

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

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<string>

Återanropet

generateUri(string, string, ServiceCallback<string>)

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

callback

ServiceCallback<string>

Återanropet

get(string, string, string, RequestOptionsBase)

Hämta webhooken som identifieras med webhooknamn.

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

options
RequestOptionsBase

De valfria parametrarna

Returer

Löfte<Models.WebhookGetResponse>

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

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<Webhook>

Återanropet

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

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

callback

ServiceCallback<Webhook>

Återanropet

listByAutomationAccount(string, string, ServiceCallback<WebhookListResult>)

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

callback

ServiceCallback<WebhookListResult>

Återanropet

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

Hämta en lista över webhooks.

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

options
WebhookListByAutomationAccountOptionalParams

De valfria parametrarna

Returer

Löfte<Models.WebhookListByAutomationAccountResponse>

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

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

options
WebhookListByAutomationAccountOptionalParams

De valfria parametrarna

callback

ServiceCallback<WebhookListResult>

Återanropet

listByAutomationAccountNext(string, RequestOptionsBase)

Hämta en lista över webhooks.

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

Parametrar

nextPageLink

string

NextLink från det tidigare lyckade anropet till liståtgärden.

options
RequestOptionsBase

De valfria parametrarna

Returer

Löfte<Models.WebhookListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WebhookListResult>)

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

Parametrar

nextPageLink

string

NextLink från det tidigare lyckade anropet till liståtgärden.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<WebhookListResult>

Återanropet

listByAutomationAccountNext(string, ServiceCallback<WebhookListResult>)

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

Parametrar

nextPageLink

string

NextLink från det tidigare lyckade anropet till liståtgärden.

callback

ServiceCallback<WebhookListResult>

Återanropet

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

Uppdatera webhooken som identifieras med webhooknamn.

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

parameters
WebhookUpdateParameters

Uppdateringsparametrarna för webhook.

options
RequestOptionsBase

De valfria parametrarna

Returer

Löfte<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>)

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

parameters
WebhookUpdateParameters

Uppdateringsparametrarna för webhook.

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<Webhook>

Återanropet

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

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

Parametrar

resourceGroupName

string

Namnet på en Azure-resursgrupp.

automationAccountName

string

Namnet på automationskontot.

webhookName

string

Webhookens namn.

parameters
WebhookUpdateParameters

Uppdateringsparametrarna för webhook.

callback

ServiceCallback<Webhook>

Återanropet