Share via


GroupQuotaSubscriptionRequestStatusCollection.GetAsync 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>> GetAsync (string requestId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaSubscriptionRequestStatusResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaSubscriptionRequestStatusResource>>
Public Overridable Function GetAsync (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 an empty string, and was expected to be non-empty.

requestId is null.

Applies to