tencentcloud-sdk-batch 1.0.288 → 1.0.291

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/v20170312/models.rb +31 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99584020434ede7342544d39969a8f1497417260
4
- data.tar.gz: d48e17c59c63c6106f2ce1873d90cbf10d1a3275
3
+ metadata.gz: 70a4ffec917f9965057f19313139677b5cab457d
4
+ data.tar.gz: d7f75f1081ee53bc6d4eb44119bf61e277d41bfd
5
5
  SHA512:
6
- metadata.gz: 86900d4f0c3a919104d6ee3dae0457f70854e0a2000be40525307665e577eaed2681243be5bd67e47eaffe490377980180a010b5813bb2c5d11bce1542ec4789
7
- data.tar.gz: a7fb0dd8b73088c62440079c0eb851a71668453921291cbc88afa7a459f0712eafb834ad4fb3a7fc025d39d97badcd533094e22b0e29449531b9230a1a745ecc
6
+ metadata.gz: c00c29ea51d195019bab0543727e603555ed1aeeeced573705dc94fae93d029fb3194883221c332ca32c9209bd74f0c0cfb3a377e74a97a915a2857cbb4551e2
7
+ data.tar.gz: 653fb475348eb7f94fea8fa35b8972b743dff9588aff5a2abb42cdf7817fb6369fce3b26f8f348626f8ea1d0366679e0b752c561b1fcf85e5282343865eb4736
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.288
1
+ 1.0.291
@@ -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
 
@@ -3174,14 +3182,19 @@ module TencentCloud
3174
3182
  # @type Notifications: Array
3175
3183
  # @param ActionIfComputeNodeInactive: 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
3176
3184
  # @type ActionIfComputeNodeInactive: String
3177
- # @param ResourceMaxRetryCount: 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值11,如果不设置的话,系统会设置一个默认值,当前为7
3185
+ # @param ResourceMaxRetryCount: 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为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)
@@ -3252,6 +3266,7 @@ module TencentCloud
3252
3266
  @Tags << tag_tmp
3253
3267
  end
3254
3268
  end
3269
+ @NotificationTarget = params['NotificationTarget']
3255
3270
  end
3256
3271
  end
3257
3272
 
@@ -3275,14 +3290,19 @@ module TencentCloud
3275
3290
  # @type Notifications: :class:`Tencentcloud::Batch.v20170312.models.Notification`
3276
3291
  # @param ActionIfComputeNodeInactive: 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
3277
3292
  # @type ActionIfComputeNodeInactive: String
3278
- # @param ResourceMaxRetryCount: 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值11,如果不设置的话,系统会设置一个默认值,当前为7
3293
+ # @param ResourceMaxRetryCount: 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7
3279
3294
  # @type ResourceMaxRetryCount: Integer
3280
3295
  # @param Tags: 标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
3281
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
3282
3302
 
3283
- 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
3284
3304
 
3285
- 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)
3286
3306
  @EnvName = envname
3287
3307
  @EnvData = envdata
3288
3308
  @DesiredComputeNodeCount = desiredcomputenodecount
@@ -3294,6 +3314,7 @@ module TencentCloud
3294
3314
  @ActionIfComputeNodeInactive = actionifcomputenodeinactive
3295
3315
  @ResourceMaxRetryCount = resourcemaxretrycount
3296
3316
  @Tags = tags
3317
+ @NotificationTarget = notificationtarget
3297
3318
  end
3298
3319
 
3299
3320
  def deserialize(params)
@@ -3335,6 +3356,7 @@ module TencentCloud
3335
3356
  @Tags << tag_tmp
3336
3357
  end
3337
3358
  end
3359
+ @NotificationTarget = params['NotificationTarget']
3338
3360
  end
3339
3361
  end
3340
3362
 
@@ -3800,7 +3822,7 @@ module TencentCloud
3800
3822
  # @type MaxConcurrentNum: Integer
3801
3823
  # @param RestartComputeNode: 任务完成后,重启计算节点。适用于指定计算环境执行任务。
3802
3824
  # @type RestartComputeNode: Boolean
3803
- # @param ResourceMaxRetryCount: 启动任务过程中,创建计算资源如CVM失败后的最大重试次数,默认为0。
3825
+ # @param ResourceMaxRetryCount: 启动任务过程中,创建计算资源如CVM失败后的最大重试次数,默认为0。最大值100
3804
3826
  # @type ResourceMaxRetryCount: Integer
3805
3827
 
3806
3828
  attr_accessor :Application, :TaskName, :TaskInstanceNum, :ComputeEnv, :EnvId, :RedirectInfo, :RedirectLocalInfo, :InputMappings, :OutputMappings, :OutputMappingConfigs, :EnvVars, :Authentications, :FailedAction, :MaxRetryCount, :Timeout, :MaxConcurrentNum, :RestartComputeNode, :ResourceMaxRetryCount
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.288
4
+ version: 1.0.291
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-29 00:00:00.000000000 Z
11
+ date: 2022-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common