共用方式為


LoadTestingQuotaResource.CheckLoadTestingQuotaAvailabilityAsync Method

Definition

Check Quota Availability on quota bucket per region per subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/quotas/{quotaBucketName}/checkAvailability
  • Operation Id: Quotas_CheckAvailability
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaAvailabilityResult>> CheckLoadTestingQuotaAvailabilityAsync (Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaBucketContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckLoadTestingQuotaAvailabilityAsync : Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaBucketContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaAvailabilityResult>>
override this.CheckLoadTestingQuotaAvailabilityAsync : Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaBucketContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaAvailabilityResult>>
Public Overridable Function CheckLoadTestingQuotaAvailabilityAsync (content As LoadTestingQuotaBucketContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LoadTestingQuotaAvailabilityResult))

Parameters

content
LoadTestingQuotaBucketContent

Quota Bucket Request data.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to