tccli 3.0.1254.1__py2.py3-none-any.whl → 3.0.1256.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.
Files changed (35) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cdwdoris/v20211228/api.json +89 -44
  3. tccli/services/cdwdoris/v20211228/examples.json +6 -6
  4. tccli/services/cfs/cfs_client.py +53 -0
  5. tccli/services/cfs/v20190719/api.json +44 -0
  6. tccli/services/cfs/v20190719/examples.json +8 -0
  7. tccli/services/cvm/v20170312/api.json +52 -5
  8. tccli/services/cvm/v20170312/examples.json +2 -2
  9. tccli/services/faceid/v20180301/api.json +12 -12
  10. tccli/services/faceid/v20180301/examples.json +16 -2
  11. tccli/services/iotexplorer/iotexplorer_client.py +53 -0
  12. tccli/services/iotexplorer/v20190423/api.json +243 -2
  13. tccli/services/iotexplorer/v20190423/examples.json +16 -2
  14. tccli/services/lcic/v20220817/api.json +3 -3
  15. tccli/services/lighthouse/v20200324/api.json +18 -0
  16. tccli/services/mps/v20190612/api.json +2 -2
  17. tccli/services/postgres/v20170312/api.json +30 -11
  18. tccli/services/postgres/v20170312/examples.json +2 -2
  19. tccli/services/rum/v20210622/api.json +2 -2
  20. tccli/services/rum/v20210622/examples.json +1 -1
  21. tccli/services/scf/v20180416/api.json +8 -8
  22. tccli/services/trro/v20220325/api.json +6 -6
  23. tccli/services/trro/v20220325/examples.json +2 -2
  24. tccli/services/trtc/v20190722/api.json +11 -0
  25. tccli/services/tse/tse_client.py +53 -0
  26. tccli/services/tse/v20201207/api.json +70 -0
  27. tccli/services/tse/v20201207/examples.json +8 -0
  28. tccli/services/vpc/v20170312/api.json +36658 -29
  29. tccli/services/vpc/v20170312/examples.json +3521 -5
  30. tccli/services/vpc/vpc_client.py +20515 -4
  31. {tccli-3.0.1254.1.dist-info → tccli-3.0.1256.1.dist-info}/METADATA +2 -2
  32. {tccli-3.0.1254.1.dist-info → tccli-3.0.1256.1.dist-info}/RECORD +35 -35
  33. {tccli-3.0.1254.1.dist-info → tccli-3.0.1256.1.dist-info}/WHEEL +0 -0
  34. {tccli-3.0.1254.1.dist-info → tccli-3.0.1256.1.dist-info}/entry_points.txt +0 -0
  35. {tccli-3.0.1254.1.dist-info → tccli-3.0.1256.1.dist-info}/license_files/LICENSE +0 -0
@@ -466,8 +466,14 @@
466
466
  {
467
467
  "document": "",
468
468
  "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIServiceTasks\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"Highlight\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
469
- "output": "{\n \"Response\": {\n \"Tasks\": [\n {\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\",\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ChannelId\": 0,\n \"ServiceType\": \"PackageDetect\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"Status\": 3,\n \"Result\": \"{\\\"param1\\\":\\\"value1\\\"}\",\n \"Files\": [\n \"output.mp4\"\n ],\n \"CreateTime\": 1710490000,\n \"UpdateTime\": 1710490000\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
470
- "title": "查询设备云存 AI 分析任务列表"
469
+ "output": "{\n \"Response\": {\n \"Tasks\": [\n {\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\",\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ChannelId\": 0,\n \"ServiceType\": \"PackageDetect\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"Status\": 3,\n \"Result\": \"\",\n \"Files\": [\n \"highlight.mp4\",\n \"thumbnail.jpg\"\n ],\n \"CreateTime\": 1710490000,\n \"UpdateTime\": 1710490000\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
470
+ "title": "查询视频浓缩结果列表"
471
+ },
472
+ {
473
+ "document": "",
474
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIServiceTasks\n<公共请求参数>\n\n{\n \"ProductId\": \"TSLFHRWDSD\",\n \"DeviceName\": \"dev004\",\n \"ServiceType\": \"VideoToText\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
475
+ "output": "{\n \"Response\": {\n \"RequestId\": \"b97d82c1-bf0b-421b-a2c1-cc5053c214ea\",\n \"Tasks\": [\n {\n \"ChannelId\": 0,\n \"CreateTime\": 1736994466,\n \"DeviceName\": \"dev004\",\n \"EndTime\": 1736994458,\n \"Files\": [],\n \"ProductId\": \"TSLFHRWDSD\",\n \"Result\": \"{\\\"DetectedClassifications\\\": [\\\"person\\\"], \\\"Summary\\\": \\\"一个人在雨天街道上行走\\\"}\",\n \"ServiceType\": \"VideoToText\",\n \"StartTime\": 1736994450,\n \"Status\": 3,\n \"TaskId\": \"01946cf0-27ee-7ebc-b3a3-5ae31ff61424\",\n \"UpdateTime\": 1736994478\n }\n ],\n \"Total\": 1\n }\n}",
476
+ "title": "查询视频语义理解结果列表"
471
477
  }
472
478
  ],
