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

ImportCollectors interface

表示 ImportCollectors 的接口。

方法详细信息

create(string, string, string, ImportCollectorsCreateOptionalParams)

创建或更新导入收集器

function create(resourceGroupName: string, projectName: string, importCollectorName: string, options?: ImportCollectorsCreateOptionalParams): Promise<ImportCollectorsCreateResponse>

参数

resourceGroupName

string

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

projectName

string

Azure Migrate 项目的名称。

importCollectorName

string

项目中导入收集器的唯一名称。

options
ImportCollectorsCreateOptionalParams

选项参数。

返回

delete(string, string, string, ImportCollectorsDeleteOptionalParams)

从项目中删除导入收集器。

function delete(resourceGroupName: string, projectName: string, importCollectorName: string, options?: ImportCollectorsDeleteOptionalParams): Promise<ImportCollectorsDeleteHeaders>

参数

resourceGroupName

string

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

projectName

string

Azure Migrate 项目的名称。

importCollectorName

string

项目中导入收集器的唯一名称。

options
ImportCollectorsDeleteOptionalParams

选项参数。

返回

get(string, string, string, ImportCollectorsGetOptionalParams)

获取导入收集器。

function get(resourceGroupName: string, projectName: string, importCollectorName: string, options?: ImportCollectorsGetOptionalParams): Promise<ImportCollectorsGetResponse>

参数

resourceGroupName

string

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

projectName

string

Azure Migrate 项目的名称。

importCollectorName

string

项目中导入收集器的唯一名称。

options
ImportCollectorsGetOptionalParams

选项参数。

返回

listByProject(string, string, ImportCollectorsListByProjectOptionalParams)

获取导入收集器的列表。

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

参数

resourceGroupName

string

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

projectName

string

Azure Migrate 项目的名称。

返回