GroupQuotaLimitListCollection.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 GroupQuotaLimits for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}.
- Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/groupQuotaLimits/{location}
- Operation Id: GroupQuotaLimits_List
- Default Api Version: 2024-12-18-preview
- Resource: GroupQuotaLimitListResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaLimitListResource>> GetAsync(string resourceProviderName, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaLimitListResource>>
override this.GetAsync : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Quota.GroupQuotaLimitListResource>>
Public Overridable Function GetAsync (resourceProviderName As String, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GroupQuotaLimitListResource))
Parameters
- resourceProviderName
- String
The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
- location
- AzureLocation
The name of the Azure region.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceProviderName
is an empty string, and was expected to be non-empty.
resourceProviderName
is null.
Applies to
Azure SDK for .NET