Sha256: 75f9838f64cdb42c6f93a6fbd9bee6f446bae7c89d33c1ff62413d3b1a0626f8

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

# frozen_string_literal: true

module Rancher
  module Api
    class Host
      include Her::Model
      include Helpers::Model

      belongs_to :account
      belongs_to :agent
      belongs_to :hosttemplate
      belongs_to :physicalhost
      belongs_to :stack
      has_one :agent
      has_one :stack
      has_one :hosttemplate
      has_one :physicalhost
      has_one :account
      has_many :instances
      has_many :hosts
      has_many :volumes
      has_many :serviceevents
      has_many :hostlabels
      has_many :healthcheckinstancehostmaps
      has_many :ipaddresses
      has_many :storagepools
      has_many :configitemstatuses
      has_many :clusters
      has_many :containerevents

      attributes :accountId, :agentId, :agentState, :computeTotal, :created,
                 :data, :description, :hostTemplateId, :id, :kind,
                 :localStorageMb, :memory, :milliCpu, :name, :physicalHostId,
                 :removeTime, :removed, :stackId, :state, :uuid,
                 :transitioning, :transitioningMessage, :transitioningProgress, :info, :hostname,
                 :apiProxy, :agentIpAddress, :instanceIds, :labels, :publicEndpoints,
                 :amazonec2Config, :authCertificateAuthority, :authKey, :azureConfig, :digitaloceanConfig,
                 :dockerVersion, :driver, :engineEnv, :engineInsecureRegistry, :engineInstallUrl,
                 :engineLabel, :engineOpt, :engineRegistryMirror, :engineStorageDriver, :packetConfig
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rancher-api-beta-0.8.1 lib/rancher/api/models/host.rb