473
479
  "DescribeCloudStorageDate": [
@@ -486,6 +492,14 @@
486
492
  "title": "拉取云存事件列表"
487
493
  }
488
494
  ],
495
+ "DescribeCloudStorageEventsWithAITasks": [
496
+ {
497
+ "document": "",
498
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageEventsWithAITasks\n<公共请求参数>\n\n{\n \"ProductId\": \"TSLFHRWDSD\",\n \"DeviceName\": \"dev004\",\n \"ServiceTypes\": [\n \"VideoToText\"\n ]\n}",
499
+ "output": "{\n \"Response\": {\n \"Context\": \"DnF1ZXJ5VGhlbkZldGNoCAAAAAAFqzhwFjFFY01POHFmVGxDSnJJTHI5elNNU0EAAAAABZbFYRZmd1ZJbURjWFNuR2F5a0JIR0ozU1NBAAAAAAWUnSYWejUwaVhKNWJScE9ZTkNuV3FycTVYUQAAAAAFlsVgFmZ3VkltRGNYU25HYXlrQkhHSjNTU0EAAAAABaXmlhZyRU9EQTRKeFNrV1VGSDVUXzRiVFRnAAAAAAWUnScWejUwaVhKNWJScE9ZTkNuV3FycTVYUQAAAAAFka-jFm5zbVpuZXVZU0VHNWh1czNkcFFDZ2cAAAAABboqiRZySXYzUUhoblN6T0pqSzFQcThDT2p3\",\n \"Events\": [\n {\n \"AITasks\": [\n {\n \"ChannelId\": 0,\n \"CreateTime\": 1736855569,\n \"DeviceName\": \"dev004\",\n \"EndTime\": 1736855561,\n \"Files\": [],\n \"ProductId\": \"TSLFHRWDSD\",\n \"Result\": \"{\\\"DetectedClassifications\\\": [\\\"person\\\"], \\\"Summary\\\": \\\"一个人在雨天街道上行走\\\"}\",\n \"ServiceType\": \"VideoToText\",\n \"StartTime\": 1736855553,\n \"Status\": 3,\n \"TaskId\": \"019464a8-c241-7544-a460-e10298e8ea07\",\n \"UpdateTime\": 1736855581\n }\n ],\n \"Data\": \"\",\n \"EndTime\": 1736855561,\n \"EventId\": \"_sys_id1_data\",\n \"StartTime\": 1736855553,\n \"Thumbnail\": \"\",\n \"UploadStatus\": \"Finished\"\n }\n ],\n \"Listover\": true,\n \"RequestId\": \"3eace4a0-d09c-4dc9-b91c-98c10d48b009\",\n \"Total\": 1,\n \"VideoURL\": \"https://1259367869.vod2.myqcloud.com/timeshift/live/<streamName>/timeshift.m3u8\"\n }\n}",
500
+ "title": "拉取云存事件及 AI 分析任务列表"
501
+ }
502
+ ],
489
503
  "DescribeCloudStorageMultiThumbnail": [
490
504
  {
491
505
  "document": "",
@@ -386,9 +386,9 @@
386
386
  "status": "online"
387
387
  },
388
388
  "ModifyUserProfile": {
389
- "document": "此接口用于修改用户配置,如头像,昵称/用户名等。",
389
+ "document": "此接口用于修改用户信息,例如头像、昵称(用户名)等。注意,课中的用户信息不会立即同步修改,需待下次上课时,修改后的信息才会更新显示。",
390
390
  "input": "ModifyUserProfileRequest",
391
- "name": "修改用户配置",
391
+ "name": "修改用户信息",
392
392
  "output": "ModifyUserProfileResponse",
393
393
  "status": "online"
394
394
  },
@@ -6092,7 +6092,7 @@
6092
6092
  },
6093
6093
  {
6094
6094
  "disabled": false,
6095
- "document": "待修改的用户名",
6095
+ "document": "待修改的用户名。对应注册用户下“Name“字段,本次修改是对此内容进行修改。",
6096
6096
  "example": "zhanwsan",
6097
6097
  "member": "string",
6098
6098
  "name": "Nickname",
@@ -2211,6 +2211,24 @@
2211
2211
  "name": "InitCommand",
2212
2212
  "required": false,
2213
2213
  "type": "object"
2214
+ },
2215
+ {
2216
+ "disabled": false,
2217
+ "document": "主域名。",
2218
+ "example": "tencent.com",
2219
+ "member": "string",
2220
+ "name": "DomainName",
2221
+ "required": false,
2222
+ "type": "string"
2223
+ },
2224
+ {
2225
+ "disabled": false,
2226
+ "document": "子域名。",
2227
+ "example": "www",
2228
+ "member": "string",
2229
+ "name": "Subdomain",
2230
+ "required": false,
2231
+ "type": "string"
2214
2232
  }
2215
2233
  ],
