Class Instance.AttachedDisk
- java.lang.Object
-
- org.jclouds.googlecomputeengine.domain.Instance.AttachedDisk
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstance.AttachedDisk.Modestatic classInstance.AttachedDisk.Type
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanautoDelete()abstract booleanboot()static Instance.AttachedDiskcreate(int index, Instance.AttachedDisk.Type type, Instance.AttachedDisk.Mode mode, URI source, String deviceName, boolean autoDelete, boolean boot, AttachDisk.InitializeParams initializeParams, List<String> licenses, AttachDisk.DiskInterface diskInterface)abstract StringdeviceName()Must be unique within the instance when specified.abstract AttachDisk.DiskInterfacediskInterface()abstract intindex()A zero-based index to assign to this disk, where 0 is reserved for the boot disk.abstract AttachDisk.InitializeParamsinitializeParams()abstract List<String>licenses()abstract Instance.AttachedDisk.Modemode()abstract URIsource()abstract Instance.AttachedDisk.Typetype()
-
-
-
Method Detail
-
index
public abstract int index()
A zero-based index to assign to this disk, where 0 is reserved for the boot disk.
-
type
public abstract Instance.AttachedDisk.Type type()
-
mode
public abstract Instance.AttachedDisk.Mode mode()
-
deviceName
@Nullable public abstract String 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.
-
autoDelete
public abstract boolean autoDelete()
-
boot
public abstract boolean boot()
-
initializeParams
@Nullable public abstract AttachDisk.InitializeParams initializeParams()
-
diskInterface
@Nullable public abstract AttachDisk.DiskInterface diskInterface()
-
create
public static Instance.AttachedDisk create(int index, Instance.AttachedDisk.Type type, Instance.AttachedDisk.Mode mode, URI source, String deviceName, boolean autoDelete, boolean boot, AttachDisk.InitializeParams initializeParams, List<String> licenses, AttachDisk.DiskInterface diskInterface)
-
-