Class: Google::Cloud::BareMetalSolution::V2::Lun
- Inherits:
-
Object
- Object
- Google::Cloud::BareMetalSolution::V2::Lun
- 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
-
#boot_lun ⇒ ::Boolean
Display if this LUN is a boot LUN.
-
#expire_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#id ⇒ ::String
An identifier for the LUN, generated by the backend.
-
#instances ⇒ ::Array<::String>
readonly
Output only.
-
#multiprotocol_type ⇒ ::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType
The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
-
#name ⇒ ::String
readonly
Output only.
-
#shareable ⇒ ::Boolean
Display if this LUN can be shared between multiple physical servers.
-
#size_gb ⇒ ::Integer
The size of this LUN, in gigabytes.
-
#state ⇒ ::Google::Cloud::BareMetalSolution::V2::Lun::State
The state of this storage volume.
-
#storage_type ⇒ ::Google::Cloud::BareMetalSolution::V2::Lun::StorageType
The storage type for this LUN.
-
#storage_volume ⇒ ::String
Display the storage volume for this LUN.
-
#wwid ⇒ ::String
The WWID for this LUN.
Instance Attribute Details
#boot_lun ⇒ ::Boolean
Returns 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 |