Share via


ManagedServicesRegistrationAssignmentResource.GetAsync Method

Definition

Gets the details of the specified registration assignment.

  • Request Path: /{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}
  • Operation Id: RegistrationAssignments_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedServices.ManagedServicesRegistrationAssignmentResource>> GetAsync (bool? expandRegistrationDefinition = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedServices.ManagedServicesRegistrationAssignmentResource>>
override this.GetAsync : Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedServices.ManagedServicesRegistrationAssignmentResource>>
Public Overridable Function GetAsync (Optional expandRegistrationDefinition As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedServicesRegistrationAssignmentResource))

Parameters

expandRegistrationDefinition
Nullable<Boolean>

The flag indicating whether to return the registration definition details along with the registration assignment details.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to