Sha256: 4940410c9d87186e067ad53d54f608daca588b30362c9fb42a718c113df3eed5

Contents?: true

Size: 556 Bytes

Versions: 3

Compression:

Stored size: 556 Bytes

Contents

module Aptible
  module Api
    class Disk < Resource
      belongs_to :account
      belongs_to :database
      has_many :operations

      field :id
      field :handle
      field :ebs_volume_id
      field :ebs_volume_type
      field :filesystem
      field :passphrase
      field :key_bytes
      field :size
      field :host
      field :device
      field :attached, type: Aptible::Resource::Boolean
      field :created_at, type: Time
      field :updated_at, type: Time
      field :ec2_instance_id
      field :baseline_iops
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aptible-api-0.9.23 lib/aptible/api/disk.rb
aptible-api-0.9.22 lib/aptible/api/disk.rb
aptible-api-0.9.21 lib/aptible/api/disk.rb