tencentcloud-sdk-cvm 1.0.244 → 1.0.248

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/v20170312/models.rb +76 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12e8721634eccfed5bc6951e79625d129d64dd18
4
- data.tar.gz: 80e0d352e968e8be31dfa78bffb78c5d76e9ebde
3
+ metadata.gz: 5f1bc388feede08b34d203d98b4117cecde3b6b6
4
+ data.tar.gz: a03002e13ddb4865d9f05b0491fbf02e6a15ec5a
5
5
  SHA512:
6
- metadata.gz: bf123b60b2e9278042f75a8ad4c88c20e799ee6c51366941cb409fa9949f6159a18d84791d7e4d86beb41aae4c6df07d292a44e58fa50b270d4ca33668694f7b
7
- data.tar.gz: b3075234aa79f4413c1feb36cce5cfef2a7b50f62bddd0a30b77178438d53f234090a45ddb13f469f8287173f12b2a8bdb17d2b60792bf612f462f9ba3b2ed7d
6
+ metadata.gz: b1ee204501a6a64d0b7cfd4db24040ca995ef2bad67a7d2d762a45f2b272894616f3ef4120be6d8a42ed4d25241d0ab1e05772575b72731528bb5fed796c2d58
7
+ data.tar.gz: f45939dcdc6942eeff4e2b4211422c819609d118d080a24fc2afc4962cf9b843b32e907706fe1b23a2e6a8c64b088e484bab48696b6a2a37f292d8ec8ae2fded
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.244
1
+ 1.0.248
@@ -389,10 +389,12 @@ module TencentCloud
389
389
  # @type SnapshotIds: Array
390
390
  # @param DryRun: 检测本次请求的是否成功,但不会对操作的资源产生任何影响
391
391
  # @type DryRun: Boolean
392
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
393
+ # @type TagSpecification: Array
392
394
 
393
- attr_accessor :ImageName, :InstanceId, :ImageDescription, :ForcePoweroff, :Sysprep, :DataDiskIds, :SnapshotIds, :DryRun
395
+ attr_accessor :ImageName, :InstanceId, :ImageDescription, :ForcePoweroff, :Sysprep, :DataDiskIds, :SnapshotIds, :DryRun, :TagSpecification
394
396
 
395
- def initialize(imagename=nil, instanceid=nil, imagedescription=nil, forcepoweroff=nil, sysprep=nil, datadiskids=nil, snapshotids=nil, dryrun=nil)
397
+ def initialize(imagename=nil, instanceid=nil, imagedescription=nil, forcepoweroff=nil, sysprep=nil, datadiskids=nil, snapshotids=nil, dryrun=nil, tagspecification=nil)
396
398
  @ImageName = imagename
397
399
  @InstanceId = instanceid
398
400
  @ImageDescription = imagedescription
@@ -401,6 +403,7 @@ module TencentCloud
401
403
  @DataDiskIds = datadiskids
402
404
  @SnapshotIds = snapshotids
403
405
  @DryRun = dryrun
406
+ @TagSpecification = tagspecification
404
407
  end
405
408
 
406
409
  def deserialize(params)
@@ -412,6 +415,14 @@ module TencentCloud
412
415
  @DataDiskIds = params['DataDiskIds']
413
416
  @SnapshotIds = params['SnapshotIds']
414
417
  @DryRun = params['DryRun']
418
+ unless params['TagSpecification'].nil?
419
+ @TagSpecification = []
420
+ params['TagSpecification'].each do |i|
421
+ tagspecification_tmp = TagSpecification.new
422
+ tagspecification_tmp.deserialize(i)
423
+ @TagSpecification << tagspecification_tmp
424
+ end
425
+ end
415
426
  end
416
427
  end
417
428
 
@@ -1388,13 +1399,19 @@ module TencentCloud
1388
1399
  # @param ImageIds: 镜像ID列表 。镜像ID如:`img-gvbnzy6f`。array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/15688)。镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。<br><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
