tencentcloud-sdk-cvm 1.0.247 → 1.0.248
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/v20170312/models.rb +37 -2
- 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: 5f1bc388feede08b34d203d98b4117cecde3b6b6
|
4
|
+
data.tar.gz: a03002e13ddb4865d9f05b0491fbf02e6a15ec5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1ee204501a6a64d0b7cfd4db24040ca995ef2bad67a7d2d762a45f2b272894616f3ef4120be6d8a42ed4d25241d0ab1e05772575b72731528bb5fed796c2d58
|
7
|
+
data.tar.gz: f45939dcdc6942eeff4e2b4211422c819609d118d080a24fc2afc4962cf9b843b32e907706fe1b23a2e6a8c64b088e484bab48696b6a2a37f292d8ec8ae2fded
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.248
|
data/lib/v20170312/models.rb
CHANGED
@@ -2828,6 +2828,33 @@ module TencentCloud
|
|
2828
2828
|
end
|
2829
2829
|
end
|
2830
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
|
+
|
2831
2858
|
# cdh实例详细信息
|
2832
2859
|
class HostItem < TencentCloud::Common::AbstractModel
|
2833
2860
|
# @param Placement: cdh实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
|
@@ -3835,10 +3862,13 @@ module TencentCloud
|
|
3835
3862
|
# @param IsolatedSource: 实例隔离类型。取值范围:<br><li>ARREAR:表示欠费隔离<br></li><li>EXPIRE:表示到期隔离<br></li><li>MANMADE:表示主动退还隔离<br></li><li>NOTISOLATED:表示未隔离<br></li>
|
3836
3863
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3837
3864
|
# @type IsolatedSource: String
|
3865
|
+
# @param GPUInfo: GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。
|
3866
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3867
|
+
# @type GPUInfo: :class:`Tencentcloud::Cvm.v20170312.models.GPUInfo`
|
3838
3868
|
|
3839
|
-
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
|
3840
3870
|
|
3841
|
-
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)
|
3842
3872
|
@Placement = placement
|
3843
3873
|
@InstanceId = instanceid
|
3844
3874
|
@InstanceType = instancetype
|
@@ -3873,6 +3903,7 @@ module TencentCloud
|
|
3873
3903
|
@HpcClusterId = hpcclusterid
|
3874
3904
|
@RdmaIpAddresses = rdmaipaddresses
|
3875
3905
|
@IsolatedSource = isolatedsource
|
3906
|
+
@GPUInfo = gpuinfo
|
3876
3907
|
end
|
3877
3908
|
|
3878
3909
|
def deserialize(params)
|
@@ -3939,6 +3970,10 @@ module TencentCloud
|
|
3939
3970
|
@HpcClusterId = params['HpcClusterId']
|
3940
3971
|
@RdmaIpAddresses = params['RdmaIpAddresses']
|
3941
3972
|
@IsolatedSource = params['IsolatedSource']
|
3973
|
+
unless params['GPUInfo'].nil?
|
3974
|
+
@GPUInfo = GPUInfo.new
|
3975
|
+
@GPUInfo.deserialize(params['GPUInfo'])
|
3976
|
+
end
|
3942
3977
|
end
|
3943
3978
|
end
|
3944
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.
|
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-
|
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
|