Class: TencentCloud::Cdwch::V20200915::ScaleUpInstanceRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::ScaleUpInstanceRequest
- Defined in:
- lib/v20200915/models.rb
Overview
ScaleUpInstance请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, type = nil, specname = nil, scaleupenablerolling = nil) ⇒ ScaleUpInstanceRequest
constructor
A new instance of ScaleUpInstanceRequest.
Constructor Details
#initialize(instanceid = nil, type = nil, specname = nil, scaleupenablerolling = nil) ⇒ ScaleUpInstanceRequest
Returns a new instance of ScaleUpInstanceRequest.
1926 1927 1928 1929 1930 1931 |
# File 'lib/v20200915/models.rb', line 1926 def initialize(instanceid=nil, type=nil, specname=nil, scaleupenablerolling=nil) @InstanceId = instanceid @Type = type @SpecName = specname @ScaleUpEnableRolling = scaleupenablerolling end |
Instance Attribute Details
#InstanceId ⇒ Object
1924 1925 1926 |
# File 'lib/v20200915/models.rb', line 1924 def InstanceId @InstanceId end |
#ScaleUpEnableRolling ⇒ Object
1924 1925 1926 |
# File 'lib/v20200915/models.rb', line 1924 def ScaleUpEnableRolling @ScaleUpEnableRolling end |
#SpecName ⇒ Object
1924 1925 1926 |
# File 'lib/v20200915/models.rb', line 1924 def SpecName @SpecName end |
#Type ⇒ Object
1924 1925 1926 |
# File 'lib/v20200915/models.rb', line 1924 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1933 1934 1935 1936 1937 1938 |
# File 'lib/v20200915/models.rb', line 1933 def deserialize(params) @InstanceId = params['InstanceId'] @Type = params['Type'] @SpecName = params['SpecName'] @ScaleUpEnableRolling = params['ScaleUpEnableRolling'] end |