Updated on 2026-06-23 GMT+08:00

Managing Components Under an Application

To effectively manage applications, it is often necessary to adapt their functional architecture as your service evolves. A streamlined and flexible approach to creating and managing components is crucial. With COC, you can directly create components under an application, allowing you to easily adjust the application's architecture in line with the service's iteration pace. This flexibility enables you to manage application functions more efficiently, ultimately accelerating your service response.

Prerequisites

You have created an application by referring to Creating an Application.

Creating a Component

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. Click Applications.
  4. In the application list on the left, locate the application for which you want to create a component and click .
  5. Set the component information by referring to Table 1.

    Table 1 Parameters for creating a component

    Parameter

    Description

    Example Value

    Component

    Customize a component name based on the naming rule.

    The name can contain 3 to 60 characters, including letters, digits, hyphens (-), and underscores (_).

    Test Component

  6. Click OK. The component is created.

Modifying a Component

After a component is created, you can modify its name by performing the following actions.

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. Click Applications.
  4. In the application list on the left, locate the target application, expand it, locate the component you want to modify, and click next to the component name.
  5. Modify the component information by referring to Table 2.

    Table 2 Parameters for modifying a component

    Parameter

    Description

    Example Value

    Component

    Customize a component name based on the naming rule.

    The name can contain 3 to 60 characters, including letters, digits, hyphens (-), and underscores (_).

    Test Component

  6. Click OK. The component is modified.

    You can check whether the component information is updated in the component list.

Deleting a Component

If there is a group under a component, the component cannot be deleted. You can delete a node only when the node does not have sub-nodes.

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. Click Applications.
  4. In the application list on the left, locate the target application, expand the application, locate the component you want to delete, and click .
  5. Click OK. The component is deleted.

Helpful Links

You can use COC to create, modify, delete, and query components by calling APIs. For details, see Component Management.