tencentcloud-sdk-thpc 3.0.579 → 3.0.581

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20230321/models.rb +36 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 435d9ffc3395ab22f12b9d7f26e819955f5f0b00
4
- data.tar.gz: 5981fd3c136a33f75351aca8cdb423ebe86c6542
3
+ metadata.gz: 9379b76f5bd4b196c5f063aca5ae4d97788ba5e8
4
+ data.tar.gz: c4f87380917af71b15ded7eb4c66f16d3659e07c
5
5
  SHA512:
6
- metadata.gz: 8e37b1033cb50c523286a951e75fcb56938b0b574683d095e17abc742aa32701c5beb1d04a4d56306972b23bcfd4ce96d449e1848ea7f8b717ef92a39a37d5ce
7
- data.tar.gz: 46da8fe29ce7a4008eca77814429c22ca58781d0bc03e4f42d1e34b71ce87e138742b84ad8edff7a075d701ea8352fcd03428b9639729dbfba9f6749d809c1eb
6
+ metadata.gz: 17bd25226d2d46cc9c02fcf71721e2bf484d2bcb906765767cc291e71933a50753191094a87fabacc1e23487a87dc36d6a5b7bd2df33ad27dda74f14a85bb250
7
+ data.tar.gz: b1be23eb931937ffd6a7cf18d26682885e9f7261dbb84874dd935a2525aff23134694deff8746c2ec45406a51d2b82a35f2aa08abc9780fbb1cf69527900ac05
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.579
1
+ 3.0.581
@@ -102,10 +102,12 @@ module TencentCloud
102
102
  # @type DryRun: Boolean
103
103
  # @param NodeType: 添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。<li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。
104
104
  # @type NodeType: String
105
+ # @param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
106
+ # @type ProjectId: Integer
105
107
 
106
- attr_accessor :Placement, :ClusterId, :VirtualPrivateCloud, :Count, :ImageId, :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :LoginSettings, :SecurityGroupIds, :ClientToken, :QueueName, :NodeRole, :DryRun, :NodeType
108
+ attr_accessor :Placement, :ClusterId, :VirtualPrivateCloud, :Count, :ImageId, :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :LoginSettings, :SecurityGroupIds, :ClientToken, :QueueName, :NodeRole, :DryRun, :NodeType, :ProjectId
107
109
 
108
- def initialize(placement=nil, clusterid=nil, virtualprivatecloud=nil, count=nil, imageid=nil, instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, loginsettings=nil, securitygroupids=nil, clienttoken=nil, queuename=nil, noderole=nil, dryrun=nil, nodetype=nil)
110
+ def initialize(placement=nil, clusterid=nil, virtualprivatecloud=nil, count=nil, imageid=nil, instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, loginsettings=nil, securitygroupids=nil, clienttoken=nil, queuename=nil, noderole=nil, dryrun=nil, nodetype=nil, projectid=nil)
109
111
  @Placement = placement
110
112
  @ClusterId = clusterid
111
113
  @VirtualPrivateCloud = virtualprivatecloud
@@ -125,6 +127,7 @@ module TencentCloud
125
127
  @NodeRole = noderole
126
128
  @DryRun = dryrun
127
129
  @NodeType = nodetype
130
+ @ProjectId = projectid
128
131
  end
129
132
 
130
133
  def deserialize(params)
@@ -172,6 +175,7 @@ module TencentCloud
172
175
  @NodeRole = params['NodeRole']
173
176
  @DryRun = params['DryRun']
174
177
  @NodeType = params['NodeType']
178
+ @ProjectId = params['ProjectId']
175
179
  end
176
180
  end
177
181
 
@@ -382,12 +386,14 @@ module TencentCloud
382
386
  # @type LoginNodeSet: Array
383
387
  # @param LoginNodeCount: 登录节点数量。
384
388
  # @type LoginNodeCount: Integer
389
+ # @param AutoScalingType: 弹性伸缩类型。<br><li>THPC_AS:集群自动扩缩容由THPC产品内部实现。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。
390
+ # @type AutoScalingType: String
385
391
  # @param VpcId: 集群所属私有网络ID。
