tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.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/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/configure.py +46 -1
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -3
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cdn/v20180606/api.json +5 -3
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +54 -4
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +73 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +279 -9
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +10 -12
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2263 -758
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +293 -52
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -64,7 +64,7 @@
|
|
64
64
|
"status": "online"
|
65
65
|
},
|
66
66
|
"CreateLoadBalancer": {
|
67
|
-
"document": "本接口(CreateLoadBalancer)用来创建负载均衡实例(本接口只支持购买按量计费的负载均衡,包年包月的负载均衡请通过控制台购买)。为了使用负载均衡服务,您必须购买一个或多个负载均衡实例。成功调用该接口后,会返回负载均衡实例的唯一 ID。负载均衡实例的类型分为:公网、内网。详情可参考产品说明中的产品类型。\n注意:(1)
|
67
|
+
"document": "本接口(CreateLoadBalancer)用来创建负载均衡实例(本接口只支持购买按量计费的负载均衡,包年包月的负载均衡请通过控制台购买)。为了使用负载均衡服务,您必须购买一个或多个负载均衡实例。成功调用该接口后,会返回负载均衡实例的唯一 ID。负载均衡实例的类型分为:公网、内网。详情可参考产品说明中的产品类型。\n注意:(1)可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域是否支持创建IPv6实例;(2)一个账号在每个地域的默认购买配额为:公网100个,内网100个。\n本接口为异步接口,接口成功返回后,可使用 DescribeLoadBalancers 接口查询负载均衡实例的状态(如创建中、正常),以确定是否创建成功。",
|
68
68
|
"input": "CreateLoadBalancerRequest",
|
69
69
|
"name": "购买负载均衡实例",
|
70
70
|
"output": "CreateLoadBalancerResponse",
|
@@ -801,7 +801,7 @@
|
|
801
801
|
"members": [
|
802
802
|
{
|
803
803
|
"disabled": false,
|
804
|
-
"document": "后端服务的类型,可取:CVM、ENI、CCN",
|
804
|
+
"document": "后端服务的类型,可取:CVM、ENI、CCN、EVM、GLOBALROUTE、NAT、SRV等",
|
805
805
|
"example": "CVM",
|
806
806
|
"member": "string",
|
807
807
|
"name": "Type",
|
@@ -1945,7 +1945,7 @@
|
|
1945
1945
|
},
|
1946
1946
|
{
|
1947
1947
|
"disabled": false,
|
1948
|
-
"document": "仅适用于公网负载均衡。目前仅广州、上海、南京、济南、杭州、福州、北京、石家庄、武汉、长沙、成都、重庆地域支持静态单线 IP 线路类型,如需体验,请联系商务经理申请。申请通过后,即可选择中国移动(CMCC)、中国联通(CUCC)或中国电信(CTCC)的运营商类型,网络计费模式只能使用按带宽包计费(BANDWIDTH_PACKAGE)。 如果不指定本参数,则默认使用BGP。可通过 DescribeResources 接口查询一个地域所支持的Isp
|
1948
|
+
"document": "仅适用于公网负载均衡。目前仅广州、上海、南京、济南、杭州、福州、北京、石家庄、武汉、长沙、成都、重庆地域支持静态单线 IP 线路类型,如需体验,请联系商务经理申请。申请通过后,即可选择中国移动(CMCC)、中国联通(CUCC)或中国电信(CTCC)的运营商类型,网络计费模式只能使用按带宽包计费(BANDWIDTH_PACKAGE)。 如果不指定本参数,则默认使用BGP。可通过 DescribeResources 接口查询一个地域所支持的Isp。",
|
1949
1949
|
"example": "CMCC",
|
1950
1950
|
"member": "string",
|
1951
1951
|
"name": "VipIsp",
|
@@ -2017,8 +2017,8 @@
|
|
2017
2017
|
},
|
2018
2018
|
{
|
2019
2019
|
"disabled": false,
|
2020
|
-
"document": "性能容量型规格。<li>clb.c2.medium(标准型)</li><li>clb.c3.small(高阶型1)</li><li>clb.c3.medium(高阶型2)</li
|
2021
|
-
"example": "
|
2020
|
+
"document": "性能容量型规格。<li>clb.c2.medium(标准型)</li><li>clb.c3.small(高阶型1)</li><li>clb.c3.medium(高阶型2)</li><li>clb.c4.small(超强型1)</li><li>clb.c4.medium(超强型2)</li><li>clb.c4.large(超强型3)</li><li>clb.c4.xlarge(超强型4)</li>",
|
2021
|
+
"example": "clb.c2.medium",
|
2022
2022
|
"member": "string",
|
2023
2023
|
"name": "SlaType",
|
2024
2024
|
"required": false,
|
@@ -2834,7 +2834,7 @@
|
|
2834
2834
|
{
|
2835
2835
|
"disabled": false,
|
2836
2836
|
"document": "负载均衡实例的名称,只在创建一个实例的时候才会生效。规则:1-60 个英文、汉字、数字、连接线“-”或下划线“_”。\n注意:如果名称与系统中已有负载均衡实例的名称相同,则系统将会自动生成此次创建的负载均衡实例的名称。",
|
2837
|
-
"example": "test",
|
2837
|
+
"example": "test-cvm-bussiness",
|
2838
2838
|
"member": "string",
|
2839
2839
|
"name": "LoadBalancerName",
|
2840
2840
|
"required": false,
|
@@ -2887,7 +2887,7 @@
|
|
2887
2887
|
},
|
2888
2888
|
{
|
2889
2889
|
"disabled": false,
|
2890
|
-
"document": "
|
2890
|
+
"document": "仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的主可用区ID,例如 100001 或 ap-guangzhou-1\n注:主可用区是需要承载流量的可用区,备可用区默认不承载流量,主可用区不可用时才使用备可用区。目前仅广州、上海、南京、北京、成都、深圳金融、中国香港、首尔、法兰克福、新加坡地域的 IPv4 版本的 CLB 支持主备可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主可用区的列表。【如果您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)】",
|
2891
2891
|
"example": "ap-guangzhou-1",
|
2892
2892
|
"member": "string",
|
2893
2893
|
"name": "MasterZoneId",
|
@@ -2896,7 +2896,7 @@
|
|
2896
2896
|
},
|
2897
2897
|
{
|
2898
2898
|
"disabled": false,
|
2899
|
-
"document": "
|
2899
|
+
"document": "仅适用于公网且IP版本为IPv4的负载均衡。可用区ID,指定可用区以创建负载均衡实例。如:ap-guangzhou-1。",
|
2900
2900
|
"example": "ap-guangzhou-1",
|
2901
2901
|
"member": "string",
|
2902
2902
|
"name": "ZoneId",
|
@@ -3005,7 +3005,7 @@
|
|
3005
3005
|
{
|
3006
3006
|
"disabled": false,
|
3007
3007
|
"document": "Stgw独占集群的标签。",
|
3008
|
-
"example": "
|
3008
|
+
"example": "ziyan",
|
3009
3009
|
"member": "string",
|
3010
3010
|
"name": "ClusterTag",
|
3011
3011
|
"required": false,
|
@@ -3013,7 +3013,7 @@
|
|
3013
3013
|
},
|
3014
3014
|
{
|
3015
3015
|
"disabled": false,
|
3016
|
-
"document": "
|
3016
|
+
"document": "仅适用于公网且IP版本为IPv4的负载均衡。设置跨可用区容灾时的备可用区ID,例如 100001 或 ap-guangzhou-1\n注:备可用区是主可用区故障后,需要承载流量的可用区。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域的主/备可用区的列表。【如果您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)】",
|
3017
3017
|
"example": "ap-guangzhou-1",
|
3018
3018
|
"member": "string",
|
3019
3019
|
"name": "SlaveZoneId",
|
@@ -3744,7 +3744,7 @@
|
|
3744
3744
|
{
|
3745
3745
|
"disabled": false,
|
3746
3746
|
"document": "负载均衡监听器 ID。",
|
3747
|
-
"example": "
|
3747
|
+
"example": "lbl-1234tgbh",
|
3748
3748
|
"member": "string",
|
3749
3749
|
"name": "ListenerId",
|
3750
3750
|
"required": true,
|
@@ -4978,7 +4978,7 @@
|
|
4978
4978
|
},
|
4979
4979
|
{
|
4980
4980
|
"disabled": false,
|
4981
|
-
"document": "当Fields包含TargetId、TargetAddress、TargetPort、TargetWeight、ListenerId、Protocol、Port、LocationId、Domain、Url等Fields时,必选选择导出目标组的Target或者非目标组Target
|
4981
|
+
"document": "当Fields包含TargetId、TargetAddress、TargetPort、TargetWeight、ListenerId、Protocol、Port、LocationId、Domain、Url等Fields时,必选选择导出目标组的Target或者非目标组Target,取值范围NODE、GROUP。",
|
4982
4982
|
"example": "NODE",
|
4983
4983
|
"member": "string",
|
4984
4984
|
"name": "TargetType",
|
@@ -5745,6 +5745,7 @@
|
|
5745
5745
|
"example": "0",
|
5746
5746
|
"member": "int64",
|
5747
5747
|
"name": "Status",
|
5748
|
+
"output_required": true,
|
5748
5749
|
"type": "int",
|
5749
5750
|
"value_allowed_null": false
|
5750
5751
|
},
|
@@ -5754,9 +5755,20 @@
|
|
5754
5755
|
"example": "[\"lb-6efswuxa\"]",
|
5755
5756
|
"member": "string",
|
5756
5757
|
"name": "LoadBalancerIds",
|
5758
|
+
"output_required": true,
|
5757
5759
|
"type": "list",
|
5758
5760
|
"value_allowed_null": true
|
5759
5761
|
},
|
5762
|
+
{
|
5763
|
+
"disabled": false,
|
5764
|
+
"document": "辅助描述信息,如失败原因等。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5765
|
+
"example": "无",
|
5766
|
+
"member": "string",
|
5767
|
+
"name": "Message",
|
5768
|
+
"output_required": false,
|
5769
|
+
"type": "string",
|
5770
|
+
"value_allowed_null": true
|
5771
|
+
},
|
5760
5772
|
{
|
5761
5773
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5762
5774
|
"member": "string",
|
@@ -7190,7 +7202,7 @@
|
|
7190
7202
|
},
|
7191
7203
|
{
|
7192
7204
|
"disabled": false,
|
7193
|
-
"document": "负载均衡实例的网络类型:\nOPEN:公网属性, INTERNAL
|
7205
|
+
"document": "负载均衡实例的网络类型:\nOPEN:公网属性, INTERNAL:内网属性;对于内网属性的负载均衡,可通过绑定EIP出公网,具体可参考EIP文档。",
|
7194
7206
|
"example": "OPEN",
|
7195
7207
|
"member": "string",
|
7196
7208
|
"name": "LoadBalancerType",
|
@@ -7810,7 +7822,7 @@
|
|
7810
7822
|
},
|
7811
7823
|
{
|
7812
7824
|
"disabled": false,
|
7813
|
-
"document": "负载均衡实例的网络类型:\nOPEN:公网属性,INTERNAL
|
7825
|
+
"document": "负载均衡实例的网络类型:\nOPEN:公网属性,INTERNAL:内网属性;对于内网属性的负载均衡,可通过绑定EIP出公网,具体可参考EIP文档。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7814
7826
|
"example": "OPEN",
|
7815
7827
|
"member": "string",
|
7816
7828
|
"name": "LoadBalancerType",
|
@@ -8670,7 +8682,7 @@
|
|
8670
8682
|
{
|
8671
8683
|
"disabled": false,
|
8672
8684
|
"document": "负载均衡监听器ID。",
|
8673
|
-
"example": "
|
8685
|
+
"example": "lbl-1234tgbh",
|
8674
8686
|
"member": "string",
|
8675
8687
|
"name": "ListenerId",
|
8676
8688
|
"required": true,
|
@@ -9184,7 +9196,7 @@
|
|
9184
9196
|
{
|
9185
9197
|
"disabled": false,
|
9186
9198
|
"document": "TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。",
|
9187
|
-
"example": "
|
9199
|
+
"example": "TestCallee",
|
9188
9200
|
"member": "string",
|
9189
9201
|
"name": "TrpcCallee",
|
9190
9202
|
"required": false,
|
@@ -9193,7 +9205,7 @@
|
|
9193
9205
|
{
|
9194
9206
|
"disabled": false,
|
9195
9207
|
"document": "TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。",
|
9196
|
-
"example": "
|
9208
|
+
"example": "TestFunc",
|
9197
9209
|
"member": "string",
|
9198
9210
|
"name": "TrpcFunc",
|
9199
9211
|
"required": false,
|
@@ -9643,7 +9655,7 @@
|
|
9643
9655
|
{
|
9644
9656
|
"disabled": false,
|
9645
9657
|
"document": "负载均衡监听器 ID。",
|
9646
|
-
"example": "
|
9658
|
+
"example": "lbl-1234tgbh",
|
9647
9659
|
"member": "string",
|
9648
9660
|
"name": "ListenerId",
|
9649
9661
|
"required": true,
|
@@ -11082,7 +11094,7 @@
|
|
11082
11094
|
},
|
11083
11095
|
{
|
11084
11096
|
"disabled": false,
|
11085
|
-
"document": "绑定CVM时需要传入此参数,代表CVM的唯一 ID,可通过 DescribeInstances 接口返回字段中的 InstanceId 字段获取。表示绑定主网卡主IP
|
11097
|
+
"document": "绑定CVM时需要传入此参数,代表CVM的唯一 ID,可通过 DescribeInstances 接口返回字段中的 InstanceId 字段获取。表示绑定主网卡主IPv4地址;以下场景都不支持指定InstanceId:绑定非CVM,绑定CVM上的辅助网卡IP,通过跨域2.0绑定CVM,以及绑定CVM的IPv6地址等。\n注意:参数 InstanceId、EniIp 有且只能传入其中一个参数。\n注意:此字段可能返回 null,表示取不到有效值。",
|
11086
11098
|
"example": "ins-xxxxxxxx",
|
11087
11099
|
"member": "string",
|
11088
11100
|
"name": "InstanceId",
|
@@ -11425,7 +11437,7 @@
|
|
11425
11437
|
"example": "'10.0.0.1'",
|
11426
11438
|
"member": "string",
|
11427
11439
|
"name": "IP",
|
11428
|
-
"
|
11440
|
+
"output_required": true,
|
11429
11441
|
"type": "string",
|
11430
11442
|
"value_allowed_null": false
|
11431
11443
|
},
|
@@ -11435,7 +11447,7 @@
|
|
11435
11447
|
"example": "80",
|
11436
11448
|
"member": "int64",
|
11437
11449
|
"name": "Port",
|
11438
|
-
"
|
11450
|
+
"output_required": true,
|
11439
11451
|
"type": "int",
|
11440
11452
|
"value_allowed_null": false
|
11441
11453
|
},
|
@@ -11445,7 +11457,7 @@
|
|
11445
11457
|
"example": "true",
|
11446
11458
|
"member": "bool",
|
11447
11459
|
"name": "HealthStatus",
|
11448
|
-
"
|
11460
|
+
"output_required": true,
|
11449
11461
|
"type": "bool",
|
11450
11462
|
"value_allowed_null": false
|
11451
11463
|
},
|
@@ -11455,17 +11467,17 @@
|
|
11455
11467
|
"example": "'ins-12345678'",
|
11456
11468
|
"member": "string",
|
11457
11469
|
"name": "TargetId",
|
11458
|
-
"
|
11470
|
+
"output_required": true,
|
11459
11471
|
"type": "string",
|
11460
11472
|
"value_allowed_null": false
|
11461
11473
|
},
|
11462
11474
|
{
|
11463
11475
|
"disabled": false,
|
11464
|
-
"document": "当前健康状态的详细信息。如:Alive、Dead、Unknown。Alive状态为健康,Dead状态为异常,Unknown
|
11476
|
+
"document": "当前健康状态的详细信息。如:Alive、Dead、Unknown、Close。Alive状态为健康,Dead状态为异常,Unknown状态包括尚未开始探测、探测中、状态未知,Close表示健康检查关闭或监听器状态停止。",
|
11465
11477
|
"example": "'Alive'",
|
11466
11478
|
"member": "string",
|
11467
11479
|
"name": "HealthStatusDetail",
|
11468
|
-
"
|
11480
|
+
"output_required": true,
|
11469
11481
|
"type": "string",
|
11470
11482
|
"value_allowed_null": false
|
11471
11483
|
},
|
@@ -11475,9 +11487,19 @@
|
|
11475
11487
|
"example": "'Alive'",
|
11476
11488
|
"member": "string",
|
11477
11489
|
"name": "HealthStatusDetial",
|
11478
|
-
"
|
11490
|
+
"output_required": true,
|
11479
11491
|
"type": "string",
|
11480
11492
|
"value_allowed_null": false
|
11493
|
+
},
|
11494
|
+
{
|
11495
|
+
"disabled": false,
|
11496
|
+
"document": "目标组唯一ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
11497
|
+
"example": "lbtg-xxxxxxxx",
|
11498
|
+
"member": "string",
|
11499
|
+
"name": "TargetGroupId",
|
11500
|
+
"output_required": false,
|
11501
|
+
"type": "string",
|
11502
|
+
"value_allowed_null": true
|
11481
11503
|
}
|
11482
11504
|
],
|
11483
11505
|
"usage": "out"
|
@@ -105,7 +105,7 @@
|
|
105
105
|
"CreateLoadBalancer": [
|
106
106
|
{
|
107
107
|
"document": "在私有网络中创建一个公网负载均衡",
|
108
|
-
"input": "POST / HTTP/1.1\nHost: clb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLoadBalancer\n<公共请求参数>\n\n{\n \"Forward\": 1,\n \"ProjectId\": 0,\n \"LoadBalancerType\": \"OPEN\",\n \"VpcId\": \"vpc-30xqxt9p\",\n \"LoadBalancerName\": \"test\"\n}",
|
108
|
+
"input": "POST / HTTP/1.1\nHost: clb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLoadBalancer\n<公共请求参数>\n\n{\n \"Forward\": 1,\n \"ProjectId\": 0,\n \"LoadBalancerType\": \"OPEN\",\n \"VpcId\": \"vpc-30xqxt9p\",\n \"LoadBalancerName\": \"test-open\"\n}",
|
109
109
|
"output": "{\n \"Response\": {\n \"LoadBalancerIds\": [\n \"lb-6efswuxa\"\n ],\n \"DealName\": \"20220101660009831340631\",\n \"RequestId\": \"9b3f0b57-fb64-4918-8dd6-ce02604fb52c\"\n }\n}",
|
110
110
|
"title": "创建一个公网负载均衡实例"
|
111
111
|
},
|
@@ -191,6 +191,7 @@
|
|
191
191
|
"member": "string",
|
192
192
|
"name": "ParamKey",
|
193
193
|
"output_required": true,
|
194
|
+
"required": true,
|
194
195
|
"type": "string",
|
195
196
|
"value_allowed_null": false
|
196
197
|
},
|
@@ -201,6 +202,7 @@
|
|
201
202
|
"member": "string",
|
202
203
|
"name": "ParamValue",
|
203
204
|
"output_required": true,
|
205
|
+
"required": true,
|
204
206
|
"type": "string",
|
205
207
|
"value_allowed_null": false
|
206
208
|
},
|
@@ -211,6 +213,7 @@
|
|
211
213
|
"member": "string",
|
212
214
|
"name": "ParamKeyName",
|
213
215
|
"output_required": true,
|
216
|
+
"required": true,
|
214
217
|
"type": "string",
|
215
218
|
"value_allowed_null": true
|
216
219
|
},
|
@@ -221,11 +224,12 @@
|
|
221
224
|
"member": "string",
|
222
225
|
"name": "ParamValueName",
|
223
226
|
"output_required": true,
|
227
|
+
"required": true,
|
224
228
|
"type": "string",
|
225
229
|
"value_allowed_null": true
|
226
230
|
}
|
227
231
|
],
|
228
|
-
"usage": "
|
232
|
+
"usage": "both"
|
229
233
|
},
|
230
234
|
"VerifyLicenseRequest": {
|
231
235
|
"document": "VerifyLicense请求参数结构体",
|
@@ -381,7 +381,7 @@ def doDeleteAuditTrack(args, parsed_globals):
|
|
381
381
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
382
|
|
383
383
|
|
384
|
-
def
|
384
|
+
def doCreateEventsAuditTrack(args, parsed_globals):
|
385
385
|
g_param = parse_global_arg(parsed_globals)
|
386
386
|
|
387
387
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -410,11 +410,11 @@ def doDeleteAudit(args, parsed_globals):
|
|
410
410
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
411
411
|
client._sdkVersion += ("_CLI_" + __version__)
|
412
412
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
413
|
-
model = models.
|
413
|
+
model = models.CreateEventsAuditTrackRequest()
|
414
414
|
model.from_json_string(json.dumps(args))
|
415
415
|
start_time = time.time()
|
416
416
|
while True:
|
417
|
-
rsp = client.
|
417
|
+
rsp = client.CreateEventsAuditTrack(model)
|
418
418
|
result = rsp.to_json_string()
|
419
419
|
try:
|
420
420
|
json_obj = json.loads(result)
|
@@ -485,7 +485,7 @@ def doDescribeEvents(args, parsed_globals):
|
|
485
485
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
486
486
|
|
487
487
|
|
488
|
-
def
|
488
|
+
def doLookUpEvents(args, parsed_globals):
|
489
489
|
g_param = parse_global_arg(parsed_globals)
|
490
490
|
|
491
491
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -514,11 +514,11 @@ def doStopLogging(args, parsed_globals):
|
|
514
514
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
515
515
|
client._sdkVersion += ("_CLI_" + __version__)
|
516
516
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
517
|
-
model = models.
|
517
|
+
model = models.LookUpEventsRequest()
|
518
518
|
model.from_json_string(json.dumps(args))
|
519
519
|
start_time = time.time()
|
520
520
|
while True:
|
521
|
-
rsp = client.
|
521
|
+
rsp = client.LookUpEvents(model)
|
522
522
|
result = rsp.to_json_string()
|
523
523
|
try:
|
524
524
|
json_obj = json.loads(result)
|
@@ -537,7 +537,7 @@ def doStopLogging(args, parsed_globals):
|
|
537
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
538
|
|
539
539
|
|
540
|
-
def
|
540
|
+
def doStopLogging(args, parsed_globals):
|
541
541
|
g_param = parse_global_arg(parsed_globals)
|
542
542
|
|
543
543
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -566,11 +566,11 @@ def doStartLogging(args, parsed_globals):
|
|
566
566
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
567
567
|
client._sdkVersion += ("_CLI_" + __version__)
|
568
568
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
-
model = models.
|
569
|
+
model = models.StopLoggingRequest()
|
570
570
|
model.from_json_string(json.dumps(args))
|
571
571
|
start_time = time.time()
|
572
572
|
while True:
|
573
|
-
rsp = client.
|
573
|
+
rsp = client.StopLogging(model)
|
574
574
|
result = rsp.to_json_string()
|
575
575
|
try:
|
576
576
|
json_obj = json.loads(result)
|
@@ -589,7 +589,7 @@ def doStartLogging(args, parsed_globals):
|
|
589
589
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
590
|
|
591
591
|
|
592
|
-
def
|
592
|
+
def doStartLogging(args, parsed_globals):
|
593
593
|
g_param = parse_global_arg(parsed_globals)
|
594
594
|
|
595
595
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -618,11 +618,11 @@ def doInquireAuditCredit(args, parsed_globals):
|
|
618
618
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
619
619
|
client._sdkVersion += ("_CLI_" + __version__)
|
620
620
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
621
|
-
model = models.
|
621
|
+
model = models.StartLoggingRequest()
|
622
622
|
model.from_json_string(json.dumps(args))
|
623
623
|
start_time = time.time()
|
624
624
|
while True:
|
625
|
-
rsp = client.
|
625
|
+
rsp = client.StartLogging(model)
|
626
626
|
result = rsp.to_json_string()
|
627
627
|
try:
|
628
628
|
json_obj = json.loads(result)
|
@@ -641,7 +641,7 @@ def doInquireAuditCredit(args, parsed_globals):
|
|
641
641
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
642
642
|
|
643
643
|
|
644
|
-
def
|
644
|
+
def doInquireAuditCredit(args, parsed_globals):
|
645
645
|
g_param = parse_global_arg(parsed_globals)
|
646
646
|
|
647
647
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -670,11 +670,11 @@ def doUpdateAudit(args, parsed_globals):
|
|
670
670
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
671
671
|
client._sdkVersion += ("_CLI_" + __version__)
|
672
672
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
673
|
-
model = models.
|
673
|
+
model = models.InquireAuditCreditRequest()
|
674
674
|
model.from_json_string(json.dumps(args))
|
675
675
|
start_time = time.time()
|
676
676
|
while True:
|
677
|
-
rsp = client.
|
677
|
+
rsp = client.InquireAuditCredit(model)
|
678
678
|
result = rsp.to_json_string()
|
679
679
|
try:
|
680
680
|
json_obj = json.loads(result)
|
@@ -693,7 +693,7 @@ def doUpdateAudit(args, parsed_globals):
|
|
693
693
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
694
|
|
695
695
|
|
696
|
-
def
|
696
|
+
def doUpdateAudit(args, parsed_globals):
|
697
697
|
g_param = parse_global_arg(parsed_globals)
|
698
698
|
|
699
699
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -722,11 +722,11 @@ def doListKeyAliasByRegion(args, parsed_globals):
|
|
722
722
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
723
723
|
client._sdkVersion += ("_CLI_" + __version__)
|
724
724
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
725
|
-
model = models.
|
725
|
+
model = models.UpdateAuditRequest()
|
726
726
|
model.from_json_string(json.dumps(args))
|
727
727
|
start_time = time.time()
|
728
728
|
while True:
|
729
|
-
rsp = client.
|
729
|
+
rsp = client.UpdateAudit(model)
|
730
730
|
result = rsp.to_json_string()
|
731
731
|
try:
|
732
732
|
json_obj = json.loads(result)
|
@@ -745,7 +745,7 @@ def doListKeyAliasByRegion(args, parsed_globals):
|
|
745
745
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
746
|
|
747
747
|
|
748
|
-
def
|
748
|
+
def doListKeyAliasByRegion(args, parsed_globals):
|
749
749
|
g_param = parse_global_arg(parsed_globals)
|
750
750
|
|
751
751
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -774,11 +774,11 @@ def doDescribeAudit(args, parsed_globals):
|
|
774
774
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
775
775
|
client._sdkVersion += ("_CLI_" + __version__)
|
776
776
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
777
|
-
model = models.
|
777
|
+
model = models.ListKeyAliasByRegionRequest()
|
778
778
|
model.from_json_string(json.dumps(args))
|
779
779
|
start_time = time.time()
|
780
780
|
while True:
|
781
|
-
rsp = client.
|
781
|
+
rsp = client.ListKeyAliasByRegion(model)
|
782
782
|
result = rsp.to_json_string()
|
783
783
|
try:
|
784
784
|
json_obj = json.loads(result)
|
@@ -797,7 +797,7 @@ def doDescribeAudit(args, parsed_globals):
|
|
797
797
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
798
798
|
|
799
799
|
|
800
|
-
def
|
800
|
+
def doDescribeAudit(args, parsed_globals):
|
801
801
|
g_param = parse_global_arg(parsed_globals)
|
802
802
|
|
803
803
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -826,11 +826,11 @@ def doCreateAudit(args, parsed_globals):
|
|
826
826
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
827
827
|
client._sdkVersion += ("_CLI_" + __version__)
|
828
828
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
829
|
-
model = models.
|
829
|
+
model = models.DescribeAuditRequest()
|
830
830
|
model.from_json_string(json.dumps(args))
|
831
831
|
start_time = time.time()
|
832
832
|
while True:
|
833
|
-
rsp = client.
|
833
|
+
rsp = client.DescribeAudit(model)
|
834
834
|
result = rsp.to_json_string()
|
835
835
|
try:
|
836
836
|
json_obj = json.loads(result)
|
@@ -901,7 +901,7 @@ def doListCosEnableRegion(args, parsed_globals):
|
|
901
901
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
902
902
|
|
903
903
|
|
904
|
-
def
|
904
|
+
def doModifyEventsAuditTrack(args, parsed_globals):
|
905
905
|
g_param = parse_global_arg(parsed_globals)
|
906
906
|
|
907
907
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -930,11 +930,11 @@ def doLookUpEvents(args, parsed_globals):
|
|
930
930
|
client = mod.CloudauditClient(cred, g_param[OptionsDefine.Region], profile)
|
931
931
|
client._sdkVersion += ("_CLI_" + __version__)
|
932
932
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
933
|
-
model = models.
|
933
|
+
model = models.ModifyEventsAuditTrackRequest()
|
934
934
|
model.from_json_string(json.dumps(args))
|
935
935
|
start_time = time.time()
|
936
936
|
while True:
|
937
|
-
rsp = client.
|
937
|
+
rsp = client.ModifyEventsAuditTrack(model)
|
938
938
|
result = rsp.to_json_string()
|
939
939
|
try:
|
940
940
|
json_obj = json.loads(result)
|
@@ -1023,17 +1023,17 @@ ACTION_MAP = {
|
|
1023
1023
|
"CreateAuditTrack": doCreateAuditTrack,
|
1024
1024
|
"ListCmqEnableRegion": doListCmqEnableRegion,
|
1025
1025
|
"DeleteAuditTrack": doDeleteAuditTrack,
|
1026
|
-
"
|
1026
|
+
"CreateEventsAuditTrack": doCreateEventsAuditTrack,
|
1027
1027
|
"DescribeEvents": doDescribeEvents,
|
1028
|
+
"LookUpEvents": doLookUpEvents,
|
1028
1029
|
"StopLogging": doStopLogging,
|
1029
1030
|
"StartLogging": doStartLogging,
|
1030
1031
|
"InquireAuditCredit": doInquireAuditCredit,
|
1031
1032
|
"UpdateAudit": doUpdateAudit,
|
1032
1033
|
"ListKeyAliasByRegion": doListKeyAliasByRegion,
|
1033
1034
|
"DescribeAudit": doDescribeAudit,
|
1034
|
-
"CreateAudit": doCreateAudit,
|
1035
1035
|
"ListCosEnableRegion": doListCosEnableRegion,
|
1036
|
-
"
|
1036
|
+
"ModifyEventsAuditTrack": doModifyEventsAuditTrack,
|
1037
1037
|
"ListAudits": doListAudits,
|
1038
1038
|
|
1039
1039
|
}
|