AssessedMachines interface

Interface representing a AssessedMachines.

Methods

get(string, string, string, string, string, AssessedMachinesGetOptionalParams)

Get an assessed machine with its size & cost estimate that was evaluated in the specified assessment.

listByAssessment(string, string, string, string, AssessedMachinesListByAssessmentOptionalParams)

Get list of machines that assessed as part of the specified assessment. Returns a json array of objects of type 'assessedMachine' as specified in the Models section.

Whenever an assessment is created or updated, it goes under computation. During this phase, the 'status' field of Assessment object reports 'Computing'. During the period when the assessment is under computation, the list of assessed machines is empty and no assessed machines are returned by this call.

Method Details

get(string, string, string, string, string, AssessedMachinesGetOptionalParams)

Get an assessed machine with its size & cost estimate that was evaluated in the specified assessment.

function get(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, assessedMachineName: string, options?: AssessedMachinesGetOptionalParams): Promise<AssessedMachinesGetResponse>

Parameters

resourceGroupName

string

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

projectName

string

Name of the Azure Migrate project.

groupName

string

Unique name of a group within a project.

assessmentName

string

Unique name of an assessment within a project.

assessedMachineName

string

Unique name of an assessed machine evaluated as part of an assessment.

options
AssessedMachinesGetOptionalParams

The options parameters.

Returns

listByAssessment(string, string, string, string, AssessedMachinesListByAssessmentOptionalParams)

Get list of machines that assessed as part of the specified assessment. Returns a json array of objects of type 'assessedMachine' as specified in the Models section.

Whenever an assessment is created or updated, it goes under computation. During this phase, the 'status' field of Assessment object reports 'Computing'. During the period when the assessment is under computation, the list of assessed machines is empty and no assessed machines are returned by this call.

function listByAssessment(resourceGroupName: string, projectName: string, groupName: string, assessmentName: string, options?: AssessedMachinesListByAssessmentOptionalParams): PagedAsyncIterableIterator<AssessedMachine, AssessedMachine[], PageSettings>

Parameters

resourceGroupName

string

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

projectName

string

Name of the Azure Migrate project.

groupName

string

Unique name of a group within a project.

assessmentName

string

Unique name of an assessment within a project.

options
AssessedMachinesListByAssessmentOptionalParams

The options parameters.

Returns