Class: TencentCloud::Tse::V20201207::KongUpstreamInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::KongUpstreamInfo
- Defined in:
- lib/v20201207/models.rb
Overview
服务的后端配置
Instance Attribute Summary collapse
-
#Algorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#AutoScalingCvmPort ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#AutoScalingGroupID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#AutoScalingHookStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#AutoScalingTatCmdStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#HealthStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Host ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RealSourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScfCamAuthEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScfIsBase64Encoded ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScfIsIntegratedResponse ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScfLambdaName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScfLambdaQualifier ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScfNamespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScfType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ServiceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SlowStart ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SourceID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SourceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Targets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(host = nil, port = nil, sourceid = nil, namespace = nil, servicename = nil, targets = nil, sourcetype = nil, scftype = nil, scfnamespace = nil, scflambdaname = nil, scflambdaqualifier = nil, slowstart = nil, algorithm = nil, autoscalinggroupid = nil, autoscalingcvmport = nil, autoscalingtatcmdstatus = nil, autoscalinghookstatus = nil, sourcename = nil, realsourcetype = nil, healthstatus = nil, scfcamauthenable = nil, scfisbase64encoded = nil, scfisintegratedresponse = nil) ⇒ KongUpstreamInfo
constructor
A new instance of KongUpstreamInfo.
Constructor Details
#initialize(host = nil, port = nil, sourceid = nil, namespace = nil, servicename = nil, targets = nil, sourcetype = nil, scftype = nil, scfnamespace = nil, scflambdaname = nil, scflambdaqualifier = nil, slowstart = nil, algorithm = nil, autoscalinggroupid = nil, autoscalingcvmport = nil, autoscalingtatcmdstatus = nil, autoscalinghookstatus = nil, sourcename = nil, realsourcetype = nil, healthstatus = nil, scfcamauthenable = nil, scfisbase64encoded = nil, scfisintegratedresponse = nil) ⇒ KongUpstreamInfo
Returns a new instance of KongUpstreamInfo.
9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 |
# File 'lib/v20201207/models.rb', line 9213 def initialize(host=nil, port=nil, sourceid=nil, namespace=nil, servicename=nil, targets=nil, sourcetype=nil, scftype=nil, scfnamespace=nil, scflambdaname=nil, scflambdaqualifier=nil, slowstart=nil, algorithm=nil, autoscalinggroupid=nil, autoscalingcvmport=nil, autoscalingtatcmdstatus=nil, autoscalinghookstatus=nil, sourcename=nil, realsourcetype=nil, healthstatus=nil, scfcamauthenable=nil, scfisbase64encoded=nil, scfisintegratedresponse=nil) @Host = host @Port = port @SourceID = sourceid @Namespace = namespace @ServiceName = servicename @Targets = targets @SourceType = sourcetype @ScfType = scftype @ScfNamespace = scfnamespace @ScfLambdaName = scflambdaname @ScfLambdaQualifier = scflambdaqualifier @SlowStart = slowstart @Algorithm = algorithm @AutoScalingGroupID = autoscalinggroupid @AutoScalingCvmPort = autoscalingcvmport @AutoScalingTatCmdStatus = autoscalingtatcmdstatus @AutoScalingHookStatus = autoscalinghookstatus @SourceName = sourcename @RealSourceType = realsourcetype @HealthStatus = healthstatus @ScfCamAuthEnable = scfcamauthenable @ScfIsBase64Encoded = scfisbase64encoded @ScfIsIntegratedResponse = scfisintegratedresponse end |
Instance Attribute Details
#Algorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def Algorithm @Algorithm end |
#AutoScalingCvmPort ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def AutoScalingCvmPort @AutoScalingCvmPort end |
#AutoScalingGroupID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def AutoScalingGroupID @AutoScalingGroupID end |
#AutoScalingHookStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def AutoScalingHookStatus @AutoScalingHookStatus end |
#AutoScalingTatCmdStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def AutoScalingTatCmdStatus @AutoScalingTatCmdStatus end |
#HealthStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def HealthStatus @HealthStatus end |
#Host ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def Host @Host end |
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def Namespace @Namespace end |
#Port ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def Port @Port end |
#RealSourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def RealSourceType @RealSourceType end |
#ScfCamAuthEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def ScfCamAuthEnable @ScfCamAuthEnable end |
#ScfIsBase64Encoded ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def ScfIsBase64Encoded @ScfIsBase64Encoded end |
#ScfIsIntegratedResponse ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def ScfIsIntegratedResponse @ScfIsIntegratedResponse end |
#ScfLambdaName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def ScfLambdaName @ScfLambdaName end |
#ScfLambdaQualifier ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def ScfLambdaQualifier @ScfLambdaQualifier end |
#ScfNamespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def ScfNamespace @ScfNamespace end |
#ScfType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def ScfType @ScfType end |
#ServiceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def ServiceName @ServiceName end |
#SlowStart ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def SlowStart @SlowStart end |
#SourceID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def SourceID @SourceID end |
#SourceName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def SourceName @SourceName end |
#SourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def SourceType @SourceType end |
#Targets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9211 9212 9213 |
# File 'lib/v20201207/models.rb', line 9211 def Targets @Targets end |
Instance Method Details
#deserialize(params) ⇒ Object
9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 |
# File 'lib/v20201207/models.rb', line 9239 def deserialize(params) @Host = params['Host'] @Port = params['Port'] @SourceID = params['SourceID'] @Namespace = params['Namespace'] @ServiceName = params['ServiceName'] unless params['Targets'].nil? @Targets = [] params['Targets'].each do |i| kongtarget_tmp = KongTarget.new kongtarget_tmp.deserialize(i) @Targets << kongtarget_tmp end end @SourceType = params['SourceType'] @ScfType = params['ScfType'] @ScfNamespace = params['ScfNamespace'] @ScfLambdaName = params['ScfLambdaName'] @ScfLambdaQualifier = params['ScfLambdaQualifier'] @SlowStart = params['SlowStart'] @Algorithm = params['Algorithm'] @AutoScalingGroupID = params['AutoScalingGroupID'] @AutoScalingCvmPort = params['AutoScalingCvmPort'] @AutoScalingTatCmdStatus = params['AutoScalingTatCmdStatus'] @AutoScalingHookStatus = params['AutoScalingHookStatus'] @SourceName = params['SourceName'] @RealSourceType = params['RealSourceType'] @HealthStatus = params['HealthStatus'] @ScfCamAuthEnable = params['ScfCamAuthEnable'] @ScfIsBase64Encoded = params['ScfIsBase64Encoded'] @ScfIsIntegratedResponse = params['ScfIsIntegratedResponse'] end |