
                         >   S r SSKJr  SSKJr  SSKJ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.    )absolute_import)division)unicode_literals)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                 l   [         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        [         R$                  " U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        U RK                  5       [L        RJ                  RN                  :w  ao  [         RP                  " U5        [         RR                  " U5        [         RT                  " U5        [         RV                  " U5        [         RX                  " U5        g g )NT)-workstations_flagsAddAsyncFlagAddConfigResourceArgAddIdleTimeoutFlagAddRunningTimeoutFlagAddMachineTypeFlagAddServiceAccountFlagAddServiceAccountScopesAddNetworkTagsAddPoolSizeAddDisablePublicIpAddressesAddDeprecatedDisableSSHToVMAddEnableSSHToVMAddDisableTcpConnectionsAddShieldedSecureBootAddShieldedVtpmAddShieldedIntegrityMonitoringAddEnableAuditAgentAddEnableConfidentialComputeAddEnableNestedVirtualization$AddGrantWorkstationAdminRoleOnCreateAddBootDiskSizeAddContainerImageFieldAddContainerCommandFieldAddContainerArgsFieldAddContainerEnvFieldAddContainerWorkingDirFieldAddContainerRunAsUserFieldAddEncryptionKeyFieldsAddLabelsFieldAddReplicaZonesAddEphemeralDirectoryAddAcceleratorFields	AddVmTagsAddAllowedPortsFlagAddMaxUsableWorkstationsCountAddNoPersistentStorageOrPdReleaseTrackr   GA0AddAllowUnauthenticatedCorsPreflightRequestsFlagAddBoostConfigs"AddDisableLocalhostReplacementFlagAddReservationAffinityAddStartupScriptUri)clsparsers     *lib/surface/workstations/configs/create.pyArgsCreate.Args7   si   ##F+++F3))&1,,V4))&1,,V4..v6%%f-""6*226:226:''5//7,,V4&&v.55f=**6233F;44V<;;FC&&v.--f5//7,,V4++F3226:11&9--f5%%f-&&v.,,V4++F3  (**6244V<11&9
T..111II
 ((0;;FC//7,,V4 2    c                      g)NzFworkstations.projects.locations.workstationClusters.workstationConfigs )selfs    r;   
CollectionCreate.Collectionf   s
    Pr>   c                 p    [         R                  " U R                  5       5      nUR                  U5      nU$ )N)r   Configsr2   r
   )rA   argsclientresponses       r;   Run
Create.Runk   s,    __T..01F}}T"HOr>   r@   N)
__name__
__module____qualname____firstlineno____doc__classmethodr<   rB   rI   __static_attributes__r@   r>   r;   r
   r
      s&    
0 ,5 ,5\
r>   r
   N)rO   
__future__r   r   r   #googlecloudsdk.api_lib.workstationsr   googlecloudsdk.callioper   'googlecloudsdk.command_lib.workstationsr   r   DefaultUniverseOnlyReleaseTracksr2   r3   BETAALPHACreateCommandr
   r@   r>   r;   <module>r[      s    0 &  ' 7 ( O $++00$2C2C2I2IPT P Pr>   