tencentcloud-sdk-lighthouse 1.0.226 → 1.0.227
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 +2 -2
- data/lib/v20200324/models.rb +66 -12
- 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: 9cb93f19a992092d0eec2abfe8c4abafcd60fced
|
4
|
+
data.tar.gz: 061833faf6abfaddc7f80241fce8bec44b61b56a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9effeb30d182149435179c057b6ec2f07053ee922f83b6ee4cbbe01ff6c7aa70f9133d421029bab7336b7f1e42ffa55f59a40fa1b3c816a5864a7b92c9a0e421
|
7
|
+
data.tar.gz: 20eb257a9ded53b2a0ae052384784e9d7a23309f093e81f368dcb5ea5c5b1fa89404454855340f17f0de5bbf61f6666136b34700bea846afa8cd3c12e2a3d01d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.227
|
data/lib/v20200324/client.rb
CHANGED
@@ -466,7 +466,7 @@ module TencentCloud
|
|
466
466
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
467
467
|
end
|
468
468
|
|
469
|
-
# 本接口(DescribeDiskConfigs
|
469
|
+
# 本接口(DescribeDiskConfigs)用于查询云硬盘配置。
|
470
470
|
|
471
471
|
# @param request: Request instance for DescribeDiskConfigs.
|
472
472
|
# @type request: :class:`Tencentcloud::lighthouse::V20200324::DescribeDiskConfigsRequest`
|
@@ -1130,7 +1130,7 @@ module TencentCloud
|
|
1130
1130
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1131
1131
|
end
|
1132
1132
|
|
1133
|
-
# 本接口(InquirePriceCreateDisks
|
1133
|
+
# 本接口(InquirePriceCreateDisks)用于新购云硬盘询价。
|
1134
1134
|
|
1135
1135
|
# @param request: Request instance for InquirePriceCreateDisks.
|
1136
1136
|
# @type request: :class:`Tencentcloud::lighthouse::V20200324::InquirePriceCreateDisksRequest`
|
data/lib/v20200324/models.rb
CHANGED
@@ -618,6 +618,38 @@ module TencentCloud
|
|
618
618
|
end
|
619
619
|
end
|
620
620
|
|
621
|
+
# 数据盘价格
|
622
|
+
class DataDiskPrice < TencentCloud::Common::AbstractModel
|
623
|
+
# @param DiskId: 云硬盘ID。
|
624
|
+
# @type DiskId: String
|
625
|
+
# @param OriginalDiskPrice: 云硬盘单价。
|
626
|
+
# @type OriginalDiskPrice: Float
|
627
|
+
# @param OriginalPrice: 云硬盘总价。
|
628
|
+
# @type OriginalPrice: Float
|
629
|
+
# @param Discount: 折扣。
|
630
|
+
# @type Discount: Float
|
631
|
+
# @param DiscountPrice: 折后总价。
|
632
|
+
# @type DiscountPrice: Float
|
633
|
+
|
634
|
+
attr_accessor :DiskId, :OriginalDiskPrice, :OriginalPrice, :Discount, :DiscountPrice
|
635
|
+
|
636
|
+
def initialize(diskid=nil, originaldiskprice=nil, originalprice=nil, discount=nil, discountprice=nil)
|
637
|
+
@DiskId = diskid
|
638
|
+
@OriginalDiskPrice = originaldiskprice
|
639
|
+
@OriginalPrice = originalprice
|
640
|
+
@Discount = discount
|
641
|
+
@DiscountPrice = discountprice
|
642
|
+
end
|
643
|
+
|
644
|
+
def deserialize(params)
|
645
|
+
@DiskId = params['DiskId']
|
646
|
+
@OriginalDiskPrice = params['OriginalDiskPrice']
|
647
|
+
@OriginalPrice = params['OriginalPrice']
|
648
|
+
@Discount = params['Discount']
|
649
|
+
@DiscountPrice = params['DiscountPrice']
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
621
653
|
# DeleteBlueprints请求参数结构体
|
622
654
|
class DeleteBlueprintsRequest < TencentCloud::Common::AbstractModel
|
623
655
|
# @param BlueprintIds: 镜像ID列表。镜像ID,可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
|
@@ -1083,8 +1115,10 @@ module TencentCloud
|
|
1083
1115
|
|
1084
1116
|
# DescribeDiskConfigs请求参数结构体
|
1085
1117
|
class DescribeDiskConfigsRequest < TencentCloud::Common::AbstractModel
|
1086
|
-
# @param Filters:
|
1087
|
-
#
|
1118
|
+
# @param Filters: 过滤器列表。
|
1119
|
+
# <li>zone</li>按照【可用区】进行过滤。
|
1120
|
+
# 类型:String
|
1121
|
+
# 必选:否
|
1088
1122
|
# @type Filters: Array
|
1089
1123
|
|
1090
1124
|
attr_accessor :Filters
|
@@ -1107,7 +1141,7 @@ module TencentCloud
|
|
1107
1141
|
|
1108
1142
|
# DescribeDiskConfigs返回参数结构体
|
1109
1143
|
class DescribeDiskConfigsResponse < TencentCloud::Common::AbstractModel
|
1110
|
-
# @param DiskConfigSet:
|
1144
|
+
# @param DiskConfigSet: 云硬盘配置列表。
|
1111
1145
|
# @type DiskConfigSet: Array
|
1112
1146
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1113
1147
|
# @type RequestId: String
|
@@ -2889,13 +2923,13 @@ module TencentCloud
|
|
2889
2923
|
|
2890
2924
|
# InquirePriceCreateDisks请求参数结构体
|
2891
2925
|
class InquirePriceCreateDisksRequest < TencentCloud::Common::AbstractModel
|
2892
|
-
# @param DiskSize:
|
2926
|
+
# @param DiskSize: 云硬盘大小, 单位: GB。
|
2893
2927
|
# @type DiskSize: Integer
|
2894
|
-
# @param DiskType:
|
2928
|
+
# @param DiskType: 云硬盘介质类型。取值: "CLOUD_PREMIUM"(高性能云盘), "CLOUD_SSD"(SSD云硬盘)。
|
2895
2929
|
# @type DiskType: String
|
2896
|
-
# @param DiskChargePrepaid:
|
2930
|
+
# @param DiskChargePrepaid: 新购云硬盘包年包月相关参数设置。
|
2897
2931
|
# @type DiskChargePrepaid: :class:`Tencentcloud::Lighthouse.v20200324.models.DiskChargePrepaid`
|
2898
|
-
# @param DiskCount:
|
2932
|
+
# @param DiskCount: 云硬盘个数, 默认值: 1。
|
2899
2933
|
# @type DiskCount: Integer
|
2900
2934
|
|
2901
2935
|
attr_accessor :DiskSize, :DiskType, :DiskChargePrepaid, :DiskCount
|
@@ -2920,7 +2954,7 @@ module TencentCloud
|
|
2920
2954
|
|
2921
2955
|
# InquirePriceCreateDisks返回参数结构体
|
2922
2956
|
class InquirePriceCreateDisksResponse < TencentCloud::Common::AbstractModel
|
2923
|
-
# @param DiskPrice:
|
2957
|
+
# @param DiskPrice: 云硬盘价格。
|
2924
2958
|
# @type DiskPrice: :class:`Tencentcloud::Lighthouse.v20200324.models.DiskPrice`
|
2925
2959
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2926
2960
|
# @type RequestId: String
|
@@ -3047,12 +3081,18 @@ module TencentCloud
|
|
3047
3081
|
# @type InstanceIds: Array
|
3048
3082
|
# @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
3049
3083
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Lighthouse.v20200324.models.InstanceChargePrepaid`
|
3084
|
+
# @param RenewDataDisk: 是否续费数据盘
|
3085
|
+
# @type RenewDataDisk: Boolean
|
3086
|
+
# @param AlignInstanceExpiredTime: 数据盘是否对齐实例到期时间
|
3087
|
+
# @type AlignInstanceExpiredTime: Boolean
|
3050
3088
|
|
3051
|
-
attr_accessor :InstanceIds, :InstanceChargePrepaid
|
3089
|
+
attr_accessor :InstanceIds, :InstanceChargePrepaid, :RenewDataDisk, :AlignInstanceExpiredTime
|
3052
3090
|
|
3053
|
-
def initialize(instanceids=nil, instancechargeprepaid=nil)
|
3091
|
+
def initialize(instanceids=nil, instancechargeprepaid=nil, renewdatadisk=nil, aligninstanceexpiredtime=nil)
|
3054
3092
|
@InstanceIds = instanceids
|
3055
3093
|
@InstanceChargePrepaid = instancechargeprepaid
|
3094
|
+
@RenewDataDisk = renewdatadisk
|
3095
|
+
@AlignInstanceExpiredTime = aligninstanceexpiredtime
|
3056
3096
|
end
|
3057
3097
|
|
3058
3098
|
def deserialize(params)
|
@@ -3061,6 +3101,8 @@ module TencentCloud
|
|
3061
3101
|
@InstanceChargePrepaid = InstanceChargePrepaid.new
|
3062
3102
|
@InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid'])
|
3063
3103
|
end
|
3104
|
+
@RenewDataDisk = params['RenewDataDisk']
|
3105
|
+
@AlignInstanceExpiredTime = params['AlignInstanceExpiredTime']
|
3064
3106
|
end
|
3065
3107
|
end
|
3066
3108
|
|
@@ -3068,13 +3110,17 @@ module TencentCloud
|
|
3068
3110
|
class InquirePriceRenewInstancesResponse < TencentCloud::Common::AbstractModel
|
3069
3111
|
# @param Price: 询价信息。
|
3070
3112
|
# @type Price: :class:`Tencentcloud::Lighthouse.v20200324.models.Price`
|
3113
|
+
# @param DataDiskPriceSet: 数据盘价格信息列表。
|
3114
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3115
|
+
# @type DataDiskPriceSet: Array
|
3071
3116
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3072
3117
|
# @type RequestId: String
|
3073
3118
|
|
3074
|
-
attr_accessor :Price, :RequestId
|
3119
|
+
attr_accessor :Price, :DataDiskPriceSet, :RequestId
|
3075
3120
|
|
3076
|
-
def initialize(price=nil, requestid=nil)
|
3121
|
+
def initialize(price=nil, datadiskpriceset=nil, requestid=nil)
|
3077
3122
|
@Price = price
|
3123
|
+
@DataDiskPriceSet = datadiskpriceset
|
3078
3124
|
@RequestId = requestid
|
3079
3125
|
end
|
3080
3126
|
|
@@ -3083,6 +3129,14 @@ module TencentCloud
|
|
3083
3129
|
@Price = Price.new
|
3084
3130
|
@Price.deserialize(params['Price'])
|
3085
3131
|
end
|
3132
|
+
unless params['DataDiskPriceSet'].nil?
|
3133
|
+
@DataDiskPriceSet = []
|
3134
|
+
params['DataDiskPriceSet'].each do |i|
|
3135
|
+
datadiskprice_tmp = DataDiskPrice.new
|
3136
|
+
datadiskprice_tmp.deserialize(i)
|
3137
|
+
@DataDiskPriceSet << datadiskprice_tmp
|
3138
|
+
end
|
3139
|
+
end
|
3086
3140
|
@RequestId = params['RequestId']
|
3087
3141
|
end
|
3088
3142
|
end
|
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.227
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|