Skip to content

Commit

Permalink
improvemnt: extend compute_hyperdisk_pool_create (#3826)
Browse files Browse the repository at this point in the history
  • Loading branch information
gryczj authored Oct 9, 2024
1 parent 9ac641e commit ca4d3b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compute/disks/createComputeHyperdiskPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ async function main(storagePoolName) {
const provisionedIops = 10000;
// The throughput in MBps to provision for the storage pool.
const provisionedThroughput = 1024;
// Optional: The performance provisioning type of the storage pool.
// The allowed values are advanced and standard. If not specified, the value advanced is used.
const performanceProvisioningType = 'advanced';

async function callCreateComputeHyperdiskPool() {
// Create a storagePool.
Expand All @@ -58,6 +61,7 @@ async function main(storagePoolName) {
poolProvisionedIops: provisionedIops,
poolProvisionedThroughput: provisionedThroughput,
storagePoolType,
performanceProvisioningType,
capacityProvisioningType,
zone,
});
Expand Down

0 comments on commit ca4d3b3

Please sign in to comment.