Class RouteState
Inherited Members
Namespace: Pulumi.Azure.Iot
Assembly: Pulumi.Azure.dll
Syntax
public sealed class RouteState : ResourceArgs
Constructors
View SourceRouteState()
Declaration
public RouteState()
Properties
View SourceCondition
The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language.
Declaration
public Input<string> Condition { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Enabled
Specifies whether a route is enabled.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EndpointNames
The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.
Declaration
public Input<string> EndpointNames { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IothubName
The name of the IoTHub to which this Route belongs. Changing this forces a new resource to be created.
Declaration
public Input<string> IothubName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the route.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group under which the IotHub Route resource has to be created. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Source
The source that the routing rule is to be applied to. Possible values include: DeviceJobLifecycleEvents, DeviceLifecycleEvents, DeviceMessages, Invalid, TwinChangeEvents.
Declaration
public Input<string> Source { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |