Share via


GroupQuotaSubscriptionRequestStatusCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • 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.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaSubscriptionRequestStatusResource>> GetIfExistsAsync (string requestId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaSubscriptionRequestStatusResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaSubscriptionRequestStatusResource>>
Public Overridable Function GetIfExistsAsync (requestId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(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