Compartir a través de


ApiManagementClient.PerformConnectivityCheckAsyncWithHttpMessagesAsync Método

Definición

Realiza una comprobación de conectividad entre el servicio API Management y un destino determinado, y devuelve métricas para la conexión, así como errores detectados al intentar establecerla.

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))

Parámetros

resourceGroupName
String

Nombre del grupo de recursos.

serviceName
String

Nombre del servicio API Management.

connectivityCheckRequestParams
ConnectivityCheckRequest

Parámetros de solicitud de comprobación de conectividad.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Implementaciones

Se aplica a