MockableManagedServicesArmClient.GetManagedServicesRegistrationAssignment Method

Definition

Gets the details of the specified registration assignment.

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

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

registrationAssignmentId
String

The GUID of the registration assignment.

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

Exceptions

registrationAssignmentId is null.

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

Applies to