2216
2234
  "type": "object"
@@ -8657,7 +8657,7 @@
8657
8657
  },
8658
8658
  {
8659
8659
  "disabled": false,
8660
- "document": "输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。",
8660
+ "document": "输入的协议,可选[SRT|RTP|RTMP_PUSH|RTMP_PULL|RTSP_PULL|RIST]。",
8661
8661
  "example": "SRT",
8662
8662
  "member": "string",
8663
8663
  "name": "Protocol",
@@ -21779,7 +21779,7 @@
21779
21779
  },
21780
21780
  {
21781
21781
  "disabled": false,
21782
- "document": "输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。\n当输出包含RTP时,输入只能是RTP。\n当输出包含RTMP时,输入可以是SRT/RTMP。\n当输出包含SRT时,输入只能是SRT。",
21782
+ "document": "输入的协议,可选[SRT|RTP|RTMP_PUSH|RTMP_PULL|RTSP_PULL|RIST]。\t-",
21783
21783
  "example": "SRT",
21784
21784
  "member": "string",
21785
21785
  "name": "Protocol",
@@ -6688,6 +6688,7 @@
6688
6688
  "example": "空",
6689
6689
  "member": "ReadOnlyGroup",
6690
6690
  "name": "ReadOnlyGroupList",
6691
+ "output_required": true,
6691
6692
  "type": "list",
6692
6693
  "value_allowed_null": false
6693
6694
  },
@@ -7164,7 +7165,7 @@
7164
7165
  },
7165
7166
  {
7166
7167
  "disabled": false,
7167
- "document": "购买时长,单位:月。\n<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36\n<li>后付费:只支持1",
7168
+ "document": "购买时长,单位:月。\n<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>\n<li>后付费:只支持1</li>",
7168
7169
  "example": "1",
7169
7170
  "member": "int64",
7170
7171
  "name": "Period",
@@ -7173,7 +7174,7 @@
7173
7174
  },
7174
7175
  {
7175
7176
  "disabled": false,
7176
- "document": "是否使用代金券:\n<li>true:使用\n<li>false:不使用\n默认值:false",
7177
+ "document": "是否使用代金券:\n<li>true:使用</li>\n<li>false:不使用</li>\n默认值:false",
7177
7178
  "example": "true",
7178
7179
  "member": "bool",
7179
7180
  "name": "AutoVoucher",
@@ -8200,7 +8201,7 @@
8200
8201
  },
8201
8202
  {
8202
8203
  "disabled": false,
8203
- "document": "实例备份周期,按照星期维度,格式为小写星期英文单词",
8204
+ "document": "实例备份周期,若是星期维度,格式为小写星期英文单词;若是按月维度,格式为数字字符,如[\"1\",\"2\"]。",
8204
8205
  "example": "[\"monday\", \"tuesday\", \"wednesday\"]",
8205
8206
  "member": "string",
8206
8207
  "name": "BackupPeriod",
@@ -8215,6 +8216,24 @@
8215
8216
  "name": "LogBackupRetentionPeriod",
8216
8217
  "required": false,
8217
8218
  "type": "int"
8219
+ },
8220
+ {
8221
+ "disabled": false,
8222
+ "document": "备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。",
8223
+ "example": "0ee6843a-475b-5514-bd29-c432b75bb036",
8224
+ "member": "string",
8225
+ "name": "PlanId",
8226
+ "required": false,
8227
+ "type": "string"
8228
+ },
8229
+ {
8230
+ "disabled": false,
8231
+ "document": "要修改的备份计划名称。",
8232
+ "example": "plan2",
8233
+ "member": "string",
8234
+ "name": "PlanName",
8235
+ "required": false,
8236
+ "type": "string"
8218
8237
  }
8219
8238
  ],
8220
8239
  "type": "object"
@@ -8290,7 +8309,7 @@
8290
8309
  },
8291
8310
  {
8292
8311
  "disabled": false,
8293
- "document": "实例计费类型,目前支持:\n<li>PREPAID:预付费,即包年包月\n<li>POSTPAID_BY_HOUR:后付费,即按量计费\n默认值:PREPAID",
8312
+ "document": "实例计费类型,目前支持:\n<li>PREPAID:预付费,即包年包月</li>\n<li>POSTPAID_BY_HOUR:后付费,即按量计费</li>\n默认值:PREPAID",
8294
8313
  "example": "POSTPAID_BY_HOUR",
8295
8314
  "member": "string",
8296
8315
  "name": "InstanceChargeType",
@@ -8299,7 +8318,7 @@
8299
8318
  },
