MigrationAssessmentGroupResource.GetMigrationAssessmentAsync Method       
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a Assessment
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}
 - Operation Id: AssessmentsOperations_Get
 - Default Api Version: 2023-03-15
 - Resource: MigrationAssessmentResource
 
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentResource>> GetMigrationAssessmentAsync(string assessmentName, System.Threading.CancellationToken cancellationToken = default);
	abstract member GetMigrationAssessmentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentResource>>
override this.GetMigrationAssessmentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentResource>>
	Public Overridable Function GetMigrationAssessmentAsync (assessmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MigrationAssessmentResource))
	Parameters
- assessmentName
 - String
 
Machine Assessment ARM name.
- cancellationToken
 - CancellationToken
 
The cancellation token to use.
Returns
Exceptions
assessmentName is null.
assessmentName is an empty string, and was expected to be non-empty.