Share via


GroupQuotaLimitListCollection.GetIfExists 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}/groupQuotaLimits/{location}
  • Operation Id: GroupQuotaLimits_List
  • Default Api Version: 2024-12-18-preview
  • Resource: GroupQuotaLimitListResource
public virtual Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaLimitListResource> GetIfExists(string resourceProviderName, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaLimitListResource>
override this.GetIfExists : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Quota.GroupQuotaLimitListResource>
Public Overridable Function GetIfExists (resourceProviderName As String, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(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