8300
8319
  {
8301
8320
  "disabled": false,
8302
- "document": "购买时长,单位:月。\n<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36\n<li>后付费:只支持1",
8321
+ "document": "购买时长,单位:月。\n<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>\n<li>后付费:只支持1</li>",
8303
8322
  "example": "1",
8304
8323
  "member": "int64",
8305
8324
  "name": "Period",
@@ -8308,7 +8327,7 @@
8308
8327
  },
8309
8328
  {
8310
8329
  "disabled": false,
8311
- "document": "续费标记:\n<li>0:手动续费\n<li>1:自动续费\n默认值:0",
8330
+ "document": "续费标记:\n<li>0:手动续费</li>\n<li>1:自动续费</li>\n默认值:0",
8312
8331
  "example": "1",
8313
8332
  "member": "int64",
8314
8333
  "name": "AutoRenewFlag",
@@ -8317,7 +8336,7 @@
8317
8336
  },
8318
8337
  {
8319
8338
  "disabled": false,
8320
- "document": "是否自动使用代金券:\n<li>0:否\n<li>1:是\n默认值:0",
8339
+ "document": "是否自动使用代金券:\n<li>0:否</li>\n<li>1:是</li>\n默认值:0",
8321
8340
  "example": "0",
8322
8341
  "member": "int64",
8323
8342
  "name": "AutoVoucher",
@@ -10437,7 +10456,7 @@
10437
10456
  },
10438
10457
  {
10439
10458
  "disabled": false,
10440
- "document": "续费多少个月",
10459
+ "document": "购买时长,单位:月。\n<li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>\n<li>后付费:只支持1</li>",
10441
10460
  "example": "1",
10442
10461
  "member": "int64",
10443
10462
  "name": "Period",
@@ -10446,7 +10465,7 @@
10446
10465
  },
10447
10466
  {
10448
10467
  "disabled": false,
10449
- "document": "是否自动使用代金券,1是,0否,默认不使用",
10468
+ "document": "是否自动使用代金券:\n<li>0:否</li>\n<li>1:是</li>\n默认值:0",
10450
10469
  "example": "0",
10451
10470
  "member": "int64",
10452
10471
  "name": "AutoVoucher",
@@ -10474,7 +10493,7 @@
10474
10493
  "example": "201806181256",
10475
10494
  "member": "string",
10476
10495
  "name": "DealName",
10477
- "required": true,
10496
+ "output_required": true,
10478
10497
  "type": "string",
10479
10498
  "value_allowed_null": false
10480
10499
  },
@@ -11703,7 +11722,7 @@
11703
11722
  },
11704
11723
  {
11705
11724
  "disabled": false,
11706
- "document": "数据库版本状态,包括:\nAVAILABLE:可用;\nDEPRECATED:已弃用。",
11725
+ "document": "数据库版本状态,包括:\nAVAILABLE:可用;\nUPGRADE_ONLY:不可创建,此版本仅可升级至高版本;\nDEPRECATED:已弃用。",
11707
11726
  "example": "AVAILABLE",
11708
11727
  "member": "string",
11709
11728
  "name": "Status",
@@ -340,7 +340,7 @@
340
340
  {
341
341
  "document": "",
342
342
  "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceAttribute\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-xxxxxxxx\"\n}",
343
- "output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DBInstance\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-2\",\n \"AppId\": 100000000,\n \"Uid\": 1000001,\n \"ProjectId\": 0,\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"DBInstanceId\": \"postgres-xxxxxxxx\",\n \"MasterDBInstanceId\": \"postgres-xxxxxxxx\",\n \"Type\": \"1\",\n \"DBInstanceName\": \"未命名\",\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceMemory\": 4,\n \"DBInstanceStorage\": 20,\n \"DBInstanceCpu\": 2,\n \"DBInstanceClass\": \"cdb.pg.z1.4g\",\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.10.10.220\",\n \"Port\": 5432,\n \"Status\": \"opened\",\n \"NetType\": \"private\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"ProtocolType\": \"\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Status\": \"initing\",\n \"NetType\": \"public\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"ProtocolType\": \"\"\n }\n ],\n \"DBCharset\": \"UTF8\",\n \"IsSupportTDE\": 0,\n \"DBVersion\": \"10.4\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBMajorVersion\": \"10\",\n \"DBKernelVersion\": \"v10.4_r1.0\",\n \"CreateTime\": \"2017-12-28 19:23:19\",\n \"UpdateTime\": \"2018-01-18 15:54:32\",\n \"ExpireTime\": \"2018-01-28 19:23:23\",\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"OfflineTime\": \"2019-12-28 19:23:19\",\n \"PayType\": \"prepaid\",\n \"AutoRenew\": 1,\n \"ReadOnlyInstanceNum\": 1,\n \"StatusInReadonlyGroup\": \"running\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"v1\"\n }\n ],\n \"NetworkAccessList\": [],\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n }\n }\n}",
343
+ "output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DBInstance\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-2\",\n \"AppId\": 100000000,\n \"Uid\": 1000001,\n \"ProjectId\": 0,\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"DBInstanceId\": \"postgres-xxxxxxxx\",\n \"MasterDBInstanceId\": \"postgres-xxxxxxxx\",\n \"Type\": \"1\",\n \"DBInstanceName\": \"未命名\",\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceMemory\": 4,\n \"DBInstanceStorage\": 20,\n \"DBInstanceCpu\": 2,\n \"DBInstanceClass\": \"cdb.pg.z1.4g\",\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"10.10.10.220\",\n \"Port\": 5432,\n \"Status\": \"opened\",\n \"NetType\": \"private\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"ProtocolType\": \"\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Status\": \"initing\",\n \"NetType\": \"public\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"ProtocolType\": \"\"\n }\n ],\n \"DBCharset\": \"UTF8\",\n \"IsSupportTDE\": 0,\n \"DBVersion\": \"10.4\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBMajorVersion\": \"10\",\n \"DBKernelVersion\": \"v10.4_r1.0\",\n \"CreateTime\": \"2017-12-28 19:23:19\",\n \"UpdateTime\": \"2018-01-18 15:54:32\",\n \"ExpireTime\": \"2018-01-28 19:23:23\",\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"OfflineTime\": \"2019-12-28 19:23:19\",\n \"PayType\": \"prepaid\",\n \"AutoRenew\": 1,\n \"ReadOnlyInstanceNum\": 1,\n \"StatusInReadonlyGroup\": \"running\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"v1\"\n }\n ],\n \"NetworkAccessList\": [],\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-2\",\n \"DedicatedClusterId\": \"\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-3\",\n \"DedicatedClusterId\": \"\"\n }\n ]\n }\n }\n}",
344
344
  "title": "查询实例的详细信息"
345
345
  }
346
346
  ],