386
392
  # @type VpcId: String
387
393
 
388
- attr_accessor :ClusterId, :ClusterStatus, :ClusterName, :Placement, :CreateTime, :SchedulerType, :ComputeNodeCount, :ComputeNodeSet, :ManagerNodeCount, :ManagerNodeSet, :LoginNodeSet, :LoginNodeCount, :VpcId
394
+ attr_accessor :ClusterId, :ClusterStatus, :ClusterName, :Placement, :CreateTime, :SchedulerType, :ComputeNodeCount, :ComputeNodeSet, :ManagerNodeCount, :ManagerNodeSet, :LoginNodeSet, :LoginNodeCount, :AutoScalingType, :VpcId
389
395
 
390
- def initialize(clusterid=nil, clusterstatus=nil, clustername=nil, placement=nil, createtime=nil, schedulertype=nil, computenodecount=nil, computenodeset=nil, managernodecount=nil, managernodeset=nil, loginnodeset=nil, loginnodecount=nil, vpcid=nil)
396
+ def initialize(clusterid=nil, clusterstatus=nil, clustername=nil, placement=nil, createtime=nil, schedulertype=nil, computenodecount=nil, computenodeset=nil, managernodecount=nil, managernodeset=nil, loginnodeset=nil, loginnodecount=nil, autoscalingtype=nil, vpcid=nil)
391
397
  @ClusterId = clusterid
392
398
  @ClusterStatus = clusterstatus
393
399
  @ClusterName = clustername
@@ -400,6 +406,7 @@ module TencentCloud
400
406
  @ManagerNodeSet = managernodeset
401
407
  @LoginNodeSet = loginnodeset
402
408
  @LoginNodeCount = loginnodecount
409
+ @AutoScalingType = autoscalingtype
403
410
  @VpcId = vpcid
404
411
  end
405
412
 
@@ -440,6 +447,7 @@ module TencentCloud
440
447
  end
441
448
  end
442
449
  @LoginNodeCount = params['LoginNodeCount']
450
+ @AutoScalingType = params['AutoScalingType']
443
451
  @VpcId = params['VpcId']
444
452
  end
445
453
  end
@@ -463,10 +471,12 @@ module TencentCloud
463
471
  # 不指定节点显示名称则默认显示‘未命名’。
464
472
  # 最多支持60个字符。
465
473
  # @type InstanceName: String
474
+ # @param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
475
+ # @type ProjectId: Integer
466
476
 
467
- attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName
477
+ attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :ProjectId
468
478
 
469
- def initialize(instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil)
479
+ def initialize(instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, projectid=nil)
470
480
  @InstanceChargeType = instancechargetype
471
481
  @InstanceChargePrepaid = instancechargeprepaid
472
482
  @InstanceType = instancetype
@@ -474,6 +484,7 @@ module TencentCloud
474
484
  @DataDisks = datadisks
475
485
  @InternetAccessible = internetaccessible
476
486
  @InstanceName = instancename
487
+ @ProjectId = projectid
477
488
  end
478
489
 
479
490
  def deserialize(params)
@@ -500,6 +511,7 @@ module TencentCloud
500
511
  @InternetAccessible.deserialize(params['InternetAccessible'])
501
512
  end
502
513
  @InstanceName = params['InstanceName']
514
+ @ProjectId = params['ProjectId']
503
515
  end
504
516
  end
505
517
 
@@ -1217,15 +1229,18 @@ module TencentCloud
1217
1229
  # @type InstanceType: String
1218
1230
  # @param VirtualPrivateCloud: 私有网络相关信息配置。
1219
1231
  # @type VirtualPrivateCloud: :class:`Tencentcloud::Thpc.v20230321.models.VirtualPrivateCloud`
1232
+ # @param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
1233
+ # @type ProjectId: Integer
1220
1234
 
1221
- attr_accessor :Placement, :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :VirtualPrivateCloud
1235
+ attr_accessor :Placement, :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :VirtualPrivateCloud, :ProjectId
1222
1236
 
