Share via


ManagedServicesRegistrationCollection.Get(String, CancellationToken) Method

Definition

Gets the registration definition details.

  • Request Path: /{scope}/providers/Microsoft.ManagedServices/registrationDefinitions/{registrationDefinitionId}
  • Operation Id: RegistrationDefinitions_Get
public virtual Azure.Response<Azure.ResourceManager.ManagedServices.ManagedServicesRegistrationResource> Get (string registrationId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedServices.ManagedServicesRegistrationResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedServices.ManagedServicesRegistrationResource>
Public Overridable Function Get (registrationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedServicesRegistrationResource)

Parameters

registrationId
String

The GUID of the registration definition.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

registrationId is null.

Applies to