HyperVCollectors interface
表示 HyperVCollectors 的接口。
方法
| create(string, string, string, Hyper |
创建或更新 Hyper-V 收集器 |
| delete(string, string, string, Hyper |
从项目中删除 Hyper-V 收集器。 |
| get(string, string, string, Hyper |
获取 Hyper-V 收集器。 |
| list |
获取 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 收集器的唯一名称。
选项参数。
返回
Promise<HyperVCollectorsCreateResponse>
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 收集器的唯一名称。
选项参数。
返回
Promise<HyperVCollectorsDeleteHeaders>
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 收集器的唯一名称。
选项参数。
返回
Promise<HyperVCollectorsGetResponse>
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 项目的名称。
选项参数。