Share via


IotHubResourceOperationsExtensions.TestRouteAsync Methode

Definition

Testen der neuen Route

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.TestRouteResult> TestRouteAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, Microsoft.Azure.Management.IotHub.Models.TestRouteInput input, string iotHubName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member TestRouteAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * Microsoft.Azure.Management.IotHub.Models.TestRouteInput * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.TestRouteResult>
<Extension()>
Public Function TestRouteAsync (operations As IIotHubResourceOperations, input As TestRouteInput, iotHubName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TestRouteResult)

Parameter

operations
IIotHubResourceOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

input
TestRouteInput

Route, die getestet werden muss

iotHubName
String

IotHub soll getestet werden

resourceGroupName
String

Ressourcengruppe, zu der Iot Hub gehört

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Testen der neuen Route für diesen Iot Hub

Gilt für: