GroupQuotaEnforcementCollection.GetAsync 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.
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: GroupQuotaLocationSettings_Get
- Default Api Version: 2023-06-01-preview
- Resource: GroupQuotaEnforcementResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>> GetAsync (Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>>
override this.GetAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>>
Public Overridable Function GetAsync (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GroupQuotaEnforcementResource))
Parameters
- location
- AzureLocation
The name of the Azure region.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET