GroupQuotaSubscriptionRequestStatusCollection.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET