tencentcloud-sdk-batch 3.0.1031 → 3.0.1033
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +0 -48
- data/lib/v20170312/models.rb +0 -346
- 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: 46db2870d968a4a5ea21ab848712735c83b9eabf
|
4
|
+
data.tar.gz: 863946c004c03cc1a611ed08c0f99baedb32b0a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07bceb4d9edf57f338b0df618e9e7ee3008c911f53aefa31dd92e5f8565be0e0a88c2d0d18547d12443e6565a7bf911c3ece56fd64da45614327cdb107e6440b
|
7
|
+
data.tar.gz: 5573bf06bccdf9e5d849e40a2498b67ad31f829d3154e1dc32a9143a965a4e09825f8a709dd5821eb1012e2e5d8dced8adc646fdfb610dd7d58e81d4cbb4b908
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1033
|
data/lib/v20170312/client.rb
CHANGED
@@ -83,30 +83,6 @@ module TencentCloud
|
|
83
83
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
84
84
|
end
|
85
85
|
|
86
|
-
# 创建黑石计算环境
|
87
|
-
|
88
|
-
# @param request: Request instance for CreateCpmComputeEnv.
|
89
|
-
# @type request: :class:`Tencentcloud::batch::V20170312::CreateCpmComputeEnvRequest`
|
90
|
-
# @rtype: :class:`Tencentcloud::batch::V20170312::CreateCpmComputeEnvResponse`
|
91
|
-
def CreateCpmComputeEnv(request)
|
92
|
-
body = send_request('CreateCpmComputeEnv', request.serialize)
|
93
|
-
response = JSON.parse(body)
|
94
|
-
if response['Response'].key?('Error') == false
|
95
|
-
model = CreateCpmComputeEnvResponse.new
|
96
|
-
model.deserialize(response['Response'])
|
97
|
-
model
|
98
|
-
else
|
99
|
-
code = response['Response']['Error']['Code']
|
100
|
-
message = response['Response']['Error']['Message']
|
101
|
-
reqid = response['Response']['RequestId']
|
102
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
103
|
-
end
|
104
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
105
|
-
raise e
|
106
|
-
rescue StandardError => e
|
107
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
108
|
-
end
|
109
|
-
|
110
86
|
# 用于创建任务模板
|
111
87
|
|
112
88
|
# @param request: Request instance for CreateTaskTemplate.
|
@@ -349,30 +325,6 @@ module TencentCloud
|
|
349
325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
350
326
|
end
|
351
327
|
|
352
|
-
# 创建黑石计算环境时,查询批量计算环境支持的黑石操作系统信息
|
353
|
-
|
354
|
-
# @param request: Request instance for DescribeCpmOsInfo.
|
355
|
-
# @type request: :class:`Tencentcloud::batch::V20170312::DescribeCpmOsInfoRequest`
|
356
|
-
# @rtype: :class:`Tencentcloud::batch::V20170312::DescribeCpmOsInfoResponse`
|
357
|
-
def DescribeCpmOsInfo(request)
|
358
|
-
body = send_request('DescribeCpmOsInfo', request.serialize)
|
359
|
-
response = JSON.parse(body)
|
360
|
-
if response['Response'].key?('Error') == false
|
361
|
-
model = DescribeCpmOsInfoResponse.new
|
362
|
-
model.deserialize(response['Response'])
|
363
|
-
model
|
364
|
-
else
|
365
|
-
code = response['Response']['Error']['Code']
|
366
|
-
message = response['Response']['Error']['Message']
|
367
|
-
reqid = response['Response']['RequestId']
|
368
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
369
|
-
end
|
370
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
371
|
-
raise e
|
372
|
-
rescue StandardError => e
|
373
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
374
|
-
end
|
375
|
-
|
376
328
|
# 获取批量计算可用区机型配置信息
|
377
329
|
|
378
330
|
# @param request: Request instance for DescribeCvmZoneInstanceConfigInfos.
|
data/lib/v20170312/models.rb
CHANGED
@@ -540,26 +540,6 @@ module TencentCloud
|
|
540
540
|
end
|
541
541
|
end
|
542
542
|
|
543
|
-
# 黑石私有网络
|
544
|
-
class CpmVirtualPrivateCloud < TencentCloud::Common::AbstractModel
|
545
|
-
# @param VpcId: 黑石私有网络ID
|
546
|
-
# @type VpcId: String
|
547
|
-
# @param SubnetId: 黑石子网ID
|
548
|
-
# @type SubnetId: String
|
549
|
-
|
550
|
-
attr_accessor :VpcId, :SubnetId
|
551
|
-
|
552
|
-
def initialize(vpcid=nil, subnetid=nil)
|
553
|
-
@VpcId = vpcid
|
554
|
-
@SubnetId = subnetid
|
555
|
-
end
|
556
|
-
|
557
|
-
def deserialize(params)
|
558
|
-
@VpcId = params['VpcId']
|
559
|
-
@SubnetId = params['SubnetId']
|
560
|
-
end
|
561
|
-
end
|
562
|
-
|
563
543
|
# CreateComputeEnv请求参数结构体
|
564
544
|
class CreateComputeEnvRequest < TencentCloud::Common::AbstractModel
|
565
545
|
# @param ComputeEnv: 计算环境信息
|
@@ -610,56 +590,6 @@ module TencentCloud
|
|
610
590
|
end
|
611
591
|
end
|
612
592
|
|
613
|
-
# CreateCpmComputeEnv请求参数结构体
|
614
|
-
class CreateCpmComputeEnvRequest < TencentCloud::Common::AbstractModel
|
615
|
-
# @param ComputeEnv: 计算环境信息
|
616
|
-
# @type ComputeEnv: :class:`Tencentcloud::Batch.v20170312.models.NamedCpmComputeEnv`
|
617
|
-
# @param Placement: 位置信息
|
618
|
-
# @type Placement: :class:`Tencentcloud::Batch.v20170312.models.Placement`
|
619
|
-
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由用户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
620
|
-
# @type ClientToken: String
|
621
|
-
|
622
|
-
attr_accessor :ComputeEnv, :Placement, :ClientToken
|
623
|
-
|
624
|
-
def initialize(computeenv=nil, placement=nil, clienttoken=nil)
|
625
|
-
@ComputeEnv = computeenv
|
626
|
-
@Placement = placement
|
627
|
-
@ClientToken = clienttoken
|
628
|
-
end
|
629
|
-
|
630
|
-
def deserialize(params)
|
631
|
-
unless params['ComputeEnv'].nil?
|
632
|
-
@ComputeEnv = NamedCpmComputeEnv.new
|
633
|
-
@ComputeEnv.deserialize(params['ComputeEnv'])
|
634
|
-
end
|
635
|
-
unless params['Placement'].nil?
|
636
|
-
@Placement = Placement.new
|
637
|
-
@Placement.deserialize(params['Placement'])
|
638
|
-
end
|
639
|
-
@ClientToken = params['ClientToken']
|
640
|
-
end
|
641
|
-
end
|
642
|
-
|
643
|
-
# CreateCpmComputeEnv返回参数结构体
|
644
|
-
class CreateCpmComputeEnvResponse < TencentCloud::Common::AbstractModel
|
645
|
-
# @param EnvId: 计算环境ID
|
646
|
-
# @type EnvId: String
|
647
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
648
|
-
# @type RequestId: String
|
649
|
-
|
650
|
-
attr_accessor :EnvId, :RequestId
|
651
|
-
|
652
|
-
def initialize(envid=nil, requestid=nil)
|
653
|
-
@EnvId = envid
|
654
|
-
@RequestId = requestid
|
655
|
-
end
|
656
|
-
|
657
|
-
def deserialize(params)
|
658
|
-
@EnvId = params['EnvId']
|
659
|
-
@RequestId = params['RequestId']
|
660
|
-
end
|
661
|
-
end
|
662
|
-
|
663
593
|
# CreateTaskTemplate请求参数结构体
|
664
594
|
class CreateTaskTemplateRequest < TencentCloud::Common::AbstractModel
|
665
595
|
# @param TaskTemplateName: 任务模板名称
|
@@ -1384,49 +1314,6 @@ module TencentCloud
|
|
1384
1314
|
end
|
1385
1315
|
end
|
1386
1316
|
|
1387
|
-
# DescribeCpmOsInfo请求参数结构体
|
1388
|
-
class DescribeCpmOsInfoRequest < TencentCloud::Common::AbstractModel
|
1389
|
-
# @param DeviceClassCode: 黑石设备类型代号。 可以从[DescribeDeviceClass](https://cloud.tencent.com/document/api/386/32911)查询设备类型列表。
|
1390
|
-
# @type DeviceClassCode: String
|
1391
|
-
|
1392
|
-
attr_accessor :DeviceClassCode
|
1393
|
-
|
1394
|
-
def initialize(deviceclasscode=nil)
|
1395
|
-
@DeviceClassCode = deviceclasscode
|
1396
|
-
end
|
1397
|
-
|
1398
|
-
def deserialize(params)
|
1399
|
-
@DeviceClassCode = params['DeviceClassCode']
|
1400
|
-
end
|
1401
|
-
end
|
1402
|
-
|
1403
|
-
# DescribeCpmOsInfo返回参数结构体
|
1404
|
-
class DescribeCpmOsInfoResponse < TencentCloud::Common::AbstractModel
|
1405
|
-
# @param OsInfoSet: 操作系统信息列表。
|
1406
|
-
# @type OsInfoSet: Array
|
1407
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1408
|
-
# @type RequestId: String
|
1409
|
-
|
1410
|
-
attr_accessor :OsInfoSet, :RequestId
|
1411
|
-
|
1412
|
-
def initialize(osinfoset=nil, requestid=nil)
|
1413
|
-
@OsInfoSet = osinfoset
|
1414
|
-
@RequestId = requestid
|
1415
|
-
end
|
1416
|
-
|
1417
|
-
def deserialize(params)
|
1418
|
-
unless params['OsInfoSet'].nil?
|
1419
|
-
@OsInfoSet = []
|
1420
|
-
params['OsInfoSet'].each do |i|
|
1421
|
-
osinfo_tmp = OsInfo.new
|
1422
|
-
osinfo_tmp.deserialize(i)
|
1423
|
-
@OsInfoSet << osinfo_tmp
|
1424
|
-
end
|
1425
|
-
end
|
1426
|
-
@RequestId = params['RequestId']
|
1427
|
-
end
|
1428
|
-
end
|
1429
|
-
|
1430
1317
|
# DescribeCvmZoneInstanceConfigInfos请求参数结构体
|
1431
1318
|
class DescribeCvmZoneInstanceConfigInfosRequest < TencentCloud::Common::AbstractModel
|
1432
1319
|
# @param Filters: 过滤条件。
|
@@ -2243,109 +2130,6 @@ module TencentCloud
|
|
2243
2130
|
end
|
2244
2131
|
end
|
2245
2132
|
|
2246
|
-
# 黑石计算环境数据
|
2247
|
-
class EnvDataCpm < TencentCloud::Common::AbstractModel
|
2248
|
-
# @param Zones: 黑石可用区名称列表。如ap-guangzhou-bls-1。不是Batch可用区名称。目前仅支持一个可用区名称。
|
2249
|
-
# @type Zones: Array
|
2250
|
-
# @param InstanceTypes: 购买的机型ID。
|
2251
|
-
# @type InstanceTypes: Array
|
2252
|
-
# @param TimeUnit: 购买时长单位,取值:m(月)。
|
2253
|
-
# @type TimeUnit: String
|
2254
|
-
# @param TimeSpan: 购买时长。
|
2255
|
-
# @type TimeSpan: Integer
|
2256
|
-
# @param RaidId: RAID类型ID。
|
2257
|
-
# @type RaidId: Integer
|
2258
|
-
# @param OsTypeId: 部署服务器的操作系统ID。通过批量计算接口DescribeCpmOsInfo查询操作系统信息。
|
2259
|
-
# @type OsTypeId: Integer
|
2260
|
-
# @param VirtualPrivateClouds: 黑石VPC列表,目前仅支持一个VPC。
|
2261
|
-
# @type VirtualPrivateClouds: Array
|
2262
|
-
# @param NeedSecurityAgent: 是否安装安全Agent,取值:1(安装) 0(不安装),默认取值0。
|
2263
|
-
# @type NeedSecurityAgent: Integer
|
2264
|
-
# @param NeedMonitorAgent: 是否安装监控Agent,取值:1(安装) 0(不安装),默认取值0。
|
2265
|
-
# @type NeedMonitorAgent: Integer
|
2266
|
-
# @param AutoRenewFlag: 自动续费标志位,取值:1(自动续费) 0(不自动续费),默认取值0。
|
2267
|
-
# @type AutoRenewFlag: Integer
|
2268
|
-
# @param IsZoning: 数据盘是否格式化,取值:1(格式化) 0(不格式化),默认取值为1。
|
2269
|
-
# @type IsZoning: Integer
|
2270
|
-
# @param FileSystem: 指定数据盘的文件系统格式,当前支持 ext4和xfs选项, 默认为ext4。 参数适用于数据盘和Linux, 且在IsZoning为1时生效。
|
2271
|
-
# @type FileSystem: String
|
2272
|
-
# @param Password: 设置Linux root或Windows Administrator的密码。若不设置此参数,默认情况下会随机生成密码,并以站内信方式通知到用户。
|
2273
|
-
# @type Password: String
|
2274
|
-
# @param ApplyEip: 是否分配弹性公网IP,取值:1(分配) 0(不分配),默认取值0。
|
2275
|
-
# @type ApplyEip: Integer
|
2276
|
-
# @param EipPayMode: 弹性公网IP计费模式,取值:flow(按流量计费) bandwidth(按带宽计费),默认取值flow。
|
2277
|
-
# @type EipPayMode: String
|
2278
|
-
# @param EipBandwidth: 弹性公网IP带宽限制,单位Mb。
|
2279
|
-
# @type EipBandwidth: Integer
|
2280
|
-
# @param ImageId: 自定义镜像ID,取值生效时用自定义镜像部署物理机。
|
2281
|
-
# @type ImageId: String
|
2282
|
-
# @param SysRootSpace: 系统盘根分区大小,单位为G,默认取值10G。
|
2283
|
-
# @type SysRootSpace: Integer
|
2284
|
-
# @param SysDataSpace: /data分区大小,单位为G。如果系统盘还有剩余大小,会分配给/data分区。(特殊情况:如果剩余空间不足10G,并且没有指定/data分区,则剩余空间会分配给Root分区)。
|
2285
|
-
# @type SysDataSpace: Integer
|
2286
|
-
# @param HyperThreading: 是否开启超线程,取值:1(开启) 0(关闭),默认取值1。
|
2287
|
-
# @type HyperThreading: Integer
|
2288
|
-
# @param LanIps: 指定的内网IP列表,不指定时自动分配。
|
2289
|
-
# @type LanIps: Array
|
2290
|
-
|
2291
|
-
attr_accessor :Zones, :InstanceTypes, :TimeUnit, :TimeSpan, :RaidId, :OsTypeId, :VirtualPrivateClouds, :NeedSecurityAgent, :NeedMonitorAgent, :AutoRenewFlag, :IsZoning, :FileSystem, :Password, :ApplyEip, :EipPayMode, :EipBandwidth, :ImageId, :SysRootSpace, :SysDataSpace, :HyperThreading, :LanIps
|
2292
|
-
|
2293
|
-
def initialize(zones=nil, instancetypes=nil, timeunit=nil, timespan=nil, raidid=nil, ostypeid=nil, virtualprivateclouds=nil, needsecurityagent=nil, needmonitoragent=nil, autorenewflag=nil, iszoning=nil, filesystem=nil, password=nil, applyeip=nil, eippaymode=nil, eipbandwidth=nil, imageid=nil, sysrootspace=nil, sysdataspace=nil, hyperthreading=nil, lanips=nil)
|
2294
|
-
@Zones = zones
|
2295
|
-
@InstanceTypes = instancetypes
|
2296
|
-
@TimeUnit = timeunit
|
2297
|
-
@TimeSpan = timespan
|
2298
|
-
@RaidId = raidid
|
2299
|
-
@OsTypeId = ostypeid
|
2300
|
-
@VirtualPrivateClouds = virtualprivateclouds
|
2301
|
-
@NeedSecurityAgent = needsecurityagent
|
2302
|
-
@NeedMonitorAgent = needmonitoragent
|
2303
|
-
@AutoRenewFlag = autorenewflag
|
2304
|
-
@IsZoning = iszoning
|
2305
|
-
@FileSystem = filesystem
|
2306
|
-
@Password = password
|
2307
|
-
@ApplyEip = applyeip
|
2308
|
-
@EipPayMode = eippaymode
|
2309
|
-
@EipBandwidth = eipbandwidth
|
2310
|
-
@ImageId = imageid
|
2311
|
-
@SysRootSpace = sysrootspace
|
2312
|
-
@SysDataSpace = sysdataspace
|
2313
|
-
@HyperThreading = hyperthreading
|
2314
|
-
@LanIps = lanips
|
2315
|
-
end
|
2316
|
-
|
2317
|
-
def deserialize(params)
|
2318
|
-
@Zones = params['Zones']
|
2319
|
-
@InstanceTypes = params['InstanceTypes']
|
2320
|
-
@TimeUnit = params['TimeUnit']
|
2321
|
-
@TimeSpan = params['TimeSpan']
|
2322
|
-
@RaidId = params['RaidId']
|
2323
|
-
@OsTypeId = params['OsTypeId']
|
2324
|
-
unless params['VirtualPrivateClouds'].nil?
|
2325
|
-
@VirtualPrivateClouds = []
|
2326
|
-
params['VirtualPrivateClouds'].each do |i|
|
2327
|
-
cpmvirtualprivatecloud_tmp = CpmVirtualPrivateCloud.new
|
2328
|
-
cpmvirtualprivatecloud_tmp.deserialize(i)
|
2329
|
-
@VirtualPrivateClouds << cpmvirtualprivatecloud_tmp
|
2330
|
-
end
|
2331
|
-
end
|
2332
|
-
@NeedSecurityAgent = params['NeedSecurityAgent']
|
2333
|
-
@NeedMonitorAgent = params['NeedMonitorAgent']
|
2334
|
-
@AutoRenewFlag = params['AutoRenewFlag']
|
2335
|
-
@IsZoning = params['IsZoning']
|
2336
|
-
@FileSystem = params['FileSystem']
|
2337
|
-
@Password = params['Password']
|
2338
|
-
@ApplyEip = params['ApplyEip']
|
2339
|
-
@EipPayMode = params['EipPayMode']
|
2340
|
-
@EipBandwidth = params['EipBandwidth']
|
2341
|
-
@ImageId = params['ImageId']
|
2342
|
-
@SysRootSpace = params['SysRootSpace']
|
2343
|
-
@SysDataSpace = params['SysDataSpace']
|
2344
|
-
@HyperThreading = params['HyperThreading']
|
2345
|
-
@LanIps = params['LanIps']
|
2346
|
-
end
|
2347
|
-
end
|
2348
|
-
|
2349
2133
|
# 环境变量
|
2350
2134
|
class EnvVar < TencentCloud::Common::AbstractModel
|
2351
2135
|
# @param Name: 环境变量名称
|
@@ -3298,96 +3082,6 @@ module TencentCloud
|
|
3298
3082
|
end
|
3299
3083
|
end
|
3300
3084
|
|
3301
|
-
# 黑石计算环境
|
3302
|
-
class NamedCpmComputeEnv < TencentCloud::Common::AbstractModel
|
3303
|
-
# @param EnvName: 计算环境名称
|
3304
|
-
# @type EnvName: String
|
3305
|
-
# @param EnvData: 计算环境具体参数
|
3306
|
-
# @type EnvData: :class:`Tencentcloud::Batch.v20170312.models.EnvDataCpm`
|
3307
|
-
# @param DesiredComputeNodeCount: 计算节点期望个数
|
3308
|
-
# @type DesiredComputeNodeCount: Integer
|
3309
|
-
# @param EnvDescription: 计算环境描述
|
3310
|
-
# @type EnvDescription: String
|
3311
|
-
# @param EnvType: 计算环境管理类型, 取值MANAGED。
|
3312
|
-
# @type EnvType: String
|
3313
|
-
# @param Authentications: 授权信息
|
3314
|
-
# @type Authentications: Array
|
3315
|
-
# @param InputMappings: 输入映射信息
|
3316
|
-
# @type InputMappings: Array
|
3317
|
-
# @param Notifications: 通知信息
|
3318
|
-
# @type Notifications: :class:`Tencentcloud::Batch.v20170312.models.Notification`
|
3319
|
-
# @param ActionIfComputeNodeInactive: 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
3320
|
-
# @type ActionIfComputeNodeInactive: String
|
3321
|
-
# @param ResourceMaxRetryCount: 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。
|
3322
|
-
# @type ResourceMaxRetryCount: Integer
|
3323
|
-
# @param Tags: 标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
|
3324
|
-
# @type Tags: Array
|
3325
|
-
# @param NotificationTarget: 表示通知信息的通知目标类型。
|
3326
|
-
# 取值范围:CMQ,TDMQ_CMQ。
|
3327
|
-
# CMQ:表示向腾讯云CMQ发送消息。
|
3328
|
-
# TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860)
|
3329
|
-
# @type NotificationTarget: String
|
3330
|
-
|
3331
|
-
attr_accessor :EnvName, :EnvData, :DesiredComputeNodeCount, :EnvDescription, :EnvType, :Authentications, :InputMappings, :Notifications, :ActionIfComputeNodeInactive, :ResourceMaxRetryCount, :Tags, :NotificationTarget
|
3332
|
-
|
3333
|
-
def initialize(envname=nil, envdata=nil, desiredcomputenodecount=nil, envdescription=nil, envtype=nil, authentications=nil, inputmappings=nil, notifications=nil, actionifcomputenodeinactive=nil, resourcemaxretrycount=nil, tags=nil, notificationtarget=nil)
|
3334
|
-
@EnvName = envname
|
3335
|
-
@EnvData = envdata
|
3336
|
-
@DesiredComputeNodeCount = desiredcomputenodecount
|
3337
|
-
@EnvDescription = envdescription
|
3338
|
-
@EnvType = envtype
|
3339
|
-
@Authentications = authentications
|
3340
|
-
@InputMappings = inputmappings
|
3341
|
-
@Notifications = notifications
|
3342
|
-
@ActionIfComputeNodeInactive = actionifcomputenodeinactive
|
3343
|
-
@ResourceMaxRetryCount = resourcemaxretrycount
|
3344
|
-
@Tags = tags
|
3345
|
-
@NotificationTarget = notificationtarget
|
3346
|
-
end
|
3347
|
-
|
3348
|
-
def deserialize(params)
|
3349
|
-
@EnvName = params['EnvName']
|
3350
|
-
unless params['EnvData'].nil?
|
3351
|
-
@EnvData = EnvDataCpm.new
|
3352
|
-
@EnvData.deserialize(params['EnvData'])
|
3353
|
-
end
|
3354
|
-
@DesiredComputeNodeCount = params['DesiredComputeNodeCount']
|
3355
|
-
@EnvDescription = params['EnvDescription']
|
3356
|
-
@EnvType = params['EnvType']
|
3357
|
-
unless params['Authentications'].nil?
|
3358
|
-
@Authentications = []
|
3359
|
-
params['Authentications'].each do |i|
|
3360
|
-
authentication_tmp = Authentication.new
|
3361
|
-
authentication_tmp.deserialize(i)
|
3362
|
-
@Authentications << authentication_tmp
|
3363
|
-
end
|
3364
|
-
end
|
3365
|
-
unless params['InputMappings'].nil?
|
3366
|
-
@InputMappings = []
|
3367
|
-
params['InputMappings'].each do |i|
|
3368
|
-
inputmapping_tmp = InputMapping.new
|
3369
|
-
inputmapping_tmp.deserialize(i)
|
3370
|
-
@InputMappings << inputmapping_tmp
|
3371
|
-
end
|
3372
|
-
end
|
3373
|
-
unless params['Notifications'].nil?
|
3374
|
-
@Notifications = Notification.new
|
3375
|
-
@Notifications.deserialize(params['Notifications'])
|
3376
|
-
end
|
3377
|
-
@ActionIfComputeNodeInactive = params['ActionIfComputeNodeInactive']
|
3378
|
-
@ResourceMaxRetryCount = params['ResourceMaxRetryCount']
|
3379
|
-
unless params['Tags'].nil?
|
3380
|
-
@Tags = []
|
3381
|
-
params['Tags'].each do |i|
|
3382
|
-
tag_tmp = Tag.new
|
3383
|
-
tag_tmp.deserialize(i)
|
3384
|
-
@Tags << tag_tmp
|
3385
|
-
end
|
3386
|
-
end
|
3387
|
-
@NotificationTarget = params['NotificationTarget']
|
3388
|
-
end
|
3389
|
-
end
|
3390
|
-
|
3391
3085
|
# 通知信息
|
3392
3086
|
class Notification < TencentCloud::Common::AbstractModel
|
3393
3087
|
# @param TopicName: CMQ主题名字,要求主题名有效且关联订阅
|
@@ -3415,46 +3109,6 @@ module TencentCloud
|
|
3415
3109
|
end
|
3416
3110
|
end
|
3417
3111
|
|
3418
|
-
# 操作系统类型
|
3419
|
-
class OsInfo < TencentCloud::Common::AbstractModel
|
3420
|
-
# @param OsTypeId: 操作系统ID。
|
3421
|
-
# @type OsTypeId: Integer
|
3422
|
-
# @param OsName: 操作系统名称。
|
3423
|
-
# @type OsName: String
|
3424
|
-
# @param OsDescription: 操作系统名称描述。
|
3425
|
-
# @type OsDescription: String
|
3426
|
-
# @param OsEnglishDescription: 操作系统英文名称。
|
3427
|
-
# @type OsEnglishDescription: String
|
3428
|
-
# @param OsClass: 操作系统的分类,如CentOs Debian。
|
3429
|
-
# @type OsClass: String
|
3430
|
-
# @param ImageTag: 标识镜像分类。public:公共镜像; private: 专属镜像。
|
3431
|
-
# @type ImageTag: String
|
3432
|
-
# @param MaxPartitionSize: 操作系统,ext4文件下所支持的最大的磁盘大小。单位为T。
|
3433
|
-
# @type MaxPartitionSize: Integer
|
3434
|
-
|
3435
|
-
attr_accessor :OsTypeId, :OsName, :OsDescription, :OsEnglishDescription, :OsClass, :ImageTag, :MaxPartitionSize
|
3436
|
-
|
3437
|
-
def initialize(ostypeid=nil, osname=nil, osdescription=nil, osenglishdescription=nil, osclass=nil, imagetag=nil, maxpartitionsize=nil)
|
3438
|
-
@OsTypeId = ostypeid
|
3439
|
-
@OsName = osname
|
3440
|
-
@OsDescription = osdescription
|
3441
|
-
@OsEnglishDescription = osenglishdescription
|
3442
|
-
@OsClass = osclass
|
3443
|
-
@ImageTag = imagetag
|
3444
|
-
@MaxPartitionSize = maxpartitionsize
|
3445
|
-
end
|
3446
|
-
|
3447
|
-
def deserialize(params)
|
3448
|
-
@OsTypeId = params['OsTypeId']
|
3449
|
-
@OsName = params['OsName']
|
3450
|
-
@OsDescription = params['OsDescription']
|
3451
|
-
@OsEnglishDescription = params['OsEnglishDescription']
|
3452
|
-
@OsClass = params['OsClass']
|
3453
|
-
@ImageTag = params['ImageTag']
|
3454
|
-
@MaxPartitionSize = params['MaxPartitionSize']
|
3455
|
-
end
|
3456
|
-
end
|
3457
|
-
|
3458
3112
|
# 输出映射
|
3459
3113
|
class OutputMapping < TencentCloud::Common::AbstractModel
|
3460
3114
|
# @param SourcePath: 源端路径
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1033
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|