tencentcloud-sdk-as 3.0.696 → 3.0.698
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180419/models.rb +54 -10
- 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: dcae3eacf3a948549ebea6127b8a69662ffcde43
|
4
|
+
data.tar.gz: 2f31ede42c50f516f8afdd63cccc2c81eae10c38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98b6eceb6c9feab2fe1c34f9e300d36101035c8aaa80de30df572f6ad8bb9566963f116d84cb53976d57098481b2a28d40c09c869a210ad499850137b31662a5
|
7
|
+
data.tar.gz: a7e707505be90f066b651eeaf56fb666744e5857a1644a328a0336e68459728b427a34b57ca096dce96ac53c3c5b3b8ca05889a86bda1537e5519ae1ce57731c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.698
|
data/lib/v20180419/models.rb
CHANGED
@@ -64,8 +64,8 @@ module TencentCloud
|
|
64
64
|
|
65
65
|
attr_accessor :AutoScalingGroupId, :ActivityId, :ActivityType, :StatusCode, :StatusMessage, :Cause, :Description, :StartTime, :EndTime, :CreatedTime, :ActivityRelatedInstanceSet, :StatusMessageSimplified, :LifecycleActionResultSet, :DetailedStatusMessageSet, :InvocationResultSet, :RelatedInstanceSet
|
66
66
|
extend Gem::Deprecate
|
67
|
-
deprecate :ActivityRelatedInstanceSet, :none, 2023,
|
68
|
-
deprecate :ActivityRelatedInstanceSet=, :none, 2023,
|
67
|
+
deprecate :ActivityRelatedInstanceSet, :none, 2023, 11
|
68
|
+
deprecate :ActivityRelatedInstanceSet=, :none, 2023, 11
|
69
69
|
|
70
70
|
def initialize(autoscalinggroupid=nil, activityid=nil, activitytype=nil, statuscode=nil, statusmessage=nil, cause=nil, description=nil, starttime=nil, endtime=nil, createdtime=nil, activityrelatedinstanceset=nil, statusmessagesimplified=nil, lifecycleactionresultset=nil, detailedstatusmessageset=nil, invocationresultset=nil, relatedinstanceset=nil)
|
71
71
|
@AutoScalingGroupId = autoscalinggroupid
|
@@ -401,10 +401,13 @@ module TencentCloud
|
|
401
401
|
# <br><li> TRUE,开启该功能,当伸缩组内的竞价实例即将被竞价实例服务自动回收前,AS 主动发起竞价实例销毁流程,如果有配置过缩容 hook,则销毁前 hook 会生效。销毁流程启动后,AS 会异步开启一个扩容活动,用于补齐期望实例数。
|
402
402
|
# <br><li> FALSE,不开启该功能,则 AS 等待竞价实例被销毁后才会去扩容补齐伸缩组期望实例数。
|
403
403
|
# @type CapacityRebalance: Boolean
|
404
|
+
# @param InstanceNameIndexSettings: 实例名称序号相关设置。
|
405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
406
|
+
# @type InstanceNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.InstanceNameIndexSettings`
|
404
407
|
|
405
|
-
attr_accessor :AutoScalingGroupId, :AutoScalingGroupName, :AutoScalingGroupStatus, :CreatedTime, :DefaultCooldown, :DesiredCapacity, :EnabledStatus, :ForwardLoadBalancerSet, :InstanceCount, :InServiceInstanceCount, :LaunchConfigurationId, :LaunchConfigurationName, :LoadBalancerIdSet, :MaxSize, :MinSize, :ProjectId, :SubnetIdSet, :TerminationPolicySet, :VpcId, :ZoneSet, :RetryPolicy, :InActivityStatus, :Tags, :ServiceSettings, :Ipv6AddressCount, :MultiZoneSubnetPolicy, :HealthCheckType, :LoadBalancerHealthCheckGracePeriod, :InstanceAllocationPolicy, :SpotMixedAllocationPolicy, :CapacityRebalance
|
408
|
+
attr_accessor :AutoScalingGroupId, :AutoScalingGroupName, :AutoScalingGroupStatus, :CreatedTime, :DefaultCooldown, :DesiredCapacity, :EnabledStatus, :ForwardLoadBalancerSet, :InstanceCount, :InServiceInstanceCount, :LaunchConfigurationId, :LaunchConfigurationName, :LoadBalancerIdSet, :MaxSize, :MinSize, :ProjectId, :SubnetIdSet, :TerminationPolicySet, :VpcId, :ZoneSet, :RetryPolicy, :InActivityStatus, :Tags, :ServiceSettings, :Ipv6AddressCount, :MultiZoneSubnetPolicy, :HealthCheckType, :LoadBalancerHealthCheckGracePeriod, :InstanceAllocationPolicy, :SpotMixedAllocationPolicy, :CapacityRebalance, :InstanceNameIndexSettings
|
406
409
|
|
407
|
-
def initialize(autoscalinggroupid=nil, autoscalinggroupname=nil, autoscalinggroupstatus=nil, createdtime=nil, defaultcooldown=nil, desiredcapacity=nil, enabledstatus=nil, forwardloadbalancerset=nil, instancecount=nil, inserviceinstancecount=nil, launchconfigurationid=nil, launchconfigurationname=nil, loadbalanceridset=nil, maxsize=nil, minsize=nil, projectid=nil, subnetidset=nil, terminationpolicyset=nil, vpcid=nil, zoneset=nil, retrypolicy=nil, inactivitystatus=nil, tags=nil, servicesettings=nil, ipv6addresscount=nil, multizonesubnetpolicy=nil, healthchecktype=nil, loadbalancerhealthcheckgraceperiod=nil, instanceallocationpolicy=nil, spotmixedallocationpolicy=nil, capacityrebalance=nil)
|
410
|
+
def initialize(autoscalinggroupid=nil, autoscalinggroupname=nil, autoscalinggroupstatus=nil, createdtime=nil, defaultcooldown=nil, desiredcapacity=nil, enabledstatus=nil, forwardloadbalancerset=nil, instancecount=nil, inserviceinstancecount=nil, launchconfigurationid=nil, launchconfigurationname=nil, loadbalanceridset=nil, maxsize=nil, minsize=nil, projectid=nil, subnetidset=nil, terminationpolicyset=nil, vpcid=nil, zoneset=nil, retrypolicy=nil, inactivitystatus=nil, tags=nil, servicesettings=nil, ipv6addresscount=nil, multizonesubnetpolicy=nil, healthchecktype=nil, loadbalancerhealthcheckgraceperiod=nil, instanceallocationpolicy=nil, spotmixedallocationpolicy=nil, capacityrebalance=nil, instancenameindexsettings=nil)
|
408
411
|
@AutoScalingGroupId = autoscalinggroupid
|
409
412
|
@AutoScalingGroupName = autoscalinggroupname
|
410
413
|
@AutoScalingGroupStatus = autoscalinggroupstatus
|
@@ -436,6 +439,7 @@ module TencentCloud
|
|
436
439
|
@InstanceAllocationPolicy = instanceallocationpolicy
|
437
440
|
@SpotMixedAllocationPolicy = spotmixedallocationpolicy
|
438
441
|
@CapacityRebalance = capacityrebalance
|
442
|
+
@InstanceNameIndexSettings = instancenameindexsettings
|
439
443
|
end
|
440
444
|
|
441
445
|
def deserialize(params)
|
@@ -490,6 +494,10 @@ module TencentCloud
|
|
490
494
|
@SpotMixedAllocationPolicy.deserialize(params['SpotMixedAllocationPolicy'])
|
491
495
|
end
|
492
496
|
@CapacityRebalance = params['CapacityRebalance']
|
497
|
+
unless params['InstanceNameIndexSettings'].nil?
|
498
|
+
@InstanceNameIndexSettings = InstanceNameIndexSettings.new
|
499
|
+
@InstanceNameIndexSettings.deserialize(params['InstanceNameIndexSettings'])
|
500
|
+
end
|
493
501
|
end
|
494
502
|
end
|
495
503
|
|
@@ -815,10 +823,12 @@ module TencentCloud
|
|
815
823
|
|
816
824
|
# 默认取 FALSE。
|
817
825
|
# @type CapacityRebalance: Boolean
|
826
|
+
# @param InstanceNameIndexSettings: 实例名称序号相关设置。若不指定该参数,则默认不开启。开启后为伸缩组内自动创建的实例名称添加递增的数字序号。
|
827
|
+
# @type InstanceNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.InstanceNameIndexSettings`
|
818
828
|
|
819
|
-
attr_accessor :AutoScalingGroupName, :LaunchConfigurationId, :MaxSize, :MinSize, :VpcId, :DefaultCooldown, :DesiredCapacity, :LoadBalancerIds, :ProjectId, :ForwardLoadBalancers, :SubnetIds, :TerminationPolicies, :Zones, :RetryPolicy, :ZonesCheckPolicy, :Tags, :ServiceSettings, :Ipv6AddressCount, :MultiZoneSubnetPolicy, :HealthCheckType, :LoadBalancerHealthCheckGracePeriod, :InstanceAllocationPolicy, :SpotMixedAllocationPolicy, :CapacityRebalance
|
829
|
+
attr_accessor :AutoScalingGroupName, :LaunchConfigurationId, :MaxSize, :MinSize, :VpcId, :DefaultCooldown, :DesiredCapacity, :LoadBalancerIds, :ProjectId, :ForwardLoadBalancers, :SubnetIds, :TerminationPolicies, :Zones, :RetryPolicy, :ZonesCheckPolicy, :Tags, :ServiceSettings, :Ipv6AddressCount, :MultiZoneSubnetPolicy, :HealthCheckType, :LoadBalancerHealthCheckGracePeriod, :InstanceAllocationPolicy, :SpotMixedAllocationPolicy, :CapacityRebalance, :InstanceNameIndexSettings
|
820
830
|
|
821
|
-
def initialize(autoscalinggroupname=nil, launchconfigurationid=nil, maxsize=nil, minsize=nil, vpcid=nil, defaultcooldown=nil, desiredcapacity=nil, loadbalancerids=nil, projectid=nil, forwardloadbalancers=nil, subnetids=nil, terminationpolicies=nil, zones=nil, retrypolicy=nil, zonescheckpolicy=nil, tags=nil, servicesettings=nil, ipv6addresscount=nil, multizonesubnetpolicy=nil, healthchecktype=nil, loadbalancerhealthcheckgraceperiod=nil, instanceallocationpolicy=nil, spotmixedallocationpolicy=nil, capacityrebalance=nil)
|
831
|
+
def initialize(autoscalinggroupname=nil, launchconfigurationid=nil, maxsize=nil, minsize=nil, vpcid=nil, defaultcooldown=nil, desiredcapacity=nil, loadbalancerids=nil, projectid=nil, forwardloadbalancers=nil, subnetids=nil, terminationpolicies=nil, zones=nil, retrypolicy=nil, zonescheckpolicy=nil, tags=nil, servicesettings=nil, ipv6addresscount=nil, multizonesubnetpolicy=nil, healthchecktype=nil, loadbalancerhealthcheckgraceperiod=nil, instanceallocationpolicy=nil, spotmixedallocationpolicy=nil, capacityrebalance=nil, instancenameindexsettings=nil)
|
822
832
|
@AutoScalingGroupName = autoscalinggroupname
|
823
833
|
@LaunchConfigurationId = launchconfigurationid
|
824
834
|
@MaxSize = maxsize
|
@@ -843,6 +853,7 @@ module TencentCloud
|
|
843
853
|
@InstanceAllocationPolicy = instanceallocationpolicy
|
844
854
|
@SpotMixedAllocationPolicy = spotmixedallocationpolicy
|
845
855
|
@CapacityRebalance = capacityrebalance
|
856
|
+
@InstanceNameIndexSettings = instancenameindexsettings
|
846
857
|
end
|
847
858
|
|
848
859
|
def deserialize(params)
|
@@ -890,6 +901,10 @@ module TencentCloud
|
|
890
901
|
@SpotMixedAllocationPolicy.deserialize(params['SpotMixedAllocationPolicy'])
|
891
902
|
end
|
892
903
|
@CapacityRebalance = params['CapacityRebalance']
|
904
|
+
unless params['InstanceNameIndexSettings'].nil?
|
905
|
+
@InstanceNameIndexSettings = InstanceNameIndexSettings.new
|
906
|
+
@InstanceNameIndexSettings.deserialize(params['InstanceNameIndexSettings'])
|
907
|
+
end
|
893
908
|
end
|
894
909
|
end
|
895
910
|
|
@@ -2617,8 +2632,8 @@ module TencentCloud
|
|
2617
2632
|
|
2618
2633
|
attr_accessor :SecurityService, :MonitorService, :AutomationService, :AutomationToolsService
|
2619
2634
|
extend Gem::Deprecate
|
2620
|
-
deprecate :AutomationService, :none, 2023,
|
2621
|
-
deprecate :AutomationService=, :none, 2023,
|
2635
|
+
deprecate :AutomationService, :none, 2023, 11
|
2636
|
+
deprecate :AutomationService=, :none, 2023, 11
|
2622
2637
|
|
2623
2638
|
def initialize(securityservice=nil, monitorservice=nil, automationservice=nil, automationtoolsservice=nil)
|
2624
2639
|
@SecurityService = securityservice
|
@@ -3026,6 +3041,28 @@ module TencentCloud
|
|
3026
3041
|
end
|
3027
3042
|
end
|
3028
3043
|
|
3044
|
+
# 实例名称序号相关设置。
|
3045
|
+
class InstanceNameIndexSettings < TencentCloud::Common::AbstractModel
|
3046
|
+
# @param Enabled: 是否开启实例创建序号,默认不开启。取值范围:<li>TRUE:表示开启实例创建序号<li>FALSE:表示不开启实例创建序号
|
3047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3048
|
+
# @type Enabled: Boolean
|
3049
|
+
# @param BeginIndex: 初始序号,取值范围为 [0, 99999999]。当序号递增后超出取值范围时,扩容活动会失败。<li>首次开启实例名称序号:默认值为 0。<li>非首次开启实例名称序号:若不指定该参数,沿用历史序号。下调初始序号可能会造成伸缩组内实例名称序号重复。
|
3050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3051
|
+
# @type BeginIndex: Integer
|
3052
|
+
|
3053
|
+
attr_accessor :Enabled, :BeginIndex
|
3054
|
+
|
3055
|
+
def initialize(enabled=nil, beginindex=nil)
|
3056
|
+
@Enabled = enabled
|
3057
|
+
@BeginIndex = beginindex
|
3058
|
+
end
|
3059
|
+
|
3060
|
+
def deserialize(params)
|
3061
|
+
@Enabled = params['Enabled']
|
3062
|
+
@BeginIndex = params['BeginIndex']
|
3063
|
+
end
|
3064
|
+
end
|
3065
|
+
|
3029
3066
|
# 云服务器实例名称(InstanceName)的相关设置
|
3030
3067
|
class InstanceNameSettings < TencentCloud::Common::AbstractModel
|
3031
3068
|
# @param InstanceName: 云服务器的实例名。字符长度为[2, 108]。
|
@@ -3631,10 +3668,12 @@ module TencentCloud
|
|
3631
3668
|
# <br><li> TRUE,开启该功能,当伸缩组内的竞价实例即将被竞价实例服务自动回收前,AS 主动发起竞价实例销毁流程,如果有配置过缩容 hook,则销毁前 hook 会生效。销毁流程启动后,AS 会异步开启一个扩容活动,用于补齐期望实例数。
|
3632
3669
|
# <br><li> FALSE,不开启该功能,则 AS 等待竞价实例被销毁后才会去扩容补齐伸缩组期望实例数。
|
3633
3670
|
# @type CapacityRebalance: Boolean
|
3671
|
+
# @param InstanceNameIndexSettings: 实例名称序号相关设置。开启后为伸缩组内自动创建的实例名称添加递增的数字序号。
|
3672
|
+
# @type InstanceNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.InstanceNameIndexSettings`
|
3634
3673
|
|
3635
|
-
attr_accessor :AutoScalingGroupId, :AutoScalingGroupName, :DefaultCooldown, :DesiredCapacity, :LaunchConfigurationId, :MaxSize, :MinSize, :ProjectId, :SubnetIds, :TerminationPolicies, :VpcId, :Zones, :RetryPolicy, :ZonesCheckPolicy, :ServiceSettings, :Ipv6AddressCount, :MultiZoneSubnetPolicy, :HealthCheckType, :LoadBalancerHealthCheckGracePeriod, :InstanceAllocationPolicy, :SpotMixedAllocationPolicy, :CapacityRebalance
|
3674
|
+
attr_accessor :AutoScalingGroupId, :AutoScalingGroupName, :DefaultCooldown, :DesiredCapacity, :LaunchConfigurationId, :MaxSize, :MinSize, :ProjectId, :SubnetIds, :TerminationPolicies, :VpcId, :Zones, :RetryPolicy, :ZonesCheckPolicy, :ServiceSettings, :Ipv6AddressCount, :MultiZoneSubnetPolicy, :HealthCheckType, :LoadBalancerHealthCheckGracePeriod, :InstanceAllocationPolicy, :SpotMixedAllocationPolicy, :CapacityRebalance, :InstanceNameIndexSettings
|
3636
3675
|
|
3637
|
-
def initialize(autoscalinggroupid=nil, autoscalinggroupname=nil, defaultcooldown=nil, desiredcapacity=nil, launchconfigurationid=nil, maxsize=nil, minsize=nil, projectid=nil, subnetids=nil, terminationpolicies=nil, vpcid=nil, zones=nil, retrypolicy=nil, zonescheckpolicy=nil, servicesettings=nil, ipv6addresscount=nil, multizonesubnetpolicy=nil, healthchecktype=nil, loadbalancerhealthcheckgraceperiod=nil, instanceallocationpolicy=nil, spotmixedallocationpolicy=nil, capacityrebalance=nil)
|
3676
|
+
def initialize(autoscalinggroupid=nil, autoscalinggroupname=nil, defaultcooldown=nil, desiredcapacity=nil, launchconfigurationid=nil, maxsize=nil, minsize=nil, projectid=nil, subnetids=nil, terminationpolicies=nil, vpcid=nil, zones=nil, retrypolicy=nil, zonescheckpolicy=nil, servicesettings=nil, ipv6addresscount=nil, multizonesubnetpolicy=nil, healthchecktype=nil, loadbalancerhealthcheckgraceperiod=nil, instanceallocationpolicy=nil, spotmixedallocationpolicy=nil, capacityrebalance=nil, instancenameindexsettings=nil)
|
3638
3677
|
@AutoScalingGroupId = autoscalinggroupid
|
3639
3678
|
@AutoScalingGroupName = autoscalinggroupname
|
3640
3679
|
@DefaultCooldown = defaultcooldown
|
@@ -3657,6 +3696,7 @@ module TencentCloud
|
|
3657
3696
|
@InstanceAllocationPolicy = instanceallocationpolicy
|
3658
3697
|
@SpotMixedAllocationPolicy = spotmixedallocationpolicy
|
3659
3698
|
@CapacityRebalance = capacityrebalance
|
3699
|
+
@InstanceNameIndexSettings = instancenameindexsettings
|
3660
3700
|
end
|
3661
3701
|
|
3662
3702
|
def deserialize(params)
|
@@ -3688,6 +3728,10 @@ module TencentCloud
|
|
3688
3728
|
@SpotMixedAllocationPolicy.deserialize(params['SpotMixedAllocationPolicy'])
|
3689
3729
|
end
|
3690
3730
|
@CapacityRebalance = params['CapacityRebalance']
|
3731
|
+
unless params['InstanceNameIndexSettings'].nil?
|
3732
|
+
@InstanceNameIndexSettings = InstanceNameIndexSettings.new
|
3733
|
+
@InstanceNameIndexSettings.deserialize(params['InstanceNameIndexSettings'])
|
3734
|
+
end
|
3691
3735
|
end
|
3692
3736
|
end
|
3693
3737
|
|
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.698
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|