QuotaExtensions.GetSubscriptionQuotaAllocations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of SubscriptionQuotaAllocationResources in the ManagementGroupResource. MockingTo mock this method, please mock GetSubscriptionQuotaAllocations(String, String) instead.
public static Azure.ResourceManager.Quota.SubscriptionQuotaAllocationCollection GetSubscriptionQuotaAllocations (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, string subscriptionId, string groupQuotaName);
static member GetSubscriptionQuotaAllocations : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * string * string -> Azure.ResourceManager.Quota.SubscriptionQuotaAllocationCollection
<Extension()>
Public Function GetSubscriptionQuotaAllocations (managementGroupResource As ManagementGroupResource, subscriptionId As String, groupQuotaName As String) As SubscriptionQuotaAllocationCollection
Parameters
- managementGroupResource
- ManagementGroupResource
The ManagementGroupResource instance the method will execute against.
- 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
managementGroupResource
, subscriptionId
or groupQuotaName
is null.
subscriptionId
or groupQuotaName
is an empty string, and was expected to be non-empty.