@@ -884,7 +884,7 @@
884
884
  ],
885
885
  "RenewInstance": [
886
886
  {
887
- "document": "",
887
+ "document": "包年包月实例续费操作。",
888
888
  "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenewInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-apzvwncr\",\n \"Period\": \"1\"\n}",
889
889
  "output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\",\n \"DealName\": \"201806181256\"\n }\n}",
890
890
  "title": "续费实例postgres-apzvwncr"
@@ -7111,13 +7111,13 @@
7111
7111
  },
7112
7112
  {
7113
7113
  "disabled": false,
7114
- "document": "时间\n注意:此字段可能返回 null,表示取不到有效值。",
7114
+ "document": "时间",
7115
7115
  "example": "20230111",
7116
7116
  "member": "string",
7117
7117
  "name": "CreateTime",
7118
7118
  "output_required": true,
7119
7119
  "type": "string",
7120
- "value_allowed_null": true
7120
+ "value_allowed_null": false
7121
7121
  },
7122
7122
  {
7123
7123
  "disabled": false,
@@ -424,7 +424,7 @@
424
424
  {
425
425
  "document": "获取首页Score",
426
426
  "input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScores\n<公共请求参数>\n\n{\n \"EndTime\": \"2022051914\",\n \"ID\": 1,\n \"StartTime\": \"2020011920\"\n}",
427
- "output": "{\n \"Response\": {\n \"ScoreSet\": [],\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
427
+ "output": "{\n \"Response\": {\n \"ScoreSet\": [\n {\n \"ApiAvaliableScore\": \"30\",\n \"ApiDuration\": \"0\",\n \"ApiFail\": \"0\",\n \"ApiNum\": \"0\",\n \"ApiPerformanceScore\": \"5\",\n \"CreateTime\": \"\",\n \"JsErrorScore\": \"30\",\n \"PageDuration\": \"0\",\n \"PageError\": \"0\",\n \"PagePerformanceScore\": \"10\",\n \"PagePv\": \"1\",\n \"PageUv\": \"0\",\n \"ProjectID\": 1,\n \"RecordNum\": 1,\n \"Score\": \"100\",\n \"StaticAvaliableScore\": \"20\",\n \"StaticDuration\": \"210\",\n \"StaticFail\": \"0\",\n \"StaticNum\": \"9\",\n \"StaticPerformanceScore\": \"5\"\n }\n ],\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
428
428
  "title": "获取首页Score"
429
429
  }
430
430
  ],
@@ -2294,7 +2294,7 @@
2294
2294
  },
