
    *                         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S	KJr  SS
KJr  SS
KJr  \R$                  \R&                  " \R(                  R*                  5       " S S\R,                  5      5       5       r\R&                  " \R(                  R0                  5       " S S\5      5       r\R&                  " \R(                  R4                  5       " S S\5      5       rSSSS.\l        g)zMCommand to delete a dynamic network interface from a Compute Engine instance.    )absolute_import)division)unicode_literals)base_classes)poller)waiter)base)parser_arguments)flagsc                   J    \ rS rSrSr\S\R                  4S j5       rS r	Sr
g)Delete   Delete a Dynamic Network Interface from a Compute Engine instance.

*{command}* deletes a Dynamic Network Interface from a Compute Engine
instance. For example:

  $ {command} instance-name --network-interface=nic1.2
parserc                 d    [         R                  R                  U5        UR                  SSSS9  g )Nz--network-interfaceTz8The name of the network interface to delete, e.g. nic1.2)requiredhelp)instances_flagsINSTANCE_ARGAddArgumentadd_argument)clsr   s     :lib/surface/compute/instances/network_interfaces/delete.pyArgsDelete.Args)   s2      ,,V4
G      c           	         [         R                  " U R                  5       5      nUR                  R                  nUR                  R
                  n[        R                  R                  UUR                  [        R                  " UR                  5      S9nUR                  UR                  UR                  UR                  UR                   S9nUR"                  R%                  U5      nUR                  R'                  UR(                  SS9n[*        R,                  " UR"                  5      n	[.        R0                  " U	USUR                    SUR3                  5        35      $ )N)scope_lister)projectinstancezonenetworkInterfaceNamezcompute.zoneOperations)
collectionzDeleting network interface z from instance )r   ComputeApiHolderReleaseTrackclientapitools_clientmessagesr   r   ResolveAsResource	resourcesr   GetDefaultScopeLister-ComputeInstancesDeleteNetworkInterfaceRequestr   r    r!   network_interface	instancesDeleteNetworkInterfaceParseselfLinkr   Pollerr   WaitForName)
selfargsholderr&   r(   resourcerequest	operationoperation_refoperation_pollers
             r   Run
Delete.Run2   s=   **4+<+<+>?F]]**F}}%%H++==00? > H
 DD  ""]]!33	 E G   77@I$$**'? + M }}V%5%56>>
%d&<&<%= >MMO	 r    N)__name__
__module____qualname____firstlineno____doc__classmethodr
   ArgumentInterceptorr   r=   __static_attributes__r?   r   r   r   r      s.     (<<  r   r   c                       \ rS rSrSrSrg)
DeleteBetaN   r   r?   Nr@   rA   rB   rC   rD   rG   r?   r   r   rI   rI   N       r   rI   c                       \ rS rSrSrSrg)DeleteAlphaY   r   r?   NrK   r?   r   r   rN   rN   Y   rL   r   rN   zBDelete a Dynamic Network Interface from a Compute Engine instance.zO*{command}* deletes a Dynamic Network Interface from a Compute Engine instance.z      To delete a Dynamic Network Interface from a Compute Engine instance, run:
        $ {command} instance-name --network-interface=nic1.2
    )briefDESCRIPTIONEXAMPLESN)rD   
__future__r   r   r   googlecloudsdk.api_lib.computer   )googlecloudsdk.api_lib.compute.operationsr   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper	   r
   "googlecloudsdk.command_lib.computer   ,googlecloudsdk.command_lib.compute.instancesr   UniverseCompatibleReleaseTracksr%   GADeleteCommandr   BETArI   ALPHArN   detailed_helpr?   r   r   <module>ra      s    T &  ' 7 < . ( 4 4 Q D%%(()+T + * +\ D%%**+  , D%%++,*  -	 r   