共用方式為


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

Parameters

quotaNamename
PlaywrightTestingQuotaName

The quota name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to