Share via


QuotaAllocationRequestStatusCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocationRequests/{allocationId}
  • Operation Id: GroupQuotaSubscriptionAllocationRequest_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: QuotaAllocationRequestStatusResource
public virtual Azure.NullableResponse<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource> GetIfExists (string subscriptionId, string groupQuotaName, string allocationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * string * string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
override this.GetIfExists : string * string * string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
Public Overridable Function GetIfExists (subscriptionId As String, groupQuotaName As String, allocationId As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of QuotaAllocationRequestStatusResource)

Parameters

subscriptionId
String

The ID of the target subscription. The value must be an UUID.

groupQuotaName
String

The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

allocationId
String

Request Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionId, groupQuotaName or allocationId is an empty string, and was expected to be non-empty.

subscriptionId, groupQuotaName or allocationId is null.

Applies to