Skip to content

Commit 297d47c

Browse files
Add names for new Hyperdisk types
The list of disk type names in this sample is missing the 2 new disk types: Hyperdisk ML and Hyperdisk Balanced High Availability
1 parent 1407c26 commit 297d47c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compute/cloud-client/src/main/java/compute/disks/CreateHyperdisk.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static void main(String[] args)
3636
// Name of the disk you want to create.
3737
String diskName = "YOUR_DISK_NAME";
3838
// The type of disk you want to create. This value uses the following format:
39-
// "zones/{zone}/diskTypes/(hyperdisk-balanced|hyperdisk-extreme|hyperdisk-throughput)".
39+
// "zones/{zone}/diskTypes/(hyperdisk-balanced|hyperdisk-extreme|hyperdisk-throughput|hyperdisk-ml|hyperdisk-balanced-high-availability)".
4040
// For example: "zones/us-west3-b/diskTypes/hyperdisk-balanced"
4141
String diskType = String.format("zones/%s/diskTypes/hyperdisk-balanced", zone);
4242
// Size of the new disk in gigabytes.
@@ -96,4 +96,4 @@ public static Disk createHyperdisk(String projectId, String zone, String diskNam
9696
}
9797
}
9898
}
99-
// [END compute_hyperdisk_create]
99+
// [END compute_hyperdisk_create]

0 commit comments

Comments
 (0)