Class: TencentCloud::Tse::V20201207::KongUpstreamInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201207/models.rb

Overview

服务的后端配置

Instance Attribute Summary collapse

Instance Method Summary collapse

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) ⇒ KongUpstreamInfo

Returns a new instance of KongUpstreamInfo.



4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
# File 'lib/v20201207/models.rb', line 4979

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)
  @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
end

Instance Attribute Details

#AlgorithmObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def Algorithm
  @Algorithm
end

#AutoScalingCvmPortObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def AutoScalingCvmPort
  @AutoScalingCvmPort
end

#AutoScalingGroupIDObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def AutoScalingGroupID
  @AutoScalingGroupID
end

#AutoScalingHookStatusObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def AutoScalingHookStatus
  @AutoScalingHookStatus
end

#AutoScalingTatCmdStatusObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def AutoScalingTatCmdStatus
  @AutoScalingTatCmdStatus
end

#HealthStatusObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def HealthStatus
  @HealthStatus
end

#HostObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def Host
  @Host
end

#NamespaceObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def Namespace
  @Namespace
end

#PortObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def Port
  @Port
end

#RealSourceTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def RealSourceType
  @RealSourceType
end

#ScfLambdaNameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def ScfLambdaName
  @ScfLambdaName
end

#ScfLambdaQualifierObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def ScfLambdaQualifier
  @ScfLambdaQualifier
end

#ScfNamespaceObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def ScfNamespace
  @ScfNamespace
end

#ScfTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def ScfType
  @ScfType
end

#ServiceNameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def ServiceName
  @ServiceName
end

#SlowStartObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def SlowStart
  @SlowStart
end

#SourceIDObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def SourceID
  @SourceID
end

#SourceNameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def SourceName
  @SourceName
end

#SourceTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def SourceType
  @SourceType
end

#TargetsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Host:

    IP或域名

  • Port:

    端口

  • SourceID:

    服务来源ID

  • Namespace:

    命名空间

  • ServiceName:

    服务(注册中心或Kubernetes中的服务)名字

  • Targets:

    服务后端类型是IPList时提供

  • SourceType:

    服务来源类型

  • ScfType:

    SCF函数类型

  • ScfNamespace:

    SCF函数命名空间

  • ScfLambdaName:

    SCF函数名

  • ScfLambdaQualifier:

    SCF函数版本

  • SlowStart:

    冷启动时间,单位秒

  • Algorithm:

    负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing

  • AutoScalingGroupID:

    CVM弹性伸缩组ID

  • AutoScalingCvmPort:

    CVM弹性伸缩组端口

  • AutoScalingTatCmdStatus:

    CVM弹性伸缩组使用的CVM TAT命令状态

  • AutoScalingHookStatus:

    CVM弹性伸缩组生命周期挂钩状态

  • SourceName:

    服务来源的名字

  • RealSourceType:

    精确的服务来源类型,新建服务来源时候传入的类型

  • HealthStatus:

    upstream健康状态HEALTHY(健康), UNHEALTHY(异常), HEALTHCHECKS_OFF(未开启)和NONE(不支持健康检查)



4977
4978
4979
# File 'lib/v20201207/models.rb', line 4977

def Targets
  @Targets
end

Instance Method Details

#deserialize(params) ⇒ Object



5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
# File 'lib/v20201207/models.rb', line 5002

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']
end