Class: TencentCloud::Tcaplusdb::V20190823::ClusterInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::ClusterInfo
- Defined in:
- lib/v20190823/models.rb
Overview
集群详细信息
Instance Attribute Summary collapse
- #ApiAccessId ⇒ Object
- #ApiAccessIp ⇒ Object
- #ApiAccessIpv6 ⇒ Object
- #ApiAccessPort ⇒ Object
- #Censorship ⇒ Object
- #ClusterId ⇒ Object
- #ClusterName ⇒ Object
- #ClusterStatus ⇒ Object
- #ClusterType ⇒ Object
- #CreatedTime ⇒ Object
- #DataFlowStatus ⇒ Object
- #DbaUins ⇒ Object
- #DiskVolume ⇒ Object
- #IdlType ⇒ Object
- #IsReadOnlyUlogBackupExpireDay ⇒ Object
- #KafkaInfo ⇒ Object
- #NetworkType ⇒ Object
- #OldPasswordExpireTime ⇒ Object
- #Password ⇒ Object
- #PasswordStatus ⇒ Object
- #ProxyList ⇒ Object
- #ReadCapacityUnit ⇒ Object
- #Region ⇒ Object
- #RestProxyStatus ⇒ Object
- #ServerList ⇒ Object
- #ShardTotalNum ⇒ Object
- #ShardUsedNum ⇒ Object
- #SubnetId ⇒ Object
- #TxhBackupExpireDay ⇒ Object
- #UlogBackupExpireDay ⇒ Object
- #VpcId ⇒ Object
- #WriteCapacityUnit ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clustername = nil, clusterid = nil, region = nil, idltype = nil, networktype = nil, vpcid = nil, subnetid = nil, createdtime = nil, password = nil, passwordstatus = nil, apiaccessid = nil, apiaccessip = nil, apiaccessport = nil, oldpasswordexpiretime = nil, apiaccessipv6 = nil, clustertype = nil, clusterstatus = nil, readcapacityunit = nil, writecapacityunit = nil, diskvolume = nil, serverlist = nil, proxylist = nil, censorship = nil, dbauins = nil, dataflowstatus = nil, kafkainfo = nil, txhbackupexpireday = nil, ulogbackupexpireday = nil, isreadonlyulogbackupexpireday = nil, restproxystatus = nil, shardtotalnum = nil, shardusednum = nil) ⇒ ClusterInfo
constructor
A new instance of ClusterInfo.
Constructor Details
#initialize(clustername = nil, clusterid = nil, region = nil, idltype = nil, networktype = nil, vpcid = nil, subnetid = nil, createdtime = nil, password = nil, passwordstatus = nil, apiaccessid = nil, apiaccessip = nil, apiaccessport = nil, oldpasswordexpiretime = nil, apiaccessipv6 = nil, clustertype = nil, clusterstatus = nil, readcapacityunit = nil, writecapacityunit = nil, diskvolume = nil, serverlist = nil, proxylist = nil, censorship = nil, dbauins = nil, dataflowstatus = nil, kafkainfo = nil, txhbackupexpireday = nil, ulogbackupexpireday = nil, isreadonlyulogbackupexpireday = nil, restproxystatus = nil, shardtotalnum = nil, shardusednum = nil) ⇒ ClusterInfo
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/v20190823/models.rb', line 383 def initialize(clustername=nil, clusterid=nil, region=nil, idltype=nil, networktype=nil, vpcid=nil, subnetid=nil, createdtime=nil, password=nil, passwordstatus=nil, apiaccessid=nil, apiaccessip=nil, apiaccessport=nil, oldpasswordexpiretime=nil, apiaccessipv6=nil, clustertype=nil, clusterstatus=nil, readcapacityunit=nil, writecapacityunit=nil, diskvolume=nil, serverlist=nil, proxylist=nil, censorship=nil, dbauins=nil, dataflowstatus=nil, kafkainfo=nil, txhbackupexpireday=nil, ulogbackupexpireday=nil, isreadonlyulogbackupexpireday=nil, restproxystatus=nil, shardtotalnum=nil, shardusednum=nil) @ClusterName = clustername @ClusterId = clusterid @Region = region @IdlType = idltype @NetworkType = networktype @VpcId = vpcid @SubnetId = subnetid @CreatedTime = createdtime @Password = password @PasswordStatus = passwordstatus @ApiAccessId = apiaccessid @ApiAccessIp = apiaccessip @ApiAccessPort = apiaccessport @OldPasswordExpireTime = oldpasswordexpiretime @ApiAccessIpv6 = apiaccessipv6 @ClusterType = clustertype @ClusterStatus = clusterstatus @ReadCapacityUnit = readcapacityunit @WriteCapacityUnit = writecapacityunit @DiskVolume = diskvolume @ServerList = serverlist @ProxyList = proxylist @Censorship = censorship @DbaUins = dbauins @DataFlowStatus = dataflowstatus @KafkaInfo = kafkainfo @TxhBackupExpireDay = txhbackupexpireday @UlogBackupExpireDay = ulogbackupexpireday @IsReadOnlyUlogBackupExpireDay = isreadonlyulogbackupexpireday @RestProxyStatus = restproxystatus @ShardTotalNum = shardtotalnum @ShardUsedNum = shardusednum end |
Instance Attribute Details
#ApiAccessId ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ApiAccessId @ApiAccessId end |
#ApiAccessIp ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ApiAccessIp @ApiAccessIp end |
#ApiAccessIpv6 ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ApiAccessIpv6 @ApiAccessIpv6 end |
#ApiAccessPort ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ApiAccessPort @ApiAccessPort end |
#Censorship ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def Censorship @Censorship end |
#ClusterId ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ClusterName @ClusterName end |
#ClusterStatus ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ClusterStatus @ClusterStatus end |
#ClusterType ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ClusterType @ClusterType end |
#CreatedTime ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def CreatedTime @CreatedTime end |
#DataFlowStatus ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def DataFlowStatus @DataFlowStatus end |
#DbaUins ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def DbaUins @DbaUins end |
#DiskVolume ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def DiskVolume @DiskVolume end |
#IdlType ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def IdlType @IdlType end |
#IsReadOnlyUlogBackupExpireDay ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def IsReadOnlyUlogBackupExpireDay @IsReadOnlyUlogBackupExpireDay end |
#KafkaInfo ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def KafkaInfo @KafkaInfo end |
#NetworkType ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def NetworkType @NetworkType end |
#OldPasswordExpireTime ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def OldPasswordExpireTime @OldPasswordExpireTime end |
#Password ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def Password @Password end |
#PasswordStatus ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def PasswordStatus @PasswordStatus end |
#ProxyList ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ProxyList @ProxyList end |
#ReadCapacityUnit ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ReadCapacityUnit @ReadCapacityUnit end |
#Region ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def Region @Region end |
#RestProxyStatus ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def RestProxyStatus @RestProxyStatus end |
#ServerList ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ServerList @ServerList end |
#ShardTotalNum ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ShardTotalNum @ShardTotalNum end |
#ShardUsedNum ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def ShardUsedNum @ShardUsedNum end |
#SubnetId ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def SubnetId @SubnetId end |
#TxhBackupExpireDay ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def TxhBackupExpireDay @TxhBackupExpireDay end |
#UlogBackupExpireDay ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def UlogBackupExpireDay @UlogBackupExpireDay end |
#VpcId ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def VpcId @VpcId end |
#WriteCapacityUnit ⇒ Object
381 382 383 |
# File 'lib/v20190823/models.rb', line 381 def WriteCapacityUnit @WriteCapacityUnit end |
Instance Method Details
#deserialize(params) ⇒ Object
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 |
# File 'lib/v20190823/models.rb', line 418 def deserialize(params) @ClusterName = params['ClusterName'] @ClusterId = params['ClusterId'] @Region = params['Region'] @IdlType = params['IdlType'] @NetworkType = params['NetworkType'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @CreatedTime = params['CreatedTime'] @Password = params['Password'] @PasswordStatus = params['PasswordStatus'] @ApiAccessId = params['ApiAccessId'] @ApiAccessIp = params['ApiAccessIp'] @ApiAccessPort = params['ApiAccessPort'] @OldPasswordExpireTime = params['OldPasswordExpireTime'] @ApiAccessIpv6 = params['ApiAccessIpv6'] @ClusterType = params['ClusterType'] @ClusterStatus = params['ClusterStatus'] @ReadCapacityUnit = params['ReadCapacityUnit'] @WriteCapacityUnit = params['WriteCapacityUnit'] @DiskVolume = params['DiskVolume'] unless params['ServerList'].nil? @ServerList = [] params['ServerList'].each do |i| serverdetailinfo_tmp = ServerDetailInfo.new serverdetailinfo_tmp.deserialize(i) @ServerList << serverdetailinfo_tmp end end unless params['ProxyList'].nil? @ProxyList = [] params['ProxyList'].each do |i| proxydetailinfo_tmp = ProxyDetailInfo.new proxydetailinfo_tmp.deserialize(i) @ProxyList << proxydetailinfo_tmp end end @Censorship = params['Censorship'] @DbaUins = params['DbaUins'] @DataFlowStatus = params['DataFlowStatus'] unless params['KafkaInfo'].nil? @KafkaInfo = KafkaInfo.new @KafkaInfo.deserialize(params['KafkaInfo']) end @TxhBackupExpireDay = params['TxhBackupExpireDay'] @UlogBackupExpireDay = params['UlogBackupExpireDay'] @IsReadOnlyUlogBackupExpireDay = params['IsReadOnlyUlogBackupExpireDay'] @RestProxyStatus = params['RestProxyStatus'] @ShardTotalNum = params['ShardTotalNum'] @ShardUsedNum = params['ShardUsedNum'] end |