tencentcloud-sdk-thpc 3.0.662 → 3.0.664
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20230321/models.rb +94 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 040947731b5ec03db30ef58459256a6722d006ed
|
4
|
+
data.tar.gz: d70479ec1e56209349e9dee571f9bca437f8727a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da0c65f9c5aa936808b4ede5a4fdc43a1a9b85d965f2a7f851ea6723dccc1df01f182f1e7f5403bce3dfe6dd0de64f065710fb0489211d7c42d7c8932180b19f
|
7
|
+
data.tar.gz: 787a83fd2116a51e052cc8cd8d170898046216982745376a4c93a9ed22a9ca431d1866814496803570e745e0d649ba3b89771cec312844b345d56becb4518ee0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.664
|
data/lib/v20230321/models.rb
CHANGED
@@ -1232,6 +1232,42 @@ module TencentCloud
|
|
1232
1232
|
end
|
1233
1233
|
end
|
1234
1234
|
|
1235
|
+
# 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
|
1236
|
+
class EnhancedService < TencentCloud::Common::AbstractModel
|
1237
|
+
# @param SecurityService: 开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
1238
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1239
|
+
# @type SecurityService: :class:`Tencentcloud::Thpc.v20230321.models.RunSecurityServiceEnabled`
|
1240
|
+
# @param MonitorService: 开启云监控服务。若不指定该参数,则默认开启云监控服务。
|
1241
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1242
|
+
# @type MonitorService: :class:`Tencentcloud::Thpc.v20230321.models.RunMonitorServiceEnabled`
|
1243
|
+
# @param AutomationService: 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
|
1244
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1245
|
+
# @type AutomationService: :class:`Tencentcloud::Thpc.v20230321.models.RunAutomationServiceEnabled`
|
1246
|
+
|
1247
|
+
attr_accessor :SecurityService, :MonitorService, :AutomationService
|
1248
|
+
|
1249
|
+
def initialize(securityservice=nil, monitorservice=nil, automationservice=nil)
|
1250
|
+
@SecurityService = securityservice
|
1251
|
+
@MonitorService = monitorservice
|
1252
|
+
@AutomationService = automationservice
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
def deserialize(params)
|
1256
|
+
unless params['SecurityService'].nil?
|
1257
|
+
@SecurityService = RunSecurityServiceEnabled.new
|
1258
|
+
@SecurityService.deserialize(params['SecurityService'])
|
1259
|
+
end
|
1260
|
+
unless params['MonitorService'].nil?
|
1261
|
+
@MonitorService = RunMonitorServiceEnabled.new
|
1262
|
+
@MonitorService.deserialize(params['MonitorService'])
|
1263
|
+
end
|
1264
|
+
unless params['AutomationService'].nil?
|
1265
|
+
@AutomationService = RunAutomationServiceEnabled.new
|
1266
|
+
@AutomationService.deserialize(params['AutomationService'])
|
1267
|
+
end
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
1235
1271
|
# 弹性扩容节点配置信息。
|
1236
1272
|
class ExpansionNodeConfig < TencentCloud::Common::AbstractModel
|
1237
1273
|
# @param Placement: 扩容实例所在的位置。
|
@@ -1900,10 +1936,12 @@ module TencentCloud
|
|
1900
1936
|
# - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
1901
1937
|
# - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
1902
1938
|
# @type ScaleUpMemRatio: Integer
|
1939
|
+
# @param EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务、自动化助手服务。
|
1940
|
+
# @type EnhancedService: :class:`Tencentcloud::Thpc.v20230321.models.EnhancedService`
|
1903
1941
|
|
1904
|
-
attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ImageId, :SystemDisk, :DataDisks, :InternetAccessible, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :ScaleOutRatio, :ScaleOutNodeThreshold, :MaxNodesPerCycle, :ScaleUpMemRatio
|
1942
|
+
attr_accessor :QueueName, :MinSize, :MaxSize, :EnableAutoExpansion, :EnableAutoShrink, :ImageId, :SystemDisk, :DataDisks, :InternetAccessible, :ExpansionNodeConfigs, :DesiredIdleNodeCapacity, :ScaleOutRatio, :ScaleOutNodeThreshold, :MaxNodesPerCycle, :ScaleUpMemRatio, :EnhancedService
|
1905
1943
|
|
1906
|
-
def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, imageid=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil, scaleoutratio=nil, scaleoutnodethreshold=nil, maxnodespercycle=nil, scaleupmemratio=nil)
|
1944
|
+
def initialize(queuename=nil, minsize=nil, maxsize=nil, enableautoexpansion=nil, enableautoshrink=nil, imageid=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, expansionnodeconfigs=nil, desiredidlenodecapacity=nil, scaleoutratio=nil, scaleoutnodethreshold=nil, maxnodespercycle=nil, scaleupmemratio=nil, enhancedservice=nil)
|
1907
1945
|
@QueueName = queuename
|
1908
1946
|
@MinSize = minsize
|
1909
1947
|
@MaxSize = maxsize
|
@@ -1919,6 +1957,7 @@ module TencentCloud
|
|
1919
1957
|
@ScaleOutNodeThreshold = scaleoutnodethreshold
|
1920
1958
|
@MaxNodesPerCycle = maxnodespercycle
|
1921
1959
|
@ScaleUpMemRatio = scaleupmemratio
|
1960
|
+
@EnhancedService = enhancedservice
|
1922
1961
|
end
|
1923
1962
|
|
1924
1963
|
def deserialize(params)
|
@@ -1957,6 +1996,10 @@ module TencentCloud
|
|
1957
1996
|
@ScaleOutNodeThreshold = params['ScaleOutNodeThreshold']
|
1958
1997
|
@MaxNodesPerCycle = params['MaxNodesPerCycle']
|
1959
1998
|
@ScaleUpMemRatio = params['ScaleUpMemRatio']
|
1999
|
+
unless params['EnhancedService'].nil?
|
2000
|
+
@EnhancedService = EnhancedService.new
|
2001
|
+
@EnhancedService.deserialize(params['EnhancedService'])
|
2002
|
+
end
|
1960
2003
|
end
|
1961
2004
|
end
|
1962
2005
|
|
@@ -2052,6 +2095,55 @@ module TencentCloud
|
|
2052
2095
|
end
|
2053
2096
|
end
|
2054
2097
|
|
2098
|
+
# 描述了 “云自动化助手” 服务相关的信息。
|
2099
|
+
class RunAutomationServiceEnabled < TencentCloud::Common::AbstractModel
|
2100
|
+
# @param Enabled: 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:TRUE。
|
2101
|
+
# @type Enabled: Boolean
|
2102
|
+
|
2103
|
+
attr_accessor :Enabled
|
2104
|
+
|
2105
|
+
def initialize(enabled=nil)
|
2106
|
+
@Enabled = enabled
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
def deserialize(params)
|
2110
|
+
@Enabled = params['Enabled']
|
2111
|
+
end
|
2112
|
+
end
|
2113
|
+
|
2114
|
+
# 描述了 “云监控” 服务相关的信息。
|
2115
|
+
class RunMonitorServiceEnabled < TencentCloud::Common::AbstractModel
|
2116
|
+
# @param Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启云监控服务<br><li>FALSE:表示不开启云监控服务<br><br>默认取值:TRUE。
|
2117
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2118
|
+
# @type Enabled: Boolean
|
2119
|
+
|
2120
|
+
attr_accessor :Enabled
|
2121
|
+
|
2122
|
+
def initialize(enabled=nil)
|
2123
|
+
@Enabled = enabled
|
2124
|
+
end
|
2125
|
+
|
2126
|
+
def deserialize(params)
|
2127
|
+
@Enabled = params['Enabled']
|
2128
|
+
end
|
2129
|
+
end
|
2130
|
+
|
2131
|
+
# 描述了 “云安全” 服务相关的信息。
|
2132
|
+
class RunSecurityServiceEnabled < TencentCloud::Common::AbstractModel
|
2133
|
+
# @param Enabled: 是否开启[云安全](/document/product/296)服务。取值范围:<br><li>TRUE:表示开启云安全服务<br><li>FALSE:表示不开启云安全服务<br><br>默认取值:TRUE。
|
2134
|
+
# @type Enabled: Boolean
|
2135
|
+
|
2136
|
+
attr_accessor :Enabled
|
2137
|
+
|
2138
|
+
def initialize(enabled=nil)
|
2139
|
+
@Enabled = enabled
|
2140
|
+
end
|
2141
|
+
|
2142
|
+
def deserialize(params)
|
2143
|
+
@Enabled = params['Enabled']
|
2144
|
+
end
|
2145
|
+
end
|
2146
|
+
|
2055
2147
|
# SetAutoScalingConfiguration请求参数结构体
|
2056
2148
|
class SetAutoScalingConfigurationRequest < TencentCloud::Common::AbstractModel
|
2057
2149
|
# @param ClusterId: 集群ID。
|
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.
|
4
|
+
version: 3.0.664
|
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-09-
|
11
|
+
date: 2023-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|