Class AttachDisk
java.lang.Object
org.jclouds.googlecomputeengine.domain.AttachDisk
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanTrue if this disk will be deleted when the instance is delete.abstract booleanboot()True if this is a boot disk.static AttachDiskcreate(AttachDisk.Type type, AttachDisk.Mode mode, URI source, String deviceName, boolean boot, AttachDisk.InitializeParams initializeParams, boolean autoDelete, List<String> licenses, AttachDisk.DiskInterface diskInterface) abstract StringMust be unique within the instance when specified.abstract AttachDisk.DiskInterfacestatic AttachDiskexistingBootDisk(URI existingBootDisk) static AttachDiskexistingDisk(URI existingDisk) abstract AttachDisk.InitializeParamsSet to automatically create a boot disklicenses()abstract AttachDisk.Modemode()static AttachDisknewBootDisk(URI sourceImage) static AttachDisknewBootDisk(URI sourceImage, URI diskType) abstract URIsource()Use an existingBootDiskboot disk.abstract AttachDisk.Typetype()
-
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)
-