Sha256: d4e1ae4633446eb5c816731b7163b769bac99f34d9684ce39c2aa7905670a36b
Contents?: true
Size: 889 Bytes
Versions: 1
Compression:
Stored size: 889 Bytes
Contents
module Yao::Resources class LoadBalancerListener < Base friendly_attributes :description, :admin_state_up, :protocol, :protocol_port, :provisioning_status, :default_tls_container_ref, :insert_headers, :operating_status, :sni_container_refs, :l7policies, :name def project Yao::Tenant.find self["project_id"] end def loadbalancers self["loadbalancers"].map do |loadbalancer| Yao::LoadBalancer.get loadbalancer["id"] end end def default_pool Yao::LoadBalancerPool.find self["default_pool_id"] end alias pool default_pool self.service = "load-balancer" self.api_version = "v2.0" self.resource_name = "listener" self.resources_name = "listeners" self.resources_path = "lbaas/listeners" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yao-0.3.7 | lib/yao/resources/loadbalancer_listener.rb |