次の方法で共有


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