Share via


MockableQuotaManagementGroupResource.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}/resourceProviders/{resourceProviderName}/quotaAllocationRequests/{allocationId}
  • Operation Id: GroupQuotaSubscriptionAllocationRequest_Get
  • Default Api Version: 2024-12-18-preview
  • Resource: QuotaAllocationRequestStatusResource
public virtual Azure.Response<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource> GetQuotaAllocationRequestStatus(string subscriptionId, string groupQuotaName, string resourceProviderName, string allocationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetQuotaAllocationRequestStatus : string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
override this.GetQuotaAllocationRequestStatus : string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
Public Overridable Function GetQuotaAllocationRequestStatus (subscriptionId As String, groupQuotaName As String, resourceProviderName As String, allocationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of QuotaAllocationRequestStatusResource)

Parameters

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.

resourceProviderName
String

The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.

allocationId
String

Request Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionId, groupQuotaName, resourceProviderName or allocationId is null.

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

Applies to