tccli 3.0.1182.1__py2.py3-none-any.whl → 3.0.1184.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/ams/v20201229/api.json +20 -0
  3. tccli/services/ams/v20201229/examples.json +1 -1
  4. tccli/services/asr/asr_client.py +229 -17
  5. tccli/services/asr/v20190614/api.json +379 -0
  6. tccli/services/asr/v20190614/examples.json +32 -0
  7. tccli/services/bi/v20220105/api.json +10 -0
  8. tccli/services/cdwdoris/v20211228/api.json +189 -8
  9. tccli/services/cdwdoris/v20211228/examples.json +3 -3
  10. tccli/services/cfg/v20210820/api.json +134 -11
  11. tccli/services/cfw/cfw_client.py +53 -0
  12. tccli/services/cfw/v20190904/api.json +44 -0
  13. tccli/services/cfw/v20190904/examples.json +8 -0
  14. tccli/services/ckafka/v20190819/api.json +46 -16
  15. tccli/services/ckafka/v20190819/examples.json +8 -8
  16. tccli/services/clb/v20180317/api.json +40 -1
  17. tccli/services/cynosdb/cynosdb_client.py +110 -4
  18. tccli/services/cynosdb/v20190107/api.json +246 -0
  19. tccli/services/cynosdb/v20190107/examples.json +16 -0
  20. tccli/services/dasb/v20191018/api.json +9 -0
  21. tccli/services/dbbrain/v20210527/api.json +15 -15
  22. tccli/services/dc/v20180410/api.json +117 -73
  23. tccli/services/dc/v20180410/examples.json +11 -11
  24. tccli/services/dcdb/dcdb_client.py +53 -0
  25. tccli/services/dcdb/v20180411/api.json +54 -0
  26. tccli/services/dcdb/v20180411/examples.json +8 -0
  27. tccli/services/emr/emr_client.py +53 -0
  28. tccli/services/emr/v20190103/api.json +52 -0
  29. tccli/services/emr/v20190103/examples.json +8 -0
  30. tccli/services/es/es_client.py +53 -0
  31. tccli/services/es/v20180416/api.json +63 -0
  32. tccli/services/es/v20180416/examples.json +8 -0
  33. tccli/services/ess/v20201111/examples.json +3 -3
  34. tccli/services/essbasic/v20210526/api.json +8 -8
  35. tccli/services/essbasic/v20210526/examples.json +9 -9
  36. tccli/services/hunyuan/v20230901/api.json +1 -1
  37. tccli/services/ims/v20201229/api.json +1 -1
  38. tccli/services/iss/v20230517/api.json +18 -0
  39. tccli/services/iss/v20230517/examples.json +3 -3
  40. tccli/services/lke/v20231130/api.json +142 -3
  41. tccli/services/mariadb/mariadb_client.py +57 -4
  42. tccli/services/mariadb/v20170312/api.json +54 -0
  43. tccli/services/mariadb/v20170312/examples.json +8 -0
  44. tccli/services/oceanus/v20190422/api.json +19 -0
  45. tccli/services/oceanus/v20190422/examples.json +1 -1
  46. tccli/services/ocr/v20181119/api.json +7 -7
  47. tccli/services/postgres/v20170312/api.json +3 -0
  48. tccli/services/scf/v20180416/api.json +8 -8
  49. tccli/services/sms/v20190711/api.json +49 -49
  50. tccli/services/sms/v20190711/examples.json +2 -2
  51. tccli/services/ssl/ssl_client.py +65 -12
  52. tccli/services/ssl/v20191205/api.json +133 -3
  53. tccli/services/ssl/v20191205/examples.json +10 -2
  54. tccli/services/tdmq/v20200217/api.json +170 -93
  55. tccli/services/tdmq/v20200217/examples.json +8 -8
  56. tccli/services/thpc/thpc_client.py +53 -0
  57. tccli/services/thpc/v20230321/api.json +561 -0
  58. tccli/services/thpc/v20230321/examples.json +8 -0
  59. tccli/services/tke/v20180525/api.json +14 -2
  60. tccli/services/tke/v20180525/examples.json +3 -3
  61. tccli/services/tmt/v20180321/api.json +1 -1
  62. tccli/services/trocket/v20230308/api.json +62 -12
  63. tccli/services/trtc/v20190722/api.json +2 -2
  64. tccli/services/vpc/v20170312/api.json +23 -0
  65. tccli/services/wedata/v20210820/api.json +176 -0
  66. tccli/services/wedata/v20210820/examples.json +8 -0
  67. tccli/services/wedata/wedata_client.py +53 -0
  68. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/METADATA +2 -2
  69. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/RECORD +72 -72
  70. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/WHEEL +0 -0
  71. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/entry_points.txt +0 -0
  72. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/license_files/LICENSE +0 -0
