Partager via


ApiManagementClient.PerformConnectivityCheckAsyncWithHttpMessagesAsync Méthode

Définition

Effectue une case activée de connectivité entre le service Gestion des API et une destination donnée, et retourne les métriques pour la connexion, ainsi que les erreurs rencontrées lors de sa tentative d’établissement.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckResponse>> PerformConnectivityCheckAsyncWithHttpMessagesAsync (string resourceGroupName, string serviceName, Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckRequest connectivityCheckRequestParams, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PerformConnectivityCheckAsyncWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckResponse>>
override this.PerformConnectivityCheckAsyncWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckResponse>>
Public Function PerformConnectivityCheckAsyncWithHttpMessagesAsync (resourceGroupName As String, serviceName As String, connectivityCheckRequestParams As ConnectivityCheckRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ConnectivityCheckResponse))

Paramètres

resourceGroupName
String

Nom du groupe de ressources.

serviceName
String

Nom du service Gestion des API.

connectivityCheckRequestParams
ConnectivityCheckRequest

Paramètres de demande de vérification de connectivité.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Implémente

S’applique à