Compartilhar via


IotHubResourceOperationsExtensions.TestAllRoutesAsync Método

Definição

Testar todas as rotas

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

Parâmetros

operations
IIotHubResourceOperations

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

input
TestAllRoutesInput

Entrada para testar todas as rotas

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 todas as rotas configuradas neste Hub IoT

Aplica-se a