Class: TencentCloud::Postgres::V20170312::DedicatedCluster
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DedicatedCluster
- Defined in:
- lib/v20170312/models.rb
Overview
专属集群相关信息,用于查询用户的专属集群列表
Instance Attribute Summary collapse
- #CpuAvailable ⇒ Object
- #CpuTotal ⇒ Object
- #DedicatedClusterId ⇒ Object
- #DiskAvailable ⇒ Object
- #DiskTotal ⇒ Object
- #InstanceCount ⇒ Object
- #MemAvailable ⇒ Object
- #MemTotal ⇒ Object
- #Name ⇒ Object
- #StandbyDedicatedClusterSet ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dedicatedclusterid = nil, name = nil, zone = nil, standbydedicatedclusterset = nil, instancecount = nil, cputotal = nil, cpuavailable = nil, memtotal = nil, memavailable = nil, disktotal = nil, diskavailable = nil) ⇒ DedicatedCluster
constructor
A new instance of DedicatedCluster.
Constructor Details
#initialize(dedicatedclusterid = nil, name = nil, zone = nil, standbydedicatedclusterset = nil, instancecount = nil, cputotal = nil, cpuavailable = nil, memtotal = nil, memavailable = nil, disktotal = nil, diskavailable = nil) ⇒ DedicatedCluster
Returns a new instance of DedicatedCluster.
1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 |
# File 'lib/v20170312/models.rb', line 1984 def initialize(dedicatedclusterid=nil, name=nil, zone=nil, standbydedicatedclusterset=nil, instancecount=nil, cputotal=nil, cpuavailable=nil, memtotal=nil, memavailable=nil, disktotal=nil, diskavailable=nil) @DedicatedClusterId = dedicatedclusterid @Name = name @Zone = zone @StandbyDedicatedClusterSet = standbydedicatedclusterset @InstanceCount = instancecount @CpuTotal = cputotal @CpuAvailable = cpuavailable @MemTotal = memtotal @MemAvailable = memavailable @DiskTotal = disktotal @DiskAvailable = diskavailable end |
Instance Attribute Details
#CpuAvailable ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def CpuAvailable @CpuAvailable end |
#CpuTotal ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def CpuTotal @CpuTotal end |
#DedicatedClusterId ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def DedicatedClusterId @DedicatedClusterId end |
#DiskAvailable ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def DiskAvailable @DiskAvailable end |
#DiskTotal ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def DiskTotal @DiskTotal end |
#InstanceCount ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def InstanceCount @InstanceCount end |
#MemAvailable ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def MemAvailable @MemAvailable end |
#MemTotal ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def MemTotal @MemTotal end |
#Name ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def Name @Name end |
#StandbyDedicatedClusterSet ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def StandbyDedicatedClusterSet @StandbyDedicatedClusterSet end |
#Zone ⇒ Object
1982 1983 1984 |
# File 'lib/v20170312/models.rb', line 1982 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 |
# File 'lib/v20170312/models.rb', line 1998 def deserialize(params) @DedicatedClusterId = params['DedicatedClusterId'] @Name = params['Name'] @Zone = params['Zone'] @StandbyDedicatedClusterSet = params['StandbyDedicatedClusterSet'] @InstanceCount = params['InstanceCount'] @CpuTotal = params['CpuTotal'] @CpuAvailable = params['CpuAvailable'] @MemTotal = params['MemTotal'] @MemAvailable = params['MemAvailable'] @DiskTotal = params['DiskTotal'] @DiskAvailable = params['DiskAvailable'] end |