Class: Google::Cloud::Container::V1beta1::SecondaryBootDisk
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::SecondaryBootDisk
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
SecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.
Defined Under Namespace
Modules: Mode
Instance Attribute Summary collapse
-
#disk_image ⇒ ::String
Fully-qualified resource ID for an existing disk image.
-
#mode ⇒ ::Google::Cloud::Container::V1beta1::SecondaryBootDisk::Mode
Disk mode (container image cache, etc.).
Instance Attribute Details
#disk_image ⇒ ::String
Returns Fully-qualified resource ID for an existing disk image.
6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 6110 class SecondaryBootDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Mode specifies how the secondary boot disk will be used. # This triggers mode-specified logic in the control plane. module Mode # MODE_UNSPECIFIED is when mode is not set. MODE_UNSPECIFIED = 0 # CONTAINER_IMAGE_CACHE is for using the secondary boot disk as # a container image cache. CONTAINER_IMAGE_CACHE = 1 end end |
#mode ⇒ ::Google::Cloud::Container::V1beta1::SecondaryBootDisk::Mode
Returns Disk mode (container image cache, etc.).
6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 6110 class SecondaryBootDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Mode specifies how the secondary boot disk will be used. # This triggers mode-specified logic in the control plane. module Mode # MODE_UNSPECIFIED is when mode is not set. MODE_UNSPECIFIED = 0 # CONTAINER_IMAGE_CACHE is for using the secondary boot disk as # a container image cache. CONTAINER_IMAGE_CACHE = 1 end end |