Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace TagDefault

Tag defaults let you specify a default tag (tagnamespace.tag="value") to apply to all resource types in a specified compartment. The tag default is applied at the time the resource is created. Resources that exist in the compartment before you create the tag default are not tagged.

Properties

isRequired

isRequired: boolean

If you specify that a value is required, a value is set during resource creation (either by the user creating the resource or another tag default). If no value is set, resource creation is blocked.

If the {@code isRequired} flag is set to \"true\", the value is set during resource creation. * If the {@code isRequired} flag is set to \"false\", the value you enter is set during resource creation.

Example: {@code false}

tagName

tagName: string

The name of the tag. The tag default will always assign a default value for this tag name.

value

value: string

The default value for the tag name. This will be applied to all new resources created in the compartment.

Functions

getDeserializedJsonObj

getJsonObj