Partilhar via


IotHubDescriptionResource.TestAllRoutes 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
  • Operação IdIotHubResource_TestAllRoutes
public virtual Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesResult> TestAllRoutes (Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member TestAllRoutes : Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesResult>
override this.TestAllRoutes : Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubTestAllRoutesResult>
Public Overridable Function TestAllRoutes (content As IotHubTestAllRoutesContent, Optional cancellationToken As CancellationToken = Nothing) As 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