tencentcloud-sdk-cvm 1.0.347 → 1.0.348

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47327e5068ac9b9097f895bfa42922cada6db0ff
4
- data.tar.gz: 6943d49db89d71eb95a3f613493986a2a063053f
3
+ metadata.gz: 7f96ffb89e66a7e3b5cc3d5ab4bee46c58470d31
4
+ data.tar.gz: df3f5542fa3b923c9383feee0a7be6ace55f1e9c
5
5
  SHA512:
6
- metadata.gz: 7e0e1f32ff66f04c079f856bcbc94b5a4150cdc720ff5d21dc3c9d71f7385e90609a1c59c01316211d01dbeb0e4ef6db821ab927bb0d963843c560215781ad5b
7
- data.tar.gz: 0ed82773a9e864898805a14c069b1487d90796c98c3114097d8d79f02c6607d4a36973cf41a2525ee336466012c6c19542ad4c5300373b364821fa158fe82898
6
+ metadata.gz: 2134fd0b302723368cdcac66800199f514e3c750488ee77815979d39e914bf4afe0bf57feb9dbaf58619f664cd74776591d4f6da31318e59de53cd4a6efa067c
7
+ data.tar.gz: 9fcc8bbae84fb0999f1988c3bac5ec1e30ca30b6125799a58e464ee926a2cc66b4b32fba11c32ce5bca26c54bb546e50208b817dfcba6f15cd8c0f3e1b349300
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.347
1
+ 1.0.348
@@ -108,6 +108,54 @@ module TencentCloud
108
108
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
109
109
  end
110
110
 
111
+ # 配置CHC物理服务器的带外和部署网络。传入带外网络和部署网络信息
112
+
113
+ # @param request: Request instance for ConfigureChcAssistVpc.
114
+ # @type request: :class:`Tencentcloud::cvm::V20170312::ConfigureChcAssistVpcRequest`
115
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::ConfigureChcAssistVpcResponse`
116
+ def ConfigureChcAssistVpc(request)
117
+ body = send_request('ConfigureChcAssistVpc', request.serialize)
118
+ response = JSON.parse(body)
119
+ if response['Response'].key?('Error') == false
120
+ model = ConfigureChcAssistVpcResponse.new
121
+ model.deserialize(response['Response'])
122
+ model
123
+ else
124
+ code = response['Response']['Error']['Code']
125
+ message = response['Response']['Error']['Message']
126
+ reqid = response['Response']['RequestId']
127
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
128
+ end
129
+ rescue TencentCloud::Common::TencentCloudSDKException => e
130
+ raise e
131
+ rescue StandardError => e
132
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
133
+ end
134
+
135
+ # 配置CHC物理服务器部署网络
136
+
137
+ # @param request: Request instance for ConfigureChcDeployVpc.
138
+ # @type request: :class:`Tencentcloud::cvm::V20170312::ConfigureChcDeployVpcRequest`
139
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::ConfigureChcDeployVpcResponse`
140
+ def ConfigureChcDeployVpc(request)
141
+ body = send_request('ConfigureChcDeployVpc', request.serialize)
142
+ response = JSON.parse(body)
143
+ if response['Response'].key?('Error') == false
144
+ model = ConfigureChcDeployVpcResponse.new
145
+ model.deserialize(response['Response'])
146
+ model
147
+ else
148
+ code = response['Response']['Error']['Code']
149
+ message = response['Response']['Error']['Message']
150
+ reqid = response['Response']['RequestId']
151
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
152
+ end
153
+ rescue TencentCloud::Common::TencentCloudSDKException => e
154
+ raise e
155
+ rescue StandardError => e
156
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
157
+ end
158
+
111
159
  # 本接口 (CreateDisasterRecoverGroup)用于创建[分散置放群组](https://cloud.tencent.com/document/product/213/15486)。创建好的置放群组,可在[创建实例](https://cloud.tencent.com/document/api/213/15730)时指定。
112
160
 