@@ -35,6 +35,13 @@
35
35
  "output": "CreateClusterResponse",
36
36
  "status": "online"
37
37
  },
38
+ "CreateWorkspaces": {
39
+ "document": "本接口 (CreateWorkspaces) 用于创建工作空间。",
40
+ "input": "CreateWorkspacesRequest",
41
+ "name": "创建工作空间",
42
+ "output": "CreateWorkspacesResponse",
43
+ "status": "online"
44
+ },
38
45
  "DeleteCluster": {
39
46
  "document": "本接口(DeleteCluster)用于删除一个指定的集群。",
40
47
  "input": "DeleteClusterRequest",
@@ -1196,6 +1203,232 @@
1196
1203
  ],
1197
1204
  "type": "object"
1198
1205
  },
1206
+ "CreateWorkspacesRequest": {
1207
+ "document": "CreateWorkspaces请求参数结构体",
1208
+ "members": [
1209
+ {
1210
+ "disabled": false,
1211
+ "document": "用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。",
1212
+ "example": "system-f3827db9-c58a-49cc-bf10-33fc1923a34a",
1213
+ "member": "string",
1214
+ "name": "ClientToken",
1215
+ "required": false,
1216
+ "type": "string"
1217
+ },
1218
+ {
1219
+ "disabled": false,
1220
+ "document": "实例所在的位置。通过该参数可以指定实例所属可用区,所属项目,所属宿主机(在专用宿主机上创建子机时指定)等属性。 <b>注:如果您不指定LaunchTemplate参数,则Placement为必选参数。若同时传递Placement和LaunchTemplate,则默认覆盖LaunchTemplate中对应的Placement的值。</b>",
1221
+ "example": "无",
1222
+ "member": "SpacePlacement",
1223
+ "name": "Placement",
1224
+ "required": false,
1225
+ "type": "object"
1226
+ },
1227
+ {
1228
+ "disabled": false,
1229
+ "document": "预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。",
1230
+ "example": "无",
1231
+ "member": "SpaceChargePrepaid",
1232
+ "name": "SpaceChargePrepaid",
1233
+ "required": false,
1234
+ "type": "object"
1235
+ },
1236
+ {
1237
+ "disabled": false,
1238
+ "document": "工作空间计费类型",
1239
+ "example": "PREPAID",
1240
+ "member": "string",
1241
+ "name": "SpaceChargeType",
1242
+ "required": false,
1243
+ "type": "string"
1244
+ },
1245
+ {
1246
+ "disabled": false,
1247
+ "document": "工作空间规格",
1248
+ "example": "无",
1249
+ "member": "string",
1250
+ "name": "SpaceType",
1251
+ "required": false,
1252
+ "type": "string"
1253
+ },
1254
+ {
1255
+ "disabled": false,
1256
+ "document": "镜像ID",
1257
+ "example": "img-irmer45l",
1258
+ "member": "string",
1259
+ "name": "ImageId",
1260
+ "required": false,
1261
+ "type": "string"
1262
+ },
1263
+ {
1264
+ "disabled": false,
1265
+ "document": "工作空间系统盘信息",
1266
+ "example": "无",
1267
+ "member": "SpaceSystemDisk",
1268
+ "name": "SystemDisk",
1269
+ "required": false,
1270
+ "type": "object"
1271
+ },
1272
+ {
1273
+ "disabled": false,
1274
+ "document": "工作空间数据盘信息",
1275
+ "example": "无",
1276
+ "member": "SpaceDataDisk",
1277
+ "name": "DataDisks",
1278
+ "required": false,
1279
+ "type": "list"
1280
+ },
1281
+ {
1282
+ "disabled": false,
1283
+ "document": "私有网络相关信息",
1284
+ "example": "无",
1285
+ "member": "SpaceVirtualPrivateCloud",
1286
+ "name": "VirtualPrivateCloud",
1287
+ "required": false,
1288
+ "type": "object"
1289
+ },
1290
+ {
1291
+ "disabled": false,
1292
+ "document": "公网带宽相关信息设置",
1293
+ "example": "无",
1294
+ "member": "SpaceInternetAccessible",
1295
+ "name": "InternetAccessible",
1296
+ "required": false,
1297
+ "type": "object"
1298
+ },
1299
+ {
1300
+ "disabled": false,
1301
+ "document": "购买工作空间数量",
1302
+ "example": "1",
1303
+ "member": "int64",
1304
+ "name": "SpaceCount",
1305
+ "required": false,
1306
+ "type": "int"
1307
+ },
1308
+ {
1309
+ "disabled": false,
1310
+ "document": "工作空间显示名称",
1311
+ "example": "无",
1312
+ "member": "string",
1313
+ "name": "SpaceName",
1314
+ "required": false,
1315
+ "type": "string"
1316
+ },
1317
+ {
1318
+ "disabled": false,
1319
+ "document": "工作空间登陆设置",
1320
+ "example": "无",
1321
+ "member": "LoginSettings",
1322
+ "name": "LoginSettings",
1323
+ "required": false,
1324
+ "type": "object"
1325
+ },
1326
+ {
1327
+ "disabled": false,
1328
+ "document": "工作空间所属安全组",
1329
+ "example": "[\"sg-ajhn9qtq\"]",
1330
+ "member": "string",
1331
+ "name": "SecurityGroupIds",
1332
+ "required": false,
1333
+ "type": "list"
1334
+ },
1335
+ {
1336
+ "disabled": false,
1337
+ "document": "增强服务",
1338
+ "example": "无",
1339
+ "member": "EnhancedService",
1340
+ "name": "EnhancedService",
1341
+ "required": false,
1342
+ "type": "object"
1343
+ },
1344
+ {
1345
+ "disabled": false,
1346
+ "document": "是否只预检此次请求",
1347
+ "example": "false",
1348
+ "member": "bool",
1349
+ "name": "DryRun",
1350
+ "required": false,
1351
+ "type": "bool"
1352
+ },
1353
+ {
1354
+ "disabled": false,
1355
+ "document": "提供给工作空间使用的用户数据",
1356
+ "example": "TXlVc2VyRGF0YQo=",
1357
+ "member": "string",
1358
+ "name": "UserData",
1359
+ "required": false,
1360
+ "type": "string"
1361
+ },
1362
+ {
1363
+ "disabled": false,
1364
+ "document": "置放群组id",
1365
+ "example": "['ps-3p88qhfo']",
1366
+ "member": "string",
1367
+ "name": "DisasterRecoverGroupIds",
1368
+ "required": false,
1369
+ "type": "list"
1370
+ },
1371
+ {
1372
+ "disabled": false,
1373
+ "document": "标签描述列表",
1374
+ "example": "无",
1375
+ "member": "TagSpecification",
1376
+ "name": "TagSpecification",
1377
+ "required": false,
1378
+ "type": "list"
1379
+ },
1380
+ {
1381
+ "disabled": false,
1382
+ "document": "高性能计算集群ID",
1383
+ "example": "hpc-a5n666lo",
1384
+ "member": "string",
1385
+ "name": "HpcClusterId",
1386
+ "required": false,
1387
+ "type": "string"
1388
+ },
1389
+ {
1390
+ "disabled": false,
1391
+ "document": "CAM角色名称",
1392
+ "example": "testroleName001",
1393
+ "member": "string",
1394
+ "name": "CamRoleName",
1395
+ "required": false,
1396
+ "type": "string"
1397
+ },
1398
+ {
1399
+ "disabled": false,
1400
+ "document": "实例主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><br><li>Windows 实例:主机名名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><br><li>其他类型(Linux 等)实例:主机名字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li><br><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server{R:3}`,购买1台时,实例主机名为`server3`;购买2台时,实例主机名分别为`server3`,`server4`。支持指定多个模式串`{R:x}`。</li><br><li>购买多台实例,如果不指定模式串,则在实例主机名添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server`,购买2台时,实例主机名分别为`server1`,`server2`。</li>",
1401
+ "example": "MyHostName",
1402
+ "member": "string",
1403
+ "name": "HostName",
1404
+ "required": false,
1405
+ "type": "string"
1406
+ }
1407
+ ],
1408
+ "type": "object"
1409
+ },
1410
+ "CreateWorkspacesResponse": {
1411
+ "document": "CreateWorkspaces返回参数结构体",
1412
+ "members": [
1413
+ {
1414
+ "disabled": false,
1415
+ "document": "工作空间ID",
1416
+ "example": "['wks-rn99mzt1']",
1417
+ "member": "string",
1418
+ "name": "SpaceIdSet",
1419
+ "output_required": true,
1420
+ "type": "list",
1421
+ "value_allowed_null": false
1422
+ },
1423
+ {
1424
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1425
+ "member": "string",
1426
+ "name": "RequestId",
1427
+ "type": "string"
1428
+ }
1429
+ ],
1430
+ "type": "object"
1431
+ },
1199
1432
  "DataDisk": {
1200
1433
  "document": "描述了数据盘的信息",
1201
1434
  "members": [
@@ -3023,6 +3256,306 @@
3023
3256
  ],
3024
3257
  "type": "object"
3025
3258
  },
