tccli 3.0.1005.1__py2.py3-none-any.whl → 3.0.1006.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
 - tccli/examples/cdb/v20170320/CloseAuditService.md +20 -0
 - tccli/examples/cdb/v20170320/CreateAuditRuleTemplate.md +31 -0
 - tccli/examples/cdb/v20170320/DeleteAuditRuleTemplates.md +20 -0
 - tccli/examples/cdb/v20170320/DeleteDatabase.md +21 -0
 - tccli/examples/cdb/v20170320/DescribeAuditInstanceList.md +51 -0
 - tccli/examples/cdb/v20170320/DescribeAuditRuleTemplateModifyHistory.md +70 -0
 - tccli/examples/cdb/v20170320/DescribeAuditRuleTemplates.md +61 -0
 - tccli/examples/cdb/v20170320/ModifyAuditRuleTemplates.md +21 -0
 - tccli/examples/cdb/v20170320/ModifyAuditService.md +23 -0
 - tccli/examples/cfg/v20210820/DescribeTaskPolicyTriggerLog.md +38 -0
 - tccli/examples/cfg/v20210820/TriggerPolicy.md +25 -0
 - tccli/examples/config/v20220802/ListAggregateConfigRules.md +79 -0
 - tccli/examples/config/v20220802/ListConfigRules.md +138 -0
 - tccli/examples/tdmq/v20200217/CreateProCluster.md +3 -3
 - tccli/examples/teo/v20220901/DescribeOverviewL7Data.md +4 -2
 - tccli/examples/teo/v20220901/DescribePrefetchTasks.md +2 -1
 - tccli/examples/teo/v20220901/DescribePurgeTasks.md +2 -1
 - tccli/examples/teo/v20220901/DescribeTimingL4Data.md +4 -1
 - tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md +6 -3
 - tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md +6 -3
 - tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md +6 -3
 - tccli/examples/teo/v20220901/DescribeTopL7CacheData.md +8 -4
 - tccli/examples/teo/v20220901/DownloadL4Logs.md +2 -1
 - tccli/examples/teo/v20220901/DownloadL7Logs.md +2 -1
 - tccli/examples/tke/v20180525/DescribeIPAMD.md +6 -3
 - tccli/examples/tse/v20201207/CloseWafProtection.md +21 -0
 - tccli/examples/tse/v20201207/CreateWafDomains.md +21 -0
 - tccli/examples/tse/v20201207/OpenWafProtection.md +21 -0
 - tccli/examples/vod/v20180717/DescribeTaskDetail.md +4 -0
 - tccli/examples/vrs/v20200824/GetVRSVoiceTypes.md +4 -2
 - tccli/services/__init__.py +3 -0
 - tccli/services/cdb/cdb_client.py +497 -20
 - tccli/services/cdb/v20170320/api.json +1174 -51
 - tccli/services/cdb/v20170320/examples.json +72 -0
 - tccli/services/cfg/cfg_client.py +106 -0
 - tccli/services/cfg/v20210820/api.json +199 -0
 - tccli/services/cfg/v20210820/examples.json +16 -0
 - tccli/services/config/__init__.py +4 -0
 - tccli/services/config/config_client.py +247 -0
 - tccli/services/config/v20220802/api.json +767 -0
 - tccli/services/config/v20220802/examples.json +21 -0
 - tccli/services/hai/v20230812/api.json +11 -0
 - tccli/services/tdmq/v20200217/api.json +50 -30
 - tccli/services/tdmq/v20200217/examples.json +2 -2
 - tccli/services/teo/v20220901/api.json +51 -40
 - tccli/services/teo/v20220901/examples.json +24 -24
 - tccli/services/tke/v20180525/api.json +18 -8
 - tccli/services/tke/v20180525/examples.json +2 -2
 - tccli/services/tse/tse_client.py +159 -0
 - tccli/services/tse/v20201207/api.json +147 -0
 - tccli/services/tse/v20201207/examples.json +24 -0
 - tccli/services/vod/v20180717/api.json +278 -24
 - tccli/services/vod/v20180717/examples.json +4 -4
 - tccli/services/vrs/v20200824/examples.json +1 -1
 - tccli/services/waf/v20180125/api.json +3 -3
 - {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/METADATA +2 -2
 - {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/RECORD +61 -41
 - {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/WHEEL +0 -0
 - {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/entry_points.txt +0 -0
 - {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/license_files/LICENSE +0 -0
 
    
        tccli/__init__.py
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            __version__ = '3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            __version__ = '3.0.1006.1'
         
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 关闭审计**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            无
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb CloseAuditService --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --InstanceId cdb-6990cckk
         
     | 
| 
      
 10 
     | 
    
         
            +
            ```
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 13 
     | 
    
         
            +
            ```
         
     | 
| 
      
 14 
     | 
    
         
            +
            {
         
     | 
| 
      
 15 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 16 
     | 
    
         
            +
                    "RequestId": "43-12121-812w1221213-62usf9093"
         
     | 
| 
      
 17 
     | 
    
         
            +
                }
         
     | 
| 
      
 18 
     | 
    
         
            +
            }
         
     | 
| 
      
 19 
     | 
    
         
            +
            ```
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,31 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 创建审计规则模板**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            无
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb CreateAuditRuleTemplate --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --RuleFilters.0.Type host \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --RuleFilters.0.Compare EQS \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --RuleFilters.0.Value 100.122.76.176 10.0.0.9 \
         
     | 
| 
      
 12 
     | 
    
         
            +
                --RuleFilters.1.Type user \
         
     | 
| 
      
 13 
     | 
    
         
            +
                --RuleFilters.1.Compare EQS \
         
     | 
| 
      
 14 
     | 
    
         
            +
                --RuleFilters.1.Value wy test \
         
     | 
| 
      
 15 
     | 
    
         
            +
                --RuleFilters.2.Type sqlType \
         
     | 
| 
      
 16 
     | 
    
         
            +
                --RuleFilters.2.Compare EQS \
         
     | 
| 
      
 17 
     | 
    
         
            +
                --RuleFilters.2.Value Update Delete \
         
     | 
| 
      
 18 
     | 
    
         
            +
                --RuleTemplateName test \
         
     | 
| 
      
 19 
     | 
    
         
            +
                --Description 用于测试的规则模板
         
     | 
| 
      
 20 
     | 
    
         
            +
            ```
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 23 
     | 
    
         
            +
            ```
         
     | 
| 
      
 24 
     | 
    
         
            +
            {
         
     | 
| 
      
 25 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 26 
     | 
    
         
            +
                    "RuleTemplateId": "cdb-rt-ws23fwu8",
         
     | 
| 
      
 27 
     | 
    
         
            +
                    "RequestId": "43-12121-812w1221213-62usf9093"
         
     | 
| 
      
 28 
     | 
    
         
            +
                }
         
     | 
| 
      
 29 
     | 
    
         
            +
            }
         
     | 
| 
      
 30 
     | 
    
         
            +
            ```
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 删除审计规则模版**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            无
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb DeleteAuditRuleTemplates --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --RuleTemplateIds cdb-rt-ws23fwu8
         
     | 
| 
      
 10 
     | 
    
         
            +
            ```
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 13 
     | 
    
         
            +
            ```
         
     | 
| 
      
 14 
     | 
    
         
            +
            {
         
     | 
| 
      
 15 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 16 
     | 
    
         
            +
                    "RequestId": "43-12121-812w1221213-62usf9093"
         
     | 
| 
      
 17 
     | 
    
         
            +
                }
         
     | 
| 
      
 18 
     | 
    
         
            +
            }
         
     | 
| 
      
 19 
     | 
    
         
            +
            ```
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 删除数据库**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            删除数据库
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb DeleteDatabase --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --InstanceId cdb-ebefaxxx \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --DBName db_test1
         
     | 
| 
      
 11 
     | 
    
         
            +
            ```
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 14 
     | 
    
         
            +
            ```
         
     | 
| 
      
 15 
     | 
    
         
            +
            {
         
     | 
| 
      
 16 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 17 
     | 
    
         
            +
                    "RequestId": "8805d3d5-dca4-4be2-9625-fc900f1ca326"
         
     | 
| 
      
 18 
     | 
    
         
            +
                }
         
     | 
| 
      
 19 
     | 
    
         
            +
            }
         
     | 
| 
      
 20 
     | 
    
         
            +
            ```
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,51 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 获取审计实例列表**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            无
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb DescribeAuditInstanceList --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --AuditMode 0 \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --Limit 1 \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --Filters.0.Values cdb-euu5fkcj \
         
     | 
| 
      
 12 
     | 
    
         
            +
                --Filters.0.Name InstanceId \
         
     | 
| 
      
 13 
     | 
    
         
            +
                --Filters.0.ExactMatch True \
         
     | 
| 
      
 14 
     | 
    
         
            +
                --AuditSwitch 0 \
         
     | 
| 
      
 15 
     | 
    
         
            +
                --Offset 1
         
     | 
| 
      
 16 
     | 
    
         
            +
            ```
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 19 
     | 
    
         
            +
            ```
         
     | 
| 
      
 20 
     | 
    
         
            +
            {
         
     | 
| 
      
 21 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 22 
     | 
    
         
            +
                    "TotalCount": 1,
         
     | 
| 
      
 23 
     | 
    
         
            +
                    "RequestId": "43-12121-812w1221213-62usf9093",
         
     | 
| 
      
 24 
     | 
    
         
            +
                    "Items": [
         
     | 
| 
      
 25 
     | 
    
         
            +
                        {
         
     | 
| 
      
 26 
     | 
    
         
            +
                            "BillingAmount": 0,
         
     | 
| 
      
 27 
     | 
    
         
            +
                            "LowRealStorage": 0,
         
     | 
| 
      
 28 
     | 
    
         
            +
                            "InstanceId": "cdb-euu5fkcj",
         
     | 
| 
      
 29 
     | 
    
         
            +
                            "AuditTask": 1,
         
     | 
| 
      
 30 
     | 
    
         
            +
                            "CreateAt": "2022-03-02 10:09:08",
         
     | 
| 
      
 31 
     | 
    
         
            +
                            "AuditStatus": "1",
         
     | 
| 
      
 32 
     | 
    
         
            +
                            "LogExpireDay": 1,
         
     | 
| 
      
 33 
     | 
    
         
            +
                            "AuditAll": true,
         
     | 
| 
      
 34 
     | 
    
         
            +
                            "InstanceInfo": {
         
     | 
| 
      
 35 
     | 
    
         
            +
                                "ProjectId": 0,
         
     | 
| 
      
 36 
     | 
    
         
            +
                                "TagList": [
         
     | 
| 
      
 37 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 38 
     | 
    
         
            +
                                        "TagKey": "test",
         
     | 
| 
      
 39 
     | 
    
         
            +
                                        "TagValue": "1"
         
     | 
| 
      
 40 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 41 
     | 
    
         
            +
                                ]
         
     | 
| 
      
 42 
     | 
    
         
            +
                            },
         
     | 
| 
      
 43 
     | 
    
         
            +
                            "HighRealStorage": 0,
         
     | 
| 
      
 44 
     | 
    
         
            +
                            "HighLogExpireDay": 30,
         
     | 
| 
      
 45 
     | 
    
         
            +
                            "LowLogExpireDay": 7
         
     | 
| 
      
 46 
     | 
    
         
            +
                        }
         
     | 
| 
      
 47 
     | 
    
         
            +
                    ]
         
     | 
| 
      
 48 
     | 
    
         
            +
                }
         
     | 
| 
      
 49 
     | 
    
         
            +
            }
         
     | 
| 
      
 50 
     | 
    
         
            +
            ```
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,70 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 正确返回**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb DescribeAuditRuleTemplateModifyHistory --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --RuleTemplateIds cdb-art-8qx2kcr7 \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --StartTime 2023-07-26 00:00:00 \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --EndTime 2023-07-27 00:00:00 \
         
     | 
| 
      
 12 
     | 
    
         
            +
                --Limit 10 \
         
     | 
| 
      
 13 
     | 
    
         
            +
                --Offset 0 \
         
     | 
| 
      
 14 
     | 
    
         
            +
                --Order DESC
         
     | 
| 
      
 15 
     | 
    
         
            +
            ```
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 18 
     | 
    
         
            +
            ```
         
     | 
| 
      
 19 
     | 
    
         
            +
            {
         
     | 
| 
      
 20 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 21 
     | 
    
         
            +
                    "TotalCount": 1,
         
     | 
| 
      
 22 
     | 
    
         
            +
                    "Items": [
         
     | 
| 
      
 23 
     | 
    
         
            +
                        {
         
     | 
| 
      
 24 
     | 
    
         
            +
                            "TaskId": 1997098,
         
     | 
| 
      
 25 
     | 
    
         
            +
                            "ModifyBeforeInfo": {
         
     | 
| 
      
 26 
     | 
    
         
            +
                                "RuleTemplateId": "cdb-art-8qx2kcr7",
         
     | 
| 
      
 27 
     | 
    
         
            +
                                "RuleTemplateName": "wy_test",
         
     | 
| 
      
 28 
     | 
    
         
            +
                                "RuleFilters": [
         
     | 
| 
      
 29 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 30 
     | 
    
         
            +
                                        "Type": "sqlType",
         
     | 
| 
      
 31 
     | 
    
         
            +
                                        "Compare": "EQS",
         
     | 
| 
      
 32 
     | 
    
         
            +
                                        "Value": [
         
     | 
| 
      
 33 
     | 
    
         
            +
                                            "DROP"
         
     | 
| 
      
 34 
     | 
    
         
            +
                                        ]
         
     | 
| 
      
 35 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 36 
     | 
    
         
            +
                                ],
         
     | 
| 
      
 37 
     | 
    
         
            +
                                "AlarmLevel": 1,
         
     | 
| 
      
 38 
     | 
    
         
            +
                                "AlarmPolicy": 0,
         
     | 
| 
      
 39 
     | 
    
         
            +
                                "Description": ""
         
     | 
| 
      
 40 
     | 
    
         
            +
                            },
         
     | 
| 
      
 41 
     | 
    
         
            +
                            "ModifyAfterInfo": {
         
     | 
| 
      
 42 
     | 
    
         
            +
                                "RuleTemplateId": "cdb-art-8qx2kcr7",
         
     | 
| 
      
 43 
     | 
    
         
            +
                                "RuleTemplateName": "wy_test",
         
     | 
| 
      
 44 
     | 
    
         
            +
                                "RuleFilters": [
         
     | 
| 
      
 45 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 46 
     | 
    
         
            +
                                        "Type": "sqlType",
         
     | 
| 
      
 47 
     | 
    
         
            +
                                        "Compare": "EQS",
         
     | 
| 
      
 48 
     | 
    
         
            +
                                        "Value": [
         
     | 
| 
      
 49 
     | 
    
         
            +
                                            "DROP",
         
     | 
| 
      
 50 
     | 
    
         
            +
                                            "DELETE"
         
     | 
| 
      
 51 
     | 
    
         
            +
                                        ]
         
     | 
| 
      
 52 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 53 
     | 
    
         
            +
                                ],
         
     | 
| 
      
 54 
     | 
    
         
            +
                                "AlarmLevel": 2,
         
     | 
| 
      
 55 
     | 
    
         
            +
                                "AlarmPolicy": 0,
         
     | 
| 
      
 56 
     | 
    
         
            +
                                "Description": ""
         
     | 
| 
      
 57 
     | 
    
         
            +
                            },
         
     | 
| 
      
 58 
     | 
    
         
            +
                            "AffectedInstances": [
         
     | 
| 
      
 59 
     | 
    
         
            +
                                "cdb-nzg4gv35",
         
     | 
| 
      
 60 
     | 
    
         
            +
                                "cdb-12y4cjjd"
         
     | 
| 
      
 61 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 62 
     | 
    
         
            +
                            "Operator": "700000579947",
         
     | 
| 
      
 63 
     | 
    
         
            +
                            "UpdateTime": "2023-07-26 00:09:00"
         
     | 
| 
      
 64 
     | 
    
         
            +
                        }
         
     | 
| 
      
 65 
     | 
    
         
            +
                    ],
         
     | 
| 
      
 66 
     | 
    
         
            +
                    "RequestId": "186905b7-756c-4aae-a403-a40568aa5952"
         
     | 
| 
      
 67 
     | 
    
         
            +
                }
         
     | 
| 
      
 68 
     | 
    
         
            +
            }
         
     | 
| 
      
 69 
     | 
    
         
            +
            ```
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,61 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 查询审计规则模板信息**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            无
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb DescribeAuditRuleTemplates --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --RuleTemplateNames template_test \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --Limit 10 \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --Offset 0
         
     | 
| 
      
 12 
     | 
    
         
            +
            ```
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 15 
     | 
    
         
            +
            ```
         
     | 
| 
      
 16 
     | 
    
         
            +
            {
         
     | 
| 
      
 17 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 18 
     | 
    
         
            +
                    "Items": [
         
     | 
| 
      
 19 
     | 
    
         
            +
                        {
         
     | 
| 
      
 20 
     | 
    
         
            +
                            "CreateAt": "2022-12-06 00:54:01",
         
     | 
| 
      
 21 
     | 
    
         
            +
                            "Description": "all_template_des",
         
     | 
| 
      
 22 
     | 
    
         
            +
                            "RuleFilters": [
         
     | 
| 
      
 23 
     | 
    
         
            +
                                {
         
     | 
| 
      
 24 
     | 
    
         
            +
                                    "Compare": "INC",
         
     | 
| 
      
 25 
     | 
    
         
            +
                                    "Type": "sqlType",
         
     | 
| 
      
 26 
     | 
    
         
            +
                                    "Value": [
         
     | 
| 
      
 27 
     | 
    
         
            +
                                        "ALTER"
         
     | 
| 
      
 28 
     | 
    
         
            +
                                    ]
         
     | 
| 
      
 29 
     | 
    
         
            +
                                },
         
     | 
| 
      
 30 
     | 
    
         
            +
                                {
         
     | 
| 
      
 31 
     | 
    
         
            +
                                    "Compare": "EQS",
         
     | 
| 
      
 32 
     | 
    
         
            +
                                    "Type": "host",
         
     | 
| 
      
 33 
     | 
    
         
            +
                                    "Value": [
         
     | 
| 
      
 34 
     | 
    
         
            +
                                        "10.0.0.2"
         
     | 
| 
      
 35 
     | 
    
         
            +
                                    ]
         
     | 
| 
      
 36 
     | 
    
         
            +
                                },
         
     | 
| 
      
 37 
     | 
    
         
            +
                                {
         
     | 
| 
      
 38 
     | 
    
         
            +
                                    "Compare": "NEQ",
         
     | 
| 
      
 39 
     | 
    
         
            +
                                    "Type": "user",
         
     | 
| 
      
 40 
     | 
    
         
            +
                                    "Value": [
         
     | 
| 
      
 41 
     | 
    
         
            +
                                        "test"
         
     | 
| 
      
 42 
     | 
    
         
            +
                                    ]
         
     | 
| 
      
 43 
     | 
    
         
            +
                                },
         
     | 
| 
      
 44 
     | 
    
         
            +
                                {
         
     | 
| 
      
 45 
     | 
    
         
            +
                                    "Compare": "INC",
         
     | 
| 
      
 46 
     | 
    
         
            +
                                    "Type": "dbName",
         
     | 
| 
      
 47 
     | 
    
         
            +
                                    "Value": [
         
     | 
| 
      
 48 
     | 
    
         
            +
                                        "test"
         
     | 
| 
      
 49 
     | 
    
         
            +
                                    ]
         
     | 
| 
      
 50 
     | 
    
         
            +
                                }
         
     | 
| 
      
 51 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 52 
     | 
    
         
            +
                            "RuleTemplateId": "cdb-art-lcpm4as3",
         
     | 
| 
      
 53 
     | 
    
         
            +
                            "RuleTemplateName": "template_test"
         
     | 
| 
      
 54 
     | 
    
         
            +
                        }
         
     | 
| 
      
 55 
     | 
    
         
            +
                    ],
         
     | 
| 
      
 56 
     | 
    
         
            +
                    "RequestId": "a19ebcfb-8b35-40f4-85ee-383109c9134b",
         
     | 
| 
      
 57 
     | 
    
         
            +
                    "TotalCount": 1
         
     | 
| 
      
 58 
     | 
    
         
            +
                }
         
     | 
| 
      
 59 
     | 
    
         
            +
            }
         
     | 
| 
      
 60 
     | 
    
         
            +
            ```
         
     | 
| 
      
 61 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 修改审计规则模板**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            无
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb ModifyAuditRuleTemplates --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --RuleTemplateIds cdb-rt-ws23fwu8 \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --RuleTemplateName test
         
     | 
| 
      
 11 
     | 
    
         
            +
            ```
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 14 
     | 
    
         
            +
            ```
         
     | 
| 
      
 15 
     | 
    
         
            +
            {
         
     | 
| 
      
 16 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 17 
     | 
    
         
            +
                    "RequestId": "43-12121-812w1221213-62usf9093"
         
     | 
| 
      
 18 
     | 
    
         
            +
                }
         
     | 
| 
      
 19 
     | 
    
         
            +
            }
         
     | 
| 
      
 20 
     | 
    
         
            +
            ```
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,23 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 修改审计服务**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            无
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cdb ModifyAuditService --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --InstanceId cdb-6990cckk \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --LogExpireDay 30 \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --HighLogExpireDay 7 \
         
     | 
| 
      
 12 
     | 
    
         
            +
                --AuditAll True
         
     | 
| 
      
 13 
     | 
    
         
            +
            ```
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 16 
     | 
    
         
            +
            ```
         
     | 
| 
      
 17 
     | 
    
         
            +
            {
         
     | 
| 
      
 18 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 19 
     | 
    
         
            +
                    "RequestId": "43-12121-812w1221213-62usf9093"
         
     | 
| 
      
 20 
     | 
    
         
            +
                }
         
     | 
| 
      
 21 
     | 
    
         
            +
            }
         
     | 
| 
      
 22 
     | 
    
         
            +
            ```
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,38 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 1**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            1
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cfg DescribeTaskPolicyTriggerLog --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --TaskId 5491 \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --Page 1 \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --PageSize 11
         
     | 
| 
      
 12 
     | 
    
         
            +
            ```
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 15 
     | 
    
         
            +
            ```
         
     | 
| 
      
 16 
     | 
    
         
            +
            {
         
     | 
| 
      
 17 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 18 
     | 
    
         
            +
                    "RequestId": "1bba6839-682a-4123-9728-ec3fc141235b",
         
     | 
| 
      
 19 
     | 
    
         
            +
                    "TriggerLogs": [
         
     | 
| 
      
 20 
     | 
    
         
            +
                        {
         
     | 
| 
      
 21 
     | 
    
         
            +
                            "Content": "触发护栏测试内容-恢复i",
         
     | 
| 
      
 22 
     | 
    
         
            +
                            "CreatTime": "2023-11-14 12:51:33",
         
     | 
| 
      
 23 
     | 
    
         
            +
                            "Name": "触发护栏测试-恢复",
         
     | 
| 
      
 24 
     | 
    
         
            +
                            "TaskId": 5491,
         
     | 
| 
      
 25 
     | 
    
         
            +
                            "TriggerType": 1
         
     | 
| 
      
 26 
     | 
    
         
            +
                        },
         
     | 
| 
      
 27 
     | 
    
         
            +
                        {
         
     | 
| 
      
 28 
     | 
    
         
            +
                            "Content": "触发护栏测试内容",
         
     | 
| 
      
 29 
     | 
    
         
            +
                            "CreatTime": "2023-11-14 12:37:20",
         
     | 
| 
      
 30 
     | 
    
         
            +
                            "Name": "触发护栏测试",
         
     | 
| 
      
 31 
     | 
    
         
            +
                            "TaskId": 5491,
         
     | 
| 
      
 32 
     | 
    
         
            +
                            "TriggerType": 0
         
     | 
| 
      
 33 
     | 
    
         
            +
                        }
         
     | 
| 
      
 34 
     | 
    
         
            +
                    ]
         
     | 
| 
      
 35 
     | 
    
         
            +
                }
         
     | 
| 
      
 36 
     | 
    
         
            +
            }
         
     | 
| 
      
 37 
     | 
    
         
            +
            ```
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,25 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 1**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            1
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli cfg TriggerPolicy --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --TaskId 5491 \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --Name 触发护栏测试 \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --Content 触发护栏测试内容 \
         
     | 
| 
      
 12 
     | 
    
         
            +
                --TriggerType 0
         
     | 
| 
      
 13 
     | 
    
         
            +
            ```
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 16 
     | 
    
         
            +
            ```
         
     | 
| 
      
 17 
     | 
    
         
            +
            {
         
     | 
| 
      
 18 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 19 
     | 
    
         
            +
                    "RequestId": "1050e4e3-ef1a-4e2f-b100-c68dfd38fc75",
         
     | 
| 
      
 20 
     | 
    
         
            +
                    "Success": true,
         
     | 
| 
      
 21 
     | 
    
         
            +
                    "TaskId": 5491
         
     | 
| 
      
 22 
     | 
    
         
            +
                }
         
     | 
| 
      
 23 
     | 
    
         
            +
            }
         
     | 
