Partager via


LoadTestingQuotaResource.CheckLoadTestingQuotaAvailabilityAsync Méthode

Définition

Vérifiez La disponibilité du quota sur le compartiment de quota par région et par abonnement.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/quotas/{quotaBucketName}/checkAvailability
  • IdQuotas_CheckAvailability d’opération
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))

Paramètres

content
LoadTestingQuotaBucketContent

Données de demande de compartiment de quota.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à