GroupQuotaLocationSettingsClient Interface

public interface GroupQuotaLocationSettingsClient

An instance of this class provides access to all the operations defined in GroupQuotaLocationSettingsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<GroupQuotasEnforcementStatusInner>,GroupQuotasEnforcementStatusInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

Enables the GroupQuotas enforcement for the resource provider and the location specified.

abstract SyncPoller<PollResult<GroupQuotasEnforcementStatusInner>,GroupQuotasEnforcementStatusInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, GroupQuotasEnforcementStatusInner locationSettings, Context context)

Enables the GroupQuotas enforcement for the resource provider and the location specified.

abstract SyncPoller<PollResult<GroupQuotasEnforcementStatusInner>,GroupQuotasEnforcementStatusInner> beginUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

Enables the GroupQuotas enforcement for the resource provider and the location specified.

abstract SyncPoller<PollResult<GroupQuotasEnforcementStatusInner>,GroupQuotasEnforcementStatusInner> beginUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, GroupQuotasEnforcementStatusInner locationSettings, Context context)

Enables the GroupQuotas enforcement for the resource provider and the location specified.

abstract GroupQuotasEnforcementStatusInner createOrUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

Enables the GroupQuotas enforcement for the resource provider and the location specified.

abstract GroupQuotasEnforcementStatusInner createOrUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, GroupQuotasEnforcementStatusInner locationSettings, Context context)

Enables the GroupQuotas enforcement for the resource provider and the location specified.

abstract GroupQuotasEnforcementStatusInner get(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

Gets the GroupQuotas enforcement settings for the ResourceProvider/location.

abstract Response<GroupQuotasEnforcementStatusInner> getWithResponse(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, Context context)

Gets the GroupQuotas enforcement settings for the ResourceProvider/location.

abstract GroupQuotasEnforcementStatusInner update(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

Enables the GroupQuotas enforcement for the resource provider and the location specified.

abstract GroupQuotasEnforcementStatusInner update(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, GroupQuotasEnforcementStatusInner locationSettings, Context context)

Enables the GroupQuotas enforcement for the resource provider and the location specified.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<GroupQuotasEnforcementStatusInner>,GroupQuotasEnforcementStatusInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

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).

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.

Returns:

the SyncPoller<T,U> for polling of the GroupQuota Enforcement status for a Azure Location/Region.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<GroupQuotasEnforcementStatusInner>,GroupQuotasEnforcementStatusInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, GroupQuotasEnforcementStatusInner locationSettings, Context context)

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).

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.
locationSettings - The GroupQuota body details for creation or update of a GroupQuota entity.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the GroupQuota Enforcement status for a Azure Location/Region.

beginUpdate

public abstract SyncPoller<PollResult<GroupQuotasEnforcementStatusInner>,GroupQuotasEnforcementStatusInner> beginUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

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).

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.

Returns:

the SyncPoller<T,U> for polling of the GroupQuota Enforcement status for a Azure Location/Region.

beginUpdate

public abstract SyncPoller<PollResult<GroupQuotasEnforcementStatusInner>,GroupQuotasEnforcementStatusInner> beginUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, GroupQuotasEnforcementStatusInner locationSettings, Context context)

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).

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.
locationSettings - The GroupQuota body details for creation or update of a GroupQuota entity.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the GroupQuota Enforcement status for a Azure Location/Region.

createOrUpdate

public abstract GroupQuotasEnforcementStatusInner createOrUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

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).

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.

Returns:

the GroupQuota Enforcement status for a Azure Location/Region.

createOrUpdate

public abstract GroupQuotasEnforcementStatusInner createOrUpdate(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, GroupQuotasEnforcementStatusInner locationSettings, Context context)

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).

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.
locationSettings - The GroupQuota body details for creation or update of a GroupQuota entity.
context - The context to associate with this operation.

Returns:

the GroupQuota Enforcement status for a Azure Location/Region.

get

public abstract GroupQuotasEnforcementStatusInner get(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

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

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.

Returns:

the GroupQuotas enforcement settings for the ResourceProvider/location.

getWithResponse

public abstract Response<GroupQuotasEnforcementStatusInner> getWithResponse(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, Context context)

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

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.
context - The context to associate with this operation.

Returns:

the GroupQuotas enforcement settings for the ResourceProvider/location along with Response<T>.

update

public abstract GroupQuotasEnforcementStatusInner update(String managementGroupId, String groupQuotaName, String resourceProviderName, String location)

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).

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.

Returns:

the GroupQuota Enforcement status for a Azure Location/Region.

update

public abstract GroupQuotasEnforcementStatusInner update(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, GroupQuotasEnforcementStatusInner locationSettings, Context context)

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).

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.
locationSettings - The GroupQuota body details for creation or update of a GroupQuota entity.
context - The context to associate with this operation.

Returns:

the GroupQuota Enforcement status for a Azure Location/Region.

Applies to