共用方式為


QuotaRequestDetailCollection.GetIfExistsAsync(Guid, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests/{id}
  • Operation Id: QuotaRequestStatus_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Reservations.QuotaRequestDetailResource>> GetIfExistsAsync (Guid id, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Reservations.QuotaRequestDetailResource>>
override this.GetIfExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Reservations.QuotaRequestDetailResource>>
Public Overridable Function GetIfExistsAsync (id As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of QuotaRequestDetailResource))

Parameters

id
Guid

Quota Request ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to