113
161
  # @param request: Request instance for CreateDisasterRecoverGroup.
@@ -1421,6 +1469,30 @@ module TencentCloud
1421
1469
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
1470
  end
1423
1471
 
1472
+ # 修改CHC物理服务器的属性
1473
+
1474
+ # @param request: Request instance for ModifyChcAttribute.
1475
+ # @type request: :class:`Tencentcloud::cvm::V20170312::ModifyChcAttributeRequest`
1476
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::ModifyChcAttributeResponse`
1477
+ def ModifyChcAttribute(request)
1478
+ body = send_request('ModifyChcAttribute', request.serialize)
1479
+ response = JSON.parse(body)
1480
+ if response['Response'].key?('Error') == false
1481
+ model = ModifyChcAttributeResponse.new
1482
+ model.deserialize(response['Response'])
1483
+ model
1484
+ else
1485
+ code = response['Response']['Error']['Code']
1486
+ message = response['Response']['Error']['Message']
1487
+ reqid = response['Response']['RequestId']
1488
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1489
+ end
1490
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1491
+ raise e
1492
+ rescue StandardError => e
1493
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1494
+ end
1495
+
1424
1496
  # 本接口 (ModifyDisasterRecoverGroupAttribute)用于修改[分散置放群组](https://cloud.tencent.com/document/product/213/15486)属性。
1425
1497
 
1426
1498
  # @param request: Request instance for ModifyDisasterRecoverGroupAttribute.
@@ -1828,6 +1900,54 @@ module TencentCloud
1828
1900
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1829
1901
  end
1830
1902
 
1903
+ # 清理CHC物理服务器的带外网络和部署网络
1904
+
1905
+ # @param request: Request instance for RemoveChcAssistVpc.
1906
+ # @type request: :class:`Tencentcloud::cvm::V20170312::RemoveChcAssistVpcRequest`
1907
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::RemoveChcAssistVpcResponse`
1908
+ def RemoveChcAssistVpc(request)
1909
+ body = send_request('RemoveChcAssistVpc', request.serialize)
1910
+ response = JSON.parse(body)
1911
+ if response['Response'].key?('Error') == false
1912
+ model = RemoveChcAssistVpcResponse.new
1913
+ model.deserialize(response['Response'])
1914
+ model
1915
+ else
1916
+ code = response['Response']['Error']['Code']
1917
+ message = response['Response']['Error']['Message']
1918
+ reqid = response['Response']['RequestId']
1919
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1920
+ end
1921
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1922
+ raise e
1923
+ rescue StandardError => e
1924
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1925
+ end
1926
+
1927
+ # 清理CHC物理服务器的部署网络
1928
+
1929
+ # @param request: Request instance for RemoveChcDeployVpc.
1930
+ # @type request: :class:`Tencentcloud::cvm::V20170312::RemoveChcDeployVpcRequest`
1931
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::RemoveChcDeployVpcResponse`
1932
+ def RemoveChcDeployVpc(request)
1933
+ body = send_request('RemoveChcDeployVpc', request.serialize)
1934
+ response = JSON.parse(body)
1935
+ if response['Response'].key?('Error') == false
1936
+ model = RemoveChcDeployVpcResponse.new
1937
+ model.deserialize(response['Response'])
1938
+ model
1939
+ else
1940
+ code = response['Response']['Error']['Code']
1941
+ message = response['Response']['Error']['Message']
1942
+ reqid = response['Response']['RequestId']
1943
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1944
+ end
1945
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1946
+ raise e
1947
+ rescue StandardError => e
1948
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1949
+ end
1950
+
1831
1951
  # 本接口 (RenewHosts) 用于续费包年包月CDH实例。
1832
1952
 
1833
1953
  # * 只支持操作包年包月实例,否则操作会以特定[错误码](#6.-.E9.94.99.E8.AF.AF.E7.A0.81)返回。
@@ -450,6 +450,103 @@ module TencentCloud
450
450
  end
451
451
  end
452
452
 
453
+ # ConfigureChcAssistVpc请求参数结构体
454
+ class ConfigureChcAssistVpcRequest < TencentCloud::Common::AbstractModel
455
+ # @param ChcIds: CHC物理服务器的实例Id。
456
+ # @type ChcIds: Array
457
+ # @param BmcVirtualPrivateCloud: 带外网络信息。
458
+ # @type BmcVirtualPrivateCloud: :class:`Tencentcloud::Cvm.v20170312.models.VirtualPrivateCloud`
459
+ # @param BmcSecurityGroupIds: 带外网络的安全组列表
460
+ # @type BmcSecurityGroupIds: Array
461
+ # @param DeployVirtualPrivateCloud: 部署网络信息。
462
+ # @type DeployVirtualPrivateCloud: :class:`Tencentcloud::Cvm.v20170312.models.VirtualPrivateCloud`
463
+ # @param DeploySecurityGroupIds: 部署网络的安全组列表
464
+ # @type DeploySecurityGroupIds: Array
465
+
466
+ attr_accessor :ChcIds, :BmcVirtualPrivateCloud, :BmcSecurityGroupIds, :DeployVirtualPrivateCloud, :DeploySecurityGroupIds
467
+
468
+ def initialize(chcids=nil, bmcvirtualprivatecloud=nil, bmcsecuritygroupids=nil, deployvirtualprivatecloud=nil, deploysecuritygroupids=nil)
469
+ @ChcIds = chcids
470
+ @BmcVirtualPrivateCloud = bmcvirtualprivatecloud
471
+ @BmcSecurityGroupIds = bmcsecuritygroupids
472
+ @DeployVirtualPrivateCloud = deployvirtualprivatecloud
473
+ @DeploySecurityGroupIds = deploysecuritygroupids
474
+ end
475
+
476
+ def deserialize(params)
477
+ @ChcIds = params['ChcIds']
478
+ unless params['BmcVirtualPrivateCloud'].nil?
479
+ @BmcVirtualPrivateCloud = VirtualPrivateCloud.new
480
+ @BmcVirtualPrivateCloud.deserialize(params['BmcVirtualPrivateCloud'])
481
+ end
482
+ @BmcSecurityGroupIds = params['BmcSecurityGroupIds']
483
+ unless params['DeployVirtualPrivateCloud'].nil?
484
+ @DeployVirtualPrivateCloud = VirtualPrivateCloud.new
485
+ @DeployVirtualPrivateCloud.deserialize(params['DeployVirtualPrivateCloud'])
486
+ end
487
+ @DeploySecurityGroupIds = params['DeploySecurityGroupIds']
488
+ end
489
+ end
490
+
491
+ # ConfigureChcAssistVpc返回参数结构体
492
+ class ConfigureChcAssistVpcResponse < TencentCloud::Common::AbstractModel
493
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
494
+ # @type RequestId: String
495
+
496
+ attr_accessor :RequestId
497
+
498
+ def initialize(requestid=nil)
499
+ @RequestId = requestid
500
+ end
501
+
502
+ def deserialize(params)
503
+ @RequestId = params['RequestId']
504
+ end
505
+ end
506
+
507
+ # ConfigureChcDeployVpc请求参数结构体
508
+ class ConfigureChcDeployVpcRequest < TencentCloud::Common::AbstractModel
509
+ # @param ChcIds: CHC物理服务器的实例Id。
510
+ # @type ChcIds: Array
511
+ # @param DeployVirtualPrivateCloud: 部署网络信息。
512
+ # @type DeployVirtualPrivateCloud: :class:`Tencentcloud::Cvm.v20170312.models.VirtualPrivateCloud`
513
+ # @param DeploySecurityGroupIds: 部署网络的安全组列表。
514
+ # @type DeploySecurityGroupIds: Array
515
+
516
+ attr_accessor :ChcIds, :DeployVirtualPrivateCloud, :DeploySecurityGroupIds
517
+
518
+ def initialize(chcids=nil, deployvirtualprivatecloud=nil, deploysecuritygroupids=nil)
519
+ @ChcIds = chcids
520
+ @DeployVirtualPrivateCloud = deployvirtualprivatecloud
521
+ @DeploySecurityGroupIds = deploysecuritygroupids
522
+ end
523
+
524
+ def deserialize(params)
525
+ @ChcIds = params['ChcIds']
526
+ unless params['DeployVirtualPrivateCloud'].nil?
527
+ @DeployVirtualPrivateCloud = VirtualPrivateCloud.new
528
+ @DeployVirtualPrivateCloud.deserialize(params['DeployVirtualPrivateCloud'])
529
+ end
530
+ @DeploySecurityGroupIds = params['DeploySecurityGroupIds']
531
+ end
532
+ end
533
+
534
+ # ConfigureChcDeployVpc返回参数结构体
535
+ class ConfigureChcDeployVpcResponse < TencentCloud::Common::AbstractModel
536
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
537
+ # @type RequestId: String
538
+
539
+ attr_accessor :RequestId
540
+
541
+ def initialize(requestid=nil)
542
+ @RequestId = requestid
543
+ end
544
+
545
+ def deserialize(params)
546
+ @RequestId = params['RequestId']
547
+ end
548
+ end
549
+
453
550
  # CreateDisasterRecoverGroup请求参数结构体
454
551
  class CreateDisasterRecoverGroupRequest < TencentCloud::Common::AbstractModel
455
552
  # @param Name: 分散置放群组名称,长度1-60个字符,支持中、英文。
@@ -5198,6 +5295,58 @@ module TencentCloud
5198
5295
  end
5199
5296
  end
5200
5297
 
5298
+ # ModifyChcAttribute请求参数结构体
5299
+ class ModifyChcAttributeRequest < TencentCloud::Common::AbstractModel
5300
+ # @param ChcIds: CHC物理服务器ID。
5301
+ # @type ChcIds: Array
5302
+ # @param InstanceName: CHC物理服务器名称
5303
+ # @type InstanceName: String
5304
+ # @param DeviceType: 服务器类型
5305
+ # @type DeviceType: String
5306
+ # @param BmcUser: 合法字符为字母,数字, 横线和下划线
5307
+ # @type BmcUser: String
5308
+ # @param Password: 密码8-16位字符, 允许数字,字母, 和特殊字符()`~!@#$%^&*-+=_|{}[]:;'<>,.?/
5309
+ # @type Password: String
5310
+ # @param BmcSecurityGroupIds: bmc网络的安全组列表
5311
+ # @type BmcSecurityGroupIds: Array
5312
+
5313
+ attr_accessor :ChcIds, :InstanceName, :DeviceType, :BmcUser, :Password, :BmcSecurityGroupIds
5314
+
5315
+ def initialize(chcids=nil, instancename=nil, devicetype=nil, bmcuser=nil, password=nil, bmcsecuritygroupids=nil)
5316
+ @ChcIds = chcids
5317
+ @InstanceName = instancename
5318
+ @DeviceType = devicetype
5319
+ @BmcUser = bmcuser
5320
+ @Password = password
5321
+ @BmcSecurityGroupIds = bmcsecuritygroupids
5322
+ end
5323
+
5324
+ def deserialize(params)
5325
+ @ChcIds = params['ChcIds']
5326
+ @InstanceName = params['InstanceName']
5327
+ @DeviceType = params['DeviceType']
5328
+ @BmcUser = params['BmcUser']
5329
+ @Password = params['Password']
5330
+ @BmcSecurityGroupIds = params['BmcSecurityGroupIds']
5331
+ end
5332
+ end
5333
+
5334
+ # ModifyChcAttribute返回参数结构体
5335
+ class ModifyChcAttributeResponse < TencentCloud::Common::AbstractModel
5336
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5337
+ # @type RequestId: String
5338
+
5339
+ attr_accessor :RequestId
5340
+
5341
+ def initialize(requestid=nil)
5342
+ @RequestId = requestid
5343
+ end
5344
+
5345
+ def deserialize(params)
5346
+ @RequestId = params['RequestId']
5347
+ end
5348
+ end
5349
+
5201
5350
  # ModifyDisasterRecoverGroupAttribute请求参数结构体
