Class: TencentCloud::Tse::V20201207::ApolloEnvParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::ApolloEnvParam
- Defined in:
- lib/v20201207/models.rb
Overview
Apollo 环境配置参数
Instance Attribute Summary collapse
-
#EngineNodeNum ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID.
-
#EngineResourceSpec ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID.
-
#EnvDesc ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID.
-
#Name ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID.
-
#StorageCapacity ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID.
-
#SubnetId ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID.
-
#VpcId ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, engineresourcespec = nil, enginenodenum = nil, storagecapacity = nil, vpcid = nil, subnetid = nil, envdesc = nil) ⇒ ApolloEnvParam
constructor
A new instance of ApolloEnvParam.
Constructor Details
#initialize(name = nil, engineresourcespec = nil, enginenodenum = nil, storagecapacity = nil, vpcid = nil, subnetid = nil, envdesc = nil) ⇒ ApolloEnvParam
Returns a new instance of ApolloEnvParam.
42 43 44 45 46 47 48 49 50 |
# File 'lib/v20201207/models.rb', line 42 def initialize(name=nil, engineresourcespec=nil, enginenodenum=nil, storagecapacity=nil, vpcid=nil, subnetid=nil, envdesc=nil) @Name = name @EngineResourceSpec = engineresourcespec @EngineNodeNum = enginenodenum @StorageCapacity = storagecapacity @VpcId = vpcid @SubnetId = subnetid @EnvDesc = envdesc end |
Instance Attribute Details
#EngineNodeNum ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID
40 41 42 |
# File 'lib/v20201207/models.rb', line 40 def EngineNodeNum @EngineNodeNum end |
#EngineResourceSpec ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID
40 41 42 |
# File 'lib/v20201207/models.rb', line 40 def EngineResourceSpec @EngineResourceSpec end |
#EnvDesc ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID
40 41 42 |
# File 'lib/v20201207/models.rb', line 40 def EnvDesc @EnvDesc end |
#Name ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID
40 41 42 |
# File 'lib/v20201207/models.rb', line 40 def Name @Name end |
#StorageCapacity ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID
40 41 42 |
# File 'lib/v20201207/models.rb', line 40 def StorageCapacity @StorageCapacity end |
#SubnetId ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID
40 41 42 |
# File 'lib/v20201207/models.rb', line 40 def SubnetId @SubnetId end |
#VpcId ⇒ Object
-1C2G -2C4G 兼容原spec-xxxxxx形式的规格ID
40 41 42 |
# File 'lib/v20201207/models.rb', line 40 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
52 53 54 55 56 57 58 59 60 |
# File 'lib/v20201207/models.rb', line 52 def deserialize(params) @Name = params['Name'] @EngineResourceSpec = params['EngineResourceSpec'] @EngineNodeNum = params['EngineNodeNum'] @StorageCapacity = params['StorageCapacity'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @EnvDesc = params['EnvDesc'] end |