共用方式為


PlaywrightTestingQuotaCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

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

Parameters

quotaNamename
PlaywrightTestingQuotaName

The quota name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to