ArmIotHubModelFactory.IotHubTestRouteResult Method

Definition

Initializes a new instance of IotHubTestRouteResult.

public static Azure.ResourceManager.IotHub.Models.IotHubTestRouteResult IotHubTestRouteResult (Azure.ResourceManager.IotHub.Models.IotHubTestResultStatus? result = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotHub.Models.RouteCompilationError> detailsCompilationErrors = default);
static member IotHubTestRouteResult : Nullable<Azure.ResourceManager.IotHub.Models.IotHubTestResultStatus> * seq<Azure.ResourceManager.IotHub.Models.RouteCompilationError> -> Azure.ResourceManager.IotHub.Models.IotHubTestRouteResult
Public Shared Function IotHubTestRouteResult (Optional result As Nullable(Of IotHubTestResultStatus) = Nothing, Optional detailsCompilationErrors As IEnumerable(Of RouteCompilationError) = Nothing) As IotHubTestRouteResult

Parameters

result
Nullable<IotHubTestResultStatus>

Result of testing route.

detailsCompilationErrors
IEnumerable<RouteCompilationError>

Detailed result of testing route.

Returns

A new IotHubTestRouteResult instance for mocking.

Applies to