2295
2295
  {
2296
2296
  "disabled": false,
2297
- "document": "函数状态,状态值及流转[参考此处](https://cloud.tencent.com/document/product/583/47175)",
2297
+ "document": "函数状态,状态值及流转[参考此处](https://cloud.tencent.com/document/product/583/17244)",
2298
2298
  "example": "Active",
2299
2299
  "member": "string",
2300
2300
  "name": "Status",
@@ -3996,7 +3996,7 @@
3996
3996
  "example": "tcr-xxx",
3997
3997
  "member": "string",
3998
3998
  "name": "RegistryId",
3999
- "output_required": true,
3999
+ "output_required": false,
4000
4000
  "required": false,
4001
4001
  "type": "string",
4002
4002
  "value_allowed_null": true
@@ -4007,7 +4007,7 @@
4007
4007
  "example": "\"entrypoint.sh\"",
4008
4008
  "member": "string",
4009
4009
  "name": "EntryPoint",
4010
- "output_required": true,
4010
+ "output_required": false,
4011
4011
  "required": false,
4012
4012
  "type": "string",
4013
4013
  "value_allowed_null": true
@@ -4018,7 +4018,7 @@
4018
4018
  "example": "python",
4019
4019
  "member": "string",
4020
4020
  "name": "Command",
4021
- "output_required": true,
4021
+ "output_required": false,
4022
4022
  "required": false,
4023
4023
  "type": "string",
4024
4024
  "value_allowed_null": true
@@ -4029,7 +4029,7 @@
4029
4029
  "example": " -u app.py",
4030
4030
  "member": "string",
4031
4031
  "name": "Args",
4032
- "output_required": true,
4032
+ "output_required": false,
4033
4033
  "required": false,
4034
4034
  "type": "string",
4035
4035
  "value_allowed_null": true
@@ -4040,7 +4040,7 @@
4040
4040
  "example": "False",
4041
4041
  "member": "bool",
4042
4042
  "name": "ContainerImageAccelerate",
4043
- "output_required": true,
4043
+ "output_required": false,
4044
4044
  "required": false,
4045
4045
  "type": "bool",
4046
4046
  "value_allowed_null": true
@@ -4051,7 +4051,7 @@
4051
4051
  "example": "9000",
4052
4052
  "member": "int64",
4053
4053
  "name": "ImagePort",
4054
- "output_required": true,
4054
+ "output_required": false,
4055
4055
  "required": false,
4056
4056
  "type": "int",
4057
4057
  "value_allowed_null": true
@@ -4451,7 +4451,7 @@
4451
4451
  },
4452
4452
  {
4453
4453
  "disabled": false,
4454
- "document": "层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/47175#.E5.B1.82.EF.BC.88layer.EF.BC.89.E7.8A.B6.E6.80.81)",
4454
+ "document": "层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.88Layer.EF.BC.89.E7.8A.B6.E6.80.81)",
4455
4455
  "example": "Active",
4456
4456
  "member": "string",
4457
4457
  "name": "Status",
@@ -1204,7 +1204,7 @@
1204
1204
  "example": "无",
1205
1205
  "member": "SessionIntervalStatistic",
1206
1206
  "name": "SessionStatistics",
1207
- "required": true,
1207
+ "output_required": true,
1208
1208
  "type": "list",
1209
1209
  "value_allowed_null": false
1210
1210
  },
@@ -1268,7 +1268,7 @@
1268
1268
  "example": "10",
1269
1269
  "member": "uint64",
1270
1270
  "name": "SessionNum",
1271
- "required": true,
1271
+ "output_required": true,
1272
1272
  "type": "int",
1273
1273
  "value_allowed_null": false
1274
1274
  },
@@ -1278,7 +1278,7 @@
1278
1278
  "example": "100",
1279
1279
  "member": "uint64",
1280
1280
  "name": "TotalDuration",
1281
- "required": true,
1281
+ "output_required": true,
1282
1282
  "type": "int",
1283
1283
  "value_allowed_null": false
1284
1284
  },
@@ -1288,7 +1288,7 @@
1288
1288
  "example": "30",
1289
1289
  "member": "uint64",
1290
1290
  "name": "ActiveFieldDeviceNum",
1291
- "required": true,
1291
+ "output_required": true,
1292
1292
  "type": "int",
1293
1293
  "value_allowed_null": false
1294
1294
  },
@@ -1298,7 +1298,7 @@
1298
1298
  "example": "60",
1299
1299
  "member": "uint64",
1300
1300
  "name": "ActiveRemoteDeviceNum",
1301
- "required": true,
1301
+ "output_required": true,
1302
1302
  "type": "int",
1303
1303
  "value_allowed_null": false
1304
1304
  },
@@ -1308,7 +1308,7 @@
1308
1308
  "example": "90",
1309
1309
  "member": "uint64",
1310
1310
  "name": "NotBadSessionRatio",
1311
- "required": true,
1311
+ "output_required": true,
1312
1312
  "type": "int",
1313
1313
  "value_allowed_null": false
1314
1314
  },
