Updated on 2026-11-09 GMT+08:00

Managing Public Resource Groups

Scenarios

Public resource groups are visible to all users and are authorized by department and role.

You can create public resource groups based on the department to which a resource belongs and the services it provides. This allows the users in the current department and its upper-level departments to quickly view and manage resources by group.

Notes and Constraints

  • A maximum of 10 levels are supported, and a maximum of 100 resource groups can be created at each level.
  • A maximum of 10,000 public resource groups can be created in an instance.

Prerequisites

Your role has the management permission for the Public Resource Group module. For details about the permissions of each role, see Role.

Creating a Public Resource Group

  1. Log in to your bastion host system.
  2. In the navigation pane on the left, choose Resources > Resource Group.
  3. On the Public Resource Group tab, click New. In the displayed dialog box, configure public resource group parameters.

    Table 1 Parameters for creating a public resource group

    Parameter

    Description

    Resource Group

    Enter a custom resource group name.

    • It can contain 1 to 64 characters. Only letters, digits, and hyphens (-) are allowed.
    • The root directory of a resource group in the same department must be unique.
    • Resource group names at the same level must be unique.

    Superior Resource Group

    (Optional) Select an upper-level resource group for the resource group. If no resource group is selected, a root resource group is created by default.

    Department

    Select the department to which the resource group belongs.

    Remarks

    (Optional) Enter a brief description of the resource group. A maximum of 128 characters can be entered.

  4. Click OK.

    Return to the public resource group list page. You can view the new resource group.

Adding or Removing Resources to or from a Public Resource Group

You can add host, application, and container resources managed by your bastion host system to a public resource group for centralized management.

  1. Log in to your bastion host system.
  2. In the navigation pane on the left, choose Resources > Resource Group.
  3. On the Public Resource Group tab, add or remove resources.

    Figure 1 Adding or removing resources
    • Adding resources
      1. In the Operation column of the target resource group, click Resource Manage.
      2. Select Add Host Resources, Add Application Resources, or Add Container Resources based on your need.
      3. In the displayed dialog box, select the corresponding resource and click OK.
    • Removing resources
      1. In the Operation column of the target resource group, click Resource Manage.
      2. Select Remove Host Resources, Remove Application Resources, or Remove Container Resources based on your need.
      3. In the displayed dialog box, select the target resource and click OK.

Adding a Public Sub-Resource Group

You can quickly create a public sub-resource group based on an existing public resource group.

  1. Log in to your bastion host system.
  2. In the navigation pane on the left, choose Resources > Resource Group.
  3. On the Public Resource Group tab, click Add Sub-Resource Group in the Operation column of the target resource group.
  4. In the configuration window, configure the parameters of the sub-resource group by referring to Table 1.
  5. Click OK.

    Return to the public resource group list page. You can view the new sub-resource group.

Viewing or Modifying Basic and Resource Information About a Public Resource Group

  1. Log in to your bastion host system.
  2. In the navigation pane on the left, choose Resources > Resource Group.
  3. On the Public Resource Group tab, click Manage in the Operation column of the target resource group to go to the details page.

    • Viewing or modifying basic information about a resource group
      Figure 2 Basic information about a resource group
      • In the Basic Info area, view basic information about the resource group. You can check the creator, creation time, and superior resource group.
      • In the Basic Info area, click Edit on the right to modify the basic information about the resource group by referring to Table 1.
    • Viewing or modifying resources in a resource group
      Figure 3 Resource information in a resource group
      • In the Host, Application, and Container areas, view the list of resources in the current resource group.
      • In the Host, Application, and Container areas, click Add on the right, respectively, to add resources to the resource group.
      • In the resource list below the Host, Application, and Container areas, click Remove to remove all the selected resources from the current resource group.

Deleting a Public Resource Group

Deleting a public resource group will not delete the resources in the group, but will delete all its child resource groups. Exercise caution when performing this operation.

  1. Log in to your bastion host system.
  2. In the navigation pane on the left, choose Resources > Resource Group.
  3. On the Public Resource Group tab, delete the resource groups that you no longer need.

    • Deleting a single resource group
      1. Click Delete in the Operation column of the target resource group.
      2. In the displayed dialog box, click OK.
    • Batch deleting resource groups
      1. In the resource group list, select all target resource groups.
      2. Click Delete in the lower left corner.
      3. In the displayed dialog box, click OK.