Package version:

Interface GroupQuotaLocationSettingsOperations

Interface representing a GroupQuotaLocationSettings operations.

interface GroupQuotaLocationSettingsOperations {
    createOrUpdate: ((managementGroupId: string, groupQuotaName: string, resourceProviderName: string, location: string, options?: GroupQuotaLocationSettingsCreateOrUpdateOptionalParams) => PollerLike<OperationState<GroupQuotasEnforcementStatus>, GroupQuotasEnforcementStatus>);
    get: ((managementGroupId: string, groupQuotaName: string, resourceProviderName: string, location: string, options?: GroupQuotaLocationSettingsGetOptionalParams) => Promise<GroupQuotasEnforcementStatus>);
    update: ((managementGroupId: string, groupQuotaName: string, resourceProviderName: string, location: string, options?: GroupQuotaLocationSettingsUpdateOptionalParams) => PollerLike<OperationState<GroupQuotasEnforcementStatus>, GroupQuotasEnforcementStatus>);
}

Properties

createOrUpdate: ((managementGroupId: string, groupQuotaName: string, resourceProviderName: string, location: string, options?: GroupQuotaLocationSettingsCreateOrUpdateOptionalParams) => PollerLike<OperationState<GroupQuotasEnforcementStatus>, GroupQuotasEnforcementStatus>)

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).
get: ((managementGroupId: string, groupQuotaName: string, resourceProviderName: string, location: string, options?: GroupQuotaLocationSettingsGetOptionalParams) => Promise<GroupQuotasEnforcementStatus>)

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

update: ((managementGroupId: string, groupQuotaName: string, resourceProviderName: string, location: string, options?: GroupQuotaLocationSettingsUpdateOptionalParams) => PollerLike<OperationState<GroupQuotasEnforcementStatus>, GroupQuotasEnforcementStatus>)

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. Ten delete the GroupQuota (Check the example - GroupQuotas_Delete).