1223
- def initialize(placement=nil, instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, virtualprivatecloud=nil)
1237
+ def initialize(placement=nil, instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, virtualprivatecloud=nil, projectid=nil)
1224
1238
  @Placement = placement
1225
1239
  @InstanceChargeType = instancechargetype
1226
1240
  @InstanceChargePrepaid = instancechargeprepaid
1227
1241
  @InstanceType = instancetype
1228
1242
  @VirtualPrivateCloud = virtualprivatecloud
1243
+ @ProjectId = projectid
1229
1244
  end
1230
1245
 
1231
1246
  def deserialize(params)
@@ -1243,6 +1258,7 @@ module TencentCloud
1243
1258
  @VirtualPrivateCloud = VirtualPrivateCloud.new
1244
1259
  @VirtualPrivateCloud.deserialize(params['VirtualPrivateCloud'])
1245
1260
  end
1261
+ @ProjectId = params['ProjectId']
1246
1262
  end
1247
1263
  end
1248
1264
 
@@ -1510,10 +1526,12 @@ module TencentCloud
1510
1526
  # 不指定节点显示名称则默认显示‘未命名’。
1511
1527
  # 最多支持60个字符。
1512
1528
  # @type InstanceName: String
1529
+ # @param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
1530
+ # @type ProjectId: Integer
1513
1531
 
1514
- attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName
1532
+ attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :ProjectId
1515
1533
 
1516
- def initialize(instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil)
1534
+ def initialize(instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, projectid=nil)
1517
1535
  @InstanceChargeType = instancechargetype
1518
1536
  @InstanceChargePrepaid = instancechargeprepaid
1519
1537
  @InstanceType = instancetype
@@ -1521,6 +1539,7 @@ module TencentCloud
1521
1539
  @DataDisks = datadisks
1522
1540
  @InternetAccessible = internetaccessible
1523
1541
  @InstanceName = instancename
1542
+ @ProjectId = projectid
1524
1543
  end
1525
1544
 
1526
1545
  def deserialize(params)
@@ -1547,6 +1566,7 @@ module TencentCloud
1547
1566
  @InternetAccessible.deserialize(params['InternetAccessible'])
1548
1567
  end
1549
1568
  @InstanceName = params['InstanceName']
1569
+ @ProjectId = params['ProjectId']
1550
1570
  end
1551
1571
  end
1552
1572
 
@@ -1603,10 +1623,12 @@ module TencentCloud
1603
1623
  # 购买多个节点,如果不指定模式串,则在节点显示名称添加后缀`1、2...n`,其中`n`表示购买节点的数量,例如`server_`,购买2个时,节点显示名称分别为`server_1`,`server_2`。</li><li>
1604
1624
  # 最多支持60个字符(包含模式串)。
1605
1625
  # @type InstanceName: String
1626
+ # @param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
1627
+ # @type ProjectId: Integer
1606
1628
 
1607
- attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName
1629
+ attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :InstanceName, :ProjectId
1608
1630
 
1609
- def initialize(instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil)
1631
+ def initialize(instancechargetype=nil, instancechargeprepaid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, instancename=nil, projectid=nil)
1610
1632
  @InstanceChargeType = instancechargetype
1611
1633
  @InstanceChargePrepaid = instancechargeprepaid
1612
1634
  @InstanceType = instancetype
@@ -1614,6 +1636,7 @@ module TencentCloud
1614
1636
  @DataDisks = datadisks
1615
1637
  @InternetAccessible = internetaccessible
1616
1638
  @InstanceName = instancename
1639
+ @ProjectId = projectid
1617
1640
  end
1618
1641
 
1619
1642
  def deserialize(params)
@@ -1640,6 +1663,7 @@ module TencentCloud
1640
1663
  @InternetAccessible.deserialize(params['InternetAccessible'])
1641
1664
  end
1642
1665
  @InstanceName = params['InstanceName']
1666
+ @ProjectId = params['ProjectId']
1643
1667
  end
1644
1668
  end
1645
1669
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-thpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.579
4
+ version: 3.0.581
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-29 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common