| 
      
 24 
     | 
    
         
            +
            ```
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,79 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 账号组获取规则列表**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            账号组获取规则列表
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli config ListAggregateConfigRules --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --Offset 0 \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --Limit 10 \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --OrderType  \
         
     | 
| 
      
 12 
     | 
    
         
            +
                --State ACTIVE \
         
     | 
| 
      
 13 
     | 
    
         
            +
                --ComplianceResult abc \
         
     | 
| 
      
 14 
     | 
    
         
            +
                --RuleName  \
         
     | 
| 
      
 15 
     | 
    
         
            +
                --RuleOwnerId 1 \
         
     | 
| 
      
 16 
     | 
    
         
            +
                --AccountGroupId ca-sdfs7734h24h3
         
     | 
| 
      
 17 
     | 
    
         
            +
            ```
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 20 
     | 
    
         
            +
            ```
         
     | 
| 
      
 21 
     | 
    
         
            +
            {
         
     | 
| 
      
 22 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 23 
     | 
    
         
            +
                    "RequestId": "149e116a-90ef-45f3-9d5d-3d77fd1c9eb3",
         
     | 
| 
      
 24 
     | 
    
         
            +
                    "Items": [
         
     | 
| 
      
 25 
     | 
    
         
            +
                        {
         
     | 
| 
      
 26 
     | 
    
         
            +
                            "RegionsScope": [
         
     | 
| 
      
 27 
     | 
    
         
            +
                                "ap-shanghai"
         
     | 
| 
      
 28 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 29 
     | 
    
         
            +
                            "TagsScope": [
         
     | 
| 
      
 30 
     | 
    
         
            +
                                {
         
     | 
| 
      
 31 
     | 
    
         
            +
                                    "TagKey": "tag1",
         
     | 
| 
      
 32 
     | 
    
         
            +
                                    "TagValue": "tag2"
         
     | 
| 
      
 33 
     | 
    
         
            +
                                }
         
     | 
| 
      
 34 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 35 
     | 
    
         
            +
                            "ExcludeResourceIdsScope": [
         
     | 
| 
      
 36 
     | 
    
         
            +
                                "ins-asdasd"
         
     | 
| 
      
 37 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 38 
     | 
    
         
            +
                            "Annotation": null,
         
     | 
| 
      
 39 
     | 
    
         
            +
                            "CompliancePackId": "cp-xzfz0vu007feuhwi8auv",
         
     | 
| 
      
 40 
     | 
    
         
            +
                            "CompliancePackName": "合规1",
         
     | 
| 
      
 41 
     | 
    
         
            +
                            "ComplianceResult": "NON_COMPLIANT",
         
     | 
| 
      
 42 
     | 
    
         
            +
                            "ConfigRuleId": "cr-13vkg9c31dixgabkepxe",
         
     | 
| 
      
 43 
     | 
    
         
            +
                            "ConfigRuleInvokedTime": null,
         
     | 
| 
      
 44 
     | 
    
         
            +
                            "CreateTime": "2022-11-16 14:25:01",
         
     | 
| 
      
 45 
     | 
    
         
            +
                            "Description": "帐号访问管理中用户至少关联一个用户组,则符合规则。",
         
     | 
| 
      
 46 
     | 
    
         
            +
                            "Identifier": "cam-user-group-bound",
         
     | 
| 
      
 47 
     | 
    
         
            +
                            "IdentifierType": "SYSTEM",
         
     | 
| 
      
 48 
     | 
    
         
            +
                            "InputParameter": [],
         
     | 
| 
      
 49 
     | 
    
         
            +
                            "Labels": [],
         
     | 
| 
      
 50 
     | 
    
         
            +
                            "ManageInputParameter": [],
         
     | 
| 
      
 51 
     | 
    
         
            +
                            "ResourceType": [
         
     | 
| 
      
 52 
     | 
    
         
            +
                                "QCS::CAM::User"
         
     | 
| 
      
 53 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 54 
     | 
    
         
            +
                            "RiskLevel": 3,
         
     | 
| 
      
 55 
     | 
    
         
            +
                            "RuleName": "CAM访问管理子用户必须关联用户组",
         
     | 
| 
      
 56 
     | 
    
         
            +
                            "ServiceFunction": null,
         
     | 
| 
      
 57 
     | 
    
         
            +
                            "SourceCondition": [
         
     | 
| 
      
 58 
     | 
    
         
            +
                                {
         
     | 
| 
      
 59 
     | 
    
         
            +
                                    "DesiredValue": "1",
         
     | 
| 
      
 60 
     | 
    
         
            +
                                    "EmptyAs": "COMPLIANT",
         
     | 
| 
      
 61 
     | 
    
         
            +
                                    "Operator": "GreaterOrEquals",
         
     | 
| 
      
 62 
     | 
    
         
            +
                                    "Required": false,
         
     | 
| 
      
 63 
     | 
    
         
            +
                                    "SelectPath": "$User.GroupBindNum"
         
     | 
| 
      
 64 
     | 
    
         
            +
                                }
         
     | 
| 
      
 65 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 66 
     | 
    
         
            +
                            "Status": "ACTIVE",
         
     | 
| 
      
 67 
     | 
    
         
            +
                            "TriggerType": [
         
     | 
| 
      
 68 
     | 
    
         
            +
                                {
         
     | 
| 
      
 69 
     | 
    
         
            +
                                    "MaximumExecutionFrequency": "TwentyFour_Hours",
         
     | 
| 
      
 70 
     | 
    
         
            +
                                    "MessageType": "ScheduledNotification"
         
     | 
| 
      
 71 
     | 
    
         
            +
                                }
         
     | 
| 
      
 72 
     | 
    
         
            +
                            ]
         
     | 
| 
      
 73 
     | 
    
         
            +
                        }
         
     | 
| 
      
 74 
     | 
    
         
            +
                    ],
         
     | 
| 
      
 75 
     | 
    
         
            +
                    "Total": 1
         
     | 
| 
      
 76 
     | 
    
         
            +
                }
         
     | 
| 
      
 77 
     | 
    
         
            +
            }
         
     | 
| 
      
 78 
     | 
    
         
            +
            ```
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,138 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            **Example 1: 获取规则列表**
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Input: 
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ```
         
     | 
| 
      
 8 
     | 
    
         
            +
            tccli config ListConfigRules --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --Offset 0 \
         
     | 
| 
      
 10 
     | 
    
         
            +
                --Limit 10 \
         
     | 
| 
      
 11 
     | 
    
         
            +
                --OrderType  \
         
     | 
| 
      
 12 
     | 
    
         
            +
                --State ACTIVE \
         
     | 
| 
      
 13 
     | 
    
         
            +
                --RuleName 
         
     | 
| 
      
 14 
     | 
    
         
            +
            ```
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            Output: 
         
     | 
