共用方式為


IQuotaRequestStatusOperations.GetWithHttpMessagesAsync 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.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Reservations.Models.QuotaRequestDetails>> GetWithHttpMessagesAsync (string subscriptionId, string providerId, string location, string id, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Reservations.Models.QuotaRequestDetails>>
Public Function GetWithHttpMessagesAsync (subscriptionId As String, providerId As String, location As String, id As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of QuotaRequestDetails))

Parameters

subscriptionId
String

Azure subscription ID.

providerId
String

Azure resource provider ID.

location
String

Azure region.

id
String

Quota Request ID.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to