@@ -124,7 +124,7 @@
124
124
  {
125
125
  "document": "",
126
126
  "input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSessionStatisticsByInterval\n<公共请求参数>\n\n{\n \"ProjectId\": \"abcdefg\",\n \"EndTime\": \"1670000000\",\n \"StatisticInterval\": \"hour\",\n \"DeviceId\": \"dev2\",\n \"StartTime\": \"0\"\n}",
127
- "output": "{\n \"Response\": {\n \"RequestId\": \"abcdefg-774e-4756-9f5b-8faa55ae1e5b\",\n \"SessionStatistics\": [\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 1,\n \"TotalDuration\": 0\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 2,\n \"TotalDuration\": 0\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 1,\n \"SessionNum\": 4,\n \"TotalDuration\": 604\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 1,\n \"TotalDuration\": 0\n }\n ]\n }\n}",
127
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abcdefg-774e-4756-9f5b-8faa55ae1e5b\",\n \"SessionStatistics\": [\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 1,\n \"StartTime\": 1661151600,\n \"EndTime\": 1661152600,\n \"TotalDuration\": 20,\n \"NotBadSessionRatio\": 50\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 2,\n \"StartTime\": 1661162400,\n \"EndTime\": 1661152600,\n \"TotalDuration\": 20,\n \"NotBadSessionRatio\": 10\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 1,\n \"SessionNum\": 4,\n \"StartTime\": 1661166000,\n \"EndTime\": 1661176000,\n \"TotalDuration\": 604,\n \"NotBadSessionRatio\": 20\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 1,\n \"StartTime\": 1661166000,\n \"EndTime\": 1661176000,\n \"TotalDuration\": 10,\n \"NotBadSessionRatio\": 30\n }\n ]\n }\n}",
128
128
  "title": "示例"
129
129
  }
130
130
  ],
@@ -148,7 +148,7 @@
148
148
  {
149
149
  "document": "统计各个类型的license数量",
150
150
  "input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLicenseStat\n<公共请求参数>\n\n{}",
151
- "output": "{\n \"Response\": {\n \"Valid\": 10,\n \"Bound\": 8,\n \"UnBound\": 2,\n \"Expire\": 1,\n \"MonthlyExpire\": 0,\n \"RequestId\": \"abc\"\n }\n}",
151
+ "output": "{\n \"Response\": {\n \"Valid\": 10,\n \"Bound\": 8,\n \"UnBound\": 2,\n \"Expire\": 1,\n \"MonthlyExpire\": 0,\n \"RequestId\": \"72e27b83-97e4-4325-f4e3-cac52c5ed9e3\"\n }\n}",
152
152
  "title": "license统计"
153
153
  }
154
154
  ],
@@ -590,6 +590,17 @@
590
590
  "required": false,
591
591
  "type": "bool",
592
592
  "value_allowed_null": false
593
+ },
594
+ {
595
+ "disabled": false,
596
+ "document": "欢迎消息优先级,0默认,1高优,高优不能被打断。",
597
+ "example": "0",
598
+ "member": "uint64",
599
+ "name": "WelcomeMessagePriority",
600
+ "output_required": false,
601
+ "required": false,
602
+ "type": "int",
603
+ "value_allowed_null": false
593
604
  }
594
605
  ],
595
606
  "usage": "both"
@@ -3189,6 +3189,58 @@ def doDescribeNativeGatewayServiceSources(args, parsed_globals):
3189
3189
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3190
3190
 
3191
3191
 
3192
+ def doDescribeCloudNativeAPIGatewayInfoByIp(args, parsed_globals):
3193
+ g_param = parse_global_arg(parsed_globals)
3194
+
3195
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3196
+ cred = credential.CVMRoleCredential()
3197
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3198
+ cred = credential.STSAssumeRoleCredential(
3199
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3200
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3201
+ )
3202
+ 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):
3203
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3204
+ else:
3205
+ cred = credential.Credential(
3206
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3207
+ )
3208
+ http_profile = HttpProfile(
3209
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3210
+ reqMethod="POST",
3211
+ endpoint=g_param[OptionsDefine.Endpoint],
3212
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3213
+ )
3214
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3215
+ if g_param[OptionsDefine.Language]:
3216
+ profile.language = g_param[OptionsDefine.Language]
3217
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3218
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
3219
+ client._sdkVersion += ("_CLI_" + __version__)
3220
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3221
+ model = models.DescribeCloudNativeAPIGatewayInfoByIpRequest()
3222
+ model.from_json_string(json.dumps(args))
3223
+ start_time = time.time()
3224
+ while True:
3225
+ rsp = client.DescribeCloudNativeAPIGatewayInfoByIp(model)
3226
+ result = rsp.to_json_string()
3227
+ try:
3228
+ json_obj = json.loads(result)
3229
+ except TypeError as e:
3230
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3231
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3232
+ break
3233
+ cur_time = time.time()
3234
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3235
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3236
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3237
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3238
+ else:
3239
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3240
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3241
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3242
+
3243
+
3192
3244
  def doModifyNativeGatewayServerGroup(args, parsed_globals):
3193
3245
  g_param = parse_global_arg(parsed_globals)
3194
3246
 