1389
1400
  # @type ImageIds: Array
1390
1401
  # @param Filters: 过滤条件,每次请求的`Filters`的上限为10,`Filters.Values`的上限为5。参数不可以同时指定`ImageIds`和`Filters`。详细的过滤条件如下:
1391
- # <li> image-id - String - 是否必填: 否 - (过滤条件)按照镜像ID进行过滤</li>
1392
- # <li> image-type - String - 是否必填: 否 - (过滤条件)按照镜像类型进行过滤。取值范围:
1393
- # PRIVATE_IMAGE: 私有镜像 (本账户创建的镜像)
1394
- # PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)
1395
- # SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像) 。</li>
1396
- # <li> image-name - String - 是否必填: 否 - (过滤条件)按照镜像名称进行过滤</li>
1397
- # <li> platform - String - 是否必填: - (过滤条件)按照镜像平台过滤,如 CentOS</li>
1402
+
1403
+ # <li><strong>image-id</strong></li>
1404
+ # <p style="padding-left: 30px;">按照【<strong>镜像ID</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1405
+ # <li><strong>image-type</strong></li>
1406
+ # <p style="padding-left: 30px;">按照【<strong>镜像类型</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:</p><p style="padding-left: 30px;">PRIVATE_IMAGE: 私有镜像 (本账户创建的镜像)</p><p style="padding-left: 30px;">PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)</p><p style="padding-left: 30px;">SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像)</p>
1407
+ # <li><strong>image-name</strong></li>
1408
+ # <p style="padding-left: 30px;">按照【<strong>镜像名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1409
+ # <li><strong>platform</strong></li>
1410
+ # <p style="padding-left: 30px;">按照【<strong>镜像平台</strong>】进行过滤,如CentOS。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1411
+ # <li><strong>tag-key</strong></li>
1412
+ # <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1413
+ # <li><strong>tag:tag-key</strong></li>
1414
+ # <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1398
1415
  # @type Filters: Array
1399
1416
  # @param Offset: 偏移量,默认为0。关于Offset详见[API简介](/document/api/213/568#.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.8F.82.E6.95.B0.E9.87.8A.E4.B9.89)。
1400
1417
  # @type Offset: Integer
@@ -2811,6 +2828,33 @@ module TencentCloud
2811
2828
  end
2812
2829
  end
2813
2830
 
2831
+ # 实例GPU信息
2832
+ class GPUInfo < TencentCloud::Common::AbstractModel
2833
+ # @param GPUCount: 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。
2834
+ # 注意:此字段可能返回 null,表示取不到有效值。
2835
+ # @type GPUCount: Float
2836
+ # @param GPUId: 实例GPU地址。
2837
+ # 注意:此字段可能返回 null,表示取不到有效值。
2838
+ # @type GPUId: Array
2839
+ # @param GPUType: 实例GPU类型。
2840
+ # 注意:此字段可能返回 null,表示取不到有效值。
2841
+ # @type GPUType: String
2842
+
2843
+ attr_accessor :GPUCount, :GPUId, :GPUType
2844
+
2845
+ def initialize(gpucount=nil, gpuid=nil, gputype=nil)
2846
+ @GPUCount = gpucount
2847
+ @GPUId = gpuid
2848
+ @GPUType = gputype
2849
+ end
2850
+
2851
+ def deserialize(params)
2852
+ @GPUCount = params['GPUCount']
2853
+ @GPUId = params['GPUId']
2854
+ @GPUType = params['GPUType']
2855
+ end
2856
+ end
2857
+
2814
2858
  # cdh实例详细信息
2815
2859
  class HostItem < TencentCloud::Common::AbstractModel
2816
2860
  # @param Placement: cdh实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
@@ -3071,10 +3115,12 @@ module TencentCloud
3071
3115
  # @type DryRun: Boolean
3072
3116
  # @param Force: 是否强制导入,参考[强制导入镜像](https://cloud.tencent.com/document/product/213/12849)
