共用方式為


QuotaExtensions.GetQuotaAllocationRequestStatus Method

Definition

Get the quota allocation request status for the subscriptionId by allocationId.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocationRequests/{allocationId}
  • Operation Id: GroupQuotaSubscriptionAllocationRequest_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: QuotaAllocationRequestStatusResource
public static Azure.Response<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource> GetQuotaAllocationRequestStatus (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, string subscriptionId, string groupQuotaName, string allocationId, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotaAllocationRequestStatus : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
<Extension()>
Public Function GetQuotaAllocationRequestStatus (managementGroupResource As ManagementGroupResource, subscriptionId As String, groupQuotaName As String, allocationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of QuotaAllocationRequestStatusResource)

Parameters

managementGroupResource
ManagementGroupResource

The ManagementGroupResource instance the method will execute against.

subscriptionId
String

The ID of the target subscription. The value must be an UUID.

groupQuotaName
String

The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

allocationId
String

Request Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

managementGroupResource, subscriptionId, groupQuotaName or allocationId is null.

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

Applies to