tencentcloud-sdk-as 3.0.1174 → 3.0.1185

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/v20180419/models.rb +82 -10
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bda553b146a9b2ac2b300d75a37c0f573f1072c3
4
- data.tar.gz: 22989e61251d3ecca66fff53bd2ed71de57cb686
3
+ metadata.gz: a83f6bf02f91c6db01f6ba28e687ea2dceb9e9ff
4
+ data.tar.gz: 1005131bbdf7c68795b6fd2eb411ec309f980316
5
5
  SHA512:
6
- metadata.gz: 508fc1a59dd305f196cc1672ef72644935d8f8661263a4b5aaaaeab626f30c617f6a185bb85b777898850870d6b4f46ef08b7d3bbe1e73a2fafa1bf8b28a51db
7
- data.tar.gz: cd20b5db4783b7f522d36099e48955673258450861d703185c3ea557d064a2dfa0d67256ce79035df0459949e8794f2e24ce5832c1865057cc21f1fc43b5e320
6
+ metadata.gz: f10e1a071a796a9b1219b070ee4e626227abb6a509c8a0733f90a174123706e63ca3a46c2627af99557427063e4362bb3b95969c0ae531939daf57cdf45f83d3
7
+ data.tar.gz: 1584b604585e0312779d8b733205feedef6e2bce0611fd442fbf392944c4f8d949e2700e7e948937aee7f8290dbe10bb3ae1877be4af6bcbc9fa0b57190a9845
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1174
1
+ 3.0.1185
@@ -70,8 +70,8 @@ module TencentCloud
70
70
 
71
71
  attr_accessor :AutoScalingGroupId, :ActivityId, :ActivityType, :StatusCode, :StatusMessage, :Cause, :Description, :StartTime, :EndTime, :CreatedTime, :ActivityRelatedInstanceSet, :StatusMessageSimplified, :LifecycleActionResultSet, :DetailedStatusMessageSet, :InvocationResultSet, :RelatedInstanceSet
72
72
  extend Gem::Deprecate
73
- deprecate :ActivityRelatedInstanceSet, :none, 2025, 11
74
- deprecate :ActivityRelatedInstanceSet=, :none, 2025, 11
73
+ deprecate :ActivityRelatedInstanceSet, :none, 2025, 12
74
+ deprecate :ActivityRelatedInstanceSet=, :none, 2025, 12
75
75
 
76
76
  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)
77
77
  @AutoScalingGroupId = autoscalinggroupid
@@ -417,10 +417,14 @@ module TencentCloud
417
417
  # @type CapacityRebalance: Boolean
418
418
  # @param InstanceNameIndexSettings: 实例名称序号相关设置。
419
419
  # @type InstanceNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.InstanceNameIndexSettings`
420
+ # @param HostNameIndexSettings: 实例主机名序号相关设置。
421
+ # @type HostNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.HostNameIndexSettings`
422
+ # @param ConcurrentScaleOutForDesiredCapacity: 匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。默认值为FALSE,表示不开启。
423
+ # @type ConcurrentScaleOutForDesiredCapacity: Boolean
420
424
 
421
- 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
425
+ 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, :HostNameIndexSettings, :ConcurrentScaleOutForDesiredCapacity
422
426
 
423
- 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)
427
+ 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, hostnameindexsettings=nil, concurrentscaleoutfordesiredcapacity=nil)
424
428
  @AutoScalingGroupId = autoscalinggroupid
425
429
  @AutoScalingGroupName = autoscalinggroupname
426
430
  @AutoScalingGroupStatus = autoscalinggroupstatus
@@ -453,6 +457,8 @@ module TencentCloud
453
457
  @SpotMixedAllocationPolicy = spotmixedallocationpolicy
454
458
  @CapacityRebalance = capacityrebalance
455
459
  @InstanceNameIndexSettings = instancenameindexsettings
460
+ @HostNameIndexSettings = hostnameindexsettings
461
+ @ConcurrentScaleOutForDesiredCapacity = concurrentscaleoutfordesiredcapacity
456
462
  end
457
463
 
458
464
  def deserialize(params)
@@ -511,6 +517,11 @@ module TencentCloud
511
517
  @InstanceNameIndexSettings = InstanceNameIndexSettings.new
512
518
  @InstanceNameIndexSettings.deserialize(params['InstanceNameIndexSettings'])
513
519
  end
520
+ unless params['HostNameIndexSettings'].nil?
521
+ @HostNameIndexSettings = HostNameIndexSettings.new
522
+ @HostNameIndexSettings.deserialize(params['HostNameIndexSettings'])
523
+ end
524
+ @ConcurrentScaleOutForDesiredCapacity = params['ConcurrentScaleOutForDesiredCapacity']
514
525
  end
