
                         
   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
  SSKJr  S	rS
r\R                  " \R                   R"                  \R                   R$                  5       " S S\R&                  5      5       rg)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                   8    \ rS rSrSr\\S.r\S 5       r	S r
Srg)InitialzeZone$   zInitialize a specified Distributed Cloud Edge Network zone.

*{command}* is used to initialize a Distributed Cloud Edge Network
zone.
)DESCRIPTIONEXAMPLESc                 4    [         R                  " U SS5        g )Nzto initializeT)r   AddZoneResourceArg)parsers    /lib/surface/edge_cloud/networking/zones/init.pyArgsInitialzeZone.Args.   s    $$V_dC    c                 l   [         R                  " U R                  5       5      nUR                  R                  R                  5       n[        R                  R                  S5        UR                  U5        [        R                  R                  SR                  UR                  5       5      5        g )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   RunInitialzeZone.Run2   s{    $$T%6%6%89L}}!!'')HJJ9:)JJ.55h6K6K6MNOr    N)__name__
__module____qualname____firstlineno____doc__r   r   detailed_helpstaticmethodr   r%   __static_attributes__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>r9      st    C &  ' D ( J #L D%%++T->->-A-ABPDLL P CPr   