Freigeben über


IotHubDescriptionResource.TestAllRoutesAsync Methode

Definition

Testen aller in diesem Iot Hub konfigurierten Routen

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routing/routes/$testall
  • Vorgang IdIotHubResource_TestAllRoutes
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))

Parameter

content
IotHubTestAllRoutesContent

Eingabe zum Testen aller Routen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: