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

Automations interface

表示自动化的接口。

方法

createOrUpdate(string, string, Automation, AutomationsCreateOrUpdateOptionalParams)

创建或更新安全自动化。 如果已创建安全自动化,并且针对同一自动化 ID 发出后续请求,则会对其进行更新。

delete(string, string, AutomationsDeleteOptionalParams)

删除安全自动化。

get(string, string, AutomationsGetOptionalParams)

检索有关安全自动化模型的信息。

list(AutomationsListOptionalParams)

列出指定订阅中的所有安全自动化。 使用响应中的“nextLink”属性获取指定订阅的安全自动化下一页。

listByResourceGroup(string, AutomationsListByResourceGroupOptionalParams)

列出指定资源组中的所有安全自动化。 使用响应中的“nextLink”属性获取指定资源组的安全自动化下一页。

validate(string, string, Automation, AutomationsValidateOptionalParams)

在创建或更新之前验证安全自动化模型。 任何验证错误都会返回到客户端。

方法详细信息

createOrUpdate(string, string, Automation, AutomationsCreateOrUpdateOptionalParams)

创建或更新安全自动化。 如果已创建安全自动化,并且针对同一自动化 ID 发出后续请求,则会对其进行更新。

function createOrUpdate(resourceGroupName: string, automationName: string, automation: Automation, options?: AutomationsCreateOrUpdateOptionalParams): Promise<Automation>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

automationName

string

安全自动化名称。

automation
Automation

安全自动化资源

options
AutomationsCreateOrUpdateOptionalParams

选项参数。

返回

Promise<Automation>

delete(string, string, AutomationsDeleteOptionalParams)

删除安全自动化。

function delete(resourceGroupName: string, automationName: string, options?: AutomationsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

automationName

string

安全自动化名称。

options
AutomationsDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, AutomationsGetOptionalParams)

检索有关安全自动化模型的信息。

function get(resourceGroupName: string, automationName: string, options?: AutomationsGetOptionalParams): Promise<Automation>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

automationName

string

安全自动化名称。

options
AutomationsGetOptionalParams

选项参数。

返回

Promise<Automation>

list(AutomationsListOptionalParams)

列出指定订阅中的所有安全自动化。 使用响应中的“nextLink”属性获取指定订阅的安全自动化下一页。

function list(options?: AutomationsListOptionalParams): PagedAsyncIterableIterator<Automation, Automation[], PageSettings>

参数

options
AutomationsListOptionalParams

选项参数。

返回

listByResourceGroup(string, AutomationsListByResourceGroupOptionalParams)

列出指定资源组中的所有安全自动化。 使用响应中的“nextLink”属性获取指定资源组的安全自动化下一页。

function listByResourceGroup(resourceGroupName: string, options?: AutomationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Automation, Automation[], PageSettings>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

返回

validate(string, string, Automation, AutomationsValidateOptionalParams)

在创建或更新之前验证安全自动化模型。 任何验证错误都会返回到客户端。

function validate(resourceGroupName: string, automationName: string, automation: Automation, options?: AutomationsValidateOptionalParams): Promise<AutomationValidationStatus>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

automationName

string

安全自动化名称。

automation
Automation

安全自动化资源

options
AutomationsValidateOptionalParams

选项参数。

返回