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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET