tencentcloud-sdk-cvm 3.0.410 → 3.0.412
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 +6 -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: 77a527f072e90341a996b4b7c4dbe2c9d7cec5b3
|
4
|
+
data.tar.gz: 81a6fd8a990cc9db7c5048c9f65d87aed293a1e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fab5b58e446cff470f706802636e7c1e3b4c2a5ae6f551e55d42408a92cfae4966e435a958e9d84cd53261432b7713f343903a26ce58a8d4b9fbfbad10f5521
|
7
|
+
data.tar.gz: 6ea1ab9265d381d03f6646d6fa51663a1796741b35d3fdca1f40e3e8adf95434646a90b07a24e4876beb480a50902a0af184864513e27f26dd8fdbca8e3ed84d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.412
|
data/lib/v20170312/models.rb
CHANGED
@@ -5664,6 +5664,8 @@ module TencentCloud
|
|
5664
5664
|
# @type SecurityGroups: Array
|
5665
5665
|
# @param CamRoleName: 给实例绑定用户角色,传空值为解绑操作
|
5666
5666
|
# @type CamRoleName: String
|
5667
|
+
# @param HostName: 实例的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。<br><li>Windows 实例:名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。<br><li>其他类型(Linux 等)实例:字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。
|
5668
|
+
# @type HostName: String
|
5667
5669
|
# @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
5668
5670
|
# @type DisableApiTermination: Boolean
|
5669
5671
|
# @param CamRoleType: 角色类别,与CamRoleName搭配使用,该值可从CAM DescribeRoleList, GetRole接口返回RoleType字段获取,当前只接受user、system和service_linked三种类别。
|
@@ -5671,13 +5673,14 @@ module TencentCloud
|
|
5671
5673
|
# 该参数默认值为user,若CameRoleName为非service_linked类型,本参数可不传递。
|
5672
5674
|
# @type CamRoleType: String
|
5673
5675
|
|
5674
|
-
attr_accessor :InstanceIds, :InstanceName, :SecurityGroups, :CamRoleName, :DisableApiTermination, :CamRoleType
|
5676
|
+
attr_accessor :InstanceIds, :InstanceName, :SecurityGroups, :CamRoleName, :HostName, :DisableApiTermination, :CamRoleType
|
5675
5677
|
|
5676
|
-
def initialize(instanceids=nil, instancename=nil, securitygroups=nil, camrolename=nil, disableapitermination=nil, camroletype=nil)
|
5678
|
+
def initialize(instanceids=nil, instancename=nil, securitygroups=nil, camrolename=nil, hostname=nil, disableapitermination=nil, camroletype=nil)
|
5677
5679
|
@InstanceIds = instanceids
|
5678
5680
|
@InstanceName = instancename
|
5679
5681
|
@SecurityGroups = securitygroups
|
5680
5682
|
@CamRoleName = camrolename
|
5683
|
+
@HostName = hostname
|
5681
5684
|
@DisableApiTermination = disableapitermination
|
5682
5685
|
@CamRoleType = camroletype
|
5683
5686
|
end
|
@@ -5687,6 +5690,7 @@ module TencentCloud
|
|
5687
5690
|
@InstanceName = params['InstanceName']
|
5688
5691
|
@SecurityGroups = params['SecurityGroups']
|
5689
5692
|
@CamRoleName = params['CamRoleName']
|
5693
|
+
@HostName = params['HostName']
|
5690
5694
|
@DisableApiTermination = params['DisableApiTermination']
|
5691
5695
|
@CamRoleType = params['CamRoleType']
|
5692
5696
|
end
|
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.412
|
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-09-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|