Freigeben über


LoadTestingQuotaResource.CheckLoadTestingQuotaAvailabilityAsync Methode

Definition

Überprüfen Sie die Verfügbarkeit von Kontingenten für Kontingente pro Region und Abonnement.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/quotas/{quotaBucketName}/checkAvailability
  • Vorgang IdQuotas_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))

Parameter

content
LoadTestingQuotaBucketContent

Kontingent-Bucket-Anforderungsdaten.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: