tencentcloud-sdk-cvm 3.0.381 → 3.0.382

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: af154c1cf283fcd8b41e73c0eb6c1d63098a7ed4
4
- data.tar.gz: 7844aab1173213a62919a958d222af0b7dd2ad26
3
+ metadata.gz: 62fc09939b6f1b4a94dad821c18ed50a44e1bded
4
+ data.tar.gz: c7a0708f5d6b19a96a3f40b05bf8c96a09518952
5
5
  SHA512:
6
- metadata.gz: a5b7410e1b7815ef7756f1db2161bbbd5a7d7fdf52c6a7e2c3e043f031db22bcd050fe9c0ef23cd451780e3ac65936b71eec961a6b993893794601816a18b9de
7
- data.tar.gz: cfbe186d4cc799715479dac32e31985979ee682f69893354661be62018febba00618294e325edefdd47de011b62837f8fd417eb0c2afe80d665a8579cb31dc0d
6
+ metadata.gz: 44719515f4c16ae42e1781b2129a3994009961e6598b839192beb4f9ebdd44d9214f39c0454d847cb30434e0ade309a23f5a2836b4a2d2d60914c1a74afcce20
7
+ data.tar.gz: 112c3a40346ff42cfb5ee700700b032eb2c7016a0dc508033184ed674a1b50d2a174b9768d194a4d77b28949d85ac5d478a81f8d32cef2d755e4250216b91b11
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.381
1
+ 3.0.382
@@ -436,6 +436,30 @@ module TencentCloud
436
436
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
437
437
  end
438
438
 
439
+ # 查询CHC物理服务器禁止做的操作,返回给用户
440
+
441
+ # @param request: Request instance for DescribeChcDeniedActions.
442
+ # @type request: :class:`Tencentcloud::cvm::V20170312::DescribeChcDeniedActionsRequest`
443
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::DescribeChcDeniedActionsResponse`
444
+ def DescribeChcDeniedActions(request)
445
+ body = send_request('DescribeChcDeniedActions', request.serialize)
446
+ response = JSON.parse(body)
447
+ if response['Response'].key?('Error') == false
448
+ model = DescribeChcDeniedActionsResponse.new
449
+ model.deserialize(response['Response'])
450
+ model
451
+ else
452
+ code = response['Response']['Error']['Code']
453
+ message = response['Response']['Error']['Message']
454
+ reqid = response['Response']['RequestId']
455
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
456
+ end
457
+ rescue TencentCloud::Common::TencentCloudSDKException => e
458
+ raise e
459
+ rescue StandardError => e
460
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
461
+ end
462
+
439
463
  # 本接口 (DescribeChcHosts) 用于查询一个或多个CHC物理服务器详细信息。
440
464
 
441
465
  # * 可以根据实例`ID`、实例名称或者设备类型等信息来查询实例的详细信息。过滤信息详细请见过滤器`Filter`。
@@ -450,6 +450,30 @@ module TencentCloud
450
450
  end
451
451
  end
452
452
 
453
+ # CHC物理服务器实例禁止操作的返回结构体
454
+ class ChcHostDeniedActions < TencentCloud::Common::AbstractModel
455
+ # @param ChcId: CHC物理服务器的实例id
456
+ # @type ChcId: String
457
+ # @param State: CHC物理服务器的状态
458
+ # @type State: String
459
+ # @param DenyActions: 当前CHC物理服务器禁止做的操作
460
+ # @type DenyActions: Array
461
+
462
+ attr_accessor :ChcId, :State, :DenyActions
463
+
464
+ def initialize(chcid=nil, state=nil, denyactions=nil)
465
+ @ChcId = chcid
466
+ @State = state
467
+ @DenyActions = denyactions
468
+ end
469
+
470
+ def deserialize(params)
471
+ @ChcId = params['ChcId']
472
+ @State = params['State']
473
+ @DenyActions = params['DenyActions']
474
+ end
475
+ end
476
+
453
477
  # ConfigureChcAssistVpc请求参数结构体
454
478
  class ConfigureChcAssistVpcRequest < TencentCloud::Common::AbstractModel
455
479
  # @param ChcIds: CHC物理服务器的实例Id。
@@ -1128,7 +1152,7 @@ module TencentCloud
1128
1152
  class DataDisk < TencentCloud::Common::AbstractModel
1129
1153
  # @param DiskSize: 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
1130
1154
  # @type DiskSize: Integer
1131
- # @param DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_HSSD:增强型SSD云硬盘<br><li>CLOUD_TSSD:极速型SSD云硬盘<br><br>默认取值:LOCAL_BASIC。<br><br>该参数对`ResizeInstanceDisk`接口无效。
1155
+ # @param DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_HSSD:增强型SSD云硬盘<br><li>CLOUD_TSSD:极速型SSD云硬盘<br><li>CLOUD_BSSD:通用型SSD云硬盘<br><br>默认取值:LOCAL_BASIC。<br><br>该参数对`ResizeInstanceDisk`接口无效。
1132
1156
  # @type DiskType: String
1133
1157
  # @param DiskId: 数据盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID,暂时不支持该参数。
1134
1158
  # 该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
@@ -1414,6 +1438,49 @@ module TencentCloud
1414
1438
  end
1415
1439
  end
1416
1440
 
1441
+ # DescribeChcDeniedActions请求参数结构体
1442
+ class DescribeChcDeniedActionsRequest < TencentCloud::Common::AbstractModel
1443
+ # @param ChcIds: CHC物理服务器实例id
1444
+ # @type ChcIds: Array
1445
+
1446
+ attr_accessor :ChcIds
1447
+
1448
+ def initialize(chcids=nil)
1449
+ @ChcIds = chcids
1450
+ end
1451
+
1452
+ def deserialize(params)
1453
+ @ChcIds = params['ChcIds']
1454
+ end
1455
+ end
1456
+
1457
+ # DescribeChcDeniedActions返回参数结构体
1458
+ class DescribeChcDeniedActionsResponse < TencentCloud::Common::AbstractModel
1459
+ # @param ChcHostDeniedActionSet: CHC实例禁止操作信息
1460
+ # @type ChcHostDeniedActionSet: Array
1461
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1462
+ # @type RequestId: String
1463
+
1464
+ attr_accessor :ChcHostDeniedActionSet, :RequestId
1465
+
1466
+ def initialize(chchostdeniedactionset=nil, requestid=nil)
1467
+ @ChcHostDeniedActionSet = chchostdeniedactionset
1468
+ @RequestId = requestid
1469
+ end
1470
+
1471
+ def deserialize(params)
1472
+ unless params['ChcHostDeniedActionSet'].nil?
1473
+ @ChcHostDeniedActionSet = []
1474
+ params['ChcHostDeniedActionSet'].each do |i|
1475
+ chchostdeniedactions_tmp = ChcHostDeniedActions.new
1476
+ chchostdeniedactions_tmp.deserialize(i)
1477
+ @ChcHostDeniedActionSet << chchostdeniedactions_tmp
1478
+ end
1479
+ end
1480
+ @RequestId = params['RequestId']
1481
+ end
1482
+ end
1483
+
1417
1484
  # DescribeChcHosts请求参数结构体
1418
1485
  class DescribeChcHostsRequest < TencentCloud::Common::AbstractModel
1419
1486
  # @param ChcIds: CHC物理服务器实例ID。每次请求的实例的上限为100。参数不支持同时指定`ChcIds`和`Filters`。
@@ -7444,7 +7511,7 @@ module TencentCloud
7444
7511
 
7445
7512
  # 描述了操作系统所在块设备即系统盘的信息
7446
7513
  class SystemDisk < TencentCloud::Common::AbstractModel
7447
- # @param DiskType: 系统盘类型。系统盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><br>默认取值:当前有库存的硬盘类型。
7514
+ # @param DiskType: 系统盘类型。系统盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_BSSD:通用性SSD云硬盘<br><br>默认取值:当前有库存的硬盘类型。
7448
7515
  # @type DiskType: String
7449
7516
  # @param DiskId: 系统盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID。暂时不支持该参数。
7450
7517
  # 该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
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.381
4
+ version: 3.0.382
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-08-05 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common