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

HyperVCollectors interface

表示 HyperVCollectors 的接口。

方法

create(string, string, string, HyperVCollectorsCreateOptionalParams)

创建或更新 Hyper-V 收集器

delete(string, string, string, HyperVCollectorsDeleteOptionalParams)

从项目中删除 Hyper-V 收集器。

get(string, string, string, HyperVCollectorsGetOptionalParams)

获取 Hyper-V 收集器。

listByProject(string, string, HyperVCollectorsListByProjectOptionalParams)

获取 Hyper-V 收集器的列表。

方法详细信息

create(string, string, string, HyperVCollectorsCreateOptionalParams)

创建或更新 Hyper-V 收集器

function create(resourceGroupName: string, projectName: string, hyperVCollectorName: string, options?: HyperVCollectorsCreateOptionalParams): Promise<HyperVCollectorsCreateResponse>

参数

resourceGroupName

string

项目所属的 Azure 资源组的名称。

projectName

string

Azure Migrate 项目的名称。

hyperVCollectorName

string

项目中 Hyper-V 收集器的唯一名称。

options
HyperVCollectorsCreateOptionalParams

选项参数。

返回

delete(string, string, string, HyperVCollectorsDeleteOptionalParams)

从项目中删除 Hyper-V 收集器。

function delete(resourceGroupName: string, projectName: string, hyperVCollectorName: string, options?: HyperVCollectorsDeleteOptionalParams): Promise<HyperVCollectorsDeleteHeaders>

参数

resourceGroupName

string

项目所属的 Azure 资源组的名称。

projectName

string

Azure Migrate 项目的名称。

hyperVCollectorName

string

项目中 Hyper-V 收集器的唯一名称。

options
HyperVCollectorsDeleteOptionalParams

选项参数。

返回

get(string, string, string, HyperVCollectorsGetOptionalParams)

获取 Hyper-V 收集器。

function get(resourceGroupName: string, projectName: string, hyperVCollectorName: string, options?: HyperVCollectorsGetOptionalParams): Promise<HyperVCollectorsGetResponse>

参数

resourceGroupName

string

项目所属的 Azure 资源组的名称。

projectName

string

Azure Migrate 项目的名称。

hyperVCollectorName

string

项目中 Hyper-V 收集器的唯一名称。

options
HyperVCollectorsGetOptionalParams

选项参数。

返回

listByProject(string, string, HyperVCollectorsListByProjectOptionalParams)

获取 Hyper-V 收集器的列表。

function listByProject(resourceGroupName: string, projectName: string, options?: HyperVCollectorsListByProjectOptionalParams): PagedAsyncIterableIterator<HyperVCollector, HyperVCollector[], PageSettings>

参数

resourceGroupName

string

项目所属的 Azure 资源组的名称。

projectName

string

Azure Migrate 项目的名称。

返回