| 
      
 17 
     | 
    
         
            +
            ```
         
     | 
| 
      
 18 
     | 
    
         
            +
            {
         
     | 
| 
      
 19 
     | 
    
         
            +
                "Response": {
         
     | 
| 
      
 20 
     | 
    
         
            +
                    "RequestId": "149e116a-90ef-45f3-9d5d-3d77fd1c9eb3",
         
     | 
| 
      
 21 
     | 
    
         
            +
                    "Items": [
         
     | 
| 
      
 22 
     | 
    
         
            +
                        {
         
     | 
| 
      
 23 
     | 
    
         
            +
                            "Annotation": null,
         
     | 
| 
      
 24 
     | 
    
         
            +
                            "CompliancePackId": "cp-xzfz0vu007feuhwi8auv",
         
     | 
| 
      
 25 
     | 
    
         
            +
                            "CompliancePackName": "合规1",
         
     | 
| 
      
 26 
     | 
    
         
            +
                            "ComplianceResult": "NON_COMPLIANT",
         
     | 
| 
      
 27 
     | 
    
         
            +
                            "ConfigRuleId": "cr-13vkg9c31dixgabkepxe",
         
     | 
| 
      
 28 
     | 
    
         
            +
                            "ConfigRuleInvokedTime": null,
         
     | 
| 
      
 29 
     | 
    
         
            +
                            "CreateTime": "2022-11-16 14:25:01",
         
     | 
| 
      
 30 
     | 
    
         
            +
                            "Description": "帐号访问管理中用户至少关联一个用户组,则符合规则。",
         
     | 
| 
      
 31 
     | 
    
         
            +
                            "Identifier": "cam-user-group-bound",
         
     | 
| 
      
 32 
     | 
    
         
            +
                            "IdentifierType": "SYSTEM",
         
     | 
| 
      
 33 
     | 
    
         
            +
                            "InputParameter": [],
         
     | 
| 
      
 34 
     | 
    
         
            +
                            "Labels": [],
         
     | 
| 
      
 35 
     | 
    
         
            +
                            "ManageInputParameter": [],
         
     | 
| 
      
 36 
     | 
    
         
            +
                            "ResourceType": [
         
     | 
| 
      
 37 
     | 
    
         
            +
                                "QCS::CAM::User"
         
     | 
| 
      
 38 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 39 
     | 
    
         
            +
                            "RiskLevel": 3,
         
     | 
| 
      
 40 
     | 
    
         
            +
                            "RuleName": "CAM访问管理子用户必须关联用户组",
         
     | 
| 
      
 41 
     | 
    
         
            +
                            "ServiceFunction": null,
         
     | 
| 
      
 42 
     | 
    
         
            +
                            "SourceCondition": [
         
     | 
| 
      
 43 
     | 
    
         
            +
                                {
         
     | 
| 
      
 44 
     | 
    
         
            +
                                    "DesiredValue": "1",
         
     | 
| 
      
 45 
     | 
    
         
            +
                                    "EmptyAs": "COMPLIANT",
         
     | 
| 
      
 46 
     | 
    
         
            +
                                    "Operator": "GreaterOrEquals",
         
     | 
| 
      
 47 
     | 
    
         
            +
                                    "Required": false,
         
     | 
| 
      
 48 
     | 
    
         
            +
                                    "SelectPath": "$User.GroupBindNum"
         
     | 
| 
      
 49 
     | 
    
         
            +
                                }
         
     | 
| 
      
 50 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 51 
     | 
    
         
            +
                            "Status": "ACTIVE",
         
     | 
| 
      
 52 
     | 
    
         
            +
                            "TriggerType": [
         
     | 
| 
      
 53 
     | 
    
         
            +
                                {
         
     | 
| 
      
 54 
     | 
    
         
            +
                                    "MaximumExecutionFrequency": "TwentyFour_Hours",
         
     | 
| 
      
 55 
     | 
    
         
            +
                                    "MessageType": "ScheduledNotification"
         
     | 
| 
      
 56 
     | 
    
         
            +
                                }
         
     | 
| 
      
 57 
     | 
    
         
            +
                            ]
         
     | 
| 
      
 58 
     | 
    
         
            +
                        },
         
     | 
| 
      
 59 
     | 
    
         
            +
                        {
         
     | 
| 
      
 60 
     | 
    
         
            +
                            "Annotation": null,
         
     | 
| 
      
 61 
     | 
    
         
            +
                            "CompliancePackId": "",
         
     | 
| 
      
 62 
     | 
    
         
            +
                            "CompliancePackName": null,
         
     | 
| 
      
 63 
     | 
    
         
            +
                            "ComplianceResult": "NON_COMPLIANT",
         
     | 
| 
      
 64 
     | 
    
         
            +
                            "ConfigRuleId": "cr-bdunf5kx3aywn0ac5bkk",
         
     | 
| 
      
 65 
     | 
    
         
            +
                            "ConfigRuleInvokedTime": null,
         
     | 
| 
      
 66 
     | 
    
         
            +
                            "CreateTime": "2022-11-16 14:22:59",
         
     | 
| 
      
 67 
     | 
    
         
            +
                            "Description": "帐号访问管理中用户至少关联一个用户组,则符合规则。",
         
     | 
| 
      
 68 
     | 
    
         
            +
                            "Identifier": "cam-user-group-bound",
         
     | 
| 
      
 69 
     | 
    
         
            +
                            "IdentifierType": "SYSTEM",
         
     | 
| 
      
 70 
     | 
    
         
            +
                            "InputParameter": [],
         
     | 
| 
      
 71 
     | 
    
         
            +
                            "Labels": [],
         
     | 
| 
      
 72 
     | 
    
         
            +
                            "ManageInputParameter": [],
         
     | 
| 
      
 73 
     | 
    
         
            +
                            "ResourceType": [
         
     | 
| 
      
 74 
     | 
    
         
            +
                                "QCS::CAM::User"
         
     | 
| 
      
 75 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 76 
     | 
    
         
            +
                            "RiskLevel": 3,
         
     | 
| 
      
 77 
     | 
    
         
            +
                            "RuleName": "CAM访问管理子用户必须关联用户组",
         
     | 
| 
      
 78 
     | 
    
         
            +
                            "ServiceFunction": null,
         
     | 
| 
      
 79 
     | 
    
         
            +
                            "SourceCondition": [
         
     | 
| 
      
 80 
     | 
    
         
            +
                                {
         
     | 
| 
      
 81 
     | 
    
         
            +
                                    "DesiredValue": "1",
         
     | 
| 
      
 82 
     | 
    
         
            +
                                    "EmptyAs": "COMPLIANT",
         
     | 
| 
      
 83 
     | 
    
         
            +
                                    "Operator": "GreaterOrEquals",
         
     | 
| 
      
 84 
     | 
    
         
            +
                                    "Required": false,
         
     | 
| 
      
 85 
     | 
    
         
            +
                                    "SelectPath": "$User.GroupBindNum"
         
     | 
| 
      
 86 
     | 
    
         
            +
                                }
         
     | 
| 
      
 87 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 88 
     | 
    
         
            +
                            "Status": "ACTIVE",
         
     | 
| 
      
 89 
     | 
    
         
            +
                            "TriggerType": [
         
     | 
| 
      
 90 
     | 
    
         
            +
                                {
         
     | 
| 
      
 91 
     | 
    
         
            +
                                    "MaximumExecutionFrequency": "TwentyFour_Hours",
         
     | 
| 
      
 92 
     | 
    
         
            +
                                    "MessageType": "ScheduledNotification"
         
     | 
| 
      
 93 
     | 
    
         
            +
                                }
         
     | 
| 
      
 94 
     | 
    
         
            +
                            ]
         
     | 
| 
      
 95 
     | 
    
         
            +
                        },
         
     | 
| 
      
 96 
     | 
    
         
            +
                        {
         
     | 
| 
      
 97 
     | 
    
         
            +
                            "Annotation": null,
         
     | 
| 
      
 98 
     | 
    
         
            +
                            "CompliancePackId": "",
         
     | 
| 
      
 99 
     | 
    
         
            +
                            "CompliancePackName": null,
         
     | 
| 
      
 100 
     | 
    
         
            +
                            "ComplianceResult": "NON_COMPLIANT",
         
     | 
| 
      
 101 
     | 
    
         
            +
                            "ConfigRuleId": "cr-2d3brhnvyazqb9j1el6o",
         
     | 
| 
      
 102 
     | 
    
         
            +
                            "ConfigRuleInvokedTime": null,
         
     | 
| 
      
 103 
     | 
    
         
            +
                            "CreateTime": "2022-11-16 11:36:45",
         
     | 
| 
      
 104 
     | 
    
         
            +
                            "Description": "帐号访问管理中用户至少关联一个用户组,则符合规则。",
         
     | 
| 
      
 105 
     | 
    
         
            +
                            "Identifier": "cam-user-group-bound",
         
     | 
| 
      
 106 
     | 
    
         
            +
                            "IdentifierType": "SYSTEM",
         
     | 
| 
      
 107 
     | 
    
         
            +
                            "InputParameter": [],
         
     | 
| 
      
 108 
     | 
    
         
            +
                            "Labels": [],
         
     | 
| 
      
 109 
     | 
    
         
            +
                            "ManageInputParameter": [],
         
     | 
| 
      
 110 
     | 
    
         
            +
                            "ResourceType": [
         
     | 
| 
      
 111 
     | 
    
         
            +
                                "QCS::CAM::User"
         
     | 
| 
      
 112 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 113 
     | 
    
         
            +
                            "RiskLevel": 3,
         
     | 
| 
      
 114 
     | 
    
         
            +
                            "RuleName": "CAM访问管理子用户必须关联用户组",
         
     | 
| 
      
 115 
     | 
    
         
            +
                            "ServiceFunction": null,
         
     | 
| 
      
 116 
     | 
    
         
            +
                            "SourceCondition": [
         
     | 
| 
      
 117 
     | 
    
         
            +
                                {
         
     | 
| 
      
 118 
     | 
    
         
            +
                                    "DesiredValue": "1",
         
     | 
| 
      
 119 
     | 
    
         
            +
                                    "EmptyAs": "COMPLIANT",
         
     | 
| 
      
 120 
     | 
    
         
            +
                                    "Operator": "GreaterOrEquals",
         
     | 
| 
      
 121 
     | 
    
         
            +
                                    "Required": false,
         
     | 
| 
      
 122 
     | 
    
         
            +
                                    "SelectPath": "$User.GroupBindNum"
         
     | 
| 
      
 123 
     | 
    
         
            +
                                }
         
     | 
| 
      
 124 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 125 
     | 
    
         
            +
                            "Status": "ACTIVE",
         
     | 
| 
      
 126 
     | 
    
         
            +
                            "TriggerType": [
         
     | 
| 
      
 127 
     | 
    
         
            +
                                {
         
     | 
| 
      
 128 
     | 
    
         
            +
                                    "MaximumExecutionFrequency": "TwentyFour_Hours",
         
     | 
| 
      
 129 
     | 
    
         
            +
                                    "MessageType": "ScheduledNotification"
         
     | 
| 
      
 130 
     | 
    
         
            +
                                }
         
     | 
| 
      
 131 
     | 
    
         
            +
                            ]
         
     | 
| 
      
 132 
     | 
    
         
            +
                        }
         
     | 
| 
      
 133 
     | 
    
         
            +
                    ],
         
     | 
| 
      
 134 
     | 
    
         
            +
                    "Total": 3
         
     | 
| 
      
 135 
     | 
    
         
            +
                }
         
     | 
| 
      
 136 
     | 
    
         
            +
            }
         
     | 
| 
      
 137 
     | 
    
         
            +
            ```
         
     | 
