Share via


GroupQuotasEnforcementStatusCollection Class

Definition

A class representing a collection of GroupQuotasEnforcementStatusResource and their operations. Each GroupQuotasEnforcementStatusResource in the collection will belong to the same instance of GroupQuotaEntityResource. To get a GroupQuotasEnforcementStatusCollection instance call the GetGroupQuotasEnforcementStatuses method from an instance of GroupQuotaEntityResource.

public class GroupQuotasEnforcementStatusCollection : Azure.ResourceManager.ArmCollection
type GroupQuotasEnforcementStatusCollection = class
    inherit ArmCollection
Public Class GroupQuotasEnforcementStatusCollection
Inherits ArmCollection
Inheritance
GroupQuotasEnforcementStatusCollection

Constructors

GroupQuotasEnforcementStatusCollection()

Initializes a new instance of the GroupQuotasEnforcementStatusCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, AzureLocation, GroupQuotasEnforcementStatusData, CancellationToken)

Enables the GroupQuotas enforcement for the resource provider and the ___location specified. The resource provider will start using the group quotas as the overall quota for the subscriptions included in the GroupQuota. The subscriptions cannot request quota at subscription level since it is now part of an enforced group. The subscriptions share the GroupQuotaLimits assigned to the GroupQuota. If the GroupQuotaLimits is used, then submit a groupQuotaLimit request for the specific resource - provider/___location/resource. Once the GroupQuota Enforcement is enabled then, it cannot be deleted or reverted back. To disable GroupQuota Enforcement -

  1. Remove all the subscriptions from the groupQuota using the delete API for Subscriptions (Check the example - GroupQuotaSubscriptions_Delete).
  2. Then delete the GroupQuota (Check the example - GroupQuotas_Delete).
  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
  • Operation Id: GroupQuotasEnforcementStatus_CreateOrUpdate
  • Default Api Version: 2025-09-01
  • Resource: GroupQuotasEnforcementStatusResource
CreateOrUpdateAsync(WaitUntil, String, AzureLocation, GroupQuotasEnforcementStatusData, CancellationToken)

Enables the GroupQuotas enforcement for the resource provider and the ___location specified. The resource provider will start using the group quotas as the overall quota for the subscriptions included in the GroupQuota. The subscriptions cannot request quota at subscription level since it is now part of an enforced group. The subscriptions share the GroupQuotaLimits assigned to the GroupQuota. If the GroupQuotaLimits is used, then submit a groupQuotaLimit request for the specific resource - provider/___location/resource. Once the GroupQuota Enforcement is enabled then, it cannot be deleted or reverted back. To disable GroupQuota Enforcement -

  1. Remove all the subscriptions from the groupQuota using the delete API for Subscriptions (Check the example - GroupQuotaSubscriptions_Delete).
  2. Then delete the GroupQuota (Check the example - GroupQuotas_Delete).
  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
  • Operation Id: GroupQuotasEnforcementStatus_CreateOrUpdate
  • Default Api Version: 2025-09-01
  • Resource: GroupQuotasEnforcementStatusResource
Exists(String, AzureLocation, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
  • Operation Id: GroupQuotasEnforcementStatus_Get
  • Default Api Version: 2025-09-01
  • Resource: GroupQuotasEnforcementStatusResource
ExistsAsync(String, AzureLocation, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
  • Operation Id: GroupQuotasEnforcementStatus_Get
  • Default Api Version: 2025-09-01
  • Resource: GroupQuotasEnforcementStatusResource
Get(String, AzureLocation, CancellationToken)

Gets the GroupQuotas enforcement settings for the ResourceProvider/___location. The locations, where GroupQuota enforcement is not enabled will return Not Found.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
  • Operation Id: GroupQuotasEnforcementStatus_Get
  • Default Api Version: 2025-09-01
  • Resource: GroupQuotasEnforcementStatusResource
GetAsync(String, AzureLocation, CancellationToken)

Gets the GroupQuotas enforcement settings for the ResourceProvider/___location. The locations, where GroupQuota enforcement is not enabled will return Not Found.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
  • Operation Id: GroupQuotasEnforcementStatus_Get
  • Default Api Version: 2025-09-01
  • Resource: GroupQuotasEnforcementStatusResource
GetIfExists(String, AzureLocation, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
  • Operation Id: GroupQuotasEnforcementStatus_Get
  • Default Api Version: 2025-09-01
  • Resource: GroupQuotasEnforcementStatusResource
GetIfExistsAsync(String, AzureLocation, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
  • Operation Id: GroupQuotasEnforcementStatus_Get
  • Default Api Version: 2025-09-01
  • Resource: GroupQuotasEnforcementStatusResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to