tencentcloud-sdk-redis 3.0.520 → 3.0.521
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/v20180412/client.rb +48 -0
- data/lib/v20180412/models.rb +123 -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: 0fdc2b2c08f6d975ac6d3841540e7e382fc8a186
|
4
|
+
data.tar.gz: 85b369755756c1d08c4396f635bcbb62bf13cabd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68946897aa282ba4e2beb937f025dbe0b8e8b5658313314fdb8092ac5bff4d71cc527a69edf106d2f65d21b0010824c6bcad662c5ad5ac4e61d7af40bc583cff
|
7
|
+
data.tar.gz: 6633750cd09c2bbe12de54cce23cc18d93fadadaab59fabc93410793ad5fe00e1cc98c1d78cace78ee7d0604db6314880de483e7c7f7d585704448881d2e4d60
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.521
|
data/lib/v20180412/client.rb
CHANGED
@@ -461,6 +461,30 @@ module TencentCloud
|
|
461
461
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
462
|
end
|
463
463
|
|
464
|
+
# 本接口(DescribeBackupDownloadRestriction)用于查询当前地域数据库备份文件的下载地址。
|
465
|
+
|
466
|
+
# @param request: Request instance for DescribeBackupDownloadRestriction.
|
467
|
+
# @type request: :class:`Tencentcloud::redis::V20180412::DescribeBackupDownloadRestrictionRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::redis::V20180412::DescribeBackupDownloadRestrictionResponse`
|
469
|
+
def DescribeBackupDownloadRestriction(request)
|
470
|
+
body = send_request('DescribeBackupDownloadRestriction', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DescribeBackupDownloadRestrictionResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
464
488
|
# 本接口(DescribeBackupUrl)用于查询备份 Rdb 文件的下载地址。
|
465
489
|
|
466
490
|
# @param request: Request instance for DescribeBackupUrl.
|
@@ -1565,6 +1589,30 @@ module TencentCloud
|
|
1565
1589
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1566
1590
|
end
|
1567
1591
|
|
1592
|
+
# 本接口(ModifyBackupDownloadRestriction)用于修改备份文件下载的网络信息与地址。
|
1593
|
+
|
1594
|
+
# @param request: Request instance for ModifyBackupDownloadRestriction.
|
1595
|
+
# @type request: :class:`Tencentcloud::redis::V20180412::ModifyBackupDownloadRestrictionRequest`
|
1596
|
+
# @rtype: :class:`Tencentcloud::redis::V20180412::ModifyBackupDownloadRestrictionResponse`
|
1597
|
+
def ModifyBackupDownloadRestriction(request)
|
1598
|
+
body = send_request('ModifyBackupDownloadRestriction', request.serialize)
|
1599
|
+
response = JSON.parse(body)
|
1600
|
+
if response['Response'].key?('Error') == false
|
1601
|
+
model = ModifyBackupDownloadRestrictionResponse.new
|
1602
|
+
model.deserialize(response['Response'])
|
1603
|
+
model
|
1604
|
+
else
|
1605
|
+
code = response['Response']['Error']['Code']
|
1606
|
+
message = response['Response']['Error']['Message']
|
1607
|
+
reqid = response['Response']['RequestId']
|
1608
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1609
|
+
end
|
1610
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1611
|
+
raise e
|
1612
|
+
rescue StandardError => e
|
1613
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1614
|
+
end
|
1615
|
+
|
1568
1616
|
# 修改实例的连接配置,包括带宽和最大连接数。
|
1569
1617
|
|
1570
1618
|
# @param request: Request instance for ModifyConnectionConfig.
|
data/lib/v20180412/models.rb
CHANGED
@@ -1103,6 +1103,67 @@ module TencentCloud
|
|
1103
1103
|
end
|
1104
1104
|
end
|
1105
1105
|
|
1106
|
+
# DescribeBackupDownloadRestriction请求参数结构体
|
1107
|
+
class DescribeBackupDownloadRestrictionRequest < TencentCloud::Common::AbstractModel
|
1108
|
+
|
1109
|
+
|
1110
|
+
def initialize()
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
def deserialize(params)
|
1114
|
+
end
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
# DescribeBackupDownloadRestriction返回参数结构体
|
1118
|
+
class DescribeBackupDownloadRestrictionResponse < TencentCloud::Common::AbstractModel
|
1119
|
+
# @param LimitType: 下载备份文件的网络限制类型:
|
1120
|
+
|
1121
|
+
# - NoLimit:不限制,腾讯云内外网均可以下载备份文件。
|
1122
|
+
# - LimitOnlyIntranet:仅腾讯云自动分配的内网地址可下载备份文件。
|
1123
|
+
# - Customize:指用户自定义的私有网络可下载备份文件。
|
1124
|
+
# @type LimitType: String
|
1125
|
+
# @param VpcComparisonSymbol: 该参数仅支持输入 In,表示自定义的**LimitVpc**可以下载备份文件。
|
1126
|
+
# @type VpcComparisonSymbol: String
|
1127
|
+
# @param IpComparisonSymbol: 标识自定义的 LimitIp 地址是否可下载备份文件。
|
1128
|
+
|
1129
|
+
# - In: 自定义的 IP 地址可以下载。
|
1130
|
+
# - NotIn: 自定义的 IP 不可以下载。
|
1131
|
+
# @type IpComparisonSymbol: String
|
1132
|
+
# @param LimitVpc: 自定义的可下载备份文件的 VPC ID。当参数**LimitType**为**Customize **时,显示该参数。
|
1133
|
+
# @type LimitVpc: Array
|
1134
|
+
# @param LimitIp: 自定义的可下载备份文件的 VPC ID。当参数**LimitType**为**Customize **时,显示该参数。
|
1135
|
+
# @type LimitIp: Array
|
1136
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1137
|
+
# @type RequestId: String
|
1138
|
+
|
1139
|
+
attr_accessor :LimitType, :VpcComparisonSymbol, :IpComparisonSymbol, :LimitVpc, :LimitIp, :RequestId
|
1140
|
+
|
1141
|
+
def initialize(limittype=nil, vpccomparisonsymbol=nil, ipcomparisonsymbol=nil, limitvpc=nil, limitip=nil, requestid=nil)
|
1142
|
+
@LimitType = limittype
|
1143
|
+
@VpcComparisonSymbol = vpccomparisonsymbol
|
1144
|
+
@IpComparisonSymbol = ipcomparisonsymbol
|
1145
|
+
@LimitVpc = limitvpc
|
1146
|
+
@LimitIp = limitip
|
1147
|
+
@RequestId = requestid
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
def deserialize(params)
|
1151
|
+
@LimitType = params['LimitType']
|
1152
|
+
@VpcComparisonSymbol = params['VpcComparisonSymbol']
|
1153
|
+
@IpComparisonSymbol = params['IpComparisonSymbol']
|
1154
|
+
unless params['LimitVpc'].nil?
|
1155
|
+
@LimitVpc = []
|
1156
|
+
params['LimitVpc'].each do |i|
|
1157
|
+
backuplimitvpcitem_tmp = BackupLimitVpcItem.new
|
1158
|
+
backuplimitvpcitem_tmp.deserialize(i)
|
1159
|
+
@LimitVpc << backuplimitvpcitem_tmp
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
@LimitIp = params['LimitIp']
|
1163
|
+
@RequestId = params['RequestId']
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
1106
1167
|
# DescribeBackupUrl请求参数结构体
|
1107
1168
|
class DescribeBackupUrlRequest < TencentCloud::Common::AbstractModel
|
1108
1169
|
# @param InstanceId: 实例 ID。
|
@@ -4813,6 +4874,68 @@ module TencentCloud
|
|
4813
4874
|
end
|
4814
4875
|
end
|
4815
4876
|
|
4877
|
+
# ModifyBackupDownloadRestriction请求参数结构体
|
4878
|
+
class ModifyBackupDownloadRestrictionRequest < TencentCloud::Common::AbstractModel
|
4879
|
+
# @param LimitType: 下载备份文件的网络限制类型:
|
4880
|
+
|
4881
|
+
# - NoLimit:不限制,腾讯云内外网均可以下载备份文件。
|
4882
|
+
# - LimitOnlyIntranet:仅腾讯云自动分配的内网地址可下载备份文件。
|
4883
|
+
# - Customize:指用户自定义的私有网络可下载备份文件。
|
4884
|
+
# @type LimitType: String
|
4885
|
+
# @param VpcComparisonSymbol: 该参数仅支持输入 In,表示自定义的**LimitVpc**可以下载备份文件。
|
4886
|
+
# @type VpcComparisonSymbol: String
|
4887
|
+
# @param IpComparisonSymbol: 标识自定义的 LimitIp 地址是否可下载备份文件。
|
4888
|
+
|
4889
|
+
# - In: 自定义的 IP 地址可以下载。
|
4890
|
+
# - NotIn: 自定义的 IP 不可以下载。
|
4891
|
+
# @type IpComparisonSymbol: String
|
4892
|
+
# @param LimitVpc: 自定义的可下载备份文件的 VPC ID。当参数**LimitType**为**Customize **时,需配置该参数。
|
4893
|
+
# @type LimitVpc: Array
|
4894
|
+
# @param LimitIp: 自定义的可下载备份文件的 VPC IP 地址。当参数**LimitType**为**Customize **时,需配置该参数。
|
4895
|
+
# @type LimitIp: Array
|
4896
|
+
|
4897
|
+
attr_accessor :LimitType, :VpcComparisonSymbol, :IpComparisonSymbol, :LimitVpc, :LimitIp
|
4898
|
+
|
4899
|
+
def initialize(limittype=nil, vpccomparisonsymbol=nil, ipcomparisonsymbol=nil, limitvpc=nil, limitip=nil)
|
4900
|
+
@LimitType = limittype
|
4901
|
+
@VpcComparisonSymbol = vpccomparisonsymbol
|
4902
|
+
@IpComparisonSymbol = ipcomparisonsymbol
|
4903
|
+
@LimitVpc = limitvpc
|
4904
|
+
@LimitIp = limitip
|
4905
|
+
end
|
4906
|
+
|
4907
|
+
def deserialize(params)
|
4908
|
+
@LimitType = params['LimitType']
|
4909
|
+
@VpcComparisonSymbol = params['VpcComparisonSymbol']
|
4910
|
+
@IpComparisonSymbol = params['IpComparisonSymbol']
|
4911
|
+
unless params['LimitVpc'].nil?
|
4912
|
+
@LimitVpc = []
|
4913
|
+
params['LimitVpc'].each do |i|
|
4914
|
+
backuplimitvpcitem_tmp = BackupLimitVpcItem.new
|
4915
|
+
backuplimitvpcitem_tmp.deserialize(i)
|
4916
|
+
@LimitVpc << backuplimitvpcitem_tmp
|
4917
|
+
end
|
4918
|
+
end
|
4919
|
+
@LimitIp = params['LimitIp']
|
4920
|
+
end
|
4921
|
+
end
|
4922
|
+
|
4923
|
+
# ModifyBackupDownloadRestriction返回参数结构体
|
4924
|
+
class ModifyBackupDownloadRestrictionResponse < TencentCloud::Common::AbstractModel
|
4925
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4926
|
+
# @type RequestId: String
|
4927
|
+
|
4928
|
+
attr_accessor :RequestId
|
4929
|
+
|
4930
|
+
def initialize(requestid=nil)
|
4931
|
+
@RequestId = requestid
|
4932
|
+
end
|
4933
|
+
|
4934
|
+
def deserialize(params)
|
4935
|
+
@RequestId = params['RequestId']
|
4936
|
+
end
|
4937
|
+
end
|
4938
|
+
|
4816
4939
|
# ModifyConnectionConfig请求参数结构体
|
4817
4940
|
class ModifyConnectionConfigRequest < TencentCloud::Common::AbstractModel
|
4818
4941
|
# @param InstanceId: 实例的ID,长度在12-36之间。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.521
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|