
                             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
  \R                   " S S	\R                  5      5       rg
)z'Command to delete transfer agent pools.    )absolute_import)division)unicode_literals)apis)base)	name_utilc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Delete   z%Delete a Transfer Service agent pool.z      Delete an agent pool. Note that before you can delete a pool, all
      the pool's agents must be stopped, its associated jobs must be disabled,
      and there must be no associated in-progress transfer operations.
      a%        To delete agent pool 'foo', run:

        $ {command} foo

      To check if there are active operations associated with a pool before
      deleting it, scroll through the results of:

        $ {grandparent_command} operations list --format=yaml --operation-statuses=in_progress
      )DESCRIPTIONEXAMPLESc                 $    U R                  SSS9  g )Nnamez'The name of the job you want to delete.)help)add_argument)parsers    *lib/surface/transfer/agent_pools/delete.pyArgsDelete.Args4   s    
%NO    c                     [         R                  " SS5      n[         R                  " SS5      n[        R                  " UR
                  5      nUR                  R                  UR                  US95        g )Ntransferv1)r   )	r   GetClientInstanceGetMessagesModuler   add_agent_pool_prefixr   projects_agentPoolsr
   .StoragetransferProjectsAgentPoolsDeleteRequest)selfargsclientmessagesformatted_agent_pool_names        r   Run
Delete.Run8   sf    ##J5F%%j$7H ) ? ?		 J
%%??* 	@ 	,-r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r$   __static_attributes__r&   r   r   r
   r
      s1    -

	
-* P P-r   r
   N)r+   
__future__r   r   r   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.transferr   UniverseCompatibleCommandr
   r&   r   r   <module>r5      sA    . &  ' , ( 9 %-T\\ %- %-r   