GroupQuotaEnforcementCollection.GetAllAsync(CancellationToken) 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.
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.AsyncPageable<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GroupQuotaEnforcementResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of GroupQuotaEnforcementResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET