Sha256: d06010041b2f6e3f042d6cd3150fb149b124a9448c136e9e612f87d57d47bc73
Contents?: true
Size: 765 Bytes
Versions: 4
Compression:
Stored size: 765 Bytes
Contents
require 'fog/huaweicloud/models/model' module Fog module Orchestration class HuaweiCloud class Resource < Fog::HuaweiCloud::Model include Reflectable identity :id %w(resource_name description links logical_resource_id physical_resource_id resource_status updated_time required_by resource_status_reason resource_type).each do |a| attribute a.to_sym end def events(options = {}) @events ||= service.events.all(self, options) end def metadata @metadata ||= service.show_resource_metadata(stack, resource_name).body['metadata'] end def template @template ||= service.templates.get(self) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems