Class: Google::Cloud::Container::V1beta1::SecondaryBootDisk

Inherits:
Object
  • Object
show all
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

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.



6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 6131

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.).

Returns:



6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 6131

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