Common parameters

更新时间:
复制 MD 格式

When using Alibaba Cloud products, you may need to store frequently used, non-sensitive parameters and configuration values. This topic explains how to create, search for, and update common parameters in the Parameter Store of CloudOps Orchestration Service (OOS).

Note

You can create up to 10,000 common parameters per region. A parameter's value cannot exceed 4,096 characters.

Create a common parameter

  1. Log in to the CloudOps Orchestration Service (OOS) console.

  2. In the left-side navigation pane, choose Parameter Store. On the Common parameters tab, click Create common parameter.image

  3. On the Create Common Parameter page, enter the parameter details.image

    1. For Parameter name, enter a name.

    2. For Description, enter a description.

    3. For Parameter type, select String or StringList.

    4. For Value, enter a value.

      Format:

      1. String: A single string, such as 'value'.

      2. StringList: A comma-separated list of strings. For example, 'value1,value2' contains two strings.

    5. Optional: Add one or more value constraints. The following types are available:

      1. Valid value

      2. Regular expression

      3. Maximum length

      4. Minimum length

    6. For Resource group and Tags, configure them as needed.

  4. Click Create.

Search for common parameters

  1. Log in to the CloudOps Orchestration Service (OOS) console.

  2. In the left-side navigation pane, choose Parameter Store. On the Common parameters tab, click the search box next to Create common parameter.

  3. Specify one or more of the following search conditions:parameter-03

    1. Parameter name: Enter a full or partial parameter name. Fuzzy matching is supported.

    2. Parameter path: Enter the path of the parameter. For example, in '/parameter/parameter1/test', the path is '/parameter/parameter1/'.

    3. Recursive search: Select this option to perform a recursive search. This option, disabled by default, works in conjunction with Parameter path. If you enable this option and enter a path prefix, such as '/parameter/', the search returns all parameters that start with this path. For example, if you search for parameters with the path '/group1', the results are as follows.

      Parameter

      Recursive

      Non-recursive

      /group1/team2/some_parameter

      Found

      Not found

      /group1/team1/some_parameter

      Found

      Not found

      /group1/some_parameter

      Found

      Found

Update a common parameter

  1. Log in to the CloudOps Orchestration Service (OOS) console.

  2. In the left-side navigation pane, choose Parameter Store. On the Common parameters tab, find the parameter to update and click Edit in the Actions column.parameter-04

  3. On the page that appears, update the Value or Description as needed.parameter-05

  4. Click Save.

  5. To view the parameter's update history, click the Edit History tab.parameter-07