tencentcloud-sdk-mariadb 3.0.443 → 3.0.445

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49b8051d94cdbd981279c8946507a6df2ed69207
4
- data.tar.gz: ecbb64a688ed5b03ca944305b490a5fe8b1f38af
3
+ metadata.gz: 6c3d658435c365c1c49277bcfab339891fd58bb4
4
+ data.tar.gz: 004b8baa607046a2cdd47c964c84141108c33fa9
5
5
  SHA512:
6
- metadata.gz: f4273fd8ed88cb9b874df37f4bab0fbb63e5c38dee8fda7c16584082e545688302bcf5fdeed2c5be53e824a586743d6839635e3e7e99c28efb04d5c49c3aeab7
7
- data.tar.gz: 53f8c264fed5567bbead5ac3504cd2b0cb39b571a14095baf64395fdf191e7cad96d1d6d5c858064a9e2a193a7550ea2795befac800640de760ddfbac4dd77c1
6
+ metadata.gz: 7588a4a100cf5818bb4d65f5193685f4ef97fa7a07c5967692c5198ab36de2cfd0cf3e2f9f600b054aa2a1a2fd378885600f3c333071a3339ae68b925b4dc9cb
7
+ data.tar.gz: 8f3b338ee169e4c7fb2ca85d60814eafa1d6ace023104d86bb1784911e8929bd62ac61d9a1a2d1af977b30b51e2b36250fd961796b1322de3020a831974fdc79
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.443
1
+ 3.0.445
@@ -1017,6 +1017,54 @@ module TencentCloud
1017
1017
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1018
1018
  end
1019
1019
 
1020
+ # 本接口(IsolateDBInstance)用于隔离云数据库实例(包年包月),隔离后不能通过IP和端口访问数据库。隔离的实例可在回收站中进行开机。若为欠费隔离,请尽快进行充值。
1021
+
1022
+ # @param request: Request instance for IsolateDBInstance.
1023
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateDBInstanceRequest`
1024
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::IsolateDBInstanceResponse`
1025
+ def IsolateDBInstance(request)
1026
+ body = send_request('IsolateDBInstance', request.serialize)
1027
+ response = JSON.parse(body)
1028
+ if response['Response'].key?('Error') == false
1029
+ model = IsolateDBInstanceResponse.new
1030
+ model.deserialize(response['Response'])
1031
+ model
1032
+ else
1033
+ code = response['Response']['Error']['Code']
1034
+ message = response['Response']['Error']['Message']
1035
+ reqid = response['Response']['RequestId']
1036
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1037
+ end
1038
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1039
+ raise e
1040
+ rescue StandardError => e
1041
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1042
+ end
1043
+
1044
+ # 本接口(IsolateDedicatedDBInstance)用于隔离独享云数据库实例。
1045
+
1046
+ # @param request: Request instance for IsolateDedicatedDBInstance.
1047
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateDedicatedDBInstanceRequest`
1048
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::IsolateDedicatedDBInstanceResponse`
1049
+ def IsolateDedicatedDBInstance(request)
1050
+ body = send_request('IsolateDedicatedDBInstance', request.serialize)
1051
+ response = JSON.parse(body)
1052
+ if response['Response'].key?('Error') == false
1053
+ model = IsolateDedicatedDBInstanceResponse.new
1054
+ model.deserialize(response['Response'])
1055
+ model
1056
+ else
1057
+ code = response['Response']['Error']['Code']
1058
+ message = response['Response']['Error']['Message']
1059
+ reqid = response['Response']['RequestId']
1060
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1061
+ end
1062
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1063
+ raise e
1064
+ rescue StandardError => e
1065
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1066
+ end
1067
+
1020
1068
  # 隔离后付费实例
1021
1069
 
1022
1070
  # @param request: Request instance for IsolateHourDBInstance.
@@ -3104,6 +3104,78 @@ module TencentCloud
3104
3104
  end
3105
3105
  end
3106
3106
 
