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/394/lib/surface/workstations/clusters/create.yaml
- release_tracks: [GA, BETA, ALPHA]

  help_text:
    brief: |
      Create a workstation cluster.
    description: |
      Create a workstation cluster.
    examples: |
      To create a public cluster `my-cluster` in region `us-central1`, run:

        $ {command} my-cluster --region=us-central1

      To create a private cluster 'my-private-cluster' associated with network 'my-network' and
      subnetwork 'my-subnetwork'. run:

        $ {command} my-private-cluster --region=us-central1 --enable-private-endpoint
          --network='my-network' --subnetwork='my-subnetwork'

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.workstations.resources:cluster
      help_text: |
        Arguments and flags that specify the cluster to create.
    params:
    - arg_name: network
      api_field: workstationCluster.network
      help_text: |
        Fully specified network path for instances created in this cluster.
    - arg_name: subnetwork
      api_field: workstationCluster.subnetwork
      help_text: |
        Fully specified subnetwork path for instances created in this cluster.
    - arg_name: labels
      metavar: KEY=VALUE
      api_field: workstationCluster.labels
      type: "googlecloudsdk.calliope.arg_parsers:ArgDict:"
      help_text: |
        Labels that are applied to the cluster and propagated to the underlying Compute Engine
        resources.
    - arg_name: enable-private-endpoint
      api_field: workstationCluster.privateClusterConfig.enablePrivateEndpoint
      type: bool
      default: false
      help_text: |
        Default is false.
        If specified, the cluster will be assigned an internal IP address to the Cluster Gateway.
        This isolates the cluster's workstations from public networks, but requires additional
        configuration. Learn more: https://cloud.google.com/workstations/docs.
    - arg_name: domain
      api_field: workstationCluster.domainConfig.domain
      type: str
      help_text: |
        Domain used by Workstations for HTTP ingress.
    - arg_name: tags
      api_field: workstationCluster.tags
      metavar: KEY=VALUE
      type: "googlecloudsdk.calliope.arg_parsers:ArgDict:"
      help_text: |
        Resource manager tags to be bound to this cluster.
        For example:
         "123/environment=production"
         "123/costCenter=marketing"

  request:
    GA:
      api_version: v1
    BETA:
      api_version: v1beta
    ALPHA:
      api_version: v1beta
    collection: workstations.projects.locations.workstationClusters

  async:
    collection: workstations.projects.locations.operations