tencentcloud-sdk-cvm 1.0.325 → 1.0.326
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 +12 -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: c973667b0ae84076bb5e0b4be27a009ddc6d21e5
|
4
|
+
data.tar.gz: f52a481965ac9b9920459f6d1de1b4f4a617e1fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f8bf5fd2177de0ced75cc867e63f7ce15d560fbe0d6575c82530468ed1428cf9a70501f74611389f034a4a02dd8f2e6c6b3e8992b072c857a7a311bd726e2c3
|
7
|
+
data.tar.gz: 3f40b5d6c1a55dcc78ef115b6a432d1a46f0d2e178288d432a697cc2b454f8d848403e678b9128b889263c38376a80de4e9db89f20a4c115d7062d6a8c1f38e9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.326
|
data/lib/v20170312/models.rb
CHANGED
@@ -5171,23 +5171,33 @@ module TencentCloud
|
|
5171
5171
|
# @type InstanceName: String
|
5172
5172
|
# @param SecurityGroups: 指定实例的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。<dx-alert infotype="explain" title="">必须指定SecurityGroups与InstanceName的其中一个,但不能同时设置</dx-alert>
|
5173
5173
|
# @type SecurityGroups: Array
|
5174
|
+
# @param CamRoleName: 给实例绑定用户角色,传空值为解绑操作
|
5175
|
+
# @type CamRoleName: String
|
5174
5176
|
# @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
5175
5177
|
# @type DisableApiTermination: Boolean
|
5178
|
+
# @param CamRoleType: 角色类别,与CamRoleName搭配使用,该值可从CAM DescribeRoleList, GetRole接口返回RoleType字段获取,当前只接受user、system和service_linked三种类别。
|
5179
|
+
# 举例:一般CamRoleName中包含“LinkedRoleIn”(如TKE_QCSLinkedRoleInPrometheusService)时,DescribeRoleList和GetRole返回的RoleType为service_linked,则本参数也需要传递service_linked。
|
5180
|
+
# 该参数默认值为user,若CameRoleName为非service_linked类型,本参数可不传递。
|
5181
|
+
# @type CamRoleType: String
|
5176
5182
|
|
5177
|
-
attr_accessor :InstanceIds, :InstanceName, :SecurityGroups, :DisableApiTermination
|
5183
|
+
attr_accessor :InstanceIds, :InstanceName, :SecurityGroups, :CamRoleName, :DisableApiTermination, :CamRoleType
|
5178
5184
|
|
5179
|
-
def initialize(instanceids=nil, instancename=nil, securitygroups=nil, disableapitermination=nil)
|
5185
|
+
def initialize(instanceids=nil, instancename=nil, securitygroups=nil, camrolename=nil, disableapitermination=nil, camroletype=nil)
|
5180
5186
|
@InstanceIds = instanceids
|
5181
5187
|
@InstanceName = instancename
|
5182
5188
|
@SecurityGroups = securitygroups
|
5189
|
+
@CamRoleName = camrolename
|
5183
5190
|
@DisableApiTermination = disableapitermination
|
5191
|
+
@CamRoleType = camroletype
|
5184
5192
|
end
|
5185
5193
|
|
5186
5194
|
def deserialize(params)
|
5187
5195
|
@InstanceIds = params['InstanceIds']
|
5188
5196
|
@InstanceName = params['InstanceName']
|
5189
5197
|
@SecurityGroups = params['SecurityGroups']
|
5198
|
+
@CamRoleName = params['CamRoleName']
|
5190
5199
|
@DisableApiTermination = params['DisableApiTermination']
|
5200
|
+
@CamRoleType = params['CamRoleType']
|
5191
5201
|
end
|
5192
5202
|
end
|
5193
5203
|
|
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.326
|
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-06-
|
11
|
+
date: 2022-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|