tencentcloud-sdk-cvm 1.0.323 → 1.0.326
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/v20170312/models.rb +24 -6
- 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: c973667b0ae84076bb5e0b4be27a009ddc6d21e5
|
4
|
+
data.tar.gz: f52a481965ac9b9920459f6d1de1b4f4a617e1fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f8bf5fd2177de0ced75cc867e63f7ce15d560fbe0d6575c82530468ed1428cf9a70501f74611389f034a4a02dd8f2e6c6b3e8992b072c857a7a311bd726e2c3
|
7
|
+
data.tar.gz: 3f40b5d6c1a55dcc78ef115b6a432d1a46f0d2e178288d432a697cc2b454f8d848403e678b9128b889263c38376a80de4e9db89f20a4c115d7062d6a8c1f38e9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.326
|
data/lib/v20170312/models.rb
CHANGED
@@ -3100,10 +3100,12 @@ module TencentCloud
|
|
3100
3100
|
# @param Tags: 镜像关联的标签列表。
|
3101
3101
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3102
3102
|
# @type Tags: Array
|
3103
|
+
# @param LicenseType: 镜像许可类型
|
3104
|
+
# @type LicenseType: String
|
3103
3105
|
|
3104
|
-
attr_accessor :ImageId, :OsName, :ImageType, :CreatedTime, :ImageName, :ImageDescription, :ImageSize, :Architecture, :ImageState, :Platform, :ImageCreator, :ImageSource, :SyncPercent, :IsSupportCloudinit, :SnapshotSet, :Tags
|
3106
|
+
attr_accessor :ImageId, :OsName, :ImageType, :CreatedTime, :ImageName, :ImageDescription, :ImageSize, :Architecture, :ImageState, :Platform, :ImageCreator, :ImageSource, :SyncPercent, :IsSupportCloudinit, :SnapshotSet, :Tags, :LicenseType
|
3105
3107
|
|
3106
|
-
def initialize(imageid=nil, osname=nil, imagetype=nil, createdtime=nil, imagename=nil, imagedescription=nil, imagesize=nil, architecture=nil, imagestate=nil, platform=nil, imagecreator=nil, imagesource=nil, syncpercent=nil, issupportcloudinit=nil, snapshotset=nil, tags=nil)
|
3108
|
+
def initialize(imageid=nil, osname=nil, imagetype=nil, createdtime=nil, imagename=nil, imagedescription=nil, imagesize=nil, architecture=nil, imagestate=nil, platform=nil, imagecreator=nil, imagesource=nil, syncpercent=nil, issupportcloudinit=nil, snapshotset=nil, tags=nil, licensetype=nil)
|
3107
3109
|
@ImageId = imageid
|
3108
3110
|
@OsName = osname
|
3109
3111
|
@ImageType = imagetype
|
@@ -3120,6 +3122,7 @@ module TencentCloud
|
|
3120
3122
|
@IsSupportCloudinit = issupportcloudinit
|
3121
3123
|
@SnapshotSet = snapshotset
|
3122
3124
|
@Tags = tags
|
3125
|
+
@LicenseType = licensetype
|
3123
3126
|
end
|
3124
3127
|
|
3125
3128
|
def deserialize(params)
|
@@ -3153,6 +3156,7 @@ module TencentCloud
|
|
3153
3156
|
@Tags << tag_tmp
|
3154
3157
|
end
|
3155
3158
|
end
|
3159
|
+
@LicenseType = params['LicenseType']
|
3156
3160
|
end
|
3157
3161
|
end
|
3158
3162
|
|
@@ -3972,10 +3976,12 @@ module TencentCloud
|
|
3972
3976
|
# @param GPUInfo: GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。
|
3973
3977
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3974
3978
|
# @type GPUInfo: :class:`Tencentcloud::Cvm.v20170312.models.GPUInfo`
|
3979
|
+
# @param LicenseType: 实例的操作系统许可类型,默认为TencentCloud
|
3980
|
+
# @type LicenseType: String
|
3975
3981
|
|
3976
|
-
attr_accessor :Placement, :InstanceId, :InstanceType, :CPU, :Memory, :RestrictState, :InstanceName, :InstanceChargeType, :SystemDisk, :DataDisks, :PrivateIpAddresses, :PublicIpAddresses, :InternetAccessible, :VirtualPrivateCloud, :ImageId, :RenewFlag, :CreatedTime, :ExpiredTime, :OsName, :SecurityGroupIds, :LoginSettings, :InstanceState, :Tags, :StopChargingMode, :Uuid, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :DisasterRecoverGroupId, :IPv6Addresses, :CamRoleName, :HpcClusterId, :RdmaIpAddresses, :IsolatedSource, :GPUInfo
|
3982
|
+
attr_accessor :Placement, :InstanceId, :InstanceType, :CPU, :Memory, :RestrictState, :InstanceName, :InstanceChargeType, :SystemDisk, :DataDisks, :PrivateIpAddresses, :PublicIpAddresses, :InternetAccessible, :VirtualPrivateCloud, :ImageId, :RenewFlag, :CreatedTime, :ExpiredTime, :OsName, :SecurityGroupIds, :LoginSettings, :InstanceState, :Tags, :StopChargingMode, :Uuid, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :DisasterRecoverGroupId, :IPv6Addresses, :CamRoleName, :HpcClusterId, :RdmaIpAddresses, :IsolatedSource, :GPUInfo, :LicenseType
|
3977
3983
|
|
3978
|
-
def initialize(placement=nil, instanceid=nil, instancetype=nil, cpu=nil, memory=nil, restrictstate=nil, instancename=nil, instancechargetype=nil, systemdisk=nil, datadisks=nil, privateipaddresses=nil, publicipaddresses=nil, internetaccessible=nil, virtualprivatecloud=nil, imageid=nil, renewflag=nil, createdtime=nil, expiredtime=nil, osname=nil, securitygroupids=nil, loginsettings=nil, instancestate=nil, tags=nil, stopchargingmode=nil, uuid=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, disasterrecovergroupid=nil, ipv6addresses=nil, camrolename=nil, hpcclusterid=nil, rdmaipaddresses=nil, isolatedsource=nil, gpuinfo=nil)
|
3984
|
+
def initialize(placement=nil, instanceid=nil, instancetype=nil, cpu=nil, memory=nil, restrictstate=nil, instancename=nil, instancechargetype=nil, systemdisk=nil, datadisks=nil, privateipaddresses=nil, publicipaddresses=nil, internetaccessible=nil, virtualprivatecloud=nil, imageid=nil, renewflag=nil, createdtime=nil, expiredtime=nil, osname=nil, securitygroupids=nil, loginsettings=nil, instancestate=nil, tags=nil, stopchargingmode=nil, uuid=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, disasterrecovergroupid=nil, ipv6addresses=nil, camrolename=nil, hpcclusterid=nil, rdmaipaddresses=nil, isolatedsource=nil, gpuinfo=nil, licensetype=nil)
|
3979
3985
|
@Placement = placement
|
3980
3986
|
@InstanceId = instanceid
|
3981
3987
|
@InstanceType = instancetype
|
@@ -4011,6 +4017,7 @@ module TencentCloud
|
|
4011
4017
|
@RdmaIpAddresses = rdmaipaddresses
|
4012
4018
|
@IsolatedSource = isolatedsource
|
4013
4019
|
@GPUInfo = gpuinfo
|
4020
|
+
@LicenseType = licensetype
|
4014
4021
|
end
|
4015
4022
|
|
4016
4023
|
def deserialize(params)
|
@@ -4081,6 +4088,7 @@ module TencentCloud
|
|
4081
4088
|
@GPUInfo = GPUInfo.new
|
4082
4089
|
@GPUInfo.deserialize(params['GPUInfo'])
|
4083
4090
|
end
|
4091
|
+
@LicenseType = params['LicenseType']
|
4084
4092
|
end
|
4085
4093
|
end
|
4086
4094
|
|
@@ -5163,23 +5171,33 @@ module TencentCloud
|
|
5163
5171
|
# @type InstanceName: String
|
5164
5172
|
# @param SecurityGroups: 指定实例的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。<dx-alert infotype="explain" title="">必须指定SecurityGroups与InstanceName的其中一个,但不能同时设置</dx-alert>
|
5165
5173
|
# @type SecurityGroups: Array
|
5174
|
+
# @param CamRoleName: 给实例绑定用户角色,传空值为解绑操作
|
5175
|
+
# @type CamRoleName: String
|
5166
5176
|
# @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
5167
5177
|
# @type DisableApiTermination: Boolean
|
5178
|
+
# @param CamRoleType: 角色类别,与CamRoleName搭配使用,该值可从CAM DescribeRoleList, GetRole接口返回RoleType字段获取,当前只接受user、system和service_linked三种类别。
|
5179
|
+
# 举例:一般CamRoleName中包含“LinkedRoleIn”(如TKE_QCSLinkedRoleInPrometheusService)时,DescribeRoleList和GetRole返回的RoleType为service_linked,则本参数也需要传递service_linked。
|
5180
|
+
# 该参数默认值为user,若CameRoleName为非service_linked类型,本参数可不传递。
|
5181
|
+
# @type CamRoleType: String
|
5168
5182
|
|
5169
|
-
attr_accessor :InstanceIds, :InstanceName, :SecurityGroups, :DisableApiTermination
|
5183
|
+
attr_accessor :InstanceIds, :InstanceName, :SecurityGroups, :CamRoleName, :DisableApiTermination, :CamRoleType
|
5170
5184
|
|
5171
|
-
def initialize(instanceids=nil, instancename=nil, securitygroups=nil, disableapitermination=nil)
|
5185
|
+
def initialize(instanceids=nil, instancename=nil, securitygroups=nil, camrolename=nil, disableapitermination=nil, camroletype=nil)
|
5172
5186
|
@InstanceIds = instanceids
|
5173
5187
|
@InstanceName = instancename
|
5174
5188
|
@SecurityGroups = securitygroups
|
5189
|
+
@CamRoleName = camrolename
|
5175
5190
|
@DisableApiTermination = disableapitermination
|
5191
|
+
@CamRoleType = camroletype
|
5176
5192
|
end
|
5177
5193
|
|
5178
5194
|
def deserialize(params)
|
5179
5195
|
@InstanceIds = params['InstanceIds']
|
5180
5196
|
@InstanceName = params['InstanceName']
|
5181
5197
|
@SecurityGroups = params['SecurityGroups']
|
5198
|
+
@CamRoleName = params['CamRoleName']
|
5182
5199
|
@DisableApiTermination = params['DisableApiTermination']
|
5200
|
+
@CamRoleType = params['CamRoleType']
|
5183
5201
|
end
|
5184
5202
|
end
|
5185
5203
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.326
|
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-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|