Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ public static void main(String[] args)
// Name of the disk you want to create.
String diskName = "YOUR_DISK_NAME";
// The type of disk you want to create. This value uses the following format:
// "zones/{zone}/diskTypes/(hyperdisk-balanced|hyperdisk-extreme|hyperdisk-throughput)".
// "zones/{zone}/diskTypes/{disktype}".
// disktype is one of hyperdisk-balanced, hyperdisk-extreme, hyperdisk-throughput
// hyperdisk-ml, hyperdisk-balanced-high-availability
// For example: "zones/us-west3-b/diskTypes/hyperdisk-balanced"
String diskType = String.format("zones/%s/diskTypes/hyperdisk-balanced", zone);
// Size of the new disk in gigabytes.
Expand Down Expand Up @@ -96,4 +98,4 @@ public static Disk createHyperdisk(String projectId, String zone, String diskNam
}
}
}
// [END compute_hyperdisk_create]
// [END compute_hyperdisk_create]