Share via


GroupQuotaEnforcementCollection.GetAll(CancellationToken) Method

Definition

Returns only the list of the Azure regions settings, where the GroupQuotas enforcement is enabled. The locations not included in GroupQuota Enforcement will not be listed, the regions in failed status with listed as status Failed.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings
  • Operation Id: GroupQuotaLocationSettings_List
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEnforcementResource
public virtual Azure.Pageable<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of GroupQuotaEnforcementResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of GroupQuotaEnforcementResource that may take multiple service requests to iterate over.

Applies to