Freigeben über


IotHubDescriptionResource.TestAllRoutes Method

Definition

Test all routes configured in this Iot Hub

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routing/routes/$testall
  • Operation Id: IotHubResource_TestAllRoutes
  • Default Api Version: 2023-06-30
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)

Parameters

content
IotHubTestAllRoutesContent

Input for testing all routes.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to