
                         
   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ d	Zd
Z ej                  ej                   j"                  ej                   j$                         G d dej&                               Zy)z<Command to initialize a Distributed Cloud Edge Network zone.    )absolute_import)division)unicode_literals)zones)base)resource_args)logz;Initialize a specified Distributed Cloud Edge Network zone.z    To initialize a Distributed Cloud Edge Network zone called
    'us-central1-edge-den1', run:

        $ {command} us-central1-edge-den1 --location=us-central1

   c                   0    e Zd ZdZeedZed        Zd Z	y)InitialzeZonezInitialize a specified Distributed Cloud Edge Network zone.

  *{command}* is used to initialize a Distributed Cloud Edge Network
  zone.
  )DESCRIPTIONEXAMPLESc                 2    t        j                  | dd       y )Nzto initializeT)r   AddZoneResourceArg)parsers    /lib/surface/edge_cloud/networking/zones/init.pyArgszInitialzeZone.Args.   s    $$V_dC    c                 j   t        j                  | j                               }|j                  j                  j                         }t        j                  j                  d       |j                  |       t        j                  j                  dj                  |j                                      y )Nz"Starting to initialize the zone...zInitialized zone [{0}].)r   ZonesClientReleaseTrackCONCEPTSzoneParser	   statusPrintInitializeZoneformatRelativeName)selfargszones_clientzone_refs       r   RunzInitialzeZone.Run2   s{    $$T%6%6%89L}}!!'')HJJ9:)JJ.55h6K6K6MNOr   N)
__name__
__module____qualname____doc__r   r   detailed_helpstaticmethodr   r#    r   r   r   r   $   s-     #.8D-D DPr   r   N)r'   
__future__r   r   r   2googlecloudsdk.api_lib.edge_cloud.networking.zonesr   googlecloudsdk.callioper   0googlecloudsdk.command_lib.edge_cloud.networkingr   googlecloudsdk.corer	   r   r   ReleaseTracksr   ALPHAGACommandr   r*   r   r   <module>r4      sv    C &  ' D ( J #L D%%++T->->-A-ABPDLL P CPr   