HyperVCollectors interface

Interface representing a HyperVCollectors.

Methods

create(string, string, string, HyperVCollectorsCreateOptionalParams)

Create or Update Hyper-V collector

delete(string, string, string, HyperVCollectorsDeleteOptionalParams)

Delete a Hyper-V collector from the project.

get(string, string, string, HyperVCollectorsGetOptionalParams)

Get a Hyper-V collector.

listByProject(string, string, HyperVCollectorsListByProjectOptionalParams)

Get a list of Hyper-V collector.

Method Details

create(string, string, string, HyperVCollectorsCreateOptionalParams)

Create or Update Hyper-V collector

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

Parameters

resourceGroupName

string

Name of the Azure Resource Group that project is part of.

projectName

string

Name of the Azure Migrate project.

hyperVCollectorName

string

Unique name of a Hyper-V collector within a project.

options
HyperVCollectorsCreateOptionalParams

The options parameters.

Returns

delete(string, string, string, HyperVCollectorsDeleteOptionalParams)

Delete a Hyper-V collector from the project.

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

Parameters

resourceGroupName

string

Name of the Azure Resource Group that project is part of.

projectName

string

Name of the Azure Migrate project.

hyperVCollectorName

string

Unique name of a Hyper-V collector within a project.

options
HyperVCollectorsDeleteOptionalParams

The options parameters.

Returns

get(string, string, string, HyperVCollectorsGetOptionalParams)

Get a Hyper-V collector.

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

Parameters

resourceGroupName

string

Name of the Azure Resource Group that project is part of.

projectName

string

Name of the Azure Migrate project.

hyperVCollectorName

string

Unique name of a Hyper-V collector within a project.

options
HyperVCollectorsGetOptionalParams

The options parameters.

Returns

listByProject(string, string, HyperVCollectorsListByProjectOptionalParams)

Get a list of Hyper-V collector.

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

Parameters

resourceGroupName

string

Name of the Azure Resource Group that project is part of.

projectName

string

Name of the Azure Migrate project.

options
HyperVCollectorsListByProjectOptionalParams

The options parameters.

Returns