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

CustomAssessmentAutomations interface

表示 CustomAssessmentAutomations 的接口。

方法

create(string, string, CustomAssessmentAutomationRequest, CustomAssessmentAutomationsCreateOptionalParams)

为提供的订阅创建或更新自定义评估自动化。 请注意,提供现有的自定义评估自动化将替换现有记录。

delete(string, string, CustomAssessmentAutomationsDeleteOptionalParams)

按提供订阅的名称删除自定义评估自动化

get(string, string, CustomAssessmentAutomationsGetOptionalParams)

按提供的订阅和资源组的名称获取单个自定义评估自动化。

listByResourceGroup(string, CustomAssessmentAutomationsListByResourceGroupOptionalParams)

列出提供的订阅和资源组的自定义评估自动化

listBySubscription(CustomAssessmentAutomationsListBySubscriptionOptionalParams)

列出提供的订阅的自定义评估自动化

方法详细信息

create(string, string, CustomAssessmentAutomationRequest, CustomAssessmentAutomationsCreateOptionalParams)

为提供的订阅创建或更新自定义评估自动化。 请注意,提供现有的自定义评估自动化将替换现有记录。

function create(resourceGroupName: string, customAssessmentAutomationName: string, customAssessmentAutomationBody: CustomAssessmentAutomationRequest, options?: CustomAssessmentAutomationsCreateOptionalParams): Promise<CustomAssessmentAutomation>

参数

resourceGroupName

string

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

customAssessmentAutomationName

string

自定义评估自动化的名称。

customAssessmentAutomationBody
CustomAssessmentAutomationRequest

自定义评估自动化正文

返回

delete(string, string, CustomAssessmentAutomationsDeleteOptionalParams)

按提供订阅的名称删除自定义评估自动化

function delete(resourceGroupName: string, customAssessmentAutomationName: string, options?: CustomAssessmentAutomationsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

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

customAssessmentAutomationName

string

自定义评估自动化的名称。

返回

Promise<void>

get(string, string, CustomAssessmentAutomationsGetOptionalParams)

按提供的订阅和资源组的名称获取单个自定义评估自动化。

function get(resourceGroupName: string, customAssessmentAutomationName: string, options?: CustomAssessmentAutomationsGetOptionalParams): Promise<CustomAssessmentAutomation>

参数

resourceGroupName

string

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

customAssessmentAutomationName

string

自定义评估自动化的名称。

返回

listByResourceGroup(string, CustomAssessmentAutomationsListByResourceGroupOptionalParams)

列出提供的订阅和资源组的自定义评估自动化

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

参数

resourceGroupName

string

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

返回

listBySubscription(CustomAssessmentAutomationsListBySubscriptionOptionalParams)

列出提供的订阅的自定义评估自动化

function listBySubscription(options?: CustomAssessmentAutomationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CustomAssessmentAutomation, CustomAssessmentAutomation[], PageSettings>

参数

返回