Skip to content

set default policy value

Chris Lowth edited this page Sep 21, 2022 · 3 revisions

set default policy value

Usage:

tbutil [{cred}] set default policy value {type} [{category}] {name} {value}

This command allows you to change the value of a single default automation policy value. For example, to turn "disable all actions" off in XL, you could use ...

tbutil set default policy value Global "Disable All Actions" false

The type parameter can be any of the following..

  • The display name of the policy (eg: "Global Defaults").
  • The name of the policy without the word "defaults" appended (eg: "Global").
  • The entity type to which the policy relates (eg: "VirtualMachine").
  • The UUID of the policy (as shown by list default automation policies).

The category indicates which settings manager the setting is contained in. It can be omitted, but if you use it, it can be any of..

  • The display name of the category (eg: "Operational Constraints").
  • The short name of the category (eg: "Analysis")
  • The uuid name of the settings manager (eg: "marketsettingsmanager")

The name indicates which setting is to be changed. If can be any of..

  • The display name of the setting (eg: "Disable All Actions").
  • The uuid name of the setting (eg: "disableAllActions").

The value is the new value to be given to the setting. It should be compatible with the format type and range limits. For example: a boolean setting can only take the value "true" or "false".

You can use the tbutil sub commands list default automation policies (with option '-l') and export automation policy (with option '-j') to determine the correct strings to use for the type, category and name or the type, range or list of value values.

Clone this wiki locally