Udostępnij za pośrednictwem


MockableQuotaManagementGroupResource.GetSubscriptionQuotaAllocations Method

Definition

Gets a collection of SubscriptionQuotaAllocationResources in the ManagementGroupResource.

public virtual Azure.ResourceManager.Quota.SubscriptionQuotaAllocationCollection GetSubscriptionQuotaAllocations (string subscriptionId, string groupQuotaName);
abstract member GetSubscriptionQuotaAllocations : string * string -> Azure.ResourceManager.Quota.SubscriptionQuotaAllocationCollection
override this.GetSubscriptionQuotaAllocations : string * string -> Azure.ResourceManager.Quota.SubscriptionQuotaAllocationCollection
Public Overridable Function GetSubscriptionQuotaAllocations (subscriptionId As String, groupQuotaName As String) As SubscriptionQuotaAllocationCollection

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.

Returns

An object representing collection of SubscriptionQuotaAllocationResources and their operations over a SubscriptionQuotaAllocationResource.

Exceptions

subscriptionId or groupQuotaName is null.

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

Applies to