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.



5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
# File 'proto_docs/google/container/v1/cluster_service.rb', line 5485

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:



5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
# File 'proto_docs/google/container/v1/cluster_service.rb', line 5485

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