Freigeben über


PlaywrightTestingQuotaCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • 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.NullableResponse<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>> GetIfExistsAsync (Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>>
Public Overridable Function GetIfExistsAsync (name As PlaywrightTestingQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of PlaywrightTestingQuotaResource))

Parameters

name
PlaywrightTestingQuotaName

The quota name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to