tencentcloud-sdk-cvm 3.0.576 → 3.0.578
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/client.rb +1 -1
- data/lib/v20170312/models.rb +9 -3
- 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: 9ed5c851a8a2a79e58ddd1754c8872452b698af2
|
4
|
+
data.tar.gz: d01038d4f90d375d5321ae0d7a5b02f103497796
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80df283faa39e90ba519cb2d6081053868871d26baaf559f7696b3d5bb1defc07f8ff05270b1979fce10ba608dc6c10c80ae4fc203a5a656bfaa13290eb5f4d0
|
7
|
+
data.tar.gz: 5feb831f9935d464e3464fca4ea08ee85b0fa79a3337ec59de64ded82025a81d4ff049dbf7c49e7e56ef77f5c66071b49219af4b6ac3f2b3728f2120a93a845d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.578
|
data/lib/v20170312/client.rb
CHANGED
@@ -783,7 +783,7 @@ module TencentCloud
|
|
783
783
|
|
784
784
|
# 本接口 (DescribeInstanceTypeConfigs) 用于查询实例机型配置。
|
785
785
|
|
786
|
-
# * 可以根据`zone`、`instance-family`来查询实例机型配置。过滤条件详见过滤器[`Filter`](https://cloud.tencent.com/document/api/213/15753#Filter)。
|
786
|
+
# * 可以根据`zone`、`instance-family`、`instance-type`来查询实例机型配置。过滤条件详见过滤器[`Filter`](https://cloud.tencent.com/document/api/213/15753#Filter)。
|
787
787
|
# * 如果参数为空,返回指定地域的所有实例机型配置。
|
788
788
|
|
789
789
|
# @param request: Request instance for DescribeInstanceTypeConfigs.
|
data/lib/v20170312/models.rb
CHANGED
@@ -2179,6 +2179,8 @@ module TencentCloud
|
|
2179
2179
|
# <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
|
2180
2180
|
# <li><strong>instance-family</strong></li>
|
2181
2181
|
# <p style="padding-left: 30px;">按照【<strong>实例机型系列</strong>】进行过滤。实例机型系列形如:S1、I1、M1等。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2182
|
+
# <li><strong>instance-type</strong></li>
|
2183
|
+
# <p style="padding-left: 30px;">按照【<strong>实例类型</strong>】进行过滤。实例类型形如:S5.12XLARGE128、S5.12XLARGE96等。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2182
2184
|
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为1。
|
2183
2185
|
# @type Filters: Array
|
2184
2186
|
|
@@ -5035,10 +5037,12 @@ module TencentCloud
|
|
5035
5037
|
# @type Memory: Integer
|
5036
5038
|
# @param FPGA: FPGA核数,单位:核。
|
5037
5039
|
# @type FPGA: Integer
|
5040
|
+
# @param GpuCount: 实例机型映射的物理GPU卡数,单位:卡。vGPU卡型小于1,直通卡型大于等于1。vGPU是通过分片虚拟化技术,将物理GPU卡重新划分,同一块GPU卡经虚拟化分割后可分配至不同的实例使用。直通卡型会将GPU设备直接挂载给实例使用。
|
5041
|
+
# @type GpuCount: Float
|
5038
5042
|
|
5039
|
-
attr_accessor :Zone, :InstanceType, :InstanceFamily, :GPU, :CPU, :Memory, :FPGA
|
5043
|
+
attr_accessor :Zone, :InstanceType, :InstanceFamily, :GPU, :CPU, :Memory, :FPGA, :GpuCount
|
5040
5044
|
|
5041
|
-
def initialize(zone=nil, instancetype=nil, instancefamily=nil, gpu=nil, cpu=nil, memory=nil, fpga=nil)
|
5045
|
+
def initialize(zone=nil, instancetype=nil, instancefamily=nil, gpu=nil, cpu=nil, memory=nil, fpga=nil, gpucount=nil)
|
5042
5046
|
@Zone = zone
|
5043
5047
|
@InstanceType = instancetype
|
5044
5048
|
@InstanceFamily = instancefamily
|
@@ -5046,6 +5050,7 @@ module TencentCloud
|
|
5046
5050
|
@CPU = cpu
|
5047
5051
|
@Memory = memory
|
5048
5052
|
@FPGA = fpga
|
5053
|
+
@GpuCount = gpucount
|
5049
5054
|
end
|
5050
5055
|
|
5051
5056
|
def deserialize(params)
|
@@ -5056,6 +5061,7 @@ module TencentCloud
|
|
5056
5061
|
@CPU = params['CPU']
|
5057
5062
|
@Memory = params['Memory']
|
5058
5063
|
@FPGA = params['FPGA']
|
5064
|
+
@GpuCount = params['GpuCount']
|
5059
5065
|
end
|
5060
5066
|
end
|
5061
5067
|
|
@@ -5974,7 +5980,7 @@ module TencentCloud
|
|
5974
5980
|
class ModifyImageAttributeRequest < TencentCloud::Common::AbstractModel
|
5975
5981
|
# @param ImageId: 镜像ID,形如`img-gvbnzy6f`。镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。<br><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
|
5976
5982
|
# @type ImageId: String
|
5977
|
-
# @param ImageName: 设置新的镜像名称;必须满足下列限制:<br> <li> 不得超过
|
5983
|
+
# @param ImageName: 设置新的镜像名称;必须满足下列限制:<br> <li> 不得超过60个字符。<br> <li> 镜像名称不能与已有镜像重复。
|
5978
5984
|
# @type ImageName: String
|
5979
5985
|
# @param ImageDescription: 设置新的镜像描述;必须满足下列限制:<br> <li> 不得超过60个字符。
|
5980
5986
|
# @type ImageDescription: String
|
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: 3.0.
|
4
|
+
version: 3.0.578
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|