| 
      
 138 
     | 
    
         
            +
             
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            **Example 1: 创建专业集群**
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
      
 3 
     | 
    
         
            +
            创建专业集群 -- 仅通过api调用
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            Input: 
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
         @@ -11,8 +11,8 @@ tccli tdmq CreateProCluster --cli-unfold-argument  \ 
     | 
|
| 
       11 
11 
     | 
    
         
             
                --StorageSize 0 \
         
     | 
| 
       12 
12 
     | 
    
         
             
                --AutoRenewFlag 0 \
         
     | 
| 
       13 
13 
     | 
    
         
             
                --TimeSpan 0 \
         
     | 
| 
       14 
     | 
    
         
            -
                -- 
     | 
| 
       15 
     | 
    
         
            -
                -- 
     | 
| 
      
 14 
     | 
    
         
            +
                --Vpc.VpcId abc \
         
     | 
| 
      
 15 
     | 
    
         
            +
                --Vpc.SubnetId abc \
         
     | 
| 
       16 
16 
     | 
    
         
             
                --Tags.0.TagKey abc \
         
     | 
| 
       17 
17 
     | 
    
         
             
                --Tags.0.TagValue abc \
         
     | 
| 
       18 
18 
     | 
    
         
             
                --ClusterName abc \
         
     | 
