tencentcloud-sdk-lighthouse 1.0.224 → 1.0.225
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/v20200324/client.rb +312 -0
- data/lib/v20200324/models.rb +906 -3
- 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: 3656035dbfc17a6d6c2990569dd67a6baa11515c
|
4
|
+
data.tar.gz: f07cd8db9bc864107c00faa2c2133f7852da5af1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5fafd8670567eae4d3e5a3e999b7da5cb1351fc1fc5424858304f32686226997ef4fcdd095842438b0d573a1b988d0c8f8a587015e8032709bd2f4567bc3cdd
|
7
|
+
data.tar.gz: 2b507c7075ae0934ec313ce443530b7292e72f576742d09943412a9c47093295cd7ee920759630bf0c04b341035a9db2eba23a9726cc910c0665b2ec479589f3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.225
|
data/lib/v20200324/client.rb
CHANGED
@@ -110,6 +110,30 @@ module TencentCloud
|
|
110
110
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
111
111
|
end
|
112
112
|
|
113
|
+
# 本接口(AttachDisks)用于挂载一个或多个弹性云盘。
|
114
|
+
|
115
|
+
# @param request: Request instance for AttachDisks.
|
116
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::AttachDisksRequest`
|
117
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::AttachDisksResponse`
|
118
|
+
def AttachDisks(request)
|
119
|
+
body = send_request('AttachDisks', request.serialize)
|
120
|
+
response = JSON.parse(body)
|
121
|
+
if response['Response'].key?('Error') == false
|
122
|
+
model = AttachDisksResponse.new
|
123
|
+
model.deserialize(response['Response'])
|
124
|
+
model
|
125
|
+
else
|
126
|
+
code = response['Response']['Error']['Code']
|
127
|
+
message = response['Response']['Error']['Message']
|
128
|
+
reqid = response['Response']['RequestId']
|
129
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
130
|
+
end
|
131
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
132
|
+
raise e
|
133
|
+
rescue StandardError => e
|
134
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
135
|
+
end
|
136
|
+
|
113
137
|
# 本接口 (CreateBlueprint) 用于创建镜像。
|
114
138
|
|
115
139
|
# @param request: Request instance for CreateBlueprint.
|
@@ -442,6 +466,126 @@ module TencentCloud
|
|
442
466
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
443
467
|
end
|
444
468
|
|
469
|
+
# 本接口(DescribeDiskConfigs)用于查询磁盘配置。
|
470
|
+
|
471
|
+
# @param request: Request instance for DescribeDiskConfigs.
|
472
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDiskConfigsRequest`
|
473
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDiskConfigsResponse`
|
474
|
+
def DescribeDiskConfigs(request)
|
475
|
+
body = send_request('DescribeDiskConfigs', request.serialize)
|
476
|
+
response = JSON.parse(body)
|
477
|
+
if response['Response'].key?('Error') == false
|
478
|
+
model = DescribeDiskConfigsResponse.new
|
479
|
+
model.deserialize(response['Response'])
|
480
|
+
model
|
481
|
+
else
|
482
|
+
code = response['Response']['Error']['Code']
|
483
|
+
message = response['Response']['Error']['Message']
|
484
|
+
reqid = response['Response']['RequestId']
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
486
|
+
end
|
487
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
488
|
+
raise e
|
489
|
+
rescue StandardError => e
|
490
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
491
|
+
end
|
492
|
+
|
493
|
+
# 本接口(DescribeDiskDiscount)用于查询云硬盘折扣信息
|
494
|
+
|
495
|
+
# @param request: Request instance for DescribeDiskDiscount.
|
496
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDiskDiscountRequest`
|
497
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDiskDiscountResponse`
|
498
|
+
def DescribeDiskDiscount(request)
|
499
|
+
body = send_request('DescribeDiskDiscount', request.serialize)
|
500
|
+
response = JSON.parse(body)
|
501
|
+
if response['Response'].key?('Error') == false
|
502
|
+
model = DescribeDiskDiscountResponse.new
|
503
|
+
model.deserialize(response['Response'])
|
504
|
+
model
|
505
|
+
else
|
506
|
+
code = response['Response']['Error']['Code']
|
507
|
+
message = response['Response']['Error']['Message']
|
508
|
+
reqid = response['Response']['RequestId']
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
510
|
+
end
|
511
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
512
|
+
raise e
|
513
|
+
rescue StandardError => e
|
514
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
515
|
+
end
|
516
|
+
|
517
|
+
# 本接口(DescribeDisks)用于查询磁盘信息。
|
518
|
+
|
519
|
+
# @param request: Request instance for DescribeDisks.
|
520
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDisksRequest`
|
521
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDisksResponse`
|
522
|
+
def DescribeDisks(request)
|
523
|
+
body = send_request('DescribeDisks', request.serialize)
|
524
|
+
response = JSON.parse(body)
|
525
|
+
if response['Response'].key?('Error') == false
|
526
|
+
model = DescribeDisksResponse.new
|
527
|
+
model.deserialize(response['Response'])
|
528
|
+
model
|
529
|
+
else
|
530
|
+
code = response['Response']['Error']['Code']
|
531
|
+
message = response['Response']['Error']['Message']
|
532
|
+
reqid = response['Response']['RequestId']
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
534
|
+
end
|
535
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
536
|
+
raise e
|
537
|
+
rescue StandardError => e
|
538
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
539
|
+
end
|
540
|
+
|
541
|
+
# 本接口(DescribeDisksDeniedActions)用于查询一个或多个磁盘的操作限制列表信息
|
542
|
+
|
543
|
+
# @param request: Request instance for DescribeDisksDeniedActions.
|
544
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDisksDeniedActionsRequest`
|
545
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDisksDeniedActionsResponse`
|
546
|
+
def DescribeDisksDeniedActions(request)
|
547
|
+
body = send_request('DescribeDisksDeniedActions', request.serialize)
|
548
|
+
response = JSON.parse(body)
|
549
|
+
if response['Response'].key?('Error') == false
|
550
|
+
model = DescribeDisksDeniedActionsResponse.new
|
551
|
+
model.deserialize(response['Response'])
|
552
|
+
model
|
553
|
+
else
|
554
|
+
code = response['Response']['Error']['Code']
|
555
|
+
message = response['Response']['Error']['Message']
|
556
|
+
reqid = response['Response']['RequestId']
|
557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
558
|
+
end
|
559
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
560
|
+
raise e
|
561
|
+
rescue StandardError => e
|
562
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
563
|
+
end
|
564
|
+
|
565
|
+
# 本接口(DescribeDisksReturnable)用于查询磁盘是否可退还。
|
566
|
+
|
567
|
+
# @param request: Request instance for DescribeDisksReturnable.
|
568
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDisksReturnableRequest`
|
569
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeDisksReturnableResponse`
|
570
|
+
def DescribeDisksReturnable(request)
|
571
|
+
body = send_request('DescribeDisksReturnable', request.serialize)
|
572
|
+
response = JSON.parse(body)
|
573
|
+
if response['Response'].key?('Error') == false
|
574
|
+
model = DescribeDisksReturnableResponse.new
|
575
|
+
model.deserialize(response['Response'])
|
576
|
+
model
|
577
|
+
else
|
578
|
+
code = response['Response']['Error']['Code']
|
579
|
+
message = response['Response']['Error']['Message']
|
580
|
+
reqid = response['Response']['RequestId']
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
582
|
+
end
|
583
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
584
|
+
raise e
|
585
|
+
rescue StandardError => e
|
586
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
587
|
+
end
|
588
|
+
|
445
589
|
# 本接口(DescribeFirewallRules)用于查询实例的防火墙规则。
|
446
590
|
|
447
591
|
# @param request: Request instance for DescribeFirewallRules.
|
@@ -620,6 +764,30 @@ module TencentCloud
|
|
620
764
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
621
765
|
end
|
622
766
|
|
767
|
+
# 本接口(DescribeInstancesDiskNum)用于查询实例挂载云盘数量。
|
768
|
+
|
769
|
+
# @param request: Request instance for DescribeInstancesDiskNum.
|
770
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeInstancesDiskNumRequest`
|
771
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DescribeInstancesDiskNumResponse`
|
772
|
+
def DescribeInstancesDiskNum(request)
|
773
|
+
body = send_request('DescribeInstancesDiskNum', request.serialize)
|
774
|
+
response = JSON.parse(body)
|
775
|
+
if response['Response'].key?('Error') == false
|
776
|
+
model = DescribeInstancesDiskNumResponse.new
|
777
|
+
model.deserialize(response['Response'])
|
778
|
+
model
|
779
|
+
else
|
780
|
+
code = response['Response']['Error']['Code']
|
781
|
+
message = response['Response']['Error']['Message']
|
782
|
+
reqid = response['Response']['RequestId']
|
783
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
784
|
+
end
|
785
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
786
|
+
raise e
|
787
|
+
rescue StandardError => e
|
788
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
789
|
+
end
|
790
|
+
|
623
791
|
# 本接口(DescribeInstancesReturnable)用于查询实例是否可退还。
|
624
792
|
|
625
793
|
# @param request: Request instance for DescribeInstancesReturnable.
|
@@ -860,6 +1028,30 @@ module TencentCloud
|
|
860
1028
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
861
1029
|
end
|
862
1030
|
|
1031
|
+
# 本接口(DetachDisks)用于卸载一个或多个弹性云盘。
|
1032
|
+
|
1033
|
+
# @param request: Request instance for DetachDisks.
|
1034
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DetachDisksRequest`
|
1035
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::DetachDisksResponse`
|
1036
|
+
def DetachDisks(request)
|
1037
|
+
body = send_request('DetachDisks', request.serialize)
|
1038
|
+
response = JSON.parse(body)
|
1039
|
+
if response['Response'].key?('Error') == false
|
1040
|
+
model = DetachDisksResponse.new
|
1041
|
+
model.deserialize(response['Response'])
|
1042
|
+
model
|
1043
|
+
else
|
1044
|
+
code = response['Response']['Error']['Code']
|
1045
|
+
message = response['Response']['Error']['Message']
|
1046
|
+
reqid = response['Response']['RequestId']
|
1047
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1048
|
+
end
|
1049
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1050
|
+
raise e
|
1051
|
+
rescue StandardError => e
|
1052
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1053
|
+
end
|
1054
|
+
|
863
1055
|
# 本接口(DisassociateInstancesKeyPairs)用于解除实例与指定密钥对的绑定关系。
|
864
1056
|
|
865
1057
|
# * 只支持 [RUNNING, STOPPED] 状态的 LINUX_UNIX 操作系统的实例。处于 RUNNING 状态的实例会强制关机,然后解绑。
|
@@ -938,6 +1130,30 @@ module TencentCloud
|
|
938
1130
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
939
1131
|
end
|
940
1132
|
|
1133
|
+
# 本接口(InquirePriceCreateDisks)用于新购磁盘询价。
|
1134
|
+
|
1135
|
+
# @param request: Request instance for InquirePriceCreateDisks.
|
1136
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::InquirePriceCreateDisksRequest`
|
1137
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::InquirePriceCreateDisksResponse`
|
1138
|
+
def InquirePriceCreateDisks(request)
|
1139
|
+
body = send_request('InquirePriceCreateDisks', request.serialize)
|
1140
|
+
response = JSON.parse(body)
|
1141
|
+
if response['Response'].key?('Error') == false
|
1142
|
+
model = InquirePriceCreateDisksResponse.new
|
1143
|
+
model.deserialize(response['Response'])
|
1144
|
+
model
|
1145
|
+
else
|
1146
|
+
code = response['Response']['Error']['Code']
|
1147
|
+
message = response['Response']['Error']['Message']
|
1148
|
+
reqid = response['Response']['RequestId']
|
1149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1150
|
+
end
|
1151
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1152
|
+
raise e
|
1153
|
+
rescue StandardError => e
|
1154
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1155
|
+
end
|
1156
|
+
|
941
1157
|
# 本接口(InquiryPriceCreateInstances)用于创建实例询价。
|
942
1158
|
|
943
1159
|
# @param request: Request instance for InquirePriceCreateInstances.
|
@@ -962,6 +1178,30 @@ module TencentCloud
|
|
962
1178
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
963
1179
|
end
|
964
1180
|
|
1181
|
+
# 本接口(InquirePriceRenewDisks)用于续费磁盘询价。
|
1182
|
+
|
1183
|
+
# @param request: Request instance for InquirePriceRenewDisks.
|
1184
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::InquirePriceRenewDisksRequest`
|
1185
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::InquirePriceRenewDisksResponse`
|
1186
|
+
def InquirePriceRenewDisks(request)
|
1187
|
+
body = send_request('InquirePriceRenewDisks', request.serialize)
|
1188
|
+
response = JSON.parse(body)
|
1189
|
+
if response['Response'].key?('Error') == false
|
1190
|
+
model = InquirePriceRenewDisksResponse.new
|
1191
|
+
model.deserialize(response['Response'])
|
1192
|
+
model
|
1193
|
+
else
|
1194
|
+
code = response['Response']['Error']['Code']
|
1195
|
+
message = response['Response']['Error']['Message']
|
1196
|
+
reqid = response['Response']['RequestId']
|
1197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1198
|
+
end
|
1199
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1200
|
+
raise e
|
1201
|
+
rescue StandardError => e
|
1202
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1203
|
+
end
|
1204
|
+
|
965
1205
|
# 本接口(InquirePriceCreateInstances)用于续费实例询价。
|
966
1206
|
|
967
1207
|
# @param request: Request instance for InquirePriceRenewInstances.
|
@@ -1010,6 +1250,54 @@ module TencentCloud
|
|
1010
1250
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1011
1251
|
end
|
1012
1252
|
|
1253
|
+
# 本接口(ModifyDisksAttribute)用于修改磁盘属性
|
1254
|
+
|
1255
|
+
# @param request: Request instance for ModifyDisksAttribute.
|
1256
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::ModifyDisksAttributeRequest`
|
1257
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::ModifyDisksAttributeResponse`
|
1258
|
+
def ModifyDisksAttribute(request)
|
1259
|
+
body = send_request('ModifyDisksAttribute', request.serialize)
|
1260
|
+
response = JSON.parse(body)
|
1261
|
+
if response['Response'].key?('Error') == false
|
1262
|
+
model = ModifyDisksAttributeResponse.new
|
1263
|
+
model.deserialize(response['Response'])
|
1264
|
+
model
|
1265
|
+
else
|
1266
|
+
code = response['Response']['Error']['Code']
|
1267
|
+
message = response['Response']['Error']['Message']
|
1268
|
+
reqid = response['Response']['RequestId']
|
1269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1270
|
+
end
|
1271
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1272
|
+
raise e
|
1273
|
+
rescue StandardError => e
|
1274
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
# 本接口(ModifyDisksRenewFlag)用于修改磁盘续费标识。
|
1278
|
+
|
1279
|
+
# @param request: Request instance for ModifyDisksRenewFlag.
|
1280
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::ModifyDisksRenewFlagRequest`
|
1281
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::ModifyDisksRenewFlagResponse`
|
1282
|
+
def ModifyDisksRenewFlag(request)
|
1283
|
+
body = send_request('ModifyDisksRenewFlag', request.serialize)
|
1284
|
+
response = JSON.parse(body)
|
1285
|
+
if response['Response'].key?('Error') == false
|
1286
|
+
model = ModifyDisksRenewFlagResponse.new
|
1287
|
+
model.deserialize(response['Response'])
|
1288
|
+
model
|
1289
|
+
else
|
1290
|
+
code = response['Response']['Error']['Code']
|
1291
|
+
message = response['Response']['Error']['Message']
|
1292
|
+
reqid = response['Response']['RequestId']
|
1293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1294
|
+
end
|
1295
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1296
|
+
raise e
|
1297
|
+
rescue StandardError => e
|
1298
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1299
|
+
end
|
1300
|
+
|
1013
1301
|
# 本接口(ModifyFirewallRuleDescription)用于修改单条防火墙规则描述。
|
1014
1302
|
|
1015
1303
|
# * FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接修改防火墙规则备注。
|
@@ -1351,6 +1639,30 @@ module TencentCloud
|
|
1351
1639
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1352
1640
|
end
|
1353
1641
|
|
1642
|
+
# 本接口(TerminateDisks)用于销毁一个或多个磁盘。
|
1643
|
+
|
1644
|
+
# @param request: Request instance for TerminateDisks.
|
1645
|
+
# @type request: :class:`Tencentcloud::lighthouse::V20200324::TerminateDisksRequest`
|
1646
|
+
# @rtype: :class:`Tencentcloud::lighthouse::V20200324::TerminateDisksResponse`
|
1647
|
+
def TerminateDisks(request)
|
1648
|
+
body = send_request('TerminateDisks', request.serialize)
|
1649
|
+
response = JSON.parse(body)
|
1650
|
+
if response['Response'].key?('Error') == false
|
1651
|
+
model = TerminateDisksResponse.new
|
1652
|
+
model.deserialize(response['Response'])
|
1653
|
+
model
|
1654
|
+
else
|
1655
|
+
code = response['Response']['Error']['Code']
|
1656
|
+
message = response['Response']['Error']['Message']
|
1657
|
+
reqid = response['Response']['RequestId']
|
1658
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1659
|
+
end
|
1660
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1661
|
+
raise e
|
1662
|
+
rescue StandardError => e
|
1663
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1664
|
+
end
|
1665
|
+
|
1354
1666
|
# 本接口 (TerminateInstances) 用于销毁实例。
|
1355
1667
|
|
1356
1668
|
# * 处于 SHUTDOWN 状态的实例,可通过本接口销毁,且不可恢复。
|
data/lib/v20200324/models.rb
CHANGED
@@ -121,6 +121,70 @@ module TencentCloud
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
+
# 挂载信息
|
125
|
+
class AttachDetail < TencentCloud::Common::AbstractModel
|
126
|
+
# @param InstanceId: 实例ID
|
127
|
+
# @type InstanceId: String
|
128
|
+
# @param AttachedDiskCount: 实例已挂载弹性云盘数量
|
129
|
+
# @type AttachedDiskCount: Integer
|
130
|
+
# @param MaxAttachCount: 可挂载弹性云盘数量
|
131
|
+
# @type MaxAttachCount: Integer
|
132
|
+
|
133
|
+
attr_accessor :InstanceId, :AttachedDiskCount, :MaxAttachCount
|
134
|
+
|
135
|
+
def initialize(instanceid=nil, attacheddiskcount=nil, maxattachcount=nil)
|
136
|
+
@InstanceId = instanceid
|
137
|
+
@AttachedDiskCount = attacheddiskcount
|
138
|
+
@MaxAttachCount = maxattachcount
|
139
|
+
end
|
140
|
+
|
141
|
+
def deserialize(params)
|
142
|
+
@InstanceId = params['InstanceId']
|
143
|
+
@AttachedDiskCount = params['AttachedDiskCount']
|
144
|
+
@MaxAttachCount = params['MaxAttachCount']
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# AttachDisks请求参数结构体
|
149
|
+
class AttachDisksRequest < TencentCloud::Common::AbstractModel
|
150
|
+
# @param DiskIds: 磁盘ID列表
|
151
|
+
# @type DiskIds: Array
|
152
|
+
# @param InstanceId: 实例ID
|
153
|
+
# @type InstanceId: String
|
154
|
+
# @param RenewFlag: 续费标识
|
155
|
+
# @type RenewFlag: String
|
156
|
+
|
157
|
+
attr_accessor :DiskIds, :InstanceId, :RenewFlag
|
158
|
+
|
159
|
+
def initialize(diskids=nil, instanceid=nil, renewflag=nil)
|
160
|
+
@DiskIds = diskids
|
161
|
+
@InstanceId = instanceid
|
162
|
+
@RenewFlag = renewflag
|
163
|
+
end
|
164
|
+
|
165
|
+
def deserialize(params)
|
166
|
+
@DiskIds = params['DiskIds']
|
167
|
+
@InstanceId = params['InstanceId']
|
168
|
+
@RenewFlag = params['RenewFlag']
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
# AttachDisks返回参数结构体
|
173
|
+
class AttachDisksResponse < TencentCloud::Common::AbstractModel
|
174
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
175
|
+
# @type RequestId: String
|
176
|
+
|
177
|
+
attr_accessor :RequestId
|
178
|
+
|
179
|
+
def initialize(requestid=nil)
|
180
|
+
@RequestId = requestid
|
181
|
+
end
|
182
|
+
|
183
|
+
def deserialize(params)
|
184
|
+
@RequestId = params['RequestId']
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
124
188
|
# 描述了镜像信息。
|
125
189
|
class Blueprint < TencentCloud::Common::AbstractModel
|
126
190
|
# @param BlueprintId: 镜像 ID ,是 Blueprint 的唯一标识。
|
@@ -1017,6 +1081,305 @@ module TencentCloud
|
|
1017
1081
|
end
|
1018
1082
|
end
|
1019
1083
|
|
1084
|
+
# DescribeDiskConfigs请求参数结构体
|
1085
|
+
class DescribeDiskConfigsRequest < TencentCloud::Common::AbstractModel
|
1086
|
+
# @param Filters: - zone:
|
1087
|
+
# 可用区
|
1088
|
+
# @type Filters: Array
|
1089
|
+
|
1090
|
+
attr_accessor :Filters
|
1091
|
+
|
1092
|
+
def initialize(filters=nil)
|
1093
|
+
@Filters = filters
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
def deserialize(params)
|
1097
|
+
unless params['Filters'].nil?
|
1098
|
+
@Filters = []
|
1099
|
+
params['Filters'].each do |i|
|
1100
|
+
filter_tmp = Filter.new
|
1101
|
+
filter_tmp.deserialize(i)
|
1102
|
+
@Filters << filter_tmp
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
end
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# DescribeDiskConfigs返回参数结构体
|
1109
|
+
class DescribeDiskConfigsResponse < TencentCloud::Common::AbstractModel
|
1110
|
+
# @param DiskConfigSet: 磁盘配置列表
|
1111
|
+
# @type DiskConfigSet: Array
|
1112
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1113
|
+
# @type RequestId: String
|
1114
|
+
|
1115
|
+
attr_accessor :DiskConfigSet, :RequestId
|
1116
|
+
|
1117
|
+
def initialize(diskconfigset=nil, requestid=nil)
|
1118
|
+
@DiskConfigSet = diskconfigset
|
1119
|
+
@RequestId = requestid
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
def deserialize(params)
|
1123
|
+
unless params['DiskConfigSet'].nil?
|
1124
|
+
@DiskConfigSet = []
|
1125
|
+
params['DiskConfigSet'].each do |i|
|
1126
|
+
diskconfig_tmp = DiskConfig.new
|
1127
|
+
diskconfig_tmp.deserialize(i)
|
1128
|
+
@DiskConfigSet << diskconfig_tmp
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
@RequestId = params['RequestId']
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
# DescribeDiskDiscount请求参数结构体
|
1136
|
+
class DescribeDiskDiscountRequest < TencentCloud::Common::AbstractModel
|
1137
|
+
# @param DiskType: 磁盘类型, 取值: "CLOUD_PREMIUM"
|
1138
|
+
# @type DiskType: String
|
1139
|
+
# @param DiskSize: 磁盘大小
|
1140
|
+
# @type DiskSize: Integer
|
1141
|
+
|
1142
|
+
attr_accessor :DiskType, :DiskSize
|
1143
|
+
|
1144
|
+
def initialize(disktype=nil, disksize=nil)
|
1145
|
+
@DiskType = disktype
|
1146
|
+
@DiskSize = disksize
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
def deserialize(params)
|
1150
|
+
@DiskType = params['DiskType']
|
1151
|
+
@DiskSize = params['DiskSize']
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# DescribeDiskDiscount返回参数结构体
|
1156
|
+
class DescribeDiskDiscountResponse < TencentCloud::Common::AbstractModel
|
1157
|
+
# @param Currency: 币种:CNY人民币,USD 美元。
|
1158
|
+
# @type Currency: String
|
1159
|
+
# @param DiscountDetail: 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。
|
1160
|
+
# @type DiscountDetail: Array
|
1161
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1162
|
+
# @type RequestId: String
|
1163
|
+
|
1164
|
+
attr_accessor :Currency, :DiscountDetail, :RequestId
|
1165
|
+
|
1166
|
+
def initialize(currency=nil, discountdetail=nil, requestid=nil)
|
1167
|
+
@Currency = currency
|
1168
|
+
@DiscountDetail = discountdetail
|
1169
|
+
@RequestId = requestid
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
def deserialize(params)
|
1173
|
+
@Currency = params['Currency']
|
1174
|
+
unless params['DiscountDetail'].nil?
|
1175
|
+
@DiscountDetail = []
|
1176
|
+
params['DiscountDetail'].each do |i|
|
1177
|
+
discountdetail_tmp = DiscountDetail.new
|
1178
|
+
discountdetail_tmp.deserialize(i)
|
1179
|
+
@DiscountDetail << discountdetail_tmp
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
@RequestId = params['RequestId']
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
# DescribeDisksDeniedActions请求参数结构体
|
1187
|
+
class DescribeDisksDeniedActionsRequest < TencentCloud::Common::AbstractModel
|
1188
|
+
# @param DiskIds: 磁盘ID列表
|
1189
|
+
# @type DiskIds: Array
|
1190
|
+
|
1191
|
+
attr_accessor :DiskIds
|
1192
|
+
|
1193
|
+
def initialize(diskids=nil)
|
1194
|
+
@DiskIds = diskids
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
def deserialize(params)
|
1198
|
+
@DiskIds = params['DiskIds']
|
1199
|
+
end
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# DescribeDisksDeniedActions返回参数结构体
|
1203
|
+
class DescribeDisksDeniedActionsResponse < TencentCloud::Common::AbstractModel
|
1204
|
+
# @param DiskDeniedActionSet: 磁盘操作限制列表详细信息。
|
1205
|
+
# @type DiskDeniedActionSet: Array
|
1206
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1207
|
+
# @type RequestId: String
|
1208
|
+
|
1209
|
+
attr_accessor :DiskDeniedActionSet, :RequestId
|
1210
|
+
|
1211
|
+
def initialize(diskdeniedactionset=nil, requestid=nil)
|
1212
|
+
@DiskDeniedActionSet = diskdeniedactionset
|
1213
|
+
@RequestId = requestid
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
def deserialize(params)
|
1217
|
+
unless params['DiskDeniedActionSet'].nil?
|
1218
|
+
@DiskDeniedActionSet = []
|
1219
|
+
params['DiskDeniedActionSet'].each do |i|
|
1220
|
+
diskdeniedactions_tmp = DiskDeniedActions.new
|
1221
|
+
diskdeniedactions_tmp.deserialize(i)
|
1222
|
+
@DiskDeniedActionSet << diskdeniedactions_tmp
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
@RequestId = params['RequestId']
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# DescribeDisks请求参数结构体
|
1230
|
+
class DescribeDisksRequest < TencentCloud::Common::AbstractModel
|
1231
|
+
# @param DiskIds: 磁盘ID列表
|
1232
|
+
# @type DiskIds: Array
|
1233
|
+
# @param Filters: 过滤器列表。
|
1234
|
+
# disk-id
|
1235
|
+
# 按照【磁盘 ID】进行过滤。
|
1236
|
+
# 类型:String
|
1237
|
+
# 必选:否
|
1238
|
+
# instance-id
|
1239
|
+
# 按照【实例ID】进行过滤。
|
1240
|
+
# 类型:String
|
1241
|
+
# 必选:否
|
1242
|
+
# disk-name
|
1243
|
+
# 按照【磁盘名称】进行过滤。
|
1244
|
+
# 类型:String
|
1245
|
+
# 必选:否
|
1246
|
+
# zone
|
1247
|
+
# 按照【可用区】进行过滤。
|
1248
|
+
# 类型:String
|
1249
|
+
# 必选:否
|
1250
|
+
# disk-usage
|
1251
|
+
# 按照【磁盘类型】进行过滤。
|
1252
|
+
# 类型:String
|
1253
|
+
# 必选:否
|
1254
|
+
# disk-state
|
1255
|
+
# 按照【磁盘状态】进行过滤。
|
1256
|
+
# 类型:String
|
1257
|
+
# 必选:否
|
1258
|
+
# 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 DiskIds 和 Filters。
|
1259
|
+
# @type Filters: Array
|
1260
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
1261
|
+
# @type Limit: Integer
|
1262
|
+
# @param Offset: 偏移量,默认为0
|
1263
|
+
# @type Offset: Integer
|
1264
|
+
# @param OrderField: 云盘列表排序的依据字段。取值范围:"CREATED_TIME":依据云盘的创建时间排序。 "EXPIRED_TIME":依据云盘的到期时间排序。"DISK_SIZE":依据云盘的大小排序。默认按云盘创建时间排序。
|
1265
|
+
# @type OrderField: String
|
1266
|
+
# @param Order: 输出云盘列表的排列顺序。取值范围:"ASC":升序排列。 "DESC":降序排列。默认按降序排列
|
1267
|
+
# @type Order: String
|
1268
|
+
|
1269
|
+
attr_accessor :DiskIds, :Filters, :Limit, :Offset, :OrderField, :Order
|
1270
|
+
|
1271
|
+
def initialize(diskids=nil, filters=nil, limit=nil, offset=nil, orderfield=nil, order=nil)
|
1272
|
+
@DiskIds = diskids
|
1273
|
+
@Filters = filters
|
1274
|
+
@Limit = limit
|
1275
|
+
@Offset = offset
|
1276
|
+
@OrderField = orderfield
|
1277
|
+
@Order = order
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
def deserialize(params)
|
1281
|
+
@DiskIds = params['DiskIds']
|
1282
|
+
unless params['Filters'].nil?
|
1283
|
+
@Filters = []
|
1284
|
+
params['Filters'].each do |i|
|
1285
|
+
filter_tmp = Filter.new
|
1286
|
+
filter_tmp.deserialize(i)
|
1287
|
+
@Filters << filter_tmp
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
@Limit = params['Limit']
|
1291
|
+
@Offset = params['Offset']
|
1292
|
+
@OrderField = params['OrderField']
|
1293
|
+
@Order = params['Order']
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
# DescribeDisks返回参数结构体
|
1298
|
+
class DescribeDisksResponse < TencentCloud::Common::AbstractModel
|
1299
|
+
# @param DiskSet: 磁盘信息列表
|
1300
|
+
# @type DiskSet: Array
|
1301
|
+
# @param TotalCount: 符合条件的磁盘信息数量
|
1302
|
+
# @type TotalCount: Integer
|
1303
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1304
|
+
# @type RequestId: String
|
1305
|
+
|
1306
|
+
attr_accessor :DiskSet, :TotalCount, :RequestId
|
1307
|
+
|
1308
|
+
def initialize(diskset=nil, totalcount=nil, requestid=nil)
|
1309
|
+
@DiskSet = diskset
|
1310
|
+
@TotalCount = totalcount
|
1311
|
+
@RequestId = requestid
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
def deserialize(params)
|
1315
|
+
unless params['DiskSet'].nil?
|
1316
|
+
@DiskSet = []
|
1317
|
+
params['DiskSet'].each do |i|
|
1318
|
+
disk_tmp = Disk.new
|
1319
|
+
disk_tmp.deserialize(i)
|
1320
|
+
@DiskSet << disk_tmp
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
@TotalCount = params['TotalCount']
|
1324
|
+
@RequestId = params['RequestId']
|
1325
|
+
end
|
1326
|
+
end
|
1327
|
+
|
1328
|
+
# DescribeDisksReturnable请求参数结构体
|
1329
|
+
class DescribeDisksReturnableRequest < TencentCloud::Common::AbstractModel
|
1330
|
+
# @param DiskIds: 磁盘ID列表
|
1331
|
+
# @type DiskIds: Array
|
1332
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
1333
|
+
# @type Limit: Integer
|
1334
|
+
# @param Offset: 偏移量,默认为0。
|
1335
|
+
# @type Offset: Integer
|
1336
|
+
|
1337
|
+
attr_accessor :DiskIds, :Limit, :Offset
|
1338
|
+
|
1339
|
+
def initialize(diskids=nil, limit=nil, offset=nil)
|
1340
|
+
@DiskIds = diskids
|
1341
|
+
@Limit = limit
|
1342
|
+
@Offset = offset
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
def deserialize(params)
|
1346
|
+
@DiskIds = params['DiskIds']
|
1347
|
+
@Limit = params['Limit']
|
1348
|
+
@Offset = params['Offset']
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# DescribeDisksReturnable返回参数结构体
|
1353
|
+
class DescribeDisksReturnableResponse < TencentCloud::Common::AbstractModel
|
1354
|
+
# @param DiskReturnableSet: 可退还磁盘详细信息列表。
|
1355
|
+
# @type DiskReturnableSet: Array
|
1356
|
+
# @param TotalCount: 符合条件的磁盘数量。
|
1357
|
+
# @type TotalCount: Integer
|
1358
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1359
|
+
# @type RequestId: String
|
1360
|
+
|
1361
|
+
attr_accessor :DiskReturnableSet, :TotalCount, :RequestId
|
1362
|
+
|
1363
|
+
def initialize(diskreturnableset=nil, totalcount=nil, requestid=nil)
|
1364
|
+
@DiskReturnableSet = diskreturnableset
|
1365
|
+
@TotalCount = totalcount
|
1366
|
+
@RequestId = requestid
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
def deserialize(params)
|
1370
|
+
unless params['DiskReturnableSet'].nil?
|
1371
|
+
@DiskReturnableSet = []
|
1372
|
+
params['DiskReturnableSet'].each do |i|
|
1373
|
+
diskreturnable_tmp = DiskReturnable.new
|
1374
|
+
diskreturnable_tmp.deserialize(i)
|
1375
|
+
@DiskReturnableSet << diskreturnable_tmp
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
@TotalCount = params['TotalCount']
|
1379
|
+
@RequestId = params['RequestId']
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
|
1020
1383
|
# DescribeFirewallRules请求参数结构体
|
1021
1384
|
class DescribeFirewallRulesRequest < TencentCloud::Common::AbstractModel
|
1022
1385
|
# @param InstanceId: 实例 ID。
|
@@ -1276,6 +1639,53 @@ module TencentCloud
|
|
1276
1639
|
end
|
1277
1640
|
end
|
1278
1641
|
|
1642
|
+
# DescribeInstancesDiskNum请求参数结构体
|
1643
|
+
class DescribeInstancesDiskNumRequest < TencentCloud::Common::AbstractModel
|
1644
|
+
# @param InstanceIds: 实例ID列表
|
1645
|
+
# @type InstanceIds: Array
|
1646
|
+
|
1647
|
+
attr_accessor :InstanceIds
|
1648
|
+
|
1649
|
+
def initialize(instanceids=nil)
|
1650
|
+
@InstanceIds = instanceids
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
def deserialize(params)
|
1654
|
+
@InstanceIds = params['InstanceIds']
|
1655
|
+
end
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
# DescribeInstancesDiskNum返回参数结构体
|
1659
|
+
class DescribeInstancesDiskNumResponse < TencentCloud::Common::AbstractModel
|
1660
|
+
# @param AttachDetailSet: 挂载信息列表
|
1661
|
+
# @type AttachDetailSet: Array
|
1662
|
+
# @param TotalCount: 挂载信息数量
|
1663
|
+
# @type TotalCount: Integer
|
1664
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1665
|
+
# @type RequestId: String
|
1666
|
+
|
1667
|
+
attr_accessor :AttachDetailSet, :TotalCount, :RequestId
|
1668
|
+
|
1669
|
+
def initialize(attachdetailset=nil, totalcount=nil, requestid=nil)
|
1670
|
+
@AttachDetailSet = attachdetailset
|
1671
|
+
@TotalCount = totalcount
|
1672
|
+
@RequestId = requestid
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
def deserialize(params)
|
1676
|
+
unless params['AttachDetailSet'].nil?
|
1677
|
+
@AttachDetailSet = []
|
1678
|
+
params['AttachDetailSet'].each do |i|
|
1679
|
+
attachdetail_tmp = AttachDetail.new
|
1680
|
+
attachdetail_tmp.deserialize(i)
|
1681
|
+
@AttachDetailSet << attachdetail_tmp
|
1682
|
+
end
|
1683
|
+
end
|
1684
|
+
@TotalCount = params['TotalCount']
|
1685
|
+
@RequestId = params['RequestId']
|
1686
|
+
end
|
1687
|
+
end
|
1688
|
+
|
1279
1689
|
# DescribeInstances请求参数结构体
|
1280
1690
|
class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
|
1281
1691
|
# @param InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。
|
@@ -1939,9 +2349,41 @@ module TencentCloud
|
|
1939
2349
|
end
|
1940
2350
|
end
|
1941
2351
|
|
1942
|
-
#
|
1943
|
-
class
|
1944
|
-
# @param
|
2352
|
+
# DetachDisks请求参数结构体
|
2353
|
+
class DetachDisksRequest < TencentCloud::Common::AbstractModel
|
2354
|
+
# @param DiskIds: 磁盘ID列表
|
2355
|
+
# @type DiskIds: Array
|
2356
|
+
|
2357
|
+
attr_accessor :DiskIds
|
2358
|
+
|
2359
|
+
def initialize(diskids=nil)
|
2360
|
+
@DiskIds = diskids
|
2361
|
+
end
|
2362
|
+
|
2363
|
+
def deserialize(params)
|
2364
|
+
@DiskIds = params['DiskIds']
|
2365
|
+
end
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
# DetachDisks返回参数结构体
|
2369
|
+
class DetachDisksResponse < TencentCloud::Common::AbstractModel
|
2370
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2371
|
+
# @type RequestId: String
|
2372
|
+
|
2373
|
+
attr_accessor :RequestId
|
2374
|
+
|
2375
|
+
def initialize(requestid=nil)
|
2376
|
+
@RequestId = requestid
|
2377
|
+
end
|
2378
|
+
|
2379
|
+
def deserialize(params)
|
2380
|
+
@RequestId = params['RequestId']
|
2381
|
+
end
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
# DisassociateInstancesKeyPairs请求参数结构体
|
2385
|
+
class DisassociateInstancesKeyPairsRequest < TencentCloud::Common::AbstractModel
|
2386
|
+
# @param KeyIds: 密钥对 ID 列表。每次请求批量密钥对的上限为 100。
|
1945
2387
|
# @type KeyIds: Array
|
1946
2388
|
# @param InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
1947
2389
|
# @type InstanceIds: Array
|
@@ -2014,6 +2456,235 @@ module TencentCloud
|
|
2014
2456
|
end
|
2015
2457
|
end
|
2016
2458
|
|
2459
|
+
# 磁盘信息
|
2460
|
+
class Disk < TencentCloud::Common::AbstractModel
|
2461
|
+
# @param DiskId: 磁盘ID
|
2462
|
+
# @type DiskId: String
|
2463
|
+
# @param InstanceId: 实例ID
|
2464
|
+
# @type InstanceId: String
|
2465
|
+
# @param Zone: 可用区
|
2466
|
+
# @type Zone: String
|
2467
|
+
# @param DiskName: 磁盘名称
|
2468
|
+
# @type DiskName: String
|
2469
|
+
# @param DiskUsage: 磁盘类型
|
2470
|
+
# @type DiskUsage: String
|
2471
|
+
# @param DiskType: 磁盘介质类型
|
2472
|
+
# @type DiskType: String
|
2473
|
+
# @param DiskChargeType: 磁盘付费类型
|
2474
|
+
# @type DiskChargeType: String
|
2475
|
+
# @param DiskSize: 磁盘大小
|
2476
|
+
# @type DiskSize: Integer
|
2477
|
+
# @param RenewFlag: 续费标识
|
2478
|
+
# @type RenewFlag: String
|
2479
|
+
# @param DiskState: 磁盘状态
|
2480
|
+
# @type DiskState: String
|
2481
|
+
# @param Attached: 磁盘挂载状态
|
2482
|
+
# @type Attached: Boolean
|
2483
|
+
# @param DeleteWithInstance: 是否随实例释放
|
2484
|
+
# @type DeleteWithInstance: Boolean
|
2485
|
+
# @param LatestOperation: 上一次操作
|
2486
|
+
# @type LatestOperation: String
|
2487
|
+
# @param LatestOperationState: 上一次操作状态
|
2488
|
+
# @type LatestOperationState: String
|
2489
|
+
# @param LatestOperationRequestId: 上一次请求ID
|
2490
|
+
# @type LatestOperationRequestId: String
|
2491
|
+
# @param CreatedTime: 创建时间
|
2492
|
+
# @type CreatedTime: String
|
2493
|
+
# @param ExpiredTime: 到期时间
|
2494
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2495
|
+
# @type ExpiredTime: String
|
2496
|
+
# @param IsolatedTime: 隔离时间
|
2497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2498
|
+
# @type IsolatedTime: String
|
2499
|
+
|
2500
|
+
attr_accessor :DiskId, :InstanceId, :Zone, :DiskName, :DiskUsage, :DiskType, :DiskChargeType, :DiskSize, :RenewFlag, :DiskState, :Attached, :DeleteWithInstance, :LatestOperation, :LatestOperationState, :LatestOperationRequestId, :CreatedTime, :ExpiredTime, :IsolatedTime
|
2501
|
+
|
2502
|
+
def initialize(diskid=nil, instanceid=nil, zone=nil, diskname=nil, diskusage=nil, disktype=nil, diskchargetype=nil, disksize=nil, renewflag=nil, diskstate=nil, attached=nil, deletewithinstance=nil, latestoperation=nil, latestoperationstate=nil, latestoperationrequestid=nil, createdtime=nil, expiredtime=nil, isolatedtime=nil)
|
2503
|
+
@DiskId = diskid
|
2504
|
+
@InstanceId = instanceid
|
2505
|
+
@Zone = zone
|
2506
|
+
@DiskName = diskname
|
2507
|
+
@DiskUsage = diskusage
|
2508
|
+
@DiskType = disktype
|
2509
|
+
@DiskChargeType = diskchargetype
|
2510
|
+
@DiskSize = disksize
|
2511
|
+
@RenewFlag = renewflag
|
2512
|
+
@DiskState = diskstate
|
2513
|
+
@Attached = attached
|
2514
|
+
@DeleteWithInstance = deletewithinstance
|
2515
|
+
@LatestOperation = latestoperation
|
2516
|
+
@LatestOperationState = latestoperationstate
|
2517
|
+
@LatestOperationRequestId = latestoperationrequestid
|
2518
|
+
@CreatedTime = createdtime
|
2519
|
+
@ExpiredTime = expiredtime
|
2520
|
+
@IsolatedTime = isolatedtime
|
2521
|
+
end
|
2522
|
+
|
2523
|
+
def deserialize(params)
|
2524
|
+
@DiskId = params['DiskId']
|
2525
|
+
@InstanceId = params['InstanceId']
|
2526
|
+
@Zone = params['Zone']
|
2527
|
+
@DiskName = params['DiskName']
|
2528
|
+
@DiskUsage = params['DiskUsage']
|
2529
|
+
@DiskType = params['DiskType']
|
2530
|
+
@DiskChargeType = params['DiskChargeType']
|
2531
|
+
@DiskSize = params['DiskSize']
|
2532
|
+
@RenewFlag = params['RenewFlag']
|
2533
|
+
@DiskState = params['DiskState']
|
2534
|
+
@Attached = params['Attached']
|
2535
|
+
@DeleteWithInstance = params['DeleteWithInstance']
|
2536
|
+
@LatestOperation = params['LatestOperation']
|
2537
|
+
@LatestOperationState = params['LatestOperationState']
|
2538
|
+
@LatestOperationRequestId = params['LatestOperationRequestId']
|
2539
|
+
@CreatedTime = params['CreatedTime']
|
2540
|
+
@ExpiredTime = params['ExpiredTime']
|
2541
|
+
@IsolatedTime = params['IsolatedTime']
|
2542
|
+
end
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
# 磁盘包年包月相关参数设置
|
2546
|
+
class DiskChargePrepaid < TencentCloud::Common::AbstractModel
|
2547
|
+
# @param Period: 新购周期
|
2548
|
+
# @type Period: Integer
|
2549
|
+
# @param RenewFlag: 续费标识
|
2550
|
+
# @type RenewFlag: String
|
2551
|
+
# @param TimeUnit: 新购单位. 默认值: "m"
|
2552
|
+
# @type TimeUnit: String
|
2553
|
+
|
2554
|
+
attr_accessor :Period, :RenewFlag, :TimeUnit
|
2555
|
+
|
2556
|
+
def initialize(period=nil, renewflag=nil, timeunit=nil)
|
2557
|
+
@Period = period
|
2558
|
+
@RenewFlag = renewflag
|
2559
|
+
@TimeUnit = timeunit
|
2560
|
+
end
|
2561
|
+
|
2562
|
+
def deserialize(params)
|
2563
|
+
@Period = params['Period']
|
2564
|
+
@RenewFlag = params['RenewFlag']
|
2565
|
+
@TimeUnit = params['TimeUnit']
|
2566
|
+
end
|
2567
|
+
end
|
2568
|
+
|
2569
|
+
# 磁盘配置
|
2570
|
+
class DiskConfig < TencentCloud::Common::AbstractModel
|
2571
|
+
# @param Zone: 可用区
|
2572
|
+
# @type Zone: String
|
2573
|
+
# @param DiskType: 磁盘类型
|
2574
|
+
# @type DiskType: String
|
2575
|
+
# @param DiskSalesState: 磁盘可售卖状态
|
2576
|
+
# @type DiskSalesState: String
|
2577
|
+
# @param MaxDiskSize: 最大磁盘大小
|
2578
|
+
# @type MaxDiskSize: Integer
|
2579
|
+
# @param MinDiskSize: 最小磁盘大小
|
2580
|
+
# @type MinDiskSize: Integer
|
2581
|
+
# @param DiskStepSize: 磁盘步长
|
2582
|
+
# @type DiskStepSize: Integer
|
2583
|
+
|
2584
|
+
attr_accessor :Zone, :DiskType, :DiskSalesState, :MaxDiskSize, :MinDiskSize, :DiskStepSize
|
2585
|
+
|
2586
|
+
def initialize(zone=nil, disktype=nil, disksalesstate=nil, maxdisksize=nil, mindisksize=nil, diskstepsize=nil)
|
2587
|
+
@Zone = zone
|
2588
|
+
@DiskType = disktype
|
2589
|
+
@DiskSalesState = disksalesstate
|
2590
|
+
@MaxDiskSize = maxdisksize
|
2591
|
+
@MinDiskSize = mindisksize
|
2592
|
+
@DiskStepSize = diskstepsize
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
def deserialize(params)
|
2596
|
+
@Zone = params['Zone']
|
2597
|
+
@DiskType = params['DiskType']
|
2598
|
+
@DiskSalesState = params['DiskSalesState']
|
2599
|
+
@MaxDiskSize = params['MaxDiskSize']
|
2600
|
+
@MinDiskSize = params['MinDiskSize']
|
2601
|
+
@DiskStepSize = params['DiskStepSize']
|
2602
|
+
end
|
2603
|
+
end
|
2604
|
+
|
2605
|
+
# 磁盘操作限制列表详细信息
|
2606
|
+
class DiskDeniedActions < TencentCloud::Common::AbstractModel
|
2607
|
+
# @param DiskId: 磁盘ID
|
2608
|
+
# @type DiskId: String
|
2609
|
+
# @param DeniedActions: 操作限制列表
|
2610
|
+
# @type DeniedActions: Array
|
2611
|
+
|
2612
|
+
attr_accessor :DiskId, :DeniedActions
|
2613
|
+
|
2614
|
+
def initialize(diskid=nil, deniedactions=nil)
|
2615
|
+
@DiskId = diskid
|
2616
|
+
@DeniedActions = deniedactions
|
2617
|
+
end
|
2618
|
+
|
2619
|
+
def deserialize(params)
|
2620
|
+
@DiskId = params['DiskId']
|
2621
|
+
unless params['DeniedActions'].nil?
|
2622
|
+
@DeniedActions = []
|
2623
|
+
params['DeniedActions'].each do |i|
|
2624
|
+
deniedaction_tmp = DeniedAction.new
|
2625
|
+
deniedaction_tmp.deserialize(i)
|
2626
|
+
@DeniedActions << deniedaction_tmp
|
2627
|
+
end
|
2628
|
+
end
|
2629
|
+
end
|
2630
|
+
end
|
2631
|
+
|
2632
|
+
# 磁盘价格
|
2633
|
+
class DiskPrice < TencentCloud::Common::AbstractModel
|
2634
|
+
# @param OriginalDiskPrice: 磁盘单价
|
2635
|
+
# @type OriginalDiskPrice: Float
|
2636
|
+
# @param OriginalPrice: 磁盘总价
|
2637
|
+
# @type OriginalPrice: Float
|
2638
|
+
# @param Discount: 折扣
|
2639
|
+
# @type Discount: Float
|
2640
|
+
# @param DiscountPrice: 折后总价
|
2641
|
+
# @type DiscountPrice: Float
|
2642
|
+
|
2643
|
+
attr_accessor :OriginalDiskPrice, :OriginalPrice, :Discount, :DiscountPrice
|
2644
|
+
|
2645
|
+
def initialize(originaldiskprice=nil, originalprice=nil, discount=nil, discountprice=nil)
|
2646
|
+
@OriginalDiskPrice = originaldiskprice
|
2647
|
+
@OriginalPrice = originalprice
|
2648
|
+
@Discount = discount
|
2649
|
+
@DiscountPrice = discountprice
|
2650
|
+
end
|
2651
|
+
|
2652
|
+
def deserialize(params)
|
2653
|
+
@OriginalDiskPrice = params['OriginalDiskPrice']
|
2654
|
+
@OriginalPrice = params['OriginalPrice']
|
2655
|
+
@Discount = params['Discount']
|
2656
|
+
@DiscountPrice = params['DiscountPrice']
|
2657
|
+
end
|
2658
|
+
end
|
2659
|
+
|
2660
|
+
# 可退还磁盘详细信息
|
2661
|
+
class DiskReturnable < TencentCloud::Common::AbstractModel
|
2662
|
+
# @param DiskId: 磁盘ID
|
2663
|
+
# @type DiskId: String
|
2664
|
+
# @param IsReturnable: 磁盘是否可退还。
|
2665
|
+
# @type IsReturnable: Boolean
|
2666
|
+
# @param ReturnFailCode: 实例退还失败错误码。
|
2667
|
+
# @type ReturnFailCode: Integer
|
2668
|
+
# @param ReturnFailMessage: 实例退还失败错误信息。
|
2669
|
+
# @type ReturnFailMessage: String
|
2670
|
+
|
2671
|
+
attr_accessor :DiskId, :IsReturnable, :ReturnFailCode, :ReturnFailMessage
|
2672
|
+
|
2673
|
+
def initialize(diskid=nil, isreturnable=nil, returnfailcode=nil, returnfailmessage=nil)
|
2674
|
+
@DiskId = diskid
|
2675
|
+
@IsReturnable = isreturnable
|
2676
|
+
@ReturnFailCode = returnfailcode
|
2677
|
+
@ReturnFailMessage = returnfailmessage
|
2678
|
+
end
|
2679
|
+
|
2680
|
+
def deserialize(params)
|
2681
|
+
@DiskId = params['DiskId']
|
2682
|
+
@IsReturnable = params['IsReturnable']
|
2683
|
+
@ReturnFailCode = params['ReturnFailCode']
|
2684
|
+
@ReturnFailMessage = params['ReturnFailMessage']
|
2685
|
+
end
|
2686
|
+
end
|
2687
|
+
|
2017
2688
|
# >描述键值对过滤器,用于条件过滤查询。例如过滤名称等
|
2018
2689
|
# > * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
|
2019
2690
|
# > * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
|
@@ -2216,6 +2887,60 @@ module TencentCloud
|
|
2216
2887
|
end
|
2217
2888
|
end
|
2218
2889
|
|
2890
|
+
# InquirePriceCreateDisks请求参数结构体
|
2891
|
+
class InquirePriceCreateDisksRequest < TencentCloud::Common::AbstractModel
|
2892
|
+
# @param DiskSize: 磁盘大小
|
2893
|
+
# @type DiskSize: Integer
|
2894
|
+
# @param DiskType: 硬盘介质类型
|
2895
|
+
# @type DiskType: String
|
2896
|
+
# @param DiskChargePrepaid: 新购磁盘包年包月相关参数设置
|
2897
|
+
# @type DiskChargePrepaid: :class:`Tencentcloud::Lighthouse.v20200324.models.DiskChargePrepaid`
|
2898
|
+
# @param DiskCount: 磁盘个数, 默认值: 1
|
2899
|
+
# @type DiskCount: Integer
|
2900
|
+
|
2901
|
+
attr_accessor :DiskSize, :DiskType, :DiskChargePrepaid, :DiskCount
|
2902
|
+
|
2903
|
+
def initialize(disksize=nil, disktype=nil, diskchargeprepaid=nil, diskcount=nil)
|
2904
|
+
@DiskSize = disksize
|
2905
|
+
@DiskType = disktype
|
2906
|
+
@DiskChargePrepaid = diskchargeprepaid
|
2907
|
+
@DiskCount = diskcount
|
2908
|
+
end
|
2909
|
+
|
2910
|
+
def deserialize(params)
|
2911
|
+
@DiskSize = params['DiskSize']
|
2912
|
+
@DiskType = params['DiskType']
|
2913
|
+
unless params['DiskChargePrepaid'].nil?
|
2914
|
+
@DiskChargePrepaid = DiskChargePrepaid.new
|
2915
|
+
@DiskChargePrepaid.deserialize(params['DiskChargePrepaid'])
|
2916
|
+
end
|
2917
|
+
@DiskCount = params['DiskCount']
|
2918
|
+
end
|
2919
|
+
end
|
2920
|
+
|
2921
|
+
# InquirePriceCreateDisks返回参数结构体
|
2922
|
+
class InquirePriceCreateDisksResponse < TencentCloud::Common::AbstractModel
|
2923
|
+
# @param DiskPrice: 磁盘价格
|
2924
|
+
# @type DiskPrice: :class:`Tencentcloud::Lighthouse.v20200324.models.DiskPrice`
|
2925
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2926
|
+
# @type RequestId: String
|
2927
|
+
|
2928
|
+
attr_accessor :DiskPrice, :RequestId
|
2929
|
+
|
2930
|
+
def initialize(diskprice=nil, requestid=nil)
|
2931
|
+
@DiskPrice = diskprice
|
2932
|
+
@RequestId = requestid
|
2933
|
+
end
|
2934
|
+
|
2935
|
+
def deserialize(params)
|
2936
|
+
unless params['DiskPrice'].nil?
|
2937
|
+
@DiskPrice = DiskPrice.new
|
2938
|
+
@DiskPrice.deserialize(params['DiskPrice'])
|
2939
|
+
end
|
2940
|
+
@RequestId = params['RequestId']
|
2941
|
+
end
|
2942
|
+
end
|
2943
|
+
|
2219
2944
|
# InquirePriceCreateInstances请求参数结构体
|
2220
2945
|
class InquirePriceCreateInstancesRequest < TencentCloud::Common::AbstractModel
|
2221
2946
|
# @param BundleId: 实例的套餐 ID。
|
@@ -2270,6 +2995,52 @@ module TencentCloud
|
|
2270
2995
|
end
|
2271
2996
|
end
|
2272
2997
|
|
2998
|
+
# InquirePriceRenewDisks请求参数结构体
|
2999
|
+
class InquirePriceRenewDisksRequest < TencentCloud::Common::AbstractModel
|
3000
|
+
# @param DiskIds: 磁盘ID列表
|
3001
|
+
# @type DiskIds: Array
|
3002
|
+
# @param RenewDiskChargePrepaid: 续费磁盘包年包月相关参数设置
|
3003
|
+
# @type RenewDiskChargePrepaid: :class:`Tencentcloud::Lighthouse.v20200324.models.RenewDiskChargePrepaid`
|
3004
|
+
|
3005
|
+
attr_accessor :DiskIds, :RenewDiskChargePrepaid
|
3006
|
+
|
3007
|
+
def initialize(diskids=nil, renewdiskchargeprepaid=nil)
|
3008
|
+
@DiskIds = diskids
|
3009
|
+
@RenewDiskChargePrepaid = renewdiskchargeprepaid
|
3010
|
+
end
|
3011
|
+
|
3012
|
+
def deserialize(params)
|
3013
|
+
@DiskIds = params['DiskIds']
|
3014
|
+
unless params['RenewDiskChargePrepaid'].nil?
|
3015
|
+
@RenewDiskChargePrepaid = RenewDiskChargePrepaid.new
|
3016
|
+
@RenewDiskChargePrepaid.deserialize(params['RenewDiskChargePrepaid'])
|
3017
|
+
end
|
3018
|
+
end
|
3019
|
+
end
|
3020
|
+
|
3021
|
+
# InquirePriceRenewDisks返回参数结构体
|
3022
|
+
class InquirePriceRenewDisksResponse < TencentCloud::Common::AbstractModel
|
3023
|
+
# @param DiskPrice: 磁盘价格
|
3024
|
+
# @type DiskPrice: :class:`Tencentcloud::Lighthouse.v20200324.models.DiskPrice`
|
3025
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3026
|
+
# @type RequestId: String
|
3027
|
+
|
3028
|
+
attr_accessor :DiskPrice, :RequestId
|
3029
|
+
|
3030
|
+
def initialize(diskprice=nil, requestid=nil)
|
3031
|
+
@DiskPrice = diskprice
|
3032
|
+
@RequestId = requestid
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
def deserialize(params)
|
3036
|
+
unless params['DiskPrice'].nil?
|
3037
|
+
@DiskPrice = DiskPrice.new
|
3038
|
+
@DiskPrice.deserialize(params['DiskPrice'])
|
3039
|
+
end
|
3040
|
+
@RequestId = params['RequestId']
|
3041
|
+
end
|
3042
|
+
end
|
3043
|
+
|
2273
3044
|
# InquirePriceRenewInstances请求参数结构体
|
2274
3045
|
class InquirePriceRenewInstancesRequest < TencentCloud::Common::AbstractModel
|
2275
3046
|
# @param InstanceIds: 待续费的实例。
|
@@ -2739,6 +3510,78 @@ module TencentCloud
|
|
2739
3510
|
end
|
2740
3511
|
end
|
2741
3512
|
|
3513
|
+
# ModifyDisksAttribute请求参数结构体
|
3514
|
+
class ModifyDisksAttributeRequest < TencentCloud::Common::AbstractModel
|
3515
|
+
# @param DiskIds: 磁盘ID列表
|
3516
|
+
# @type DiskIds: Array
|
3517
|
+
# @param DiskName: 磁盘名称
|
3518
|
+
# @type DiskName: String
|
3519
|
+
|
3520
|
+
attr_accessor :DiskIds, :DiskName
|
3521
|
+
|
3522
|
+
def initialize(diskids=nil, diskname=nil)
|
3523
|
+
@DiskIds = diskids
|
3524
|
+
@DiskName = diskname
|
3525
|
+
end
|
3526
|
+
|
3527
|
+
def deserialize(params)
|
3528
|
+
@DiskIds = params['DiskIds']
|
3529
|
+
@DiskName = params['DiskName']
|
3530
|
+
end
|
3531
|
+
end
|
3532
|
+
|
3533
|
+
# ModifyDisksAttribute返回参数结构体
|
3534
|
+
class ModifyDisksAttributeResponse < TencentCloud::Common::AbstractModel
|
3535
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3536
|
+
# @type RequestId: String
|
3537
|
+
|
3538
|
+
attr_accessor :RequestId
|
3539
|
+
|
3540
|
+
def initialize(requestid=nil)
|
3541
|
+
@RequestId = requestid
|
3542
|
+
end
|
3543
|
+
|
3544
|
+
def deserialize(params)
|
3545
|
+
@RequestId = params['RequestId']
|
3546
|
+
end
|
3547
|
+
end
|
3548
|
+
|
3549
|
+
# ModifyDisksRenewFlag请求参数结构体
|
3550
|
+
class ModifyDisksRenewFlagRequest < TencentCloud::Common::AbstractModel
|
3551
|
+
# @param DiskIds: 磁盘ID列表
|
3552
|
+
# @type DiskIds: Array
|
3553
|
+
# @param RenewFlag: 续费标识
|
3554
|
+
# @type RenewFlag: String
|
3555
|
+
|
3556
|
+
attr_accessor :DiskIds, :RenewFlag
|
3557
|
+
|
3558
|
+
def initialize(diskids=nil, renewflag=nil)
|
3559
|
+
@DiskIds = diskids
|
3560
|
+
@RenewFlag = renewflag
|
3561
|
+
end
|
3562
|
+
|
3563
|
+
def deserialize(params)
|
3564
|
+
@DiskIds = params['DiskIds']
|
3565
|
+
@RenewFlag = params['RenewFlag']
|
3566
|
+
end
|
3567
|
+
end
|
3568
|
+
|
3569
|
+
# ModifyDisksRenewFlag返回参数结构体
|
3570
|
+
class ModifyDisksRenewFlagResponse < TencentCloud::Common::AbstractModel
|
3571
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3572
|
+
# @type RequestId: String
|
3573
|
+
|
3574
|
+
attr_accessor :RequestId
|
3575
|
+
|
3576
|
+
def initialize(requestid=nil)
|
3577
|
+
@RequestId = requestid
|
3578
|
+
end
|
3579
|
+
|
3580
|
+
def deserialize(params)
|
3581
|
+
@RequestId = params['RequestId']
|
3582
|
+
end
|
3583
|
+
end
|
3584
|
+
|
2742
3585
|
# ModifyFirewallRuleDescription请求参数结构体
|
2743
3586
|
class ModifyFirewallRuleDescriptionRequest < TencentCloud::Common::AbstractModel
|
2744
3587
|
# @param InstanceId: 实例 ID。
|
@@ -3076,6 +3919,34 @@ module TencentCloud
|
|
3076
3919
|
end
|
3077
3920
|
end
|
3078
3921
|
|
3922
|
+
# 续费磁盘包年包月相关参数设置
|
3923
|
+
class RenewDiskChargePrepaid < TencentCloud::Common::AbstractModel
|
3924
|
+
# @param Period: 新购周期
|
3925
|
+
# @type Period: Integer
|
3926
|
+
# @param RenewFlag: 续费标识
|
3927
|
+
# @type RenewFlag: String
|
3928
|
+
# @param TimeUnit: 周期单位. 默认值: "m"
|
3929
|
+
# @type TimeUnit: String
|
3930
|
+
# @param CurInstanceDeadline: 当前实例到期时间
|
3931
|
+
# @type CurInstanceDeadline: String
|
3932
|
+
|
3933
|
+
attr_accessor :Period, :RenewFlag, :TimeUnit, :CurInstanceDeadline
|
3934
|
+
|
3935
|
+
def initialize(period=nil, renewflag=nil, timeunit=nil, curinstancedeadline=nil)
|
3936
|
+
@Period = period
|
3937
|
+
@RenewFlag = renewflag
|
3938
|
+
@TimeUnit = timeunit
|
3939
|
+
@CurInstanceDeadline = curinstancedeadline
|
3940
|
+
end
|
3941
|
+
|
3942
|
+
def deserialize(params)
|
3943
|
+
@Period = params['Period']
|
3944
|
+
@RenewFlag = params['RenewFlag']
|
3945
|
+
@TimeUnit = params['TimeUnit']
|
3946
|
+
@CurInstanceDeadline = params['CurInstanceDeadline']
|
3947
|
+
end
|
3948
|
+
end
|
3949
|
+
|
3079
3950
|
# ResetAttachCcn请求参数结构体
|
3080
3951
|
class ResetAttachCcnRequest < TencentCloud::Common::AbstractModel
|
3081
3952
|
# @param CcnId: 云联网实例ID。
|
@@ -3461,6 +4332,38 @@ module TencentCloud
|
|
3461
4332
|
end
|
3462
4333
|
end
|
3463
4334
|
|
4335
|
+
# TerminateDisks请求参数结构体
|
4336
|
+
class TerminateDisksRequest < TencentCloud::Common::AbstractModel
|
4337
|
+
# @param DiskIds: 磁盘ID列表
|
4338
|
+
# @type DiskIds: Array
|
4339
|
+
|
4340
|
+
attr_accessor :DiskIds
|
4341
|
+
|
4342
|
+
def initialize(diskids=nil)
|
4343
|
+
@DiskIds = diskids
|
4344
|
+
end
|
4345
|
+
|
4346
|
+
def deserialize(params)
|
4347
|
+
@DiskIds = params['DiskIds']
|
4348
|
+
end
|
4349
|
+
end
|
4350
|
+
|
4351
|
+
# TerminateDisks返回参数结构体
|
4352
|
+
class TerminateDisksResponse < TencentCloud::Common::AbstractModel
|
4353
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4354
|
+
# @type RequestId: String
|
4355
|
+
|
4356
|
+
attr_accessor :RequestId
|
4357
|
+
|
4358
|
+
def initialize(requestid=nil)
|
4359
|
+
@RequestId = requestid
|
4360
|
+
end
|
4361
|
+
|
4362
|
+
def deserialize(params)
|
4363
|
+
@RequestId = params['RequestId']
|
4364
|
+
end
|
4365
|
+
end
|
4366
|
+
|
3464
4367
|
# TerminateInstances请求参数结构体
|
3465
4368
|
class TerminateInstancesRequest < TencentCloud::Common::AbstractModel
|
3466
4369
|
# @param InstanceIds: 实例ID列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lighthouse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.225
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|