tccli-intl-en 3.0.1188.1__py2.py3-none-any.whl → 3.1.28.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/argument.py +1 -1
- tccli/plugins/sso/__init__.py +14 -0
- tccli/plugins/sso/login.py +23 -6
- tccli/plugins/sso/texts.py +4 -0
- tccli/services/__init__.py +46 -2
- tccli/services/advisor/advisor_client.py +10 -4
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +266 -0
- tccli/services/ai3d/v20250513/api.json +264 -0
- tccli/services/ai3d/v20250513/examples.json +20 -0
- tccli/services/aiart/aiart_client.py +5 -2
- tccli/services/ams/ams_client.py +20 -8
- tccli/services/antiddos/antiddos_client.py +350 -140
- tccli/services/apigateway/apigateway_client.py +465 -186
- tccli/services/apm/apm_client.py +835 -68
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +10 -4
- tccli/services/autoscaling/autoscaling_client.py +341 -114
- tccli/services/autoscaling/v20180419/api.json +444 -272
- tccli/services/autoscaling/v20180419/examples.json +46 -38
- tccli/services/batch/batch_client.py +140 -56
- tccli/services/bi/__init__.py +4 -0
- tccli/services/bi/bi_client.py +1498 -0
- tccli/services/bi/v20220105/api.json +5769 -0
- tccli/services/bi/v20220105/examples.json +215 -0
- tccli/services/billing/billing_client.py +1007 -139
- tccli/services/billing/v20180709/api.json +1707 -429
- tccli/services/billing/v20180709/examples.json +161 -25
- tccli/services/cam/cam_client.py +405 -162
- tccli/services/captcha/captcha_client.py +5 -2
- tccli/services/captcha/v20190722/api.json +16 -6
- tccli/services/captcha/v20190722/examples.json +3 -3
- tccli/services/car/car_client.py +165 -66
- tccli/services/cbs/cbs_client.py +190 -76
- tccli/services/ccc/ccc_client.py +1167 -268
- tccli/services/ccc/v20200210/api.json +2263 -202
- tccli/services/ccc/v20200210/examples.json +116 -12
- tccli/services/cdb/cdb_client.py +665 -266
- tccli/services/cdb/v20170320/api.json +463 -208
- tccli/services/cdb/v20170320/examples.json +8 -8
- tccli/services/cdc/cdc_client.py +100 -40
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +220 -88
- tccli/services/cdn/v20180606/api.json +22 -22
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/cdwdoris/cdwdoris_client.py +385 -154
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +80 -32
- tccli/services/cfg/v20210820/api.json +30 -10
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/cfs_client.py +195 -78
- tccli/services/cfw/cfw_client.py +330 -132
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +80 -32
- tccli/services/ckafka/ckafka_client.py +1149 -259
- tccli/services/ckafka/v20190819/api.json +3738 -1696
- tccli/services/ckafka/v20190819/examples.json +266 -162
- tccli/services/clb/clb_client.py +1054 -469
- tccli/services/clb/v20180317/api.json +2273 -1020
- tccli/services/clb/v20180317/examples.json +184 -124
- tccli/services/cloudaudit/cloudaudit_client.py +90 -36
- tccli/services/cls/cls_client.py +434 -173
- tccli/services/cmq/cmq_client.py +14 -803
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +30 -12
- tccli/services/controlcenter/controlcenter_client.py +229 -2
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/csip/csip_client.py +339 -78
- tccli/services/csip/v20221121/api.json +1011 -38
- tccli/services/csip/v20221121/examples.json +24 -0
- tccli/services/ctsdb/__init__.py +4 -0
- tccli/services/ctsdb/ctsdb_client.py +266 -0
- tccli/services/ctsdb/v20230202/api.json +677 -0
- tccli/services/ctsdb/v20230202/examples.json +20 -0
- tccli/services/cvm/cvm_client.py +706 -189
- tccli/services/cvm/v20170312/api.json +1003 -453
- tccli/services/cvm/v20170312/examples.json +176 -130
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +2272 -591
- tccli/services/cynosdb/v20190107/api.json +12480 -7740
- tccli/services/cynosdb/v20190107/examples.json +193 -9
- tccli/services/dataintegration/dataintegration_client.py +5 -2
- tccli/services/dayu/dayu_client.py +515 -206
- tccli/services/dbbrain/dbbrain_client.py +210 -84
- tccli/services/dc/dc_client.py +90 -36
- tccli/services/dcdb/dcdb_client.py +310 -124
- tccli/services/dlc/dlc_client.py +859 -214
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +10 -4
- tccli/services/dnspod/dnspod_client.py +390 -111
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +120 -48
- tccli/services/dts/dts_client.py +415 -166
- tccli/services/eb/eb_client.py +130 -52
- tccli/services/ecdn/ecdn_client.py +75 -30
- tccli/services/ecm/ecm_client.py +620 -248
- tccli/services/eiam/eiam_client.py +200 -80
- tccli/services/emr/emr_client.py +3104 -117
- tccli/services/emr/v20190103/api.json +15311 -4361
- tccli/services/emr/v20190103/examples.json +452 -42
- tccli/services/es/es_client.py +105 -42
- tccli/services/facefusion/facefusion_client.py +15 -6
- tccli/services/faceid/faceid_client.py +95 -38
- tccli/services/faceid/v20180301/api.json +172 -45
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +440 -176
- tccli/services/gme/gme_client.py +50 -20
- tccli/services/gpm/gpm_client.py +90 -36
- tccli/services/gse/gse_client.py +110 -44
- tccli/services/gwlb/gwlb_client.py +90 -36
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +490 -0
- tccli/services/hunyuan/v20230901/api.json +566 -0
- tccli/services/hunyuan/v20230901/examples.json +52 -0
- tccli/services/iai/iai_client.py +145 -58
- tccli/services/iai/v20200303/api.json +187 -51
- tccli/services/iai/v20200303/examples.json +30 -12
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ims/ims_client.py +5 -2
- tccli/services/ims/v20201229/api.json +133 -141
- tccli/services/ims/v20201229/examples.json +3 -3
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +363 -78
- tccli/services/intlpartnersmgt/v20220928/api.json +513 -22
- tccli/services/intlpartnersmgt/v20220928/examples.json +24 -0
- tccli/services/iotcloud/iotcloud_client.py +100 -40
- tccli/services/iotcloud/v20210408/api.json +216 -107
- tccli/services/iotcloud/v20210408/examples.json +9 -9
- tccli/services/ip/ip_client.py +30 -12
- tccli/services/kms/kms_client.py +1226 -227
- tccli/services/kms/v20190118/api.json +1465 -123
- tccli/services/kms/v20190118/examples.json +129 -3
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +730 -172
- tccli/services/lighthouse/v20200324/api.json +502 -14
- tccli/services/lighthouse/v20200324/examples.json +59 -5
- tccli/services/live/live_client.py +804 -232
- tccli/services/live/v20180801/api.json +272 -0
- tccli/services/live/v20180801/examples.json +32 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +5194 -0
- tccli/services/lke/v20231130/api.json +14803 -0
- tccli/services/lke/v20231130/examples.json +736 -0
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +602 -0
- tccli/services/lkeap/v20240522/api.json +989 -0
- tccli/services/lkeap/v20240522/examples.json +92 -0
- tccli/services/mariadb/mariadb_client.py +250 -100
- tccli/services/mdc/mdc_client.py +90 -36
- tccli/services/mdl/mdl_client.py +402 -82
- tccli/services/mdl/v20200326/api.json +1437 -100
- tccli/services/mdl/v20200326/examples.json +48 -16
- tccli/services/mdp/mdp_client.py +785 -122
- tccli/services/mdp/v20200527/api.json +1336 -49
- tccli/services/mdp/v20200527/examples.json +151 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +1452 -136
- tccli/services/mongodb/v20190725/api.json +4393 -1462
- tccli/services/mongodb/v20190725/examples.json +265 -71
- tccli/services/monitor/monitor_client.py +1008 -296
- tccli/services/monitor/v20180724/api.json +664 -15
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +1878 -379
- tccli/services/mps/v20190612/api.json +7473 -1626
- tccli/services/mps/v20190612/examples.json +276 -82
- tccli/services/mqtt/__init__.py +4 -0
- tccli/services/mqtt/mqtt_client.py +1610 -0
- tccli/services/mqtt/v20240516/api.json +3057 -0
- tccli/services/mqtt/v20240516/examples.json +213 -0
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +515 -74
- tccli/services/ocr/v20181119/api.json +1991 -168
- tccli/services/ocr/v20181119/examples.json +58 -4
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/organization/organization_client.py +580 -232
- tccli/services/postgres/postgres_client.py +455 -182
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +206 -60
- tccli/services/privatedns/v20201028/api.json +179 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/pts/pts_client.py +240 -96
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +5 -2
- tccli/services/redis/redis_client.py +698 -212
- tccli/services/redis/v20180412/api.json +968 -563
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/__init__.py +4 -0
- tccli/services/region/region_client.py +322 -0
- tccli/services/region/v20220627/api.json +399 -0
- tccli/services/region/v20220627/examples.json +29 -0
- tccli/services/rum/rum_client.py +300 -120
- tccli/services/scf/scf_client.py +210 -84
- tccli/services/ses/ses_client.py +368 -69
- tccli/services/ses/v20201002/api.json +240 -0
- tccli/services/ses/v20201002/examples.json +32 -0
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/sms/sms_client.py +90 -36
- tccli/services/sqlserver/sqlserver_client.py +3855 -470
- tccli/services/sqlserver/v20180328/api.json +9757 -3347
- tccli/services/sqlserver/v20180328/examples.json +480 -20
- tccli/services/ssl/ssl_client.py +504 -72
- tccli/services/ssl/v20191205/api.json +789 -21
- tccli/services/ssl/v20191205/examples.json +54 -0
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +25 -10
- tccli/services/tag/tag_client.py +150 -60
- tccli/services/tat/tat_client.py +95 -38
- tccli/services/tbaas/tbaas_client.py +20 -8
- tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +5 -2
- tccli/services/tcmpp/tcmpp_client.py +520 -208
- tccli/services/tcr/tcr_client.py +380 -152
- tccli/services/tcsas/tcsas_client.py +295 -118
- tccli/services/tcsas/v20250106/api.json +1084 -980
- tccli/services/tcsas/v20250106/examples.json +15 -15
- tccli/services/tcss/tcss_client.py +1650 -660
- tccli/services/tdid/tdid_client.py +240 -96
- tccli/services/tdmq/tdmq_client.py +2876 -466
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/tem/tem_client.py +280 -112
- tccli/services/teo/teo_client.py +4507 -966
- tccli/services/teo/v20220901/api.json +7341 -1405
- tccli/services/teo/v20220901/examples.json +679 -99
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +255 -102
- tccli/services/tke/tke_client.py +858 -276
- tccli/services/tke/v20180525/api.json +227 -0
- tccli/services/tke/v20180525/examples.json +24 -0
- tccli/services/tms/tms_client.py +5 -2
- tccli/services/tms/v20201229/api.json +91 -100
- tccli/services/tmt/tmt_client.py +5 -2
- tccli/services/trabbit/trabbit_client.py +145 -58
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/trro/trro_client.py +95 -38
- tccli/services/trtc/trtc_client.py +928 -192
- tccli/services/trtc/v20190722/api.json +1810 -256
- tccli/services/trtc/v20190722/examples.json +100 -6
- tccli/services/tts/tts_client.py +5 -2
- tccli/services/vclm/vclm_client.py +10 -4
- tccli/services/vm/v20210922/api.json +61 -30
- tccli/services/vm/v20210922/examples.json +0 -12
- tccli/services/vm/vm_client.py +20 -8
- tccli/services/vod/v20180717/api.json +531 -54
- tccli/services/vod/v20180717/examples.json +25 -7
- tccli/services/vod/v20240718/api.json +1105 -0
- tccli/services/vod/v20240718/examples.json +97 -0
- tccli/services/vod/vod_client.py +1428 -350
- tccli/services/vpc/v20170312/api.json +1031 -133
- tccli/services/vpc/v20170312/examples.json +119 -23
- tccli/services/vpc/vpc_client.py +2159 -644
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1149 -245
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6067 -1263
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/RECORD +292 -232
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/top_level.txt +0 -0
|
@@ -469,6 +469,13 @@
|
|
|
469
469
|
"output": "DescribeClustersResponse",
|
|
470
470
|
"status": "online"
|
|
471
471
|
},
|
|
472
|
+
"DescribeControlPlaneLogs": {
|
|
473
|
+
"document": "This API is used to query plug-in log collection settings.",
|
|
474
|
+
"input": "DescribeControlPlaneLogsRequest",
|
|
475
|
+
"name": "Query the collection enable status of managed component logs for a user",
|
|
476
|
+
"output": "DescribeControlPlaneLogsResponse",
|
|
477
|
+
"status": "online"
|
|
478
|
+
},
|
|
472
479
|
"DescribeECMInstances": {
|
|
473
480
|
"document": "This API is used to obtain the ECM instance information.",
|
|
474
481
|
"input": "DescribeECMInstancesRequest",
|
|
@@ -679,6 +686,13 @@
|
|
|
679
686
|
"output": "DisableClusterDeletionProtectionResponse",
|
|
680
687
|
"status": "online"
|
|
681
688
|
},
|
|
689
|
+
"DisableControlPlaneLogs": {
|
|
690
|
+
"document": "This API is used to delete the log collection configuration of a plugin.",
|
|
691
|
+
"input": "DisableControlPlaneLogsRequest",
|
|
692
|
+
"name": "Disable user managed component log collection",
|
|
693
|
+
"output": "DisableControlPlaneLogsResponse",
|
|
694
|
+
"status": "online"
|
|
695
|
+
},
|
|
682
696
|
"DisableEncryptionProtection": {
|
|
683
697
|
"document": "This API is used to disable encryption protection.",
|
|
684
698
|
"input": "DisableEncryptionProtectionRequest",
|
|
@@ -700,6 +714,13 @@
|
|
|
700
714
|
"output": "EnableClusterDeletionProtectionResponse",
|
|
701
715
|
"status": "online"
|
|
702
716
|
},
|
|
717
|
+
"EnableControlPlaneLogs": {
|
|
718
|
+
"document": "This API is used to create log collection settings for plugins.",
|
|
719
|
+
"input": "EnableControlPlaneLogsRequest",
|
|
720
|
+
"name": "Enable log collection for managed components in specified clusters",
|
|
721
|
+
"output": "EnableControlPlaneLogsResponse",
|
|
722
|
+
"status": "online"
|
|
723
|
+
},
|
|
703
724
|
"EnableEncryptionProtection": {
|
|
704
725
|
"document": "This API is used to enable Encrypted Data Protection, which requires enabling KMS capability and completing KMS authorization.",
|
|
705
726
|
"input": "EnableEncryptionProtectionRequest",
|
|
@@ -3261,6 +3282,67 @@
|
|
|
3261
3282
|
],
|
|
3262
3283
|
"usage": "out"
|
|
3263
3284
|
},
|
|
3285
|
+
"ComponentLogConfig": {
|
|
3286
|
+
"document": "Component log collection configuration.",
|
|
3287
|
+
"members": [
|
|
3288
|
+
{
|
|
3289
|
+
"disabled": false,
|
|
3290
|
+
"document": "Component name",
|
|
3291
|
+
"example": "kapenter",
|
|
3292
|
+
"member": "string",
|
|
3293
|
+
"name": "Name",
|
|
3294
|
+
"output_required": true,
|
|
3295
|
+
"required": true,
|
|
3296
|
+
"type": "string",
|
|
3297
|
+
"value_allowed_null": false
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"disabled": false,
|
|
3301
|
+
"document": "Log level. for components that support dynamic adjustment, you can specify this parameter when enabling logs.",
|
|
3302
|
+
"example": "2",
|
|
3303
|
+
"member": "int64",
|
|
3304
|
+
"name": "LogLevel",
|
|
3305
|
+
"output_required": true,
|
|
3306
|
+
"required": false,
|
|
3307
|
+
"type": "int",
|
|
3308
|
+
"value_allowed_null": false
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
"disabled": false,
|
|
3312
|
+
"document": "Logset ID. if not specified, auto-create.",
|
|
3313
|
+
"example": "2912eb16-a56c-4b9b-adb0-9828db1ad342",
|
|
3314
|
+
"member": "string",
|
|
3315
|
+
"name": "LogSetId",
|
|
3316
|
+
"output_required": true,
|
|
3317
|
+
"required": false,
|
|
3318
|
+
"type": "string",
|
|
3319
|
+
"value_allowed_null": false
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"disabled": false,
|
|
3323
|
+
"document": "Log topic ID. if not specified, auto-create.",
|
|
3324
|
+
"example": "2912eb16-a56c-4b9b-adb0-9828db1ad342",
|
|
3325
|
+
"member": "string",
|
|
3326
|
+
"name": "TopicId",
|
|
3327
|
+
"output_required": true,
|
|
3328
|
+
"required": false,
|
|
3329
|
+
"type": "string",
|
|
3330
|
+
"value_allowed_null": false
|
|
3331
|
+
},
|
|
3332
|
+
{
|
|
3333
|
+
"disabled": false,
|
|
3334
|
+
"document": "topic region. this parameter enables cross-region shipping of logs.",
|
|
3335
|
+
"example": "ap-guangzhou",
|
|
3336
|
+
"member": "string",
|
|
3337
|
+
"name": "TopicRegion",
|
|
3338
|
+
"output_required": true,
|
|
3339
|
+
"required": false,
|
|
3340
|
+
"type": "string",
|
|
3341
|
+
"value_allowed_null": false
|
|
3342
|
+
}
|
|
3343
|
+
],
|
|
3344
|
+
"usage": "both"
|
|
3345
|
+
},
|
|
3264
3346
|
"CreateBackupStorageLocationRequest": {
|
|
3265
3347
|
"document": "CreateBackupStorageLocation request structure.",
|
|
3266
3348
|
"members": [
|
|
@@ -7036,6 +7118,52 @@
|
|
|
7036
7118
|
],
|
|
7037
7119
|
"type": "object"
|
|
7038
7120
|
},
|
|
7121
|
+
"DescribeControlPlaneLogsRequest": {
|
|
7122
|
+
"document": "DescribeControlPlaneLogs request structure.",
|
|
7123
|
+
"members": [
|
|
7124
|
+
{
|
|
7125
|
+
"disabled": false,
|
|
7126
|
+
"document": "Cluster ID",
|
|
7127
|
+
"example": "cls-kaftesta",
|
|
7128
|
+
"member": "string",
|
|
7129
|
+
"name": "ClusterId",
|
|
7130
|
+
"required": true,
|
|
7131
|
+
"type": "string"
|
|
7132
|
+
},
|
|
7133
|
+
{
|
|
7134
|
+
"disabled": false,
|
|
7135
|
+
"document": "Cluster type. currently only support tke.",
|
|
7136
|
+
"example": "tke",
|
|
7137
|
+
"member": "string",
|
|
7138
|
+
"name": "ClusterType",
|
|
7139
|
+
"required": true,
|
|
7140
|
+
"type": "string"
|
|
7141
|
+
}
|
|
7142
|
+
],
|
|
7143
|
+
"type": "object"
|
|
7144
|
+
},
|
|
7145
|
+
"DescribeControlPlaneLogsResponse": {
|
|
7146
|
+
"document": "DescribeControlPlaneLogs response structure.",
|
|
7147
|
+
"members": [
|
|
7148
|
+
{
|
|
7149
|
+
"disabled": false,
|
|
7150
|
+
"document": "Specifies the query result of log collection configuration.",
|
|
7151
|
+
"example": "无",
|
|
7152
|
+
"member": "ComponentLogConfig",
|
|
7153
|
+
"name": "Details",
|
|
7154
|
+
"output_required": false,
|
|
7155
|
+
"type": "list",
|
|
7156
|
+
"value_allowed_null": false
|
|
7157
|
+
},
|
|
7158
|
+
{
|
|
7159
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
7160
|
+
"member": "string",
|
|
7161
|
+
"name": "RequestId",
|
|
7162
|
+
"type": "string"
|
|
7163
|
+
}
|
|
7164
|
+
],
|
|
7165
|
+
"type": "object"
|
|
7166
|
+
},
|
|
7039
7167
|
"DescribeECMInstancesRequest": {
|
|
7040
7168
|
"document": "DescribeECMInstances request structure.",
|
|
7041
7169
|
"members": [
|
|
@@ -9042,6 +9170,60 @@
|
|
|
9042
9170
|
],
|
|
9043
9171
|
"type": "object"
|
|
9044
9172
|
},
|
|
9173
|
+
"DisableControlPlaneLogsRequest": {
|
|
9174
|
+
"document": "DisableControlPlaneLogs request structure.",
|
|
9175
|
+
"members": [
|
|
9176
|
+
{
|
|
9177
|
+
"disabled": false,
|
|
9178
|
+
"document": "Cluster ID",
|
|
9179
|
+
"example": "cls-kaftesta",
|
|
9180
|
+
"member": "string",
|
|
9181
|
+
"name": "ClusterId",
|
|
9182
|
+
"required": true,
|
|
9183
|
+
"type": "string"
|
|
9184
|
+
},
|
|
9185
|
+
{
|
|
9186
|
+
"disabled": false,
|
|
9187
|
+
"document": "Cluster type. currently only support tke.",
|
|
9188
|
+
"example": "tke",
|
|
9189
|
+
"member": "string",
|
|
9190
|
+
"name": "ClusterType",
|
|
9191
|
+
"required": true,
|
|
9192
|
+
"type": "string"
|
|
9193
|
+
},
|
|
9194
|
+
{
|
|
9195
|
+
"disabled": false,
|
|
9196
|
+
"document": "Component name list. currently supports cluster-autoscaler, kapenter.",
|
|
9197
|
+
"example": "[\"karpenter\"]",
|
|
9198
|
+
"member": "string",
|
|
9199
|
+
"name": "ComponentNames",
|
|
9200
|
+
"required": true,
|
|
9201
|
+
"type": "list"
|
|
9202
|
+
},
|
|
9203
|
+
{
|
|
9204
|
+
"disabled": false,
|
|
9205
|
+
"document": "Specifies whether to delete the logset and topic. if the logset and topic are in use by other collection rules, they will not be deleted.",
|
|
9206
|
+
"example": "false",
|
|
9207
|
+
"member": "bool",
|
|
9208
|
+
"name": "DeleteLogSetAndTopic",
|
|
9209
|
+
"required": false,
|
|
9210
|
+
"type": "bool"
|
|
9211
|
+
}
|
|
9212
|
+
],
|
|
9213
|
+
"type": "object"
|
|
9214
|
+
},
|
|
9215
|
+
"DisableControlPlaneLogsResponse": {
|
|
9216
|
+
"document": "DisableControlPlaneLogs response structure.",
|
|
9217
|
+
"members": [
|
|
9218
|
+
{
|
|
9219
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
9220
|
+
"member": "string",
|
|
9221
|
+
"name": "RequestId",
|
|
9222
|
+
"type": "string"
|
|
9223
|
+
}
|
|
9224
|
+
],
|
|
9225
|
+
"type": "object"
|
|
9226
|
+
},
|
|
9045
9227
|
"DisableEncryptionProtectionRequest": {
|
|
9046
9228
|
"document": "DisableEncryptionProtection request structure.",
|
|
9047
9229
|
"members": [
|
|
@@ -9666,6 +9848,51 @@
|
|
|
9666
9848
|
],
|
|
9667
9849
|
"type": "object"
|
|
9668
9850
|
},
|
|
9851
|
+
"EnableControlPlaneLogsRequest": {
|
|
9852
|
+
"document": "EnableControlPlaneLogs request structure.",
|
|
9853
|
+
"members": [
|
|
9854
|
+
{
|
|
9855
|
+
"disabled": false,
|
|
9856
|
+
"document": "Cluster ID",
|
|
9857
|
+
"example": "cls-kaftesta",
|
|
9858
|
+
"member": "string",
|
|
9859
|
+
"name": "ClusterId",
|
|
9860
|
+
"required": true,
|
|
9861
|
+
"type": "string"
|
|
9862
|
+
},
|
|
9863
|
+
{
|
|
9864
|
+
"disabled": false,
|
|
9865
|
+
"document": "Cluster type. currently only support tke.",
|
|
9866
|
+
"example": "tke",
|
|
9867
|
+
"member": "string",
|
|
9868
|
+
"name": "ClusterType",
|
|
9869
|
+
"required": true,
|
|
9870
|
+
"type": "string"
|
|
9871
|
+
},
|
|
9872
|
+
{
|
|
9873
|
+
"disabled": false,
|
|
9874
|
+
"document": "Component name list. currently supports cluster-autoscaler, kapenter.",
|
|
9875
|
+
"example": "无",
|
|
9876
|
+
"member": "ComponentLogConfig",
|
|
9877
|
+
"name": "Components",
|
|
9878
|
+
"required": true,
|
|
9879
|
+
"type": "list"
|
|
9880
|
+
}
|
|
9881
|
+
],
|
|
9882
|
+
"type": "object"
|
|
9883
|
+
},
|
|
9884
|
+
"EnableControlPlaneLogsResponse": {
|
|
9885
|
+
"document": "EnableControlPlaneLogs response structure.",
|
|
9886
|
+
"members": [
|
|
9887
|
+
{
|
|
9888
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
9889
|
+
"member": "string",
|
|
9890
|
+
"name": "RequestId",
|
|
9891
|
+
"type": "string"
|
|
9892
|
+
}
|
|
9893
|
+
],
|
|
9894
|
+
"type": "object"
|
|
9895
|
+
},
|
|
9669
9896
|
"EnableEncryptionProtectionRequest": {
|
|
9670
9897
|
"document": "EnableEncryptionProtection request structure.",
|
|
9671
9898
|
"members": [
|
|
@@ -548,6 +548,14 @@
|
|
|
548
548
|
"title": "Querying the list of clusters"
|
|
549
549
|
}
|
|
550
550
|
],
|
|
551
|
+
"DescribeControlPlaneLogs": [
|
|
552
|
+
{
|
|
553
|
+
"document": "This example shows you how to call when querying plug-in log collection settings.",
|
|
554
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeControlPlaneLogs\n<Common request parameters>\n\n{\n \"ClusterId\": \"cls-kaftesta\",\n \"ClusterType\": \"tke\"\n}",
|
|
555
|
+
"output": "{\n \"Response\": {\n \"Details\": [\n {\n \"Name\": \"karpenter\",\n \"LogLevel\": 2,\n \"LogSetId\": \"2912eb16-a56c-4b9b-adb0-9828db1ad342\",\n \"TopicRegion\": \"ap-guangzhou\",\n \"TopicId\": \"2912eb16-a56c-4b9b-adb0-9828db1ad342\"\n }\n ],\n \"RequestId\": \"583e6c4b-ff24-42f8-87f1-37e4c00d81b7\"\n }\n}",
|
|
556
|
+
"title": "Querying Plug-In Log Collection Settings"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
551
559
|
"DescribeECMInstances": [
|
|
552
560
|
{
|
|
553
561
|
"document": "This example shows you how to obtain the information of instances in a cluster.",
|
|
@@ -806,6 +814,14 @@
|
|
|
806
814
|
"title": "Disabling cluster deletion protection"
|
|
807
815
|
}
|
|
808
816
|
],
|
|
817
|
+
"DisableControlPlaneLogs": [
|
|
818
|
+
{
|
|
819
|
+
"document": "This example shows you how to call the log collection settings when deleting a plugin.",
|
|
820
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisableControlPlaneLogs\n<Common request parameters>\n\n{\n \"ClusterId\": \"cls-kaftesta\",\n \"ClusterType\": \"tke\",\n \"ComponentNames\": [\n \"karpenter\"\n ],\n \"DeleteLogSetAndTopic\": false\n}",
|
|
821
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
|
822
|
+
"title": "Delete Plugin Log Collection Settings"
|
|
823
|
+
}
|
|
824
|
+
],
|
|
809
825
|
"DisableEncryptionProtection": [
|
|
810
826
|
{
|
|
811
827
|
"document": "This example shows you how to disable encryption protection.",
|
|
@@ -830,6 +846,14 @@
|
|
|
830
846
|
"title": "Enabling cluster deletion protection"
|
|
831
847
|
}
|
|
832
848
|
],
|
|
849
|
+
"EnableControlPlaneLogs": [
|
|
850
|
+
{
|
|
851
|
+
"document": "This example shows you how to call when creating plugin log collection settings.",
|
|
852
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableControlPlaneLogs\n<Common request parameters>\n\n{\n \"ClusterId\": \"cls-kaftesta\",\n \"ClusterType\": \"tke\",\n \"Components\": [\n {\n \"LogLevel\": 2,\n \"LogSetId\": \"2912eb16-a56c-4b9b-adb0-9828db1ad342\",\n \"Name\": \"kapenter\",\n \"TopicId\": \"2912eb16-a56c-4b9b-adb0-9828db1ad342\",\n \"TopicRegion\": \"ap-guangzhou\"\n }\n ]\n}",
|
|
853
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f12a6e20-f950-4af9-8f8b-b6329a4961c2\"\n }\n}",
|
|
854
|
+
"title": "Creating Plugin Log Collection Configuration"
|
|
855
|
+
}
|
|
856
|
+
],
|
|
833
857
|
"EnableEncryptionProtection": [
|
|
834
858
|
{
|
|
835
859
|
"document": "This example shows you how to enable encryption protection.",
|
tccli/services/tms/tms_client.py
CHANGED
|
@@ -27,7 +27,10 @@ def doTextModeration(args, parsed_globals):
|
|
|
27
27
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
28
28
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
29
29
|
)
|
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
30
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
31
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
32
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
33
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
31
34
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
32
35
|
else:
|
|
33
36
|
cred = credential.Credential(
|
|
@@ -39,7 +42,7 @@ def doTextModeration(args, parsed_globals):
|
|
|
39
42
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
40
43
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
41
44
|
)
|
|
42
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
45
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
43
46
|
if g_param[OptionsDefine.Language]:
|
|
44
47
|
profile.language = g_param[OptionsDefine.Language]
|
|
45
48
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|