@@ -6225,6 +6277,7 @@ ACTION_MAP = {
6225
6277
  "DescribeNacosReplicas": doDescribeNacosReplicas,
6226
6278
  "DescribeUpstreamHealthCheckConfig": doDescribeUpstreamHealthCheckConfig,
6227
6279
  "DescribeNativeGatewayServiceSources": doDescribeNativeGatewayServiceSources,
6280
+ "DescribeCloudNativeAPIGatewayInfoByIp": doDescribeCloudNativeAPIGatewayInfoByIp,
6228
6281
  "ModifyNativeGatewayServerGroup": doModifyNativeGatewayServerGroup,
6229
6282
  "DescribeCloudNativeAPIGatewayCertificates": doDescribeCloudNativeAPIGatewayCertificates,
6230
6283
  "ModifyCloudNativeAPIGatewayServiceRateLimit": doModifyCloudNativeAPIGatewayServiceRateLimit,
@@ -357,6 +357,13 @@
357
357
  "output": "DescribeCloudNativeAPIGatewayConfigResponse",
358
358
  "status": "online"
359
359
  },
360
+ "DescribeCloudNativeAPIGatewayInfoByIp": {
361
+ "document": "根据公网IP查询云原生网关实例信息",
362
+ "input": "DescribeCloudNativeAPIGatewayInfoByIpRequest",
363
+ "name": "根据公网IP查询云原生网关实例信息",
364
+ "output": "DescribeCloudNativeAPIGatewayInfoByIpResponse",
365
+ "status": "online"
366
+ },
360
367
  "DescribeCloudNativeAPIGatewayNodes": {
361
368
  "document": "获取云原生网关节点列表",
362
369
  "input": "DescribeCloudNativeAPIGatewayNodesRequest",
@@ -6739,6 +6746,43 @@
6739
6746
  ],
6740
6747
  "usage": "out"
6741
6748
  },
6749
+ "DescribeCloudNativeAPIGatewayInfoByIpRequest": {
6750
+ "document": "DescribeCloudNativeAPIGatewayInfoByIp请求参数结构体",
6751
+ "members": [
6752
+ {
6753
+ "disabled": false,
6754
+ "document": "云原生网关的公网ip",
6755
+ "example": "1.1.1.1",
6756
+ "member": "string",
6757
+ "name": "PublicNetworkIP",
6758
+ "required": true,
6759
+ "type": "string"
6760
+ }
6761
+ ],
6762
+ "type": "object"
6763
+ },
6764
+ "DescribeCloudNativeAPIGatewayInfoByIpResponse": {
6765
+ "document": "DescribeCloudNativeAPIGatewayInfoByIp返回参数结构体",
6766
+ "members": [
6767
+ {
6768
+ "disabled": false,
6769
+ "document": "出参\n注意:此字段可能返回 null,表示取不到有效值。",
6770
+ "example": "{\"GatewayId\":\"gateway-2f2e3c42\",\"GroupId\":\"group-c01e82b6\"}",
6771
+ "member": "DescribeInstanceInfoByIpResult",
6772
+ "name": "Result",
6773
+ "output_required": false,
6774
+ "type": "object",
6775
+ "value_allowed_null": true
6776
+ },
6777
+ {
6778
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6779
+ "member": "string",
6780
+ "name": "RequestId",
6781
+ "type": "string"
6782
+ }
6783
+ ],
6784
+ "type": "object"
6785
+ },
6742
6786
  "DescribeCloudNativeAPIGatewayNodesRequest": {
6743
6787
  "document": "DescribeCloudNativeAPIGatewayNodes请求参数结构体",
6744
6788
  "members": [
@@ -8953,6 +8997,32 @@
8953
8997
  ],
8954
8998
  "type": "object"
8955
8999
  },
9000
+ "DescribeInstanceInfoByIpResult": {
9001
+ "document": "根据公网IP查询云原生网关实例信息出参",
9002
+ "members": [
9003
+ {
9004
+ "disabled": false,
9005
+ "document": "实例id\n注意:此字段可能返回 null,表示取不到有效值。",
9006
+ "example": "gateway-xxx",
9007
+ "member": "string",
9008
+ "name": "GatewayId",
9009
+ "output_required": false,
9010
+ "type": "string",
9011
+ "value_allowed_null": true
9012
+ },
9013
+ {
9014
+ "disabled": false,
9015
+ "document": "分组id\n注意:此字段可能返回 null,表示取不到有效值。",
9016
+ "example": "group-xxx",
9017
+ "member": "string",
9018
+ "name": "GroupId",
9019
+ "output_required": false,
9020
+ "type": "string",
9021
+ "value_allowed_null": true
9022
+ }
9023
+ ],
9024
+ "usage": "out"
9025
+ },
8956
9026
  "DescribeInstanceRegionInfo": {
8957
9027
  "document": "实例地域信息描述",
8958
9028
  "members": [