Condividi tramite


PlaywrightQuotaCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas/{playwrightQuotaName}.
  • Operation Id. : PlaywrightQuotas_Get.
  • Default Api Version. : 2026-02-01-preview.
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Playwright.PlaywrightQuotaResource>> GetIfExistsAsync(Azure.ResourceManager.Playwright.Models.PlaywrightQuotaName playwrightQuotaName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Playwright.Models.PlaywrightQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Playwright.PlaywrightQuotaResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Playwright.Models.PlaywrightQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Playwright.PlaywrightQuotaResource>>
Public Overridable Function GetIfExistsAsync (playwrightQuotaName As PlaywrightQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of PlaywrightQuotaResource))

Parameters

playwrightQuotaName
PlaywrightQuotaName

The name of the PlaywrightQuota.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to