Share via


RegistrationAssignmentsOperationsExtensions.GetAsync Method

Definition

Gets the details of specified registration assignment.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment> GetAsync (this Microsoft.Azure.Management.ManagedServices.IRegistrationAssignmentsOperations operations, string scope, string registrationAssignmentId, bool? expandRegistrationDefinition = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ManagedServices.IRegistrationAssignmentsOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServices.Models.RegistrationAssignment>
<Extension()>
Public Function GetAsync (operations As IRegistrationAssignmentsOperations, scope As String, registrationAssignmentId As String, Optional expandRegistrationDefinition As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RegistrationAssignment)

Parameters

operations
IRegistrationAssignmentsOperations

The operations group for this extension method.

scope
String

Scope of the resource.

registrationAssignmentId
String

Guid of the registration assignment.

expandRegistrationDefinition
Nullable<Boolean>

Tells whether to return registration definition details also along with registration assignment details.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to