IotHubResourceOperationsExtensions.TestRouteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET