HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/lib/surface/compute/storage_pools/create.yaml
- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: "Create a storage pool."
    description: "Create a storage pool."
    examples: |
      To create a new storage pool named `my-storage-pool`, run the following command:

        $ {command} my-storage-pool --storage-pool-type=hyperdisk-throughput --provisioned-capacity=10TB --provisioned-throughput=200

  request:
    ALPHA:
      api_version: alpha
    BETA:
      api_version: beta
    GA:
      api_version: v1

    collection: compute.storagePools
    method: insert
    modify_request_hooks:
    - googlecloudsdk.api_lib.compute.storage_pools.modify_request_hooks:add_name_to_payload

  async:
    collection: compute.zoneOperations
    response_name_field: selfLink
    state:
      field: status
      success_values: ['DONE']

  arguments:
    resource:
      help_text: The name of the storage pool you want to create.
      spec: !REF googlecloudsdk.command_lib.compute.resources:storage_pool

    params:

    - arg_name: provisioned-capacity
      api_field: storagePool.poolProvisionedCapacityGb
      required: true
      help_text: |
        Provisioned capacity of the storage pool.
      type: 'googlecloudsdk.calliope.arg_parsers:BinarySize:'
      # TODO(b/283676448), this processor can be effectively eliminated.
      processor: googlecloudsdk.api_lib.compute.storage_pools.processors:convert_to_gb

    - arg_name: description
      api_field: storagePool.description
      help_text: |
        Description of the storage pool.
      type: str

    - arg_name: provisioned-iops
      api_field: storagePool.poolProvisionedIops
      help_text: |
        IOPS with which to provision the pool.
      type: int

    - arg_name: provisioned-throughput
      api_field: storagePool.poolProvisionedThroughput
      help_text: |
        Throughput in MB/s with which to provision the pool.
      type: int

    - arg_name: storage-pool-type
      is_positional: false
      required: true
      help_text: |
        Type of the storage pool.
      resource_spec: !REF googlecloudsdk.command_lib.compute.resources:storage_pool_type
      resource_method_params:
        storagePool.storagePoolType: "{__relative_name__}"

    - arg_name: capacity-provisioning-type
      api_field: storagePool.capacityProvisioningType
      help_text: |
        Capacity provisioning type.
      choices:
      - arg_value: standard
        enum_value: standard
      - arg_value: advanced
        enum_value: advanced

    - arg_name: performance-provisioning-type
      api_field: storagePool.performanceProvisioningType
      help_text: |
        Performance provisioning type.
      choices:
      - arg_value: standard
        enum_value: standard
      - arg_value: advanced
        enum_value: advanced