
                             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                  5       " S	 S
\R                  5      5       r\	\l        g)z+'vmware sddc privateclouds create' command.    )PrivatecloudsClient)base)labels_util)flagsa  
          Create a VMware Engine private cloud. Private cloud creation is
          considered finished when the private cloud is in READY state. Check
          the progress of a private cloud using
          `gcloud alpha vmware privateclouds list`.
        a  
          To create a private cloud called ``my-privatecloud'' in project
          ``my-project'' and region ``us-central1'', run:

            $ {command} my-privatecloud --project=my-project --region=us-central1

          Or:

            $ {command} my-privatecloud

          In the second example, the project and region are taken from gcloud
          properties core/project and vmware/region.
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Create0   z%Create a VMware Engine private cloud.c                     [         R                  " U SS9  U R                  SSS9  U R                  SSSS9  U R                  S	SS
S9  U R                  SSSS9  [        R                  " U 5        g)z Register flags for this command.T)
positionalz--descriptionz2        Text describing the private cloud
        )helpz--vpc-networkzC        Name of the virtual network for this private cloud
        )requiredr   z--management-ip-rangez        IP address range available to the private cloud for management access,
        in address/mask format. For example,
        `--management-ip-range=10.0.1.0/29`.
        z--workload-ip-rangez        IP address range available to the private cloud in address/mask
        format. For example, `--workload-ip-range=10.0.1.0/29`.
        N)r   AddPrivatecloudArgToParseradd_argumentr   AddCreateLabelsFlags)parsers    /lib/surface/vmware/sddc/privateclouds/create.pyArgsCreate.Args4   s     
$$V=
  
          $$V,    c           	      ,   UR                   R                  R                  5       n[        5       nUR	                  UUR
                  UR                  UR                  UR                  UR                  S9nUR                  USR                  U5      5      $ )N)vpc_networkmanagement_ip_rangeworkload_ip_rangelabelsdescriptionz+waiting for privatecloud [{}] to be created)CONCEPTSprivatecloudParser   r
   r   r   r   r   r   WaitForOperationformat)selfargsr   client	operations        r   Run
Create.RunT   s    ==--335L "F$$ 4400{{$$  I ""5<<\JL Lr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r'   __static_attributes__r)   r   r   r
   r
   0   s    -- ->Lr   r
   N)r.   0googlecloudsdk.api_lib.vmware.sddc.privatecloudsr   googlecloudsdk.callioper   $googlecloudsdk.command_lib.util.argsr   &googlecloudsdk.command_lib.vmware.sddcr   DETAILED_HELPReleaseTracksReleaseTrackALPHACreateCommandr
   detailed_helpr)   r   r   <module>r;      sp    2 Q ( < 8		2 D%%++,0LT 0L -0Lf % r   