Freigeben über


PlaywrightTestingExtensions.GetPlaywrightTestingQuotaAsync Method

Definition

Overloads

GetPlaywrightTestingQuotaAsync(SubscriptionResource, 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(SubscriptionResource, 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(SubscriptionResource, AzureLocation, PlaywrightTestingQuotaName, CancellationToken)

Source:
PlaywrightTestingExtensions.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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>> GetPlaywrightTestingQuotaAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName name, System.Threading.CancellationToken cancellationToken = default);
static member GetPlaywrightTestingQuotaAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>>
<Extension()>
Public Function GetPlaywrightTestingQuotaAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, name As PlaywrightTestingQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PlaywrightTestingQuotaResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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

Exceptions

subscriptionResource is null.

Applies to

GetPlaywrightTestingQuotaAsync(SubscriptionResource, String, PlaywrightTestingQuotaName, CancellationToken)

Source:
PlaywrightTestingExtensions.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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>> GetPlaywrightTestingQuotaAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string location, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName quotaName, System.Threading.CancellationToken cancellationToken = default);
static member GetPlaywrightTestingQuotaAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>>
<Extension()>
Public Function GetPlaywrightTestingQuotaAsync (subscriptionResource As SubscriptionResource, location As String, quotaName As PlaywrightTestingQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PlaywrightTestingQuotaResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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

subscriptionResource or location is null.

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

Applies to