IotHubResourceOperationsExtensions.TestAllRoutesAsync 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 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
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