diff --git a/docs/config/umn/ALL_META.TXT.json b/docs/config/umn/ALL_META.TXT.json new file mode 100644 index 00000000..032bd2f4 --- /dev/null +++ b/docs/config/umn/ALL_META.TXT.json @@ -0,0 +1,1193 @@ +[ + { + "dockw":"User Guide" + }, + { + "uri":"rms_01_0000.html", + "node_id":"rms_01_0000.xml", + "product_code":"config", + "code":"1", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Service Overview", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Service Overview", + "githuburl":"" + }, + { + "uri":"rms_01_0100.html", + "node_id":"rms_01_0100.xml", + "product_code":"config", + "code":"2", + "des":"Config allows you to search for, record, and continuously evaluate your resource configurations to make sure that your resources are in expected status.To get full functi", + "doc_type":"usermanual", + "kw":"What Is Config?,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"What Is Config?", + "githuburl":"" + }, + { + "uri":"rms_01_0300.html", + "node_id":"rms_01_0300.xml", + "product_code":"config", + "code":"3", + "des":"Table 1 lists the common functions of Config.To better understand Config functions, you can learn basic concepts first.", + "doc_type":"usermanual", + "kw":"Function Overview,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Function Overview", + "githuburl":"" + }, + { + "uri":"rms_01_0600.html", + "node_id":"rms_01_0600.xml", + "product_code":"config", + "code":"4", + "des":"If you need to assign different permissions to employees in your enterprise, Identity and Access Management (IAM) is a good choice for fine-grained permissions management", + "doc_type":"usermanual", + "kw":"Permissions,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Permissions", + "githuburl":"" + }, + { + "uri":"rms_01_0200.html", + "node_id":"rms_01_0200.xml", + "product_code":"config", + "code":"5", + "des":"A resource is an entity that you can use on the cloud platform. A resource can be an Elastic Cloud Server (ECS), an Elastic Volume Service (EVS) disk, or a Virtual Privat", + "doc_type":"usermanual", + "kw":"Basic Concepts,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Basic Concepts", + "githuburl":"" + }, + { + "uri":"rms_01_0500.html", + "node_id":"rms_01_0500.xml", + "product_code":"config", + "code":"6", + "des":"The following describes the relationships between Config and other services.", + "doc_type":"usermanual", + "kw":"Relationships with Other Services,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Relationships with Other Services", + "githuburl":"" + }, + { + "uri":"rms_01_1100.html", + "node_id":"rms_01_1100.xml", + "product_code":"config", + "code":"7", + "des":"The constraints on Config are as follows:", + "doc_type":"usermanual", + "kw":"Constraints and Limitations,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Constraints and Limitations", + "githuburl":"" + }, + { + "uri":"rms_03_0000.html", + "node_id":"rms_03_0000.xml", + "product_code":"config", + "code":"8", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Resource List", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource List", + "githuburl":"" + }, + { + "uri":"rms_03_0100.html", + "node_id":"rms_03_0100.xml", + "product_code":"config", + "code":"9", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Viewing Resources", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Viewing Resources", + "githuburl":"" + }, + { + "uri":"rms_03_0101.html", + "node_id":"rms_03_0101.xml", + "product_code":"config", + "code":"10", + "des":"On the Resource List page, you can view all resources in the current account.There is a delay in synchronizing resource data to Config, so if there is a resource change, ", + "doc_type":"usermanual", + "kw":"Querying All Resources,Viewing Resources,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Querying All Resources", + "githuburl":"" + }, + { + "uri":"rms_03_0102.html", + "node_id":"rms_03_0102.xml", + "product_code":"config", + "code":"11", + "des":"By default, the Resource List page only displays some resource attributes. You can perform the following procedure to view more resource details.Resource overview, resour", + "doc_type":"usermanual", + "kw":"Querying Details About a Resource,Viewing Resources,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Querying Details About a Resource", + "githuburl":"" + }, + { + "uri":"rms_03_0103.html", + "node_id":"rms_03_0103.xml", + "product_code":"config", + "code":"12", + "des":"You can filter resources by service, resource type, and region on the Resource List page. In the search box in the middle of the page, you can also enter more specific re", + "doc_type":"usermanual", + "kw":"Filtering Resources,Viewing Resources,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Filtering Resources", + "githuburl":"" + }, + { + "uri":"rms_03_0104.html", + "node_id":"rms_03_0104.xml", + "product_code":"config", + "code":"13", + "des":"On the Resource List page, you can export resource information.Only information that you can see in the list will be exported.If you do not set any search options, all y", + "doc_type":"usermanual", + "kw":"Exporting the Resource List,Viewing Resources,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Exporting the Resource List", + "githuburl":"" + }, + { + "uri":"rms_03_0400.html", + "node_id":"rms_03_0400.xml", + "product_code":"config", + "code":"14", + "des":"Config provides you with rules to evaluate resources. You can view compliance data of the resources evaluated in the Resource Overview page.In the search box above the li", + "doc_type":"usermanual", + "kw":"Viewing Resource Compliance Data,Resource List,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Viewing Resource Compliance Data", + "githuburl":"" + }, + { + "uri":"rms_03_0200.html", + "node_id":"rms_03_0200.xml", + "product_code":"config", + "code":"15", + "des":"Config allows you to view resource relationships. A resource relationship may be described as that an EVS disk is attached to an ECS or an ECS is deployed in a VPC. Conf", + "doc_type":"usermanual", + "kw":"Viewing Resource Relationships,Resource List,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Viewing Resource Relationships", + "githuburl":"" + }, + { + "uri":"rms_03_0300.html", + "node_id":"rms_03_0300.xml", + "product_code":"config", + "code":"16", + "des":"Resource changes that are reported to Config are recorded only after the resource recorder is enabled. For details about the resource recorder, see Resource Recorder.You ", + "doc_type":"usermanual", + "kw":"Viewing Resource Changes,Resource List,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Viewing Resource Changes", + "githuburl":"" + }, + { + "uri":"rms_04_0000.html", + "node_id":"rms_04_0000.xml", + "product_code":"config", + "code":"17", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Resource Recorder", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource Recorder", + "githuburl":"" + }, + { + "uri":"rms_04_0100.html", + "node_id":"rms_04_0100.xml", + "product_code":"config", + "code":"18", + "des":"The resource recorder automatically detects and records changes made to your resources that are supported by Config.To be specific, the resource recorder:Notifies you usi", + "doc_type":"usermanual", + "kw":"Overview,Resource Recorder,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Overview", + "githuburl":"" + }, + { + "uri":"rms_04_0200.html", + "node_id":"rms_04_0200.xml", + "product_code":"config", + "code":"19", + "des":"You must enable the resource recorder for Config to track changes to your resource configurations.You can modify or disable the resource recorder at any time.This section", + "doc_type":"usermanual", + "kw":"Configuring the Resource Recorder,Resource Recorder,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Configuring the Resource Recorder", + "githuburl":"" + }, + { + "uri":"rms_04_0300.html", + "node_id":"rms_04_0300.xml", + "product_code":"config", + "code":"20", + "des":"Notifications of your resource changes will be sent to the SMN topic subscribers after you enable the resource recorder and configure the SMN topic. If no topics are avai", + "doc_type":"usermanual", + "kw":"Notifications,Resource Recorder,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Notifications", + "githuburl":"" + }, + { + "uri":"rms_04_0400.html", + "node_id":"rms_04_0400.xml", + "product_code":"config", + "code":"21", + "des":"Your resource snapshots will be stored into the specified OBS bucket every 24 hours after you enable the resource recorder.The path of in an OBS bucket where the resource", + "doc_type":"usermanual", + "kw":"Storing Resource Snapshots,Resource Recorder,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Storing Resource Snapshots", + "githuburl":"" + }, + { + "uri":"rms_04_0500.html", + "node_id":"rms_04_0500.xml", + "product_code":"config", + "code":"22", + "des":"After you enable the resource recorder and specify an SMN topic and an OBS bucket, Config stores your resource change notifications to the OBS bucket every 6 hours. If no", + "doc_type":"usermanual", + "kw":"Storing Resource Change Notifications,Resource Recorder,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Storing Resource Change Notifications", + "githuburl":"" + }, + { + "uri":"rms_05_0000.html", + "node_id":"rms_05_0000.xml", + "product_code":"config", + "code":"23", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Resource Compliance", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource Compliance", + "githuburl":"" + }, + { + "uri":"rms_05_0800.html", + "node_id":"rms_05_0800.xml", + "product_code":"config", + "code":"24", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Rules", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Rules", + "githuburl":"" + }, + { + "uri":"rms_05_0100.html", + "node_id":"rms_05_0100.xml", + "product_code":"config", + "code":"25", + "des":"You can create a rule to evaluate your resource compliance. When you create a rule, you can select a built-in policy or custom policy, specify a monitoring scope, and spe", + "doc_type":"usermanual", + "kw":"Adding a Rule with a Predefined Policy,Rules,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Adding a Rule with a Predefined Policy", + "githuburl":"" + }, + { + "uri":"rms_05_0404.html", + "node_id":"rms_05_0404.xml", + "product_code":"config", + "code":"26", + "des":"You can create custom rules to supplement predefined rules.Currently, only the eu-de region supports FunctionGraph, so you can only create custom policies for the eu-de r", + "doc_type":"usermanual", + "kw":"Adding a Custom Rule,Rules,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Adding a Custom Rule", + "githuburl":"" + }, + { + "uri":"rms_05_3000.html", + "node_id":"rms_05_3000.xml", + "product_code":"config", + "code":"27", + "des":"After you add a rule, you can view all rules in the rule list and view evaluation results and configurations of a rule on the rule details page.You can export all evaluat", + "doc_type":"usermanual", + "kw":"Viewing a Rule,Rules,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Viewing a Rule", + "githuburl":"" + }, + { + "uri":"rms_05_0200.html", + "node_id":"rms_05_0200.xml", + "product_code":"config", + "code":"28", + "des":"Rules can be triggered automatically or manually.AutomaticA rule will be automatically triggered after it is created.A rule will be automatically triggered after it is up", + "doc_type":"usermanual", + "kw":"Triggering a Rule,Rules,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Triggering a Rule", + "githuburl":"" + }, + { + "uri":"rms_05_0300.html", + "node_id":"rms_05_0300.xml", + "product_code":"config", + "code":"29", + "des":"You can modify, enable, disable, or delete a rule at any time.You can perform these operations in the rule list or on the Rules Details page. This section describes how t", + "doc_type":"usermanual", + "kw":"Editing a Rule,Rules,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Editing a Rule", + "githuburl":"" + }, + { + "uri":"rms_05_0503.html", + "node_id":"rms_05_0503.xml", + "product_code":"config", + "code":"30", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Example Custom Rules", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Example Custom Rules", + "githuburl":"" + }, + { + "uri":"rms_05_0504.html", + "node_id":"rms_05_0504.xml", + "product_code":"config", + "code":"31", + "des":"Config will invoke a function like the following example when it detects a configuration change to a related resource.Config will invoke a function like the following exa", + "doc_type":"usermanual", + "kw":"Example Functions (Python),Example Custom Rules,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Example Functions (Python)", + "githuburl":"" + }, + { + "uri":"rms_05_0506.html", + "node_id":"rms_05_0506.xml", + "product_code":"config", + "code":"32", + "des":"When a custom rule is triggered, Config will send an event to invoke the FunctionGraph function associated with the rule. The following example shows an event sent by Con", + "doc_type":"usermanual", + "kw":"Events,Example Custom Rules,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Events", + "githuburl":"" + }, + { + "uri":"rms_05_0900.html", + "node_id":"rms_05_0900.xml", + "product_code":"config", + "code":"33", + "des":"You can view all noncompliant resources on the Non-Compliant Resources tab of the Resource Compliance page.Above the list, you can filter non-compliant resources with mul", + "doc_type":"usermanual", + "kw":"Viewing Noncompliant Resources,Resource Compliance,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Viewing Noncompliant Resources", + "githuburl":"" + }, + { + "uri":"rms_10_0000.html", + "node_id":"rms_10_0000.xml", + "product_code":"config", + "code":"34", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Advanced Queries", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Advanced Queries", + "githuburl":"" + }, + { + "uri":"rms_10_0100.html", + "node_id":"rms_10_0100.xml", + "product_code":"config", + "code":"35", + "des":"Advanced queries allow you to query your resource configuration states for one or more regions using ResourceQL.You can conveniently use ResourceQL and a query editor to ", + "doc_type":"usermanual", + "kw":"Overview,Advanced Queries,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Overview", + "githuburl":"" + }, + { + "uri":"rms_10_0600.html", + "node_id":"rms_10_0600.xml", + "product_code":"config", + "code":"36", + "des":"To prevent a single user from occupying resources for queries for too long, the following constrains are set on advanced queries:If the execution duration of a query stat", + "doc_type":"usermanual", + "kw":"Restrictions,Advanced Queries,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Restrictions", + "githuburl":"" + }, + { + "uri":"rms_10_0200.html", + "node_id":"rms_10_0200.xml", + "product_code":"config", + "code":"37", + "des":"You can use the query statements preset by Config or customize query statements based on resource configuration attributes to query specific cloud resource configurations", + "doc_type":"usermanual", + "kw":"Creating a Custom Query,Advanced Queries,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Creating a Custom Query", + "githuburl":"" + }, + { + "uri":"rms_10_0300.html", + "node_id":"rms_10_0300.xml", + "product_code":"config", + "code":"38", + "des":"You can view the name, description, and SQL statement of a query.By default, the default query list is displayed. To view custom queries, click Custom Queries.View the qu", + "doc_type":"usermanual", + "kw":"Viewing a Query,Advanced Queries,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Viewing a Query", + "githuburl":"" + }, + { + "uri":"rms_10_0400.html", + "node_id":"rms_10_0400.xml", + "product_code":"config", + "code":"39", + "des":"You can follow the following procedure to modify the statement, name, and description of a custom query.You can modify the statement, name, and description of a predefine", + "doc_type":"usermanual", + "kw":"Modifying a Custom Query,Advanced Queries,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Modifying a Custom Query", + "githuburl":"" + }, + { + "uri":"rms_10_0500.html", + "node_id":"rms_10_0500.xml", + "product_code":"config", + "code":"40", + "des":"You can delete a custom query if you no longer need it.Default queries cannot be deleted.", + "doc_type":"usermanual", + "kw":"Deleting a Query,Advanced Queries,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Deleting a Query", + "githuburl":"" + }, + { + "uri":"rms_09_0000.html", + "node_id":"rms_09_0000.xml", + "product_code":"config", + "code":"41", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Cloud Trace Service", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Cloud Trace Service", + "githuburl":"" + }, + { + "uri":"rms_09_0100.html", + "node_id":"rms_09_0100.xml", + "product_code":"config", + "code":"42", + "des":"Cloud Trace Service (CTS) records operations on Config for your later query, audit, and backtrack.You have enabled CTS.See Querying Real-Time Traces.", + "doc_type":"usermanual", + "kw":"Supported Config Operations,Cloud Trace Service,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Supported Config Operations", + "githuburl":"" + }, + { + "uri":"rms_01_0021.html", + "node_id":"rms_01_0021.xml", + "product_code":"config", + "code":"43", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Permissions Management", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Permissions Management", + "githuburl":"" + }, + { + "uri":"rms_01_0022.html", + "node_id":"rms_01_0022.xml", + "product_code":"config", + "code":"44", + "des":"You can use Identity and Access Management (IAM) to implement fine-grained permissions control for your Config resources. With IAM, you can:Create IAM users or user group", + "doc_type":"usermanual", + "kw":"Creating an IAM User and Granting Permissions to Access Config,Permissions Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Creating an IAM User and Granting Permissions to Access Config", + "githuburl":"" + }, + { + "uri":"rms_01_0023.html", + "node_id":"rms_01_0023.xml", + "product_code":"config", + "code":"45", + "des":"You can use IAM to create custom policies to supplement system-defined policies of Config. For more details, see the section \"Permissions Policies and Supported Actions\" ", + "doc_type":"usermanual", + "kw":"Creating a Custom Policy,Permissions Management,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Creating a Custom Policy", + "githuburl":"" + }, + { + "uri":"rms_06_0000.html", + "node_id":"rms_06_0000.xml", + "product_code":"config", + "code":"46", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Appendix", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Appendix", + "githuburl":"" + }, + { + "uri":"rms_06_0100.html", + "node_id":"rms_06_0100.xml", + "product_code":"config", + "code":"47", + "des":"To view services and regions supported by Config, log in to the console and click Supported Services and Regions in Resource List page. Supported services and regions are", + "doc_type":"usermanual", + "kw":"Supported Services and Regions,Appendix,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Supported Services and Regions", + "githuburl":"" + }, + { + "uri":"rms_01_0017.html", + "node_id":"rms_01_0017.xml", + "product_code":"config", + "code":"48", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Supported Resources,Appendix,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Supported Resources", + "githuburl":"" + }, + { + "uri":"rms_01_0018.html", + "node_id":"rms_01_0018.xml", + "product_code":"config", + "code":"49", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Relationships with Supported Resources,Appendix,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Relationships with Supported Resources", + "githuburl":"" + }, + { + "uri":"rms_06_0300.html", + "node_id":"rms_06_0300.xml", + "product_code":"config", + "code":"50", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Notification Models", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Notification Models", + "githuburl":"" + }, + { + "uri":"rms_06_0301.html", + "node_id":"rms_06_0301.xml", + "product_code":"config", + "code":"51", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Resource Change Notification Model,Notification Models,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource Change Notification Model", + "githuburl":"" + }, + { + "uri":"rms_06_0302.html", + "node_id":"rms_06_0302.xml", + "product_code":"config", + "code":"52", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Resource Relationship Change Notification Model,Notification Models,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource Relationship Change Notification Model", + "githuburl":"" + }, + { + "uri":"rms_06_0304.html", + "node_id":"rms_06_0304.xml", + "product_code":"config", + "code":"53", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Resource Snapshot Storage Notification Model,Notification Models,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource Snapshot Storage Notification Model", + "githuburl":"" + }, + { + "uri":"rms_06_0305.html", + "node_id":"rms_06_0305.xml", + "product_code":"config", + "code":"54", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Notification Model of Resource Change Notification Storage,Notification Models,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Notification Model of Resource Change Notification Storage", + "githuburl":"" + }, + { + "uri":"rms_06_0401.html", + "node_id":"rms_06_0401.xml", + "product_code":"config", + "code":"55", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Storage Models", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Storage Models", + "githuburl":"" + }, + { + "uri":"rms_06_0400.html", + "node_id":"rms_06_0400.xml", + "product_code":"config", + "code":"56", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Resource Snapshot Storage Model,Storage Models,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource Snapshot Storage Model", + "githuburl":"" + }, + { + "uri":"rms_06_0600.html", + "node_id":"rms_06_0600.xml", + "product_code":"config", + "code":"57", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Storage Model of Resource Change Notifications,Storage Models,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Storage Model of Resource Change Notifications", + "githuburl":"" + }, + { + "uri":"rms_06_0700.html", + "node_id":"rms_06_0700.xml", + "product_code":"config", + "code":"58", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"ResourceQL Syntax", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"ResourceQL Syntax", + "githuburl":"" + }, + { + "uri":"rms_06_0701.html", + "node_id":"rms_06_0701.xml", + "product_code":"config", + "code":"59", + "des":"ResourceQL provides SQL-like functions, allowing you to flexibly query your cloud resources.The statement is case insensitive. SELECT COUNT(*) and select CoUnT(*) are the", + "doc_type":"usermanual", + "kw":"Overview,ResourceQL Syntax,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Overview", + "githuburl":"" + }, + { + "uri":"rms_06_0702.html", + "node_id":"rms_06_0702.xml", + "product_code":"config", + "code":"60", + "des":"In this section, the words that need to be typed in the original form are capitalized, and the characters that need to be typed in the original form are enclosed in singl", + "doc_type":"usermanual", + "kw":"Syntax,ResourceQL Syntax,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Syntax", + "githuburl":"" + }, + { + "uri":"rms_06_0703.html", + "node_id":"rms_06_0703.xml", + "product_code":"config", + "code":"61", + "des":"ResourceQL supports the following functions.", + "doc_type":"usermanual", + "kw":"Functions,ResourceQL Syntax,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Functions", + "githuburl":"" + }, + { + "uri":"rms_08_0000.html", + "node_id":"rms_08_0000.xml", + "product_code":"config", + "code":"62", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"FAQs", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"FAQs", + "githuburl":"" + }, + { + "uri":"rms_08_0800.html", + "node_id":"rms_08_0800.xml", + "product_code":"config", + "code":"63", + "des":"On the Resource List page, you can only view resources and export resource details. To delete a resource, you need to click View Details in the Operation column to go to ", + "doc_type":"usermanual", + "kw":"Resource List,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource List", + "githuburl":"" + }, + { + "uri":"rms_08_0600.html", + "node_id":"rms_08_0600.xml", + "product_code":"config", + "code":"64", + "des":"You can add up to 500 rules in an account.Parameters for Configure Rule Parameters vary depending on the policy selected. For example, if you select the predefined policy", + "doc_type":"usermanual", + "kw":"Resource Compliance,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource Compliance", + "githuburl":"" + }, + { + "uri":"rms_08_0100.html", + "node_id":"rms_08_0100.xml", + "product_code":"config", + "code":"65", + "des":"Yes, they are stored into the same OBS bucket.If you specified an OBS bucket and an SMN topic when you configured the resource recorder, resource snapshots and resource c", + "doc_type":"usermanual", + "kw":"Resource Recorder,FAQs,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Resource Recorder", + "githuburl":"" + }, + { + "uri":"rms_07_0000.html", + "node_id":"rms_07_0000.xml", + "product_code":"config", + "code":"66", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Change History,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"config", + "documenttype":"usermanual" + } + ], + "title":"Change History", + "githuburl":"" + } +] \ No newline at end of file diff --git a/docs/config/umn/CLASS.TXT.json b/docs/config/umn/CLASS.TXT.json new file mode 100644 index 00000000..256a93e7 --- /dev/null +++ b/docs/config/umn/CLASS.TXT.json @@ -0,0 +1,596 @@ +[ + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Service Overview", + "uri":"rms_01_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"1" + }, + { + "desc":"Config allows you to search for, record, and continuously evaluate your resource configurations to make sure that your resources are in expected status.To get full functi", + "product_code":"config", + "title":"What Is Config?", + "uri":"rms_01_0100.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"2" + }, + { + "desc":"Table 1 lists the common functions of Config.To better understand Config functions, you can learn basic concepts first.", + "product_code":"config", + "title":"Function Overview", + "uri":"rms_01_0300.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"3" + }, + { + "desc":"If you need to assign different permissions to employees in your enterprise, Identity and Access Management (IAM) is a good choice for fine-grained permissions management", + "product_code":"config", + "title":"Permissions", + "uri":"rms_01_0600.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"4" + }, + { + "desc":"A resource is an entity that you can use on the cloud platform. A resource can be an Elastic Cloud Server (ECS), an Elastic Volume Service (EVS) disk, or a Virtual Privat", + "product_code":"config", + "title":"Basic Concepts", + "uri":"rms_01_0200.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"5" + }, + { + "desc":"The following describes the relationships between Config and other services.", + "product_code":"config", + "title":"Relationships with Other Services", + "uri":"rms_01_0500.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"6" + }, + { + "desc":"The constraints on Config are as follows:", + "product_code":"config", + "title":"Constraints and Limitations", + "uri":"rms_01_1100.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"7" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Resource List", + "uri":"rms_03_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"8" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Viewing Resources", + "uri":"rms_03_0100.html", + "doc_type":"usermanual", + "p_code":"8", + "code":"9" + }, + { + "desc":"On the Resource List page, you can view all resources in the current account.There is a delay in synchronizing resource data to Config, so if there is a resource change, ", + "product_code":"config", + "title":"Querying All Resources", + "uri":"rms_03_0101.html", + "doc_type":"usermanual", + "p_code":"9", + "code":"10" + }, + { + "desc":"By default, the Resource List page only displays some resource attributes. You can perform the following procedure to view more resource details.Resource overview, resour", + "product_code":"config", + "title":"Querying Details About a Resource", + "uri":"rms_03_0102.html", + "doc_type":"usermanual", + "p_code":"9", + "code":"11" + }, + { + "desc":"You can filter resources by service, resource type, and region on the Resource List page. In the search box in the middle of the page, you can also enter more specific re", + "product_code":"config", + "title":"Filtering Resources", + "uri":"rms_03_0103.html", + "doc_type":"usermanual", + "p_code":"9", + "code":"12" + }, + { + "desc":"On the Resource List page, you can export resource information.Only information that you can see in the list will be exported.If you do not set any search options, all y", + "product_code":"config", + "title":"Exporting the Resource List", + "uri":"rms_03_0104.html", + "doc_type":"usermanual", + "p_code":"9", + "code":"13" + }, + { + "desc":"Config provides you with rules to evaluate resources. You can view compliance data of the resources evaluated in the Resource Overview page.In the search box above the li", + "product_code":"config", + "title":"Viewing Resource Compliance Data", + "uri":"rms_03_0400.html", + "doc_type":"usermanual", + "p_code":"8", + "code":"14" + }, + { + "desc":"Config allows you to view resource relationships. A resource relationship may be described as that an EVS disk is attached to an ECS or an ECS is deployed in a VPC. Conf", + "product_code":"config", + "title":"Viewing Resource Relationships", + "uri":"rms_03_0200.html", + "doc_type":"usermanual", + "p_code":"8", + "code":"15" + }, + { + "desc":"Resource changes that are reported to Config are recorded only after the resource recorder is enabled. For details about the resource recorder, see Resource Recorder.You ", + "product_code":"config", + "title":"Viewing Resource Changes", + "uri":"rms_03_0300.html", + "doc_type":"usermanual", + "p_code":"8", + "code":"16" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Resource Recorder", + "uri":"rms_04_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"17" + }, + { + "desc":"The resource recorder automatically detects and records changes made to your resources that are supported by Config.To be specific, the resource recorder:Notifies you usi", + "product_code":"config", + "title":"Overview", + "uri":"rms_04_0100.html", + "doc_type":"usermanual", + "p_code":"17", + "code":"18" + }, + { + "desc":"You must enable the resource recorder for Config to track changes to your resource configurations.You can modify or disable the resource recorder at any time.This section", + "product_code":"config", + "title":"Configuring the Resource Recorder", + "uri":"rms_04_0200.html", + "doc_type":"usermanual", + "p_code":"17", + "code":"19" + }, + { + "desc":"Notifications of your resource changes will be sent to the SMN topic subscribers after you enable the resource recorder and configure the SMN topic. If no topics are avai", + "product_code":"config", + "title":"Notifications", + "uri":"rms_04_0300.html", + "doc_type":"usermanual", + "p_code":"17", + "code":"20" + }, + { + "desc":"Your resource snapshots will be stored into the specified OBS bucket every 24 hours after you enable the resource recorder.The path of in an OBS bucket where the resource", + "product_code":"config", + "title":"Storing Resource Snapshots", + "uri":"rms_04_0400.html", + "doc_type":"usermanual", + "p_code":"17", + "code":"21" + }, + { + "desc":"After you enable the resource recorder and specify an SMN topic and an OBS bucket, Config stores your resource change notifications to the OBS bucket every 6 hours. If no", + "product_code":"config", + "title":"Storing Resource Change Notifications", + "uri":"rms_04_0500.html", + "doc_type":"usermanual", + "p_code":"17", + "code":"22" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Resource Compliance", + "uri":"rms_05_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"23" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Rules", + "uri":"rms_05_0800.html", + "doc_type":"usermanual", + "p_code":"23", + "code":"24" + }, + { + "desc":"You can create a rule to evaluate your resource compliance. When you create a rule, you can select a built-in policy or custom policy, specify a monitoring scope, and spe", + "product_code":"config", + "title":"Adding a Rule with a Predefined Policy", + "uri":"rms_05_0100.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"25" + }, + { + "desc":"You can create custom rules to supplement predefined rules.Currently, only the eu-de region supports FunctionGraph, so you can only create custom policies for the eu-de r", + "product_code":"config", + "title":"Adding a Custom Rule", + "uri":"rms_05_0404.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"26" + }, + { + "desc":"After you add a rule, you can view all rules in the rule list and view evaluation results and configurations of a rule on the rule details page.You can export all evaluat", + "product_code":"config", + "title":"Viewing a Rule", + "uri":"rms_05_3000.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"27" + }, + { + "desc":"Rules can be triggered automatically or manually.AutomaticA rule will be automatically triggered after it is created.A rule will be automatically triggered after it is up", + "product_code":"config", + "title":"Triggering a Rule", + "uri":"rms_05_0200.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"28" + }, + { + "desc":"You can modify, enable, disable, or delete a rule at any time.You can perform these operations in the rule list or on the Rules Details page. This section describes how t", + "product_code":"config", + "title":"Editing a Rule", + "uri":"rms_05_0300.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"29" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Example Custom Rules", + "uri":"rms_05_0503.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"30" + }, + { + "desc":"Config will invoke a function like the following example when it detects a configuration change to a related resource.Config will invoke a function like the following exa", + "product_code":"config", + "title":"Example Functions (Python)", + "uri":"rms_05_0504.html", + "doc_type":"usermanual", + "p_code":"30", + "code":"31" + }, + { + "desc":"When a custom rule is triggered, Config will send an event to invoke the FunctionGraph function associated with the rule. The following example shows an event sent by Con", + "product_code":"config", + "title":"Events", + "uri":"rms_05_0506.html", + "doc_type":"usermanual", + "p_code":"30", + "code":"32" + }, + { + "desc":"You can view all noncompliant resources on the Non-Compliant Resources tab of the Resource Compliance page.Above the list, you can filter non-compliant resources with mul", + "product_code":"config", + "title":"Viewing Noncompliant Resources", + "uri":"rms_05_0900.html", + "doc_type":"usermanual", + "p_code":"23", + "code":"33" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Advanced Queries", + "uri":"rms_10_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"34" + }, + { + "desc":"Advanced queries allow you to query your resource configuration states for one or more regions using ResourceQL.You can conveniently use ResourceQL and a query editor to ", + "product_code":"config", + "title":"Overview", + "uri":"rms_10_0100.html", + "doc_type":"usermanual", + "p_code":"34", + "code":"35" + }, + { + "desc":"To prevent a single user from occupying resources for queries for too long, the following constrains are set on advanced queries:If the execution duration of a query stat", + "product_code":"config", + "title":"Restrictions", + "uri":"rms_10_0600.html", + "doc_type":"usermanual", + "p_code":"34", + "code":"36" + }, + { + "desc":"You can use the query statements preset by Config or customize query statements based on resource configuration attributes to query specific cloud resource configurations", + "product_code":"config", + "title":"Creating a Custom Query", + "uri":"rms_10_0200.html", + "doc_type":"usermanual", + "p_code":"34", + "code":"37" + }, + { + "desc":"You can view the name, description, and SQL statement of a query.By default, the default query list is displayed. To view custom queries, click Custom Queries.View the qu", + "product_code":"config", + "title":"Viewing a Query", + "uri":"rms_10_0300.html", + "doc_type":"usermanual", + "p_code":"34", + "code":"38" + }, + { + "desc":"You can follow the following procedure to modify the statement, name, and description of a custom query.You can modify the statement, name, and description of a predefine", + "product_code":"config", + "title":"Modifying a Custom Query", + "uri":"rms_10_0400.html", + "doc_type":"usermanual", + "p_code":"34", + "code":"39" + }, + { + "desc":"You can delete a custom query if you no longer need it.Default queries cannot be deleted.", + "product_code":"config", + "title":"Deleting a Query", + "uri":"rms_10_0500.html", + "doc_type":"usermanual", + "p_code":"34", + "code":"40" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Cloud Trace Service", + "uri":"rms_09_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"41" + }, + { + "desc":"Cloud Trace Service (CTS) records operations on Config for your later query, audit, and backtrack.You have enabled CTS.See Querying Real-Time Traces.", + "product_code":"config", + "title":"Supported Config Operations", + "uri":"rms_09_0100.html", + "doc_type":"usermanual", + "p_code":"41", + "code":"42" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Permissions Management", + "uri":"rms_01_0021.html", + "doc_type":"usermanual", + "p_code":"", + "code":"43" + }, + { + "desc":"You can use Identity and Access Management (IAM) to implement fine-grained permissions control for your Config resources. With IAM, you can:Create IAM users or user group", + "product_code":"config", + "title":"Creating an IAM User and Granting Permissions to Access Config", + "uri":"rms_01_0022.html", + "doc_type":"usermanual", + "p_code":"43", + "code":"44" + }, + { + "desc":"You can use IAM to create custom policies to supplement system-defined policies of Config. For more details, see the section \"Permissions Policies and Supported Actions\" ", + "product_code":"config", + "title":"Creating a Custom Policy", + "uri":"rms_01_0023.html", + "doc_type":"usermanual", + "p_code":"43", + "code":"45" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Appendix", + "uri":"rms_06_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"46" + }, + { + "desc":"To view services and regions supported by Config, log in to the console and click Supported Services and Regions in Resource List page. Supported services and regions are", + "product_code":"config", + "title":"Supported Services and Regions", + "uri":"rms_06_0100.html", + "doc_type":"usermanual", + "p_code":"46", + "code":"47" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Supported Resources", + "uri":"rms_01_0017.html", + "doc_type":"usermanual", + "p_code":"46", + "code":"48" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Relationships with Supported Resources", + "uri":"rms_01_0018.html", + "doc_type":"usermanual", + "p_code":"46", + "code":"49" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Notification Models", + "uri":"rms_06_0300.html", + "doc_type":"usermanual", + "p_code":"46", + "code":"50" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Resource Change Notification Model", + "uri":"rms_06_0301.html", + "doc_type":"usermanual", + "p_code":"50", + "code":"51" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Resource Relationship Change Notification Model", + "uri":"rms_06_0302.html", + "doc_type":"usermanual", + "p_code":"50", + "code":"52" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Resource Snapshot Storage Notification Model", + "uri":"rms_06_0304.html", + "doc_type":"usermanual", + "p_code":"50", + "code":"53" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Notification Model of Resource Change Notification Storage", + "uri":"rms_06_0305.html", + "doc_type":"usermanual", + "p_code":"50", + "code":"54" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Storage Models", + "uri":"rms_06_0401.html", + "doc_type":"usermanual", + "p_code":"46", + "code":"55" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Resource Snapshot Storage Model", + "uri":"rms_06_0400.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"56" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Storage Model of Resource Change Notifications", + "uri":"rms_06_0600.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"57" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"ResourceQL Syntax", + "uri":"rms_06_0700.html", + "doc_type":"usermanual", + "p_code":"46", + "code":"58" + }, + { + "desc":"ResourceQL provides SQL-like functions, allowing you to flexibly query your cloud resources.The statement is case insensitive. SELECT COUNT(*) and select CoUnT(*) are the", + "product_code":"config", + "title":"Overview", + "uri":"rms_06_0701.html", + "doc_type":"usermanual", + "p_code":"58", + "code":"59" + }, + { + "desc":"In this section, the words that need to be typed in the original form are capitalized, and the characters that need to be typed in the original form are enclosed in singl", + "product_code":"config", + "title":"Syntax", + "uri":"rms_06_0702.html", + "doc_type":"usermanual", + "p_code":"58", + "code":"60" + }, + { + "desc":"ResourceQL supports the following functions.", + "product_code":"config", + "title":"Functions", + "uri":"rms_06_0703.html", + "doc_type":"usermanual", + "p_code":"58", + "code":"61" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"FAQs", + "uri":"rms_08_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"62" + }, + { + "desc":"On the Resource List page, you can only view resources and export resource details. To delete a resource, you need to click View Details in the Operation column to go to ", + "product_code":"config", + "title":"Resource List", + "uri":"rms_08_0800.html", + "doc_type":"usermanual", + "p_code":"62", + "code":"63" + }, + { + "desc":"You can add up to 500 rules in an account.Parameters for Configure Rule Parameters vary depending on the policy selected. For example, if you select the predefined policy", + "product_code":"config", + "title":"Resource Compliance", + "uri":"rms_08_0600.html", + "doc_type":"usermanual", + "p_code":"62", + "code":"64" + }, + { + "desc":"Yes, they are stored into the same OBS bucket.If you specified an OBS bucket and an SMN topic when you configured the resource recorder, resource snapshots and resource c", + "product_code":"config", + "title":"Resource Recorder", + "uri":"rms_08_0100.html", + "doc_type":"usermanual", + "p_code":"62", + "code":"65" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"config", + "title":"Change History", + "uri":"rms_07_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"66" + } +] \ No newline at end of file diff --git a/docs/config/umn/PARAMETERS.txt b/docs/config/umn/PARAMETERS.txt new file mode 100644 index 00000000..6da8d5f0 --- /dev/null +++ b/docs/config/umn/PARAMETERS.txt @@ -0,0 +1,3 @@ +version="" +language="en-us" +type="" \ No newline at end of file diff --git a/docs/config/umn/en-us_image_0000001501756588.png b/docs/config/umn/en-us_image_0000001501756588.png new file mode 100644 index 00000000..a9ff58a1 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001501756588.png differ diff --git a/docs/config/umn/en-us_image_0000001524289093.png b/docs/config/umn/en-us_image_0000001524289093.png new file mode 100644 index 00000000..a9ff58a1 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001524289093.png differ diff --git a/docs/config/umn/en-us_image_0000001711484518.png b/docs/config/umn/en-us_image_0000001711484518.png new file mode 100644 index 00000000..a9ff58a1 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001711484518.png differ diff --git a/docs/config/umn/en-us_image_0000001792864500.png b/docs/config/umn/en-us_image_0000001792864500.png new file mode 100644 index 00000000..a946f8c7 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001792864500.png differ diff --git a/docs/config/umn/en-us_image_0000001842296713.png b/docs/config/umn/en-us_image_0000001842296713.png new file mode 100644 index 00000000..8b37e67f Binary files /dev/null and b/docs/config/umn/en-us_image_0000001842296713.png differ diff --git a/docs/config/umn/en-us_image_0000001924293592.png b/docs/config/umn/en-us_image_0000001924293592.png new file mode 100644 index 00000000..f9f488bf Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924293592.png differ diff --git a/docs/config/umn/en-us_image_0000001924839358.png b/docs/config/umn/en-us_image_0000001924839358.png new file mode 100644 index 00000000..76b4a501 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924839358.png differ diff --git a/docs/config/umn/en-us_image_0000001924866316.png b/docs/config/umn/en-us_image_0000001924866316.png new file mode 100644 index 00000000..5ae5666e Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924866316.png differ diff --git a/docs/config/umn/en-us_image_0000001924867128.png b/docs/config/umn/en-us_image_0000001924867128.png new file mode 100644 index 00000000..f4b098a5 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924867128.png differ diff --git a/docs/config/umn/en-us_image_0000001924867752.png b/docs/config/umn/en-us_image_0000001924867752.png new file mode 100644 index 00000000..4edd6985 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924867752.png differ diff --git a/docs/config/umn/en-us_image_0000001924869504.png b/docs/config/umn/en-us_image_0000001924869504.png new file mode 100644 index 00000000..c81f35ff Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924869504.png differ diff --git a/docs/config/umn/en-us_image_0000001924870980.png b/docs/config/umn/en-us_image_0000001924870980.png new file mode 100644 index 00000000..1bae905b Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924870980.png differ diff --git a/docs/config/umn/en-us_image_0000001924872408.png b/docs/config/umn/en-us_image_0000001924872408.png new file mode 100644 index 00000000..95b651ab Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924872408.png differ diff --git a/docs/config/umn/en-us_image_0000001924943432.png b/docs/config/umn/en-us_image_0000001924943432.png new file mode 100644 index 00000000..c9f5fc2e Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924943432.png differ diff --git a/docs/config/umn/en-us_image_0000001924998378.png b/docs/config/umn/en-us_image_0000001924998378.png new file mode 100644 index 00000000..dec7d94d Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924998378.png differ diff --git a/docs/config/umn/en-us_image_0000001924998978.png b/docs/config/umn/en-us_image_0000001924998978.png new file mode 100644 index 00000000..6ccfa123 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001924998978.png differ diff --git a/docs/config/umn/en-us_image_0000001925022092.png b/docs/config/umn/en-us_image_0000001925022092.png new file mode 100644 index 00000000..58b50430 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925022092.png differ diff --git a/docs/config/umn/en-us_image_0000001925023084.png b/docs/config/umn/en-us_image_0000001925023084.png new file mode 100644 index 00000000..a6d97d77 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925023084.png differ diff --git a/docs/config/umn/en-us_image_0000001925023720.png b/docs/config/umn/en-us_image_0000001925023720.png new file mode 100644 index 00000000..5677d388 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925023720.png differ diff --git a/docs/config/umn/en-us_image_0000001925023920.png b/docs/config/umn/en-us_image_0000001925023920.png new file mode 100644 index 00000000..b8d432fe Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925023920.png differ diff --git a/docs/config/umn/en-us_image_0000001925027932.png b/docs/config/umn/en-us_image_0000001925027932.png new file mode 100644 index 00000000..6d4956de Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925027932.png differ diff --git a/docs/config/umn/en-us_image_0000001925028472.png b/docs/config/umn/en-us_image_0000001925028472.png new file mode 100644 index 00000000..177638b4 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925028472.png differ diff --git a/docs/config/umn/en-us_image_0000001925030152.png b/docs/config/umn/en-us_image_0000001925030152.png new file mode 100644 index 00000000..7b3dae5b Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925030152.png differ diff --git a/docs/config/umn/en-us_image_0000001925032772.png b/docs/config/umn/en-us_image_0000001925032772.png new file mode 100644 index 00000000..69cb02bf Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925032772.png differ diff --git a/docs/config/umn/en-us_image_0000001925034256.png b/docs/config/umn/en-us_image_0000001925034256.png new file mode 100644 index 00000000..65986d96 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001925034256.png differ diff --git a/docs/config/umn/en-us_image_0000001951956737.png b/docs/config/umn/en-us_image_0000001951956737.png new file mode 100644 index 00000000..ea93d651 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001951956737.png differ diff --git a/docs/config/umn/en-us_image_0000001951957393.png b/docs/config/umn/en-us_image_0000001951957393.png new file mode 100644 index 00000000..69b459fe Binary files /dev/null and b/docs/config/umn/en-us_image_0000001951957393.png differ diff --git a/docs/config/umn/en-us_image_0000001951957637.png b/docs/config/umn/en-us_image_0000001951957637.png new file mode 100644 index 00000000..309c4392 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001951957637.png differ diff --git a/docs/config/umn/en-us_image_0000001952145493.png b/docs/config/umn/en-us_image_0000001952145493.png new file mode 100644 index 00000000..17d9d080 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952145493.png differ diff --git a/docs/config/umn/en-us_image_0000001952149149.png b/docs/config/umn/en-us_image_0000001952149149.png new file mode 100644 index 00000000..fc84b1e8 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952149149.png differ diff --git a/docs/config/umn/en-us_image_0000001952149449.png b/docs/config/umn/en-us_image_0000001952149449.png new file mode 100644 index 00000000..372e37a4 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952149449.png differ diff --git a/docs/config/umn/en-us_image_0000001952150149.png b/docs/config/umn/en-us_image_0000001952150149.png new file mode 100644 index 00000000..639ae988 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952150149.png differ diff --git a/docs/config/umn/en-us_image_0000001952151661.png b/docs/config/umn/en-us_image_0000001952151661.png new file mode 100644 index 00000000..1eb1c271 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952151661.png differ diff --git a/docs/config/umn/en-us_image_0000001952303569.png b/docs/config/umn/en-us_image_0000001952303569.png new file mode 100644 index 00000000..caebd5b4 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952303569.png differ diff --git a/docs/config/umn/en-us_image_0000001952304017.png b/docs/config/umn/en-us_image_0000001952304017.png new file mode 100644 index 00000000..59ab6162 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952304017.png differ diff --git a/docs/config/umn/en-us_image_0000001952305721.png b/docs/config/umn/en-us_image_0000001952305721.png new file mode 100644 index 00000000..db392c0a Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952305721.png differ diff --git a/docs/config/umn/en-us_image_0000001952307129.png b/docs/config/umn/en-us_image_0000001952307129.png new file mode 100644 index 00000000..4b52ae7b Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952307129.png differ diff --git a/docs/config/umn/en-us_image_0000001952310561.png b/docs/config/umn/en-us_image_0000001952310561.png new file mode 100644 index 00000000..e469fc3e Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952310561.png differ diff --git a/docs/config/umn/en-us_image_0000001952312665.png b/docs/config/umn/en-us_image_0000001952312665.png new file mode 100644 index 00000000..500d7913 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952312665.png differ diff --git a/docs/config/umn/en-us_image_0000001952313421.png b/docs/config/umn/en-us_image_0000001952313421.png new file mode 100644 index 00000000..43f94cef Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952313421.png differ diff --git a/docs/config/umn/en-us_image_0000001952314057.png b/docs/config/umn/en-us_image_0000001952314057.png new file mode 100644 index 00000000..ace9627f Binary files /dev/null and b/docs/config/umn/en-us_image_0000001952314057.png differ diff --git a/docs/config/umn/en-us_image_0000001964993150.png b/docs/config/umn/en-us_image_0000001964993150.png new file mode 100644 index 00000000..ae039388 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001964993150.png differ diff --git a/docs/config/umn/en-us_image_0000001967928392.png b/docs/config/umn/en-us_image_0000001967928392.png new file mode 100644 index 00000000..35533e26 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001967928392.png differ diff --git a/docs/config/umn/en-us_image_0000001978727588.png b/docs/config/umn/en-us_image_0000001978727588.png new file mode 100644 index 00000000..a9ff58a1 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001978727588.png differ diff --git a/docs/config/umn/en-us_image_0000001978887360.png b/docs/config/umn/en-us_image_0000001978887360.png new file mode 100644 index 00000000..a9ff58a1 Binary files /dev/null and b/docs/config/umn/en-us_image_0000001978887360.png differ diff --git a/docs/config/umn/en-us_image_0000002001635001.png b/docs/config/umn/en-us_image_0000002001635001.png new file mode 100644 index 00000000..98cdbf46 Binary files /dev/null and b/docs/config/umn/en-us_image_0000002001635001.png differ diff --git a/docs/config/umn/en-us_image_0000002004649109.png b/docs/config/umn/en-us_image_0000002004649109.png new file mode 100644 index 00000000..69445268 Binary files /dev/null and b/docs/config/umn/en-us_image_0000002004649109.png differ diff --git a/docs/config/umn/en-us_image_0000002015407113.png b/docs/config/umn/en-us_image_0000002015407113.png new file mode 100644 index 00000000..a9ff58a1 Binary files /dev/null and b/docs/config/umn/en-us_image_0000002015407113.png differ diff --git a/docs/config/umn/public_sys-resources/caution_3.0-en-us.png b/docs/config/umn/public_sys-resources/caution_3.0-en-us.png new file mode 100644 index 00000000..60f60762 Binary files /dev/null and b/docs/config/umn/public_sys-resources/caution_3.0-en-us.png differ diff --git a/docs/config/umn/public_sys-resources/danger_3.0-en-us.png b/docs/config/umn/public_sys-resources/danger_3.0-en-us.png new file mode 100644 index 00000000..47a9c723 Binary files /dev/null and b/docs/config/umn/public_sys-resources/danger_3.0-en-us.png differ diff --git a/docs/config/umn/public_sys-resources/delta.gif b/docs/config/umn/public_sys-resources/delta.gif new file mode 100644 index 00000000..0d1b1f67 Binary files /dev/null and b/docs/config/umn/public_sys-resources/delta.gif differ diff --git a/docs/config/umn/public_sys-resources/deltaend.gif b/docs/config/umn/public_sys-resources/deltaend.gif new file mode 100644 index 00000000..cc7da0fc Binary files /dev/null and b/docs/config/umn/public_sys-resources/deltaend.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-arrowdn.gif b/docs/config/umn/public_sys-resources/icon-arrowdn.gif new file mode 100644 index 00000000..37942803 Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-arrowdn.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-arrowrt.gif b/docs/config/umn/public_sys-resources/icon-arrowrt.gif new file mode 100644 index 00000000..6aaaa11c Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-arrowrt.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-caution.gif b/docs/config/umn/public_sys-resources/icon-caution.gif new file mode 100644 index 00000000..079c79b2 Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-caution.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-danger.gif b/docs/config/umn/public_sys-resources/icon-danger.gif new file mode 100644 index 00000000..079c79b2 Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-danger.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-huawei.gif b/docs/config/umn/public_sys-resources/icon-huawei.gif new file mode 100644 index 00000000..a31d60f8 Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-huawei.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-note.gif b/docs/config/umn/public_sys-resources/icon-note.gif new file mode 100644 index 00000000..31be2b03 Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-note.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-notice.gif b/docs/config/umn/public_sys-resources/icon-notice.gif new file mode 100644 index 00000000..40907065 Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-notice.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-tip.gif b/docs/config/umn/public_sys-resources/icon-tip.gif new file mode 100644 index 00000000..c47bae05 Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-tip.gif differ diff --git a/docs/config/umn/public_sys-resources/icon-warning.gif b/docs/config/umn/public_sys-resources/icon-warning.gif new file mode 100644 index 00000000..079c79b2 Binary files /dev/null and b/docs/config/umn/public_sys-resources/icon-warning.gif differ diff --git a/docs/config/umn/public_sys-resources/note_3.0-en-us.png b/docs/config/umn/public_sys-resources/note_3.0-en-us.png new file mode 100644 index 00000000..57a0e1f5 Binary files /dev/null and b/docs/config/umn/public_sys-resources/note_3.0-en-us.png differ diff --git a/docs/config/umn/public_sys-resources/notice_3.0-en-us.png b/docs/config/umn/public_sys-resources/notice_3.0-en-us.png new file mode 100644 index 00000000..fa4b6499 Binary files /dev/null and b/docs/config/umn/public_sys-resources/notice_3.0-en-us.png differ diff --git a/docs/config/umn/public_sys-resources/warning_3.0-en-us.png b/docs/config/umn/public_sys-resources/warning_3.0-en-us.png new file mode 100644 index 00000000..def5c356 Binary files /dev/null and b/docs/config/umn/public_sys-resources/warning_3.0-en-us.png differ diff --git a/docs/config/umn/rms_01_0000.html b/docs/config/umn/rms_01_0000.html new file mode 100644 index 00000000..44d97028 --- /dev/null +++ b/docs/config/umn/rms_01_0000.html @@ -0,0 +1,21 @@ + + +
Supported Service + |
+Resource Type + |
+
---|---|
Bare Metal Server (BMS) + |
+BMSs + |
+
Cloud Backup and Recovery (CBR) + |
+Vaults + |
+
Cloud Container Engine (CCE) + |
+Clusters + |
+
Nodes + |
+|
Cloud Container Instance (CCI) + |
+Pods + |
+
Cloud Search Service (CSS) + |
+Clusters + |
+
DataArts Studio (DARTS) + |
+Instances + |
+
CDM Clusters + |
+|
Workspaces + |
+|
Database Security Service (DBSS) + |
+Cloud Servers + |
+
Document Database Service (DDS) + |
+Instances + |
+
Dedicated Host (DeH) + |
+DeHs + |
+
Data Lake Insight (DLI) + |
+Queues + |
+
Elastic Resource Pools + |
+|
Distributed Message Service (DMS) + |
+Kafka Instances + |
+
Data Replication Service (DRS) + |
+Backup Migration Tasks + |
+
Disaster Recovery Tasks + |
+|
Data Synchronization Tasks + |
+|
Online Migration Tasks + |
+|
Data Warehouse Service (DWS) + |
+Clusters + |
+
Elastic Cloud Server (ECS) + |
+ECSs + |
+
Elastic Load Balance (ELB) + |
+Listeners + |
+
Load Balancers + |
+|
Enterprise Router (ER) + |
+Enterprise Routers + |
+
Attachments + |
+|
Elastic Volume Service (EVS) + |
+Disks + |
+
GaussDB + |
+Instances + |
+
Nodes + |
+|
GeminiDB + |
+Instances + |
+
Nodes + |
+|
Image Management Service (IMS) + |
+Images + |
+
Key Management Service (KMS) + |
+Keys + |
+
MapReduce Service (MRS) + |
+Clusters + |
+
NAT Gateway (NAT) + |
+Public NAT Gateways + |
+
Object Storage Service (OBS) + |
+Buckets + |
+
Relational Database Service (RDS) + |
+Instances + |
+
Scalable File Service (SFS) + |
+File Systems + |
+
Simple Message Notification (SMN) + |
+Topics + |
+
Virtual Private Cloud (VPC) + |
+VPCs + |
+
Bandwidths + |
+|
Security Groups + |
+|
EIPs + |
+|
Virtual Private Network (VPN) + |
+VPN Connections + |
+
VPN Gateways + |
+|
Web Application Firewall (WAF) + |
+Policies + |
+
Certificates + |
+
Service + |
+Resource Type + |
+Relationship + |
+Related Service + |
+Related Resource Type + |
+
---|---|---|---|---|
BMS + |
+BMSs + |
+isContainedIn + |
+VPC + |
+VPCs + |
+
isAttachedTo + |
+VPC + |
+EIPs + |
+||
EVS + |
+Disks + |
+|||
isAssociatedWith + |
+VPC + |
+Security Groups + |
+||
IMS + |
+Images + |
+|||
CCE + |
+Nodes + |
+isContainedIn + |
+CCE + |
+Clusters + |
+
Clusters + |
+contains + |
+CCE + |
+Nodes + |
+|
ECS + |
+ECSs + |
+isContainedIn + |
+VPC + |
+VPCs + |
+
MRS + |
+Clusters + |
+|||
isAttachedTo + |
+VPC + |
+EIPs + |
+||
EVS + |
+Disks + |
+|||
isAssociatedWith + |
+VPC + |
+Security Groups + |
+||
IMS + |
+Images + |
+|||
ELB + |
+Load Balancers + |
+contains + |
+ELB + |
+Listeners + |
+
isAttachedTo + |
+VPC + |
+EIPs + |
+||
Listeners + |
+isContainedIn + |
+ELB + |
+Load Balancers + |
+|
EVS + |
+Volumes + |
+isAttachedTo + |
+ECS + |
+ECSs + |
+
BMS + |
+BMSs + |
+|||
GaussDB + |
+Instances + |
+contains + |
+GaussDB + |
+Nodes + |
+
Nodes + |
+isContainedIn + |
+GaussDB + |
+Instances + |
+|
GeminiDB + |
+Instances + |
+contains + |
+GeminiDB + |
+Nodes + |
+
Nodes + |
+isContainedIn + |
+GeminiDB + |
+Instances + |
+|
IMS + |
+Images + |
+isAssociatedWith + |
+ECS + |
+ECSs + |
+
BMS + |
+BMSs + |
+|||
MRS + |
+Clusters + |
+isContainedIn + |
+VPC + |
+VPCs + |
+
isAttachedTo + |
+VPC + |
+EIPs + |
+||
isAssociatedWith + |
+VPC + |
+Security Groups + |
+||
contains + |
+ECS + |
+ECSs + |
+||
NAT Gateway + |
+Public NAT Gateway + |
+isAttachedTo + |
+VPC + |
+EIPs + |
+
VPC + |
+VPCs + |
+contains + |
+ECS + |
+ECSs + |
+
BMS + |
+BMSs + |
+|||
MRS + |
+Clusters + |
+|||
VPC + |
+EIPs + |
+|||
Security Groups + |
+isAssociatedWith + |
+ECS + |
+ECSs + |
+|
BMS + |
+BMSs + |
+|||
MRS + |
+Clusters + |
+|||
Bandwidths + |
+contains + |
+VPC + |
+EIPs + |
+|
EIPs + |
+isContainedIn + |
+VPC + |
+VPCs + |
+|
VPC + |
+Bandwidths + |
+|||
isAttachedTo + |
+ECS + |
+ECSs + |
+||
BMS + |
+BMSs + |
+|||
NAT Gateway + |
+Public NAT Gateway + |
+|||
ELB + |
+Load Balancers + |
+|||
MRS + |
+Clusters + |
+
You can use Identity and Access Management (IAM) to implement fine-grained permissions control for your Config resources. With IAM, you can:
+If your account meets your permissions requirements, you can skip this section.
+Figure 1 shows the process flow of granting Config permissions.
+Before granting permissions, learn about permissions for Config. To grant permissions for other services, see permissions.
+In the authorized region, perform the following operations:
+You can use IAM to create custom policies to supplement system-defined policies of Config. For more details, see the section "Permissions Policies and Supported Actions" in Config API Reference or Fine-Grained Permissions for Config.
+To create a custom policy, choose either visual editor or JSON.
+For details, see Creating a Custom Policy. The following lists an example of an Config custom policy.
+{ + "Version": "1.1", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "rms:policyAssignments:create" + ] + } + ] +}+
A policy with only "Deny" permissions must be used together with other policies. If the permissions granted to an IAM user contain both "Allow" and "Deny", the "Deny" permissions take precedence over the "Allow" permissions.
+Assume that you want to grant the permissions of the Config FullAccess policy to a user but do not want the user to have the permission to delete rules. You can create a custom policy that denies rule deletion, and then attach this policy together with the Config FullAccess policy to the user. As an explicit deny in any policy overrides any allows, the user can perform all operations on Config rules excepting deleting them.
+The following shows an example of a deny policy:
+{ + "Version": "1.1", + "Statement": [ + { + "Effect": "Deny", + "Action": [ + "rms:policyAssignments:delete" + ] + } + ] +}+
A custom policy can contain the actions of one or multiple services that are of the same type (global or project-level).
+Example policy containing multiple actions:
+{ + "Version": "1.1", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "rms:policyAssignments:create", + "rms:policyAssignments:delete" + ] + }, + { + "Effect": "Allow", + "Action": [ + "tms:predefineTags:create", + "tms:predefineTags:delete" + ] + } + ] +}+
Config allows you to search for, record, and continuously evaluate your resource configurations to make sure that your resources are in expected status.
+To get full functionality of Config, you need to enable the resource recorder. If the resource recorder is disabled, you may fail to update your resource data or accurately evaluate your resources with rules. For details about how to enable and configure the resource recorder, see Configuring the Resource Recorder.
+Config provides you with resource information, such as resource inventory, details, relationships, and change records. It stores your resource data every 24 hours and notifications of your resource changes every 6 hours. It will also notify you when a change is made to your resources. In addition, it enables you to use Config rules to evaluate your resources.
+You can use either of the following methods to access Config.
+The console is a web-based UI, where you can perform operations easily. Log in to the management console, click in the upper left corner, and choose Management & Deployment > Config.
To integrate Config into a third-party system for secondary development, you need to access the service by calling APIs. For details, see Config API Reference.
+A resource is an entity that you can use on the cloud platform. A resource can be an Elastic Cloud Server (ECS), an Elastic Volume Service (EVS) disk, or a Virtual Private Cloud (VPC).
+For details about supported resources and regions, see Supported Resources.
+Resource relationships indicate how your cloud resources are associated. For example, a resource relationship can be described as an EVS disk attached to a cloud server or a cloud server deployed in a VPC.
+For details, see Relationships with Supported Resources.
+Resource change records contain resource changes in a specific period of time.
+A record will be generated if there is a change to resource relationships or attributes.
+Resource attributes are key and value pairs that describe the characteristics of your resources. For example, a resource attribute can be the number of CPU cores of an ECS, the capacity of an EVS disk, or the password strength of an IAM user. For more details, see How Can I Obtain Resource Attributes Reported to Config?
+The resource recorder tracks changes to your cloud resources that are supported by Config. What changes are tracked depends on what a service reports to Config.
+If you have enabled the resource recorder and specified an OBS bucket and an SMN topic when you configure the resource recorder, Config will notify you if there is a change (creation, modification, deletion, relationship change) to the resources within the monitoring scope and periodically store your notifications and resource snapshots.
+You can create rules to evaluate the compliance of your resources. You can view and export information of your noncompliant resources.
+The advanced query allows you to quickly query specific resources, helping you obtain resource details, analyze resources from multiple perspectives, and quickly export data reports.
+Table 1 lists the common functions of Config.
+To better understand Config functions, you can learn basic concepts first.
+ +Category + |
+Function + |
+Description + |
+
---|---|---|
Resource list + |
+Querying all resources + |
+You can view all resource information, including the resource name, region, service, resource type, and enterprise project, from the current account. + |
+
Querying details about a resource + |
+You can query resource details, such as the resource name, creation time, and specifications. + |
+|
Filtering resources + |
+You can set a filter criterion (resource name, resource ID, tag, or enterprise project) to quickly find out specific resources. + |
+|
Exporting resource information + |
+You can export the information about required resources in an EXCEL file. + |
+|
Viewing resource compliance data + |
+You can view compliance data of a resource. + |
+|
Viewing relationships of a resource + |
+You can view relationships of a resource. + |
+|
Viewing change records of a resource + |
+You can view change records of a resource. + |
+|
Resource Compliance + |
+Adding a rule + |
+You can use rules to evaluate resource compliance. You can select a custom or predefined policy and configure other related parameters when creating a rule. + |
+
Evaluating resource compliance + |
+You can click Evaluate in the Operation column to start the evaluation. + |
+|
Disabling a rule + |
+You click Disable in the Operation column to disable a rule. + |
+|
Enabling a rule + |
+If you want to use a disabled rule, you can enable it. + |
+|
Modifying a rule + |
+If a rule does not meet your needs, you can change its configurations as needed. + |
+|
Deleting a rule + |
+You can delete a rule which is no longer needed. + |
+|
Noncompliant resources + |
+You can view and export information about all noncompliant resources. + |
+|
+ | + | |
Resource Recorder + |
+Enabling the resource recorder + |
+You can track resource changes only after the resource recorder is enabled. + |
+
Configuring the resource recorder + |
+You can set the monitoring scope, select an SMN topic, and configure the data storage path (OBS bucket). Then you need to grant permissions to the resource recorder for using SMN to send notifications and storing resource snapshots in the OBS bucket. + |
+|
Modifying the resource recorder + |
+You can modify resource recorder configurations, such as the monitoring scope, resource dump, SMN topic, and permissions. + |
+|
Disabling the resource recorder + |
+You can disable the resource recorder at any time. + |
+|
Advanced Queries + + + + + |
+Running an advanced query + |
+You can use ResourceQL to query current configurations of your resources. + |
+
Creating a query + |
+You can add custom queries, so that you can directly run them later. + |
+|
Viewing a query + |
+You can view the name, description, and SQL statement of a query. + |
+|
Modifying a query + |
+If a custom query cannot meet your requirements, you can modify its name, description, and query statement. + |
+|
Deleting a query + |
+If a custom query is no longer needed, you can delete it. + |
+|
CTS + |
+Supported CTS operations + |
+CTS records operations on Config for later query, audit, and backtrack. + |
+
Viewing tracing logs + |
+You can view or export Config operation records of the last seven days on CTS console. + |
+|
IAM + |
+Managing user permissions + |
+You can assign users system-defined or custom policies to decide which operations they can perform on Config. + |
+
The following describes the relationships between Config and other services.
+ + +Service + |
+Description + |
+Function + |
+Related Operation + |
+
---|---|---|---|
SMN + |
+You can specify an SMN topic when you enable the resource recorder. + NOTE:
+If you have configured an OBS bucket and you do not need notifications for resource changes, you do not need to configure an SMN topic. + |
+You will receive a notification if a change is made to your resource. + |
++ + | +
OBS + |
+You can specify an OBS bucket when you enable the resource recorder. + NOTE:
+If you have configured an SMN topic and you do not need an OBS bucket for resource dump, you do not need to configure an OBS bucket. + |
+
|
++ | +
IAM + |
+
|
+
|
++ | +
CTS + |
+CTS records operations on Config. + |
+CTS helps you record operations on Config for later query, audit, and backtrack. + |
++ | +
If you need to assign different permissions to employees in your enterprise, Identity and Access Management (IAM) is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you flexibly manage resource access.
+You can create users using IAM and grant users permissions to implement access control.
+If your account does not need individual IAM users for permissions management, skip this chapter.
+By default, new IAM users do not have permissions. You need to add a user to one or more groups and attach policies to the user groups. Users in a group inherit permissions from the group, so that they can perform operations on cloud services based on the permissions.
+Config is a global service. You do not need to repeat Config authorization for different regions or switch regions for accessing Config.
+A user with Config read-only permissions can view all resources on the Resource List page.
+Policy: A type of fine-grained authorization method that defines permissions required to perform operations on specific cloud resources under certain conditions. Authorization using policies is more flexible and help you implement least privilege. Most policies define permissions based on APIs. API actions are the minimum granularity of permissions. For API actions supported by Config, see the Permissions Policies and Supported Actions section in Config API Reference. For details about fine-grained permissions and their dependencies for Config, see Fine-Grained Permissions for Config.
+Table 1 lists all the system-defined permissions supported by Config.
+ +Policy + |
+Description + |
+Dependencies + |
+
---|---|---|
Config FullAccess + |
+Grants full access to Config. This policy grants you the permissions to perform all actions on the resource list, resource recorder, resource compliance, and advanced queries. + |
+
|
+
Config ReadOnlyAccess + |
+Grants read-only access to Config. This policy grants you read access to the resource list, resource recorder, and resource compliance. + |
+None + |
+
Table 2 lists the common operations and the system-defined permissions of Config. √ indicates that an operation is supported, and × indicates not supported.
+ +Operation + |
+Config FullAccess + |
+Config ReadOnlyAccess + |
+
---|---|---|
Querying all resources + |
+√ + |
+√ + |
+
Query details about a resource. + |
+√ + |
+√ + |
+
Filtering resources + |
+√ + |
+√ + |
+
Exporting resources + |
+√ + |
+√ + |
+
Viewing resource compliance data + |
+√ + |
+√ + |
+
Viewing relationships of a resource + |
+√ + |
+√ + |
+
Viewing resource change history + |
+√ + |
+√ + |
+
Querying the resource recorder + |
+√ + |
+√ + |
+
Enabling, configuring, or modifying the resource recorder + |
+√ + |
+x + |
+
Disabling the resource recorder + |
+√ + |
+x + |
+
Querying a compliance policy + |
+√ + |
+√ + |
+
Modifying rules + |
+√ + |
+x + |
+
Adding rules + |
+√ + |
+x + |
+
Querying rules + |
+√ + |
+√ + |
+
Deleting rules + |
+√ + |
+x + |
+
Viewing resource compliance evaluation results + |
+√ + |
+√ + |
+
Triggering a resource compliance evaluation + |
+√ + |
+x + |
+
Running advanced queries + |
+√ + |
+x + |
+
Creating advanced queries + |
+√ + |
+x + |
+
Querying advanced queries + |
+√ + |
+√ + |
+
Listing advanced queries + |
+√ + |
+√ + |
+
Updating advanced queries + |
+√ + |
+x + |
+
Deleting advanced queries + |
+√ + |
+x + |
+
If predefined permissions cannot meet your requirements, you can create custom policies. Custom policies allow you to perform fine-grained access control flexibly. For details about how to create a custom policy, see Creating a Custom Policy. For details about example custom policies, see Creating a Custom Policy.
+The following table lists the actions and dependencies for Config.
+ +Action + |
+Description + |
+Dependencies + |
+Applicable Scenario + |
+
---|---|---|---|
rms:resources:getHistory + |
+Grants the permission to view resource history. + |
+
|
+Viewing resource history. + |
+
rms:resources:getRelation + |
+Grants the permission to view resource relationships and relationship details. + |
+
|
+Viewing resource relationships and relationship details + |
+
rms:resources:list + |
+Grants the permission to view resources. + |
+To filter resources by enterprise project, eps:enterpriseProjects:list is required. + |
+Viewing, filtering, and exporting resources. + |
+
rms:resources:get + |
+Grants the permission to view resource details. + |
+
|
+Viewing resource details + |
+
Action + |
+Description + |
+Dependencies + |
+Applicable Scenario + |
+
---|---|---|---|
rms:trackerConfig:get + |
+Grants the permission to query the resource recorder. + |
+
|
+Viewing resource recorder configurations + |
+
rms:trackerConfig:put + |
+Grants the permission to create and modify the resource recorder. + |
+
|
+Enabling, configuring, and modifying the resource recorder. + |
+
rms:trackerConfig:delete + |
+Grants the permission to disable the resource recorder. + |
+rms:trackerConfig:get + |
+Disabling the resource recorder. + |
+
Action + |
+Description + |
+Dependencies + |
+Applicable Scenario + |
+
---|---|---|---|
rms:policyDefinitions:get + |
+Grants the permission to view built-in policies. + |
+None + |
+Viewing built-in policies + |
+
rms:policyAssignments:update + |
+Grants the permission to update rules. + |
+
|
+Modifying, enabling, and disabling rules + |
+
rms:policyAssignments:create + |
+Grants the permission to create rules. + |
+
|
+Adding rules. + |
+
rms:policyAssignments:get + |
+Grants the permission to view rules + |
+None + |
+Viewing rules and their details. + |
+
rms:policyAssignments:delete + |
+Grants the permission to delete rules. + |
+rms:policyAssignments:get + |
+Deleting rules. + |
+
rms:policyStates:get + |
+Grants the permission to query the state and evaluation result of a rule. + |
+rms:policyAssignments:get + |
+Querying the state and evaluation result of a rule. If you call an API to query the state and evaluation result of a rule, this action is required. If you use Config console, this action is not required. + |
+
rms:policyStates:runEvaluation + |
+Grants the permission to run rules. + |
+rms:policyAssignments:get + |
+Manually triggering a rule. + |
+
Action + |
+Description + |
+Dependencies + |
+Applicable Scenario + |
+
---|---|---|---|
rms:resources:runQuery + |
+Grants the permission to run advanced queries. + |
+
|
+Running advanced queries + |
+
rms:storedQueries:create + |
+Grants the permission to create queries. + |
+None + |
+Creating queries + |
+
rms:storedQueries:get + |
+Grants the permission to view query statements. + |
+rms:storedQueries:list + |
+Viewing query statements + |
+
rms:storedQueries:list + |
+Grants the permission to list queries. + |
+None + |
+Listing queries. + |
+
rms:storedQueries:update + |
+Grants the permission to update query statements + |
+
|
+Modifying custom queries + |
+
rms:storedQueries:delete + |
+Grants the permission to deleting queries. + |
+rms:storedQueries:list + |
+Deleting custom queries + |
+
rms:schemas:list + |
+Listing advanced query schemas + |
+None + |
+Viewing resource attributes synchronized to Config. + |
+
The constraints on Config are as follows:
+ +Description + |
+Limit + |
+
---|---|
Resource data synchronization period + NOTE:
+There is a delay in synchronizing resource data to Config. The delay varies depending on services. +If the resource recorder is enabled, Config will update related data for resources that are included in the monitoring scope within 24 hours. If the resource recorder is disabled, Config will not update resource data. + |
+24 hours + |
+
Retention duration of resource snapshots + |
+24 hours + |
+
Retention duration of resource change notifications + |
+6 hours + |
+
Maximum number of rules in an account + |
+500 + |
+
Maximum number of advanced queries in an account + |
+200 + |
+
Number of results returned for each advanced query + |
+4,000 + |
+
Retention period of resource configuration information + |
+7 years + |
+
On the Resource List page, you can view all resources in the current account.
+There is a delay in synchronizing resource data to Config, so if there is a resource change, the change may not be updated in the resource list immediately. If the resource recorder is enabled, Config will update resource changes within 24 hours.
+To use the resource list, you must enable the resource recorder. If no resources are displayed on the resource list page, check if the resource recorder is enabled, if the resource type is within the configured monitoring scope, or if the service or resource is supported by Config. For services and resources supported by Config, see Supported Resources. For details about how to configure the resource recorder, see Configuring the Resource Recorder.
+By default, the Resource List displays the resources that you have and are within the monitoring scope of the resource recorder.
+By default, the Resource List page only displays some resource attributes. You can perform the following procedure to view more resource details.
+Resource overview, resource compliance, associated resources, and the resource timeline are displayed.
+Alternatively, in the resource list, click View Details in the Operation column to view resource details.
+You can filter resources by service, resource type, and region on the Resource List page. In the search box in the middle of the page, you can also enter more specific resource information to quickly search for resources.
+This section describes how to quickly search for your resources.
+Filter Criteria + |
+Description + |
+
---|---|
Name + |
+Resource name. Fuzzy search is supported. The resource name is case-insensitive. + |
+
Resource ID + |
+Resource ID. Fuzzy search is supported. The resource ID is case-sensitive. + |
+
Tags + |
+You can select a tag key and one or all values of this key to filter resources. + |
+
Enterprise Project + |
+The enterprise project which resources belong to. If you select an enterprise project, resources in this enterprise project will be displayed. + NOTE:
+To filter resources by enterprise project, you need to enable Enterprise Center first. Filtering resources by enterprise project is only available to some users. + |
+
On the Resource List page, you can export resource information.
+Only information that you can see in the list will be exported.
+Information of all resources will be exported to an Excel file, containing all attributes that are reported to Config.
+Config allows you to view resource relationships. A resource relationship may be described as that an EVS disk is attached to an ECS or an ECS is deployed in a VPC. Config only provides relationships of supported resources. For more details, see Relationships with Supported Resources.
+Hover over the name of an associated resource to view resource information and resource relationships.
+For each service, you can filter resources by resource ID or resource name.
+On the Associated Resources tab, you can click the name of an associated resource to view related information of this resource.
+Resource changes that are reported to Config are recorded only after the resource recorder is enabled. For details about the resource recorder, see Resource Recorder.
+You can view resource changes over a time period. A record will be added to the resource timeline when the related service reports a resource attribute or relationship change to Config and the record will be retained for seven years by default.
+By default, resource changes of the latest three months are displayed.
+You can also click View JSON File to view the resource attributes reported to Config.
+Config provides you with rules to evaluate resources. You can view compliance data of the resources evaluated in the Resource Overview page.
+In the search box above the list, enter a rule name, a rule ID, the trigger type, the time of the latest evaluation, or the evaluation result to filter rules.
+The resource recorder automatically detects and records changes made to your resources that are supported by Config.
+To be specific, the resource recorder:
+For details about resources supported by the resource recorder, see Supported Resources.
+To get full functionality of Config, you need to enable the resource recorder. If the resource recorder is disabled, you may fail to update your resource data or accurately evaluate your resources with rules.
+You must enable the resource recorder for Config to track changes to your resource configurations.
+You can modify or disable the resource recorder at any time.
+This section includes the following content:
+ +If you have enabled the resource recorder and specified an OBS bucket and an SMN topic when you configure the resource recorder, Config will notify you if there is a change (creation, modification, deletion, relationship change) to the resources within the monitoring scope and periodically store your notifications and resource snapshots.
+By default, all resources supported by Config will be recorded by the resource recorder. You can specify a resource scope for the resource recorder.
+Specify an OBS bucket to store notifications of resource changes and resource snapshots.
+To enable the resource recorder, you must configure either an SMN topic or an OBS bucket.
+Select Your bucket and then select a bucket from the drop-down list to store resource change notifications and resource snapshots. If you need to store the notifications and snapshots to a specific folder in the OBS bucket, enter the folder name after you select a bucket. If there are no OBS buckets in the current account, create one first. For details, see Creating a Bucket.
+Select Other users' bucket and then configure Region ID and Bucket Name. If you need to store the notifications and snapshots to a specific folder in the OBS bucket, enter the folder name after you select a bucket. If you select a bucket from another account, you need required permissions granted by the account. For details, see Cross-Account Authorization.
+After you specify an OBS bucket from the current or another account, Config will write an empty file named ConfigWritabilityCheckFile to the OBS bucket to verify whether resources can be written to the OBS bucket. If an error is reported, you can resolve related issues based on Why Is an Error Reported When Data Is Dumped to the OBS Bucket After the Resource Recorder Is Enabled?.
+Toggle on Topic, then select a region and an SMN topic for receiving notifications of resource changes.
+Select Your topic, then select a region and an SMN topic. If there are no SMN topics available, create one first. For details, see Creating a Topic.
+Select Topic under other account, then enter a topic URN. For more details about topic URN, see Concepts If you select a topic from another account, you need required permissions granted by the account. For details, see Cross-Account Authorization.
+To send notifications with an SMN topic, you not only need to create the topic, but also need to add subscriptions and request subscription confirmations.
+For details about how to add permissions in an agency, see Deleting or Modifying Agencies.
+You can modify the resource recorder at any time.
+You can disable the resource recorder at any time.
+The following is an example of a bucket policy. The policy allows the authorized account to store data into a specific object or folder in an OBS bucket. You need to configure the following parameters in a bucket policy:
+{ + "Statement": [ + { + "Sid": "org-bucket-policy", + "Effect": "Allow", + "Principal": { + "ID": [ + "domain/${account_id}:agency/${agency_name}" + ] + }, + "Action": [ + "PutObject" + ], + "Resource": [ + "${bucket_name}/${folder_name}/RMSLogs/*/Snapshot/*", + "${bucket_name}/${folder_name}/RMSLogs/*/Notification/*" + ] + } + ] +}+
If you need to store resource change notifications and snapshots to an OBS bucket encrypted using a default key of SSE-KMS, you need to add the KMS Administrator permission to the agency assigned to the resource recorder.
+If you need to store resource change notifications and snapshots to an OBS bucket that is encrypted using a custom key of SSE-KMS, you need to add the KMS Administrator permission to the agency assigned to the resource recorder.
+If you need to store resource change notifications and snapshots to an OBS bucket that is from another account, and that is encrypted using a custom key of SSE-KMS, you need to add the KMS Administrator permission to the agency assigned to the resource recorder, and set the cross-account permission for the key at the same time. The procedure is as follows:
+Notifications of your resource changes will be sent to the SMN topic subscribers after you enable the resource recorder and configure the SMN topic. If no topics are available, you need to create a topic, add subscriptions to the topic, and request confirmation for the subscriptions.
+For details, see Simple Message Notification User Guide.
+Config sends notifications when:
+For details about example code for resource change notifications, see Notification Models.
+Your resource snapshots will be stored into the specified OBS bucket every 24 hours after you enable the resource recorder.
+The path of in an OBS bucket where the resource recorder stores your data takes the form of ${bucket_name}/${bucket_prefix}/RMSLogs/${account_id}/Snapshot/${year}/${month}/* The fields before each slash in the path indicate different layers of folders, and * indicates the name of a file. You can go to the Objects page on the OBS console and find your resource snapshots based on the paths.
+The name of a resource snapshot file consists of the account ID, storage file type, ID of the region where the OBS bucket resides, storage time, randomly generated character string, and sequence number of the file. Each snapshot file can contain information of up to 2,000 resources. If you have more than 2,000 resources, there will be more than one files, and the name of each file will contain a sequence number (such as part-1). If you have less than 2,000 resources, there will be no sequence number in the file name. .json.gz indicates that the file is stored as a JSON package.
+The following shows an example file name: 0926901ef980f2150fbdc001fdd23e80_Snapshot_eu-de_ResourceSnapshot_2024-07-22T221441Z_90decead-b69b-4522-a090-657d8c299d40_part-1.json.gz.
+For more details, see Searching for an Object or Folder.
+For details about example code for storing resource snapshots, see Resource Snapshot Storage Model.
+After you enable the resource recorder and specify an SMN topic and an OBS bucket, Config stores your resource change notifications to the OBS bucket every 6 hours. If no topics are available, you need to create a topic, add subscription endpoints, and request subscription confirmations for the topic.
+The path of in an OBS bucket where the resource recorder stores your resource change notifications takes the form of ${bucket_name}/${bucket_prefix}/RMSLogs/${account_id}/Notification/${year}/${month}/* The fields before each slash in the path indicate different layers of folders, and * indicates the name of a file. You can go to the Objects page on the OBS console and find your resource change notification files based on the paths.
+The name of the file for storing your resource change notifications consists of the account ID, storage file type, ID of the region where the OBS bucket resides, service type, resource type, and storage duration. Each file contains change notifications of only one type of resource. .json.gz indicates that the file is stored as a JSON package.
+The following shows an example name of a resource change notification file: 0926901ef980f2150fbdc001fdd23e80_Notification_eu-de_NotificationChunk_OBS_BUCKETS_2024-07-24T214735Z_2024-07-24T214759Z.json.gz
+For more details, see Searching for an Object or Folder.
+For details, see Simple Message Notification User Guide.
+For details about example code for storing resource change notifications, see Storage Model of Resource Change Notifications.
+You can create a rule to evaluate your resource compliance. When you create a rule, you can select a built-in policy or custom policy, specify a monitoring scope, and specify the trigger type. Evaluation results are provided for you to check compliance data.
+This section describes how to add predefined rules.
+To evaluate resources with rules, you need to enable the resource recorder. Resource evaluation is subject to the following rules:
+For details about how to enable and configure the resource recorder, see Configuring the Resource Recorder.
+Parameter + |
+Description + |
+
---|---|
Policy Type + |
+Select Built-in policy. +Built-in policies are provided by Config. You can select a built-in policy to quickly add a rule. You can also search for a built-in policy by policy name or tag. + |
+
Rule Name + |
+By default, the rule name is consistent with the predefined policy name. Rule names must be unique. +A rule name can contain digits, letters, underscores (_), and hyphens (-) and cannot exceed 64 characters. + |
+
Description + |
+By default, the rule description is the same as the selected predefined policy description. You can also customize the rule description. +A rule description can contain any types of characters and cannot exceed 512 characters. + |
+
Parameter + |
+Description + |
+
---|---|
Trigger Type + |
+Specifies the conditions under which rules are triggered. +Possible values are: +
|
+
Filter Type + |
+Specifies the resources to be evaluated. +Possible types are: +
This parameter is mandatory only when Trigger Type is set to Configuration change. + |
+
Resource Scope + |
+If you set Filter Type to Specific resources, you need to specify a resource scope. +
You only need to configure this parameter when Trigger Type is set to Configuration change and Filter Type is set to Specific resources. + |
+
(Optional) Filter Scope + |
+After you enable Filter Scope, you can filter resources by resource ID or tag. +You can specify a specific resource for compliance evaluation. +This parameter is optional for a rule whose trigger type is configuration change. + |
+
Execute Every + |
+Indicates how often a rule is triggered. +Available options: 1 hour, 3 hours, 6 hours, 12 hours, 24 hours. +This parameter is mandatory only when Trigger Type is set to Periodic execution. + |
+
Configure Rule Parameters + |
+Parameters of a built-in policy. +For example, if you select the required-tag-check policy, you need to specify a tag, so that resources that do not have the tag will be determined as noncompliant. +Some default policies, such as volumes-encrypted-check, do not require Configure Rule Parameters. + |
+
After you add a rule, the first evaluation is automatically triggered immediately.
+Rules can be triggered automatically or manually.
+You can manually initiate rule evaluation at any time. For details, see Procedure.
+To evaluate resources with rules, you need to enable the resource recorder. Resource evaluation is subject to the following rules:
+For details about how to enable and configure the resource recorder, see Configuring the Resource Recorder.
+Alternatively, you can click Evaluate in the upper right corner of the rule details page.
+You can modify, enable, disable, or delete a rule at any time.
+You can perform these operations in the rule list or on the Rules Details page. This section describes how to modify, enable, disable, or delete a rule through the rule list.
+ +After a rule is enabled, it will be automatically triggered immediately.
+The configuration items that you can modify vary for different policies.
+After a rule is modified, it will be automatically triggered.
+Before deleting a rule, you need to disable the rule.
+You can create custom rules to supplement predefined rules.
+Currently, only the eu-de region supports FunctionGraph, so you can only create custom policies for the eu-de region.
+To create a custom rule, you need to use FunctionGraph functions. Each rule is associated with a Function Graph function. Config reports events to the function. The function collects rule parameters and resource attributes from the events; evaluates whether your resources comply with the rule; and returns evaluation results using Open APIs of Config. Config sends events based on the trigger type (configuration changes or periodic) of a rule. For details about how to use FunctionGraph, see FunctionGraph User Guide.
+This section describes how to create a custom rule by performing the following two procedures:
+ +To evaluate resources with rules, you need to enable the resource recorder. Resource evaluation is subject to the following rules:
+For details about how to enable and configure the resource recorder, see Configuring the Resource Recorder.
+For details about example code, see Example Functions (Python).
+For more details, see Creating an Event Function.
++
Parameter + |
+Description + |
+
---|---|
Policy Type + |
+Select Custom policy. +You can use custom policies to create rules. + |
+
Rule Name + |
+The name of the rule. A rule name must be unique. +A rule name can contain digits, letters, underscores (_), and hyphens (-) and cannot exceed 64 characters. + |
+
Description + |
+A rule description can contain any types of characters and cannot exceed 512 characters. + |
+
FunctionGraph Function + |
+The URN of the function. +For details about how to create a FunctionGraph function, see Creating a Function with FunctionGraph. + NOTE:
+You can use either of the following methods to obtain the URN of a function: +
|
+
Grant Permissions + |
+This agency grants Config the read-only and call permissions of FunctionGraph. These permissions allow you to customize rules to query and send events to FunctionGraph functions. + NOTE:
+
|
+
+
Parameter + |
+Description + |
+
---|---|
Trigger Type + |
+The condition under which a rule will be triggered. +Trigger types are as follows: +
|
+
Filter Type + |
+The type of resources to be evaluated. +Filter types are as follows: +
This parameter is mandatory only when Trigger Type is set to Configuration change. + |
+
Resource Scope + |
+If you set Filter Type to Specific resources, you need to specify a resource scope. +
This parameter is mandatory only when Trigger Type is set to Configuration change and the Filter Type is set to Specific resources. + |
+
(Optional) Filter Scope + |
+After you enable Filter Scope, you can filter resources by resource ID or tag. +You can specify a specific resource for compliance evaluation. +This parameter is optional for a rule whose trigger type is configuration change. + |
+
Execute Every + |
+How often a rule will be triggered. +Available options: 1 hour, 3 hours, 6 hours, 12 hours, 24 hours. +This parameter is mandatory only when Trigger Type is set to Periodic execution. + |
+
Configure Rule Parameters + |
+You can set up to 10 rule parameters for a custom rule. + |
+
After you add a rule, the first evaluation is automatically triggered immediately.
+Config will invoke a function like the following example when it detects a configuration change to a related resource.
+import requests +import http.client +import time +requests.packages.urllib3.disable_warnings() + + +def get_policy_resource(domain_id, resource): + return { + "domain_id": domain_id, + "region_id": resource.get("region_id"), + "resource_id": resource.get("id"), + "resource_name": resource.get("name"), + "resource_provider": resource.get("provider"), + "resource_type": resource.get("type") + } + + +''' +The evaluation result of a rule will be either Compliant or NonCompliant. +In this example, if the properties.status of a resource matches the specified ECSstatus, NonCompliant is returned. Otherwise, Compliant is returned. +''' + +def evaluate_compliance(resource, parameter): + if resource.get("properties").get("status") == parameter.get("ECSstatus").get("value"): + return "NonCompliant" + else: + return "Compliant" + + +def update_policy_state(token, domain_id, evaluation): + endpoint = "https://rms.eu-de.otc.t-systems.com" + url = "{}/v1/resource-manager/domains/{}/policy-states".format(endpoint, domain_id) + return requests.put( + url=url, + headers={ + "X-Auth-Token": token + }, + json=evaluation, + verify=False, + ) + + +def handler(event, context): + resource = event.get("invoking_event", {}) + parameters = event.get("rule_parameter") + compliance_state = evaluate_compliance(resource, parameters) + + requests = { + "policy_resource": get_policy_resource(event.get("domain_id"), resource), + "trigger_type": event.get("trigger_type"), + "compliance_state": compliance_state, + "policy_assignment_id": event.get("policy_assignment_id"), + "policy_assignment_name": event.get("policy_assignment_name"), + "function_urn": event.get("function_urn"), + "evaluation_time": event.get("evaluation_time"), + "evaluation_hash": event.get("evaluation_hash") + } + + for retry in range(3): + response = update_policy_state(context.getToken(), event.get("domain_id"), requests) + if response.status_code == http.client.TOO_MANY_REQUESTS: + print("TOO_MANY_REQUESTS: retry again") + time.sleep(1) + else: + if response.status_code == http.client.OK: + print("Update policyState successfully.") + else: + print("Failed to update policyState.") + print(response.json()) + break+
Config will invoke a function like the following example for a custom rule that is executed periodically.
+import requests +import http.client +import time +requests.packages.urllib3.disable_warnings() + +def get_policy_resource(domain_id, resource): + return { + "domain_id": domain_id, + "region_id": resource.get("region_id"), + "resource_id": resource.get("id"), + "resource_name": resource.get("name"), + "resource_provider": resource.get("provider"), + "resource_type": resource.get("type") + } + +''' +The evaluation result of a rule will be either Compliant or NonCompliant. +In this example, if ten or more ECSs are in the status of SHUTOFF, NonCompliant is returned. Otherwise, Compliant is returned. +Here, the Config advanced query API is used. You can use related APIs of other services as needed. +''' + +def evaluate_compliance(token, domain_id): + endpoint = "https://rms.eu-de.otc.t-systems.com" + url = "{}/v1/resource-manager/domains/{}/run-query".format(endpoint, domain_id) + body = {"expression":"select count(*) as cnt from resources where provider = 'ecs' and type = 'cloudservers' and properties.status = 'SHUTOFF'"} + r = requests.post( + url=url, + json=body, + headers={ + "X-Auth-Token": token + }, + verify=False, + ) + # example {"query_info":{"select_fields":["cnt"]},"results":[{"cnt":0}]} + print(r.json()) + cnt = r.json().get("results")[0].get("cnt") + if cnt < 10: + print(cnt,"Compliant") + return "Compliant" + else: + print(cnt,"NonCompliant") + return "NonCompliant" + + +def update_policy_state(token, domain_id, evaluation): + endpoint = "https://rms.eu-de.otc.t-systems.com + url = "{}/v1/resource-manager/domains/{}/policy-states".format(endpoint, domain_id) + return requests.put( + url=url, + headers={ + "X-Auth-Token": token + }, + json=evaluation, + verify=False, + ) + +def handler (event, context): + resource = event.get("invoking_event", {}) + parameters = event.get("rule_parameter") + if resource.get("name") != "Account": + return + compliance_state = evaluate_compliance(context.getToken(), event.get("domain_id")) + + requests = { + "policy_resource": get_policy_resource(event.get("domain_id"), resource), + "trigger_type": event.get("trigger_type"), + "compliance_state": compliance_state, + "policy_assignment_id": event.get("policy_assignment_id"), + "policy_assignment_name": event.get("policy_assignment_name"), + "function_urn": event.get("function_urn"), + "evaluation_time": event.get("evaluation_time"), + "evaluation_hash": event.get("evaluation_hash") + } + + for retry in range(3): + response = update_policy_state(context.getToken(), event.get("domain_id"), requests) + if response.status_code == http.client.TOO_MANY_REQUESTS: + print("TOO_MANY_REQUESTS: retry again") + time.sleep(1) + else: + if response.status_code == http.client.OK: + print("Update policyState successfully.") + else: + print("Failed to update policyState.") + print(response.json()) + break+
When a custom rule is triggered, Config will send an event to invoke the FunctionGraph function associated with the rule. The following example shows an event sent by Config when a custom rule was triggered by a configuration change for ecs.cloudservers.
+{ + "domain_id": "domain_id", + "policy_assignment_id": "637c6b2e6b647c4d313d9719", + "policy_assignment_name": "period-policy-period", + "function_urn": "urn:fss:region_1:123456789:function:default:test-custom-policyassignment:latest", + "trigger_type": "resource", + "evaluation_time": 1669098286719, + "evaluation_hash": "3bf8ecaeb0864feb98639080aea5c7d9", + "rule_parameter": { + "vpcId": { + "value": "fake_id" + } + }, + "invoking_event": { + "id": "5e0d49c8-7ce0-4c31-9d92-28b05200b838", + "name": "default", + "provider": "vpc", + "type": "securityGroups", + "tags": {}, + "created": "2022-11-07T12:58:46.000+00:00", + "updated": "2022-11-07T12:58:46.000+00:00", + "properties": { + "description": "Default security group", + "security_group_rules": [ + { + "remote_group_id": "5e0d49c8-7ce0-4c31-9d92-28b05200b838", + "ethertype": "IPv6", + "security_group_id": "5e0d49c8-7ce0-4c31-9d92-28b05200b838", + "port_range_max": 0, + "id": "19f581bc-08a7-4037-ae59-9a6838c43709", + "direction": "ingress", + "port_range_min": 0 + }, + { + "ethertype": "IPv6", + "security_group_id": "5e0d49c8-7ce0-4c31-9d92-28b05200b838", + "port_range_max": 0, + "id": "75dae7b6-0b71-496f-8f11-87fb30300e18", + "direction": "egress", + "port_range_min": 0 + } + ] + }, + "ep_id": "0", + "project_id": "vpc", + "region_id": "region_1", + "provisioning_state": "Succeeded" + } +}+
Config publishes an event when it evaluates your resources at a frequency that you specify, such as every 24 hours. The following example shows an event sent by Config when a custom rule was triggered at a specific frequency.
+{ + "domain_id": "domain_id", + "policy_assignment_id": "637c6b2e6b647c4d313d9719", + "policy_assignment_name": "period-policy-assignment", + "function_urn": "urn:fss:region_1:123456789:function:default:test-custom-policyassignment:latest", + "trigger_type": "period", + "evaluation_time": 1669098286719, + "evaluation_hash": "3bf8ecaeb0864feb98639080aea5c7d9", + "rule_parameter": {}, + "invoking_event": { + "id": "domain_id", + "name": "Account", + "provider": null, + "type": null, + "tags": null, + "created": null, + "updated": null, + "properties": null, + "ep_id": null, + "project_id": null, + "region_id": "global", + "provisioning_state": null + } +}+
You can view all noncompliant resources on the Non-Compliant Resources tab of the Resource Compliance page.
+Above the list, you can filter non-compliant resources with multiple search options. You can also export the list.
+After you add a rule, you can view all rules in the rule list and view evaluation results and configurations of a rule on the rule details page.
+You can export all evaluation results. On the upper right corner of the rule details page, multiple buttons are provided for you to trigger, modify, enable, disable, or delete a rule.
+On the left of the Basic Information page, evaluation results are displayed, and on the right, rule details are displayed. Above the evaluation result list, you can filter evaluation results by resource name and ID. You can also export the list.
+A rule may be in one of the following statuses:
+During the evaluation, the rule is in the Evaluating state. After the evaluation is complete, the rule status changes to Enabled, and then, you can view the evaluation results.
+To view services and regions supported by Config, log in to the console and click Supported Services and Regions in Resource List page. Supported services and regions are displayed.
+Parameter + |
+Type + |
+Description + |
+
---|---|---|
notification_type + |
+String + |
+The type of the notification. For a resource change notification, the notification type is ResourceChanged. + |
+
notification_creation_time + |
+String + |
+The time when the message was sent. +The notification creation time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
domain_id + |
+String + |
+Account ID. + |
+
detail + |
+Object + |
+Notification details. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
resource_id + |
+String + |
+Resource ID. + |
+
resource_type + |
+String + |
+Resource type. + |
+
event_type + |
+Enum + |
+Event type (CREATE, UPDATE, DELETE) + |
+
capture_time + |
+String + |
+The event capture time. +The event capture time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
resource + |
+Object + |
+Resource details. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Resource ID. + |
+
name + |
+String + |
+Resource name. + |
+
provider + |
+String + |
+Cloud service name. + |
+
type + |
+String + |
+Resource type. + |
+
region_id + |
+String + |
+The ID of the region where the resource resides. + |
+
project_id + |
+String + |
+IAM project ID. + |
+
project_name + |
+String + |
+IAM project name. + |
+
ep_id + |
+String + |
+Enterprise project ID. + |
+
ep_name + |
+String + |
+Enterprise project name. + |
+
checksum + |
+String + |
+The checksum. + |
+
created + |
+String + |
+Resource creation time. +The resource creation time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
updated + |
+String + |
+The time when the resource was last updated. +The latest update time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
provisioning_state + |
+String + |
+Resource provisioning state. + |
+
tags + |
+Map + |
+Resource tags. + |
+
properties + |
+Map + |
+Resource attributes. + |
+
{ + "detail": { + "resource": { + "id": "3e62c0e6-e779-469e-b0f2-35743f6229d1", + "name": "ecs-51c8", + "provider": "evs", + "type": "volumes", + "checksum": "b3bcc019cecbb701e324e0dcf2f283236685885236b49f5ba5ea2f5f788170a1", + "created": "2020-08-12T07:14:41.638Z", + "updated": "2020-08-12T07:14:44.423Z", + "tags": {}, + "properties": { + "shareable": false, + "volumeType": "SATA", + "metadata": {}, + "attachments": [], + "replicationStatus": "disabled", + "availabilityZone": "eu-de", + "bootable": "true", + "userId": "059b5c937d80d3e41ff3c00a3c883d16", + "volTenantAttrTenantId": "059b5e0a2500d5552fa1c00adada8c06", + "size": "40", + "encrypted": false, + "volumeImageMetadata": { + "virtualEnvType": "FusionCompute", + "isregistered": "true", + "imageSourceType": "uds", + "minDisk": "40", + "platform": "CentOS", + "size": 0, + "osVersion": "CentOS 7.5 64bit", + "minRam": "0", + "name": "CentOS 7.5 64bit", + "checksum": "d41d8cd98f00b204e9800998ecf8427e", + "osBit": "64", + "osType": "Linux", + "containerFormat": "bare", + "supportXen": "true", + "id": "e0adce3a-a4d2-4207-9018-69ce64b4426a", + "supportKvm": "true", + "diskFormat": "zvhd2", + "imageType": "gold" + }, + "links": [ + { + "rel": "self", + "href": "https://evs.eu-de.xxxxxx.com/v2/059b5e0a2500d5552fa1c00adada8c06/os-vendor-volumes/3e62c0e6-e779-469e-b0f2-35743f6229d1" + }, + { + "rel": "bookmark", + "href": "https://evs.eu-de.xxxxxx.com/059b5e0a2500d5552fa1c00adada8c06/os-vendor-volumes/3e62c0e6-e779-469e-b0f2-35743f6229d1" + } + ], + "volHostAttrHost": "eu-de-pod01.eu-de#0", + "multiattach": false, + "status": "available" + }, + "region_id": "eu-de", + "project_id": "059b5e0a2500d5552fa1c00adada8c06", + "project_name": "eu-de", + "ep_id": "0", + "ep_name": "default", + "provisioning_state": "Succeeded" + }, + "resource_id": "3e62c0e6-e779-469e-b0f2-35743f6229d1", + "resource_type": "evs.volumes", + "event_type": "CREATE", + "capture_time": "2020-08-12T07:15:15.116Z" + }, + "notification_type": "ResourceChanged", + "notification_creation_time": "2020-08-12T07:14:47.192Z", + "domain_id": "059b5c937100d3e40ff0c00a7675a0a0" +}+
Parameters + |
+Type + |
+Description + |
+
---|---|---|
notification_type + |
+String + |
+The type of a notification. For a resource relationship change notification, the notification type is ResourceRelationChanged. + |
+
notification_creation_time + |
+String + |
+The time when the message was sent. +The notification creation time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
domain_id + |
+String + |
+Account ID. + |
+
detail + |
+Object + |
+Notification details. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
resource_id + |
+String + |
+Resource ID. + |
+
resource_type + |
+String + |
+Resource type. + |
+
event_type + |
+Enum + |
+Event type (CHANGE). + |
+
capture_time + |
+String + |
+The event capture time. +The event capture time is a UTC time (such as 2018-11-14T08:59:14Z) that complys with ISO8601. + |
+
{ + "detail": { + "resource_id": "f65b06d1-d63b-438a-93cc-bdd55b304f0a", + "resource_type": "ecs.cloudservers", + "event_type": "CHANGE", + "capture_time": "2020-08-12T07:15:14.257Z" + }, + "notification_type": "ResourceRelationChanged", + "notification_creation_time": "2020-08-12T07:14:56.296Z", + "domain_id": "059b5c937100d3e40ff0c00a7675a0a0" +}+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
notification_type + |
+String + |
+The type of a notification. For a resource snapshot storage notification, the notification type is SnapshotArchiveCompleted. + |
+
notification_creation_time + |
+String + |
+The time when the message was sent. +The notification creation time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
domain_id + |
+String + |
+Account ID. + |
+
detail + |
+Object + |
+Notification details. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
snapshot_id + |
+String + |
+Resource snapshot ID. + |
+
region_id + |
+String + |
+The ID of the region where resource snapshots reside. + |
+
bucket_name + |
+String + |
+The name of the OBS bucket where resource snapshots are stored. + |
+
object_keys + |
+Array of String + |
+Path of the OBS object where resource snapshots are stored. + |
+
{ + "detail": { + "snapshot_id": "474f85e6-72cd-442b-af4e-517120a5c669", + "region_id": "eu-de", + "bucket_name": "test", + "object_keys": [ + "RMSLogs/059b5c937100d3e40ff0c00a7675a0a0/Snapshot/2020/8/11/059b5c937100d3e40ff0c00a7675a0a0_Snapshot_eu-de_ResourceSnapshot_2020-08-10T170901_474f85e6-72cd-442b-af4e-517120a5c669_part-1.json.gz" + ] + }, + "notification_type": "SnapshotArchiveCompleted", + "notification_creation_time": "2020-08-10T17:09:27.314Z", + "domain_id": "059b5c937100d3e40ff0c00a7675a0a0" +}+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
notification_type + |
+String + |
+The type of a notification. For resource change notification storage, the notification type is NotificationArchiveCompleted. + |
+
notification_creation_time + |
+String + |
+The time when the message was sent. +The notification creation time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
domain_id + |
+String + |
+Account ID. + |
+
detail + |
+Object + |
+Notification details. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
region_id + |
+String + |
+The ID of the region where resource change notifications are stored. + |
+
bucket_name + |
+String + |
+The name of the OBS bucket where resource change notifications are stored. + |
+
object_key + |
+String + |
+The path of an object in an OBS bucket for storing resource change notifications. + |
+
{ + "detail": { + "region_id": "eu-de", + "bucket_name": "test", + "object_key": "RMSLogs/059b5c937100d3e40ff0c00a7675a0a0/Notification/2020/12/10/NotificationChunk/059b5c937100d3e40ff0c00a7675a0a0_Notification_eu-de_NotificationChunk_VPC_VPCS_2020-12-10T024612Z_2020-12-10T050621Z.json.gz" + }, + "notification_type": "NotificationArchiveCompleted", + "notification_creation_time": "2020-12-10T05:09:28.002Z", + "domain_id": "059b5c937100d3e40ff0c00a7675a0a0" +}+ +
Parameter + |
+Type + |
+Description + |
+
---|---|---|
snapshot_id + |
+String + |
+Specifies the resource snapshot ID. + |
+
items + |
+Array of Object + |
+Specifies the list of the resource snapshot items. + |
+
snapshot_time + |
+String + |
+Specifies the time when the resource snapshot was stored. +snapshot_time is a UTC time in a fixed format complying with ISO-8601 (for example, 2018-11-14T08:59:14Z). + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
resource + |
+Object + |
+Specifies the resource. + |
+
relations + |
+Array of Object + |
+Specifies the item list of the resource relationship. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the resource ID. + |
+
name + |
+String + |
+Specifies the resource name. + |
+
provider + |
+String + |
+Specifies the cloud service name. + |
+
type + |
+String + |
+Specifies the cloud resource type. + |
+
region_id + |
+String + |
+Specifies the ID of the region where the resource is located. + |
+
project_id + |
+String + |
+Specifies the IAM project ID. + |
+
project_name + |
+String + |
+Specifies the IAM project name. + |
+
ep_id + |
+String + |
+Specifies the enterprise project ID. + |
+
ep_name + |
+String + |
+Specifies the enterprise project name. + |
+
checksum + |
+String + |
+Specifies the checksum. + |
+
created + |
+String + |
+Specifies the time when the cloud resource was created. +created is a UTC time in a fixed format complying with ISO-8601 (for example, 2018-11-14T08:59:14Z). + |
+
updated + |
+String + |
+The time when the resource was last updated. +updated is a UTC time in a fixed format complying with ISO-8601 (for example, 2018-11-14T08:59:14Z). + |
+
provisioning_state + |
+String + |
+Specifies the result of an operation on resources. +The value can be: +
|
+
tags + |
+Map + |
+Specifies the cloud resource tags. + |
+
properties + |
+Map + |
+Specifies the cloud resource attributes. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
from_resource_id + |
+String + |
+Specifies the ID of the source resource. + |
+
to_resource_id + |
+String + |
+Specifies the ID of the associated resource. + |
+
from_resource_type + |
+String + |
+Specifies the type of the source resource. + |
+
to_resource_type + |
+String + |
+Specifies the type of the associated resource. + |
+
relation_type + |
+String + |
+Specifies the resource relationship type. + |
+
{ + "items": [ + { + "resource": { + "id": "c25ee8b3-c907-4cd4-9869-6c4b07c61a0b", + "name": "rse-cdk-07-cdk-3sbz", + "provider": "vpc", + "type": "securityGroups", + "region_id": "eu-de", + "project_id": "fc6d40abe7e54492b7c7aa5a29d6cbab", + "project_name": "demo_project", + "ep_id": "0", + "ep_name": "default", + "checksum": "4098715092c762b3eafe25be8eeda33a10b547033f9d59b6e18f5a960a1f805d", + "updated": "2020-05-25T10:27:17.000Z", + "created": "2020-05-25T10:27:17.000Z", + "provisioning_state": "Succeeded", + "tags": {}, + "properties": {} + }, + "relations": [ + { + "from_resource_id": "c25ee8b3-c907-4cd4-9869-6c4b07c61a0b", + "to_resource_id": "0088a276-162b-4f07-aa40-f6ed8b801ca1", + "from_resource_type": "vpc.securityGroups", + "to_resource_type": "ecs.cloudservers", + "relation_type": "isAssociatedWith" + } + ] + } + ], + "snapshot_id": "6e40483d-5499-4440-a369-284e528f3d85", + "snapshot_time": "2020-06-30T06:56:00.018Z" +}+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
notification_items + |
+Array of Object + |
+Resource change notifications. + |
+
Parameter + |
+Parameter Type + |
+Description + |
+
---|---|---|
notification_type + |
+String + |
+Notification type. For a resource change notification, the notification type is ResourceChanged. + |
+
notification_creation_time + |
+String + |
+Notification sending time +The notification sending time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
domain_id + |
+String + |
+Account ID. + |
+
detail + |
+Object + |
+Notification details. + |
+
Parameter + |
+Parameter Type + |
+Description + |
+
---|---|---|
resource_id + |
+String + |
+Resource ID. + |
+
resource_type + |
+String + |
+Resource type. + |
+
event_type + |
+Enum + |
+Event type (CREATE, UPDATE, DELETE) + |
+
capture_time + |
+String + |
+Event capture time. +The event capture time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
resource + |
+Object + |
+Resource details. + |
+
Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Resource ID. + |
+
name + |
+String + |
+Resource name. + |
+
provider + |
+String + |
+Service name. + |
+
type + |
+String + |
+Resource type. + |
+
region_id + |
+String + |
+The ID of the region where the resource resides. + |
+
project_id + |
+String + |
+IAM project ID. + |
+
project_name + |
+String + |
+IAM project name. + |
+
ep_id + |
+String + |
+Enterprise project ID. + |
+
ep_name + |
+String + |
+Enterprise project name. + |
+
checksum + |
+String + |
+The checksum. + |
+
created + |
+String + |
+Resource creation time. +The resource creation time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
updated + |
+String + |
+The time when the resource was last updated. +The resource update time is a UTC time (such as 2018-11-14T08:59:14Z) that complies with ISO8601. + |
+
provisioning_state + |
+String + |
+Resource state. + |
+
tags + |
+Map + |
+Resource tags. + |
+
properties + |
+Map + |
+Resource attributes. + |
+
{ + "notification_items": [ + { + "detail": { + "resource": { + "id": "ea05ef41-8bd6-4a9c-af39-244e1ec448eb", + "name": "as-group-test", + "provider": "as", + "type": "scalingGroups", + "checksum": "", + "region_id": "eu-de", + "project_id": "068d54ceca00d5302f70c00aaf6a471c", + "project_name": "test", + "ep_id": "0", + "ep_name": "default" + }, + "resource_id": "ea05ef41-8bd6-4a9c-af39-244e1ec448eb", + "resource_type": "as.scalingGroups", + "event_type": "DELETE", + "capture_time": "2020-12-08T09:30:27.158Z" + }, + "notification_type": "ResourceChanged", + "notification_creation_time": "2020-12-08T09:30:27.272Z", + "domain_id": "059b5c937100d3e40ff0c00a7675a0a0" + } + ] +}+
ResourceQL provides SQL-like functions, allowing you to flexibly query your cloud resources.
+SELECT name, created, updated FROM resources WHERE region_id = 'regionid1'+
The statement is case insensitive. SELECT COUNT(*) and select CoUnT(*) are the same. Use single quotation marks to represent the literal of a string.
+The following are data types supported by ResourceQL. For the array type, [] is used to index a position, and the number starts from 1.
+ +Type Name + |
+Type + |
+
---|---|
Integer + |
+Int/Integer + |
+
Float + |
+Float/Double + |
+
Boolean + |
+Boolean + |
+
Array + |
+Array + |
+
String + |
+String + |
+
Dictionary + |
+Object + |
+
Timestamp + |
+Date + |
+
All your cloud resources are included in a table. The table name is fixed to resources. The resources under your aggregator account forms a table. The table name is fixed to aggregator_resources. Each row in the table records a piece of data. The conventions of each column are as follows.
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the resource ID. + |
+
name + |
+String + |
+Specifies the resource name. + |
+
provider + |
+String + |
+Specifies the cloud service name. + |
+
type + |
+String + |
+Specifies the resource type. + |
+
region_id + |
+String + |
+Specifies the region ID. + |
+
project_id + |
+String + |
+Specifies the project ID. + |
+
ep_id + |
+String + |
+Specifies the enterprise project ID. + |
+
checksum + |
+String + |
+Specifies the resource checksum. + |
+
created + |
+Date + |
+Specifies the time when the resource was created. + |
+
updated + |
+Date + |
+Specifies the time when the resource was updated. + |
+
provisioning_state + |
+String + |
+Specifies the result of an operation on resources. + |
+
tag + |
+Array(Map<String,String>) + |
+Specifies the resource tag. + |
+
properties + |
+Map<String,Object> + |
+Specifies the resource attribute details. + |
+
aggregator_resources contains domain_id that indicates the account ID. The type of a domain ID is a string.
+provider and type represent a unique resource. For different resources, properties varies. For example, for an ECS, the provider and type are ecs and cloudservers, and the properties contains flavor. For a VPC, the provider and type are vpc and publicips, and the properties contains bandwidth.
+You can obtain resource attributes that can be included in the properties element for each resource on Config console or by calling the related API. For more details, see How Can I Obtain Resource Attributes Reported to Config?.
+properties supports nested queries. The following shows an example of how to query the addresses parameter under properties for the running ECS.
+SELECT name, created, updated, properties.addresses FROM resources + WHERE provider = 'ecs' AND type = 'cloudservers' AND properties.status = 'ACTIVE'+
In this section, the words that need to be typed in the original form are capitalized, and the characters that need to be typed in the original form are enclosed in single quotation marks (').
+'[x]' indicates that statement 'x' can be used once or not even once.
+'(x)' indicates that statement 'x' is a whole. '(x, ...)' indicates that statement 'x' can be used once or multiple times. If statement 'x' is used multiple times, use commas (,) to separate them.
+'|' indicates all possible alternatives.
+'expression' indicates any expression. Specially, 'bool_expression' indicates any Boolean expression.
+'identifier' indicates a valid identifier. An identifier can contain letters, digits, and underscores (_), and cannot start with a digit.
+'column_name' indicates a valid field name. It can be 'identifier' or multiple identifiers, for example,'A.id'.
+'table_name' indicates a valid table name. In the ResourceQL syntax, 'table_name' must be 'resources'.
+A unit enclosed in double quotation marks ("") is considered as a whole. For example, to indicate a column name containing special characters, add double quotation marks ("") before and after the column name.
+[WITH (with_item, ...)] +SELECT [DISTINCT | ALL] (select_item, ...) +[FROM (from_item, ...)] +[WHERE bool_expression] +[GROUP BY [DISTINCT | ALL] (expression, ...)] +[HAVING booleanExpression] +[ORDER BY (expression [ASC | DESC] [NULLS (FIRST | LAST)], ...)] +[LIMIT number]+
The field in 'select_item' can be renamed. Operation can be performed on the field values. 'select_item' supports the query of all fields in a table.
+select_item = (expression [[AS] column_name_aias]) | *+
'from_item' supports the join function and multiple subqueries, and the table name can be renamed.
+from_item = table_name [[AS] table_name_aias] + | (from_item join_type from_item [(ON bool_expression) | USING(column_name, ...)]) + | '(' query ')'+
'with_item' is used to customize queries to facilitate subsequent invoking.
+with_item = identifier AS '(' query ')'+
For example, to list resources with a quantity greater than 100 in each region, run the following SQL statement:
+WITH counts AS ( + SELECT region_id, provider, type, count(*) AS number FROM resources + GROUP BY region_id, provider, type +) SELECT * FROM counts WHERE number > 100+
ResourceQL supports binary mathematical operations on integers and floating digits. The following operators are supported: '+,-,*,/,%'
+Values of the same type can be compared. The following comparison operators are supported: <, >, <=, >=, =, <>, !=. Both <> and != indicate not equal. Values are compared in size, and strings are compared in lexicographic order. Values and sets can also be compared. In this case, one from 'ALL | SOME | ANY' on the right of the comparison operator is used to specify the comparison range. 'All' indicates that all elements in the set must be met. 'SOME/ANY' indicates that at least one element must be met.
+expression ('=' | '<>' | '!=' | '<' | '>' | '<=' | '>=') +expression +expression ('=' | '<>' | '!=' | '<' | '>' | '<=' | '>=') +[ALL | SOME | ANY] '(' query ')'+
'bool_expression' indicates any Boolean expression. (True or False is returned after the operation.) 'bool_expression' includes the following syntax:
+NOT bool_expression +bool_expression (AND | OR) bool_expression +expression [NOT] BETWEEN expression AND expression +expression [NOT] IN '(' query ')' +EXISTS '(' query ')' +expression [NOT] LIKE pattern [ESCAPE escape_characters] +expression IS [NOT] NULL +expression IS [NOT] DISTINCT FROM expression+
In particular, operator '||' concatenates the left and right values and returns a new value. The left and right values are of the same type: array or string.
+ResourceQL allows you to query fields of the time type. The query result is converted to the zero time zone and returned in ISO Date format. The result is saved in milliseconds.
+Time types can be connected by comparison operators. If you want to use a literal to indicate time, use timestamps to write 'time'. 'time' can be in any ISO date format or a common time format. The following formats are allowed:
+2019-06-17T12:55:42.233Z
+2019-06-17T12:55:42Z
+2019-06-17 12:55:42
+2019-06-17T12:55:42.00 + 08:00
+2019-06-17 05:55:40 - 06:00
+2019-06-17
+2019
+If the time zone is not added, the zero time zone is used by default. If the 24-hour time is not added, 0:00 is used by default. If the month is not added, January 1 is used by default.
+For example, to sort resources created since 12:55:00 on September 12, 2020 by update time in descending order, run the following statement:
+select name, created, updated from resources +where created >= timestamp '2020-09-12T12:55:00Z' +order by updated DESC+
string LIKE pattern [ESCAPE escape_characters]+
'LIKE' is used to determine whether a character string complies with a pattern. If you want to express the literal of '%' and '_' in the pattern, you can specify an escape character (for example, '#') after ESCAPE and write '# %' and '#_' in the pattern.
+Wildcard '%' indicates that zero or multiple characters are matched.
+Wildcard '_' indicates that one character is matched.
+The fuzzy query of OBS buckets can be written in the following format:
+SELECT name, id FROM resources + WHERE provider = 'obs' AND type = 'buckets' AND name LIKE '%figure%'+
or
+SELECT name, id FROM resources + WHERE provider = 'obs' AND type = 'buckets' AND name LIKE '%figure#_%' ESCAPE '#'+
The return value of CASE varies according to the actual situation. CASE can be used in either of the following ways:
+CASE expression + WHEN value1 THEN result1 + [WHEN value2 THEN result2] + [...] + [ELSE result] +END +CASE + WHEN condition1 THEN result1 + WHEN condition2 THEN result2 + [...] + [ELSE result] +END+
IF can be used in either of the following ways:
+ResourceQL provides a variety of functions to simplify queries. For details about the functions, see Functions.
+ResourceQL supports lambda expressions. The arguments of some functions may be another function. In this case, it is convenient to use the lambda expression.
+For example, to list the ECSs and the EVS disks attached to each ECS, run the following SQL statement:
+SELECT ECS.id AS ecs_id, EVS.id AS evs_id FROM + (SELECT id, transform(properties.ExtVolumesAttached, x -> x.id) AS evs_list + FROM resources WHERE provider = 'ecs' AND type = 'cloudservers') ECS + (SELECT id FROM resources WHERE provider = 'evs' AND type = 'volumes') EVS + WHERE contains(ecs.evs_list, evs.id)+
'contains(a, element)→boolean' determines whether an element appears in array a.
+'transform(array(T), function(T, S))→array(S) can convert an array of a certain type into an array of another type.
+ResourceQL supports 'JOIN' and 'UNNEST'. 'JOIN' can be classified into the following types:
+'JOIN' must be followed by 'USING(...)' or 'ON <bool_expression>'.
+'USING' is used to specify the names of columns to join.
+'ON' accepts a Boolean expression and merges values of 'JOIN' if the Boolean expression value is true. To ensure performance, there must be at least one equation in a Boolean expression in the conjunctive normal form (CNF), and the operation content at the left and right ends of the equation is provided by the left and right tables separately.
+You can add 'NATURAL' before 'JOIN' to indicate a connection. In this case, you do not need to add 'USING' or 'ON' after 'JOIN'.
+'UNNEST' can unpack an array into a table. With 'WITH ORDINALITY', there is an auto-increment column. The format is as follows:
+table_name CROSS JOIN UNNEST '(' (expression, ...) ')' [WITH ORDINALITY]+
Note that 'CROSS JOIN' can only be used to connect to 'UNNEST'. ResourceQL does not support 'CROSS JOIN' in other formats.
+The preceding example of querying the association between an ECS and an EVS disk can also be written in the following format:
+SELECT ECS_EVS.id AS ecs_id, EVS.id AS evs_id FROM + (SELECT id, evs_id FROM (SELECT id, transform(properties.ExtVolumesAttached, x ->x.id) AS evs_list + FROM resources WHERE provider = 'ecs' AND type = 'cloudservers') ECS + CROSS JOIN UNNEST(evs_list) AS t (evs_id)) ECS_EVS, + (SELECT id FROM resources WHERE provider = 'evs' AND type = 'volumes') EVS + WHERE ECS_EVS.evs_id = EVS.id+
ResourceQL supports the following functions.
+ +Function + |
+Description + |
+
---|---|
abs(x) + |
+Returns the absolute value of x. + |
+
ceil/ceiling(x) + |
+Returns x rounded up to the nearest integer. + |
+
floor(x) + |
+Returns x rounded down to the nearest integer. + |
+
pow/power(x, p) → double + |
+Returns x raised to the power of p. + |
+
round(x) + |
+Returns x rounded to the nearest integer. + |
+
round(x, d) + |
+Returns x rounded to d decimal places. + |
+
sign(x) + |
+Returns the sign of x. +
|
+
Function + |
+Description + |
+
---|---|
concat(str1, str2, ..., strn) → string + |
+Returns the concatenation of str1, str2, ..., strN. + |
+
chr(n) → string + |
+Returns the Unicode code point n as a single character string. + |
+
codepoint(str) → int + |
+Returns the Unicode code point of the only character of str. + |
+
length(str) → int + |
+Returns the length of str in characters. + |
+
lower/upper(str) → string + |
+Converts str to lowercase or uppercase. + |
+
replace(str, sub) → string + |
+Removes all substrings from strings. + |
+
replace(str, sub, replace) → string + |
+Replaces all instances of sub with replace in str. + |
+
reverse(str) → string + |
+Returns str with the characters in reverse order. + |
+
split(str, delimiter) → array + |
+Splits str on delimiter and returns an array. + |
+
strpos(str, sub) → int + |
+Returns the starting position of the first instance of sub in str. Positions start with 1. If not found, 0 is returned. + |
+
strpos(str, sub, n) -> int + |
+Returns the position of the N-th instance of sub in str. Positions start with 1. If not found, 0 is returned. + |
+
strrpos(str, sub) → int + |
+Returns the starting position of the last instance of sub in str. Positions start with 1. If not found, 0 is returned. + |
+
strrpos(str, sub, n) -> int + |
+Returns the position of the N-th instance of sub in str starting from the end of the string. Positions start with 1. If not found, 0 is returned. + |
+
substr(str, start) → string + |
+Returns the rest of str from the starting position start. + |
+
substr(str, start, length) → string + |
+Returns a substring with a length from the start index. + |
+
trim/lstrim/rstrim(str) + |
+Removes leading and trailing whitespace from a string. + |
+
Function + |
+Description + |
+
---|---|
all_match(array(T), function(T, boolean)) → boolean + |
+Returns whether all elements of an array match the given predicate. + |
+
any_match(array(T), function(T, boolean)) → boolean + |
+Returns whether any elements of an array match the given predicate. + |
+
array_average(a) → double + |
+Returns the average of all non-null elements of a. + |
+
array_distinct(a) → array + |
+Removes duplicate values from array a. + |
+
array_duplicates(a) → array + |
+Returns a set of elements that occur more than once in array a. + |
+
array_frequency(a) → map + |
+Returns a map: keys are the unique elements in array, values are how many times the key appears. + |
+
array_has_duplicates(a) → boolean + |
+Returns a boolean: whether a has any elements that occur more than once. + |
+
array_intersect(a, b) → array + |
+Returns an array of the elements in the intersection of a and b, without duplicates. + |
+
array_join(x, delimiter) → string + |
+Concatenates the elements of the given array using the delimiter. + |
+
array_join(x, delimiter[, null_replacement]) → string + |
+Concatenates the elements of the given array using the delimiter and an optional string to replace nulls. + |
+
array_max/array_min(a) + |
+Returns the maximum or minimum value of input array a. + |
+
array_position(a, element) → int + |
+Returns the position of the first occurrence of the element in array a (or 0 if not found). + |
+
array_position(a, element, instance) → int + |
+Returns the position of the first occurrence of the element in array a. If no matching element instance is found, 0 is returned. If instance > 0, returns the position of the instance-th occurrence of the element in array a. If instance < 0, return the position of the instance-to-last occurrence of the element in array a. + |
+
array_remove(a, element) → array + |
+Removes all elements that equal element from array a. + |
+
array_sort(a) → array + |
+Sorts and returns array a. + |
+
array_sort(array(T), function(<T, T>, int)) → array + |
+Sorts and returns the array based on the given comparator function. The comparator will take two nullable arguments representing two nullable elements of the array. It returns -1, 0, or 1 as the first nullable element is less than, equal to, or greater than the second nullable element. + |
+
array_sum(a) + |
+Returns the sum of all non-null elements of a. + |
+
array_overlap(a, b) → boolean + |
+Tests if arrays a and b have any non-null elements in common. + |
+
array_union(a, b) → array + |
+Returns an array of the elements in the union of a and b, without duplicates. + |
+
array_except(x, y) → array + |
+Returns an array of elements in x but not in y. + |
+
cardinality(a) → int + |
+Returns the cardinality (size) of array a. + |
+
concat(a1, a2, ...) → array + |
+Concatenates the arrays a1, a2, .... This function provides the same functionality as the SQL-standard concatenation operator (||). + |
+
contains(a, element) → boolean + |
+Returns true if the array a contains the element. + |
+
element_at(a, index) + |
+Returns element of a at given index. If index < 0, element_at accesses elements from the last to the first. + |
+
filter(array(T), function(T, boolean)) → array(T) + |
+Constructs an array from those elements of array for which function returns true. + |
+
none_match(array(T), function(T, boolean)) → boolean + |
+Returns whether no elements of an array match the given predicate. + |
+
reverse(a) → array + |
+Returns an array which has the reversed order of array a. + |
+
sequence(start, stop, step) + |
+Generates a sequence of timestamps from start to stop, incrementing by step. It is similar to the range() function in Python, which returns a sequence of numbers, starting from 0 by default, and increments by 1 (by default), and stops before a specified number. + |
+
shuffle(a) → array + |
+Generates a random permutation of given array a. + |
+
slice(a, start, length) → array + |
+Subsets array a starting from index start (or starting from the end if start is negative) with a length of length. + |
+
transform(array(T), function(T, S)) → array(S) + |
+Returns an array that is the result of applying function to each element of array. + |
+
Function + |
+Description + |
+
---|---|
arbitrary(x) + |
+Returns an arbitrary non-null value of x, if one exists. + |
+
array_agg(x) → array + |
+Returns an array created from the input x elements. + |
+
avg(x)→ double + |
+Returns the average (arithmetic mean) of all input values. + |
+
bool_and/bool_or(x) → boolean + |
+bool_and returns TRUE if every input value is TRUE, otherwise FALSE. bool_or returns TRUE if any input value is TRUE, otherwise FALSE. + |
+
coalesce(value1, value2, ...) + |
+Returns the first non-null value in an argument list. Short-circuit evaluation will be used. + |
+
count(*)/count(x) → int + |
+count(*) returns the number of input rows. count(x) returns the number of non-null input values. + |
+
greatest(value1, value2, ..., valueN) + |
+Returns the largest of the provided values. + |
+
histogram(x) → map + |
+Returns a map containing the count of the number of times each input value occurs. + |
+
least(value1, value2, ..., valueN) + |
+Returns the smallest of the provided values. + |
+
max/min(x, n=1) + |
+Returns n largest or smallest values of all input values of x. + |
+
max_by/min_by(x, y, n=1) + |
+Returns n values of x associated with the n largest of all input values of y in descending order of y, or return n values of x associated with the n smallest of all input values of y in ascending order of y. + |
+
geometric_mean(x) → double + |
+Returns the geometric mean of all input values. + |
+
set_agg(x) → array + |
+Returns an array created from the distinct input x elements. + |
+
set_union(x) → array + |
+Returns an array of all the distinct values contained in each array of the input. + |
+
sum(x) + |
+Returns the sum of all input values. + |
+
multimap_agg(key, value) + |
+Returns multiple mappings created from input key-value pairs. + |
+
map_agg(key, value) + |
+Returns the mapping created from the input key-value pair. + |
+
Function + |
+Description + |
+
---|---|
now() → date + |
+Returns the current time. + |
+
date_diff(unit, timestamp1, timestamp2) → int + |
+Returns timestamp2-timestamp1 expressed in terms of unit. The option of unit can be millisecond, second, minute, hour, day, week, month, quarter, or year. + |
+
date_parse(string, format) → timestamp + |
+Parses a string into a timestamp using format. + |
+
Released On + |
+Description + |
+
---|---|
2024-07-30 + |
+This issue is the first official release. + |
+
Yes, they are stored into the same OBS bucket.
+If you specified an OBS bucket and an SMN topic when you configured the resource recorder, resource snapshots and resource change notifications are periodically stored in the OBS bucket.
+After you enable the resource recorder and specify an SMN topic and an OBS bucket, Config will store your resource snapshots to the OBS bucket every 24 hours and your resource change notifications every 6 hours.
+No. However, you need to configure either Topic or Resource Dump. To enable the resource recorder, you must configure either an SMN topic or an OBS bucket.
+The possible causes are as follows:
+To store resource change notifications, you need to configure both an SMN topic and an OBS bucket.
+To make an SMN topic effective, you not only need to create a topic, but add subscription endpoints and request subscription confirmation.
+If you have specified an effective SMN topic when you enabled the resource recorder, Config will send notifications of resource changes that are resulted from both user operations and non-user operations. For more details, see Notifications. You are advised to use HTTPS or FunctionGraph (functions) instead of SMS messages or emails to receive notifications from Config.
+You can obtain resource attributes reported to Config in either of the following ways:
+You can add up to 500 rules in an account.
+Parameters for Configure Rule Parameters vary depending on the policy selected. For example, if you select the predefined policy, required-tag-check, you will need to specify a key and value pair for Configure Rule Parameters.
+For a predefined policy, the parameters that you need to configure for Configure Rule Parameters are also predefined. You can set different values as needed.
+For a custom policy, you can define parameters for Configure Rule Parameters, and up to 10 parameters can be included in Configure Rule Parameters for each rule.
+On the Resource List page, you can only view resources and export resource details. To delete a resource, you need to click View Details in the Operation column to go to the corresponding service page.
+One possible reason is that there was a delay in synchronizing related resource information to Config.
+Another reason may be the disabled resource recorder. If the resource recorder was disabled, Config would not update resource data. If the resource recorder is enabled, Config will update related data for resources that are included in the monitoring scope within 24 hours.
+It may also be that the resource change was not reported to Config. The services are not supposed to report all resource data to Config, just some of it. For example, Document Database Service (DDS) is not supposed to report security groups to Config, and Config will not display security group data for DDS instances.
+Cloud Trace Service (CTS) records operations on Config for your later query, audit, and backtrack.
+You have enabled CTS.
+Operation + |
+Resource Type + |
+Event Name + |
+
---|---|---|
Creating rules + |
+policy + |
+createPolicyAssignments + |
+
Deleting rules + |
+policy + |
+deletePolicyAssignment + |
+
Updating rules + |
+policy + |
+updatePolicyAssignment + |
+
Triggering rules + |
+policy + |
+runEvaluation + |
+
Disabling rules + |
+policy + |
+disablePolicyAssignment + |
+
Enabling rules + |
+policy + |
+enablePolicyAssignment + |
+
Updating evaluation results + NOTE:
+This trace will be registered by CTS when the FunctionGraph function updates the evaluation result of a custom Config rule. + |
+policyState + |
+updatePolicyState + |
+
Configuring or modifying the resource recorder + |
+trackerConfig + |
+createOrUpdateTrackerConfig + |
+
Disabling the resource recorder + |
+trackerConfig + |
+deleteTrackerConfig + |
+
Creating advanced queries + |
+storedQuery + |
+createStoredQuery + |
+
Updating advanced queries + |
+storedQuery + |
+updateStoredQuery + |
+
Deleting advanced queries + |
+storedQuery + |
+deleteStoredQuery + |
+
Advanced queries allow you to query your resource configuration states for one or more regions using ResourceQL.
+You can conveniently use ResourceQL and a query editor to search for and view your resources.
+ResourceQL is a subset of structured query language (SQL) SELECT syntax to help you perform property-based queries and aggregations. The query complexity varies. You can query resources by tag or resource identifier, or by using complex SQL statements. For example, you can query an ECS with a specified OS version.
+You can use Advanced Queries to:
+You can only use advanced queries to query, view, or export cloud resources. If you need to modify or delete resources, go to related service consoles.
+You can use the query statements preset by Config or customize query statements based on resource configuration attributes to query specific cloud resource configurations.
+This section includes the following content:
+ +On the left of the page, the Schema information is displayed. Schema information shows detailed resource attributes that are specified by the properties parameter in the statement. For details about query statements, see Configuration Examples of Advanced Queries.
+A query name can contain only digits, letters, underscores (_), and hyphens (-). It cannot exceed 64 characters.
+There is a limit to how many custom queries you can create. If you exceed this limit, you will receive a notification: "The maximum number of custom queries has been reached." Although the query cannot be saved, you can still run the query and export the results.
+All default queries are displayed in a list.
+Alternatively, click the query name and then click Query in the lower right corner of the query overview page.
+For details, see Configuration Examples of Advanced Queries.
+After a new query is created, the new query becomes a custom query and will be displayed in the custom query list.
+Advanced queries use ResourceQL, a subset of SQL SELECT syntax, to query resource configuration data. You do not need to call specific APIs for the query or use multiple APIs to download full data and manually analyze the data. ResourceQL can only query data from the resources table.
+ +Parameter + |
+Type + |
+Description + |
+
---|---|---|
id + |
+String + |
+Specifies the resource ID. + |
+
name + |
+String + |
+Specifies the resource name. + |
+
provider + |
+String + |
+Specifies the cloud service name. + |
+
type + |
+String + |
+Specifies the resource type. + |
+
region_id + |
+String + |
+Specifies the region ID. + |
+
project_id + |
+String + |
+Specifies the project ID. + |
+
ep_id + |
+String + |
+Specifies the enterprise project ID. + |
+
checksum + |
+String + |
+Specifies the resource checksum. + |
+
created + |
+Date + |
+Specifies the time when the resource was created. + |
+
updated + |
+Date + |
+Specifies the time when the resource was updated. + |
+
provisioning_state + |
+String + |
+Specifies the result of an operation on resources. + |
+
tag + |
+Array(Map<String,String>) + |
+Specifies the resource tag. + |
+
properties + |
+Map<String,Object> + |
+Specifies the resource attribute details. + |
+
Example quires are as follows:
+SELECT name +FROM resources +WHERE provider = 'ecs' + AND type = 'cloudservers' + AND properties.status = 'SHUTOFF'+
SELECT * +FROM resources +WHERE provider = 'evs' + AND type = 'volumes' + AND properties.size = 100+
SELECT * +FROM resources +WHERE provider = 'obs' + AND type = 'buckets' + AND name LIKE '%figure%'+
SELECT ECS_EVS.id AS ecs_id, EVS.id AS evs_id +FROM ( + SELECT id, evs_id + FROM ( + SELECT id, transform(properties.ExtVolumesAttached, x -> x.id) AS evs_list + FROM resources + WHERE provider = 'ecs' + AND type = 'cloudservers' + ) ECS + CROSS JOIN UNNEST(evs_list) AS t (evs_id) +) ECS_EVS, ( + SELECT id + FROM resources + WHERE provider = 'evs' + AND type = 'volumes' + ) EVS +WHERE ECS_EVS.evs_id = EVS.id+
SELECT ECS.id AS ECS_id, publicIpAddress AS ip_address +FROM ( + SELECT id, transform(properties.addresses, x -> x.addr) AS ip_list + FROM resources + WHERE provider = 'ecs' + AND type = 'cloudservers' +) ECS, ( + SELECT name, properties.publicIpAddress + FROM resources + WHERE provider = 'vpc' + AND type = 'publicips' + AND properties.type = 'EIP' + AND properties.status = 'ACTIVE' + ) EIP +WHERE CONTAINS (ECS.ip_list, EIP.name)+
WITH counts AS ( + SELECT region_id, provider, type, count(*) AS number + FROM resources + GROUP BY region_id, provider, type +) +SELECT * +FROM counts +WHERE number > 100+
For details about query statements, see ResourceQL Syntax.
+You can view the name, description, and SQL statement of a query.
+By default, the default query list is displayed. To view custom queries, click Custom Queries.
+View the query name and description in the query list.
+The SQL statement details in the query are displayed.
+You can follow the following procedure to modify the statement, name, and description of a custom query.
+You can modify the statement, name, and description of a predefined query and save it as a new custom query. For details, see Using a Predefined Query.
+Alternatively, click the query name to go to the query overview page, and then click Query in the lower right corner to go to the Query Editor page.
+For details, see Configuration Examples of Advanced Queries.
+A query name can contain only digits, letters, underscores (_), and hyphens (-). It cannot exceed 64 characters.
+You can delete a custom query if you no longer need it.
+Default queries cannot be deleted.
+To prevent a single user from occupying resources for queries for too long, the following constrains are set on advanced queries:
+To get full functionality of advanced queries, you need to enable the resource recorder. The following describes how the resource recorder may affect your use of advanced queries.
+For details about how to enable and configure the resource recorder, see Configuring the Resource Recorder.
+