你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebhookOperations class

表示 WebhookOperations 的类。

构造函数

WebhookOperations(AutomationClientContext)

创建 WebhookOperations。

方法

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

创建由 Webhook 名称标识的 Webhook。

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

按名称删除 Webhook。

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

生成用于创建 Webhook 的 URI。

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

检索由 Webhook 名称标识的 Webhook。

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

检索 Webhook 列表。

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

检索 Webhook 列表。

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

更新由 Webhook 名称标识的 Webhook。

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

构造函数详细信息

WebhookOperations(AutomationClientContext)

创建 WebhookOperations。

new WebhookOperations(client: AutomationClientContext)

参数

client
AutomationClientContext

对服务客户端的引用。

方法详细信息

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

创建由 Webhook 名称标识的 Webhook。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

parameters
WebhookCreateOrUpdateParameters

Webhook 的创建或更新参数。

options
RequestOptionsBase

可选参数

返回

承诺<模型.WebhookCreateOrUpdateResponse>

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

parameters
WebhookCreateOrUpdateParameters

Webhook 的创建或更新参数。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Webhook>

回调

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

parameters
WebhookCreateOrUpdateParameters

Webhook 的创建或更新参数。

callback

ServiceCallback<Webhook>

回调

deleteMethod(string, string, string, RequestOptionsBase)

按名称删除 Webhook。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

options
RequestOptionsBase

可选参数

返回

Promise<RestResponse>

承诺<msRest.RestResponse>

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<void>

回调

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

callback

ServiceCallback<void>

回调

generateUri(string, string, RequestOptionsBase)

生成用于创建 Webhook 的 URI。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

options
RequestOptionsBase

可选参数

返回

承诺<Models.WebhookGenerateUriResponse>

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<string>

回调

generateUri(string, string, ServiceCallback<string>)

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

callback

ServiceCallback<string>

回调

get(string, string, string, RequestOptionsBase)

检索由 Webhook 名称标识的 Webhook。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

options
RequestOptionsBase

可选参数

返回

承诺<模型.WebhookGetResponse>

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Webhook>

回调

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

callback

ServiceCallback<Webhook>

回调

listByAutomationAccount(string, string, ServiceCallback<WebhookListResult>)

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

listByAutomationAccount(string, string, WebhookListByAutomationAccountOptionalParams)

检索 Webhook 列表。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

返回

承诺<模型.WebhookListByAutomationAccountResponse>

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

listByAutomationAccountNext(string, RequestOptionsBase)

检索 Webhook 列表。

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

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

options
RequestOptionsBase

可选参数

返回

承诺<模型.WebhookListByAutomationAccountNext响应>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<WebhookListResult>)

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

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

options
RequestOptionsBase

可选参数

listByAutomationAccountNext(string, ServiceCallback<WebhookListResult>)

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

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

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

更新由 Webhook 名称标识的 Webhook。

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

parameters
WebhookUpdateParameters

Webhook 的更新参数。

options
RequestOptionsBase

可选参数

返回

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

parameters
WebhookUpdateParameters

Webhook 的更新参数。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Webhook>

回调

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

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

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

webhookName

string

Webhook 名称。

parameters
WebhookUpdateParameters

Webhook 的更新参数。

callback

ServiceCallback<Webhook>

回调