Machines interface
Interface representing a Machines.
Methods
get(string, string, string, Machines |
Get the machine with the specified name. Returns a json object of type 'machine' defined in Models section. |
list |
Get data of all the machines available in the project. Returns a json array of objects of type 'machine' defined in Models section. |
Method Details
get(string, string, string, MachinesGetOptionalParams)
Get the machine with the specified name. Returns a json object of type 'machine' defined in Models section.
function get(resourceGroupName: string, projectName: string, machineName: string, options?: MachinesGetOptionalParams): Promise<MachinesGetResponse>
Parameters
- resourceGroupName
-
string
Name of the Azure Resource Group that project is part of.
- projectName
-
string
Name of the Azure Migrate project.
- machineName
-
string
Unique name of a machine in private datacenter.
- options
- MachinesGetOptionalParams
The options parameters.
Returns
Promise<MachinesGetResponse>
listByProject(string, string, MachinesListByProjectOptionalParams)
Get data of all the machines available in the project. Returns a json array of objects of type 'machine' defined in Models section.
function listByProject(resourceGroupName: string, projectName: string, options?: MachinesListByProjectOptionalParams): PagedAsyncIterableIterator<Machine, Machine[], 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.