Compartir a través de


IotHubResourceOperationsExtensions.TestRouteAsync Método

Definición

Prueba de la nueva ruta

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.TestRouteResult> TestRouteAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, Microsoft.Azure.Management.IotHub.Models.TestRouteInput input, string iotHubName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member TestRouteAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * Microsoft.Azure.Management.IotHub.Models.TestRouteInput * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.TestRouteResult>
<Extension()>
Public Function TestRouteAsync (operations As IIotHubResourceOperations, input As TestRouteInput, iotHubName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TestRouteResult)

Parámetros

operations
IIotHubResourceOperations

El grupo de operaciones de este método de extensión.

input
TestRouteInput

Ruta que debe probarse

iotHubName
String

IotHub que se va a probar

resourceGroupName
String

grupo de recursos al que pertenece IoT Hub

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Comentarios

Prueba de la nueva ruta para este centro de IoT

Se aplica a