All Products
Search
Document Center

Resource Orchestration Service:Resource detection scenario

Last Updated:Dec 27, 2023

A resource detection scenario can help you preview the architecture diagram of resources.

Use scenario

If the relationships between resources that you want to create are complicated, you can create a resource detection scenario to preview the overall resource architecture or the architecture of a specific resource. This facilitates resource management. After you create a resource detection scenario, Resource Orchestration Service (ROS) obtains the latest resource data from Resource Center and renders the resource architecture diagram on the resource scenario details page.

For more information about the resource types that support resource detection scenarios, see Resource types that support the scenario feature.

Procedure

Step 1: Create a resource detection scenario

  1. Log on to the ROS console.

  2. In the left-side navigation pane, click Scenarios.

  3. In the top navigation bar, select a region where you want to create the resource scenario from the region drop-down list.

  4. On the Scenarios page, click Create Scenario.

  5. In the Create Scenario dialog box, specify Description and set Select Scenario Type to Resource Detection.

  6. In the Resource Range section, select resources based on your business requirements.

    • Select all resources.

      1. Select All Resources as Method.

      2. In the Configure Scenario section, select regions where you want to detect resources from the Detected Regions drop-down list.

        If you do not select a region, resources in the region where the resource scenario resides are detected.

      3. In the Tags section, click Add and add tags.

        Note

        You can add up to 20 tags.

    • Select resources that are associated with source tags.

      1. Select Source Tag as Method.

      2. In the Source Tag section, configure Tag Key and Tag Value based on your business requirements.

        Note

        You can specify up to five tags that are associated with existing resources.

      3. (Optional) Select resource types from the Resource Type drop-down list.

        You can select up to 15 resource types.

      4. In the Configure Scenario section, select regions where you want to detect resources from the Detected Regions drop-down list.

        If you do not select a region, resources in the region where the resource scenario resides are detected.

      5. In the Tags section, click Add and add tags.

        Note

        You can add up to 20 tags.

    • Select resources that belong to a source resource group.

      1. Select Source Resource Group as Method.

      2. Select a resource group from the Source Resource Group drop-down list.

      3. (Optional) Select resource types from the Resource Type drop-down list.

        You can select up to 15 resource types.

      4. In the Configure Scenario section, select regions where you want to detect resources from the Detected Regions drop-down list.

        If you do not select a region, resources in the region where the resource scenario resides are detected.

      5. In the Tags section, click Add and add tags.

        Note

        You can add up to 20 tags.

    • Select source resources.

      1. Select Source Resource as Method.

      2. In the Source Resource section, configure Resource Type and Resource ID.

        You can select only source resources that reside in the same region of the resource scenario.

        Note

        You can select up to 20 resource types.

      3. In the Tags section, click Add and add tags.

        Note

        You can add up to 20 tags.

  7. Click Create.

Step 2: View the resource architecture diagram

  1. On the Scenarios page, click the ID of the resource scenario.

  2. On the resource scenario details page, view the diagram in the Resource Architecture section.

    2023-11-07_15-53-30.png