3073
3117
  # @type Force: Boolean
3118
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
3119
+ # @type TagSpecification: Array
3074
3120
 
3075
- attr_accessor :Architecture, :OsType, :OsVersion, :ImageUrl, :ImageName, :ImageDescription, :DryRun, :Force
3121
+ attr_accessor :Architecture, :OsType, :OsVersion, :ImageUrl, :ImageName, :ImageDescription, :DryRun, :Force, :TagSpecification
3076
3122
 
3077
- def initialize(architecture=nil, ostype=nil, osversion=nil, imageurl=nil, imagename=nil, imagedescription=nil, dryrun=nil, force=nil)
3123
+ def initialize(architecture=nil, ostype=nil, osversion=nil, imageurl=nil, imagename=nil, imagedescription=nil, dryrun=nil, force=nil, tagspecification=nil)
3078
3124
  @Architecture = architecture
3079
3125
  @OsType = ostype
3080
3126
  @OsVersion = osversion
@@ -3083,6 +3129,7 @@ module TencentCloud
3083
3129
  @ImageDescription = imagedescription
3084
3130
  @DryRun = dryrun
3085
3131
  @Force = force
3132
+ @TagSpecification = tagspecification
3086
3133
  end
3087
3134
 
3088
3135
  def deserialize(params)
@@ -3094,6 +3141,14 @@ module TencentCloud
3094
3141
  @ImageDescription = params['ImageDescription']
3095
3142
  @DryRun = params['DryRun']
3096
3143
  @Force = params['Force']
3144
+ unless params['TagSpecification'].nil?
3145
+ @TagSpecification = []
3146
+ params['TagSpecification'].each do |i|
3147
+ tagspecification_tmp = TagSpecification.new
3148
+ tagspecification_tmp.deserialize(i)
3149
+ @TagSpecification << tagspecification_tmp
3150
+ end
3151
+ end
3097
3152
  end
3098
3153
  end
3099
3154
 
@@ -3807,10 +3862,13 @@ module TencentCloud
3807
3862
  # @param IsolatedSource: 实例隔离类型。取值范围:<br><li>ARREAR:表示欠费隔离<br></li><li>EXPIRE:表示到期隔离<br></li><li>MANMADE:表示主动退还隔离<br></li><li>NOTISOLATED:表示未隔离<br></li>
3808
3863
  # 注意:此字段可能返回 null,表示取不到有效值。
3809
3864
  # @type IsolatedSource: String
3865
+ # @param GPUInfo: GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。
3866
+ # 注意:此字段可能返回 null,表示取不到有效值。
3867
+ # @type GPUInfo: :class:`Tencentcloud::Cvm.v20170312.models.GPUInfo`
3810
3868
 
3811
- 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
3869
+ 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
3812
3870
 
3813
- 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)
3871
+ 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)
3814
3872
  @Placement = placement
3815
3873
  @InstanceId = instanceid
3816
3874
  @InstanceType = instancetype
@@ -3845,6 +3903,7 @@ module TencentCloud
3845
3903
  @HpcClusterId = hpcclusterid
3846
3904
  @RdmaIpAddresses = rdmaipaddresses
3847
3905
  @IsolatedSource = isolatedsource
3906
+ @GPUInfo = gpuinfo
3848
3907
  end
3849
3908
 
3850
3909
  def deserialize(params)
@@ -3911,6 +3970,10 @@ module TencentCloud
3911
3970
  @HpcClusterId = params['HpcClusterId']
3912
3971
  @RdmaIpAddresses = params['RdmaIpAddresses']
3913
3972
  @IsolatedSource = params['IsolatedSource']
3973
+ unless params['GPUInfo'].nil?
3974
+ @GPUInfo = GPUInfo.new
3975
+ @GPUInfo.deserialize(params['GPUInfo'])
3976
+ end
3914
3977
  end
3915
3978
  end
3916
3979
 
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.244
4
+ version: 1.0.248
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-01-18 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common