Class: TencentCloud::Tse::V20201207::CloudNativeAPIGatewayStrategyAutoScalerConfigMetric
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::CloudNativeAPIGatewayStrategyAutoScalerConfigMetric
- Defined in:
- lib/v20201207/models.rb
Overview
弹性伸缩配置指标
Instance Attribute Summary collapse
-
#ResourceName ⇒ Object
-
Resource - cpu - memory.
-
-
#TargetType ⇒ Object
-
Resource - cpu - memory.
-
-
#TargetValue ⇒ Object
-
Resource - cpu - memory.
-
-
#Type ⇒ Object
-
Resource - cpu - memory.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, resourcename = nil, targettype = nil, targetvalue = nil) ⇒ CloudNativeAPIGatewayStrategyAutoScalerConfigMetric
constructor
A new instance of CloudNativeAPIGatewayStrategyAutoScalerConfigMetric.
Constructor Details
#initialize(type = nil, resourcename = nil, targettype = nil, targetvalue = nil) ⇒ CloudNativeAPIGatewayStrategyAutoScalerConfigMetric
Returns a new instance of CloudNativeAPIGatewayStrategyAutoScalerConfigMetric.
952 953 954 955 956 957 |
# File 'lib/v20201207/models.rb', line 952 def initialize(type=nil, resourcename=nil, targettype=nil, targetvalue=nil) @Type = type @ResourceName = resourcename @TargetType = targettype @TargetValue = targetvalue end |
Instance Attribute Details
#ResourceName ⇒ Object
-
Resource
-
cpu
-
memory
950 951 952 |
# File 'lib/v20201207/models.rb', line 950 def ResourceName @ResourceName end |
#TargetType ⇒ Object
-
Resource
-
cpu
-
memory
950 951 952 |
# File 'lib/v20201207/models.rb', line 950 def TargetType @TargetType end |
#TargetValue ⇒ Object
-
Resource
-
cpu
-
memory
950 951 952 |
# File 'lib/v20201207/models.rb', line 950 def TargetValue @TargetValue end |
#Type ⇒ Object
-
Resource
-
cpu
-
memory
950 951 952 |
# File 'lib/v20201207/models.rb', line 950 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
959 960 961 962 963 964 |
# File 'lib/v20201207/models.rb', line 959 def deserialize(params) @Type = params['Type'] @ResourceName = params['ResourceName'] @TargetType = params['TargetType'] @TargetValue = params['TargetValue'] end |