tencentcloud-sdk-batch 1.0.286 → 1.0.289
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/models.rb +35 -9
- 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: d02606eb8300916ca9378a29c1cc8c831fdfad9a
|
4
|
+
data.tar.gz: 820660aad07fb27c5db50fcffabc59d48867071d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 468c63f0ad48ed273da7a8e7b2bc3af0cc3d693e407d0184229f2ce477d0824be1e91038042509f4f15018e5615c02de492f352753d0d41a88747c380084d990
|
7
|
+
data.tar.gz: cd2348c0793c61180c7f856b8e3b919cd5092c622d66ec3d19a3e21438ebac0f6b5092f6bc478ea84649813fe1439b2e4802a5145584ae2c7d5e1b553ed1286f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.289
|
data/lib/v20170312/models.rb
CHANGED
@@ -707,6 +707,7 @@ module TencentCloud
|
|
707
707
|
# @param DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_HSSD:增强型SSD云硬盘<br><li>CLOUD_TSSD:极速型SSD云硬盘<br><br>默认取值:LOCAL_BASIC。<br><br>该参数对`ResizeInstanceDisk`接口无效。
|
708
708
|
# @type DiskType: String
|
709
709
|
# @param DiskId: 数据盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID,暂时不支持该参数。
|
710
|
+
# 该参数目前仅用于`DescribeInstances`接口。
|
710
711
|
# @type DiskId: String
|
711
712
|
# @param DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
|
712
713
|
# <li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘
|
@@ -2856,10 +2857,15 @@ module TencentCloud
|
|
2856
2857
|
# @type StateIfCreateCvmFailed: String
|
2857
2858
|
# @param Tags: 标签列表。通过指定该参数可以支持绑定标签到作业。每个作业最多绑定10个标签。
|
2858
2859
|
# @type Tags: Array
|
2860
|
+
# @param NotificationTarget: 表示通知信息的通知目标类型。
|
2861
|
+
# 取值范围:CMQ,TDMQ_CMQ。
|
2862
|
+
# CMQ:表示向腾讯云CMQ发送消息。
|
2863
|
+
# TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860)
|
2864
|
+
# @type NotificationTarget: String
|
2859
2865
|
|
2860
|
-
attr_accessor :Tasks, :JobName, :JobDescription, :Priority, :Dependences, :Notifications, :TaskExecutionDependOn, :StateIfCreateCvmFailed, :Tags
|
2866
|
+
attr_accessor :Tasks, :JobName, :JobDescription, :Priority, :Dependences, :Notifications, :TaskExecutionDependOn, :StateIfCreateCvmFailed, :Tags, :NotificationTarget
|
2861
2867
|
|
2862
|
-
def initialize(tasks=nil, jobname=nil, jobdescription=nil, priority=nil, dependences=nil, notifications=nil, taskexecutiondependon=nil, stateifcreatecvmfailed=nil, tags=nil)
|
2868
|
+
def initialize(tasks=nil, jobname=nil, jobdescription=nil, priority=nil, dependences=nil, notifications=nil, taskexecutiondependon=nil, stateifcreatecvmfailed=nil, tags=nil, notificationtarget=nil)
|
2863
2869
|
@Tasks = tasks
|
2864
2870
|
@JobName = jobname
|
2865
2871
|
@JobDescription = jobdescription
|
@@ -2869,6 +2875,7 @@ module TencentCloud
|
|
2869
2875
|
@TaskExecutionDependOn = taskexecutiondependon
|
2870
2876
|
@StateIfCreateCvmFailed = stateifcreatecvmfailed
|
2871
2877
|
@Tags = tags
|
2878
|
+
@NotificationTarget = notificationtarget
|
2872
2879
|
end
|
2873
2880
|
|
2874
2881
|
def deserialize(params)
|
@@ -2909,6 +2916,7 @@ module TencentCloud
|
|
2909
2916
|
@Tags << tag_tmp
|
2910
2917
|
end
|
2911
2918
|
end
|
2919
|
+
@NotificationTarget = params['NotificationTarget']
|
2912
2920
|
end
|
2913
2921
|
end
|
2914
2922
|
|
@@ -3171,17 +3179,22 @@ module TencentCloud
|
|
3171
3179
|
# @param AgentRunningMode: agent运行模式,适用于Windows系统
|
3172
3180
|
# @type AgentRunningMode: :class:`Tencentcloud::Batch.v20170312.models.AgentRunningMode`
|
3173
3181
|
# @param Notifications: 通知信息
|
3174
|
-
# @type Notifications:
|
3182
|
+
# @type Notifications: Array
|
3175
3183
|
# @param ActionIfComputeNodeInactive: 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
3176
3184
|
# @type ActionIfComputeNodeInactive: String
|
3177
3185
|
# @param ResourceMaxRetryCount: 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值11,如果不设置的话,系统会设置一个默认值,当前为7
|
3178
3186
|
# @type ResourceMaxRetryCount: Integer
|
3179
3187
|
# @param Tags: 标签列表。通过指定该参数可以支持绑定标签到计算环境。每个计算环境最多绑定10个标签。
|
3180
3188
|
# @type Tags: Array
|
3189
|
+
# @param NotificationTarget: 表示通知信息的通知目标类型。
|
3190
|
+
# 取值范围:CMQ,TDMQ_CMQ。
|
3191
|
+
# CMQ:表示向腾讯云CMQ发送消息。
|
3192
|
+
# TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860)
|
3193
|
+
# @type NotificationTarget: String
|
3181
3194
|
|
3182
|
-
attr_accessor :EnvName, :DesiredComputeNodeCount, :EnvDescription, :EnvType, :EnvData, :MountDataDisks, :Authentications, :InputMappings, :AgentRunningMode, :Notifications, :ActionIfComputeNodeInactive, :ResourceMaxRetryCount, :Tags
|
3195
|
+
attr_accessor :EnvName, :DesiredComputeNodeCount, :EnvDescription, :EnvType, :EnvData, :MountDataDisks, :Authentications, :InputMappings, :AgentRunningMode, :Notifications, :ActionIfComputeNodeInactive, :ResourceMaxRetryCount, :Tags, :NotificationTarget
|
3183
3196
|
|
3184
|
-
def initialize(envname=nil, desiredcomputenodecount=nil, envdescription=nil, envtype=nil, envdata=nil, mountdatadisks=nil, authentications=nil, inputmappings=nil, agentrunningmode=nil, notifications=nil, actionifcomputenodeinactive=nil, resourcemaxretrycount=nil, tags=nil)
|
3197
|
+
def initialize(envname=nil, desiredcomputenodecount=nil, envdescription=nil, envtype=nil, envdata=nil, mountdatadisks=nil, authentications=nil, inputmappings=nil, agentrunningmode=nil, notifications=nil, actionifcomputenodeinactive=nil, resourcemaxretrycount=nil, tags=nil, notificationtarget=nil)
|
3185
3198
|
@EnvName = envname
|
3186
3199
|
@DesiredComputeNodeCount = desiredcomputenodecount
|
3187
3200
|
@EnvDescription = envdescription
|
@@ -3195,6 +3208,7 @@ module TencentCloud
|
|
3195
3208
|
@ActionIfComputeNodeInactive = actionifcomputenodeinactive
|
3196
3209
|
@ResourceMaxRetryCount = resourcemaxretrycount
|
3197
3210
|
@Tags = tags
|
3211
|
+
@NotificationTarget = notificationtarget
|
3198
3212
|
end
|
3199
3213
|
|
3200
3214
|
def deserialize(params)
|
@@ -3235,8 +3249,12 @@ module TencentCloud
|
|
3235
3249
|
@AgentRunningMode.deserialize(params['AgentRunningMode'])
|
3236
3250
|
end
|
3237
3251
|
unless params['Notifications'].nil?
|
3238
|
-
@Notifications =
|
3239
|
-
|
3252
|
+
@Notifications = []
|
3253
|
+
params['Notifications'].each do |i|
|
3254
|
+
notification_tmp = Notification.new
|
3255
|
+
notification_tmp.deserialize(i)
|
3256
|
+
@Notifications << notification_tmp
|
3257
|
+
end
|
3240
3258
|
end
|
3241
3259
|
@ActionIfComputeNodeInactive = params['ActionIfComputeNodeInactive']
|
3242
3260
|
@ResourceMaxRetryCount = params['ResourceMaxRetryCount']
|
@@ -3248,6 +3266,7 @@ module TencentCloud
|
|
3248
3266
|
@Tags << tag_tmp
|
3249
3267
|
end
|
3250
3268
|
end
|
3269
|
+
@NotificationTarget = params['NotificationTarget']
|
3251
3270
|
end
|
3252
3271
|
end
|
3253
3272
|
|
@@ -3275,10 +3294,15 @@ module TencentCloud
|
|
3275
3294
|
# @type ResourceMaxRetryCount: Integer
|
3276
3295
|
# @param Tags: 标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
|
3277
3296
|
# @type Tags: Array
|
3297
|
+
# @param NotificationTarget: 表示通知信息的通知目标类型。
|
3298
|
+
# 取值范围:CMQ,TDMQ_CMQ。
|
3299
|
+
# CMQ:表示向腾讯云CMQ发送消息。
|
3300
|
+
# TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860)
|
3301
|
+
# @type NotificationTarget: String
|
3278
3302
|
|
3279
|
-
attr_accessor :EnvName, :EnvData, :DesiredComputeNodeCount, :EnvDescription, :EnvType, :Authentications, :InputMappings, :Notifications, :ActionIfComputeNodeInactive, :ResourceMaxRetryCount, :Tags
|
3303
|
+
attr_accessor :EnvName, :EnvData, :DesiredComputeNodeCount, :EnvDescription, :EnvType, :Authentications, :InputMappings, :Notifications, :ActionIfComputeNodeInactive, :ResourceMaxRetryCount, :Tags, :NotificationTarget
|
3280
3304
|
|
3281
|
-
def initialize(envname=nil, envdata=nil, desiredcomputenodecount=nil, envdescription=nil, envtype=nil, authentications=nil, inputmappings=nil, notifications=nil, actionifcomputenodeinactive=nil, resourcemaxretrycount=nil, tags=nil)
|
3305
|
+
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)
|
3282
3306
|
@EnvName = envname
|
3283
3307
|
@EnvData = envdata
|
3284
3308
|
@DesiredComputeNodeCount = desiredcomputenodecount
|
@@ -3290,6 +3314,7 @@ module TencentCloud
|
|
3290
3314
|
@ActionIfComputeNodeInactive = actionifcomputenodeinactive
|
3291
3315
|
@ResourceMaxRetryCount = resourcemaxretrycount
|
3292
3316
|
@Tags = tags
|
3317
|
+
@NotificationTarget = notificationtarget
|
3293
3318
|
end
|
3294
3319
|
|
3295
3320
|
def deserialize(params)
|
@@ -3331,6 +3356,7 @@ module TencentCloud
|
|
3331
3356
|
@Tags << tag_tmp
|
3332
3357
|
end
|
3333
3358
|
end
|
3359
|
+
@NotificationTarget = params['NotificationTarget']
|
3334
3360
|
end
|
3335
3361
|
end
|
3336
3362
|
|
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: 1.0.
|
4
|
+
version: 1.0.289
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|