5202
5351
  class ModifyDisasterRecoverGroupAttributeRequest < TencentCloud::Common::AbstractModel
5203
5352
  # @param DisasterRecoverGroupId: 分散置放群组ID,可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。
@@ -6035,6 +6184,70 @@ module TencentCloud
6035
6184
  end
6036
6185
  end
6037
6186
 
6187
+ # RemoveChcAssistVpc请求参数结构体
6188
+ class RemoveChcAssistVpcRequest < TencentCloud::Common::AbstractModel
6189
+ # @param ChcIds: CHC物理服务器Id。
6190
+ # @type ChcIds: Array
6191
+
6192
+ attr_accessor :ChcIds
6193
+
6194
+ def initialize(chcids=nil)
6195
+ @ChcIds = chcids
6196
+ end
6197
+
6198
+ def deserialize(params)
6199
+ @ChcIds = params['ChcIds']
6200
+ end
6201
+ end
6202
+
6203
+ # RemoveChcAssistVpc返回参数结构体
6204
+ class RemoveChcAssistVpcResponse < TencentCloud::Common::AbstractModel
6205
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6206
+ # @type RequestId: String
6207
+
6208
+ attr_accessor :RequestId
6209
+
6210
+ def initialize(requestid=nil)
6211
+ @RequestId = requestid
6212
+ end
6213
+
6214
+ def deserialize(params)
6215
+ @RequestId = params['RequestId']
6216
+ end
6217
+ end
6218
+
6219
+ # RemoveChcDeployVpc请求参数结构体
6220
+ class RemoveChcDeployVpcRequest < TencentCloud::Common::AbstractModel
6221
+ # @param ChcIds: CHC物理服务器Id。
6222
+ # @type ChcIds: Array
6223
+
6224
+ attr_accessor :ChcIds
6225
+
6226
+ def initialize(chcids=nil)
6227
+ @ChcIds = chcids
6228
+ end
6229
+
6230
+ def deserialize(params)
6231
+ @ChcIds = params['ChcIds']
6232
+ end
6233
+ end
6234
+
6235
+ # RemoveChcDeployVpc返回参数结构体
6236
+ class RemoveChcDeployVpcResponse < TencentCloud::Common::AbstractModel
6237
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6238
+ # @type RequestId: String
6239
+
6240
+ attr_accessor :RequestId
6241
+
6242
+ def initialize(requestid=nil)
6243
+ @RequestId = requestid
6244
+ end
6245
+
6246
+ def deserialize(params)
6247
+ @RequestId = params['RequestId']
6248
+ end
6249
+ end
6250
+
6038
6251
  # RenewHosts请求参数结构体
6039
6252
  class RenewHostsRequest < TencentCloud::Common::AbstractModel
6040
6253
  # @param HostIds: 一个或多个待操作的CDH实例ID。每次请求的CDH实例的上限为100。
@@ -7251,7 +7464,7 @@ module TencentCloud
7251
7464
 
7252
7465
  # 创建资源实例时同时绑定的标签对说明
7253
7466
  class TagSpecification < TencentCloud::Common::AbstractModel
7254
- # @param ResourceType: 标签绑定的资源类型,云服务器为“instance”,专用宿主机为“host”,镜像为“image”
7467
+ # @param ResourceType: 标签绑定的资源类型,云服务器为“instance”,专用宿主机为“host”,镜像为“image”,密钥为“keypair
7255
7468
  # @type ResourceType: String
7256
7469
  # @param Tags: 标签对列表
7257
7470
  # @type Tags: Array
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.347
4
+ version: 1.0.348
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-07-03 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common