IotHubResourceOperationsExtensions.TestRouteAsync Method

Definition

Test the new 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)

Parameters

operations
IIotHubResourceOperations

The operations group for this extension method.

input
TestRouteInput

Route that needs to be tested

iotHubName
String

IotHub to be tested

resourceGroupName
String

resource group which Iot Hub belongs to

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Test the new route for this Iot Hub

Applies to