Sha256: 8ab6402aef912c02b7437f50c8017ff734c76693a46ca74fb310de8916659e9f
Contents?: true
Size: 1.03 KB
Versions: 3
Compression:
Stored size: 1.03 KB
Contents
module Yao::Resources class LoadBalancerHealthMonitor < Base friendly_attributes :name, :admin_state_up, :provisioning_status, :delay, :expected_codes, :max_retries, :http_method, :timeout, :max_retries_down, :url_path, :type, :operating_status map_attribute_to_resources pools: LoadBalancerListener map_attributes_to_time :created_at, :updated_at alias :created :created_at alias :updated :updated_at # @return [Date] def created_at Date.parse(self["created_at"]) end # @return [Date] def updated_at Date.parse(self["updated_at"]) end # @return [Date] def project if project_id = self["project_id"] Yao::Tenant.find project_id end end alias :tenant :project self.service = "load-balancer" self.api_version = "v2.0" self.resource_name = "healthmonitor" self.resources_name = "healthmonitors" self.resources_path = "lbaas/healthmonitors" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yao-0.21.0 | lib/yao/resources/loadbalancer_healthmonitor.rb |
yao-0.20.0 | lib/yao/resources/loadbalancer_healthmonitor.rb |
yao-0.19.0 | lib/yao/resources/loadbalancer_healthmonitor.rb |