tccli 3.0.1097.1__py2.py3-none-any.whl → 3.0.1099.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/examples/apm/v20210622/DescribeGeneralApmApplicationConfig.md +103 -0
- tccli/examples/apm/v20210622/DescribeTagValues.md +27 -0
- tccli/examples/apm/v20210622/ModifyGeneralApmApplicationConfig.md +29 -0
- tccli/examples/cfw/v20190904/DescribeIPStatusList.md +4 -4
- tccli/examples/cls/v20201016/OpenKafkaConsumer.md +1 -1
- tccli/examples/cynosdb/v20190107/DescribeChangedParamsAfterUpgrade.md +31 -0
- tccli/examples/ess/v20201111/CreateBatchSignUrl.md +28 -0
- tccli/examples/essbasic/v20210526/ChannelCreateBatchSignUrl.md +28 -0
- tccli/examples/faceid/v20180301/GetFaceIdResult.md +3 -1
- tccli/examples/hunyuan/v20230901/ChatCompletions.md +43 -0
- tccli/examples/ims/v20200713/ImageModeration.md +4 -1
- tccli/examples/iotexplorer/v20190423/DescribeDeviceFirmwares.md +33 -0
- tccli/examples/teo/v20220901/DescribeRealtimeLogDeliveryTasks.md +42 -21
- tccli/services/aiart/v20221229/api.json +1 -1
- tccli/services/apm/apm_client.py +159 -0
- tccli/services/apm/v20210622/api.json +456 -0
- tccli/services/apm/v20210622/examples.json +24 -0
- tccli/services/ccc/v20200210/api.json +1 -1
- tccli/services/cfs/v20190719/api.json +27 -27
- tccli/services/cfw/v20190904/api.json +5 -5
- tccli/services/cfw/v20190904/examples.json +1 -1
- tccli/services/cloudstudio/v20230508/api.json +14 -5
- tccli/services/cls/v20201016/api.json +68 -44
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +122 -2
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +2 -2
- tccli/services/ess/v20201111/api.json +51 -3
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +50 -2
- tccli/services/essbasic/v20210526/examples.json +6 -0
- tccli/services/faceid/v20180301/api.json +21 -1
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +53 -0
- tccli/services/hunyuan/v20230901/api.json +161 -22
- tccli/services/hunyuan/v20230901/examples.json +8 -0
- tccli/services/ims/v20200713/api.json +13 -0
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/ims/v20201229/api.json +55 -55
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +89 -0
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/iss/v20230517/api.json +36 -0
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lke/lke_client.py +8 -114
- tccli/services/lke/v20231130/api.json +2 -166
- tccli/services/lke/v20231130/examples.json +0 -16
- tccli/services/mariadb/v20170312/api.json +2 -2
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +46 -1
- tccli/services/rum/v20210622/api.json +2 -2
- tccli/services/tdid/v20210519/api.json +2 -2
- tccli/services/teo/v20220901/api.json +142 -31
- tccli/services/teo/v20220901/examples.json +2 -2
- tccli/services/tione/v20211111/api.json +28 -0
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/waf/v20180125/api.json +2 -2
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/RECORD +64 -58
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/license_files/LICENSE +0 -0
@@ -2657,7 +2657,7 @@
|
|
2657
2657
|
"example": "03efb75a-0f89-41b0-8cc6-90xxxxxxxxx",
|
2658
2658
|
"member": "string",
|
2659
2659
|
"name": "Id",
|
2660
|
-
"
|
2660
|
+
"output_required": true,
|
2661
2661
|
"type": "string",
|
2662
2662
|
"value_allowed_null": true
|
2663
2663
|
},
|
@@ -2667,7 +2667,7 @@
|
|
2667
2667
|
"example": "03efb75a-0f89-41b0-8cc6-90xxxxxxxxx",
|
2668
2668
|
"member": "string",
|
2669
2669
|
"name": "TopicId",
|
2670
|
-
"
|
2670
|
+
"output_required": true,
|
2671
2671
|
"type": "string",
|
2672
2672
|
"value_allowed_null": true
|
2673
2673
|
},
|
@@ -2677,7 +2677,7 @@
|
|
2677
2677
|
"example": "03efb75a-0f89-41b0-8cc6-90xxxxxxxxx",
|
2678
2678
|
"member": "string",
|
2679
2679
|
"name": "LogsetId",
|
2680
|
-
"
|
2680
|
+
"output_required": true,
|
2681
2681
|
"type": "string",
|
2682
2682
|
"value_allowed_null": true
|
2683
2683
|
},
|
@@ -2687,7 +2687,7 @@
|
|
2687
2687
|
"example": "xxx任务导入",
|
2688
2688
|
"member": "string",
|
2689
2689
|
"name": "Name",
|
2690
|
-
"
|
2690
|
+
"output_required": true,
|
2691
2691
|
"type": "string",
|
2692
2692
|
"value_allowed_null": true
|
2693
2693
|
},
|
@@ -2697,7 +2697,7 @@
|
|
2697
2697
|
"example": "bucket1",
|
2698
2698
|
"member": "string",
|
2699
2699
|
"name": "Bucket",
|
2700
|
-
"
|
2700
|
+
"output_required": true,
|
2701
2701
|
"type": "string",
|
2702
2702
|
"value_allowed_null": true
|
2703
2703
|
},
|
@@ -2707,7 +2707,7 @@
|
|
2707
2707
|
"example": "ap-guangzhou",
|
2708
2708
|
"member": "string",
|
2709
2709
|
"name": "BucketRegion",
|
2710
|
-
"
|
2710
|
+
"output_required": true,
|
2711
2711
|
"type": "string",
|
2712
2712
|
"value_allowed_null": true
|
2713
2713
|
},
|
@@ -2717,7 +2717,7 @@
|
|
2717
2717
|
"example": "/var/test",
|
2718
2718
|
"member": "string",
|
2719
2719
|
"name": "Prefix",
|
2720
|
-
"
|
2720
|
+
"output_required": true,
|
2721
2721
|
"type": "string",
|
2722
2722
|
"value_allowed_null": true
|
2723
2723
|
},
|
@@ -2727,7 +2727,7 @@
|
|
2727
2727
|
"example": "minimalist_log",
|
2728
2728
|
"member": "string",
|
2729
2729
|
"name": "LogType",
|
2730
|
-
"
|
2730
|
+
"output_required": true,
|
2731
2731
|
"type": "string",
|
2732
2732
|
"value_allowed_null": true
|
2733
2733
|
},
|
@@ -2737,7 +2737,7 @@
|
|
2737
2737
|
"example": "1",
|
2738
2738
|
"member": "uint64",
|
2739
2739
|
"name": "Status",
|
2740
|
-
"
|
2740
|
+
"output_required": true,
|
2741
2741
|
"type": "int",
|
2742
2742
|
"value_allowed_null": true
|
2743
2743
|
},
|
@@ -2747,7 +2747,7 @@
|
|
2747
2747
|
"example": "1",
|
2748
2748
|
"member": "uint64",
|
2749
2749
|
"name": "Enable",
|
2750
|
-
"
|
2750
|
+
"output_required": true,
|
2751
2751
|
"type": "int",
|
2752
2752
|
"value_allowed_null": true
|
2753
2753
|
},
|
@@ -2757,7 +2757,7 @@
|
|
2757
2757
|
"example": "2021-11-08 14:40:22",
|
2758
2758
|
"member": "string",
|
2759
2759
|
"name": "CreateTime",
|
2760
|
-
"
|
2760
|
+
"output_required": true,
|
2761
2761
|
"type": "string",
|
2762
2762
|
"value_allowed_null": true
|
2763
2763
|
},
|
@@ -2767,7 +2767,7 @@
|
|
2767
2767
|
"example": "2021-11-08 14:40:22",
|
2768
2768
|
"member": "string",
|
2769
2769
|
"name": "UpdateTime",
|
2770
|
-
"
|
2770
|
+
"output_required": true,
|
2771
2771
|
"type": "string",
|
2772
2772
|
"value_allowed_null": true
|
2773
2773
|
},
|
@@ -2777,7 +2777,7 @@
|
|
2777
2777
|
"example": "0",
|
2778
2778
|
"member": "uint64",
|
2779
2779
|
"name": "Progress",
|
2780
|
-
"
|
2780
|
+
"output_required": true,
|
2781
2781
|
"type": "int",
|
2782
2782
|
"value_allowed_null": true
|
2783
2783
|
},
|
@@ -2787,7 +2787,7 @@
|
|
2787
2787
|
"example": "gzip",
|
2788
2788
|
"member": "string",
|
2789
2789
|
"name": "Compress",
|
2790
|
-
"
|
2790
|
+
"output_required": true,
|
2791
2791
|
"type": "string",
|
2792
2792
|
"value_allowed_null": true
|
2793
2793
|
},
|
@@ -2797,9 +2797,29 @@
|
|
2797
2797
|
"example": "无",
|
2798
2798
|
"member": "ExtractRuleInfo",
|
2799
2799
|
"name": "ExtractRuleInfo",
|
2800
|
-
"
|
2800
|
+
"output_required": true,
|
2801
2801
|
"type": "object",
|
2802
2802
|
"value_allowed_null": true
|
2803
|
+
},
|
2804
|
+
{
|
2805
|
+
"disabled": false,
|
2806
|
+
"document": "COS导入任务类型。1:一次性导入任务;2:持续性导入任务。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2807
|
+
"example": "1",
|
2808
|
+
"member": "uint64",
|
2809
|
+
"name": "TaskType",
|
2810
|
+
"output_required": false,
|
2811
|
+
"type": "int",
|
2812
|
+
"value_allowed_null": true
|
2813
|
+
},
|
2814
|
+
{
|
2815
|
+
"disabled": false,
|
2816
|
+
"document": "元数据。支持 bucket,object。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2817
|
+
"example": "[\"bucket\",\"object\"]",
|
2818
|
+
"member": "string",
|
2819
|
+
"name": "Metadata",
|
2820
|
+
"output_required": false,
|
2821
|
+
"type": "list",
|
2822
|
+
"value_allowed_null": true
|
2803
2823
|
}
|
2804
2824
|
],
|
2805
2825
|
"usage": "out"
|
@@ -4910,7 +4930,7 @@
|
|
4910
4930
|
{
|
4911
4931
|
"disabled": false,
|
4912
4932
|
"document": "数据加工任务名称",
|
4913
|
-
"example": "
|
4933
|
+
"example": "test_name",
|
4914
4934
|
"member": "string",
|
4915
4935
|
"name": "Name",
|
4916
4936
|
"output_required": true,
|
@@ -4920,7 +4940,7 @@
|
|
4920
4940
|
{
|
4921
4941
|
"disabled": false,
|
4922
4942
|
"document": "数据加工任务id",
|
4923
|
-
"example": "
|
4943
|
+
"example": "96562452-58da-458c-9d2b-0b94e379c917",
|
4924
4944
|
"member": "string",
|
4925
4945
|
"name": "TaskId",
|
4926
4946
|
"output_required": true,
|
@@ -4950,7 +4970,7 @@
|
|
4950
4970
|
{
|
4951
4971
|
"disabled": false,
|
4952
4972
|
"document": "源日志主题",
|
4953
|
-
"example": "
|
4973
|
+
"example": "c6404313-dc28-402c-970d-9654afd08b1f",
|
4954
4974
|
"member": "string",
|
4955
4975
|
"name": "SrcTopicId",
|
4956
4976
|
"output_required": true,
|
@@ -4970,7 +4990,7 @@
|
|
4970
4990
|
{
|
4971
4991
|
"disabled": false,
|
4972
4992
|
"document": "加工任务创建时间",
|
4973
|
-
"example": "
|
4993
|
+
"example": "2022-12-08 21:00:35",
|
4974
4994
|
"member": "string",
|
4975
4995
|
"name": "CreateTime",
|
4976
4996
|
"output_required": true,
|
@@ -4980,7 +5000,7 @@
|
|
4980
5000
|
{
|
4981
5001
|
"disabled": false,
|
4982
5002
|
"document": "最近修改时间",
|
4983
|
-
"example": "
|
5003
|
+
"example": "2024-03-20 15:51:01",
|
4984
5004
|
"member": "string",
|
4985
5005
|
"name": "UpdateTime",
|
4986
5006
|
"output_required": true,
|
@@ -4990,7 +5010,7 @@
|
|
4990
5010
|
{
|
4991
5011
|
"disabled": false,
|
4992
5012
|
"document": "最后启用时间,如果需要重建集群,修改该时间",
|
4993
|
-
"example": "
|
5013
|
+
"example": "2024-03-20 15:50:00",
|
4994
5014
|
"member": "string",
|
4995
5015
|
"name": "LastEnableTime",
|
4996
5016
|
"output_required": true,
|
@@ -5029,8 +5049,8 @@
|
|
5029
5049
|
},
|
5030
5050
|
{
|
5031
5051
|
"disabled": false,
|
5032
|
-
"document": "
|
5033
|
-
"example": "
|
5052
|
+
"document": "加工逻辑函数。",
|
5053
|
+
"example": "fields_set(\\\\\"111\\\\\",\\\\\"111\\\\\")",
|
5034
5054
|
"member": "string",
|
5035
5055
|
"name": "EtlContent",
|
5036
5056
|
"output_required": true,
|
@@ -6204,7 +6224,7 @@
|
|
6204
6224
|
"members": [
|
6205
6225
|
{
|
6206
6226
|
"disabled": false,
|
6207
|
-
"document": "<br><li> taskName\n\n按照【加工任务名称】进行过滤。\n类型:String\n\n必选:否\n\n<br><li> taskId\n\n按照【加工任务id】进行过滤。\n类型:String\n\n必选:否\n\n<br><li>
|
6227
|
+
"document": "<br><li> taskName\n\n按照【加工任务名称】进行过滤。\n类型:String\n\n必选:否\n\n<br><li> taskId\n\n按照【加工任务id】进行过滤。\n类型:String\n\n必选:否\n\n<br><li> topicId\n\n按照【源topicId】进行过滤。\n类型:String\n\n必选:否\n\n每次请求的Filters的上限为10,Filter.Values的上限为100。",
|
6208
6228
|
"example": "无",
|
6209
6229
|
"member": "Filter",
|
6210
6230
|
"name": "Filters",
|
@@ -6259,6 +6279,7 @@
|
|
6259
6279
|
"example": "无",
|
6260
6280
|
"member": "DataTransformTaskInfo",
|
6261
6281
|
"name": "DataTransformTaskInfos",
|
6282
|
+
"output_required": true,
|
6262
6283
|
"type": "list",
|
6263
6284
|
"value_allowed_null": false
|
6264
6285
|
},
|
@@ -6268,6 +6289,7 @@
|
|
6268
6289
|
"example": "无",
|
6269
6290
|
"member": "uint64",
|
6270
6291
|
"name": "TotalCount",
|
6292
|
+
"output_required": true,
|
6271
6293
|
"type": "int",
|
6272
6294
|
"value_allowed_null": false
|
6273
6295
|
},
|
@@ -7679,7 +7701,7 @@
|
|
7679
7701
|
},
|
7680
7702
|
{
|
7681
7703
|
"disabled": false,
|
7682
|
-
"document": "
|
7704
|
+
"document": "增量采集模式下的回溯数据量,默认:-1(全量采集);其他非负数表示增量采集(从最新的位置,往前采集${Backtracking}字节(Byte)的日志)最大支持1073741824(1G)。\n注意:\n- COS导入不支持此字段。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7683
7705
|
"example": "-1",
|
7684
7706
|
"member": "int64",
|
7685
7707
|
"name": "Backtracking",
|
@@ -7690,7 +7712,7 @@
|
|
7690
7712
|
},
|
7691
7713
|
{
|
7692
7714
|
"disabled": false,
|
7693
|
-
"document": "是否为Gbk
|
7715
|
+
"document": "是否为Gbk编码。 0:否;1:是。\n注意:\n- COS导入不支持此字段。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7694
7716
|
"example": "0",
|
7695
7717
|
"member": "int64",
|
7696
7718
|
"name": "IsGBK",
|
@@ -7701,7 +7723,7 @@
|
|
7701
7723
|
},
|
7702
7724
|
{
|
7703
7725
|
"disabled": false,
|
7704
|
-
"document": "是否为标准json
|
7726
|
+
"document": "是否为标准json。 0:否; 1:是。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7705
7727
|
"example": "0",
|
7706
7728
|
"member": "int64",
|
7707
7729
|
"name": "JsonStandard",
|
@@ -7712,7 +7734,7 @@
|
|
7712
7734
|
},
|
7713
7735
|
{
|
7714
7736
|
"disabled": false,
|
7715
|
-
"document": "syslog传输协议,取值为tcp或者udp。\n
|
7737
|
+
"document": "syslog传输协议,取值为tcp或者udp。\n注意:\n- 该字段适用于:创建采集规则配置、修改采集规则配置。\n- COS导入不支持此字段。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7716
7738
|
"example": "tcp",
|
7717
7739
|
"member": "string",
|
7718
7740
|
"name": "Protocol",
|
@@ -7723,7 +7745,7 @@
|
|
7723
7745
|
},
|
7724
7746
|
{
|
7725
7747
|
"disabled": false,
|
7726
|
-
"document": "syslog系统日志采集指定采集器监听的地址和端口 ,形式:[ip]:[port]。举例:127.0.0.1:9000\n
|
7748
|
+
"document": "syslog系统日志采集指定采集器监听的地址和端口 ,形式:[ip]:[port]。举例:127.0.0.1:9000\n注意:\n- 该字段适用于:创建采集规则配置、修改采集规则配置。\n- COS导入不支持此字段。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7727
7749
|
"example": "127.0.0.1:9000",
|
7728
7750
|
"member": "string",
|
7729
7751
|
"name": "Address",
|
@@ -7734,7 +7756,7 @@
|
|
7734
7756
|
},
|
7735
7757
|
{
|
7736
7758
|
"disabled": false,
|
7737
|
-
"document": "rfc3164:指定系统日志采集使用RFC3164协议解析日志。\nrfc5424:指定系统日志采集使用RFC5424协议解析日志。\nauto:自动匹配rfc3164或者rfc5424
|
7759
|
+
"document": "rfc3164:指定系统日志采集使用RFC3164协议解析日志。\nrfc5424:指定系统日志采集使用RFC5424协议解析日志。\nauto:自动匹配rfc3164或者rfc5424其中一种协议。\n注意:\n- 该字段适用于:创建采集规则配置、修改采集规则配置\n- COS导入不支持此字段。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7738
7760
|
"example": "RFC3164",
|
7739
7761
|
"member": "string",
|
7740
7762
|
"name": "ParseProtocol",
|
@@ -7745,7 +7767,7 @@
|
|
7745
7767
|
},
|
7746
7768
|
{
|
7747
7769
|
"disabled": false,
|
7748
|
-
"document": "
|
7770
|
+
"document": "元数据类型。0: 不使用元数据信息;1:使用机器组元数据;2:使用用户自定义元数据;3:使用采集配置路径。\n注意:\n- COS导入不支持此字段。",
|
7749
7771
|
"example": "0",
|
7750
7772
|
"member": "int64",
|
7751
7773
|
"name": "MetadataType",
|
@@ -7756,7 +7778,7 @@
|
|
7756
7778
|
},
|
7757
7779
|
{
|
7758
7780
|
"disabled": false,
|
7759
|
-
"document": "
|
7781
|
+
"document": "采集配置路径正则表达式。\n注意:\n- MetadataType为3时必填。\n- COS导入不支持此字段。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7760
7782
|
"example": "无",
|
7761
7783
|
"member": "string",
|
7762
7784
|
"name": "PathRegex",
|
@@ -7767,7 +7789,7 @@
|
|
7767
7789
|
},
|
7768
7790
|
{
|
7769
7791
|
"disabled": false,
|
7770
|
-
"document": "
|
7792
|
+
"document": "用户自定义元数据信息。\n注意:\n- MetadataType为2时必填。\n- COS导入不支持此字段。",
|
7771
7793
|
"example": "无",
|
7772
7794
|
"member": "MetaTagInfo",
|
7773
7795
|
"name": "MetaTags",
|
@@ -7778,7 +7800,7 @@
|
|
7778
7800
|
},
|
7779
7801
|
{
|
7780
7802
|
"disabled": false,
|
7781
|
-
"document": "Windows
|
7803
|
+
"document": "Windows事件日志采集。\n注意:\n- COS导入不支持此字段。",
|
7782
7804
|
"example": "无",
|
7783
7805
|
"member": "EventLog",
|
7784
7806
|
"name": "EventLogRules",
|
@@ -9297,7 +9319,7 @@
|
|
9297
9319
|
},
|
9298
9320
|
{
|
9299
9321
|
"disabled": false,
|
9300
|
-
"document": "合并的PartitionId",
|
9322
|
+
"document": "合并的PartitionId(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等,且找到的分区必须是读写分区(Staus:readwrite),入参PartitionId与找到的PartitionId设置为只读分区(Status:readonly),再新建一个新的读写分区) 。[获取分区列表](https://cloud.tencent.com/document/product/614/56469)\n\n1. 入参PartitionId只能是读写分区(Status的值有readonly,readwrite),且能找到入参PartitionId的下一个可读写分区(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等);\n2. 入参PartitionId不能是最后一个分区(PartitionId的ExclusiveEndKey不能是ffffffffffffffffffffffffffffffff);\n3. topic的分区数量是有限制的(默认50个),合并之后不能超过最大分区,否则不能合并。",
|
9301
9323
|
"example": "2",
|
9302
9324
|
"member": "int64",
|
9303
9325
|
"name": "PartitionId",
|
@@ -9316,7 +9338,7 @@
|
|
9316
9338
|
"example": "无",
|
9317
9339
|
"member": "PartitionInfo",
|
9318
9340
|
"name": "Partitions",
|
9319
|
-
"
|
9341
|
+
"output_required": true,
|
9320
9342
|
"type": "list",
|
9321
9343
|
"value_allowed_null": false
|
9322
9344
|
},
|
@@ -10972,10 +10994,11 @@
|
|
10972
10994
|
"members": [
|
10973
10995
|
{
|
10974
10996
|
"disabled": false,
|
10975
|
-
"document": "
|
10976
|
-
"example": "",
|
10997
|
+
"document": "执行周期, 可选值:Period;Fixed。\n\n- Period:固定频率\n- Fixed:固定时间",
|
10998
|
+
"example": "无",
|
10977
10999
|
"member": "string",
|
10978
11000
|
"name": "Type",
|
11001
|
+
"output_required": true,
|
10979
11002
|
"required": true,
|
10980
11003
|
"type": "string",
|
10981
11004
|
"value_allowed_null": false
|
@@ -10983,9 +11006,10 @@
|
|
10983
11006
|
{
|
10984
11007
|
"disabled": false,
|
10985
11008
|
"document": "执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。",
|
10986
|
-
"example": "",
|
11009
|
+
"example": "无",
|
10987
11010
|
"member": "int64",
|
10988
11011
|
"name": "Time",
|
11012
|
+
"output_required": true,
|
10989
11013
|
"required": true,
|
10990
11014
|
"type": "int",
|
10991
11015
|
"value_allowed_null": false
|
@@ -11172,8 +11196,8 @@
|
|
11172
11196
|
},
|
11173
11197
|
{
|
11174
11198
|
"disabled": false,
|
11175
|
-
"document": "压缩方式[0:NONE;2:SNAPPY;3:LZ4]",
|
11176
|
-
"example": "
|
11199
|
+
"document": "压缩方式[0:NONE;2:SNAPPY;3:LZ4],默认:0",
|
11200
|
+
"example": "0",
|
11177
11201
|
"member": "int64",
|
11178
11202
|
"name": "Compression",
|
11179
11203
|
"required": false,
|
@@ -12150,7 +12174,7 @@
|
|
12150
12174
|
},
|
12151
12175
|
{
|
12152
12176
|
"disabled": false,
|
12153
|
-
"document": "压缩模式: \"\", \"gzip\", \"lzop\", \"snappy
|
12177
|
+
"document": "压缩模式: \"\", \"gzip\", \"lzop\", \"snappy\"; 默认\"\"",
|
12154
12178
|
"example": "gzip",
|
12155
12179
|
"member": "string",
|
12156
12180
|
"name": "Compress",
|
@@ -12335,7 +12359,7 @@
|
|
12335
12359
|
},
|
12336
12360
|
{
|
12337
12361
|
"disabled": false,
|
12338
|
-
"document": "- 要检索分析的日志主题ID,仅能指定一个日志主题。\n- 如需同时检索多个日志主题,请使用Topics
|
12362
|
+
"document": "- 要检索分析的日志主题ID,仅能指定一个日志主题。\n- 如需同时检索多个日志主题,请使用Topics参数。\n- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。",
|
12339
12363
|
"example": "682d0718-07bb-4ec0-9fda-f1e9a2767e0b",
|
12340
12364
|
"member": "string",
|
12341
12365
|
"name": "TopicId",
|
@@ -12344,7 +12368,7 @@
|
|
12344
12368
|
},
|
12345
12369
|
{
|
12346
12370
|
"disabled": false,
|
12347
|
-
"document": "- 要检索分析的日志主题列表,最大支持20个日志主题。\n- 检索单个日志主题时请使用TopicId。\n-
|
12371
|
+
"document": "- 要检索分析的日志主题列表,最大支持20个日志主题。\n- 检索单个日志主题时请使用TopicId。\n- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。",
|
12348
12372
|
"example": "无",
|
12349
12373
|
"member": "MultiTopicSearchInformation",
|
12350
12374
|
"name": "Topics",
|
@@ -697,7 +697,7 @@
|
|
697
697
|
"OpenKafkaConsumer": [
|
698
698
|
{
|
699
699
|
"document": "打开Kafka协议消费功能",
|
700
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenKafkaConsumer\n<公共请求参数>\n\n{\n \"FromTopicId\": \"a5ce0c9c-0690-44a5-bc79-5f2190626bd0\",\n \"Compression\":
|
700
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenKafkaConsumer\n<公共请求参数>\n\n{\n \"FromTopicId\": \"a5ce0c9c-0690-44a5-bc79-5f2190626bd0\",\n \"Compression\": 0\n}",
|
701
701
|
"output": "{\n \"Response\": {\n \"TopicID\": \"out-a5ce0c9c-0690-44a5-bc79-5f2190626bd0\",\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
|
702
702
|
"title": "打开Kafka协议消费功能"
|
703
703
|
}
|
@@ -1369,6 +1369,58 @@ def doExportInstanceSlowQueries(args, parsed_globals):
|
|
1369
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
1370
|
|
1371
1371
|
|
1372
|
+
def doDescribeChangedParamsAfterUpgrade(args, parsed_globals):
|
1373
|
+
g_param = parse_global_arg(parsed_globals)
|
1374
|
+
|
1375
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1376
|
+
cred = credential.CVMRoleCredential()
|
1377
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1378
|
+
cred = credential.STSAssumeRoleCredential(
|
1379
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1380
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1381
|
+
)
|
1382
|
+
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):
|
1383
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1384
|
+
else:
|
1385
|
+
cred = credential.Credential(
|
1386
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1387
|
+
)
|
1388
|
+
http_profile = HttpProfile(
|
1389
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1390
|
+
reqMethod="POST",
|
1391
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1392
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1393
|
+
)
|
1394
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1395
|
+
if g_param[OptionsDefine.Language]:
|
1396
|
+
profile.language = g_param[OptionsDefine.Language]
|
1397
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1398
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1400
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
+
model = models.DescribeChangedParamsAfterUpgradeRequest()
|
1402
|
+
model.from_json_string(json.dumps(args))
|
1403
|
+
start_time = time.time()
|
1404
|
+
while True:
|
1405
|
+
rsp = client.DescribeChangedParamsAfterUpgrade(model)
|
1406
|
+
result = rsp.to_json_string()
|
1407
|
+
try:
|
1408
|
+
json_obj = json.loads(result)
|
1409
|
+
except TypeError as e:
|
1410
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1411
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1412
|
+
break
|
1413
|
+
cur_time = time.time()
|
1414
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1415
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1416
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1417
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1418
|
+
else:
|
1419
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1420
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1421
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1422
|
+
|
1423
|
+
|
1372
1424
|
def doDescribeAccountPrivileges(args, parsed_globals):
|
1373
1425
|
g_param = parse_global_arg(parsed_globals)
|
1374
1426
|
|
@@ -7074,6 +7126,7 @@ ACTION_MAP = {
|
|
7074
7126
|
"DescribeProxyNodes": doDescribeProxyNodes,
|
7075
7127
|
"DisassociateSecurityGroups": doDisassociateSecurityGroups,
|
7076
7128
|
"ExportInstanceSlowQueries": doExportInstanceSlowQueries,
|
7129
|
+
"DescribeChangedParamsAfterUpgrade": doDescribeChangedParamsAfterUpgrade,
|
7077
7130
|
"DescribeAccountPrivileges": doDescribeAccountPrivileges,
|
7078
7131
|
"CloseClusterPasswordComplexity": doCloseClusterPasswordComplexity,
|
7079
7132
|
"RollBackCluster": doRollBackCluster,
|
@@ -280,6 +280,13 @@
|
|
280
280
|
"output": "DescribeBinlogsResponse",
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
|
+
"DescribeChangedParamsAfterUpgrade": {
|
284
|
+
"document": "本接口(DescribeChangedParamsAfterUpgrade)用于查询升降配运行参数对比",
|
285
|
+
"input": "DescribeChangedParamsAfterUpgradeRequest",
|
286
|
+
"name": "升降配运行参数对比",
|
287
|
+
"output": "DescribeChangedParamsAfterUpgradeResponse",
|
288
|
+
"status": "online"
|
289
|
+
},
|
283
290
|
"DescribeClusterDatabases": {
|
284
291
|
"document": "获取集群数据库列表",
|
285
292
|
"input": "DescribeClusterDatabasesRequest",
|
@@ -4476,7 +4483,7 @@
|
|
4476
4483
|
},
|
4477
4484
|
{
|
4478
4485
|
"disabled": false,
|
4479
|
-
"document": "
|
4486
|
+
"document": "数据库代理组节点个数(该参数不再建议使用,建议使用ProxyZones)",
|
4480
4487
|
"example": "2",
|
4481
4488
|
"member": "int64",
|
4482
4489
|
"name": "ProxyCount",
|
@@ -4530,7 +4537,7 @@
|
|
4530
4537
|
},
|
4531
4538
|
{
|
4532
4539
|
"disabled": false,
|
4533
|
-
"document": "
|
4540
|
+
"document": "数据库节点信息(该参数与ProxyCount需要任选一个输入)",
|
4534
4541
|
"example": "无",
|
4535
4542
|
"member": "ProxyZone",
|
4536
4543
|
"name": "ProxyZones",
|
@@ -8553,6 +8560,71 @@
|
|
8553
8560
|
],
|
8554
8561
|
"type": "object"
|
8555
8562
|
},
|
8563
|
+
"DescribeChangedParamsAfterUpgradeRequest": {
|
8564
|
+
"document": "DescribeChangedParamsAfterUpgrade请求参数结构体",
|
8565
|
+
"members": [
|
8566
|
+
{
|
8567
|
+
"disabled": false,
|
8568
|
+
"document": "集群ID",
|
8569
|
+
"example": "cynosdbmysql-1xcycbu8",
|
8570
|
+
"member": "string",
|
8571
|
+
"name": "InstanceId",
|
8572
|
+
"required": true,
|
8573
|
+
"type": "string"
|
8574
|
+
},
|
8575
|
+
{
|
8576
|
+
"disabled": false,
|
8577
|
+
"document": "变配后的CPU",
|
8578
|
+
"example": "1",
|
8579
|
+
"member": "int64",
|
8580
|
+
"name": "DstCpu",
|
8581
|
+
"required": true,
|
8582
|
+
"type": "int"
|
8583
|
+
},
|
8584
|
+
{
|
8585
|
+
"disabled": false,
|
8586
|
+
"document": "变配后的MEM,单位G",
|
8587
|
+
"example": "1",
|
8588
|
+
"member": "int64",
|
8589
|
+
"name": "DstMem",
|
8590
|
+
"required": true,
|
8591
|
+
"type": "int"
|
8592
|
+
}
|
8593
|
+
],
|
8594
|
+
"type": "object"
|
8595
|
+
},
|
8596
|
+
"DescribeChangedParamsAfterUpgradeResponse": {
|
8597
|
+
"document": "DescribeChangedParamsAfterUpgrade返回参数结构体",
|
8598
|
+
"members": [
|
8599
|
+
{
|
8600
|
+
"disabled": false,
|
8601
|
+
"document": "参数个数",
|
8602
|
+
"example": "2",
|
8603
|
+
"member": "int64",
|
8604
|
+
"name": "TotalCount",
|
8605
|
+
"output_required": true,
|
8606
|
+
"type": "int",
|
8607
|
+
"value_allowed_null": false
|
8608
|
+
},
|
8609
|
+
{
|
8610
|
+
"disabled": false,
|
8611
|
+
"document": "实例参数列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
8612
|
+
"example": "无",
|
8613
|
+
"member": "ParamItemInfo",
|
8614
|
+
"name": "Items",
|
8615
|
+
"output_required": true,
|
8616
|
+
"type": "list",
|
8617
|
+
"value_allowed_null": true
|
8618
|
+
},
|
8619
|
+
{
|
8620
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8621
|
+
"member": "string",
|
8622
|
+
"name": "RequestId",
|
8623
|
+
"type": "string"
|
8624
|
+
}
|
8625
|
+
],
|
8626
|
+
"type": "object"
|
8627
|
+
},
|
8556
8628
|
"DescribeClusterDatabasesRequest": {
|
8557
8629
|
"document": "DescribeClusterDatabases请求参数结构体",
|
8558
8630
|
"members": [
|
@@ -15740,6 +15812,52 @@
|
|
15740
15812
|
],
|
15741
15813
|
"usage": "out"
|
15742
15814
|
},
|
15815
|
+
"ParamItemInfo": {
|
15816
|
+
"document": "参数变化信息",
|
15817
|
+
"members": [
|
15818
|
+
{
|
15819
|
+
"disabled": false,
|
15820
|
+
"document": "参数名字\n注意:此字段可能返回 null,表示取不到有效值。",
|
15821
|
+
"example": "无",
|
15822
|
+
"member": "string",
|
15823
|
+
"name": "ParamName",
|
15824
|
+
"output_required": false,
|
15825
|
+
"type": "string",
|
15826
|
+
"value_allowed_null": true
|
15827
|
+
},
|
15828
|
+
{
|
15829
|
+
"disabled": false,
|
15830
|
+
"document": "参数新值\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
15831
|
+
"example": "无",
|
15832
|
+
"member": "string",
|
15833
|
+
"name": "NewValue",
|
15834
|
+
"output_required": false,
|
15835
|
+
"type": "string",
|
15836
|
+
"value_allowed_null": true
|
15837
|
+
},
|
15838
|
+
{
|
15839
|
+
"disabled": false,
|
15840
|
+
"document": "参数旧值\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
15841
|
+
"example": "无",
|
15842
|
+
"member": "string",
|
15843
|
+
"name": "OldValue",
|
15844
|
+
"output_required": false,
|
15845
|
+
"type": "string",
|
15846
|
+
"value_allowed_null": true
|
15847
|
+
},
|
15848
|
+
{
|
15849
|
+
"disabled": false,
|
15850
|
+
"document": "参数公式\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
15851
|
+
"example": "无",
|
15852
|
+
"member": "string",
|
15853
|
+
"name": "ValueFunction",
|
15854
|
+
"output_required": false,
|
15855
|
+
"type": "string",
|
15856
|
+
"value_allowed_null": true
|
15857
|
+
}
|
15858
|
+
],
|
15859
|
+
"usage": "out"
|
15860
|
+
},
|
15743
15861
|
"ParamTemplateListInfo": {
|
15744
15862
|
"document": "参数模板信息",
|
15745
15863
|
"members": [
|
@@ -18544,6 +18662,7 @@
|
|
18544
18662
|
"example": "无",
|
18545
18663
|
"member": "string",
|
18546
18664
|
"name": "TagKey",
|
18665
|
+
"output_required": true,
|
18547
18666
|
"required": true,
|
18548
18667
|
"type": "string",
|
18549
18668
|
"value_allowed_null": false
|
@@ -18554,6 +18673,7 @@
|
|
18554
18673
|
"example": "无",
|
18555
18674
|
"member": "string",
|
18556
18675
|
"name": "TagValue",
|
18676
|
+
"output_required": true,
|
18557
18677
|
"required": true,
|
18558
18678
|
"type": "string",
|
18559
18679
|
"value_allowed_null": false
|