tencentcloud-sdk-postgres 3.0.977 → 3.0.978
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/v20170312/client.rb +48 -0
- data/lib/v20170312/models.rb +92 -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: c0785d2c287d64b2834dc38bd4bb1c03b705aa7d
|
4
|
+
data.tar.gz: e51d9c4a6dbb1c59d3a43d2fcf6435dee14d97d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07bff7a72ab85bf43265e5ca9c018f0391c31fab72f73c28f2ac1c9ac63afb257fa1cbe145fee01a403af5a822b190df2c937c91fffe3fd5606505cc9c9ed1f4
|
7
|
+
data.tar.gz: 2906e853fd9efa677171e2d7edd1ba5763ab3411a469b1503178f4a9710ae9b3068864f0e2451b6e59723a43f6302f50c541a15e977dd96d39900d58f1094d3a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.978
|
data/lib/v20170312/client.rb
CHANGED
@@ -1233,6 +1233,30 @@ module TencentCloud
|
|
1233
1233
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1234
1234
|
end
|
1235
1235
|
|
1236
|
+
# 本接口 (DescribeMaintainTimeWindow) 用于查询实例的维护时间窗口
|
1237
|
+
|
1238
|
+
# @param request: Request instance for DescribeMaintainTimeWindow.
|
1239
|
+
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeMaintainTimeWindowRequest`
|
1240
|
+
# @rtype: :class:`Tencentcloud::postgres::V20170312::DescribeMaintainTimeWindowResponse`
|
1241
|
+
def DescribeMaintainTimeWindow(request)
|
1242
|
+
body = send_request('DescribeMaintainTimeWindow', request.serialize)
|
1243
|
+
response = JSON.parse(body)
|
1244
|
+
if response['Response'].key?('Error') == false
|
1245
|
+
model = DescribeMaintainTimeWindowResponse.new
|
1246
|
+
model.deserialize(response['Response'])
|
1247
|
+
model
|
1248
|
+
else
|
1249
|
+
code = response['Response']['Error']['Code']
|
1250
|
+
message = response['Response']['Error']['Message']
|
1251
|
+
reqid = response['Response']['RequestId']
|
1252
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1253
|
+
end
|
1254
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1255
|
+
raise e
|
1256
|
+
rescue StandardError => e
|
1257
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1258
|
+
end
|
1259
|
+
|
1236
1260
|
# 本接口(DescribeOrders)用于查询订单信息。
|
1237
1261
|
|
1238
1262
|
# @param request: Request instance for DescribeOrders.
|
@@ -2051,6 +2075,30 @@ module TencentCloud
|
|
2051
2075
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2052
2076
|
end
|
2053
2077
|
|
2078
|
+
# 本接口 (ModifyMaintainTimeWindow) 用于实例维护时间窗口的修改。
|
2079
|
+
|
2080
|
+
# @param request: Request instance for ModifyMaintainTimeWindow.
|
2081
|
+
# @type request: :class:`Tencentcloud::postgres::V20170312::ModifyMaintainTimeWindowRequest`
|
2082
|
+
# @rtype: :class:`Tencentcloud::postgres::V20170312::ModifyMaintainTimeWindowResponse`
|
2083
|
+
def ModifyMaintainTimeWindow(request)
|
2084
|
+
body = send_request('ModifyMaintainTimeWindow', request.serialize)
|
2085
|
+
response = JSON.parse(body)
|
2086
|
+
if response['Response'].key?('Error') == false
|
2087
|
+
model = ModifyMaintainTimeWindowResponse.new
|
2088
|
+
model.deserialize(response['Response'])
|
2089
|
+
model
|
2090
|
+
else
|
2091
|
+
code = response['Response']['Error']['Code']
|
2092
|
+
message = response['Response']['Error']['Message']
|
2093
|
+
reqid = response['Response']['RequestId']
|
2094
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2095
|
+
end
|
2096
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2097
|
+
raise e
|
2098
|
+
rescue StandardError => e
|
2099
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2100
|
+
end
|
2101
|
+
|
2054
2102
|
# 本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。
|
2055
2103
|
|
2056
2104
|
# @param request: Request instance for ModifyParameterTemplate.
|
data/lib/v20170312/models.rb
CHANGED
@@ -3974,6 +3974,54 @@ module TencentCloud
|
|
3974
3974
|
end
|
3975
3975
|
end
|
3976
3976
|
|
3977
|
+
# DescribeMaintainTimeWindow请求参数结构体
|
3978
|
+
class DescribeMaintainTimeWindowRequest < TencentCloud::Common::AbstractModel
|
3979
|
+
# @param DBInstanceId: 实例ID
|
3980
|
+
# @type DBInstanceId: String
|
3981
|
+
|
3982
|
+
attr_accessor :DBInstanceId
|
3983
|
+
|
3984
|
+
def initialize(dbinstanceid=nil)
|
3985
|
+
@DBInstanceId = dbinstanceid
|
3986
|
+
end
|
3987
|
+
|
3988
|
+
def deserialize(params)
|
3989
|
+
@DBInstanceId = params['DBInstanceId']
|
3990
|
+
end
|
3991
|
+
end
|
3992
|
+
|
3993
|
+
# DescribeMaintainTimeWindow返回参数结构体
|
3994
|
+
class DescribeMaintainTimeWindowResponse < TencentCloud::Common::AbstractModel
|
3995
|
+
# @param DBInstanceId: 实例ID
|
3996
|
+
# @type DBInstanceId: String
|
3997
|
+
# @param MaintainStartTime: 维护开始时间。时区为东八区(UTC+8)
|
3998
|
+
# @type MaintainStartTime: String
|
3999
|
+
# @param MaintainDuration: 维护持续时间。单位:小时
|
4000
|
+
# @type MaintainDuration: Integer
|
4001
|
+
# @param MaintainWeekDays: 维护周期
|
4002
|
+
# @type MaintainWeekDays: Array
|
4003
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4004
|
+
# @type RequestId: String
|
4005
|
+
|
4006
|
+
attr_accessor :DBInstanceId, :MaintainStartTime, :MaintainDuration, :MaintainWeekDays, :RequestId
|
4007
|
+
|
4008
|
+
def initialize(dbinstanceid=nil, maintainstarttime=nil, maintainduration=nil, maintainweekdays=nil, requestid=nil)
|
4009
|
+
@DBInstanceId = dbinstanceid
|
4010
|
+
@MaintainStartTime = maintainstarttime
|
4011
|
+
@MaintainDuration = maintainduration
|
4012
|
+
@MaintainWeekDays = maintainweekdays
|
4013
|
+
@RequestId = requestid
|
4014
|
+
end
|
4015
|
+
|
4016
|
+
def deserialize(params)
|
4017
|
+
@DBInstanceId = params['DBInstanceId']
|
4018
|
+
@MaintainStartTime = params['MaintainStartTime']
|
4019
|
+
@MaintainDuration = params['MaintainDuration']
|
4020
|
+
@MaintainWeekDays = params['MaintainWeekDays']
|
4021
|
+
@RequestId = params['RequestId']
|
4022
|
+
end
|
4023
|
+
end
|
4024
|
+
|
3977
4025
|
# DescribeOrders请求参数结构体
|
3978
4026
|
class DescribeOrdersRequest < TencentCloud::Common::AbstractModel
|
3979
4027
|
# @param DealNames: 订单名集合
|
@@ -6058,6 +6106,50 @@ module TencentCloud
|
|
6058
6106
|
end
|
6059
6107
|
end
|
6060
6108
|
|
6109
|
+
# ModifyMaintainTimeWindow请求参数结构体
|
6110
|
+
class ModifyMaintainTimeWindowRequest < TencentCloud::Common::AbstractModel
|
6111
|
+
# @param DBInstanceId: 实例ID
|
6112
|
+
# @type DBInstanceId: String
|
6113
|
+
# @param MaintainStartTime: 维护开始时间。时区为东八区(UTC+8)
|
6114
|
+
# @type MaintainStartTime: String
|
6115
|
+
# @param MaintainDuration: 维护持续时间。单位:小时
|
6116
|
+
# @type MaintainDuration: Integer
|
6117
|
+
# @param MaintainWeekDays: 维护周期
|
6118
|
+
# @type MaintainWeekDays: Array
|
6119
|
+
|
6120
|
+
attr_accessor :DBInstanceId, :MaintainStartTime, :MaintainDuration, :MaintainWeekDays
|
6121
|
+
|
6122
|
+
def initialize(dbinstanceid=nil, maintainstarttime=nil, maintainduration=nil, maintainweekdays=nil)
|
6123
|
+
@DBInstanceId = dbinstanceid
|
6124
|
+
@MaintainStartTime = maintainstarttime
|
6125
|
+
@MaintainDuration = maintainduration
|
6126
|
+
@MaintainWeekDays = maintainweekdays
|
6127
|
+
end
|
6128
|
+
|
6129
|
+
def deserialize(params)
|
6130
|
+
@DBInstanceId = params['DBInstanceId']
|
6131
|
+
@MaintainStartTime = params['MaintainStartTime']
|
6132
|
+
@MaintainDuration = params['MaintainDuration']
|
6133
|
+
@MaintainWeekDays = params['MaintainWeekDays']
|
6134
|
+
end
|
6135
|
+
end
|
6136
|
+
|
6137
|
+
# ModifyMaintainTimeWindow返回参数结构体
|
6138
|
+
class ModifyMaintainTimeWindowResponse < TencentCloud::Common::AbstractModel
|
6139
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6140
|
+
# @type RequestId: String
|
6141
|
+
|
6142
|
+
attr_accessor :RequestId
|
6143
|
+
|
6144
|
+
def initialize(requestid=nil)
|
6145
|
+
@RequestId = requestid
|
6146
|
+
end
|
6147
|
+
|
6148
|
+
def deserialize(params)
|
6149
|
+
@RequestId = params['RequestId']
|
6150
|
+
end
|
6151
|
+
end
|
6152
|
+
|
6061
6153
|
# ModifyParameterTemplate请求参数结构体
|
6062
6154
|
class ModifyParameterTemplateRequest < TencentCloud::Common::AbstractModel
|
6063
6155
|
# @param TemplateId: 参数模板ID,用于唯一确认参数模板,不可修改
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.978
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|