Create a Assessments.
Reference to the service client.
Create a new assessment with the given name and the specified settings. Since name of an assessment in a project is a unique identiefier, if an assessment with the name provided already exists, then the existing assessment is updated.
Any PUT operation, resulting in either create or update on an assessment, will cause the assessment to go in a "InProgress" state. This will be indicated by the field 'computationState' on the Assessment object. During this time no other PUT operation will be allowed on that assessment object, nor will a Delete operation. Once the computation for the assessment is complete, the field 'computationState' will be updated to 'Ready', and then other PUT or DELETE operations can happen on the assessment.
When assessment is under computation, any PUT will lead to a 400 - Bad Request error.
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
Promise<Models.AssessmentsCreateResponse>
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
The callback
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
The optional parameters
The callback
Delete an assessment from the project. The machines remain in the assessment. Deleting a non-existent assessment results in a no-operation.
When an assessment is under computation, as indicated by the 'computationState' field, it cannot be deleted. Any such attempt will return a 400 - Bad Request.
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
Promise<Models.AssessmentsDeleteResponse>
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
The callback
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
The optional parameters
The callback
Get an existing assessment with the specified name. Returns a json object of type 'assessment' as specified in Models section.
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
Promise<Models.AssessmentsGetResponse>
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
The callback
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
The optional parameters
The callback
Get the URL for downloading the assessment in a report format.
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
Promise<Models.AssessmentsGetReportDownloadUrlResponse>
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
The callback
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Unique name of an assessment within a project.
The optional parameters
The callback
Get all assessments created for the specified group.
Returns a json array of objects of type 'assessment' as specified in Models section.
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
Promise<Models.AssessmentsListByGroupResponse>
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
The callback
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Unique name of a group within a project.
The optional parameters
The callback
Get all assessments created in the project.
Returns a json array of objects of type 'assessment' as specified in Models section.
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
Promise<Models.AssessmentsListByProjectResponse>
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
The callback
Name of the Azure Resource Group that project is part of.
Name of the Azure Migrate project.
The optional parameters
The callback
Generated using TypeDoc
Class representing a Assessments.