ManagedServicesExtensions.GetManagedServicesRegistrationAssignment 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.
Gets the details of the specified registration assignment.
- Request Path: /{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}
- Operation Id: RegistrationAssignments_Get
public static Azure.Response<Azure.ResourceManager.ManagedServices.ManagedServicesRegistrationAssignmentResource> GetManagedServicesRegistrationAssignment (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string registrationAssignmentId, bool? expandRegistrationDefinition = default, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedServicesRegistrationAssignment : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedServices.ManagedServicesRegistrationAssignmentResource>
<Extension()>
Public Function GetManagedServicesRegistrationAssignment (client As ArmClient, 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.
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
client
or registrationAssignmentId
is null.
registrationAssignmentId
is an empty string, and was expected to be non-empty.
Applies to
Azure SDK for .NET