Class: Google::Cloud::VMMigration::V1::BootDiskDefaults

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vmmigration/v1/vmmigration.rb

Overview

BootDiskDefaults hold information about the boot disk of a VM.

Defined Under Namespace

Classes: DiskImageDefaults

Instance Attribute Summary collapse

Instance Attribute Details

#device_name::String

Returns Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.

Returns:

  • (::String)

    Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.



2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 2704

class BootDiskDefaults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains details about the image source used to create the disk.
  # @!attribute [rw] source_image
  #   @return [::String]
  #     Required. The Image resource used when creating the disk.
  class DiskImageDefaults
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#disk_name::String

Returns Optional. The name of the disk.

Returns:

  • (::String)

    Optional. The name of the disk.



2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 2704

class BootDiskDefaults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains details about the image source used to create the disk.
  # @!attribute [rw] source_image
  #   @return [::String]
  #     Required. The Image resource used when creating the disk.
  class DiskImageDefaults
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#disk_type::Google::Cloud::VMMigration::V1::ComputeEngineDiskType

Returns Optional. The type of disk provisioning to use for the VM.

Returns:



2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 2704

class BootDiskDefaults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains details about the image source used to create the disk.
  # @!attribute [rw] source_image
  #   @return [::String]
  #     Required. The Image resource used when creating the disk.
  class DiskImageDefaults
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#encryption::Google::Cloud::VMMigration::V1::Encryption

Returns Optional. The encryption to apply to the boot disk.

Returns:



2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 2704

class BootDiskDefaults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains details about the image source used to create the disk.
  # @!attribute [rw] source_image
  #   @return [::String]
  #     Required. The Image resource used when creating the disk.
  class DiskImageDefaults
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#image::Google::Cloud::VMMigration::V1::BootDiskDefaults::DiskImageDefaults

Returns The image to use when creating the disk.

Returns:



2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 2704

class BootDiskDefaults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains details about the image source used to create the disk.
  # @!attribute [rw] source_image
  #   @return [::String]
  #     Required. The Image resource used when creating the disk.
  class DiskImageDefaults
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end