Поделиться через


MigrationAssessmentProjectSummaryCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/projectSummary/{projectSummaryName}
  • Operation Id: AssessmentProjectSummaryOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentProjectSummaryResource
public virtual Azure.NullableResponse<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentProjectSummaryResource> GetIfExists(string projectSummaryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentProjectSummaryResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentProjectSummaryResource>
Public Overridable Function GetIfExists (projectSummaryName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MigrationAssessmentProjectSummaryResource)

Parameters

projectSummaryName
String

Group ARM name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

projectSummaryName is an empty string, and was expected to be non-empty.

projectSummaryName is null.

Applies to