WebhookOperations class
表示 WebhookOperations 的类。
构造函数
| Webhook |
创建 WebhookOperations。 |
方法
构造函数详细信息
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
可选参数
返回
Promise<WebhookCreateOrUpdateResponse>
承诺<模型.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
回调
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
回调
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
可选参数
返回
Promise<WebhookGenerateUriResponse>
承诺<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
可选参数
返回
Promise<WebhookGetResponse>
承诺<模型.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
回调
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
回调
listByAutomationAccount(string, string, ServiceCallback<WebhookListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<WebhookListResult>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- callback
回调
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
自动化帐户的名称。
可选参数
- callback
回调
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
可选参数
- callback
回调
listByAutomationAccountNext(string, ServiceCallback<WebhookListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<WebhookListResult>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- callback
回调
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
可选参数
返回
Promise<WebhookUpdateResponse>
承诺<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
回调
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
回调