API Reference
Command
New-ImageTopologyNodeDetail
Creates a typed label/value detail row for a topology node card.
Remarks
Creates a typed label/value detail row for a topology node card.
Examples
Add a health detail to a service node
PS>
$detail = New-ImageTopologyNodeDetail -Label Latency -Value '32 ms' -Status Healthy
New-ImageTopologyNode -Id api -Label API -Kind Service -Detail $detail
Creates a labeled health detail and attaches it to a topology node card.
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.
Syntax
New-ImageTopologyNodeDetail [-Color <String>] [-IconId <String>] -Label <String> [-Status <Healthy|Warning|Critical|Unknown|Disabled>] -Value <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Color String
- Optional row accent color.
- IconId String
- Optional reusable icon identifier.
- Label String
- Detail label.
- Status TopologyHealthStatus
- Optional semantic status.
- Possible values:
Healthy,Warning,Critical,Unknown,Disabled - Value String
- Detail value.
Outputs
ChartForgeX.Topology.TopologyNodeDetail