
    k                        S r SSKJr  SSKJr  SSKJr  \R                  \R                  " \R                  R                  \R                  R                  \R                  R                  5       " S S\R                  5      5       5       rg)z)Command for creating Workstation configs.    )configs)base)flagsc                   4    \ rS rSrSr\S 5       rS rS rSr	g)Create   a   Create a workstation configuration.

Create a workstation configuration.

## EXAMPLES

  To create a configuration with the 'e2-standard-8' machine type and a
  IntelliJ image, run:

    $ {command} CONFIG --machine-type=e2-standard-8
      --container-predefined-image=intellij

  To create a configuration with a Shielded VM instance that enables Secure
  Boot, virtual trusted platform module (vTPM) and integrity monitoring, run:

    $ {command} CONFIG --machine-type=e2-standard-4 --shielded-secure-boot
      --shielded-vtpm --shielded-integrity-monitoring

  To create a configuration with a non-default persistent disk containing 10GB
  of PD SSD storage, run:
    $ {command} CONFIG --machine-type=e2-standard-4 --pd-disk-type=pd-ssd
      --pd-disk-size=10
c                    [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R
                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                  " U5        [         R                   " U5        [         R"                  " U5        [         R$                  " US5        [         R&                  " U5        [         R(                  " U5        [         R*                  " U5        [         R,                  " U5        [         R.                  " U5        [         R0                  " U5        [         R2                  " U5        [         R4                  " U5        [         R6                  " U5        [         R8                  " U5        [         R:                  " U5        [         R<                  " U5        [         R>                  " U5        [         R@                  " U5        [         RB                  " U5        [         RD                  " U5        [         RF                  " U5        [         RH                  " U5        [         RJ                  " U5        [         RL                  " U5        U RO                  5       [P        RN                  RR                  :w  aY  [         RT                  " U5        [         RV                  " U5        [         RX                  " U5        [         RZ                  " U5        g g )NT).workstations_flagsAddAcceleratorFieldsAddAllowedPortsFlagAddAsyncFlagAddBootDiskSizeAddConfigResourceArgAddContainerArgsFieldAddContainerCommandFieldAddContainerEnvFieldAddContainerImageFieldAddContainerRunAsUserFieldAddContainerWorkingDirFieldAddDeprecatedDisableSSHToVMAddDisablePublicIpAddressesAddDisableTcpConnectionsAddEnableAuditAgentAddEnableConfidentialComputeAddEnableNestedVirtualizationAddEnableSSHToVMAddEncryptionKeyFieldsAddEphemeralDirectory$AddGrantWorkstationAdminRoleOnCreateAddIdleTimeoutFlagAddInstanceMetadataAddLabelsFieldAddMachineTypeFlagAddMaxUsableWorkstationsCountAddNetworkTags AddNoPersistentStorageOrPdOrDiskAddPoolSizeAddReplicaZonesAddRunningTimeoutFlagAddServiceAccountFlagAddServiceAccountScopesAddShieldedIntegrityMonitoringAddShieldedSecureBootAddShieldedVtpmAddStartupScriptUri	AddVmTagsReleaseTrackr   GA0AddAllowUnauthenticatedCorsPreflightRequestsFlagAddBoostConfigs"AddDisableLocalhostReplacementFlagAddReservationAffinity)clsparsers     *lib/surface/workstations/configs/create.pyArgsCreate.Args4   sw   ++F3**62##F+&&v.++F3,,V4//7++F3--f511&9226:226:226://7**6233F;44V<''5--f5,,V4;;FC))&1**62%%f-))&144V<%%f-77?""6*&&v.,,V4,,V4..v655f=,,V4&&v.**62  (
T..111II
 ((0;;FC//7 2    c                      g)NzFworkstations.projects.locations.workstationClusters.workstationConfigs )selfs    r9   
CollectionCreate.Collectiond   s
    Pr<   c                 p    [         R                  " U R                  5       5      nUR                  U5      nU$ )N)r   Configsr1   r   )r?   argsclientresponses       r9   Run
Create.Runi   s,    __T..01F}}T"HOr<   r>   N)
__name__
__module____qualname____firstlineno____doc__classmethodr:   r@   rG   __static_attributes__r>   r<   r9   r   r      s&    
0 -8 -8^
r<   r   N)rM   #googlecloudsdk.api_lib.workstationsr   googlecloudsdk.callioper   'googlecloudsdk.command_lib.workstationsr   r
   DefaultUniverseOnlyReleaseTracksr1   r2   BETAALPHACreateCommandr   r>   r<   r9   <module>rX      s}    0 8 ( O $++00$2C2C2I2IQT Q Qr<   