다음을 통해 공유


ManagedServicesRegistrationAssignmentCollection.Exists Method

Definition

Checks to see if the resource exists in azure.

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

Parameters

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 an empty string, and was expected to be non-empty.

registrationAssignmentId is null.

Applies to