Share via


FallbackRouteProperties Constructors

Definition

Overloads

FallbackRouteProperties()

Initializes a new instance of the FallbackRouteProperties class.

FallbackRouteProperties(IList<String>, Boolean, String, String)

Initializes a new instance of the FallbackRouteProperties class.

FallbackRouteProperties()

Initializes a new instance of the FallbackRouteProperties class.

public FallbackRouteProperties ();
Public Sub New ()

Applies to

FallbackRouteProperties(IList<String>, Boolean, String, String)

Initializes a new instance of the FallbackRouteProperties class.

public FallbackRouteProperties (System.Collections.Generic.IList<string> endpointNames, bool isEnabled, string name = default, string condition = default);
new Microsoft.Azure.Management.IotHub.Models.FallbackRouteProperties : System.Collections.Generic.IList<string> * bool * string * string -> Microsoft.Azure.Management.IotHub.Models.FallbackRouteProperties
Public Sub New (endpointNames As IList(Of String), isEnabled As Boolean, Optional name As String = Nothing, Optional condition As String = Nothing)

Parameters

endpointNames
IList<String>

The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed.

isEnabled
Boolean

Used to specify whether the fallback route is enabled.

name
String

The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique.

condition
String

The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language

Applies to