tencentcloud-sdk-as 3.0.398 → 3.0.403
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/v20180419/client.rb +3 -1
- data/lib/v20180419/models.rb +26 -12
- 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: 776e31ab67a61d3921ed93898d5c3e943f93cbef
|
4
|
+
data.tar.gz: 5aa4a88d340c140902fc6be02e850559dcb36bff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a55b10fce232f5cccb86def798961fc040d4c0ed9d0520802b8ea25dbef4f9283b9d5fa0a3b98e3684defc6b88066f8d73d4936eb4ee420f9acc1c305a609e0
|
7
|
+
data.tar.gz: 8193e2ea1fcafe8e987fdb6bb26d2b53975a8b9f7d556fd801e33571d6ee2b9f925de895b17b55cc40146a9201286798f26402180e4cedd5d65539f51d04ab30
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.403
|
data/lib/v20180419/client.rb
CHANGED
data/lib/v20180419/models.rb
CHANGED
@@ -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:
|
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和
|
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/
|
3077
|
+
# @param NotificationResult: 通知的结果,表示通知CMQ/TDMQ是否成功。<br>
|
3078
3078
|
# <li>SUCCESSFUL 通知成功</li>
|
3079
3079
|
# <li>FAILED 通知失败</li>
|
3080
3080
|
# <li>NONE</li>
|
@@ -3115,7 +3115,7 @@ module TencentCloud
|
|
3115
3115
|
end
|
3116
3116
|
end
|
3117
3117
|
|
3118
|
-
# 远程命令执行对象。
|
3118
|
+
# 远程命令执行对象。
|
3119
3119
|
class LifecycleCommand < TencentCloud::Common::AbstractModel
|
3120
3120
|
# @param CommandId: 远程命令ID。若选择执行命令,则此项必填。
|
3121
3121
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3125,7 +3125,7 @@ module TencentCloud
|
|
3125
3125
|
# 如果未提供该参数取值,将使用 Command 的 DefaultParameters 进行替换。
|
3126
3126
|
# 自定义参数最多20个。自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
3127
3127
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3128
|
-
# @type Parameters:
|
3128
|
+
# @type Parameters: String
|
3129
3129
|
|
3130
3130
|
attr_accessor :CommandId, :Parameters
|
3131
3131
|
|
@@ -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.
|
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-
|
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
|