Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Machines

Package version

Class representing a Machines.

Hierarchy

  • Machines

Index

Constructors

Methods

Constructors

constructor

Methods

get

  • get(resourceGroupName: string, projectName: string, machineName: string, options?: msRest.RequestOptionsBase): Promise<Models.MachinesGetResponse>
  • get(resourceGroupName: string, projectName: string, machineName: string, callback: msRest.ServiceCallback<Machine>): void
  • get(resourceGroupName: string, projectName: string, machineName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Machine>): void
  • Get the machine with the specified name. Returns a json object of type 'machine' defined in Models section.

    summary

    Get a specific machine.

    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.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.MachinesGetResponse>

    Promise<Models.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.

    • callback: msRest.ServiceCallback<Machine>

      The callback

    Returns void

  • 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: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Machine>

      The callback

    Returns void

listByProject

  • listByProject(resourceGroupName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.MachinesListByProjectResponse>
  • listByProject(resourceGroupName: string, projectName: string, callback: msRest.ServiceCallback<MachineResultList>): void
  • listByProject(resourceGroupName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<MachineResultList>): void
  • Get data of all the machines available in the project. Returns a json array of objects of type 'machine' defined in Models section.

    summary

    Get all machines in the project

    Parameters

    • resourceGroupName: string

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

    • projectName: string

      Name of the Azure Migrate project.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.MachinesListByProjectResponse>

    Promise<Models.MachinesListByProjectResponse>

  • Parameters

    • resourceGroupName: string

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

    • projectName: string

      Name of the Azure Migrate project.

    • callback: msRest.ServiceCallback<MachineResultList>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

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

    • projectName: string

      Name of the Azure Migrate project.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<MachineResultList>

      The callback

    Returns void

Generated using TypeDoc