tencentcloud-sdk-cvm 3.0.410 → 3.0.411
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: d8d8335d9270bc38554827d2ff370942d73dff1b
|
4
|
+
data.tar.gz: 22feb43da5acead2ccd094f0363f1d6fa11c654e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53176e5909bbe410650268a9e7fabbb1e9fc25ab96fed3d5b343c15293a680c86aa005af0f4733cbd5919e7a624391641e73b86673396cdb006142800cf6f042
|
7
|
+
data.tar.gz: b4d65e6b5afbec210c48f3dbf41a9bf9bb8b9c001fc8209c40d2b9d8a0eb05fd8fcd795471e347ba3a3ce79a290d62e2e24ccc34e86bed86042103dd7e4fccb7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.411
|
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.411
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|