Sha256: aaa515f794bb547d0f5dad5b94195fbdb6afdf8040ad56c6bbba0d3df29c8ca0
Contents?: true
Size: 935 Bytes
Versions: 5
Compression:
Stored size: 935 Bytes
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 # @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
5 entries across 5 versions & 1 rubygems