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.



5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
# File 'lib/v20180317/models.rb', line 5872

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:表示独占型态实例。



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Address
  @Address
end

#AddressIPv6Object

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def AddressIPv6
  @AddressIPv6
end

#AddressIPVersionObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def AddressIPVersion
  @AddressIPVersion
end

#AddressIspObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def AddressIsp
  @AddressIsp
end

#AttributeFlagsObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def AttributeFlags
  @AttributeFlags
end

#ChargeTypeObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def ChargeType
  @ChargeType
end

#ConfigIdObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def ConfigId
  @ConfigId
end

#CreateTimeObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def CreateTime
  @CreateTime
end

#DomainObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Domain
  @Domain
end

#DomainsObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Domains
  @Domains
end

#EgressObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Egress
  @Egress
end

#ExclusiveObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Exclusive
  @Exclusive
end

#ExtraInfoObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def ExtraInfo
  @ExtraInfo
end

#IPv6ModeObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def IPv6Mode
  @IPv6Mode
end

#IsolationObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Isolation
  @Isolation
end

#ListenerIdObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def ListenerId
  @ListenerId
end

#LoadBalancerDomainObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def LoadBalancerDomain
  @LoadBalancerDomain
end

#LoadBalancerIdObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def LoadBalancerId
  @LoadBalancerId
end

#LoadBalancerNameObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def LoadBalancerName
  @LoadBalancerName
end

#LoadBalancerPassToTargetObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def LoadBalancerPassToTarget
  @LoadBalancerPassToTarget
end

#LoadBalancerTypeObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def LoadBalancerType
  @LoadBalancerType
end

#LocationIdObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def LocationId
  @LocationId
end

#NetworkAttributesObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def NetworkAttributes
  @NetworkAttributes
end

#PortObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Port
  @Port
end

#PrepaidAttributesObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def PrepaidAttributes
  @PrepaidAttributes
end

#ProjectIdObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def ProjectId
  @ProjectId
end

#ProtocolObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Protocol
  @Protocol
end

#SecurityGroupObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def SecurityGroup
  @SecurityGroup
end

#SlaTypeObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def SlaType
  @SlaType
end

#SlaveZoneObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def SlaveZone
  @SlaveZone
end

#SniSwitchObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def SniSwitch
  @SniSwitch
end

#StatusObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Status
  @Status
end

#TagsObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Tags
  @Tags
end

#TargetAddressObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def TargetAddress
  @TargetAddress
end

#TargetHealthObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def TargetHealth
  @TargetHealth
end

#TargetIdObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def TargetId
  @TargetId
end

#TargetPortObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def TargetPort
  @TargetPort
end

#TargetWeightObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def TargetWeight
  @TargetWeight
end

#UrlObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Url
  @Url
end

#VpcIdObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def VpcId
  @VpcId
end

#ZoneObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Zone
  @Zone
end

#ZonesObject

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

Parameters:

  • Exclusive:

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



5870
5871
5872
# File 'lib/v20180317/models.rb', line 5870

def Zones
  @Zones
end

Instance Method Details

#deserialize(params) ⇒ Object



5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
# File 'lib/v20180317/models.rb', line 5917

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