ArmIotHubModelFactory.IotHubTestRouteContent Method

Definition

Initializes a new instance of IotHubTestRouteContent.

public static Azure.ResourceManager.IotHub.Models.IotHubTestRouteContent IotHubTestRouteContent (Azure.ResourceManager.IotHub.Models.RoutingMessage message = default, Azure.ResourceManager.IotHub.Models.RoutingRuleProperties route = default, Azure.ResourceManager.IotHub.Models.RoutingTwin twin = default);
static member IotHubTestRouteContent : Azure.ResourceManager.IotHub.Models.RoutingMessage * Azure.ResourceManager.IotHub.Models.RoutingRuleProperties * Azure.ResourceManager.IotHub.Models.RoutingTwin -> Azure.ResourceManager.IotHub.Models.IotHubTestRouteContent
Public Shared Function IotHubTestRouteContent (Optional message As RoutingMessage = Nothing, Optional route As RoutingRuleProperties = Nothing, Optional twin As RoutingTwin = Nothing) As IotHubTestRouteContent

Parameters

message
RoutingMessage

Routing message.

route
RoutingRuleProperties

Route properties.

twin
RoutingTwin

Routing Twin Reference.

Returns

A new IotHubTestRouteContent instance for mocking.

Applies to