tencentcloud-sdk-mariadb 1.0.266 → 1.0.269

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: 3224a41101f2fb34f2af6ffe1b22a70171f6c97b
4
- data.tar.gz: fedf76c0554f50f3d0d953c13a01e49c56862478
3
+ metadata.gz: 2ad43884d249f9e1af9e711ff463f55ff4bb4a91
4
+ data.tar.gz: 240bb598991fd81dcc42ee4096679e9d6759607d
5
5
  SHA512:
6
- metadata.gz: c34965d41bd45e541b48ff758cb6473c4bd6a4d03f8f1084dbf2231b23bc052063dcda4a2cec6142fc829f82c63334b022af53898574b199aa25d53f107ab828
7
- data.tar.gz: 6cacc84a1b02c565f2c10f216d8ed0a5dc3789dd43468c01096b55d84485d30626e4b2e5a75dfe3eb1e2d3e99301fca1b9d8e1e3e8f65982da61557f98bff7d0
6
+ metadata.gz: 62f6fd9fdce16d87e1e90be77feb658a372d79ad68bf5b36481b7e8b7f73d89b1f7ca6c16957a5ec48b7f6564b12ec85fa813c41b30ad6ab5bfcd63ff5cfe149
7
+ data.tar.gz: c2dfd80f7a5642e66736e01caa386c4da94598ab8fab785751ad46fb0d9520888bf8a6c627f61828586a2d215023db51722328d03d164ed685e5ebf52253a9e0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.266
1
+ 1.0.269
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 解隔离后付费实例
33
+
34
+ # @param request: Request instance for ActivateHourDBInstance.
35
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::ActivateHourDBInstanceRequest`
36
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::ActivateHourDBInstanceResponse`
37
+ def ActivateHourDBInstance(request)
38
+ body = send_request('ActivateHourDBInstance', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = ActivateHourDBInstanceResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 本接口 (AssociateSecurityGroups) 用于安全组批量绑定云资源。
33
57
 
34
58
  # @param request: Request instance for AssociateSecurityGroups.
@@ -1089,6 +1113,30 @@ module TencentCloud
1089
1113
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1090
1114
  end
1091
1115
 
1116
+ # 隔离后付费实例
1117
+
1118
+ # @param request: Request instance for IsolateHourDBInstance.
1119
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateHourDBInstanceRequest`
1120
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::IsolateHourDBInstanceResponse`
1121
+ def IsolateHourDBInstance(request)
1122
+ body = send_request('IsolateHourDBInstance', request.serialize)
1123
+ response = JSON.parse(body)
1124
+ if response['Response'].key?('Error') == false
1125
+ model = IsolateHourDBInstanceResponse.new
1126
+ model.deserialize(response['Response'])
1127
+ model
1128
+ else
1129
+ code = response['Response']['Error']['Code']
1130
+ message = response['Response']['Error']['Message']
1131
+ reqid = response['Response']['RequestId']
1132
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1133
+ end
1134
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1135
+ raise e
1136
+ rescue StandardError => e
1137
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1138
+ end
1139
+
1092
1140
  # 本接口(KillSession)用于杀死指定会话。
1093
1141
 
1094
1142
  # @param request: Request instance for KillSession.
@@ -37,6 +37,46 @@ module TencentCloud
37
37
  end
38
38
  end
39
39
 
40
+ # ActivateHourDBInstance请求参数结构体
41
+ class ActivateHourDBInstanceRequest < TencentCloud::Common::AbstractModel
42
+ # @param InstanceIds: 实例ID列表
43
+ # @type InstanceIds: Array
44
+
45
+ attr_accessor :InstanceIds
46
+
47
+ def initialize(instanceids=nil)
48
+ @InstanceIds = instanceids
49
+ end
50
+
51
+ def deserialize(params)
52
+ @InstanceIds = params['InstanceIds']
53
+ end
54
+ end
55
+
56
+ # ActivateHourDBInstance返回参数结构体
57
+ class ActivateHourDBInstanceResponse < TencentCloud::Common::AbstractModel
58
+ # @param SuccessInstanceIds: 隔离成功的实例id列表
59
+ # @type SuccessInstanceIds: Array
60
+ # @param FailedInstanceIds: 隔离失败的实例id列表
61
+ # @type FailedInstanceIds: Array
62
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
63
+ # @type RequestId: String
64
+
65
+ attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
66
+
67
+ def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
68
+ @SuccessInstanceIds = successinstanceids
69
+ @FailedInstanceIds = failedinstanceids
70
+ @RequestId = requestid
71
+ end
72
+
73
+ def deserialize(params)
74
+ @SuccessInstanceIds = params['SuccessInstanceIds']
75
+ @FailedInstanceIds = params['FailedInstanceIds']
76
+ @RequestId = params['RequestId']
77
+ end
78
+ end
79
+
40
80
  # AssociateSecurityGroups请求参数结构体
41
81
  class AssociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
42
82
  # @param Product: 数据库引擎名称,本接口取值:mariadb。
@@ -664,7 +704,7 @@ module TencentCloud
664
704
 
665
705
  # CreateHourDBInstance请求参数结构体
666
706
  class CreateHourDBInstanceRequest < TencentCloud::Common::AbstractModel
667
- # @param Zones: 节点可用区分布,最多可填两个可用区。当分片规格为一主两从时,其中两个节点在第一个可用区。
707
+ # @param Zones: 节点可用区分布,最多可填两个可用区。
668
708
  # @type Zones: Array
669
709
  # @param NodeCount: 节点个数
670
710
  # @type NodeCount: Integer
@@ -681,9 +721,6 @@ module TencentCloud
681
721
  # @param SubnetId: 统一子网ID,VpcId有值时需填写
682
722
  # @type SubnetId: String
683
723
  # @param DbVersionId: 数据库引擎版本,当前可选:10.0.10,10.1.9,5.7.17。
684
- # 10.0.10 - Mariadb 10.0.10;
685
- # 10.1.9 - Mariadb 10.1.9;
686
- # 5.7.17 - Percona 5.7.17。
687
724
  # 如果不填的话,默认为10.1.9,表示Mariadb 10.1.9。
688
725
  # @type DbVersionId: String
689
726
  # @param InstanceName: 自定义实例名称
@@ -698,7 +735,9 @@ module TencentCloud
698
735
  # @type DcnRegion: String
699
736
  # @param DcnInstanceId: DCN源实例ID
700
737
  # @type DcnInstanceId: String
701
- # @param InitParams: 参数列表。本接口的可选值为:character_set_server(字符集,必传),lower_case_table_names(表名大小写敏感,必传,0 - 敏感;1-不敏感),innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0 - 异步; 1 - 强同步;2 - 强同步可退化。默认为强同步可退化)。
738
+ # @param InitParams: 参数列表。本接口的可选值为:
739
+ # character_set_server(字符集,必传),lower_case_table_names(表名大小写敏感,必传,0 - 敏感;1-不敏感),
740
+ # innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0 - 异步; 1 - 强同步;2 - 强同步可退化,默认为强同步可退化)。
702
741
  # @type InitParams: Array
703
742
  # @param RollbackInstanceId: 回档源实例ID
704
743
  # @type RollbackInstanceId: String
@@ -766,7 +805,7 @@ module TencentCloud
766
805
 
767
806
  # CreateHourDBInstance返回参数结构体
768
807
  class CreateHourDBInstanceResponse < TencentCloud::Common::AbstractModel
769
- # @param DealName: 长订单号。可以据此调用 DescribeOrders
808
+ # @param DealName: 订单号。可以据此调用 DescribeOrders
770
809
  # 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
771
810
  # @type DealName: String
772
811
  # @param InstanceIds: 订单对应的实例 ID 列表,如果此处没有返回实例 ID,可以通过订单查询接口获取。还可通过实例查询接口查询实例是否创建完成。
@@ -3386,6 +3425,46 @@ module TencentCloud
3386
3425
  end
3387
3426
  end
3388
3427
 
3428
+ # IsolateHourDBInstance请求参数结构体
3429
+ class IsolateHourDBInstanceRequest < TencentCloud::Common::AbstractModel
3430
+ # @param InstanceIds: 实例ID列表
3431
+ # @type InstanceIds: Array
3432
+
3433
+ attr_accessor :InstanceIds
3434
+
3435
+ def initialize(instanceids=nil)
3436
+ @InstanceIds = instanceids
3437
+ end
3438
+
3439
+ def deserialize(params)
3440
+ @InstanceIds = params['InstanceIds']
3441
+ end
3442
+ end
3443
+
3444
+ # IsolateHourDBInstance返回参数结构体
3445
+ class IsolateHourDBInstanceResponse < TencentCloud::Common::AbstractModel
3446
+ # @param SuccessInstanceIds: 解隔离成功的实例id列表
3447
+ # @type SuccessInstanceIds: Array
3448
+ # @param FailedInstanceIds: 解隔离失败的实例id列表
3449
+ # @type FailedInstanceIds: Array
3450
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3451
+ # @type RequestId: String
3452
+
3453
+ attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
3454
+
3455
+ def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
3456
+ @SuccessInstanceIds = successinstanceids
3457
+ @FailedInstanceIds = failedinstanceids
3458
+ @RequestId = requestid
3459
+ end
3460
+
3461
+ def deserialize(params)
3462
+ @SuccessInstanceIds = params['SuccessInstanceIds']
3463
+ @FailedInstanceIds = params['FailedInstanceIds']
3464
+ @RequestId = params['RequestId']
3465
+ end
3466
+ end
3467
+
3389
3468
  # KillSession请求参数结构体
3390
3469
  class KillSessionRequest < TencentCloud::Common::AbstractModel
3391
3470
  # @param InstanceId: 实例ID
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: 1.0.266
4
+ version: 1.0.269
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-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common