Updated on 2024-10-29 GMT+08:00

Creating a Group

You can create a group to facilitate resource management by service logic unit.

Scenarios

Create a group on COC.

Procedure

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management. On the displayed page, click the Applications tab, choose a desired component in the resource tree on the left, and click the plus sign (+).

    Figure 1 Creating a group

  3. Set parameters in the Create Group drawer by referring to Table 1 and click OK.

    Table 1 Parameters for creating a component

    Parameter

    Description

    Example Value

    Group ID

    (Mandatory) Group of the component you created. Enter a valid group ID.

    testGroup

    Group

    (Mandatory) Group of the component you created. Enter a valid group name.

    Test Group

    Resource Association Method

    (Mandatory) Method that is used to associate resources with the group you created. There are two association methods: manual association and intelligent association.

    • Manual: You can manually associate resources with the group you created for unified management.
    • Intelligent: You can add all resources with the same tag in an enterprise project to a resource group.

    Manual

    Tag Key

    (Mandatory) This parameter is displayed if the intelligent resource association method is used.

    testKey

    Tag Value

    (Optional) This parameter is displayed if the intelligent resource association method is used.

    testValue