Tag rules

Add tags to connected hosts' associated resources when an expression matches a property of the connected host.

Tag rule

A rule that is applied to each connected host, and if it matches, the tag is added.

Properties

Connected host property

The property of the connected host to check with the expression.

OptionLabel
hostnameHostname
labelLabel
serialSerial
vendorVendor
modelModel name
skuSKU
macMAC
  • Data type: string select
  • Configuration
  • Required

CLI: (cli)> config connected-host tag-rules <index> property

Expression

A regular expression to apply to the property of the connected host.

Leave empty to match all connected hosts.

  • Data type: string
  • Configuration
  • Optional

CLI: (cli)> config connected-host tag-rules <index> expression

Tag

The tag to add to a connected host's resources if the expression matches the property.

  • Data type: string
  • Configuration
  • Required

CLI: (cli)> config connected-host tag-rules <index> tag