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.
6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 6415 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.).
6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 6415 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 |