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

HypervCollectorsOperations interface

表示 HypervCollectorsOperations 的接口。

方法

beginCreate(string, string, string, HypervCollector, HypervCollectorsOperationsCreateOptionalParams)

创建 HypervCollector

beginCreateAndWait(string, string, string, HypervCollector, HypervCollectorsOperationsCreateOptionalParams)

创建 HypervCollector

delete(string, string, string, HypervCollectorsOperationsDeleteOptionalParams)

删除 HypervCollector

get(string, string, string, HypervCollectorsOperationsGetOptionalParams)

获取 HypervCollector

listByAssessmentProject(string, string, HypervCollectorsOperationsListByAssessmentProjectOptionalParams)

按 AssessmentProject 列出 HypervCollector 资源

方法详细信息

beginCreate(string, string, string, HypervCollector, HypervCollectorsOperationsCreateOptionalParams)

创建 HypervCollector

function beginCreate(resourceGroupName: string, projectName: string, hypervCollectorName: string, resource: HypervCollector, options?: HypervCollectorsOperationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<HypervCollector>, HypervCollector>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

projectName

string

评估项目名称

hypervCollectorName

string

Hyper-V 收集器 ARM 名称

resource
HypervCollector

资源创建参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<HypervCollector>, HypervCollector>>

beginCreateAndWait(string, string, string, HypervCollector, HypervCollectorsOperationsCreateOptionalParams)

创建 HypervCollector

function beginCreateAndWait(resourceGroupName: string, projectName: string, hypervCollectorName: string, resource: HypervCollector, options?: HypervCollectorsOperationsCreateOptionalParams): Promise<HypervCollector>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

projectName

string

评估项目名称

hypervCollectorName

string

Hyper-V 收集器 ARM 名称

resource
HypervCollector

资源创建参数。

返回

Promise<HypervCollector>

delete(string, string, string, HypervCollectorsOperationsDeleteOptionalParams)

删除 HypervCollector

function delete(resourceGroupName: string, projectName: string, hypervCollectorName: string, options?: HypervCollectorsOperationsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

projectName

string

评估项目名称

hypervCollectorName

string

Hyper-V 收集器 ARM 名称

返回

Promise<void>

get(string, string, string, HypervCollectorsOperationsGetOptionalParams)

获取 HypervCollector

function get(resourceGroupName: string, projectName: string, hypervCollectorName: string, options?: HypervCollectorsOperationsGetOptionalParams): Promise<HypervCollector>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

projectName

string

评估项目名称

hypervCollectorName

string

Hyper-V 收集器 ARM 名称

返回

Promise<HypervCollector>

listByAssessmentProject(string, string, HypervCollectorsOperationsListByAssessmentProjectOptionalParams)

按 AssessmentProject 列出 HypervCollector 资源

function listByAssessmentProject(resourceGroupName: string, projectName: string, options?: HypervCollectorsOperationsListByAssessmentProjectOptionalParams): PagedAsyncIterableIterator<HypervCollector, HypervCollector[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

projectName

string

评估项目名称

返回