Add-AzIotHubRoute

  Az.IotHub
Module Version:

2.0.1

NAME:
Add-AzIotHubRoute
DESCRIPTION:

Create a route to send specific data source and condition to a desired endpoint.

EXAMPLES:

SYNTAX:

SYNOPSIS:
Create a route in IoT Hub
INPUTS:

Microsoft.Azure.Commands.Management.IotHub.Models.PSIotHub

System.String

OUTPUTS:

Microsoft.Azure.Commands.Management.IotHub.Models.PSRouteMetadata

PARAMETERS:

-Condition
Condition that is evaluated to apply the routing rule

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-Enabled
Enable route

Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-EndpointName
Name of the routing endpoint

Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-InputObject
IotHub Object

Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false

-Name
Name of the Iot Hub

Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-ResourceGroupName
Name of the Resource Group

Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-ResourceId
IotHub Resource Id

Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false

-RouteName
Name of the Route

Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-Source
Source of the route

Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-Confirm
Prompts you for confirmation before running the cmdlet.

Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

LEAVE A COMMENT