다음을 통해 공유


QuotaAllocationRequestStatusCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • 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 Azure.NullableResponse<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource> GetIfExists (string allocationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
Public Overridable Function GetIfExists (allocationId As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of QuotaAllocationRequestStatusResource)

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