lib/yao/resources/loadbalancer.rb in yao-0.13.4 vs lib/yao/resources/loadbalancer.rb in yao-0.14.0

- old
+ new

@@ -4,28 +4,32 @@ :vip_address, :operating_status, :name map_attribute_to_resources listeners: LoadBalancerListener map_attribute_to_resources pools: LoadBalancerPool + # @return [Yao::Resources::Tenant] def project if project_id = self["project_id"] Yao::Tenant.find project_id end end alias :tenant :project + # @return [Yao::Resources::Network] def vip_network if vip_network_id = self["vip_network_id"] Yao::Network.find vip_network_id end end + # @return [Yao::Resources::Port] def vip_port if vip_port_id = self["vip_port_id"] Yao::Port.find vip_port_id end end + # @return [Yao::Resources::Subnet] def vip_subnet if vip_subnet_id = self["vip_subnet_id"] Yao::Subnet.find vip_subnet_id end end