diff --git a/compute/cloud-client/src/main/java/compute/disks/CreateHyperdisk.java b/compute/cloud-client/src/main/java/compute/disks/CreateHyperdisk.java index 350495f19bc..5a18c4beb85 100644 --- a/compute/cloud-client/src/main/java/compute/disks/CreateHyperdisk.java +++ b/compute/cloud-client/src/main/java/compute/disks/CreateHyperdisk.java @@ -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. @@ -96,4 +98,4 @@ public static Disk createHyperdisk(String projectId, String zone, String diskNam } } } -// [END compute_hyperdisk_create] \ No newline at end of file +// [END compute_hyperdisk_create]