515
526
  end
516
527
 
@@ -867,10 +878,14 @@ module TencentCloud
867
878
  # @type CapacityRebalance: Boolean
868
879
  # @param InstanceNameIndexSettings: 实例名称序号相关设置。若不指定该参数,则默认不开启。开启后为伸缩组内自动创建的实例名称添加递增的数字序号。
869
880
  # @type InstanceNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.InstanceNameIndexSettings`
881
+ # @param HostNameIndexSettings: 实例主机名序号相关设置。若不指定该参数,则默认不开启。开启后为伸缩组内自动创建的实例主机名添加递增的数字序号。
882
+ # @type HostNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.HostNameIndexSettings`
883
+ # @param ConcurrentScaleOutForDesiredCapacity: 匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。默认值为FALSE,表示不开启。
884
+ # @type ConcurrentScaleOutForDesiredCapacity: Boolean
870
885
 
871
- 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
886
+ 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, :HostNameIndexSettings, :ConcurrentScaleOutForDesiredCapacity
872
887
 
873
- 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)
888
+ 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, hostnameindexsettings=nil, concurrentscaleoutfordesiredcapacity=nil)
874
889
  @AutoScalingGroupName = autoscalinggroupname
875
890
  @LaunchConfigurationId = launchconfigurationid
876
891
  @MaxSize = maxsize
@@ -896,6 +911,8 @@ module TencentCloud
896
911
  @SpotMixedAllocationPolicy = spotmixedallocationpolicy
897
912
  @CapacityRebalance = capacityrebalance
898
913
  @InstanceNameIndexSettings = instancenameindexsettings
914
+ @HostNameIndexSettings = hostnameindexsettings
915
+ @ConcurrentScaleOutForDesiredCapacity = concurrentscaleoutfordesiredcapacity
899
916
  end
900
917
 
901
918
  def deserialize(params)
@@ -947,6 +964,11 @@ module TencentCloud
947
964
  @InstanceNameIndexSettings = InstanceNameIndexSettings.new
948
965
  @InstanceNameIndexSettings.deserialize(params['InstanceNameIndexSettings'])
949
966
  end
967
+ unless params['HostNameIndexSettings'].nil?
968
+ @HostNameIndexSettings = HostNameIndexSettings.new
969
+ @HostNameIndexSettings.deserialize(params['HostNameIndexSettings'])
970
+ end
971
+ @ConcurrentScaleOutForDesiredCapacity = params['ConcurrentScaleOutForDesiredCapacity']
950
972
  end
951
973
  end
952
974
 
@@ -2751,8 +2773,8 @@ module TencentCloud
2751
2773
 
2752
2774
  attr_accessor :SecurityService, :MonitorService, :AutomationService, :AutomationToolsService
2753
2775
  extend Gem::Deprecate
2754
- deprecate :AutomationService, :none, 2025, 11
2755
- deprecate :AutomationService=, :none, 2025, 11
2776
+ deprecate :AutomationService, :none, 2025, 12
2777
+ deprecate :AutomationService=, :none, 2025, 12
2756
2778
 
2757
2779
  def initialize(securityservice=nil, monitorservice=nil, automationservice=nil, automationtoolsservice=nil)
2758
2780
  @SecurityService = securityservice
@@ -3011,6 +3033,45 @@ module TencentCloud
3011
3033
  end
3012
3034
  end
3013
3035
 
