Compartir a través de


IotHubDescriptionResource.TestAllRoutes Método

Definición

Prueba de todas las rutas configuradas en este centro de IoT

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routing/routes/$testall
  • IdIotHubResource_TestAllRoutes de operación
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 probar todas las rutas.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a