All Products
Search
Document Center

CloudOps Orchestration Service:Common parameters

Last Updated:Feb 19, 2024

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 CloudOps Orchestration Service (OOS).

Create common parameters

  1. Log on to the OOS console.

  2. In the left-side navigation pane, choose Application Management > Parameter Store. On the Parameter Store page, click the Common Parameters tab. Then, click Create Common Parameter.image

  3. On the Create Common Parameter page, configure the required parameters. The following figure shows the parameters.image

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

    2. Enter a parameter description in the Description field.

    3. Specify String or StringList as Parameter Type.

    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. Separate multiple strings with 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. Valid values:

      1. Valid Value

      2. Regular Expression

      3. Maximum Length

      4. Minimum Length

    6. Select a resource group and add tags.

  4. Click Create.

Search for common parameters

  1. Log on to the OOS console.

  2. In the left-side navigation pane, choose Application Management > Parameter Store. On the Parameter Store page, click the Common Parameters tab, and then click the search box next to Create Common Parameter.

  3. In the search box, select one or more search types to search for parameters. The following search types are supported:image

    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 for parameters 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, choose Application Management > Parameter Store. On the Parameter Store page, click the Common Parameters tab, find the parameter that you want to update, and then click Edit in the Actions column.

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

  4. Click Save.

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