badge_container
Add a header icon to a container's corner, automatically positioned from bounds and moving with it. Resolves built-in Visio masters or local icon files, returning the badge shape ID.
Instructions
Badge a container (zone) with a small header icon — e.g. the VNet icon on a VNet container, or the Subnet/Subscription icon on those boundaries.
Placement is deterministic: the icon is dropped just inside the chosen
corner of the container (computed from the container's bounds — no manual
coordinate math) and added as a container member so it moves with the
zone. icon resolves to a built-in Visio master first (e.g. 'Virtual
Networks'), then to a labeled image in the local icon folder (e.g. a saved
'subnet.svg' — see list_local_icons); errors with guidance when neither
exists. Returns the badge's shape_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | Yes | ||
| page | No | ||
| corner | No | top_left | |
| size_in | No | ||
| container_id | Yes |