tencentcloud-sdk-as 3.0.402 → 3.0.403

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7863f0c278b3cba88d10c635e38d78be07655e4
4
- data.tar.gz: 35497e99c5e80e632405ecd04d0ec6f012aabe93
3
+ metadata.gz: 776e31ab67a61d3921ed93898d5c3e943f93cbef
4
+ data.tar.gz: 5aa4a88d340c140902fc6be02e850559dcb36bff
5
5
  SHA512:
6
- metadata.gz: 3a5a2b22219f8d8d856b00622ad9da056d5940f1c32474d624e0ed6a67513a1df0ae9944d56e32a348f50a4451f820ee6cf05e712587f4836444d26c19a8a547
7
- data.tar.gz: 8a984466006fccba7af7f4292716d0d805a024d0c82266fd6d3c96d9ba66189d3f388477634219ac6c0c92d266c862024c4a87f2e8a0c6fa92a46d5d3581fe58
6
+ metadata.gz: 4a55b10fce232f5cccb86def798961fc040d4c0ed9d0520802b8ea25dbef4f9283b9d5fa0a3b98e3684defc6b88066f8d73d4936eb4ee420f9acc1c305a609e0
7
+ data.tar.gz: 8193e2ea1fcafe8e987fdb6bb26d2b53975a8b9f7d556fd801e33571d6ee2b9f925de895b17b55cc40146a9201286798f26402180e4cedd5d65539f51d04ab30
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.402
1
+ 3.0.403
@@ -209,7 +209,9 @@ module TencentCloud
209
209
 
210
210
  # 本接口(CreateLifecycleHook)用于创建生命周期挂钩。
211
211
 
212
- # * 您可以为生命周期挂钩配置消息通知,弹性伸缩会通知您的CMQ消息队列,通知内容形如:
212
+ # * 您可以为生命周期挂钩配置消息通知或执行自动化助手命令。
213
+
214
+ # 如果您配置了通知消息,弹性伸缩会通知您的TDMQ消息队列,通知内容形如:
213
215
 
214
216
  # ```
215
217
  # {
@@ -1048,13 +1048,13 @@ module TencentCloud
1048
1048
  # @type DefaultResult: String
1049
1049
  # @param HeartbeatTimeout: 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到7200秒,默认值为300秒
1050
1050
  # @type HeartbeatTimeout: Integer
1051
- # @param NotificationMetadata: 弹性伸缩向通知目标发送的附加信息,默认值为空字符串""。最大长度不能超过1024个字节。
1051
+ # @param NotificationMetadata: 弹性伸缩向通知目标发送的附加信息,配置通知时使用,默认值为空字符串""。最大长度不能超过1024个字节。
1052
1052
  # @type NotificationMetadata: String
1053
- # @param NotificationTarget: 通知目标
1053
+ # @param NotificationTarget: 通知目标。NotificationTarget和LifecycleCommand参数互斥,二者不可同时指定。
1054
1054
  # @type NotificationTarget: :class:`Tencentcloud::As.v20180419.models.NotificationTarget`
1055
1055
  # @param LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括NORMAL 和 EXTENSION。说明:设置为EXTENSION值,在AttachInstances、DetachInstances、RemoveInstaces接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
1056
1056
  # @type LifecycleTransitionType: String
1057
- # @param LifecycleCommand: 远程命令执行对象。NotificationTarget和CommandInfo参数互斥,二者不可同时指定。
1057
+ # @param LifecycleCommand: 远程命令执行对象。NotificationTarget和LifecycleCommand参数互斥,二者不可同时指定。
1058
1058
  # @type LifecycleCommand: :class:`Tencentcloud::As.v20180419.models.LifecycleCommand`
1059
1059
 
1060
1060
  attr_accessor :AutoScalingGroupId, :LifecycleHookName, :LifecycleTransition, :DefaultResult, :HeartbeatTimeout, :NotificationMetadata, :NotificationTarget, :LifecycleTransitionType, :LifecycleCommand
@@ -3074,7 +3074,7 @@ module TencentCloud
3074
3074
  # <li>FAILED 命令调用失败</li>
3075
3075
  # <li>NONE</li>
3076
3076
  # @type InvokeCommandResult: String
3077
- # @param NotificationResult: 通知的结果,表示通知CMQ/TCMQ是否成功。<br>
3077
+ # @param NotificationResult: 通知的结果,表示通知CMQ/TDMQ是否成功。<br>
3078
3078
  # <li>SUCCESSFUL 通知成功</li>
3079
3079
  # <li>FAILED 通知失败</li>
3080
3080
  # <li>NONE</li>
@@ -3649,10 +3649,12 @@ module TencentCloud
3649
3649
  # @type LifecycleTransitionType: String
3650
3650
  # @param NotificationTarget: 通知目标信息。
3651
3651
  # @type NotificationTarget: :class:`Tencentcloud::As.v20180419.models.NotificationTarget`
3652
+ # @param LifecycleCommand: 远程命令执行对象。
3653
+ # @type LifecycleCommand: :class:`Tencentcloud::As.v20180419.models.LifecycleCommand`
3652
3654
 
3653
- attr_accessor :LifecycleHookId, :LifecycleHookName, :LifecycleTransition, :DefaultResult, :HeartbeatTimeout, :NotificationMetadata, :LifecycleTransitionType, :NotificationTarget
3655
+ attr_accessor :LifecycleHookId, :LifecycleHookName, :LifecycleTransition, :DefaultResult, :HeartbeatTimeout, :NotificationMetadata, :LifecycleTransitionType, :NotificationTarget, :LifecycleCommand
3654
3656
 
