次の方法で共有


GroupQuotaSubscriptionCollection.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}/subscriptions/{subscriptionId}
  • Operation Id: GroupQuotaSubscriptions_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaSubscriptionResource
public virtual Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaSubscriptionResource> GetIfExists (string subscriptionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaSubscriptionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaSubscriptionResource>
Public Overridable Function GetIfExists (subscriptionId As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of GroupQuotaSubscriptionResource)

Parameters

subscriptionId
String

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

subscriptionId is null.

Applies to