Class: TencentCloud::Dcdb::V20180411::DCDBShardInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180411/models.rb

Overview

描述分布式数据库分片信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, shardserialid = nil, shardinstanceid = nil, status = nil, statusdesc = nil, createtime = nil, vpcid = nil, subnetid = nil, projectid = nil, region = nil, zone = nil, memory = nil, storage = nil, periodendtime = nil, nodecount = nil, storageusage = nil, memoryusage = nil, shardid = nil, pid = nil, proxyversion = nil, paymode = nil, shardmasterzone = nil, shardslavezones = nil, cpu = nil, range = nil) ⇒ DCDBShardInfo

Returns a new instance of DCDBShardInfo.



1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
# File 'lib/v20180411/models.rb', line 1540

def initialize(instanceid=nil, shardserialid=nil, shardinstanceid=nil, status=nil, statusdesc=nil, createtime=nil, vpcid=nil, subnetid=nil, projectid=nil, region=nil, zone=nil, memory=nil, storage=nil, periodendtime=nil, nodecount=nil, storageusage=nil, memoryusage=nil, shardid=nil, pid=nil, proxyversion=nil, paymode=nil, shardmasterzone=nil, shardslavezones=nil, cpu=nil, range=nil)
  @InstanceId = instanceid
  @ShardSerialId = shardserialid
  @ShardInstanceId = shardinstanceid
  @Status = status
  @StatusDesc = statusdesc
  @CreateTime = createtime
  @VpcId = vpcid
  @SubnetId = subnetid
  @ProjectId = projectid
  @Region = region
  @Zone = zone
  @Memory = memory
  @Storage = storage
  @PeriodEndTime = periodendtime
  @NodeCount = nodecount
  @StorageUsage = storageusage
  @MemoryUsage = memoryusage
  @ShardId = shardid
  @Pid = pid
  @ProxyVersion = proxyversion
  @Paymode = paymode
  @ShardMasterZone = shardmasterzone
  @ShardSlaveZones = shardslavezones
  @Cpu = cpu
  @Range = range
end

Instance Attribute Details

#CpuObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Cpu
  @Cpu
end

#CreateTimeObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def CreateTime
  @CreateTime
end

#InstanceIdObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def InstanceId
  @InstanceId
end

#MemoryObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Memory
  @Memory
end

#MemoryUsageObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def MemoryUsage
  @MemoryUsage
end

#NodeCountObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def NodeCount
  @NodeCount
end

#PaymodeObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Paymode
  @Paymode
end

#PeriodEndTimeObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def PeriodEndTime
  @PeriodEndTime
end

#PidObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Pid
  @Pid
end

#ProjectIdObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def ProjectId
  @ProjectId
end

#ProxyVersionObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def ProxyVersion
  @ProxyVersion
end

#RangeObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Range
  @Range
end

#RegionObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Region
  @Region
end

#ShardIdObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def ShardId
  @ShardId
end

#ShardInstanceIdObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def ShardInstanceId
  @ShardInstanceId
end

#ShardMasterZoneObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def ShardMasterZone
  @ShardMasterZone
end

#ShardSerialIdObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def ShardSerialId
  @ShardSerialId
end

#ShardSlaveZonesObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def ShardSlaveZones
  @ShardSlaveZones
end

#StatusObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Status
  @Status
end

#StatusDescObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def StatusDesc
  @StatusDesc
end

#StorageObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Storage
  @Storage
end

#StorageUsageObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def StorageUsage
  @StorageUsage
end

#SubnetIdObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def SubnetId
  @SubnetId
end

#VpcIdObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def VpcId
  @VpcId
end

#ZoneObject

Parameters:

  • InstanceId:

    所属实例Id

  • ShardSerialId:

    分片SQL透传Id,用于将sql透传到指定分片执行

  • ShardInstanceId:

    全局唯一的分片Id

  • Status:

    状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化

  • StatusDesc:

    状态中文描述

  • CreateTime:

    创建时间

  • VpcId:

    字符串格式的私有网络Id

  • SubnetId:

    字符串格式的私有网络子网Id

  • ProjectId:

    项目ID

  • Region:

    地域

  • Zone:

    可用区

  • Memory:

    内存大小,单位 GB

  • Storage:

    存储大小,单位 GB

  • PeriodEndTime:

    到期时间

  • NodeCount:

    节点数,2 为一主一从, 3 为一主二从

  • StorageUsage:

    存储使用率,单位为 %

  • MemoryUsage:

    内存使用率,单位为 %

  • ShardId:

    数字分片Id(过时字段,请勿依赖该值)

  • Pid:

    产品ProductID

  • ProxyVersion:

    Proxy版本

  • Paymode:

    付费模型

  • ShardMasterZone:

    分片的主可用区

  • ShardSlaveZones:

    分片的从可用区列表

  • Cpu:

    CPU核数

  • Range:

    分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63



1538
1539
1540
# File 'lib/v20180411/models.rb', line 1538

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'lib/v20180411/models.rb', line 1568

def deserialize(params)
  @InstanceId = params['InstanceId']
  @ShardSerialId = params['ShardSerialId']
  @ShardInstanceId = params['ShardInstanceId']
  @Status = params['Status']
  @StatusDesc = params['StatusDesc']
  @CreateTime = params['CreateTime']
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
  @ProjectId = params['ProjectId']
  @Region = params['Region']
  @Zone = params['Zone']
  @Memory = params['Memory']
  @Storage = params['Storage']
  @PeriodEndTime = params['PeriodEndTime']
  @NodeCount = params['NodeCount']
  @StorageUsage = params['StorageUsage']
  @MemoryUsage = params['MemoryUsage']
  @ShardId = params['ShardId']
  @Pid = params['Pid']
  @ProxyVersion = params['ProxyVersion']
  @Paymode = params['Paymode']
  @ShardMasterZone = params['ShardMasterZone']
  @ShardSlaveZones = params['ShardSlaveZones']
  @Cpu = params['Cpu']
  @Range = params['Range']
end