3655
- def initialize(lifecyclehookid=nil, lifecyclehookname=nil, lifecycletransition=nil, defaultresult=nil, heartbeattimeout=nil, notificationmetadata=nil, lifecycletransitiontype=nil, notificationtarget=nil)
3657
+ def initialize(lifecyclehookid=nil, lifecyclehookname=nil, lifecycletransition=nil, defaultresult=nil, heartbeattimeout=nil, notificationmetadata=nil, lifecycletransitiontype=nil, notificationtarget=nil, lifecyclecommand=nil)
3656
3658
  @LifecycleHookId = lifecyclehookid
3657
3659
  @LifecycleHookName = lifecyclehookname
3658
3660
  @LifecycleTransition = lifecycletransition
@@ -3661,6 +3663,7 @@ module TencentCloud
3661
3663
  @NotificationMetadata = notificationmetadata
3662
3664
  @LifecycleTransitionType = lifecycletransitiontype
3663
3665
  @NotificationTarget = notificationtarget
3666
+ @LifecycleCommand = lifecyclecommand
3664
3667
  end
3665
3668
 
3666
3669
  def deserialize(params)
@@ -3675,6 +3678,10 @@ module TencentCloud
3675
3678
  @NotificationTarget = NotificationTarget.new
3676
3679
  @NotificationTarget.deserialize(params['NotificationTarget'])
3677
3680
  end
3681
+ unless params['LifecycleCommand'].nil?
3682
+ @LifecycleCommand = LifecycleCommand.new
3683
+ @LifecycleCommand.deserialize(params['LifecycleCommand'])
3684
+ end
3678
3685
  end
3679
3686
  end
3680
3687
 
@@ -4710,16 +4717,18 @@ module TencentCloud
4710
4717
  # @type DefaultResult: String
4711
4718
  # @param HeartbeatTimeout: 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到7200秒,默认值为300秒
4712
4719
  # @type HeartbeatTimeout: Integer
4713
- # @param NotificationMetadata: 弹性伸缩向通知目标发送的附加信息,默认值为空字符串""
4720
+ # @param NotificationMetadata: 弹性伸缩向通知目标发送的附加信息,配置通知时使用,默认值为空字符串""
4714
4721
  # @type NotificationMetadata: String
4715
- # @param NotificationTarget: 通知目标
4722
+ # @param NotificationTarget: 通知目标。NotificationTarget和LifecycleCommand参数互斥,二者不可同时指定。
4716
4723
  # @type NotificationTarget: :class:`Tencentcloud::As.v20180419.models.NotificationTarget`
4717
4724
  # @param LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括NORMAL 和 EXTENSION。说明:设置为EXTENSION值,在AttachInstances、DetachInstances、RemoveInstaces接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
4718
4725
  # @type LifecycleTransitionType: String
4726
+ # @param LifecycleCommand: 远程命令执行对象。NotificationTarget和LifecycleCommand参数互斥,二者不可同时指定。
4727
+ # @type LifecycleCommand: :class:`Tencentcloud::As.v20180419.models.LifecycleCommand`
4719
4728
 
4720
- attr_accessor :LifecycleHookId, :LifecycleHookName, :LifecycleTransition, :DefaultResult, :HeartbeatTimeout, :NotificationMetadata, :NotificationTarget, :LifecycleTransitionType
4729
+ attr_accessor :LifecycleHookId, :LifecycleHookName, :LifecycleTransition, :DefaultResult, :HeartbeatTimeout, :NotificationMetadata, :NotificationTarget, :LifecycleTransitionType, :LifecycleCommand
4721
4730
 
4722
- def initialize(lifecyclehookid=nil, lifecyclehookname=nil, lifecycletransition=nil, defaultresult=nil, heartbeattimeout=nil, notificationmetadata=nil, notificationtarget=nil, lifecycletransitiontype=nil)
4731
+ def initialize(lifecyclehookid=nil, lifecyclehookname=nil, lifecycletransition=nil, defaultresult=nil, heartbeattimeout=nil, notificationmetadata=nil, notificationtarget=nil, lifecycletransitiontype=nil, lifecyclecommand=nil)
4723
4732
  @LifecycleHookId = lifecyclehookid
4724
4733
  @LifecycleHookName = lifecyclehookname
4725
4734
  @LifecycleTransition = lifecycletransition
@@ -4728,6 +4737,7 @@ module TencentCloud
4728
4737
  @NotificationMetadata = notificationmetadata
4729
4738
  @NotificationTarget = notificationtarget
4730
4739
  @LifecycleTransitionType = lifecycletransitiontype
4740
+ @LifecycleCommand = lifecyclecommand
4731
4741
  end
4732
4742
 
4733
4743
  def deserialize(params)
@@ -4742,6 +4752,10 @@ module TencentCloud
4742
4752
  @NotificationTarget.deserialize(params['NotificationTarget'])
4743
4753
  end
4744
4754
  @LifecycleTransitionType = params['LifecycleTransitionType']
4755
+ unless params['LifecycleCommand'].nil?
4756
+ @LifecycleCommand = LifecycleCommand.new
4757
+ @LifecycleCommand.deserialize(params['LifecycleCommand'])
4758
+ end
4745
4759
  end
4746
4760
  end
4747
4761
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-as
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.402
4
+ version: 3.0.403
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-09-01 00:00:00.000000000 Z
11
+ date: 2022-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common