Class: TencentCloud::Clb::V20180317::LoadBalancerDetail

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

Overview

负载均衡详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancerid = nil, loadbalancername = nil, loadbalancertype = nil, status = nil, address = nil, addressipv6 = nil, addressipversion = nil, ipv6mode = nil, zone = nil, addressisp = nil, vpcid = nil, projectid = nil, createtime = nil, chargetype = nil, networkattributes = nil, prepaidattributes = nil, extrainfo = nil, configid = nil, tags = nil, listenerid = nil, protocol = nil, port = nil, locationid = nil, domain = nil, url = nil, targetid = nil, targetaddress = nil, targetport = nil, targetweight = nil, isolation = nil, securitygroup = nil, loadbalancerpasstotarget = nil, targethealth = nil, domains = nil, slavezone = nil, zones = nil, sniswitch = nil, loadbalancerdomain = nil, egress = nil, attributeflags = nil, slatype = nil, exclusive = nil) ⇒ LoadBalancerDetail

Returns a new instance of LoadBalancerDetail.



5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
# File 'lib/v20180317/models.rb', line 5993

def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, status=nil, address=nil, addressipv6=nil, addressipversion=nil, ipv6mode=nil, zone=nil, addressisp=nil, vpcid=nil, projectid=nil, createtime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, extrainfo=nil, configid=nil, tags=nil, listenerid=nil, protocol=nil, port=nil, locationid=nil, domain=nil, url=nil, targetid=nil, targetaddress=nil, targetport=nil, targetweight=nil, isolation=nil, securitygroup=nil, loadbalancerpasstotarget=nil, targethealth=nil, domains=nil, slavezone=nil, zones=nil, sniswitch=nil, loadbalancerdomain=nil, egress=nil, attributeflags=nil, slatype=nil, exclusive=nil)
  @LoadBalancerId = loadbalancerid
  @LoadBalancerName = loadbalancername
  @LoadBalancerType = loadbalancertype
  @Status = status
  @Address = address
  @AddressIPv6 = addressipv6
  @AddressIPVersion = addressipversion
  @IPv6Mode = ipv6mode
  @Zone = zone
  @AddressIsp = addressisp
  @VpcId = vpcid
  @ProjectId = projectid
  @CreateTime = createtime
  @ChargeType = chargetype
  @NetworkAttributes = networkattributes
  @PrepaidAttributes = prepaidattributes
  @ExtraInfo = extrainfo
  @ConfigId = configid
  @Tags = tags
  @ListenerId = listenerid
  @Protocol = protocol
  @Port = port
  @LocationId = locationid
  @Domain = domain
  @Url = url
  @TargetId = targetid
  @TargetAddress = targetaddress
  @TargetPort = targetport
  @TargetWeight = targetweight
  @Isolation = isolation
  @SecurityGroup = securitygroup
  @LoadBalancerPassToTarget = loadbalancerpasstotarget
  @TargetHealth = targethealth
  @Domains = domains
  @SlaveZone = slavezone
  @Zones = zones
  @SniSwitch = sniswitch
  @LoadBalancerDomain = loadbalancerdomain
  @Egress = egress
  @AttributeFlags = attributeflags
  @SlaType = slatype
  @Exclusive = exclusive
end

Instance Attribute Details

#AddressObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Address
  @Address
end

#AddressIPv6Object

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def AddressIPv6
  @AddressIPv6
end

#AddressIPVersionObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def AddressIPVersion
  @AddressIPVersion
end

#AddressIspObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def AddressIsp
  @AddressIsp
end

#AttributeFlagsObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def AttributeFlags
  @AttributeFlags
end

#ChargeTypeObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def ChargeType
  @ChargeType
end

#ConfigIdObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def ConfigId
  @ConfigId
end

#CreateTimeObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def CreateTime
  @CreateTime
end

#DomainObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Domain
  @Domain
end

#DomainsObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Domains
  @Domains
end

#EgressObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Egress
  @Egress
end

#ExclusiveObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Exclusive
  @Exclusive
end

#ExtraInfoObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def ExtraInfo
  @ExtraInfo
end

#IPv6ModeObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def IPv6Mode
  @IPv6Mode
end

#IsolationObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Isolation
  @Isolation
end

#ListenerIdObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def ListenerId
  @ListenerId
end

#LoadBalancerDomainObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def LoadBalancerDomain
  @LoadBalancerDomain
end

#LoadBalancerIdObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def LoadBalancerId
  @LoadBalancerId
end

#LoadBalancerNameObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def LoadBalancerName
  @LoadBalancerName
end

#LoadBalancerPassToTargetObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def LoadBalancerPassToTarget
  @LoadBalancerPassToTarget
end

#LoadBalancerTypeObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def LoadBalancerType
  @LoadBalancerType
end

#LocationIdObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def LocationId
  @LocationId
end

#NetworkAttributesObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def NetworkAttributes
  @NetworkAttributes
end

#PortObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Port
  @Port
end

#PrepaidAttributesObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def PrepaidAttributes
  @PrepaidAttributes
end

#ProjectIdObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def ProjectId
  @ProjectId
end

#ProtocolObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Protocol
  @Protocol
end

#SecurityGroupObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def SecurityGroup
  @SecurityGroup
end

#SlaTypeObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def SlaType
  @SlaType
end

#SlaveZoneObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def SlaveZone
  @SlaveZone
end

#SniSwitchObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def SniSwitch
  @SniSwitch
end

#StatusObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Status
  @Status
end

#TagsObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Tags
  @Tags
end

#TargetAddressObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def TargetAddress
  @TargetAddress
end

#TargetHealthObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def TargetHealth
  @TargetHealth
end

#TargetIdObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def TargetId
  @TargetId
end

#TargetPortObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def TargetPort
  @TargetPort
end

#TargetWeightObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def TargetWeight
  @TargetWeight
end

#UrlObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Url
  @Url
end

#VpcIdObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def VpcId
  @VpcId
end

#ZoneObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Zone
  @Zone
end

#ZonesObject

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

Parameters:

  • Exclusive:

    0:表示非独占型实例,1:表示独占型态实例。



5991
5992
5993
# File 'lib/v20180317/models.rb', line 5991

def Zones
  @Zones
end

Instance Method Details

#deserialize(params) ⇒ Object



6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
# File 'lib/v20180317/models.rb', line 6038

def deserialize(params)
  @LoadBalancerId = params['LoadBalancerId']
  @LoadBalancerName = params['LoadBalancerName']
  @LoadBalancerType = params['LoadBalancerType']
  @Status = params['Status']
  @Address = params['Address']
  @AddressIPv6 = params['AddressIPv6']
  @AddressIPVersion = params['AddressIPVersion']
  @IPv6Mode = params['IPv6Mode']
  @Zone = params['Zone']
  @AddressIsp = params['AddressIsp']
  @VpcId = params['VpcId']
  @ProjectId = params['ProjectId']
  @CreateTime = params['CreateTime']
  @ChargeType = params['ChargeType']
  unless params['NetworkAttributes'].nil?
    @NetworkAttributes = InternetAccessible.new
    @NetworkAttributes.deserialize(params['NetworkAttributes'])
  end
  unless params['PrepaidAttributes'].nil?
    @PrepaidAttributes = LBChargePrepaid.new
    @PrepaidAttributes.deserialize(params['PrepaidAttributes'])
  end
  unless params['ExtraInfo'].nil?
    @ExtraInfo = ExtraInfo.new
    @ExtraInfo.deserialize(params['ExtraInfo'])
  end
  @ConfigId = params['ConfigId']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      taginfo_tmp = TagInfo.new
      taginfo_tmp.deserialize(i)
      @Tags << taginfo_tmp
    end
  end
  @ListenerId = params['ListenerId']
  @Protocol = params['Protocol']
  @Port = params['Port']
  @LocationId = params['LocationId']
  @Domain = params['Domain']
  @Url = params['Url']
  @TargetId = params['TargetId']
  @TargetAddress = params['TargetAddress']
  @TargetPort = params['TargetPort']
  @TargetWeight = params['TargetWeight']
  @Isolation = params['Isolation']
  @SecurityGroup = params['SecurityGroup']
  @LoadBalancerPassToTarget = params['LoadBalancerPassToTarget']
  @TargetHealth = params['TargetHealth']
  @Domains = params['Domains']
  @SlaveZone = params['SlaveZone']
  @Zones = params['Zones']
  @SniSwitch = params['SniSwitch']
  @LoadBalancerDomain = params['LoadBalancerDomain']
  @Egress = params['Egress']
  @AttributeFlags = params['AttributeFlags']
  @SlaType = params['SlaType']
  @Exclusive = params['Exclusive']
end