Sdílet prostřednictvím


QuotaAllocationRequestStatusCollection.ExistsAsync Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests/{allocationId}
  • Operation Id: GroupQuotaSubscriptionAllocationRequest_Get
  • Default Api Version: 2024-12-18-preview
  • Resource: QuotaAllocationRequestStatusResource
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string allocationId, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (allocationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameters

allocationId
String

Request Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

allocationId is null.

Applies to