3259
+ "SpaceChargePrepaid": {
3260
+ "document": "描述了工作空间的计费模式",
3261
+ "members": [
3262
+ {
3263
+ "disabled": false,
3264
+ "document": "购买实例的时长,单位:月。取值范围:1, 2, 3, 12, 24, 36。默认取值为1。\n注意:此字段可能返回 null,表示取不到有效值。",
3265
+ "example": "无",
3266
+ "member": "int64",
3267
+ "name": "Period",
3268
+ "output_required": true,
3269
+ "required": false,
3270
+ "type": "int",
3271
+ "value_allowed_null": true
3272
+ },
3273
+ {
3274
+ "disabled": false,
3275
+ "document": "自动续费标识。取值范围:\n\nNOTIFY_AND_AUTO_RENEW:通知过期且自动续费\n\nNOTIFY_AND_MANUAL_RENEW:通知过期不自动续费\n\nDISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费\n\n\n默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。\n注意:此字段可能返回 null,表示取不到有效值。",
3276
+ "example": "无",
3277
+ "member": "string",
3278
+ "name": "RenewFlag",
3279
+ "output_required": true,
3280
+ "required": false,
3281
+ "type": "string",
3282
+ "value_allowed_null": true
3283
+ }
3284
+ ],
3285
+ "usage": "both"
3286
+ },
3287
+ "SpaceDataDisk": {
3288
+ "document": "工作空间数据盘配置",
3289
+ "members": [
3290
+ {
3291
+ "disabled": false,
3292
+ "document": "数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br />\n<li>\n LOCAL_BASIC:本地硬盘<br />\n <li>\n LOCAL_SSD:本地SSD硬盘<br />\n <li>\n LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br />\n <li>\n LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br />\n <li>\n CLOUD_BASIC:普通云硬盘<br />\n <li>\n CLOUD_PREMIUM:高性能云硬盘<br />\n <li>\n CLOUD_SSD:SSD云硬盘<br />\n <li>\n CLOUD_HSSD:增强型SSD云硬盘<br />\n <li>\n CLOUD_TSSD:极速型SSD云硬盘<br />\n <li>\n CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。\n </li>\n </li>\n </li>\n </li>\n </li>\n </li>\n </li>\n </li>\n </li>\n</li>",
3293
+ "example": "无",
3294
+ "member": "string",
3295
+ "name": "DiskType",
3296
+ "output_required": true,
3297
+ "required": false,
3298
+ "type": "string",
3299
+ "value_allowed_null": false
3300
+ },
3301
+ {
3302
+ "disabled": false,
3303
+ "document": "数据盘\n注意:此字段可能返回 null,表示取不到有效值。",
3304
+ "example": "无",
3305
+ "member": "string",
3306
+ "name": "DiskId",
3307
+ "output_required": true,
3308
+ "required": false,
3309
+ "type": "string",
3310
+ "value_allowed_null": true
3311
+ },
3312
+ {
3313
+ "disabled": false,
3314
+ "document": "数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。",
3315
+ "example": "无",
3316
+ "member": "int64",
3317
+ "name": "DiskSize",
3318
+ "output_required": true,
3319
+ "required": false,
3320
+ "type": "int",
3321
+ "value_allowed_null": false
3322
+ },
3323
+ {
3324
+ "disabled": false,
3325
+ "document": "数据盘是否随子机销毁。取值范围:\n<li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>\n<li>\n FALSE:子机销毁时,保留数据盘<br />\n 默认取值:TRUE<br />\n 该参数目前仅用于 `RunInstances` 接口。\n</li>\n注意:此字段可能返回 null,表示取不到有效值。",
3326
+ "example": "无",
3327
+ "member": "bool",
3328
+ "name": "DeleteWithInstance",
3329
+ "output_required": false,
3330
+ "required": false,
3331
+ "type": "bool",
3332
+ "value_allowed_null": true
3333
+ },
3334
+ {
3335
+ "disabled": false,
3336
+ "document": "数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。\n注意:此字段可能返回 null,表示取不到有效值。",
3337
+ "example": "无",
3338
+ "member": "string",
3339
+ "name": "SnapshotId",
3340
+ "output_required": false,
3341
+ "required": false,
3342
+ "type": "string",
3343
+ "value_allowed_null": true
3344
+ },
3345
+ {
3346
+ "disabled": false,
3347
+ "document": "数据盘是加密。取值范围:\n<li>true:加密</li>\n<li>\n false:不加密<br />\n 默认取值:false<br />\n 该参数目前仅用于 `RunInstances` 接口。\n</li>\n注意:此字段可能返回 null,表示取不到有效值。",
3348
+ "example": "无",
3349
+ "member": "bool",
3350
+ "name": "Encrypt",
3351
+ "output_required": false,
3352
+ "required": false,
3353
+ "type": "bool",
3354
+ "value_allowed_null": true
3355
+ },
3356
+ {
3357
+ "disabled": false,
3358
+ "document": "自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。\n\n该参数目前仅用于 `CreateWorkspaces` 接口。\n注意:此字段可能返回 null,表示取不到有效值。",
3359
+ "example": "无",
3360
+ "member": "string",
3361
+ "name": "KmsKeyId",
3362
+ "output_required": false,
3363
+ "required": false,
3364
+ "type": "string",
3365
+ "value_allowed_null": true
3366
+ },
3367
+ {
3368
+ "disabled": false,
3369
+ "document": "云硬盘性能,单位:MB/s\n注意:此字段可能返回 null,表示取不到有效值。",
3370
+ "example": "无",
3371
+ "member": "int64",
3372
+ "name": "ThroughputPerformance",
3373
+ "output_required": false,
3374
+ "required": false,
3375
+ "type": "int",
3376
+ "value_allowed_null": true
3377
+ },
3378
+ {
3379
+ "disabled": false,
3380
+ "document": "突发性能\n\n注:内测中。\n注意:此字段可能返回 null,表示取不到有效值。",
3381
+ "example": "无",
3382
+ "member": "bool",
3383
+ "name": "BurstPerformance",
3384
+ "output_required": false,
3385
+ "required": false,
3386
+ "type": "bool",
3387
+ "value_allowed_null": true
3388
+ }
3389
+ ],
3390
+ "usage": "both"
3391
+ },
3392
+ "SpaceInternetAccessible": {
3393
+ "document": "描述了工作空间的公网可访问性,声明了工作空间的公网使用计费模式,最大带宽等",
3394
+ "members": [
3395
+ {
3396
+ "disabled": false,
3397
+ "document": "网络计费类型\n注意:此字段可能返回 null,表示取不到有效值。",
3398
+ "example": "无",
3399
+ "member": "string",
3400
+ "name": "InternetChargeType",
3401
+ "output_required": true,
3402
+ "required": false,
3403
+ "type": "string",
3404
+ "value_allowed_null": true
3405
+ },
3406
+ {
3407
+ "disabled": false,
3408
+ "document": "公网出带宽上限,默认为0\n注意:此字段可能返回 null,表示取不到有效值。",
3409
+ "example": "无",
3410
+ "member": "int64",
3411
+ "name": "InternetMaxBandwidthOut",
3412
+ "output_required": true,
3413
+ "required": false,
3414
+ "type": "int",
3415
+ "value_allowed_null": true
3416
+ },
3417
+ {
3418
+ "disabled": false,
3419
+ "document": "是否分配公网IP\n注意:此字段可能返回 null,表示取不到有效值。",
3420
+ "example": "false",
3421
+ "member": "bool",
3422
+ "name": "PublicIpAssigned",
3423
+ "output_required": false,
3424
+ "required": false,
3425
+ "type": "bool",
3426
+ "value_allowed_null": true
3427
+ },
3428
+ {
3429
+ "disabled": false,
3430
+ "document": "带宽包ID\n注意:此字段可能返回 null,表示取不到有效值。",
3431
+ "example": "无",
3432
+ "member": "string",
3433
+ "name": "BandwidthPackageId",
3434
+ "output_required": false,
3435
+ "required": false,
3436
+ "type": "string",
3437
+ "value_allowed_null": true
3438
+ }
3439
+ ],
3440
+ "usage": "both"
3441
+ },
3442
+ "SpacePlacement": {
3443
+ "document": "描述了实例的抽象位置,包括其所在的可用区,所属的项目",
3444
+ "members": [
3445
+ {
3446
+ "disabled": false,
3447
+ "document": "可用区\n注意:此字段可能返回 null,表示取不到有效值。",
3448
+ "example": "无",
3449
+ "member": "string",
3450
+ "name": "Zone",
3451
+ "output_required": false,
3452
+ "required": true,
3453
+ "type": "string",
3454
+ "value_allowed_null": true
3455
+ },
3456
+ {
3457
+ "disabled": false,
3458
+ "document": "项目,默认是0\n注意:此字段可能返回 null,表示取不到有效值。",
3459
+ "example": "无",
3460
+ "member": "uint64",
3461
+ "name": "ProjectId",
3462
+ "output_required": false,
3463
+ "required": false,
3464
+ "type": "int",
3465
+ "value_allowed_null": true
3466
+ }
3467
+ ],
3468
+ "usage": "both"
3469
+ },
3470
+ "SpaceSystemDisk": {
3471
+ "document": "工作空间系统盘配置",
3472
+ "members": [
3473
+ {
3474
+ "disabled": false,
3475
+ "document": "系统盘类型。系统盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<ul><li>LOCAL_BASIC:本地硬盘</li><li>LOCAL_SSD:本地SSD硬盘</li><li>CLOUD_BASIC:普通云硬盘</li><li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_BSSD:通用性SSD云硬盘</li><li>CLOUD_HSSD:增强型SSD云硬盘</li><li>CLOUD_TSSD:极速型SSD云硬盘</li></ul>默认取值:当前有库存的硬盘类型。\n注意:此字段可能返回 null,表示取不到有效值。",
3476
+ "example": "无",
3477
+ "member": "string",
3478
+ "name": "DiskType",
3479
+ "output_required": true,
3480
+ "required": false,
3481
+ "type": "string",
3482
+ "value_allowed_null": true
3483
+ },
3484
+ {
3485
+ "disabled": false,
3486
+ "document": "系统盘大小,单位:GB。默认值为 50\n注意:此字段可能返回 null,表示取不到有效值。",
3487
+ "example": "无",
3488
+ "member": "int64",
3489
+ "name": "DiskSize",
3490
+ "output_required": true,
3491
+ "required": false,
3492
+ "type": "int",
3493
+ "value_allowed_null": true
3494
+ }
3495
+ ],
3496
+ "usage": "both"
3497
+ },
3498
+ "SpaceVirtualPrivateCloud": {
3499
+ "document": "描述了工作空间VPC相关信息,包括子网,IP信息等",
3500
+ "members": [
3501
+ {
3502
+ "disabled": false,
3503
+ "document": "私有网络ID",
3504
+ "example": "vpc-2ij",
3505
+ "member": "string",
3506
+ "name": "VpcId",
3507
+ "output_required": true,
3508
+ "required": true,
3509
+ "type": "string",
3510
+ "value_allowed_null": false
3511
+ },
3512
+ {
3513
+ "disabled": false,
3514
+ "document": "私有网络子网ID",
3515
+ "example": "subnet-2ks",
3516
+ "member": "string",
3517
+ "name": "SubnetId",
3518
+ "output_required": true,
3519
+ "required": true,
3520
+ "type": "string",
3521
+ "value_allowed_null": false
3522
+ },
3523
+ {
3524
+ "disabled": false,
3525
+ "document": "是否用作公网网关",
3526
+ "example": "false",
3527
+ "member": "bool",
3528
+ "name": "AsVpcGateway",
3529
+ "output_required": true,
3530
+ "required": false,
3531
+ "type": "bool",
3532
+ "value_allowed_null": false
3533
+ },
3534
+ {
3535
+ "disabled": false,
3536
+ "document": "私有网络子网 IP 数组",
3537
+ "example": "[\"10.0.0.1\"]",
3538
+ "member": "string",
3539
+ "name": "PrivateIpAddresses",
3540
+ "output_required": true,
3541
+ "required": false,
3542
+ "type": "list",
3543
+ "value_allowed_null": false
3544
+ },
3545
+ {
3546
+ "disabled": false,
3547
+ "document": "为弹性网卡指定随机生成",
3548
+ "example": "1",
3549
+ "member": "uint64",
3550
+ "name": "Ipv6AddressCount",
3551
+ "output_required": true,
3552
+ "required": false,
3553
+ "type": "int",
3554
+ "value_allowed_null": false
3555
+ }
3556
+ ],
3557
+ "usage": "both"
3558
+ },
3026
3559
  "StorageOption": {
3027
3560
  "document": "描述集群文件系统选项",
3028
3561
  "members": [
@@ -3149,6 +3682,34 @@
3149
3682
  ],
3150
3683
  "usage": "both"
3151
3684
  },
