共用方式為


GroupQuotaEnforcementResource.GetAsync(CancellationToken) Method

Definition

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 (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GroupQuotaEnforcementResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to