tencentcloud-sdk-cynosdb 3.0.508 → 3.0.509

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd527f8745d5faf7a68eb4574a4844e4cdb4c417
4
- data.tar.gz: b08a1263590b1e02736a4b789d570ca5855a98e9
3
+ metadata.gz: 2a95fb8ad20189a0c5b5179e9d067120fc85b395
4
+ data.tar.gz: fcad1a4ba453f39bac50892da594838ff7a44361
5
5
  SHA512:
6
- metadata.gz: ce4b2cade35c797726fb4259185d6264ef6e20c8bf747f616c8c55e4ac2b456130aed40b95872f7ad64bea602f275a854a687b328b5c091ab1fd66102b0e7089
7
- data.tar.gz: 4aa88059baf6eb26616384fac437c36f59490bc69c9e2d955a14bbfa20ac5f7d3ca5e7b2103eac0a1dd9761e639dec4c7527500eb6b92a87115cf783812c98b6
6
+ metadata.gz: bfdcccc69b9423b2fed84ffe8d6f42ca250848d0370fde6666b7ab5e6a705ed31f4f406edda7c52c9fc8030aaa676b9116681271e4acd6f6c6f17c7fe82cd336
7
+ data.tar.gz: 58836740fb33d5e6c052b67efe65a3e41fde2deeb439d3b9410b906e28e814c0167b4b6428dbebdedbc5fc1c330fa231042a81eae43296fb7981f35263245e15
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.508
1
+ 3.0.509
@@ -1037,6 +1037,30 @@ module TencentCloud
1037
1037
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
1038
  end
1039
1039
 
1040
+ # 本接口(DescribeZones)用于查询可售卖地域可用区信息。
1041
+
1042
+ # @param request: Request instance for DescribeZones.
1043
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeZonesRequest`
1044
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeZonesResponse`
1045
+ def DescribeZones(request)
1046
+ body = send_request('DescribeZones', request.serialize)
1047
+ response = JSON.parse(body)
1048
+ if response['Response'].key?('Error') == false
1049
+ model = DescribeZonesResponse.new
1050
+ model.deserialize(response['Response'])
1051
+ model
1052
+ else
1053
+ code = response['Response']['Error']['Code']
1054
+ message = response['Response']['Error']['Message']
1055
+ reqid = response['Response']['RequestId']
1056
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1057
+ end
1058
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1059
+ raise e
1060
+ rescue StandardError => e
1061
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
+ end
1063
+
1040
1064
  # 安全组批量解绑云资源
1041
1065
 
1042
1066
  # @param request: Request instance for DisassociateSecurityGroups.
@@ -4167,6 +4167,53 @@ module TencentCloud
4167
4167
  end
4168
4168
  end
4169
4169
 
4170
+ # DescribeZones请求参数结构体
4171
+ class DescribeZonesRequest < TencentCloud::Common::AbstractModel
4172
+ # @param IncludeVirtualZones: 是否包含虚拟区
4173
+ # @type IncludeVirtualZones: Boolean
4174
+ # @param ShowPermission: 是否展示地域下所有可用区,并显示用户每个可用区权限
4175
+ # @type ShowPermission: Boolean
4176
+
4177
+ attr_accessor :IncludeVirtualZones, :ShowPermission
4178
+
4179
+ def initialize(includevirtualzones=nil, showpermission=nil)
4180
+ @IncludeVirtualZones = includevirtualzones
4181
+ @ShowPermission = showpermission
4182
+ end
4183
+
4184
+ def deserialize(params)
4185
+ @IncludeVirtualZones = params['IncludeVirtualZones']
4186
+ @ShowPermission = params['ShowPermission']
4187
+ end
4188
+ end
4189
+
4190
+ # DescribeZones返回参数结构体
4191
+ class DescribeZonesResponse < TencentCloud::Common::AbstractModel
4192
+ # @param RegionSet: 地域信息
4193
+ # @type RegionSet: Array
4194
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4195
+ # @type RequestId: String
4196
+
4197
+ attr_accessor :RegionSet, :RequestId
4198
+
4199
+ def initialize(regionset=nil, requestid=nil)
4200
+ @RegionSet = regionset
4201
+ @RequestId = requestid
4202
+ end
4203
+
4204
+ def deserialize(params)
4205
+ unless params['RegionSet'].nil?
4206
+ @RegionSet = []
4207
+ params['RegionSet'].each do |i|
4208
+ saleregion_tmp = SaleRegion.new
4209
+ saleregion_tmp.deserialize(i)
4210
+ @RegionSet << saleregion_tmp
4211
+ end
4212
+ end
4213
+ @RequestId = params['RequestId']
4214
+ end
4215
+ end
4216
+
4170
4217
  # DisassociateSecurityGroups请求参数结构体
4171
4218
  class DisassociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
4172
4219
  # @param InstanceIds: 实例组ID数组
@@ -5313,6 +5360,26 @@ module TencentCloud
5313
5360
  end
5314
5361
  end
5315
5362
 
5363
+ # 系统支持的模块
5364
+ class Module < TencentCloud::Common::AbstractModel
5365
+ # @param IsDisable: 是否支持,可选值:yes,no
5366
+ # @type IsDisable: String
5367
+ # @param ModuleName: 模块名
5368
+ # @type ModuleName: String
5369
+
5370
+ attr_accessor :IsDisable, :ModuleName
5371
+
5372
+ def initialize(isdisable=nil, modulename=nil)
5373
+ @IsDisable = isdisable
5374
+ @ModuleName = modulename
5375
+ end
5376
+
5377
+ def deserialize(params)
5378
+ @IsDisable = params['IsDisable']
5379
+ @ModuleName = params['ModuleName']
5380
+ end
5381
+ end
5382
+
5316
5383
  # 网络信息
