tccli 3.0.1156.1__py2.py3-none-any.whl → 3.0.1157.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/cam/v20190116/api.json +10 -0
- tccli/services/cdwch/v20200915/api.json +27 -0
- tccli/services/cdwdoris/v20211228/api.json +27 -0
- tccli/services/cynosdb/v20190107/api.json +1 -1
- tccli/services/dts/v20211206/api.json +9 -0
- tccli/services/mongodb/mongodb_client.py +273 -8
- tccli/services/mongodb/v20190725/api.json +480 -0
- tccli/services/mongodb/v20190725/examples.json +40 -0
- tccli/services/mps/v20190612/api.json +2 -2
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/tem/v20210701/api.json +21 -3
- tccli/services/tem/v20210701/examples.json +1 -7
- tccli/services/thpc/thpc_client.py +110 -4
- tccli/services/thpc/v20230321/api.json +170 -35
- tccli/services/thpc/v20230321/examples.json +17 -1
- tccli/services/tke/v20220501/api.json +10 -0
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vpc/v20170312/api.json +74 -15
- tccli/services/wedata/v20210820/api.json +45 -7
- tccli/services/wedata/v20210820/examples.json +6 -0
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1157.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1157.1.dist-info}/RECORD +26 -26
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1157.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1157.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1156.1.dist-info → tccli-3.0.1157.1.dist-info}/license_files/LICENSE +0 -0
@@ -21,6 +21,13 @@
|
|
21
21
|
"output": "AddQueueResponse",
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
|
+
"AttachNodes": {
|
25
|
+
"document": "本接口 (AttachNodes) 用于绑定一个或者多个计算节点指定资源到指定集群中。",
|
26
|
+
"input": "AttachNodesRequest",
|
27
|
+
"name": "绑定计算资源到集群",
|
28
|
+
"output": "AttachNodesResponse",
|
29
|
+
"status": "online"
|
30
|
+
},
|
24
31
|
"CreateCluster": {
|
25
32
|
"document": "本接口 (CreateCluster) 用于创建并启动集群。\n\n* 本接口为异步接口, 当创建集群请求下发成功后会返回一个集群`ID`和一个`RequestId`,此时创建集群操作并未立即完成。在此期间集群的状态将会处于“PENDING”或者“INITING”,集群创建结果可以通过调用 [DescribeClusters](https://cloud.tencent.com/document/product/1527/72100) 接口查询,如果集群状态(ClusterStatus)变为“RUNNING(运行中)”,则代表集群创建成功,“ INIT_FAILED”代表集群创建失败。",
|
26
33
|
"input": "CreateClusterRequest",
|
@@ -105,6 +112,13 @@
|
|
105
112
|
"output": "DescribeQueuesResponse",
|
106
113
|
"status": "online"
|
107
114
|
},
|
115
|
+
"DetachNodes": {
|
116
|
+
"document": "本接口 (DetachNodes) 用于将一个或者多个计算节点从集群中移除,但是不销毁指定计算资源。",
|
117
|
+
"input": "DetachNodesRequest",
|
118
|
+
"name": "从集群解绑节点",
|
119
|
+
"output": "DetachNodesResponse",
|
120
|
+
"status": "online"
|
121
|
+
},
|
108
122
|
"ModifyInitNodeScripts": {
|
109
123
|
"document": "本接口 (ModifyInitNodeScripts) 用于修改节点初始化脚本。",
|
110
124
|
"input": "ModifyInitNodeScriptsRequest",
|
@@ -213,7 +227,7 @@
|
|
213
227
|
},
|
214
228
|
{
|
215
229
|
"disabled": false,
|
216
|
-
"document": "节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
230
|
+
"document": "节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。",
|
217
231
|
"example": "无",
|
218
232
|
"member": "string",
|
219
233
|
"name": "InstanceChargeType",
|
@@ -231,7 +245,7 @@
|
|
231
245
|
},
|
232
246
|
{
|
233
247
|
"disabled": false,
|
234
|
-
"document": "节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
248
|
+
"document": "节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>",
|
235
249
|
"example": "无",
|
236
250
|
"member": "string",
|
237
251
|
"name": "InstanceType",
|
@@ -303,7 +317,7 @@
|
|
303
317
|
},
|
304
318
|
{
|
305
319
|
"disabled": false,
|
306
|
-
"document": "队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute
|
320
|
+
"document": "队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li><li>SGE默认队列为:all.q。</li>\n",
|
307
321
|
"example": "无",
|
308
322
|
"member": "string",
|
309
323
|
"name": "QueueName",
|
@@ -312,7 +326,7 @@
|
|
312
326
|
},
|
313
327
|
{
|
314
328
|
"disabled": false,
|
315
|
-
"document": "添加节点角色。默认值:Compute<br><li>Compute
|
329
|
+
"document": "添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><li>Login:登录节点。</li>",
|
316
330
|
"example": "无",
|
317
331
|
"member": "string",
|
318
332
|
"name": "NodeRole",
|
@@ -330,7 +344,7 @@
|
|
330
344
|
},
|
331
345
|
{
|
332
346
|
"disabled": false,
|
333
|
-
"document": "添加节点类型。默认取值:STATIC。<li>STATIC
|
347
|
+
"document": "添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。</li><li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。</li>",
|
334
348
|
"example": "无",
|
335
349
|
"member": "string",
|
336
350
|
"name": "NodeType",
|
@@ -345,6 +359,15 @@
|
|
345
359
|
"name": "ProjectId",
|
346
360
|
"required": false,
|
347
361
|
"type": "int"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"disabled": false,
|
365
|
+
"document": "要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。",
|
366
|
+
"example": "CVM",
|
367
|
+
"member": "string",
|
368
|
+
"name": "ResourceType",
|
369
|
+
"required": false,
|
370
|
+
"type": "string"
|
348
371
|
}
|
349
372
|
],
|
350
373
|
"type": "object"
|
@@ -397,6 +420,69 @@
|
|
397
420
|
],
|
398
421
|
"type": "object"
|
399
422
|
},
|
423
|
+
"AttachNodesRequest": {
|
424
|
+
"document": "AttachNodes请求参数结构体",
|
425
|
+
"members": [
|
426
|
+
{
|
427
|
+
"disabled": false,
|
428
|
+
"document": "集群id",
|
429
|
+
"example": "hpc-cy4pnyp9",
|
430
|
+
"member": "string",
|
431
|
+
"name": "ClusterId",
|
432
|
+
"required": true,
|
433
|
+
"type": "string"
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"disabled": false,
|
437
|
+
"document": "节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。",
|
438
|
+
"example": "[\"ins-a437qz3d\"]",
|
439
|
+
"member": "string",
|
440
|
+
"name": "ResourceSet",
|
441
|
+
"required": true,
|
442
|
+
"type": "list"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"disabled": false,
|
446
|
+
"document": "队列名称。不指定则为默认队列:\nSLURM默认队列为:compute。 \nSGE默认队列为:all.q。",
|
447
|
+
"example": "compute",
|
448
|
+
"member": "string",
|
449
|
+
"name": "QueueName",
|
450
|
+
"required": false,
|
451
|
+
"type": "string"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"disabled": false,
|
455
|
+
"document": "指定有效的镜像ID,格式形如img-xxx。目前仅支持公有镜像和特定自定义镜像。如不指定,则该字段是默认镜像。",
|
456
|
+
"example": "img-n7nyt2d7",
|
457
|
+
"member": "string",
|
458
|
+
"name": "ImageId",
|
459
|
+
"required": false,
|
460
|
+
"type": "string"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"disabled": false,
|
464
|
+
"document": "要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。",
|
465
|
+
"example": "CVM",
|
466
|
+
"member": "string",
|
467
|
+
"name": "ResourceType",
|
468
|
+
"required": false,
|
469
|
+
"type": "string"
|
470
|
+
}
|
471
|
+
],
|
472
|
+
"type": "object"
|
473
|
+
},
|
474
|
+
"AttachNodesResponse": {
|
475
|
+
"document": "AttachNodes返回参数结构体",
|
476
|
+
"members": [
|
477
|
+
{
|
478
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
479
|
+
"member": "string",
|
480
|
+
"name": "RequestId",
|
481
|
+
"type": "string"
|
482
|
+
}
|
483
|
+
],
|
484
|
+
"type": "object"
|
485
|
+
},
|
400
486
|
"CFSOption": {
|
401
487
|
"document": "描述CFS文件系统版本和挂载信息",
|
402
488
|
"members": [
|
@@ -786,13 +872,12 @@
|
|
786
872
|
"members": [
|
787
873
|
{
|
788
874
|
"disabled": false,
|
789
|
-
"document": "节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<
|
875
|
+
"document": "节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。",
|
790
876
|
"example": "POSTPAID_BY_HOUR",
|
791
877
|
"member": "string",
|
792
878
|
"name": "InstanceChargeType",
|
793
879
|
"required": false,
|
794
|
-
"type": "string"
|
795
|
-
"value_allowed_null": false
|
880
|
+
"type": "string"
|
796
881
|
},
|
797
882
|
{
|
798
883
|
"disabled": false,
|
@@ -801,18 +886,16 @@
|
|
801
886
|
"member": "InstanceChargePrepaid",
|
802
887
|
"name": "InstanceChargePrepaid",
|
803
888
|
"required": false,
|
804
|
-
"type": "object"
|
805
|
-
"value_allowed_null": false
|
889
|
+
"type": "object"
|
806
890
|
},
|
807
891
|
{
|
808
892
|
"disabled": false,
|
809
|
-
"document": "
|
893
|
+
"document": "节点机型。不同实例机型指定了不同的资源规格。<li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。</li>",
|
810
894
|
"example": "S2.SMALL2",
|
811
895
|
"member": "string",
|
812
896
|
"name": "InstanceType",
|
813
897
|
"required": false,
|
814
|
-
"type": "string"
|
815
|
-
"value_allowed_null": false
|
898
|
+
"type": "string"
|
816
899
|
},
|
817
900
|
{
|
818
901
|
"disabled": false,
|
@@ -821,8 +904,7 @@
|
|
821
904
|
"member": "SystemDisk",
|
822
905
|
"name": "SystemDisk",
|
823
906
|
"required": false,
|
824
|
-
"type": "object"
|
825
|
-
"value_allowed_null": false
|
907
|
+
"type": "object"
|
826
908
|
},
|
827
909
|
{
|
828
910
|
"disabled": false,
|
@@ -831,8 +913,7 @@
|
|
831
913
|
"member": "DataDisk",
|
832
914
|
"name": "DataDisks",
|
833
915
|
"required": false,
|
834
|
-
"type": "list"
|
835
|
-
"value_allowed_null": false
|
916
|
+
"type": "list"
|
836
917
|
},
|
837
918
|
{
|
838
919
|
"disabled": false,
|
@@ -841,18 +922,16 @@
|
|
841
922
|
"member": "InternetAccessible",
|
842
923
|
"name": "InternetAccessible",
|
843
924
|
"required": false,
|
844
|
-
"type": "object"
|
845
|
-
"value_allowed_null": false
|
925
|
+
"type": "object"
|
846
926
|
},
|
847
927
|
{
|
848
928
|
"disabled": false,
|
849
|
-
"document": "节点显示名称。<
|
929
|
+
"document": "节点显示名称。<li>不指定节点显示名称则默认显示‘未命名’。\n最多支持60个字符。</li>",
|
850
930
|
"example": "未命名",
|
851
931
|
"member": "string",
|
852
932
|
"name": "InstanceName",
|
853
933
|
"required": false,
|
854
|
-
"type": "string"
|
855
|
-
"value_allowed_null": false
|
934
|
+
"type": "string"
|
856
935
|
},
|
857
936
|
{
|
858
937
|
"disabled": false,
|
@@ -861,8 +940,16 @@
|
|
861
940
|
"member": "int64",
|
862
941
|
"name": "ProjectId",
|
863
942
|
"required": false,
|
864
|
-
"type": "int"
|
865
|
-
|
943
|
+
"type": "int"
|
944
|
+
},
|
945
|
+
{
|
946
|
+
"disabled": false,
|
947
|
+
"document": "实例资源类型,默认是CVM资源",
|
948
|
+
"example": "CVM",
|
949
|
+
"member": "string",
|
950
|
+
"name": "ResourceType",
|
951
|
+
"required": false,
|
952
|
+
"type": "string"
|
866
953
|
}
|
867
954
|
],
|
868
955
|
"usage": "in"
|
@@ -1545,7 +1632,7 @@
|
|
1545
1632
|
},
|
1546
1633
|
{
|
1547
1634
|
"disabled": false,
|
1548
|
-
"document": "<li><strong>queue-name</strong
|
1635
|
+
"document": "<ul>\n <li><strong>queue-name</strong>\n <p style=\"padding-left: 30px;\">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n </li>\n <li><strong>node-role</strong>\n <p style=\"padding-left: 30px;\">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n </li>\n <li><strong>node-type</strong>\n <p style=\"padding-left: 30px;\">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p>\n <p style=\"padding-left: 30px;\">类型:String</p>\n <p style=\"padding-left: 30px;\">必选:否</p>\n </li>\n</ul>\n<p style=\"padding-left: 30px;\">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>",
|
1549
1636
|
"example": "无",
|
1550
1637
|
"member": "Filter",
|
1551
1638
|
"name": "Filters",
|
@@ -1582,6 +1669,7 @@
|
|
1582
1669
|
"example": "无",
|
1583
1670
|
"member": "NodeOverview",
|
1584
1671
|
"name": "NodeSet",
|
1672
|
+
"output_required": true,
|
1585
1673
|
"type": "list",
|
1586
1674
|
"value_allowed_null": false
|
1587
1675
|
},
|
@@ -1591,6 +1679,7 @@
|
|
1591
1679
|
"example": "1",
|
1592
1680
|
"member": "int64",
|
1593
1681
|
"name": "TotalCount",
|
1682
|
+
"output_required": true,
|
1594
1683
|
"type": "int",
|
1595
1684
|
"value_allowed_null": false
|
1596
1685
|
},
|
@@ -1668,6 +1757,42 @@
|
|
1668
1757
|
],
|
1669
1758
|
"type": "object"
|
1670
1759
|
},
|
1760
|
+
"DetachNodesRequest": {
|
1761
|
+
"document": "DetachNodes请求参数结构体",
|
1762
|
+
"members": [
|
1763
|
+
{
|
1764
|
+
"disabled": false,
|
1765
|
+
"document": "集群id",
|
1766
|
+
"example": "hpc-2j8ntf9l",
|
1767
|
+
"member": "string",
|
1768
|
+
"name": "ClusterId",
|
1769
|
+
"required": true,
|
1770
|
+
"type": "string"
|
1771
|
+
},
|
1772
|
+
{
|
1773
|
+
"disabled": false,
|
1774
|
+
"document": "集群中的节点id",
|
1775
|
+
"example": "[\"node-9workmoi\"]",
|
1776
|
+
"member": "string",
|
1777
|
+
"name": "NodeIds",
|
1778
|
+
"required": true,
|
1779
|
+
"type": "list"
|
1780
|
+
}
|
1781
|
+
],
|
1782
|
+
"type": "object"
|
1783
|
+
},
|
1784
|
+
"DetachNodesResponse": {
|
1785
|
+
"document": "DetachNodes返回参数结构体",
|
1786
|
+
"members": [
|
1787
|
+
{
|
1788
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1789
|
+
"member": "string",
|
1790
|
+
"name": "RequestId",
|
1791
|
+
"type": "string"
|
1792
|
+
}
|
1793
|
+
],
|
1794
|
+
"type": "object"
|
1795
|
+
},
|
1671
1796
|
"EnhancedService": {
|
1672
1797
|
"document": "描述了实例的增强服务启用情况与其设置,如云安全,腾讯云可观测平台等实例 Agent",
|
1673
1798
|
"members": [
|
@@ -2383,7 +2508,7 @@
|
|
2383
2508
|
"example": "ins-f5ew7k5w",
|
2384
2509
|
"member": "string",
|
2385
2510
|
"name": "InstanceId",
|
2386
|
-
"
|
2511
|
+
"output_required": true,
|
2387
2512
|
"type": "string",
|
2388
2513
|
"value_allowed_null": true
|
2389
2514
|
},
|
@@ -2393,17 +2518,17 @@
|
|
2393
2518
|
"example": "ap-chongqing-1",
|
2394
2519
|
"member": "string",
|
2395
2520
|
"name": "Zone",
|
2396
|
-
"
|
2521
|
+
"output_required": true,
|
2397
2522
|
"type": "string",
|
2398
2523
|
"value_allowed_null": true
|
2399
2524
|
},
|
2400
2525
|
{
|
2401
2526
|
"disabled": false,
|
2402
|
-
"document": "节点状态。<
|
2527
|
+
"document": "节点状态。<li>SUBMITTED:已完成提交。</li><li>CREATING:创建中。</li><li>CREATED:完成创建。</li><li>INITING:初始化中。</li><li>INIT_FAILED:初始化失败。</li><li>RUNNING:运行中。</li><li>DELETING:销毁中。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
2403
2528
|
"example": "RUNNING",
|
2404
2529
|
"member": "string",
|
2405
2530
|
"name": "NodeState",
|
2406
|
-
"
|
2531
|
+
"output_required": true,
|
2407
2532
|
"type": "string",
|
2408
2533
|
"value_allowed_null": true
|
2409
2534
|
},
|
@@ -2413,7 +2538,7 @@
|
|
2413
2538
|
"example": "img-l8og963d",
|
2414
2539
|
"member": "string",
|
2415
2540
|
"name": "ImageId",
|
2416
|
-
"
|
2541
|
+
"output_required": true,
|
2417
2542
|
"type": "string",
|
2418
2543
|
"value_allowed_null": true
|
2419
2544
|
},
|
@@ -2423,27 +2548,37 @@
|
|
2423
2548
|
"example": "compute",
|
2424
2549
|
"member": "string",
|
2425
2550
|
"name": "QueueName",
|
2426
|
-
"
|
2551
|
+
"output_required": true,
|
2427
2552
|
"type": "string",
|
2428
2553
|
"value_allowed_null": true
|
2429
2554
|
},
|
2430
2555
|
{
|
2431
2556
|
"disabled": false,
|
2432
|
-
"document": "节点角色。<
|
2557
|
+
"document": "节点角色。<li>Manager:管控节点。</li><li>Compute:计算节点。</li><li>Login:登录节点。</li><li>ManagerBackup:备用管控节点。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
2433
2558
|
"example": "Compute",
|
2434
2559
|
"member": "string",
|
2435
2560
|
"name": "NodeRole",
|
2436
|
-
"
|
2561
|
+
"output_required": true,
|
2437
2562
|
"type": "string",
|
2438
2563
|
"value_allowed_null": true
|
2439
2564
|
},
|
2440
2565
|
{
|
2441
2566
|
"disabled": false,
|
2442
|
-
"document": "节点类型。<
|
2567
|
+
"document": "节点类型。<li>STATIC:静态节点。</li><li>DYNAMIC:弹性节点。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
2443
2568
|
"example": "STATIC",
|
2444
2569
|
"member": "string",
|
2445
2570
|
"name": "NodeType",
|
2446
|
-
"
|
2571
|
+
"output_required": true,
|
2572
|
+
"type": "string",
|
2573
|
+
"value_allowed_null": true
|
2574
|
+
},
|
2575
|
+
{
|
2576
|
+
"disabled": false,
|
2577
|
+
"document": "thpc集群节点id\n注意:此字段可能返回 null,表示取不到有效值。",
|
2578
|
+
"example": "node-2sh754ah",
|
2579
|
+
"member": "string",
|
2580
|
+
"name": "NodeId",
|
2581
|
+
"output_required": false,
|
2447
2582
|
"type": "string",
|
2448
2583
|
"value_allowed_null": true
|
2449
2584
|
}
|
@@ -24,6 +24,14 @@
|
|
24
24
|
"title": "添加队列"
|
25
25
|
}
|
26
26
|
],
|
27
|
+
"AttachNodes": [
|
28
|
+
{
|
29
|
+
"document": "往集群ID为hpc-2j8ntf9l的集群的compute队列绑定一个计算节点。",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: thpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AttachNodes\n<公共请求参数>\n\n{\n \"ClusterId\": \"hpc-2j8ntf9l\",\n \"QueueName\": \"compute\",\n \"ImageId\": \"img-39ywauzd\",\n \"ResourceType\": \"CVM\",\n \"ResourceSet\": [\n \"ins-7i4yut4b\"\n ]\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e81d404b-4fa2-49de-bce7-6499a3529f04\"\n }\n}",
|
32
|
+
"title": "绑定计算节点到集群"
|
33
|
+
}
|
34
|
+
],
|
27
35
|
"CreateCluster": [
|
28
36
|
{
|
29
37
|
"document": "创建一个管控节点和两个计算节点的集群。调度器为:SLURM。",
|
@@ -108,7 +116,7 @@
|
|
108
116
|
{
|
109
117
|
"document": "查询指定集群节点概览信息,集群ID为hpc-ggaqjyax。",
|
110
118
|
"input": "https://thpc.tencentcloudapi.com/?Action=DescribeNodes\n&ClusterId=hpc-ggaqjyax\n&Offset=0\n&Limit=1\n&<公共请求参数>",
|
111
|
-
"output": "{\n \"Response\": {\n \"NodeSet\": [\n {\n \"InstanceId\": \"ins-j3n6kiae\",\n \"Zone\": \"ap-chongqing-1\",\n \"NodeState\": \"RUNNING\",\n \"ImageId\": \"img-l8og963d\",\n \"QueueName\": \"compute\",\n \"NodeRole\": \"Compute\",\n \"NodeType\": \"DYNAMIC\"\n }\n ],\n \"TotalCount\": 3,\n \"RequestId\": \"6793673e-3bce-4fbb-adea-923a82267da2\"\n }\n}",
|
119
|
+
"output": "{\n \"Response\": {\n \"NodeSet\": [\n {\n \"NodeId\": \"node-2sh754ah\",\n \"InstanceId\": \"ins-j3n6kiae\",\n \"Zone\": \"ap-chongqing-1\",\n \"NodeState\": \"RUNNING\",\n \"ImageId\": \"img-l8og963d\",\n \"QueueName\": \"compute\",\n \"NodeRole\": \"Compute\",\n \"NodeType\": \"DYNAMIC\"\n }\n ],\n \"TotalCount\": 3,\n \"RequestId\": \"6793673e-3bce-4fbb-adea-923a82267da2\"\n }\n}",
|
112
120
|
"title": "查询指定集群节点概览信息。"
|
113
121
|
}
|
114
122
|
],
|
@@ -120,6 +128,14 @@
|
|
120
128
|
"title": "查询集群队列概览信息列表"
|
121
129
|
}
|
122
130
|
],
|
131
|
+
"DetachNodes": [
|
132
|
+
{
|
133
|
+
"document": "集群ID为hpc-2j8ntf9l的集群解绑计算节点node-8workmoi",
|
134
|
+
"input": "POST / HTTP/1.1\nHost: thpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AttachNodes\n<公共请求参数>\n\n{\n \"ClusterId\": \"hpc-2j8ntf9l\",\n \"NodeIds\": [\n \"node-8workmoi\"\n ]\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"40c2e07e-8500-4460-8db8-666d0e791ee5\"\n }\n}",
|
136
|
+
"title": "从集群解绑计算节点"
|
137
|
+
}
|
138
|
+
],
|
123
139
|
"ModifyInitNodeScripts": [
|
124
140
|
{
|
125
141
|
"document": "修改节点初始化脚本。",
|
@@ -1975,6 +1975,16 @@
|
|
1975
1975
|
"type": "int",
|
1976
1976
|
"value_allowed_null": true
|
1977
1977
|
},
|
1978
|
+
{
|
1979
|
+
"disabled": false,
|
1980
|
+
"document": "就绪 Machine 个数",
|
1981
|
+
"example": "5",
|
1982
|
+
"member": "int64",
|
1983
|
+
"name": "ReadyReplicas",
|
1984
|
+
"output_required": true,
|
1985
|
+
"type": "int",
|
1986
|
+
"value_allowed_null": false
|
1987
|
+
},
|
1978
1988
|
{
|
1979
1989
|
"disabled": false,
|
1980
1990
|
"document": "公网带宽设置\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -554,6 +554,15 @@
|
|
554
554
|
"name": "VideoUrl",
|
555
555
|
"required": true,
|
556
556
|
"type": "string"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"disabled": false,
|
560
|
+
"document": "风格化强度 可选参数[\"low\",\"medium\",\"high\"] \n\"low\":风格化强度弱,\"medium\":\"风格化强度中等\",\"high\":\"风格化强度强\" \n默认为medium",
|
561
|
+
"example": "medium",
|
562
|
+
"member": "string",
|
563
|
+
"name": "StyleStrength",
|
564
|
+
"required": false,
|
565
|
+
"type": "string"
|
557
566
|
}
|
558
567
|
],
|
559
568
|
"type": "object"
|