GroupQuotaRequestStatusCollection.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}/groupQuotaRequests/{requestId}
  • Operation Id: GroupQuotaLimitsRequest_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaRequestStatusResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>> GetIfExistsAsync (string requestId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaRequestStatusResource>>
Public Overridable Function GetIfExistsAsync (requestId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of GroupQuotaRequestStatusResource))

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