Add or edit resource properties

This topic explains how to set or modify properties for resources and agents. You can add properties one at a time or in a batch.

If a resource is shared by multiple components, and you want all or most of the components to use the same value for a resource property, set the value at the resource level. For details, see How properties are resolved.

Add or edit a single property for a resource or agent

To add a property to a resource or agent:

  1. Navigate to Management > Resources.

  2. To add a resource property, click the name of your resource and then select the Properties tab.

    To add an agent property, switch to the Agents tab, click the name of the agent, and then select the Properties tab.

  3. Click Add Property. The Add Property dialog box opens.
  4. Specify the following details for the new property: 

    Field Description
    Name Enter a name for the property.
    Description (Optional) Provide additional information for the property that may be specific to the resource or agent.
    Secure Select this option if you want the property to be secure.

    Secure properties are stored encrypted, and their values are displayed obscured in the Deployment Automation user interface.
    Value (Optional) Enter the value of the property to be used by steps in a process.
  5.   Click Save.

    To create another property, click Save and New.

To edit a property, click the Edit icon next to the property.

Note: When editing a single property, you can't rename it. To change the name, use the Batch Edit option described in the next section.

To use resource properties in a process, reference them in relevant process steps with the following syntax:

  • For resources: ${p:resource/<property name>}
  • For agents: ${p:agent/<property name>}

For details on applying user-defined properties, see How properties are resolved.

Back to top

Add or edit multiple properties for a resource or agent

To create or update several properties at once, use Batch Edit.

To add or edit multiple resource or agent properties:

  1. Navigate to Management > Resources.

  2. To add resource properties, click the name of your resource and then select the Properties tab.

    To add agent properties, switch to the Agents tab, click the name of the agent, and then select the Properties tab.

  3. Click Batch Edit. The Edit Entry dialog box opens.
  4. In the Properties field, specify properties with or without their values.

    Enter each property on a new line it the following format:

    Format Description
    myProperty
    myProperty=
    Use this format to specify properties without values. For example, for the port property, enter:
    port
    or
    port=

    Note: When you save properties without values, the system automatically changes the myProperty format to myProperty=
    myProperty=value Use this format for properties with values, for example:
    host=myServer
    port=8080

    Note: Take into account the following restrictions for batch editing:

    • You cannot set the Secure option. If you want the properties to be secure, edit them individually as described in the earlier section.
    • The value cannot contain the equals sign (=).
  5. Click Save.

Back to top

See also: