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

ServerVulnerabilityAssessmentOperations interface

表示 ServerVulnerabilityAssessmentOperations 的接口。

方法

beginDelete(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)

从资源中删除服务器漏洞评估。

beginDeleteAndWait(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)

从资源中删除服务器漏洞评估。

createOrUpdate(string, string, string, string, ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams)

在资源上创建服务器漏洞评估,该评估将载入资源以对其进行漏洞评估

get(string, string, string, string, ServerVulnerabilityAssessmentGetOptionalParams)

获取给定资源上的服务器漏洞评估载入状态。

listByExtendedResource(string, string, string, string, ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams)

获取给定资源上的服务器漏洞评估载入状态的列表。

方法详细信息

beginDelete(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)

从资源中删除服务器漏洞评估。

function beginDelete(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

参数

resourceGroupName

string

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

resourceNamespace

string

资源的命名空间。

resourceType

string

资源的类型。

resourceName

string

资源的名称。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, ServerVulnerabilityAssessmentDeleteOptionalParams)

从资源中删除服务器漏洞评估。

function beginDeleteAndWait(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

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

resourceNamespace

string

资源的命名空间。

resourceType

string

资源的类型。

resourceName

string

资源的名称。

返回

Promise<void>

createOrUpdate(string, string, string, string, ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams)

在资源上创建服务器漏洞评估,该评估将载入资源以对其进行漏洞评估

function createOrUpdate(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentCreateOrUpdateOptionalParams): Promise<ServerVulnerabilityAssessment>

参数

resourceGroupName

string

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

resourceNamespace

string

资源的命名空间。

resourceType

string

资源的类型。

resourceName

string

资源的名称。

返回

get(string, string, string, string, ServerVulnerabilityAssessmentGetOptionalParams)

获取给定资源上的服务器漏洞评估载入状态。

function get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentGetOptionalParams): Promise<ServerVulnerabilityAssessment>

参数

resourceGroupName

string

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

resourceNamespace

string

资源的命名空间。

resourceType

string

资源的类型。

resourceName

string

资源的名称。

返回

listByExtendedResource(string, string, string, string, ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams)

获取给定资源上的服务器漏洞评估载入状态的列表。

function listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: ServerVulnerabilityAssessmentListByExtendedResourceOptionalParams): Promise<ServerVulnerabilityAssessmentsList>

参数

resourceGroupName

string

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

resourceNamespace

string

资源的命名空间。

resourceType

string

资源的类型。

resourceName

string

资源的名称。

返回