Udostępnij za pośrednictwem


PlaywrightTestingAccountQuotaCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas/{quotaName}
  • Operation Id: AccountQuota_Get
  • Default Api Version: 2024-12-01
  • Resource: PlaywrightTestingAccountQuotaResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountQuotaResource>> GetIfExistsAsync (Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName quotaName, 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.PlaywrightTestingAccountQuotaResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountQuotaResource>>
Public Overridable Function GetIfExistsAsync (quotaName As PlaywrightTestingQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of PlaywrightTestingAccountQuotaResource))

Parameters

quotaName
PlaywrightTestingQuotaName

The Playwright service account quota name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to