All Products
Search
Document Center

Manage common parameters

Last Updated: Jun 23, 2021

When you use Alibaba Cloud services, you can store common parameters and the parameter values without the need for encryption. This topic describes how to create, search for, and update common parameters in the parameter warehouse of Operation Orchestration Service (OOS).

Create common parameters

  1. Log on to the OOS console.

  2. In the left-side navigation pane, click Parameter Warehouse. On the Parameter Warehouse page, click the Common Parameters tab, and then click Create Common Parameter. 1

  3. On the Create Common Parameter page, set the required parameters, as shown in the following figure. 2

    1. Enter a parameter name in the Parameter Name field.

    2. Enter a parameter description in the Description field.

    3. Select String or StringList in the Parameter Type section.

    4. Enter a value in the Value field.

      Format:

      1. String: value.

      2. StringList: value1,value2. You can enter a value that contains one or more strings in the Value field. Multiple strings are separated by commas (,). In this example, the value contains two strings: value1 and value2.

    5. Add constraints for the value that you enter in the Value field. You can add multiple constraints. The following four types of constraints are available:

      1. Valid value

      2. Regular expression

      3. Maximum length

      4. Minimum length

  1. Click Create.

Search for common parameters

  1. Log on to the OOS console.

  2. In the left-side navigation pane, click Parameter Warehouse. On the Parameter Warehouse page, click the Common Parameters tab, and then click the search box next to the Create Common Parameter button.

  3. In the search box, you can select the following three search types:

    3
    1. Parameter name. If you select Parameter Name, fuzzy match is used.

    2. Path. In this example, the parameter name is /parameter/parameter1/test, where /parameter/parameter1/ is the parameter path.

    3. Parameter path recursion. This search type indicates whether the parameter is recursive. Default value: No. This search type must be used together with Path. If you select Parameter Path Recursion and then select Yes, you can enter /parameter/ to search for multiple parameters that start with /parameter/. The following table describes three parameters and the search results when you search by /group1.

      Parameter

      Recursive

      Not recursive

      /group1/team2/some_parameter

      The parameter can be found.

      The parameter cannot be found.

      /group1/team1/some_parameter

      The parameter can be found.

      The parameter cannot be found.

      /group1/some_parameter

      The parameter can be found.

      The parameter can be found.

Update common parameters

  1. Log on to the OOS console.

  2. In the left-side navigation pane, click Parameter Warehouse. On the Parameter Warehouse page, click the Common Parameters tab, find the parameter that you want to update, and then click Edit in the Actions column. 4

  3. On the page that appears, you can enter a new value in the Value field or enter a parameter description in the Description field. 5

  4. Click Save.

  5. On the Edit History tab, you can view the history of updates to the common parameter. 6