public static enum AttachedDisk.AttachedDiskConfiguration.Type extends Enum<AttachedDisk.AttachedDiskConfiguration.Type>
| Enum Constant and Description |
|---|
PERSISTENT
A persistent disk attached to a VM instance.
|
SCRATCH
A scratch disk is created with the VM instance it is attached to.
|
| Modifier and Type | Method and Description |
|---|---|
static AttachedDisk.AttachedDiskConfiguration.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachedDisk.AttachedDiskConfiguration.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachedDisk.AttachedDiskConfiguration.Type PERSISTENT
AttachedDisk.CreateDiskConfiguration. A
persistent disk can be attached to other VM instances.public static final AttachedDisk.AttachedDiskConfiguration.Type SCRATCH
public static AttachedDisk.AttachedDiskConfiguration.Type[] values()
for (AttachedDisk.AttachedDiskConfiguration.Type c : AttachedDisk.AttachedDiskConfiguration.Type.values()) System.out.println(c);
public static AttachedDisk.AttachedDiskConfiguration.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Google LLC. All rights reserved.