tencentcloud-sdk-tke 1.0.289 → 1.0.290
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/v20180525/client.rb +96 -0
- data/lib/v20180525/models.rb +348 -0
- 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: a57cbff9e7510e5fda1257b53efbe0630b8a3143
|
4
|
+
data.tar.gz: 0106192ce9fa64f5e329ed09baf174e0a588fd75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2702c93265a78be85d63d10b8202ae8fbc825cd96fa5cc7ec05a02fe335395e1d7bd190a7a2ed2940b5a90f9dc25e9594dd0dcc628fc07315e08de354a85b7db
|
7
|
+
data.tar.gz: 62d9a6e411842c5ea950fa7ca9317011a8fc99069e9e331cccaec16a1e42f55dc2a2e38de60f9b91b87003f8cf8b0a43b62f9d48d5ab4b5b92641be5f65a925c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.290
|
data/lib/v20180525/client.rb
CHANGED
@@ -1109,6 +1109,54 @@ module TencentCloud
|
|
1109
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
1110
|
end
|
1111
1111
|
|
1112
|
+
# 获取集群规模
|
1113
|
+
|
1114
|
+
# @param request: Request instance for DescribeClusterLevelAttribute.
|
1115
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterLevelAttributeRequest`
|
1116
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterLevelAttributeResponse`
|
1117
|
+
def DescribeClusterLevelAttribute(request)
|
1118
|
+
body = send_request('DescribeClusterLevelAttribute', request.serialize)
|
1119
|
+
response = JSON.parse(body)
|
1120
|
+
if response['Response'].key?('Error') == false
|
1121
|
+
model = DescribeClusterLevelAttributeResponse.new
|
1122
|
+
model.deserialize(response['Response'])
|
1123
|
+
model
|
1124
|
+
else
|
1125
|
+
code = response['Response']['Error']['Code']
|
1126
|
+
message = response['Response']['Error']['Message']
|
1127
|
+
reqid = response['Response']['RequestId']
|
1128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1129
|
+
end
|
1130
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1131
|
+
raise e
|
1132
|
+
rescue StandardError => e
|
1133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# 查询集群变配记录
|
1137
|
+
|
1138
|
+
# @param request: Request instance for DescribeClusterLevelChangeRecords.
|
1139
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterLevelChangeRecordsRequest`
|
1140
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterLevelChangeRecordsResponse`
|
1141
|
+
def DescribeClusterLevelChangeRecords(request)
|
1142
|
+
body = send_request('DescribeClusterLevelChangeRecords', request.serialize)
|
1143
|
+
response = JSON.parse(body)
|
1144
|
+
if response['Response'].key?('Error') == false
|
1145
|
+
model = DescribeClusterLevelChangeRecordsResponse.new
|
1146
|
+
model.deserialize(response['Response'])
|
1147
|
+
model
|
1148
|
+
else
|
1149
|
+
code = response['Response']['Error']['Code']
|
1150
|
+
message = response['Response']['Error']['Message']
|
1151
|
+
reqid = response['Response']['RequestId']
|
1152
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1153
|
+
end
|
1154
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1155
|
+
raise e
|
1156
|
+
rescue StandardError => e
|
1157
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
|
+
end
|
1159
|
+
|
1112
1160
|
# 查询节点池详情
|
1113
1161
|
|
1114
1162
|
# @param request: Request instance for DescribeClusterNodePoolDetail.
|
@@ -1781,6 +1829,30 @@ module TencentCloud
|
|
1781
1829
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1782
1830
|
end
|
1783
1831
|
|
1832
|
+
# 获取集群资源使用量
|
1833
|
+
|
1834
|
+
# @param request: Request instance for DescribeResourceUsage.
|
1835
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeResourceUsageRequest`
|
1836
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeResourceUsageResponse`
|
1837
|
+
def DescribeResourceUsage(request)
|
1838
|
+
body = send_request('DescribeResourceUsage', request.serialize)
|
1839
|
+
response = JSON.parse(body)
|
1840
|
+
if response['Response'].key?('Error') == false
|
1841
|
+
model = DescribeResourceUsageResponse.new
|
1842
|
+
model.deserialize(response['Response'])
|
1843
|
+
model
|
1844
|
+
else
|
1845
|
+
code = response['Response']['Error']['Code']
|
1846
|
+
message = response['Response']['Error']['Message']
|
1847
|
+
reqid = response['Response']['RequestId']
|
1848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1849
|
+
end
|
1850
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1851
|
+
raise e
|
1852
|
+
rescue StandardError => e
|
1853
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
|
+
end
|
1855
|
+
|
1784
1856
|
# 查询路由表冲突列表
|
1785
1857
|
|
1786
1858
|
# @param request: Request instance for DescribeRouteTableConflicts.
|
@@ -1997,6 +2069,30 @@ module TencentCloud
|
|
1997
2069
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1998
2070
|
end
|
1999
2071
|
|
2072
|
+
# 获取集群规模价格
|
2073
|
+
|
2074
|
+
# @param request: Request instance for GetClusterLevelPrice.
|
2075
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::GetClusterLevelPriceRequest`
|
2076
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::GetClusterLevelPriceResponse`
|
2077
|
+
def GetClusterLevelPrice(request)
|
2078
|
+
body = send_request('GetClusterLevelPrice', request.serialize)
|
2079
|
+
response = JSON.parse(body)
|
2080
|
+
if response['Response'].key?('Error') == false
|
2081
|
+
model = GetClusterLevelPriceResponse.new
|
2082
|
+
model.deserialize(response['Response'])
|
2083
|
+
model
|
2084
|
+
else
|
2085
|
+
code = response['Response']['Error']['Code']
|
2086
|
+
message = response['Response']['Error']['Message']
|
2087
|
+
reqid = response['Response']['RequestId']
|
2088
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2089
|
+
end
|
2090
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2091
|
+
raise e
|
2092
|
+
rescue StandardError => e
|
2093
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2094
|
+
end
|
2095
|
+
|
2000
2096
|
# 根据镜像列表,查询匹配的镜像缓存
|
2001
2097
|
|
2002
2098
|
# @param request: Request instance for GetMostSuitableImageCache.
|
data/lib/v20180525/models.rb
CHANGED
@@ -1015,6 +1015,99 @@ module TencentCloud
|
|
1015
1015
|
end
|
1016
1016
|
end
|
1017
1017
|
|
1018
|
+
# 托管集群等级属性
|
1019
|
+
class ClusterLevelAttribute < TencentCloud::Common::AbstractModel
|
1020
|
+
# @param Name: 集群等级
|
1021
|
+
# @type Name: String
|
1022
|
+
# @param Alias: 等级名称
|
1023
|
+
# @type Alias: String
|
1024
|
+
# @param NodeCount: 节点数量
|
1025
|
+
# @type NodeCount: Integer
|
1026
|
+
# @param PodCount: Pod数量
|
1027
|
+
# @type PodCount: Integer
|
1028
|
+
# @param ConfigMapCount: Configmap数量
|
1029
|
+
# @type ConfigMapCount: Integer
|
1030
|
+
# @param CRDCount: CRD数量
|
1031
|
+
# @type CRDCount: Integer
|
1032
|
+
# @param Enable: 是否启用
|
1033
|
+
# @type Enable: Boolean
|
1034
|
+
# @param OtherCount: 其他资源数量
|
1035
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1036
|
+
# @type OtherCount: Integer
|
1037
|
+
|
1038
|
+
attr_accessor :Name, :Alias, :NodeCount, :PodCount, :ConfigMapCount, :CRDCount, :Enable, :OtherCount
|
1039
|
+
|
1040
|
+
def initialize(name=nil, _alias=nil, nodecount=nil, podcount=nil, configmapcount=nil, crdcount=nil, enable=nil, othercount=nil)
|
1041
|
+
@Name = name
|
1042
|
+
@Alias = _alias
|
1043
|
+
@NodeCount = nodecount
|
1044
|
+
@PodCount = podcount
|
1045
|
+
@ConfigMapCount = configmapcount
|
1046
|
+
@CRDCount = crdcount
|
1047
|
+
@Enable = enable
|
1048
|
+
@OtherCount = othercount
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
def deserialize(params)
|
1052
|
+
@Name = params['Name']
|
1053
|
+
@Alias = params['Alias']
|
1054
|
+
@NodeCount = params['NodeCount']
|
1055
|
+
@PodCount = params['PodCount']
|
1056
|
+
@ConfigMapCount = params['ConfigMapCount']
|
1057
|
+
@CRDCount = params['CRDCount']
|
1058
|
+
@Enable = params['Enable']
|
1059
|
+
@OtherCount = params['OtherCount']
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
# 集群等级变配记录
|
1064
|
+
class ClusterLevelChangeRecord < TencentCloud::Common::AbstractModel
|
1065
|
+
# @param ID: 记录ID
|
1066
|
+
# @type ID: String
|
1067
|
+
# @param ClusterID: 集群ID
|
1068
|
+
# @type ClusterID: String
|
1069
|
+
# @param Status: 变配状态:trading 发货中,upgrading 变配中,success 变配成功,failed 变配失败。
|
1070
|
+
# @type Status: String
|
1071
|
+
# @param Message: 状态描述
|
1072
|
+
# @type Message: String
|
1073
|
+
# @param OldLevel: 变配前规模
|
1074
|
+
# @type OldLevel: String
|
1075
|
+
# @param NewLevel: 变配后规模
|
1076
|
+
# @type NewLevel: String
|
1077
|
+
# @param TriggerType: 变配触发类型:manual 手动,auto 自动
|
1078
|
+
# @type TriggerType: String
|
1079
|
+
# @param StartedAt: 开始时间
|
1080
|
+
# @type StartedAt: String
|
1081
|
+
# @param EndedAt: 结束时间
|
1082
|
+
# @type EndedAt: String
|
1083
|
+
|
1084
|
+
attr_accessor :ID, :ClusterID, :Status, :Message, :OldLevel, :NewLevel, :TriggerType, :StartedAt, :EndedAt
|
1085
|
+
|
1086
|
+
def initialize(id=nil, clusterid=nil, status=nil, message=nil, oldlevel=nil, newlevel=nil, triggertype=nil, startedat=nil, endedat=nil)
|
1087
|
+
@ID = id
|
1088
|
+
@ClusterID = clusterid
|
1089
|
+
@Status = status
|
1090
|
+
@Message = message
|
1091
|
+
@OldLevel = oldlevel
|
1092
|
+
@NewLevel = newlevel
|
1093
|
+
@TriggerType = triggertype
|
1094
|
+
@StartedAt = startedat
|
1095
|
+
@EndedAt = endedat
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
def deserialize(params)
|
1099
|
+
@ID = params['ID']
|
1100
|
+
@ClusterID = params['ClusterID']
|
1101
|
+
@Status = params['Status']
|
1102
|
+
@Message = params['Message']
|
1103
|
+
@OldLevel = params['OldLevel']
|
1104
|
+
@NewLevel = params['NewLevel']
|
1105
|
+
@TriggerType = params['TriggerType']
|
1106
|
+
@StartedAt = params['StartedAt']
|
1107
|
+
@EndedAt = params['EndedAt']
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
|
1018
1111
|
# 集群网络相关的参数
|
1019
1112
|
class ClusterNetworkSettings < TencentCloud::Common::AbstractModel
|
1020
1113
|
# @param ClusterCIDR: 用于分配集群容器和服务 IP 的 CIDR,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突
|
@@ -3479,6 +3572,116 @@ module TencentCloud
|
|
3479
3572
|
end
|
3480
3573
|
end
|
3481
3574
|
|
3575
|
+
# DescribeClusterLevelAttribute请求参数结构体
|
3576
|
+
class DescribeClusterLevelAttributeRequest < TencentCloud::Common::AbstractModel
|
3577
|
+
# @param ClusterID: 集群ID,变配时使用
|
3578
|
+
# @type ClusterID: String
|
3579
|
+
|
3580
|
+
attr_accessor :ClusterID
|
3581
|
+
|
3582
|
+
def initialize(clusterid=nil)
|
3583
|
+
@ClusterID = clusterid
|
3584
|
+
end
|
3585
|
+
|
3586
|
+
def deserialize(params)
|
3587
|
+
@ClusterID = params['ClusterID']
|
3588
|
+
end
|
3589
|
+
end
|
3590
|
+
|
3591
|
+
# DescribeClusterLevelAttribute返回参数结构体
|
3592
|
+
class DescribeClusterLevelAttributeResponse < TencentCloud::Common::AbstractModel
|
3593
|
+
# @param TotalCount: 总数
|
3594
|
+
# @type TotalCount: Integer
|
3595
|
+
# @param Items: 集群规模
|
3596
|
+
# @type Items: Array
|
3597
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3598
|
+
# @type RequestId: String
|
3599
|
+
|
3600
|
+
attr_accessor :TotalCount, :Items, :RequestId
|
3601
|
+
|
3602
|
+
def initialize(totalcount=nil, items=nil, requestid=nil)
|
3603
|
+
@TotalCount = totalcount
|
3604
|
+
@Items = items
|
3605
|
+
@RequestId = requestid
|
3606
|
+
end
|
3607
|
+
|
3608
|
+
def deserialize(params)
|
3609
|
+
@TotalCount = params['TotalCount']
|
3610
|
+
unless params['Items'].nil?
|
3611
|
+
@Items = []
|
3612
|
+
params['Items'].each do |i|
|
3613
|
+
clusterlevelattribute_tmp = ClusterLevelAttribute.new
|
3614
|
+
clusterlevelattribute_tmp.deserialize(i)
|
3615
|
+
@Items << clusterlevelattribute_tmp
|
3616
|
+
end
|
3617
|
+
end
|
3618
|
+
@RequestId = params['RequestId']
|
3619
|
+
end
|
3620
|
+
end
|
3621
|
+
|
3622
|
+
# DescribeClusterLevelChangeRecords请求参数结构体
|
3623
|
+
class DescribeClusterLevelChangeRecordsRequest < TencentCloud::Common::AbstractModel
|
3624
|
+
# @param ClusterID: 集群ID
|
3625
|
+
# @type ClusterID: String
|
3626
|
+
# @param StartAt: 开始时间
|
3627
|
+
# @type StartAt: String
|
3628
|
+
# @param EndAt: 结束时间
|
3629
|
+
# @type EndAt: String
|
3630
|
+
# @param Offset: 偏移量,默认0
|
3631
|
+
# @type Offset: Integer
|
3632
|
+
# @param Limit: 最大输出条数,默认20
|
3633
|
+
# @type Limit: Integer
|
3634
|
+
|
3635
|
+
attr_accessor :ClusterID, :StartAt, :EndAt, :Offset, :Limit
|
3636
|
+
|
3637
|
+
def initialize(clusterid=nil, startat=nil, endat=nil, offset=nil, limit=nil)
|
3638
|
+
@ClusterID = clusterid
|
3639
|
+
@StartAt = startat
|
3640
|
+
@EndAt = endat
|
3641
|
+
@Offset = offset
|
3642
|
+
@Limit = limit
|
3643
|
+
end
|
3644
|
+
|
3645
|
+
def deserialize(params)
|
3646
|
+
@ClusterID = params['ClusterID']
|
3647
|
+
@StartAt = params['StartAt']
|
3648
|
+
@EndAt = params['EndAt']
|
3649
|
+
@Offset = params['Offset']
|
3650
|
+
@Limit = params['Limit']
|
3651
|
+
end
|
3652
|
+
end
|
3653
|
+
|
3654
|
+
# DescribeClusterLevelChangeRecords返回参数结构体
|
3655
|
+
class DescribeClusterLevelChangeRecordsResponse < TencentCloud::Common::AbstractModel
|
3656
|
+
# @param TotalCount: 总数
|
3657
|
+
# @type TotalCount: Integer
|
3658
|
+
# @param Items: 集群规模
|
3659
|
+
# @type Items: Array
|
3660
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3661
|
+
# @type RequestId: String
|
3662
|
+
|
3663
|
+
attr_accessor :TotalCount, :Items, :RequestId
|
3664
|
+
|
3665
|
+
def initialize(totalcount=nil, items=nil, requestid=nil)
|
3666
|
+
@TotalCount = totalcount
|
3667
|
+
@Items = items
|
3668
|
+
@RequestId = requestid
|
3669
|
+
end
|
3670
|
+
|
3671
|
+
def deserialize(params)
|
3672
|
+
@TotalCount = params['TotalCount']
|
3673
|
+
unless params['Items'].nil?
|
3674
|
+
@Items = []
|
3675
|
+
params['Items'].each do |i|
|
3676
|
+
clusterlevelchangerecord_tmp = ClusterLevelChangeRecord.new
|
3677
|
+
clusterlevelchangerecord_tmp.deserialize(i)
|
3678
|
+
@Items << clusterlevelchangerecord_tmp
|
3679
|
+
end
|
3680
|
+
end
|
3681
|
+
@RequestId = params['RequestId']
|
3682
|
+
end
|
3683
|
+
end
|
3684
|
+
|
3482
3685
|
# DescribeClusterNodePoolDetail请求参数结构体
|
3483
3686
|
class DescribeClusterNodePoolDetailRequest < TencentCloud::Common::AbstractModel
|
3484
3687
|
# @param ClusterId: 集群id
|
@@ -5180,6 +5383,60 @@ module TencentCloud
|
|
5180
5383
|
end
|
5181
5384
|
end
|
5182
5385
|
|
5386
|
+
# DescribeResourceUsage请求参数结构体
|
5387
|
+
class DescribeResourceUsageRequest < TencentCloud::Common::AbstractModel
|
5388
|
+
# @param ClusterId: 集群ID
|
5389
|
+
# @type ClusterId: String
|
5390
|
+
|
5391
|
+
attr_accessor :ClusterId
|
5392
|
+
|
5393
|
+
def initialize(clusterid=nil)
|
5394
|
+
@ClusterId = clusterid
|
5395
|
+
end
|
5396
|
+
|
5397
|
+
def deserialize(params)
|
5398
|
+
@ClusterId = params['ClusterId']
|
5399
|
+
end
|
5400
|
+
end
|
5401
|
+
|
5402
|
+
# DescribeResourceUsage返回参数结构体
|
5403
|
+
class DescribeResourceUsageResponse < TencentCloud::Common::AbstractModel
|
5404
|
+
# @param CRDUsage: CRD使用量
|
5405
|
+
# @type CRDUsage: :class:`Tencentcloud::Tke.v20180525.models.ResourceUsage`
|
5406
|
+
# @param PodUsage: Pod使用量
|
5407
|
+
# @type PodUsage: Integer
|
5408
|
+
# @param ConfigMapUsage: ConfigMap使用量
|
5409
|
+
# @type ConfigMapUsage: Integer
|
5410
|
+
# @param OtherUsage: 其他资源使用量
|
5411
|
+
# @type OtherUsage: :class:`Tencentcloud::Tke.v20180525.models.ResourceUsage`
|
5412
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5413
|
+
# @type RequestId: String
|
5414
|
+
|
5415
|
+
attr_accessor :CRDUsage, :PodUsage, :ConfigMapUsage, :OtherUsage, :RequestId
|
5416
|
+
|
5417
|
+
def initialize(crdusage=nil, podusage=nil, configmapusage=nil, otherusage=nil, requestid=nil)
|
5418
|
+
@CRDUsage = crdusage
|
5419
|
+
@PodUsage = podusage
|
5420
|
+
@ConfigMapUsage = configmapusage
|
5421
|
+
@OtherUsage = otherusage
|
5422
|
+
@RequestId = requestid
|
5423
|
+
end
|
5424
|
+
|
5425
|
+
def deserialize(params)
|
5426
|
+
unless params['CRDUsage'].nil?
|
5427
|
+
@CRDUsage = ResourceUsage.new
|
5428
|
+
@CRDUsage.deserialize(params['CRDUsage'])
|
5429
|
+
end
|
5430
|
+
@PodUsage = params['PodUsage']
|
5431
|
+
@ConfigMapUsage = params['ConfigMapUsage']
|
5432
|
+
unless params['OtherUsage'].nil?
|
5433
|
+
@OtherUsage = ResourceUsage.new
|
5434
|
+
@OtherUsage.deserialize(params['OtherUsage'])
|
5435
|
+
end
|
5436
|
+
@RequestId = params['RequestId']
|
5437
|
+
end
|
5438
|
+
end
|
5439
|
+
|
5183
5440
|
# DescribeRouteTableConflicts请求参数结构体
|
5184
5441
|
class DescribeRouteTableConflictsRequest < TencentCloud::Common::AbstractModel
|
5185
5442
|
# @param RouteTableCidrBlock: 路由表CIDR
|
@@ -6240,6 +6497,46 @@ module TencentCloud
|
|
6240
6497
|
end
|
6241
6498
|
end
|
6242
6499
|
|
6500
|
+
# GetClusterLevelPrice请求参数结构体
|
6501
|
+
class GetClusterLevelPriceRequest < TencentCloud::Common::AbstractModel
|
6502
|
+
# @param ClusterLevel: 集群规格,托管集群询价
|
6503
|
+
# @type ClusterLevel: String
|
6504
|
+
|
6505
|
+
attr_accessor :ClusterLevel
|
6506
|
+
|
6507
|
+
def initialize(clusterlevel=nil)
|
6508
|
+
@ClusterLevel = clusterlevel
|
6509
|
+
end
|
6510
|
+
|
6511
|
+
def deserialize(params)
|
6512
|
+
@ClusterLevel = params['ClusterLevel']
|
6513
|
+
end
|
6514
|
+
end
|
6515
|
+
|
6516
|
+
# GetClusterLevelPrice返回参数结构体
|
6517
|
+
class GetClusterLevelPriceResponse < TencentCloud::Common::AbstractModel
|
6518
|
+
# @param Cost: 询价结果,单位:分,打折后
|
6519
|
+
# @type Cost: Integer
|
6520
|
+
# @param TotalCost: 询价结果,单位:分,折扣前
|
6521
|
+
# @type TotalCost: Integer
|
6522
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6523
|
+
# @type RequestId: String
|
6524
|
+
|
6525
|
+
attr_accessor :Cost, :TotalCost, :RequestId
|
6526
|
+
|
6527
|
+
def initialize(cost=nil, totalcost=nil, requestid=nil)
|
6528
|
+
@Cost = cost
|
6529
|
+
@TotalCost = totalcost
|
6530
|
+
@RequestId = requestid
|
6531
|
+
end
|
6532
|
+
|
6533
|
+
def deserialize(params)
|
6534
|
+
@Cost = params['Cost']
|
6535
|
+
@TotalCost = params['TotalCost']
|
6536
|
+
@RequestId = params['RequestId']
|
6537
|
+
end
|
6538
|
+
end
|
6539
|
+
|
6243
6540
|
# GetMostSuitableImageCache请求参数结构体
|
6244
6541
|
class GetMostSuitableImageCacheRequest < TencentCloud::Common::AbstractModel
|
6245
6542
|
# @param Images: 容器镜像列表
|
@@ -8717,6 +9014,57 @@ module TencentCloud
|
|
8717
9014
|
end
|
8718
9015
|
end
|
8719
9016
|
|
9017
|
+
# 集群资源使用量
|
9018
|
+
class ResourceUsage < TencentCloud::Common::AbstractModel
|
9019
|
+
# @param Name: 资源类型
|
9020
|
+
# @type Name: String
|
9021
|
+
# @param Usage: 资源使用量
|
9022
|
+
# @type Usage: Integer
|
9023
|
+
# @param Details: 资源使用详情
|
9024
|
+
# @type Details: Array
|
9025
|
+
|
9026
|
+
attr_accessor :Name, :Usage, :Details
|
9027
|
+
|
9028
|
+
def initialize(name=nil, usage=nil, details=nil)
|
9029
|
+
@Name = name
|
9030
|
+
@Usage = usage
|
9031
|
+
@Details = details
|
9032
|
+
end
|
9033
|
+
|
9034
|
+
def deserialize(params)
|
9035
|
+
@Name = params['Name']
|
9036
|
+
@Usage = params['Usage']
|
9037
|
+
unless params['Details'].nil?
|
9038
|
+
@Details = []
|
9039
|
+
params['Details'].each do |i|
|
9040
|
+
resourceusagedetail_tmp = ResourceUsageDetail.new
|
9041
|
+
resourceusagedetail_tmp.deserialize(i)
|
9042
|
+
@Details << resourceusagedetail_tmp
|
9043
|
+
end
|
9044
|
+
end
|
9045
|
+
end
|
9046
|
+
end
|
9047
|
+
|
9048
|
+
# 资源使用明细
|
9049
|
+
class ResourceUsageDetail < TencentCloud::Common::AbstractModel
|
9050
|
+
# @param Name: 资源名称
|
9051
|
+
# @type Name: String
|
9052
|
+
# @param Usage: 资源使用量
|
9053
|
+
# @type Usage: Integer
|
9054
|
+
|
9055
|
+
attr_accessor :Name, :Usage
|
9056
|
+
|
9057
|
+
def initialize(name=nil, usage=nil)
|
9058
|
+
@Name = name
|
9059
|
+
@Usage = usage
|
9060
|
+
end
|
9061
|
+
|
9062
|
+
def deserialize(params)
|
9063
|
+
@Name = params['Name']
|
9064
|
+
@Usage = params['Usage']
|
9065
|
+
end
|
9066
|
+
end
|
9067
|
+
|
8720
9068
|
# RestartEKSContainerInstances请求参数结构体
|
8721
9069
|
class RestartEKSContainerInstancesRequest < TencentCloud::Common::AbstractModel
|
8722
9070
|
# @param EksCiIds: EKS instance ids
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.290
|
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-
|
11
|
+
date: 2022-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|