MigrationAssessmentProjectResource.GetMigrationSqlAssessmentOptionAsync 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 SqlAssessmentOptions
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/sqlAssessmentOptions/{assessmentOptionsName}
- Operation Id: SqlAssessmentOptionsOperations_Get
- Default Api Version: 2023-03-15
- Resource: MigrationSqlAssessmentOptionResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationSqlAssessmentOptionResource>> GetMigrationSqlAssessmentOptionAsync(string assessmentOptionsName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMigrationSqlAssessmentOptionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationSqlAssessmentOptionResource>>
override this.GetMigrationSqlAssessmentOptionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationSqlAssessmentOptionResource>>
Public Overridable Function GetMigrationSqlAssessmentOptionAsync (assessmentOptionsName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MigrationSqlAssessmentOptionResource))
Parameters
- assessmentOptionsName
- String
Sql assessment options ARM name. Accepted values is 'default'.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
assessmentOptionsName
is null.
assessmentOptionsName
is an empty string, and was expected to be non-empty.