Class: TencentCloud::Tcb::V20180608::CloudBaseRunForGatewayConf

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

Overview

独立网关云托管服务配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iszero = nil, weight = nil, graykey = nil, grayvalue = nil, isdefault = nil, accesstype = nil, urls = nil, envid = nil, servername = nil, versionname = nil, graytype = nil, lbaddr = nil, configtype = nil) ⇒ CloudBaseRunForGatewayConf

Returns a new instance of CloudBaseRunForGatewayConf.



604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
# File 'lib/v20180608/models.rb', line 604

def initialize(iszero=nil, weight=nil, graykey=nil, grayvalue=nil, isdefault=nil, accesstype=nil, urls=nil, envid=nil, servername=nil, versionname=nil, graytype=nil, lbaddr=nil, configtype=nil)
  @IsZero = iszero
  @Weight = weight
  @GrayKey = graykey
  @GrayValue = grayvalue
  @IsDefault = isdefault
  @AccessType = accesstype
  @URLs = urls
  @EnvId = envid
  @ServerName = servername
  @VersionName = versionname
  @GrayType = graytype
  @LbAddr = lbaddr
  @ConfigType = configtype
end

Instance Attribute Details

#AccessTypeObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def AccessType
  @AccessType
end

#ConfigTypeObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def ConfigType
  @ConfigType
end

#EnvIdObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def EnvId
  @EnvId
end

#GrayKeyObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def GrayKey
  @GrayKey
end

#GrayTypeObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def GrayType
  @GrayType
end

#GrayValueObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def GrayValue
  @GrayValue
end

#IsDefaultObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def IsDefault
  @IsDefault
end

#IsZeroObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def IsZero
  @IsZero
end

#LbAddrObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def LbAddr
  @LbAddr
end

#ServerNameObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def ServerName
  @ServerName
end

#URLsObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def URLs
  @URLs
end

#VersionNameObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def VersionName
  @VersionName
end

#WeightObject

Parameters:

  • IsZero:

    是否缩容到0

  • Weight:

    按百分比灰度的权重

  • GrayKey:

    按请求/header参数的灰度Key

  • GrayValue:

    按请求/header参数的灰度Value

  • IsDefault:

    是否为默认版本(按请求/header参数)

  • AccessType:

    访问权限,对应二进制分多段,vpc内网|公网|oa

  • URLs:

    访问的URL(域名+路径)列表

  • EnvId:

    环境ID

  • ServerName:

    服务名称

  • VersionName:

    版本名称

  • GrayType:

    灰度类型:FLOW(权重), URL_PARAMS/HEAD_PARAMS

  • LbAddr:

    CLB的IP:Port

  • ConfigType:

    0:http访问服务配置信息, 1: 服务域名



602
603
604
# File 'lib/v20180608/models.rb', line 602

def Weight
  @Weight
end

Instance Method Details

#deserialize(params) ⇒ Object



620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
# File 'lib/v20180608/models.rb', line 620

def deserialize(params)
  @IsZero = params['IsZero']
  @Weight = params['Weight']
  @GrayKey = params['GrayKey']
  @GrayValue = params['GrayValue']
  @IsDefault = params['IsDefault']
  @AccessType = params['AccessType']
  @URLs = params['URLs']
  @EnvId = params['EnvId']
  @ServerName = params['ServerName']
  @VersionName = params['VersionName']
  @GrayType = params['GrayType']
  @LbAddr = params['LbAddr']
  @ConfigType = params['ConfigType']
end