IotHubResourceOperationsExtensions.TestAllRoutesAsync Method

Definition

Test all routes

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

Parameters

operations
IIotHubResourceOperations

The operations group for this extension method.

input
TestAllRoutesInput

Input for testing all routes

iotHubName
String

IotHub to be tested

resourceGroupName
String

resource group which Iot Hub belongs to

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Test all routes configured in this Iot Hub

Applies to