다음을 통해 공유


ReservationsExtensions.GetQuotaRequestDetailAsync Method

Definition

For the specified Azure region (location), get the details and status of the quota request by the quota request ID for the resources of the resource provider. The PUT request for the quota (service limit) returns a response with the requestId parameter.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests/{id}
  • Operation Id: QuotaRequestStatus_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.QuotaRequestDetailResource>> GetQuotaRequestDetailAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string providerId, Azure.Core.AzureLocation location, Guid id, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotaRequestDetailAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.Core.AzureLocation * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.QuotaRequestDetailResource>>
<Extension()>
Public Function GetQuotaRequestDetailAsync (subscriptionResource As SubscriptionResource, providerId As String, location As AzureLocation, id As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of QuotaRequestDetailResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

providerId
String

Azure resource provider ID.

location
AzureLocation

Azure region.

id
Guid

Quota Request ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or providerId is null.

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

Applies to