GroupQuotaEnforcementCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • 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.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>> GetIfExistsAsync (Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>>
override this.GetIfExistsAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>>
Public Overridable Function GetIfExistsAsync (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of GroupQuotaEnforcementResource))

Parameters

location
AzureLocation

The name of the Azure region.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to