
    _                        S r SSKJr  SSKJr  SSKJr  SSKJr  SSS.r	\R                  \R                  " \R                  R                  \R                  R                  5       " S	 S
\R                  5      5       5       r\	\l        g)z%'workbench instances create' command.    )	instances)util)base)flagsz+
        Creates a workbench instance.
    a  
    To create an instance from a VmImage family, run:

      $ {command} example-instance --vm-image-project=cloud-notebooks-managed --vm-image-family=workbench-instances --machine-type=n1-standard-4 --location=us-central1-b

    To create an instance from a VmImage name, run:

      $ {command} example-instance --vm-image-project=cloud-notebooks-managed --vm-image-name=workbench-instances-v20230925-debian-11-py310 --machine-type=n1-standard-4 --location=us-central1-b

    To create an instance from a Container Repository, run:

      $ {command} example-instance --container-repository=gcr.io/deeplearning-platform-release/base-cpu --container-tag=latest --machine-type=n1-standard-4 --location=us-central1-b

    To create an instance with shielded-secure-boot, shielded-vtpm and shielded-integrity-monitoring disabled, run:

      $ {command} example-instance --shielded-integrity-monitoring=false --shielded-secure-boot=false --shielded-vtpm=false --location=us-central1-b
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Create1   zCreates a workbench instance.c                 0    [         R                  " U5        g)z Register flags for this command.N)r   AddCreateInstanceFlags)clsparsers     )lib/surface/workbench/instances/create.pyArgsCreate.Args6   s     
  (    c                 <   U R                  5       n[        R                  " U5      n[        R                  " U5      nUR                  nUR                  [        R                  " X5      5      n[        R                  " UUUU[        R                  R                  S9$ )z9This is what gets called when the user runs this command.)operation_type)ReleaseTrackr   	GetClientGetMessagesprojects_locations_instancesr
   instance_utilCreateInstanceCreateRequest	HandleLROOperationTypeCREATE)selfargsrelease_trackclientmessagesinstance_service	operations          r   Run
Create.Run;   s    %%'M^^M*F.H:: ''11$AI ""$2299 r    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r&   __static_attributes__r(   r   r   r
   r
   1   s     &) )r   r
   N)r-    googlecloudsdk.api_lib.workbenchr   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.workbenchr   DETAILED_HELPDefaultUniverseOnlyReleaseTracksr   GABETACreateCommandr
   detailed_helpr(   r   r   <module>r:      s    , H 1 ( 6		4 D%%(($*;*;*@*@AT  B 4 % r   