Class: Google::Cloud::BareMetalSolution::V2::Lun

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/baremetalsolution/v2/lun.rb

Overview

A storage volume logical unit number (LUN).

Defined Under Namespace

Modules: MultiprotocolType, State, StorageType

Instance Attribute Summary collapse

Instance Attribute Details

#boot_lun::Boolean

Returns Display if this LUN is a boot LUN.

Returns:

  • (::Boolean)

    Display if this LUN is a boot LUN.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#expire_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time after which LUN will be fully deleted. It is filled only for LUNs in COOL_OFF state.

Returns:



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#id::String

Returns An identifier for the LUN, generated by the backend.

Returns:

  • (::String)

    An identifier for the LUN, generated by the backend.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#instances::Array<::String> (readonly)

Returns Output only. Instances this Lun is attached to.

Returns:

  • (::Array<::String>)

    Output only. Instances this Lun is attached to.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#multiprotocol_type::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType

Returns The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.

Returns:



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#name::String (readonly)

Returns Output only. The name of the LUN.

Returns:

  • (::String)

    Output only. The name of the LUN.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#shareable::Boolean

Returns Display if this LUN can be shared between multiple physical servers.

Returns:

  • (::Boolean)

    Display if this LUN can be shared between multiple physical servers.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#size_gb::Integer

Returns The size of this LUN, in gigabytes.

Returns:

  • (::Integer)

    The size of this LUN, in gigabytes.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#state::Google::Cloud::BareMetalSolution::V2::Lun::State

Returns The state of this storage volume.

Returns:



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#storage_type::Google::Cloud::BareMetalSolution::V2::Lun::StorageType

Returns The storage type for this LUN.

Returns:



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#storage_volume::String

Returns Display the storage volume for this LUN.

Returns:

  • (::String)

    Display the storage volume for this LUN.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end

#wwid::String

Returns The WWID for this LUN.

Returns:

  • (::String)

    The WWID for this LUN.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/cloud/baremetalsolution/v2/lun.rb', line 63

class Lun
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The possible states for the LUN.
  module State
    # The LUN is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The LUN is being created.
    CREATING = 1

    # The LUN is being updated.
    UPDATING = 2

    # The LUN is ready for use.
    READY = 3

    # The LUN has been requested to be deleted.
    DELETING = 4

    # The LUN is in cool off state. It will be deleted after `expire_time`.
    COOL_OFF = 5
  end

  # Display the operating systems present for the LUN multiprotocol type.
  module MultiprotocolType
    # Server has no OS specified.
    MULTIPROTOCOL_TYPE_UNSPECIFIED = 0

    # Server with Linux OS.
    LINUX = 1
  end

  # The storage types for a LUN.
  module StorageType
    # The storage type for this LUN is unknown.
    STORAGE_TYPE_UNSPECIFIED = 0

    # This storage type for this LUN is SSD.
    SSD = 1

    # This storage type for this LUN is HDD.
    HDD = 2
  end
end