3107
+ # IsolateDBInstance请求参数结构体
3108
+ class IsolateDBInstanceRequest < TencentCloud::Common::AbstractModel
3109
+ # @param InstanceIds: 实例 ID,格式如:tdsql-dasjkhd,与云数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。
3110
+ # @type InstanceIds: Array
3111
+
3112
+ attr_accessor :InstanceIds
3113
+
3114
+ def initialize(instanceids=nil)
3115
+ @InstanceIds = instanceids
3116
+ end
3117
+
3118
+ def deserialize(params)
3119
+ @InstanceIds = params['InstanceIds']
3120
+ end
3121
+ end
3122
+
3123
+ # IsolateDBInstance返回参数结构体
3124
+ class IsolateDBInstanceResponse < TencentCloud::Common::AbstractModel
3125
+ # @param SuccessInstanceIds: 隔离成功实例ID列表。
3126
+ # @type SuccessInstanceIds: Array
3127
+ # @param FailedInstanceIds: 隔离失败实例ID列表。
3128
+ # @type FailedInstanceIds: Array
3129
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3130
+ # @type RequestId: String
3131
+
3132
+ attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
3133
+
3134
+ def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
3135
+ @SuccessInstanceIds = successinstanceids
3136
+ @FailedInstanceIds = failedinstanceids
3137
+ @RequestId = requestid
3138
+ end
3139
+
3140
+ def deserialize(params)
3141
+ @SuccessInstanceIds = params['SuccessInstanceIds']
3142
+ @FailedInstanceIds = params['FailedInstanceIds']
3143
+ @RequestId = params['RequestId']
3144
+ end
3145
+ end
3146
+
3147
+ # IsolateDedicatedDBInstance请求参数结构体
3148
+ class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
3149
+ # @param InstanceId: 实例 Id,形如:tdsql-ow728lmc。
3150
+ # @type InstanceId: String
3151
+
3152
+ attr_accessor :InstanceId
3153
+
3154
+ def initialize(instanceid=nil)
3155
+ @InstanceId = instanceid
3156
+ end
3157
+
3158
+ def deserialize(params)
3159
+ @InstanceId = params['InstanceId']
3160
+ end
3161
+ end
3162
+
3163
+ # IsolateDedicatedDBInstance返回参数结构体
3164
+ class IsolateDedicatedDBInstanceResponse < TencentCloud::Common::AbstractModel
3165
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3166
+ # @type RequestId: String
3167
+
3168
+ attr_accessor :RequestId
3169
+
3170
+ def initialize(requestid=nil)
3171
+ @RequestId = requestid
3172
+ end
3173
+
3174
+ def deserialize(params)
3175
+ @RequestId = params['RequestId']
3176
+ end
3177
+ end
3178
+
3107
3179
  # IsolateHourDBInstance请求参数结构体
3108
3180
  class IsolateHourDBInstanceRequest < TencentCloud::Common::AbstractModel
3109
3181
  # @param InstanceIds: 实例ID列表
@@ -4694,19 +4766,23 @@ module TencentCloud
4694
4766
  # @type ZoneId: Integer
4695
4767
  # @param ZoneName: 可用区中文名
4696
4768
  # @type ZoneName: String
4769
+ # @param OnSale: 是否在售
4770
+ # @type OnSale: Boolean
4697
4771
 
4698
- attr_accessor :Zone, :ZoneId, :ZoneName
4772
+ attr_accessor :Zone, :ZoneId, :ZoneName, :OnSale
4699
4773
 
4700
- def initialize(zone=nil, zoneid=nil, zonename=nil)
4774
+ def initialize(zone=nil, zoneid=nil, zonename=nil, onsale=nil)
4701
4775
  @Zone = zone
4702
4776
  @ZoneId = zoneid
4703
4777
  @ZoneName = zonename
4778
+ @OnSale = onsale
4704
4779
  end
4705
4780
 
4706
4781
  def deserialize(params)
4707
4782
  @Zone = params['Zone']
4708
4783
  @ZoneId = params['ZoneId']
4709
4784
  @ZoneName = params['ZoneName']
4785
+ @OnSale = params['OnSale']
4710
4786
  end
4711
4787
  end
4712
4788
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.443
4
+ version: 3.0.445
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-02 00:00:00.000000000 Z
11
+ date: 2022-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common