HyperVCollectors interface
Interface representing a HyperVCollectors.
Methods
create(string, string, string, Hyper |
Create or Update Hyper-V collector |
delete(string, string, string, Hyper |
Delete a Hyper-V collector from the project. |
get(string, string, string, Hyper |
Get a Hyper-V collector. |
list |
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.
The options parameters.
Returns
Promise<HyperVCollectorsCreateResponse>
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.
The options parameters.
Returns
Promise<HyperVCollectorsDeleteHeaders>
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.
The options parameters.
Returns
Promise<HyperVCollectorsGetResponse>
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.
The options parameters.