GroupQuotasEnforcementStatusCollection.Exists 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.
Checks to see if the resource exists in azure.
- Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationSettings/{___location}
- Operation Id: GroupQuotasEnforcementStatus_Get
- Default Api Version: 2025-09-01
- Resource: GroupQuotasEnforcementStatusResource
public virtual Azure.Response<bool> Exists(string resourceProviderName, Azure.Core.AzureLocation ___location, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (resourceProviderName As String, ___location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)
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.