| 
         @@ -10,7 +10,8 @@ tccli teo DescribeOverviewL7Data --cli-unfold-argument  \ 
     | 
|
| 
       10 
10 
     | 
    
         
             
                --Interval day \
         
     | 
| 
       11 
11 
     | 
    
         
             
                --Area mainland \
         
     | 
| 
       12 
12 
     | 
    
         
             
                --StartTime 2022-07-31T00:00:00+08:00 \
         
     | 
| 
       13 
     | 
    
         
            -
                --MetricNames l7Flow_request
         
     | 
| 
      
 13 
     | 
    
         
            +
                --MetricNames l7Flow_request \
         
     | 
| 
      
 14 
     | 
    
         
            +
                --ZoneIds zone-2mzegj4vln5f
         
     | 
| 
       14 
15 
     | 
    
         
             
            ```
         
     | 
| 
       15 
16 
     | 
    
         | 
| 
       16 
17 
     | 
    
         
             
            Output: 
         
     | 
| 
         @@ -64,7 +65,8 @@ tccli teo DescribeOverviewL7Data --cli-unfold-argument  \ 
     | 
|
| 
       64 
65 
     | 
    
         
             
                --Filters.0.Value test1 \
         
     | 
| 
       65 
66 
     | 
    
         
             
                --Filters.1.Key tagValue \
         
     | 
| 
       66 
67 
     | 
    
         
             
                --Filters.1.Operator equals \
         
     | 
| 
       67 
     | 
    
         
            -
                --Filters.1.Value a.com b.com
         
     | 
| 
      
 68 
     | 
    
         
            +
                --Filters.1.Value a.com b.com \
         
     | 
| 
      
 69 
     | 
    
         
            +
                --ZoneIds zone-2mzegj4vln5f
         
     | 
| 
       68 
70 
     | 
    
         
             
            ```
         
     | 
