Share via


MockablePlaywrightTestingSubscriptionResource.GetPlaywrightTestingQuotaAsync Method

Definition

Overloads

GetPlaywrightTestingQuotaAsync(AzureLocation, PlaywrightTestingQuotaName, CancellationToken)

Get quota by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{___location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
GetPlaywrightTestingQuotaAsync(String, PlaywrightTestingQuotaName, CancellationToken)

Get subscription quota by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{___location}/quotas/{quotaName}
  • Operation Id: Quota_Get
  • Default Api Version: 2024-12-01
  • Resource: PlaywrightTestingQuotaResource

GetPlaywrightTestingQuotaAsync(AzureLocation, PlaywrightTestingQuotaName, CancellationToken)

Source:
MockablePlaywrightTestingSubscriptionResource.cs

Get quota by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{___location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>> GetPlaywrightTestingQuotaAsync(Azure.Core.AzureLocation ___location, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPlaywrightTestingQuotaAsync : Azure.Core.AzureLocation * Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>>
override this.GetPlaywrightTestingQuotaAsync : Azure.Core.AzureLocation * Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>>
Public Overridable Function GetPlaywrightTestingQuotaAsync (___location As AzureLocation, name As PlaywrightTestingQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PlaywrightTestingQuotaResource))

Parameters

___location
AzureLocation

The ___location of quota in ARM Normalized format like eastus, southeastasia etc.

name
PlaywrightTestingQuotaName

The quota name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

GetPlaywrightTestingQuotaAsync(String, PlaywrightTestingQuotaName, CancellationToken)

Source:
MockablePlaywrightTestingSubscriptionResource.cs

Get subscription quota by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{___location}/quotas/{quotaName}
  • Operation Id: Quota_Get
  • Default Api Version: 2024-12-01
  • Resource: PlaywrightTestingQuotaResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>> GetPlaywrightTestingQuotaAsync(string ___location, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName quotaName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPlaywrightTestingQuotaAsync : string * Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>>
override this.GetPlaywrightTestingQuotaAsync : string * Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>>
Public Overridable Function GetPlaywrightTestingQuotaAsync (___location As String, quotaName As PlaywrightTestingQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PlaywrightTestingQuotaResource))

Parameters

___location
String

The ___location of quota in ARM Normalized format like eastus, southeastasia etc.

quotaName
PlaywrightTestingQuotaName

The quota name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

___location is null.

___location is an empty string, and was expected to be non-empty.

Applies to