共用方式為


ApiManagementClientExtensions.PerformConnectivityCheckAsyncAsync Method

Definition

Performs a connectivity check between the API Management service and a given destination, and returns metrics for the connection, as well as errors encountered while trying to establish it.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckResponse> PerformConnectivityCheckAsyncAsync (this Microsoft.Azure.Management.ApiManagement.IApiManagementClient operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckRequest connectivityCheckRequestParams, System.Threading.CancellationToken cancellationToken = default);
static member PerformConnectivityCheckAsyncAsync : Microsoft.Azure.Management.ApiManagement.IApiManagementClient * string * string * Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ConnectivityCheckResponse>
<Extension()>
Public Function PerformConnectivityCheckAsyncAsync (operations As IApiManagementClient, resourceGroupName As String, serviceName As String, connectivityCheckRequestParams As ConnectivityCheckRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConnectivityCheckResponse)

Parameters

operations
IApiManagementClient

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

connectivityCheckRequestParams
ConnectivityCheckRequest

Connectivity Check request parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to