次の方法で共有


GroupQuotaEntityResource.GetGroupQuotaSubscriptionRequestStatusAsync Method

Definition

Get API to check the status of a subscriptionIds request by requestId. Use the polling API - OperationsStatus URI specified in Azure-AsyncOperation header field, with retry-after duration in seconds to check the intermediate status. This API provides the finals status with the request details and status.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/subscriptionRequests/{requestId}
  • Operation Id: GroupQuotaSubscriptionRequests_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaSubscriptionRequestStatusResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaSubscriptionRequestStatusResource>> GetGroupQuotaSubscriptionRequestStatusAsync (string requestId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGroupQuotaSubscriptionRequestStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaSubscriptionRequestStatusResource>>
override this.GetGroupQuotaSubscriptionRequestStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaSubscriptionRequestStatusResource>>
Public Overridable Function GetGroupQuotaSubscriptionRequestStatusAsync (requestId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GroupQuotaSubscriptionRequestStatusResource))

Parameters

requestId
String

Request Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

requestId is null.

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

Applies to