Partager via


CognitiveServicesManagementClient.CheckSkuAvailabilityWithHttpMessagesAsync Méthode

Définition

Vérifiez les références SKU disponibles.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.CognitiveServices.Models.SkuAvailabilityListResult>> CheckSkuAvailabilityWithHttpMessagesAsync (string location, System.Collections.Generic.IList<string> skus, string kind, string type, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckSkuAvailabilityWithHttpMessagesAsync : string * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.CognitiveServices.Models.SkuAvailabilityListResult>>
override this.CheckSkuAvailabilityWithHttpMessagesAsync : string * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.CognitiveServices.Models.SkuAvailabilityListResult>>
Public Function CheckSkuAvailabilityWithHttpMessagesAsync (location As String, skus As IList(Of String), kind As String, type As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SkuAvailabilityListResult))

Paramètres

location
String

Emplacement de la ressource.

skus
IList<String>

Référence SKU de la ressource.

kind
String

Type de la ressource.

type
String

Type de la ressource.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Implémente

Exceptions

Levée lorsque l’opération a retourné un code de status non valide

Levée en cas d’impossibilité de désérialiser la réponse

Levée lorsqu’un paramètre obligatoire a la valeur Null

Levée lorsqu’un paramètre obligatoire a la valeur Null

S’applique à