Class: Google::Cloud::Container::V1::SecondaryBootDisk

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/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

Instance Attribute Details

#disk_image::String

Returns Fully-qualified resource ID for an existing disk image.

Returns:

  • (::String)

    Fully-qualified resource ID for an existing disk image.



6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
# File 'proto_docs/google/container/v1/cluster_service.rb', line 6162

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::V1::SecondaryBootDisk::Mode

Returns Disk mode (container image cache, etc.).

Returns:



6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
# File 'proto_docs/google/container/v1/cluster_service.rb', line 6162

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