Command
New-ImageTopologyNodePort
Creates a named attachment port for a topology node.
Syntax
New-ImageTopologyNodePort
[-Id] <String>
[-Label <String>]
[-Offset <Double>]
[-Side] <Auto| Top| Right| Bottom| Left>
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Add an output port to a service node
$port = New-ImageTopologyNodePort -Id output -Side Right -Offset 0.5 -Label Database
New-ImageTopologyNode -Id api -Label API -Kind Service -Port $portCreates a port halfway along the right boundary and attaches it to the service node.
Parameters
- -Id String
- Node-local stable port identifier.
- -Label String
- Optional visible or host-facing label.
- -Offset Double
- Normalized position along the side from zero to one.
- -Side TopologyEdgePort
- Explicit node boundary side.
- Possible values:
Auto,Top,Right,Bottom,Left
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.