tccli 3.0.1132.1__py2.py3-none-any.whl → 3.0.1134.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +1 -0
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/asr/v20190614/api.json +2 -2
- tccli/services/billing/v20180709/api.json +10 -0
- tccli/services/cam/v20190116/api.json +41 -12
- tccli/services/cdwch/v20200915/api.json +9 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfw/v20190904/api.json +4 -4
- tccli/services/ckafka/v20190819/api.json +130 -74
- tccli/services/ckafka/v20190819/examples.json +17 -17
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cmq/v20190304/api.json +53 -49
- tccli/services/cmq/v20190304/examples.json +2 -2
- tccli/services/cms/v20190321/api.json +2 -0
- tccli/services/cms/v20190321/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +137 -42
- tccli/services/csip/v20221121/examples.json +4 -4
- tccli/services/cynosdb/cynosdb_client.py +57 -4
- tccli/services/cynosdb/v20190107/api.json +451 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dlc/dlc_client.py +106 -0
- tccli/services/dlc/v20210125/api.json +181 -0
- tccli/services/dlc/v20210125/examples.json +16 -0
- tccli/services/dsgc/v20190723/api.json +65 -58
- tccli/services/dsgc/v20190723/examples.json +5 -5
- tccli/services/dts/dts_client.py +0 -53
- tccli/services/dts/v20180330/api.json +0 -98
- tccli/services/dts/v20180330/examples.json +0 -8
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +5 -5
- tccli/services/ess/ess_client.py +411 -305
- tccli/services/ess/v20201111/api.json +144 -0
- tccli/services/ess/v20201111/examples.json +16 -0
- tccli/services/essbasic/essbasic_client.py +110 -4
- tccli/services/essbasic/v20210526/api.json +139 -4
- tccli/services/essbasic/v20210526/examples.json +16 -0
- tccli/services/gaap/v20180529/api.json +1 -1
- tccli/services/gaap/v20180529/examples.json +0 -6
- tccli/services/iecp/v20210914/api.json +40 -40
- tccli/services/ims/v20201229/api.json +2 -2
- tccli/services/lke/lke_client.py +171 -12
- tccli/services/lke/v20231130/api.json +524 -0
- tccli/services/lke/v20231130/examples.json +24 -0
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +96 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/monitor/v20180724/api.json +47 -19
- tccli/services/monitor/v20180724/examples.json +4 -4
- tccli/services/mps/v20190612/api.json +57 -7
- tccli/services/mps/v20190612/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +373 -3
- tccli/services/organization/organization_client.py +118 -12
- tccli/services/organization/v20210331/api.json +68 -0
- tccli/services/organization/v20210331/examples.json +16 -0
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rum/v20210622/api.json +2 -0
- tccli/services/rum/v20210622/examples.json +1 -1
- tccli/services/sms/v20210111/api.json +26 -26
- tccli/services/tcr/v20190924/api.json +13 -10
- tccli/services/tcr/v20190924/examples.json +2 -2
- tccli/services/tdmq/tdmq_client.py +443 -19
- tccli/services/tdmq/v20200217/api.json +570 -0
- tccli/services/tdmq/v20200217/examples.json +64 -0
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20180525/api.json +227 -41
- tccli/services/tke/v20180525/examples.json +26 -0
- tccli/services/trro/v20220325/api.json +6 -6
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tse/v20201207/api.json +13 -2
- tccli/services/tsf/v20180326/api.json +47 -35
- tccli/services/tsf/v20180326/examples.json +4 -4
- tccli/services/waf/v20180125/api.json +65 -9
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +30 -19
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/RECORD +83 -83
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/license_files/LICENSE +0 -0
@@ -3594,7 +3594,7 @@
|
|
3594
3594
|
{
|
3595
3595
|
"disabled": false,
|
3596
3596
|
"document": "DSPA实例ID。",
|
3597
|
-
"example": "dspa-
|
3597
|
+
"example": "dspa-abcd1234",
|
3598
3598
|
"member": "string",
|
3599
3599
|
"name": "DspaId",
|
3600
3600
|
"required": true,
|
@@ -3612,7 +3612,7 @@
|
|
3612
3612
|
{
|
3613
3613
|
"disabled": true,
|
3614
3614
|
"document": "COS桶列表",
|
3615
|
-
"example": "
|
3615
|
+
"example": "[\"cos-123\",\"cos-456\"]",
|
3616
3616
|
"member": "string",
|
3617
3617
|
"name": "Buckets",
|
3618
3618
|
"required": false,
|
@@ -3621,7 +3621,7 @@
|
|
3621
3621
|
{
|
3622
3622
|
"disabled": false,
|
3623
3623
|
"document": "必填,COS资源列表",
|
3624
|
-
"example": "
|
3624
|
+
"example": "cosItem",
|
3625
3625
|
"member": "CosBucketItem",
|
3626
3626
|
"name": "CosBucketItems",
|
3627
3627
|
"required": false,
|
@@ -3684,7 +3684,7 @@
|
|
3684
3684
|
{
|
3685
3685
|
"disabled": true,
|
3686
3686
|
"document": "本次更新的ID号,用来标记一次完整的更新过程。",
|
3687
|
-
"example": "
|
3687
|
+
"example": "10",
|
3688
3688
|
"member": "string",
|
3689
3689
|
"name": "UpdateId",
|
3690
3690
|
"required": false,
|
@@ -3693,7 +3693,7 @@
|
|
3693
3693
|
{
|
3694
3694
|
"disabled": true,
|
3695
3695
|
"document": "云上资源列表。",
|
3696
|
-
"example": "
|
3696
|
+
"example": "[item]",
|
3697
3697
|
"member": "DspaCloudResourceMeta",
|
3698
3698
|
"name": "Items",
|
3699
3699
|
"required": false,
|
@@ -3702,7 +3702,7 @@
|
|
3702
3702
|
{
|
3703
3703
|
"disabled": false,
|
3704
3704
|
"document": "必填,云数据库资源列表。",
|
3705
|
-
"example": "
|
3705
|
+
"example": "[cloudResourceItem]",
|
3706
3706
|
"member": "CloudResourceItem",
|
3707
3707
|
"name": "CloudResourceItems",
|
3708
3708
|
"required": false,
|
@@ -3717,7 +3717,7 @@
|
|
3717
3717
|
{
|
3718
3718
|
"disabled": true,
|
3719
3719
|
"document": "本次更新的ID号,用来标记一次完整的更新过程。",
|
3720
|
-
"example": "
|
3720
|
+
"example": "10",
|
3721
3721
|
"member": "string",
|
3722
3722
|
"name": "UpdateId",
|
3723
3723
|
"output_required": true,
|
@@ -3727,7 +3727,7 @@
|
|
3727
3727
|
{
|
3728
3728
|
"disabled": false,
|
3729
3729
|
"document": "资源类型,支持:cdb(云数据库 MySQL)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbpg(TDSQL-C PostgreSQL版)、cynosdbmysql(TDSQL-C MySQL版)",
|
3730
|
-
"example": "
|
3730
|
+
"example": "cdb",
|
3731
3731
|
"member": "string",
|
3732
3732
|
"name": "MetaType",
|
3733
3733
|
"output_required": true,
|
@@ -3737,7 +3737,7 @@
|
|
3737
3737
|
{
|
3738
3738
|
"disabled": false,
|
3739
3739
|
"document": "DSPA实例ID。",
|
3740
|
-
"example": "
|
3740
|
+
"example": "dspa-a1b2",
|
3741
3741
|
"member": "string",
|
3742
3742
|
"name": "DspaId",
|
3743
3743
|
"output_required": true,
|
@@ -3747,7 +3747,7 @@
|
|
3747
3747
|
{
|
3748
3748
|
"disabled": true,
|
3749
3749
|
"document": "资源所处地域。",
|
3750
|
-
"example": "
|
3750
|
+
"example": "ap-guangzhou",
|
3751
3751
|
"member": "string",
|
3752
3752
|
"name": "ResourceRegion",
|
3753
3753
|
"output_required": true,
|
@@ -4337,7 +4337,7 @@
|
|
4337
4337
|
{
|
4338
4338
|
"disabled": false,
|
4339
4339
|
"document": "DSPA实例ID",
|
4340
|
-
"example": "dspa-
|
4340
|
+
"example": "dspa-abcd1234",
|
4341
4341
|
"member": "string",
|
4342
4342
|
"name": "DspaId",
|
4343
4343
|
"required": true,
|
@@ -4373,7 +4373,7 @@
|
|
4373
4373
|
{
|
4374
4374
|
"disabled": false,
|
4375
4375
|
"document": "规则名称",
|
4376
|
-
"example": "
|
4376
|
+
"example": "手机号",
|
4377
4377
|
"member": "string",
|
4378
4378
|
"name": "RuleName",
|
4379
4379
|
"required": true,
|
@@ -4382,7 +4382,7 @@
|
|
4382
4382
|
{
|
4383
4383
|
"disabled": false,
|
4384
4384
|
"document": "规则别名",
|
4385
|
-
"example": "
|
4385
|
+
"example": "电话号码",
|
4386
4386
|
"member": "string",
|
4387
4387
|
"name": "AnotherName",
|
4388
4388
|
"required": true,
|
@@ -5063,7 +5063,7 @@
|
|
5063
5063
|
{
|
5064
5064
|
"disabled": false,
|
5065
5065
|
"document": "资源所处地域。",
|
5066
|
-
"example": "
|
5066
|
+
"example": "ap-guangzhou",
|
5067
5067
|
"member": "string",
|
5068
5068
|
"name": "ResourceRegion",
|
5069
5069
|
"required": true,
|
@@ -5072,7 +5072,7 @@
|
|
5072
5072
|
{
|
5073
5073
|
"disabled": false,
|
5074
5074
|
"document": "资源实例ID。",
|
5075
|
-
"example": "
|
5075
|
+
"example": "[\"res-abcd\",\"res-1234\"]",
|
5076
5076
|
"member": "string",
|
5077
5077
|
"name": "ResourceIds",
|
5078
5078
|
"required": false,
|
@@ -5087,20 +5087,20 @@
|
|
5087
5087
|
{
|
5088
5088
|
"disabled": false,
|
5089
5089
|
"document": "结果集合。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5090
|
-
"example": "
|
5090
|
+
"example": "[item]",
|
5091
5091
|
"member": "DspaTaskResult",
|
5092
5092
|
"name": "Results",
|
5093
|
-
"
|
5093
|
+
"output_required": true,
|
5094
5094
|
"type": "list",
|
5095
5095
|
"value_allowed_null": true
|
5096
5096
|
},
|
5097
5097
|
{
|
5098
5098
|
"disabled": false,
|
5099
5099
|
"document": "DSPA实例ID。",
|
5100
|
-
"example": "
|
5100
|
+
"example": "dspa-dabad",
|
5101
5101
|
"member": "string",
|
5102
5102
|
"name": "DspaId",
|
5103
|
-
"
|
5103
|
+
"output_required": true,
|
5104
5104
|
"type": "string",
|
5105
5105
|
"value_allowed_null": false
|
5106
5106
|
},
|
@@ -5308,7 +5308,7 @@
|
|
5308
5308
|
{
|
5309
5309
|
"disabled": false,
|
5310
5310
|
"document": "DSPA实例ID。",
|
5311
|
-
"example": "
|
5311
|
+
"example": "dspa-a1b2",
|
5312
5312
|
"member": "string",
|
5313
5313
|
"name": "DspaId",
|
5314
5314
|
"required": true,
|
@@ -5317,7 +5317,7 @@
|
|
5317
5317
|
{
|
5318
5318
|
"disabled": false,
|
5319
5319
|
"document": "用户云资源ID。",
|
5320
|
-
"example": "
|
5320
|
+
"example": "[9781,3213]",
|
5321
5321
|
"member": "string",
|
5322
5322
|
"name": "ResourceIDs",
|
5323
5323
|
"required": true,
|
@@ -5332,20 +5332,20 @@
|
|
5332
5332
|
{
|
5333
5333
|
"disabled": false,
|
5334
5334
|
"document": "DSPA实例ID。",
|
5335
|
-
"example": "
|
5335
|
+
"example": "dspa-a1b2c3",
|
5336
5336
|
"member": "string",
|
5337
5337
|
"name": "DspaId",
|
5338
|
-
"
|
5338
|
+
"output_required": true,
|
5339
5339
|
"type": "string",
|
5340
5340
|
"value_allowed_null": false
|
5341
5341
|
},
|
5342
5342
|
{
|
5343
5343
|
"disabled": false,
|
5344
5344
|
"document": "删除结果。",
|
5345
|
-
"example": "
|
5345
|
+
"example": "[success]",
|
5346
5346
|
"member": "DspaTaskResult",
|
5347
5347
|
"name": "Results",
|
5348
|
-
"
|
5348
|
+
"output_required": true,
|
5349
5349
|
"type": "list",
|
5350
5350
|
"value_allowed_null": false
|
5351
5351
|
},
|
@@ -8546,10 +8546,10 @@
|
|
8546
8546
|
{
|
8547
8547
|
"disabled": false,
|
8548
8548
|
"document": "分类树json\n注意:此字段可能返回 null,表示取不到有效值。",
|
8549
|
-
"example": "
|
8549
|
+
"example": "[{\"result\": 1}]",
|
8550
8550
|
"member": "string",
|
8551
8551
|
"name": "ResultJson",
|
8552
|
-
"
|
8552
|
+
"output_required": true,
|
8553
8553
|
"type": "string",
|
8554
8554
|
"value_allowed_null": true
|
8555
8555
|
},
|
@@ -9649,7 +9649,7 @@
|
|
9649
9649
|
"example": "无",
|
9650
9650
|
"member": "LevelItem",
|
9651
9651
|
"name": "Items",
|
9652
|
-
"
|
9652
|
+
"output_required": true,
|
9653
9653
|
"type": "list",
|
9654
9654
|
"value_allowed_null": false
|
9655
9655
|
},
|
@@ -9659,7 +9659,7 @@
|
|
9659
9659
|
"example": "1",
|
9660
9660
|
"member": "int64",
|
9661
9661
|
"name": "TotalCount",
|
9662
|
-
"
|
9662
|
+
"output_required": true,
|
9663
9663
|
"type": "int",
|
9664
9664
|
"value_allowed_null": false
|
9665
9665
|
},
|
@@ -9705,7 +9705,7 @@
|
|
9705
9705
|
"example": "无",
|
9706
9706
|
"member": "DspaDiscoveryLevelDetail",
|
9707
9707
|
"name": "Items",
|
9708
|
-
"
|
9708
|
+
"output_required": true,
|
9709
9709
|
"type": "list",
|
9710
9710
|
"value_allowed_null": true
|
9711
9711
|
},
|
@@ -9715,7 +9715,7 @@
|
|
9715
9715
|
"example": "1",
|
9716
9716
|
"member": "int64",
|
9717
9717
|
"name": "TotalCount",
|
9718
|
-
"
|
9718
|
+
"output_required": true,
|
9719
9719
|
"type": "int",
|
9720
9720
|
"value_allowed_null": true
|
9721
9721
|
},
|
@@ -14331,7 +14331,7 @@
|
|
14331
14331
|
{
|
14332
14332
|
"disabled": false,
|
14333
14333
|
"document": "DSPA实例ID。",
|
14334
|
-
"example": "
|
14334
|
+
"example": "dspa-a1b2",
|
14335
14335
|
"member": "string",
|
14336
14336
|
"name": "DspaId",
|
14337
14337
|
"required": true,
|
@@ -14492,7 +14492,7 @@
|
|
14492
14492
|
{
|
14493
14493
|
"disabled": false,
|
14494
14494
|
"document": "DSPA实例ID。",
|
14495
|
-
"example": "
|
14495
|
+
"example": "dspa-abcaa",
|
14496
14496
|
"member": "string",
|
14497
14497
|
"name": "DspaId",
|
14498
14498
|
"required": true,
|
@@ -14501,7 +14501,7 @@
|
|
14501
14501
|
{
|
14502
14502
|
"disabled": false,
|
14503
14503
|
"document": "资源类型。",
|
14504
|
-
"example": "
|
14504
|
+
"example": "cdb",
|
14505
14505
|
"member": "string",
|
14506
14506
|
"name": "MetaType",
|
14507
14507
|
"required": true,
|
@@ -14510,7 +14510,7 @@
|
|
14510
14510
|
{
|
14511
14511
|
"disabled": false,
|
14512
14512
|
"document": "资源所处地域。",
|
14513
|
-
"example": "
|
14513
|
+
"example": "ap-guangzhou",
|
14514
14514
|
"member": "string",
|
14515
14515
|
"name": "ResourceRegion",
|
14516
14516
|
"required": true,
|
@@ -14519,7 +14519,7 @@
|
|
14519
14519
|
{
|
14520
14520
|
"disabled": false,
|
14521
14521
|
"document": "资源列表中展示的资源ID。",
|
14522
|
-
"example": "
|
14522
|
+
"example": "cdb-a1b2",
|
14523
14523
|
"member": "string",
|
14524
14524
|
"name": "ResourceId",
|
14525
14525
|
"required": true,
|
@@ -14537,17 +14537,17 @@
|
|
14537
14537
|
"example": "success",
|
14538
14538
|
"member": "string",
|
14539
14539
|
"name": "ConnectionStatus",
|
14540
|
-
"
|
14540
|
+
"output_required": true,
|
14541
14541
|
"type": "string",
|
14542
14542
|
"value_allowed_null": false
|
14543
14543
|
},
|
14544
14544
|
{
|
14545
14545
|
"disabled": false,
|
14546
14546
|
"document": "连接状态的描述信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
14547
|
-
"example": "
|
14547
|
+
"example": "connection-success",
|
14548
14548
|
"member": "string",
|
14549
14549
|
"name": "ConnectionDesc",
|
14550
|
-
"
|
14550
|
+
"output_required": true,
|
14551
14551
|
"type": "string",
|
14552
14552
|
"value_allowed_null": true
|
14553
14553
|
},
|
@@ -14566,7 +14566,7 @@
|
|
14566
14566
|
{
|
14567
14567
|
"disabled": false,
|
14568
14568
|
"document": "DSPA实例ID。",
|
14569
|
-
"example": "
|
14569
|
+
"example": "dspa-a1b2c3",
|
14570
14570
|
"member": "string",
|
14571
14571
|
"name": "DspaId",
|
14572
14572
|
"required": true,
|
@@ -14581,18 +14581,20 @@
|
|
14581
14581
|
{
|
14582
14582
|
"disabled": false,
|
14583
14583
|
"document": "体验版本名称。",
|
14584
|
-
"example": "
|
14584
|
+
"example": "version",
|
14585
14585
|
"member": "string",
|
14586
14586
|
"name": "TrialVersion",
|
14587
|
+
"output_required": true,
|
14587
14588
|
"type": "string",
|
14588
14589
|
"value_allowed_null": false
|
14589
14590
|
},
|
14590
14591
|
{
|
14591
14592
|
"disabled": false,
|
14592
14593
|
"document": "版本体验结束时间戳。",
|
14593
|
-
"example": "
|
14594
|
+
"example": "123042123",
|
14594
14595
|
"member": "uint64",
|
14595
14596
|
"name": "TrialEndAt",
|
14597
|
+
"output_required": true,
|
14596
14598
|
"type": "int",
|
14597
14599
|
"value_allowed_null": false
|
14598
14600
|
},
|
@@ -14970,7 +14972,7 @@
|
|
14970
14972
|
{
|
14971
14973
|
"disabled": false,
|
14972
14974
|
"document": "实例Id",
|
14973
|
-
"example": "dspa-
|
14975
|
+
"example": "dspa-12311",
|
14974
14976
|
"member": "string",
|
14975
14977
|
"name": "DspaId",
|
14976
14978
|
"required": true,
|
@@ -14979,7 +14981,7 @@
|
|
14979
14981
|
{
|
14980
14982
|
"disabled": false,
|
14981
14983
|
"document": "过滤数组。支持的Name:\nBucket - 桶名,支持模糊匹配\n\nResoureRegion - 资源所处地域,需要填写完整地域名称,不支持模糊匹配。\n\nValid -- 资源是否有效,\"1\" 表示有效,\"0\"表示无效。",
|
14982
|
-
"example": "
|
14984
|
+
"example": "[filter]",
|
14983
14985
|
"member": "DspaDataSourceMngFilter",
|
14984
14986
|
"name": "Filters",
|
14985
14987
|
"required": false,
|
@@ -15024,24 +15026,27 @@
|
|
15024
15026
|
"example": "1",
|
15025
15027
|
"member": "int64",
|
15026
15028
|
"name": "TotalCount",
|
15029
|
+
"output_required": true,
|
15027
15030
|
"type": "int",
|
15028
15031
|
"value_allowed_null": false
|
15029
15032
|
},
|
15030
15033
|
{
|
15031
15034
|
"disabled": false,
|
15032
15035
|
"document": "COS元数据信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
15033
|
-
"example": "
|
15036
|
+
"example": "[item]",
|
15034
15037
|
"member": "DSPACosMetaDataInfo",
|
15035
15038
|
"name": "Items",
|
15039
|
+
"output_required": true,
|
15036
15040
|
"type": "list",
|
15037
15041
|
"value_allowed_null": true
|
15038
15042
|
},
|
15039
15043
|
{
|
15040
15044
|
"disabled": false,
|
15041
15045
|
"document": "DSPA实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
15042
|
-
"example": "
|
15046
|
+
"example": "dspa-a1b2c3",
|
15043
15047
|
"member": "string",
|
15044
15048
|
"name": "DspaId",
|
15049
|
+
"output_required": true,
|
15045
15050
|
"type": "string",
|
15046
15051
|
"value_allowed_null": true
|
15047
15052
|
},
|
@@ -15760,7 +15765,7 @@
|
|
15760
15765
|
{
|
15761
15766
|
"disabled": false,
|
15762
15767
|
"document": "DSPA实例ID。",
|
15763
|
-
"example": "
|
15768
|
+
"example": "dspa-a1b2",
|
15764
15769
|
"member": "string",
|
15765
15770
|
"name": "DspaId",
|
15766
15771
|
"required": true,
|
@@ -16819,7 +16824,7 @@
|
|
16819
16824
|
{
|
16820
16825
|
"disabled": false,
|
16821
16826
|
"document": "DSPA实例ID。",
|
16822
|
-
"example": "
|
16827
|
+
"example": "dspa-aaa",
|
16823
16828
|
"member": "string",
|
16824
16829
|
"name": "DspaId",
|
16825
16830
|
"required": true,
|
@@ -16828,7 +16833,7 @@
|
|
16828
16833
|
{
|
16829
16834
|
"disabled": false,
|
16830
16835
|
"document": "资源ID。",
|
16831
|
-
"example": "
|
16836
|
+
"example": "10",
|
16832
16837
|
"member": "string",
|
16833
16838
|
"name": "ResourceId",
|
16834
16839
|
"required": true,
|
@@ -16837,7 +16842,7 @@
|
|
16837
16842
|
{
|
16838
16843
|
"disabled": false,
|
16839
16844
|
"document": "资源所在地域。",
|
16840
|
-
"example": "
|
16845
|
+
"example": "ap-guangzhou",
|
16841
16846
|
"member": "string",
|
16842
16847
|
"name": "ResourceRegion",
|
16843
16848
|
"required": true,
|
@@ -16846,7 +16851,7 @@
|
|
16846
16851
|
{
|
16847
16852
|
"disabled": false,
|
16848
16853
|
"document": "资源类型。",
|
16849
|
-
"example": "
|
16854
|
+
"example": "cdb",
|
16850
16855
|
"member": "string",
|
16851
16856
|
"name": "MetaType",
|
16852
16857
|
"required": true,
|
@@ -16861,18 +16866,20 @@
|
|
16861
16866
|
{
|
16862
16867
|
"disabled": false,
|
16863
16868
|
"document": "绑定DB数量。",
|
16864
|
-
"example": "
|
16869
|
+
"example": "1",
|
16865
16870
|
"member": "uint64",
|
16866
16871
|
"name": "BindDbNums",
|
16872
|
+
"output_required": true,
|
16867
16873
|
"type": "int",
|
16868
16874
|
"value_allowed_null": false
|
16869
16875
|
},
|
16870
16876
|
{
|
16871
16877
|
"disabled": false,
|
16872
16878
|
"document": "未绑定DB数量。",
|
16873
|
-
"example": "
|
16879
|
+
"example": "1",
|
16874
16880
|
"member": "uint64",
|
16875
16881
|
"name": "UnbindDbNums",
|
16882
|
+
"output_required": true,
|
16876
16883
|
"type": "int",
|
16877
16884
|
"value_allowed_null": false
|
16878
16885
|
},
|
@@ -18310,7 +18317,7 @@
|
|
18310
18317
|
{
|
18311
18318
|
"disabled": false,
|
18312
18319
|
"document": "DSPA实例ID。",
|
18313
|
-
"example": "
|
18320
|
+
"example": "dspa-a1b2",
|
18314
18321
|
"member": "string",
|
18315
18322
|
"name": "DspaId",
|
18316
18323
|
"required": true,
|
@@ -18319,7 +18326,7 @@
|
|
18319
18326
|
{
|
18320
18327
|
"disabled": false,
|
18321
18328
|
"document": "云资源名称,如果是通过CVM访问则填写CVM的资源ID,如果是通过LB访问则填写LB的资源ID。",
|
18322
|
-
"example": "
|
18329
|
+
"example": "c231",
|
18323
18330
|
"member": "string",
|
18324
18331
|
"name": "ResourceId",
|
18325
18332
|
"required": true,
|
@@ -18328,7 +18335,7 @@
|
|
18328
18335
|
{
|
18329
18336
|
"disabled": false,
|
18330
18337
|
"document": "资源绑定的端口,为0则表示不更新。",
|
18331
|
-
"example": "
|
18338
|
+
"example": "2204",
|
18332
18339
|
"member": "uint64",
|
18333
18340
|
"name": "ResourceVPort",
|
18334
18341
|
"required": true,
|
@@ -18337,7 +18344,7 @@
|
|
18337
18344
|
{
|
18338
18345
|
"disabled": false,
|
18339
18346
|
"document": "账户名,为空则表示不更新。\nUserName和Password必须同时填写或同时为空。",
|
18340
|
-
"example": "
|
18347
|
+
"example": "admin",
|
18341
18348
|
"member": "string",
|
18342
18349
|
"name": "UserName",
|
18343
18350
|
"required": true,
|
@@ -18346,7 +18353,7 @@
|
|
18346
18353
|
{
|
18347
18354
|
"disabled": false,
|
18348
18355
|
"document": "账户密码,为空则表示不更新。\nUserName和Password必须同时填写或同时为空。",
|
18349
|
-
"example": "
|
18356
|
+
"example": "pass",
|
18350
18357
|
"member": "string",
|
18351
18358
|
"name": "Password",
|
18352
18359
|
"required": true,
|
@@ -730,17 +730,17 @@
|
|
730
730
|
],
|
731
731
|
"DescribeDSPALevelDetail": [
|
732
732
|
{
|
733
|
-
"document": "",
|
734
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPALevelDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
735
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"LevelGroupId\": 1,\n \"
|
736
|
-
"title": "
|
733
|
+
"document": "获取数据分级详情",
|
734
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPALevelDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-7daf8fc9\"\n}",
|
735
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"LevelGroupId\": 1,\n \"LevelId\": 1,\n \"LevelRiskName\": \"高\",\n \"LevelRiskScore\": 10\n },\n {\n \"LevelGroupId\": 1,\n \"LevelId\": 3,\n \"LevelRiskName\": \"低\",\n \"LevelRiskScore\": 1\n },\n {\n \"LevelGroupId\": 1,\n \"LevelId\": 2,\n \"LevelRiskName\": \"中\",\n \"LevelRiskScore\": 5\n }\n ],\n \"RequestId\": \"0c92cb04-3ac8-477d-b77a-db6e248df728\",\n \"TotalCount\": 3\n }\n}",
|
736
|
+
"title": "获取数据分级详情"
|
737
737
|
}
|
738
738
|
],
|
739
739
|
"DescribeDSPALevelGroups": [
|
740
740
|
{
|
741
741
|
"document": "",
|
742
742
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPALevelGroups\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-00000000\",\n \"Name\": \"test\"\n}",
|
743
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"
|
743
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b7f2cb00-e759-436e-97dc-6c95c9b61005\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"LevelGroupId\": 11985,\n \"RefComplianceCnt\": 6,\n \"LevelGroupName\": \"系统-敏感程度\",\n \"Source\": 1,\n \"LevelGroupDesc\": \"\",\n \"LevelDetail\": [\n {\n \"LevelGroupId\": 11985,\n \"LevelRiskName\": \"1\",\n \"LevelRiskScore\": 1,\n \"LevelId\": 12010\n },\n {\n \"LevelGroupId\": 11985,\n \"LevelRiskName\": \"2\",\n \"LevelRiskScore\": 2,\n \"LevelId\": 12011\n }\n ],\n \"RefCompliance\": [\n {\n \"Name\": \"测试扫描任务抓包1\",\n \"LevelGroupId\": 11985,\n \"ComplianceGroupRules\": [\n {\n \"RuleName\": \"测试规则1\",\n \"CategoryId\": 10794,\n \"LevelId\": 12011,\n \"RuleId\": 228\n }\n ],\n \"ComplianceGroupType\": 2,\n \"Description\": \"\",\n \"ComplianceGroupId\": 14795\n },\n {\n \"Name\": \"测试扫描任务抓包2\",\n \"LevelGroupId\": 11985,\n \"ComplianceGroupRules\": [],\n \"ComplianceGroupType\": 2,\n \"Description\": \"\",\n \"ComplianceGroupId\": 14796\n }\n ]\n }\n ]\n }\n}",
|
744
744
|
"title": "获取分级列表"
|
745
745
|
}
|
746
746
|
],
|
tccli/services/dts/dts_client.py
CHANGED
@@ -1943,58 +1943,6 @@ def doStopMigrateJob(args, parsed_globals):
|
|
1943
1943
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1944
1944
|
|
1945
1945
|
|
1946
|
-
def doDescribeRegionConf(args, parsed_globals):
|
1947
|
-
g_param = parse_global_arg(parsed_globals)
|
1948
|
-
|
1949
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1950
|
-
cred = credential.CVMRoleCredential()
|
1951
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1952
|
-
cred = credential.STSAssumeRoleCredential(
|
1953
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1954
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1955
|
-
)
|
1956
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1957
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1958
|
-
else:
|
1959
|
-
cred = credential.Credential(
|
1960
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1961
|
-
)
|
1962
|
-
http_profile = HttpProfile(
|
1963
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1964
|
-
reqMethod="POST",
|
1965
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
1966
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1967
|
-
)
|
1968
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1969
|
-
if g_param[OptionsDefine.Language]:
|
1970
|
-
profile.language = g_param[OptionsDefine.Language]
|
1971
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1972
|
-
client = mod.DtsClient(cred, g_param[OptionsDefine.Region], profile)
|
1973
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
1974
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1975
|
-
model = models.DescribeRegionConfRequest()
|
1976
|
-
model.from_json_string(json.dumps(args))
|
1977
|
-
start_time = time.time()
|
1978
|
-
while True:
|
1979
|
-
rsp = client.DescribeRegionConf(model)
|
1980
|
-
result = rsp.to_json_string()
|
1981
|
-
try:
|
1982
|
-
json_obj = json.loads(result)
|
1983
|
-
except TypeError as e:
|
1984
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1985
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1986
|
-
break
|
1987
|
-
cur_time = time.time()
|
1988
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1989
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1990
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1991
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1992
|
-
else:
|
1993
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1994
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1995
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1996
|
-
|
1997
|
-
|
1998
1946
|
def doPauseSyncJob(args, parsed_globals):
|
1999
1947
|
g_param = parse_global_arg(parsed_globals)
|
2000
1948
|
|
@@ -4437,7 +4385,6 @@ ACTION_MAP = {
|
|
4437
4385
|
"ModifySyncJobConfig": doModifySyncJobConfig,
|
4438
4386
|
"ResumeMigrateJob": doResumeMigrateJob,
|
4439
4387
|
"StopMigrateJob": doStopMigrateJob,
|
4440
|
-
"DescribeRegionConf": doDescribeRegionConf,
|
4441
4388
|
"PauseSyncJob": doPauseSyncJob,
|
4442
4389
|
"StartModifySyncJob": doStartModifySyncJob,
|
4443
4390
|
"DescribeSubscribes": doDescribeSubscribes,
|