Compartilhar via


IotHubDescriptionResource.TestAllRoutesAsync Método

Definição

Testar todas as rotas configuradas neste Hub IoT

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routing/routes/$testall
  • IdIotHubResource_TestAllRoutes de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesResult>> TestAllRoutesAsync (Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member TestAllRoutesAsync : Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesResult>>
override this.TestAllRoutesAsync : Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesResult>>
Public Overridable Function TestAllRoutesAsync (content As IotHubTestAllRoutesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotHubTestAllRoutesResult))

Parâmetros

content
IotHubTestAllRoutesContent

Entrada para testar todas as rotas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a