Partager via


QuotaExtensions.GetQuotaRequestDetailAsync Method

Definition

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID id is returned in the response of the PUT operation.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotaRequests/{id}
  • Operation Id: QuotaRequestStatus_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: QuotaRequestDetailResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.QuotaRequestDetailResource>> GetQuotaRequestDetailAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string id, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotaRequestDetailAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.QuotaRequestDetailResource>>
<Extension()>
Public Function GetQuotaRequestDetailAsync (client As ArmClient, scope As ResourceIdentifier, id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of QuotaRequestDetailResource))

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

id
String

Quota request ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client or id is null.

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

Applies to