Class: TencentCloud::Bmlb::V20180625::TrafficMirror

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

Overview

获取流量镜像实例的列表信息时返回的流量镜像信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(trafficmirrorid = nil, _alias = nil, vpcid = nil, loadbalancertype = nil, healthswitch = nil, healthnum = nil, unhealthnum = nil, intervaltime = nil, httpcheckdomain = nil, httpcheckpath = nil, httpcodes = nil, createtime = nil, vpccidrblock = nil, vpcname = nil) ⇒ TrafficMirror

Returns a new instance of TrafficMirror.



4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
# File 'lib/v20180625/models.rb', line 4167

def initialize(trafficmirrorid=nil, _alias=nil, vpcid=nil, loadbalancertype=nil, healthswitch=nil, healthnum=nil, unhealthnum=nil, intervaltime=nil, httpcheckdomain=nil, httpcheckpath=nil, httpcodes=nil, createtime=nil, vpccidrblock=nil, vpcname=nil)
  @TrafficMirrorId = trafficmirrorid
  @Alias = _alias
  @VpcId = vpcid
  @LoadBalancerType = loadbalancertype
  @HealthSwitch = healthswitch
  @HealthNum = healthnum
  @UnhealthNum = unhealthnum
  @IntervalTime = intervaltime
  @HttpCheckDomain = httpcheckdomain
  @HttpCheckPath = httpcheckpath
  @HttpCodes = httpcodes
  @CreateTime = createtime
  @VpcCidrBlock = vpccidrblock
  @VpcName = vpcname
end

Instance Attribute Details

#AliasObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def Alias
  @Alias
end

#CreateTimeObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def CreateTime
  @CreateTime
end

#HealthNumObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def HealthNum
  @HealthNum
end

#HealthSwitchObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def HealthSwitch
  @HealthSwitch
end

#HttpCheckDomainObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def HttpCheckDomain
  @HttpCheckDomain
end

#HttpCheckPathObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def HttpCheckPath
  @HttpCheckPath
end

#HttpCodesObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def HttpCodes
  @HttpCodes
end

#IntervalTimeObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def IntervalTime
  @IntervalTime
end

#LoadBalancerTypeObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def LoadBalancerType
  @LoadBalancerType
end

#TrafficMirrorIdObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def TrafficMirrorId
  @TrafficMirrorId
end

#UnhealthNumObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def UnhealthNum
  @UnhealthNum
end

#VpcCidrBlockObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def VpcCidrBlock
  @VpcCidrBlock
end

#VpcIdObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def VpcId
  @VpcId
end

#VpcNameObject

Parameters:

  • TrafficMirrorId:

    流量镜像ID。

  • Alias:

    流量镜像名称。

  • VpcId:

    流量镜像所在的私有网络ID。

  • LoadBalancerType:

    接收机负载均衡方式。wrr,ip_hash,wlc。

  • HealthSwitch:

    是否开始对接收机的健康检查。0:关闭,非0:开启。

  • HealthNum:

    健康阈值。

  • UnhealthNum:

    不健康阈值。

  • IntervalTime:

    检查间隔。

  • HttpCheckDomain:

    检查域名。

  • HttpCheckPath:

    检查目录。

  • HttpCodes:

    健康检查返回码。 1:1xx,2:2xx,3:3xx,4:4xx,5:5xx。

  • CreateTime:

    创建时间。

  • VpcCidrBlock:

    流量镜像所在私有网络的Cidr。

  • VpcName:

    流量镜像所在私有网络的名称。



4165
4166
4167
# File 'lib/v20180625/models.rb', line 4165

def VpcName
  @VpcName
end

Instance Method Details

#deserialize(params) ⇒ Object



4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
# File 'lib/v20180625/models.rb', line 4184

def deserialize(params)
  @TrafficMirrorId = params['TrafficMirrorId']
  @Alias = params['Alias']
  @VpcId = params['VpcId']
  @LoadBalancerType = params['LoadBalancerType']
  @HealthSwitch = params['HealthSwitch']
  @HealthNum = params['HealthNum']
  @UnhealthNum = params['UnhealthNum']
  @IntervalTime = params['IntervalTime']
  @HttpCheckDomain = params['HttpCheckDomain']
  @HttpCheckPath = params['HttpCheckPath']
  @HttpCodes = params['HttpCodes']
  @CreateTime = params['CreateTime']
  @VpcCidrBlock = params['VpcCidrBlock']
  @VpcName = params['VpcName']
end