Share via


ManagedServicesRegistrationCollection.GetAsync Method

Definition

Gets the registration definition details.

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