| 
       69 
71 
     | 
    
         | 
| 
       70 
72 
     | 
    
         
             
            Output: 
         
     | 
| 
         @@ -1,11 +1,12 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            **Example 1: 查询预热任务**
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
      
 3 
     | 
    
         
            +
            通过 CreatePrefetchTasks 提交预热任务后,通过该查询接口查询预热任务记录及执行进度。
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            Input: 
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            ```
         
     | 
| 
       8 
8 
     | 
    
         
             
            tccli teo DescribePrefetchTasks --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --ZoneId zone-z8m9mgx \
         
     | 
| 
       9 
10 
     | 
    
         
             
                --StartTime 2022-02-09T00:00:00+08:00 \
         
     | 
| 
       10 
11 
     | 
    
         
             
                --EndTime 2022-02-09T23:59:00+08:00 \
         
     | 
| 
       11 
12 
     | 
    
         
             
                --Limit 1 \
         
     | 
| 
         @@ -1,11 +1,12 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            **Example 1: 查询清除缓存历史记录**
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
      
 3 
     | 
    
         
            +
            通过 CreatePurgeTasks 提交刷新任务后,通过该查询接口 查询刷新任务记录及处理进度。
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            Input: 
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            ```
         
     | 
| 
       8 
8 
     | 
    
         
             
            tccli teo DescribePurgeTasks --cli-unfold-argument  \
         
     | 
| 
      
 9 
     | 
    
         
            +
                --ZoneId zone-wz8m9mgx \
         
     | 
| 
       9 
10 
     | 
    
         
             
                --StartTime 2022-02-09T00:00:00+08:00 \
         
     | 
| 
       10 
11 
     | 
    
         
             
                --EndTime 2022-02-09T23:59:00+08:00 \
         
     | 
| 
       11 
12 
     | 
    
         
             
                --Limit 1 \
         
     |