5317
5384
  class NetAddr < TencentCloud::Common::AbstractModel
5318
5385
  # @param Vip: 内网ip
@@ -6265,6 +6332,105 @@ module TencentCloud
6265
6332
  end
6266
6333
  end
6267
6334
 
6335
+ # 售卖地域信息
6336
+ class SaleRegion < TencentCloud::Common::AbstractModel
6337
+ # @param Region: 地域英文名
6338
+ # @type Region: String
6339
+ # @param RegionId: 地域数字ID
6340
+ # @type RegionId: Integer
6341
+ # @param RegionZh: 地域中文名
6342
+ # @type RegionZh: String
6343
+ # @param ZoneSet: 可售卖可用区列表
6344
+ # @type ZoneSet: Array
6345
+ # @param DbType: 引擎类型
6346
+ # @type DbType: String
6347
+ # @param Modules: 地域模块支持情况
6348
+ # @type Modules: Array
6349
+
6350
+ attr_accessor :Region, :RegionId, :RegionZh, :ZoneSet, :DbType, :Modules
6351
+
6352
+ def initialize(region=nil, regionid=nil, regionzh=nil, zoneset=nil, dbtype=nil, modules=nil)
6353
+ @Region = region
6354
+ @RegionId = regionid
6355
+ @RegionZh = regionzh
6356
+ @ZoneSet = zoneset
6357
+ @DbType = dbtype
6358
+ @Modules = modules
6359
+ end
6360
+
6361
+ def deserialize(params)
6362
+ @Region = params['Region']
6363
+ @RegionId = params['RegionId']
6364
+ @RegionZh = params['RegionZh']
6365
+ unless params['ZoneSet'].nil?
6366
+ @ZoneSet = []
6367
+ params['ZoneSet'].each do |i|
6368
+ salezone_tmp = SaleZone.new
6369
+ salezone_tmp.deserialize(i)
6370
+ @ZoneSet << salezone_tmp
6371
+ end
6372
+ end
6373
+ @DbType = params['DbType']
6374
+ unless params['Modules'].nil?
6375
+ @Modules = []
6376
+ params['Modules'].each do |i|
6377
+ module_tmp = Module.new
6378
+ module_tmp.deserialize(i)
6379
+ @Modules << module_tmp
6380
+ end
6381
+ end
6382
+ end
6383
+ end
6384
+
6385
+ # 售卖可用区信息
6386
+ class SaleZone < TencentCloud::Common::AbstractModel
6387
+ # @param Zone: 可用区英文名
6388
+ # @type Zone: String
6389
+ # @param ZoneId: 可用区数字ID
6390
+ # @type ZoneId: Integer
6391
+ # @param ZoneZh: 可用区中文名
6392
+ # @type ZoneZh: String
6393
+ # @param IsSupportServerless: 是否支持serverless集群<br>
6394
+ # 0:不支持<br>
6395
+ # 1:支持
6396
+ # @type IsSupportServerless: Integer
6397
+ # @param IsSupportNormal: 是否支持普通集群<br>
6398
+ # 0:不支持<br>
6399
+ # 1:支持
6400
+ # @type IsSupportNormal: Integer
6401
+ # @param PhysicalZone: 物理区
6402
+ # @type PhysicalZone: String
6403
+ # @param HasPermission: 用户是否有可用区权限
6404
+ # 注意:此字段可能返回 null,表示取不到有效值。
6405
+ # @type HasPermission: Boolean
6406
+ # @param IsWholeRdmaZone: 是否为全链路RDMA可用区
6407
+ # @type IsWholeRdmaZone: String
6408
+
6409
+ attr_accessor :Zone, :ZoneId, :ZoneZh, :IsSupportServerless, :IsSupportNormal, :PhysicalZone, :HasPermission, :IsWholeRdmaZone
6410
+
6411
+ def initialize(zone=nil, zoneid=nil, zonezh=nil, issupportserverless=nil, issupportnormal=nil, physicalzone=nil, haspermission=nil, iswholerdmazone=nil)
6412
+ @Zone = zone
6413
+ @ZoneId = zoneid
6414
+ @ZoneZh = zonezh
6415
+ @IsSupportServerless = issupportserverless
6416
+ @IsSupportNormal = issupportnormal
6417
+ @PhysicalZone = physicalzone
6418
+ @HasPermission = haspermission
6419
+ @IsWholeRdmaZone = iswholerdmazone
6420
+ end
6421
+
6422
+ def deserialize(params)
6423
+ @Zone = params['Zone']
6424
+ @ZoneId = params['ZoneId']
6425
+ @ZoneZh = params['ZoneZh']
6426
+ @IsSupportServerless = params['IsSupportServerless']
6427
+ @IsSupportNormal = params['IsSupportNormal']
6428
+ @PhysicalZone = params['PhysicalZone']
6429
+ @HasPermission = params['HasPermission']
6430
+ @IsWholeRdmaZone = params['IsWholeRdmaZone']
6431
+ end
6432
+ end
6433
+
6268
6434
  # SearchClusterDatabases请求参数结构体
6269
6435
  class SearchClusterDatabasesRequest < TencentCloud::Common::AbstractModel
6270
6436
  # @param ClusterId: 集群id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.508
4
+ version: 3.0.509
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-02-14 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common