Compartilhar via


IotHubResourceOperationsExtensions.TestRouteAsync Método

Definição

Testar a nova rota

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

O grupo de operações para esse método de extensão.

input
TestRouteInput

Rota que precisa ser testada

iotHubName
String

IotHub a ser testado

resourceGroupName
String

grupo de recursos ao qual o Hub Iot pertence

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Testar a nova rota para este Hub Iot

Aplica-se a