3036
+ # 实例主机名称序号相关设置。
3037
+ class HostNameIndexSettings < TencentCloud::Common::AbstractModel
3038
+ # @param Enabled: 是否开启实例主机名创建序号,默认不开启。取值范围:
3039
+
3040
+ # TRUE:表示开启实例主机名创建序号
3041
+ # FALSE:表示不开启实例主机名创建序号
3042
+ # @type Enabled: Boolean
3043
+ # @param BeginIndex: 初始序号。
3044
+ # 序号固定位数 IndexLength 为默认值0时,取值范围为 [0, 99999999]。
3045
+ # 序号固定位数 IndexLength 为 [1, 8] 时,取值范围为为 [0, 10^IndexLength-1],最大值即为固定位数的最大数字。
3046
+ # 当序号递增后超出取值范围时,扩容活动会失败。
3047
+
3048
+ # 首次开启实例主机名称序号:默认值为 0。
3049
+ # 非首次开启实例主机名称序号:若不指定该参数,沿用历史序号。
3050
+ # 下调初始序号可能会造成伸缩组内实例主机名称序号重复。
3051
+ # @type BeginIndex: Integer
3052
+ # @param IndexLength: 实例主机名递增序号位数,默认为0,表示不指定序号位数。不指定序号时,采用默认值0。
3053
+ # 取值范围:0-8,最大为整数8。
3054
+ # 采用取值1-8时,会检查序号是否超过此序号位数的最大数字。
3055
+
3056
+ # 假设设置为3,那么序号形如:001、002 ... 010、011 ... 100 ... 999,序号上限为999;
3057
+ # 假设设置为0,对应的序号为1、2 ... 10、11 ... 100 ... 1000 ...10000 ... 99999999,序号上限为99999999。
3058
+ # @type IndexLength: Integer
3059
+
3060
+ attr_accessor :Enabled, :BeginIndex, :IndexLength
3061
+
3062
+ def initialize(enabled=nil, beginindex=nil, indexlength=nil)
3063
+ @Enabled = enabled
3064
+ @BeginIndex = beginindex
3065
+ @IndexLength = indexlength
3066
+ end
3067
+
3068
+ def deserialize(params)
3069
+ @Enabled = params['Enabled']
3070
+ @BeginIndex = params['BeginIndex']
3071
+ @IndexLength = params['IndexLength']
3072
+ end
3073
+ end
3074
+
3014
3075
  # 云服务器主机名(HostName)的相关设置
3015
3076
  class HostNameSettings < TencentCloud::Common::AbstractModel
3016
3077
  # @param HostName: 云服务器的主机名。
@@ -3980,10 +4041,14 @@ module TencentCloud
3980
4041
  # @type CapacityRebalance: Boolean
3981
4042
  # @param InstanceNameIndexSettings: 实例名称序号相关设置。开启后为伸缩组内自动创建的实例名称添加递增的数字序号。
3982
4043
  # @type InstanceNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.InstanceNameIndexSettings`
4044
+ # @param HostNameIndexSettings: 实例主机名序号相关设置。开启后为伸缩组内自动创建的实例主机名添加递增的数字序号。
4045
+ # @type HostNameIndexSettings: :class:`Tencentcloud::As.v20180419.models.HostNameIndexSettings`
4046
+ # @param ConcurrentScaleOutForDesiredCapacity: 匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。设置为FALSE表示不开启。
4047
+ # @type ConcurrentScaleOutForDesiredCapacity: Boolean
3983
4048
 
3984
- 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
4049
+ 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, :HostNameIndexSettings, :ConcurrentScaleOutForDesiredCapacity
3985
4050
 
3986
- 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)
4051
+ 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, hostnameindexsettings=nil, concurrentscaleoutfordesiredcapacity=nil)
3987
4052
  @AutoScalingGroupId = autoscalinggroupid
3988
4053
  @AutoScalingGroupName = autoscalinggroupname
3989
4054
  @DefaultCooldown = defaultcooldown
@@ -4007,6 +4072,8 @@ module TencentCloud
4007
4072
  @SpotMixedAllocationPolicy = spotmixedallocationpolicy
4008
4073
  @CapacityRebalance = capacityrebalance
4009
4074
  @InstanceNameIndexSettings = instancenameindexsettings
4075
+ @HostNameIndexSettings = hostnameindexsettings
4076
+ @ConcurrentScaleOutForDesiredCapacity = concurrentscaleoutfordesiredcapacity
4010
4077
  end
4011
4078
 
4012
4079
  def deserialize(params)
@@ -4042,6 +4109,11 @@ module TencentCloud
4042
4109
  @InstanceNameIndexSettings = InstanceNameIndexSettings.new
4043
4110
  @InstanceNameIndexSettings.deserialize(params['InstanceNameIndexSettings'])
4044
4111
  end
4112
+ unless params['HostNameIndexSettings'].nil?
4113
+ @HostNameIndexSettings = HostNameIndexSettings.new
4114
+ @HostNameIndexSettings.deserialize(params['HostNameIndexSettings'])
4115
+ end
4116
+ @ConcurrentScaleOutForDesiredCapacity = params['ConcurrentScaleOutForDesiredCapacity']
4045
4117
  end
4046
4118
  end
4047
4119
 
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.1174
4
+ version: 3.0.1185
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-28 00:00:00.000000000 Z
11
+ date: 2025-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-as.rb
37
- - lib/v20180419/models.rb
38
36
  - lib/v20180419/client.rb
37
+ - lib/v20180419/models.rb
38
+ - lib/tencentcloud-sdk-as.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: