Resource detection scenarios let you preview the architecture diagram of your resources.
Use scenario
If the relationships between the resources you want to create are complex, you can create a resource detection scenario to preview the overall resource architecture or the architecture starting from a specific resource. After you create a resource detection scenario, Resource Orchestration Service (ROS) obtains the latest resource data from Resource Center and renders the 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 resource scenario feature.
Procedure
Step 1: Create a resource detection scenario
-
Log on to the ROS console.
-
In the left-side navigation pane, click Scenarios.
-
In the top navigation bar, select a region where you want to create the resource scenario from the region drop-down list.
-
On the Scenarios page, click Create Scenario.
-
In the Create Scenario dialog box, specify Description and set Select Scenario Type to {type, select, ArchitectureReplication {Resource Replication} ResourceImport {Resource Management} ResourceMigration {Resource Migration} ArchitectureDetection {Resource Detection} other {{type}} }.
-
In the Resource Range section, select resources based on your business requirements.
-
Select all resources.
-
Select All Resources as Method.
-
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, only resources in the region of the resource scenario are detected.
-
In the Tags section, click Add and add tags.
NoteYou can add up to 20 tags.
-
-
Select resources that are associated with source tags.
-
In the Method section, select Source Tag.
-
In the {type, select, All {All Resources} SourceTag {Source Tag} SourceResourceGroup {Source Resource Group} SourceResources {Source Resource} other {{status}} } section, configure Tag Key and Tag Value based on your business requirements.
NoteYou can specify up to five tags that are associated with existing resources.
-
(Optional) In the Resource Type section, select one or more Resource Types.
You can select up to 15 resource types.
-
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, only resources in the region of the resource scenario are detected.
-
In the Tags section, click Add and add tags.
NoteYou can add up to 20 tags.
-
-
Select resources that belong to a source resource group.
-
In the Method section, select Source Resource Group.
-
In the Source Resource Group section, select a resource group.
-
(Optional) In the Resource Type section, select one or more Resource Types.
You can select up to 15 resource types.
-
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, only resources in the region of the resource scenario are detected.
-
In the Tags section, click Add and add tags.
NoteYou can add up to 20 tags.
-
-
Select source resources.
-
In the Method section, select Source resource.
-
In the {type, select, All {All Resources} SourceTag {Source Tag} SourceResourceGroup {Source Resource Group} SourceResources {Source Resource} other {{status}} } section, configure Resource Types and Resource ID.
You can select only source resources that reside in the same region as the resource scenario.
NoteYou can select up to 20 resource types.
-
In the Tags section, click Add and add tags.
NoteYou can add up to 20 tags.
-
-
-
Click Create.
Step 2: View the resource architecture diagram
-
On the Scenarios page, click the ID of the resource scenario.
-
On the resource scenario details page, view the diagram in the Resource Architecture section.
