Share via


PlaywrightExtensions.GetPlaywrightQuota Method

Definition

Gets a subscription-level ___location-based Playwright quota resource by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{___location}/playwrightQuotas/{playwrightQuotaName}
  • Operation Id: PlaywrightQuota_Get
  • Default Api Version: 2025-09-01
  • Resource: PlaywrightQuotaResource
<item>MockingTo mock this method, please mock GetPlaywrightQuota(AzureLocation, PlaywrightQuotaName, CancellationToken) instead.</item>
public static Azure.Response<Azure.ResourceManager.Playwright.PlaywrightQuotaResource> GetPlaywrightQuota(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation ___location, Azure.ResourceManager.Playwright.Models.PlaywrightQuotaName playwrightQuotaName, System.Threading.CancellationToken cancellationToken = default);
static member GetPlaywrightQuota : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.Playwright.Models.PlaywrightQuotaName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Playwright.PlaywrightQuotaResource>
<Extension()>
Public Function GetPlaywrightQuota (subscriptionResource As SubscriptionResource, ___location As AzureLocation, playwrightQuotaName As PlaywrightQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PlaywrightQuotaResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

___location
AzureLocation

The name of the Azure region.

playwrightQuotaName
PlaywrightQuotaName

The name of the PlaywrightQuota.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to