Class RoutePropertiesArgs


  • public final class RoutePropertiesArgs
    extends com.pulumi.resources.ResourceArgs
    The properties of a routing rule that your IoT hub uses to route messages to endpoints.
    • Method Detail

      • condition

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> condition()
        Returns:
        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
      • endpointNames

        public com.pulumi.core.Output<java.util.List<java.lang.String>> endpointNames()
        Returns:
        The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed.
      • isEnabled

        public com.pulumi.core.Output<java.lang.Boolean> isEnabled()
        Returns:
        Used to specify whether a route is enabled.
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        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.
      • source

        public com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​RoutingSource>> source()
        Returns:
        The source that the routing rule is to be applied to, such as DeviceMessages.