共用方式為


MockablePlaywrightTestingSubscriptionResource.GetPlaywrightTestingQuota Method

Definition

Overloads

GetPlaywrightTestingQuota(AzureLocation, PlaywrightTestingQuotaName, CancellationToken)

Get quota by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
GetPlaywrightTestingQuota(String, PlaywrightTestingQuotaName, CancellationToken)

Get subscription quota by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{quotaName}
  • Operation Id: Quota_Get
  • Default Api Version: 2024-12-01
  • Resource: PlaywrightTestingQuotaResource

GetPlaywrightTestingQuota(AzureLocation, PlaywrightTestingQuotaName, CancellationToken)

Source:
MockablePlaywrightTestingSubscriptionResource.cs

Get quota by name.

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

Parameters

location
AzureLocation

The location of quota in ARM Normalized format like eastus, southeastasia etc.

name
PlaywrightTestingQuotaName

The quota name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

GetPlaywrightTestingQuota(String, PlaywrightTestingQuotaName, CancellationToken)

Source:
MockablePlaywrightTestingSubscriptionResource.cs

Get subscription quota by name.

  • 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 Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource> GetPlaywrightTestingQuota (string location, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName quotaName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPlaywrightTestingQuota : string * Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>
override this.GetPlaywrightTestingQuota : string * Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingQuotaName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingQuotaResource>
Public Overridable Function GetPlaywrightTestingQuota (location As String, quotaName As PlaywrightTestingQuotaName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PlaywrightTestingQuotaResource)

Parameters

location
String

The location of quota in ARM Normalized format like eastus, southeastasia etc.

quotaName
PlaywrightTestingQuotaName

The quota name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

location is null.

location is an empty string, and was expected to be non-empty.

Applies to