tencentcloud-sdk-as 3.0.983 → 3.0.984

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180419/models.rb +67 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12616d9aa45462592d96118aabd04ec3b1161e3a
4
- data.tar.gz: 6ed8d6956c777504b42925ac5bb3616aa45e0dd3
3
+ metadata.gz: eeb5cecce2580567d6ef291aa309631a8fb98a32
4
+ data.tar.gz: 0ab7171e4196a6bd5b44a0186e5e4fffd075846b
5
5
  SHA512:
6
- metadata.gz: f50241bf52b5fb1b9418fb983893a7be8b5ef416f4309bab585bd7cb82667c8448c76074b01607fddbbe797f3d425dbff57ca4f9a08f762d3cf8f3dacbe3e2e9
7
- data.tar.gz: 46874e2c90ffca403974303214815c7df92a0cd7c8a4f96f2d864aa23979124af9ada659e79368b2bb38b6cb97741b3a3b1d931ad74f802ab4a95a36a19b40a9
6
+ metadata.gz: ee2446a317c4603934c8b76ea9e8dd759c7eea82eaa8a826cb905cf8f7c95accc629a2acfe5c2ff1304e999c26b1de0b4e2544e65489608cc8e8da7fa3ae9166
7
+ data.tar.gz: 6828522b2d4efd25b3a0e3668697459fd9e6402a075b03a5e2fec7fc48a1d0778bf0d67df968a6782a22aee6dd2a41e41cb707109f4d72a060af1e5fe23c5661
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.983
1
+ 3.0.984
@@ -620,16 +620,19 @@ module TencentCloud
620
620
  # @param ClearInstanceTags: 是否清空实例标签列表,非必填,默认为 false。
621
621
  # 填 true 代表清空实例标签列表,清空后基于此新创建的云主机将不会绑定列表中的标签。
622
622
  # @type ClearInstanceTags: Boolean
623
+ # @param ClearMetadata: 是否清空 MetaData,非必填,默认为 false。填 true 代表清空 MetaData,清空后基于此新创建的云主机将不会关联自定义的 Metadata。
624
+ # @type ClearMetadata: Boolean
623
625
 
624
- attr_accessor :LaunchConfigurationId, :ClearDataDisks, :ClearHostNameSettings, :ClearInstanceNameSettings, :ClearDisasterRecoverGroupIds, :ClearInstanceTags
626
+ attr_accessor :LaunchConfigurationId, :ClearDataDisks, :ClearHostNameSettings, :ClearInstanceNameSettings, :ClearDisasterRecoverGroupIds, :ClearInstanceTags, :ClearMetadata
625
627
 
626
- def initialize(launchconfigurationid=nil, cleardatadisks=nil, clearhostnamesettings=nil, clearinstancenamesettings=nil, cleardisasterrecovergroupids=nil, clearinstancetags=nil)
628
+ def initialize(launchconfigurationid=nil, cleardatadisks=nil, clearhostnamesettings=nil, clearinstancenamesettings=nil, cleardisasterrecovergroupids=nil, clearinstancetags=nil, clearmetadata=nil)
627
629
  @LaunchConfigurationId = launchconfigurationid
628
630
  @ClearDataDisks = cleardatadisks
629
631
  @ClearHostNameSettings = clearhostnamesettings
630
632
  @ClearInstanceNameSettings = clearinstancenamesettings
631
633
  @ClearDisasterRecoverGroupIds = cleardisasterrecovergroupids
632
634
  @ClearInstanceTags = clearinstancetags
635
+ @ClearMetadata = clearmetadata
633
636
  end
634
637
 
635
638
  def deserialize(params)
@@ -639,6 +642,7 @@ module TencentCloud
639
642
  @ClearInstanceNameSettings = params['ClearInstanceNameSettings']
640
643
  @ClearDisasterRecoverGroupIds = params['ClearDisasterRecoverGroupIds']
641
644
  @ClearInstanceTags = params['ClearInstanceTags']
645
+ @ClearMetadata = params['ClearMetadata']
642
646
  end
643
647
  end
644
648
 
@@ -1011,10 +1015,12 @@ module TencentCloud
1011
1015
  # @type ImageFamily: String
1012
1016
  # @param DedicatedClusterId: 本地专用集群ID。
1013
1017
  # @type DedicatedClusterId: String
1018
+ # @param Metadata: 自定义metadata。
1019
+ # @type Metadata: :class:`Tencentcloud::As.v20180419.models.Metadata`
1014
1020
 