3685
+ "TagSpecification": {
3686
+ "document": "创建资源工作空间时同时绑定的标签对说明",
3687
+ "members": [
3688
+ {
3689
+ "disabled": false,
3690
+ "document": "标签绑定的资源类型\n注意:此字段可能返回 null,表示取不到有效值。",
3691
+ "example": "workspace",
3692
+ "member": "string",
3693
+ "name": "ResourceType",
3694
+ "output_required": true,
3695
+ "required": true,
3696
+ "type": "string",
3697
+ "value_allowed_null": true
3698
+ },
3699
+ {
3700
+ "disabled": false,
3701
+ "document": "标签对列表\n注意:此字段可能返回 null,表示取不到有效值。",
3702
+ "example": "无",
3703
+ "member": "Tag",
3704
+ "name": "Tags",
3705
+ "output_required": true,
3706
+ "required": true,
3707
+ "type": "list",
3708
+ "value_allowed_null": true
3709
+ }
3710
+ ],
3711
+ "usage": "both"
3712
+ },
3152
3713
  "VirtualPrivateCloud": {
3153
3714
  "document": "描述了VPC相关信息",
3154
3715
  "members": [
@@ -40,6 +40,14 @@
40
40
  "title": "创建集群"
41
41
  }
42
42
  ],
43
+ "CreateWorkspaces": [
44
+ {
45
+ "document": "创建工作空间",
46
+ "input": "POST / HTTP/1.1\nHost: thpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWorkspaces\n<公共请求参数>\n\n{\n\n\t\"SpaceChargeType\": \"PREPAID\",\n\t\"SpaceChargePrepaid\": {\n\t\t\"Period\": 1,\n\t\t\"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\"\n\t},\n\t\"Placement\": {\n\t\t\"Zone\": \"ap-guangzhou-2\",\n\t\t\"ProjectId\": 0\n\t},\n\t\"VirtualPrivateCloud\": {\n\t\t\"AsVpcGateway\": false,\n\t\t\"VpcId\": \"vpc-nrqwfyzv\",\n\t\t\"SubnetId\": \"subnet-0tmm4ywk\",\n\t\t\"Ipv6AddressCount\": 0\n\t},\n\t\"SpaceType\": \"96A.96XLARGE2304\",\n\t\"ImageId\": \"img-9qrfy1xt\",\n\t\"SystemDisk\": {\n\t\t\"DiskSize\": 50,\n\t\t\"DiskType\": \"CLOUD_PREMIUM\",\n\t\t\"DiskBackupQuota\": 1\n\t},\n\t\"DataDisks\": [{\n\t\t\"DiskSize\": 50,\n\t\t\"DiskType\": \"CLOUD_PREMIUM\",\n\t\t\"DiskBackupQuota\": 1\n\t}, {\n\t\t\"DiskSize\": 50,\n\t\t\"DiskType\": \"CLOUD_PREMIUM\",\n\t\t\"DiskBackupQuota\": 1\n\t}],\n\t\"InternetAccessible\": {\n\t\t\"PublicIpAssigned\": true,\n\t\t\"InternetMaxBandwidthOut\": 5\n\t},\n\t\"SecurityGroupIds\": [\"sg-fsx9rsr1\"],\n\t\"SpaceCount\": 1,\n\t\"EnhancedService\": {\n\t\t\"SecurityService\": {\n\t\t\t\"Enabled\": true\n\t\t},\n\t\t\"MonitorService\": {\n\t\t\t\"Enabled\": true\n\t\t},\n\t\t\"AutomationService\": {\n\t\t\t\"Enabled\": true\n\t\t}\n\t}\n}",
47
+ "output": "{\n \"Response\": {\n \"SpaceIdSet\": [\n \"wks-avs9gqvt\"\n ],\n \"RequestId\": \"efbbe00e-0175-4ee7-92c5-debc5763142d\"\n }\n}",
48
+ "title": "创建工作空间"
49
+ }
50
+ ],
43
51
  "DeleteCluster": [
44
52
  {
45
53
  "document": "删除指定集群。",
@@ -4666,7 +4666,7 @@
4666
4666
  {
4667
4667
  "disabled": false,
4668
4668
  "document": "CVM创建透传参数,json化字符串格式,如需要保证扩展集群节点请求幂等性需要在此参数添加ClientToken字段,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。",
4669
- "example": "{}",
4669
+ "example": " {\"InstanceChargeType\":\"POSTPAID_BY_HOUR\",\"Placement\":{\"Zone\":\"ap-shanghai-1\",\"ProjectId\":0},\"InstanceType\":\"S2.LARGE4\",\"SystemDisk\":{\"DiskType\":\"CLOUD_BSSD\",\"DiskSize\":50},\"VirtualPrivateCloud\":{\"VpcId\":\"vpc-135qxjgs\",\"SubnetId\":\"subnet-rtp4p7q3\",\"AsVpcGateway\":false,\"Ipv6AddressCount\":0},\"InternetAccessible\":{\"InternetChargeType\":\"TRAFFIC_POSTPAID_BY_HOUR\",\"InternetMaxBandwidthOut\":1,\"PublicIpAssigned\":true},\"InstanceCount\":1,\"ImageId\":\"img-9qrfy1xt\",\"InstanceName\":\"tke_cls-qgbeoz23_worker\",\"LoginSettings\":{},\"SecurityGroupIds\":[\"sg-gt69n0lo\"],\"EnhancedService\":{\"SecurityService\":{\"Enabled\":true},\"MonitorService\":{\"Enabled\":true}}}",
4670
4670
  "member": "string",
4671
4671
  "name": "RunInstancePara",
4672
4672
  "required": true,
@@ -4702,6 +4702,7 @@
4702
4702
  "example": "[",
4703
4703
  "member": "string",
4704
4704
  "name": "InstanceIdSet",
4705
+ "output_required": true,
4705
4706
  "type": "list",
4706
4707
  "value_allowed_null": false
4707
4708
  },
@@ -9210,6 +9211,7 @@
9210
9211
  "example": "10",
9211
9212
  "member": "int64",
9212
9213
  "name": "TotalCount",
9214
+ "output_required": true,
9213
9215
  "type": "int",
9214
9216
  "value_allowed_null": false
9215
9217
  },
@@ -9219,6 +9221,7 @@
9219
9221
  "example": "无",
9220
9222
  "member": "ClusterLevelChangeRecord",
9221
9223
  "name": "Items",
9224
+ "output_required": true,
9222
9225
  "type": "list",
9223
9226
  "value_allowed_null": false
9224
9227
  },
@@ -16950,7 +16953,7 @@
16950
16953
  {
16951
16954
  "disabled": false,
16952
16955
  "document": "TKE集群ID",
16953
- "example": "cls-xxxxxx",
16956
+ "example": "cls-12jsh8ds",
16954
16957
  "member": "string",
16955
16958
  "name": "ClusterId",
16956
16959
  "required": true,
@@ -16964,6 +16967,15 @@
16964
16967
  "name": "KubeletRootDir",
16965
16968
  "required": false,
16966
16969
  "type": "string"
16970
+ },
16971
+ {
16972
+ "disabled": false,
16973
+ "document": "集群类型 tke/eks,默认tke",
16974
+ "example": "tke",
16975
+ "member": "string",
16976
+ "name": "ClusterType",
16977
+ "required": false,
16978
+ "type": "string"
16967
16979
  }
16968
16980
  ],
16969
16981
  "type": "object"