Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

NAME

Conch::DB::Result::DeviceDisk

BASE CLASS: Conch::DB::Result

TABLE: device_disk

ACCESSORS

id

data_type: 'uuid'
default_value: gen_random_uuid()
is_nullable: 0
size: 16

device_id

data_type: 'text'
is_foreign_key: 1
is_nullable: 0

serial_number

data_type: 'text'
is_nullable: 0

slot

data_type: 'integer'
is_nullable: 1

size

data_type: 'integer'
is_nullable: 1

vendor

data_type: 'text'
is_nullable: 1

model

data_type: 'text'
is_nullable: 1

firmware

data_type: 'text'
is_nullable: 1

transport

data_type: 'text'
is_nullable: 1

health

data_type: 'text'
is_nullable: 1

drive_type

data_type: 'text'
is_nullable: 1

temp

data_type: 'integer'
is_nullable: 1

deactivated

data_type: 'timestamp with time zone'
is_nullable: 1

created

data_type: 'timestamp with time zone'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"now()"}

updated

data_type: 'timestamp with time zone'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"now()"}

enclosure

data_type: 'integer'
is_nullable: 1

hba

data_type: 'integer'
is_nullable: 1

PRIMARY KEY

UNIQUE CONSTRAINTS

device_disk_serial_number_key

RELATIONS

device

Type: belongs_to

Related object: Conch::DB::Result::Device

LICENSING

Copyright Joyent, Inc.

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.