Class AttachDisk
java.lang.Object
org.jclouds.googlecomputeengine.domain.AttachDisk
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
static enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
True if this disk will be deleted when the instance is delete.abstract boolean
boot()
True if this is a boot disk.static AttachDisk
create
(AttachDisk.Type type, AttachDisk.Mode mode, URI source, String deviceName, boolean boot, AttachDisk.InitializeParams initializeParams, boolean autoDelete, List<String> licenses, AttachDisk.DiskInterface diskInterface) abstract String
Must be unique within the instance when specified.abstract AttachDisk.DiskInterface
static AttachDisk
existingBootDisk
(URI existingBootDisk) static AttachDisk
existingDisk
(URI existingDisk) abstract AttachDisk.InitializeParams
Set to automatically create a boot disklicenses()
abstract AttachDisk.Mode
mode()
static AttachDisk
newBootDisk
(URI sourceImage) static AttachDisk
newBootDisk
(URI sourceImage, URI diskType) abstract URI
source()
Use an existingBootDiskboot disk
.abstract AttachDisk.Type
type()
-
Method Details
-
type
-
mode
-
source
Use an existingBootDiskboot disk
. -
deviceName
Must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system. -
boot
public abstract boolean boot()True if this is a boot disk. VM will use the first partition of the disk for its root filesystem. -
initializeParams
Set to automatically create a boot disk -
autoDelete
public abstract boolean autoDelete()True if this disk will be deleted when the instance is delete. -
licenses
-
diskInterface
-
existingBootDisk
-
newBootDisk
-
newBootDisk
-
existingDisk
-
create
public static AttachDisk create(AttachDisk.Type type, AttachDisk.Mode mode, URI source, String deviceName, boolean boot, AttachDisk.InitializeParams initializeParams, boolean autoDelete, List<String> licenses, AttachDisk.DiskInterface diskInterface)
-