1015
- attr_accessor :LaunchConfigurationName, :ImageId, :ProjectId, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :LoginSettings, :SecurityGroupIds, :EnhancedService, :UserData, :InstanceChargeType, :InstanceMarketOptions, :InstanceTypes, :CamRoleName, :InstanceTypesCheckPolicy, :InstanceTags, :Tags, :HostNameSettings, :InstanceNameSettings, :InstanceChargePrepaid, :DiskTypePolicy, :HpcClusterId, :IPv6InternetAccessible, :DisasterRecoverGroupIds, :ImageFamily, :DedicatedClusterId
1021
+ attr_accessor :LaunchConfigurationName, :ImageId, :ProjectId, :InstanceType, :SystemDisk, :DataDisks, :InternetAccessible, :LoginSettings, :SecurityGroupIds, :EnhancedService, :UserData, :InstanceChargeType, :InstanceMarketOptions, :InstanceTypes, :CamRoleName, :InstanceTypesCheckPolicy, :InstanceTags, :Tags, :HostNameSettings, :InstanceNameSettings, :InstanceChargePrepaid, :DiskTypePolicy, :HpcClusterId, :IPv6InternetAccessible, :DisasterRecoverGroupIds, :ImageFamily, :DedicatedClusterId, :Metadata
1016
1022
 
1017
- def initialize(launchconfigurationname=nil, imageid=nil, projectid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, loginsettings=nil, securitygroupids=nil, enhancedservice=nil, userdata=nil, instancechargetype=nil, instancemarketoptions=nil, instancetypes=nil, camrolename=nil, instancetypescheckpolicy=nil, instancetags=nil, tags=nil, hostnamesettings=nil, instancenamesettings=nil, instancechargeprepaid=nil, disktypepolicy=nil, hpcclusterid=nil, ipv6internetaccessible=nil, disasterrecovergroupids=nil, imagefamily=nil, dedicatedclusterid=nil)
1023
+ def initialize(launchconfigurationname=nil, imageid=nil, projectid=nil, instancetype=nil, systemdisk=nil, datadisks=nil, internetaccessible=nil, loginsettings=nil, securitygroupids=nil, enhancedservice=nil, userdata=nil, instancechargetype=nil, instancemarketoptions=nil, instancetypes=nil, camrolename=nil, instancetypescheckpolicy=nil, instancetags=nil, tags=nil, hostnamesettings=nil, instancenamesettings=nil, instancechargeprepaid=nil, disktypepolicy=nil, hpcclusterid=nil, ipv6internetaccessible=nil, disasterrecovergroupids=nil, imagefamily=nil, dedicatedclusterid=nil, metadata=nil)
1018
1024
  @LaunchConfigurationName = launchconfigurationname
1019
1025
  @ImageId = imageid
1020
1026
  @ProjectId = projectid
@@ -1042,6 +1048,7 @@ module TencentCloud
1042
1048
  @DisasterRecoverGroupIds = disasterrecovergroupids
1043
1049
  @ImageFamily = imagefamily
1044
1050
  @DedicatedClusterId = dedicatedclusterid
1051
+ @Metadata = metadata
1045
1052
  end
1046
1053
 
1047
1054
  def deserialize(params)
@@ -1120,6 +1127,10 @@ module TencentCloud
1120
1127
  @DisasterRecoverGroupIds = params['DisasterRecoverGroupIds']
1121
1128
  @ImageFamily = params['ImageFamily']
1122
1129
  @DedicatedClusterId = params['DedicatedClusterId']
1130
+ unless params['Metadata'].nil?
1131
+ @Metadata = Metadata.new
1132
+ @Metadata.deserialize(params['Metadata'])
1133
+ end
1123
1134
  end
1124
1135
  end
1125
1136
 
@@ -3642,6 +3653,49 @@ module TencentCloud
3642
3653
  end
3643
3654
  end
3644
3655
 
3656
+ # 自定义 Metadata
3657
+ class Metadata < TencentCloud::Common::AbstractModel
3658
+ # @param Items: 自定义 Metadata 键值对列表
3659
+ # @type Items: Array
3660
+
3661
+ attr_accessor :Items
3662
+
3663
+ def initialize(items=nil)
3664
+ @Items = items
3665
+ end
3666
+
3667
+ def deserialize(params)
3668
+ unless params['Items'].nil?
3669
+ @Items = []
3670
+ params['Items'].each do |i|
3671
+ metadataitem_tmp = MetadataItem.new
3672
+ metadataitem_tmp.deserialize(i)
3673
+ @Items << metadataitem_tmp
3674
+ end
3675
+ end
3676
+ end
3677
+ end
3678
+
3679
+ # 自定义 Metadata 的一组键值对信息
3680
+ class MetadataItem < TencentCloud::Common::AbstractModel
3681
+ # @param Key: 自定义 MetaData 键
3682
+ # @type Key: String
3683
+ # @param Value: 自定义 MetaData 值
3684
+ # @type Value: String
3685
+
3686
+ attr_accessor :Key, :Value
3687
+
3688
+ def initialize(key=nil, value=nil)
3689
+ @Key = key
3690
+ @Value = value
3691
+ end
3692
+
3693
+ def deserialize(params)
3694
+ @Key = params['Key']
3695
+ @Value = params['Value']
3696
+ end
3697
+ end
3698
+
3645
3699
  # 弹性伸缩告警指标
