Modifier and Type | Class and Description |
---|---|
static class |
Instance.AttachedDisk.Mode |
static class |
Instance.AttachedDisk.Type |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
autoDelete() |
abstract boolean |
boot() |
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) |
abstract String |
deviceName()
Must be unique within the instance when specified.
|
abstract AttachDisk.DiskInterface |
diskInterface() |
abstract int |
index()
A zero-based index to assign to this disk, where 0 is reserved for the boot disk.
|
abstract AttachDisk.InitializeParams |
initializeParams() |
abstract List<String> |
licenses() |
abstract Instance.AttachedDisk.Mode |
mode() |
abstract URI |
source()
|
abstract Instance.AttachedDisk.Type |
type() |
public abstract int index()
public abstract Instance.AttachedDisk.Type type()
public abstract Instance.AttachedDisk.Mode mode()
@Nullable public abstract String deviceName()
public abstract boolean autoDelete()
public abstract boolean boot()
@Nullable public abstract AttachDisk.InitializeParams initializeParams()
@Nullable public abstract AttachDisk.DiskInterface diskInterface()
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)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.