Updated on 2024-05-27 GMT+08:00

Parameters

The Parameters page displays all existing parameters. You can create, modify, or delete parameters on this page. When changing an ECS non-administrator password and creating a job, you can use created parameters to quickly set user password and global parameters. You can create up to 25 parameters.

Creating a Parameter

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Automation (Retiring). The Automation page is displayed.
  3. In the navigation pane, choose Parameters and click Create Parameter in the upper right corner.
  4. Set parameters by referring to Table 1.

    Figure 1 Setting parameters
    Table 1 Parameters

    Parameter

    Description

    Parameter Type

    Type of a parameter, which can only be String.

    Parameter Name

    Name of a parameter.

    Enter up to 64 characters. Only letters are allowed.

    Encrypt

    By default, this option is disabled. Encryption is not supported at present.

    Initial Value

    Initial parameter value. Enter up to 1000 characters.

    Mandatory

    Specifies whether the parameter is mandatory when it is referenced. By default, this option is enabled.

    Input Prompt

    Message displayed when the parameter is referenced. Enter up to 1000 characters.

    Description

    Parameter description. Enter up to 1000 characters.

  5. Click Save.

More Operations

After a parameter is created, you can view the name, type, and creator of the parameter on the parameter list page. You can also perform the operations listed in Table 2.

Table 2 Related operations

Operation

Description

Modifying a parameter

Click Modify in the Operation column.

Deleting a parameter

Click Delete in the Operation column.