3646
3700
  class MetricAlarm < TencentCloud::Common::AbstractModel
3647
3701
  # @param ComparisonOperator: 比较运算符,可选值:<br><li>GREATER_THAN:大于</li><li>GREATER_THAN_OR_EQUAL_TO:大于或等于</li><li>LESS_THAN:小于</li><li> LESS_THAN_OR_EQUAL_TO:小于或等于</li><li> EQUAL_TO:等于</li> <li>NOT_EQUAL_TO:不等于</li>
@@ -3958,10 +4012,12 @@ module TencentCloud
3958
4012
  # @type ImageFamily: String
3959
4013
  # @param DedicatedClusterId: 本地专用集群ID。
3960
4014
  # @type DedicatedClusterId: String
4015
+ # @param Metadata: 自定义metadata。
4016
+ # @type Metadata: :class:`Tencentcloud::As.v20180419.models.Metadata`
3961
4017
 
3962
- attr_accessor :LaunchConfigurationId, :ImageId, :InstanceTypes, :InstanceTypesCheckPolicy, :LaunchConfigurationName, :UserData, :SecurityGroupIds, :InternetAccessible, :InstanceChargeType, :InstanceChargePrepaid, :InstanceMarketOptions, :DiskTypePolicy, :SystemDisk, :DataDisks, :HostNameSettings, :InstanceNameSettings, :EnhancedService, :CamRoleName, :HpcClusterId, :IPv6InternetAccessible, :DisasterRecoverGroupIds, :LoginSettings, :InstanceTags, :ImageFamily, :DedicatedClusterId
4018
+ attr_accessor :LaunchConfigurationId, :ImageId, :InstanceTypes, :InstanceTypesCheckPolicy, :LaunchConfigurationName, :UserData, :SecurityGroupIds, :InternetAccessible, :InstanceChargeType, :InstanceChargePrepaid, :InstanceMarketOptions, :DiskTypePolicy, :SystemDisk, :DataDisks, :HostNameSettings, :InstanceNameSettings, :EnhancedService, :CamRoleName, :HpcClusterId, :IPv6InternetAccessible, :DisasterRecoverGroupIds, :LoginSettings, :InstanceTags, :ImageFamily, :DedicatedClusterId, :Metadata
3963
4019
 
3964
- def initialize(launchconfigurationid=nil, imageid=nil, instancetypes=nil, instancetypescheckpolicy=nil, launchconfigurationname=nil, userdata=nil, securitygroupids=nil, internetaccessible=nil, instancechargetype=nil, instancechargeprepaid=nil, instancemarketoptions=nil, disktypepolicy=nil, systemdisk=nil, datadisks=nil, hostnamesettings=nil, instancenamesettings=nil, enhancedservice=nil, camrolename=nil, hpcclusterid=nil, ipv6internetaccessible=nil, disasterrecovergroupids=nil, loginsettings=nil, instancetags=nil, imagefamily=nil, dedicatedclusterid=nil)
4020
+ def initialize(launchconfigurationid=nil, imageid=nil, instancetypes=nil, instancetypescheckpolicy=nil, launchconfigurationname=nil, userdata=nil, securitygroupids=nil, internetaccessible=nil, instancechargetype=nil, instancechargeprepaid=nil, instancemarketoptions=nil, disktypepolicy=nil, systemdisk=nil, datadisks=nil, hostnamesettings=nil, instancenamesettings=nil, enhancedservice=nil, camrolename=nil, hpcclusterid=nil, ipv6internetaccessible=nil, disasterrecovergroupids=nil, loginsettings=nil, instancetags=nil, imagefamily=nil, dedicatedclusterid=nil, metadata=nil)
3965
4021
  @LaunchConfigurationId = launchconfigurationid
3966
4022
  @ImageId = imageid
3967
4023
  @InstanceTypes = instancetypes
@@ -3987,6 +4043,7 @@ module TencentCloud
3987
4043
  @InstanceTags = instancetags
3988
4044
  @ImageFamily = imagefamily
3989
4045
  @DedicatedClusterId = dedicatedclusterid
4046
+ @Metadata = metadata
3990
4047
  end
3991
4048
 
3992
4049
  def deserialize(params)
@@ -4056,6 +4113,10 @@ module TencentCloud
4056
4113
  end
4057
4114
  @ImageFamily = params['ImageFamily']
4058
4115
  @DedicatedClusterId = params['DedicatedClusterId']
4116
+ unless params['Metadata'].nil?
4117
+ @Metadata = Metadata.new
4118
+ @Metadata.deserialize(params['Metadata'])
4119
+ end
4059
4120
  end
4060
4121
  end
4061
4122
 
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.983
4
+ version: 3.0.984
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-01-15 00:00:00.000000000 Z
11
+ date: 2025-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common