
                             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	\R                  5      rg
)z5Command for removing health checks from target pools.    )absolute_import)division)unicode_literals)base_classes)base)flagsc                   6    \ rS rSrSrSrSr\S 5       rS r	Sr
g)RemoveHealthChecks   aW  Remove an HTTP health check from a target pool.

*{command}* is used to remove an HTTP health check
from a target pool. Health checks are used to determine
the health status of instances in the target pool. For more
information on health checks and load balancing, see
[](https://cloud.google.com/compute/docs/load-balancing-and-autoscaling/)
Nc                     [         R                  " S5      U l        U R                  R                  U5        [        R
                  " SS9U l        U R                  R                  USS9  g )Nzremove fromz' from which to remove the health check.)help_suffixzremove health checks from)operation_type)http_health_check_flags$HttpHealthCheckArgumentForTargetPoolHEALTH_CHECK_ARGAddArgumentr   TargetPoolArgumentTARGET_POOL_ARG)clsparsers     8lib/surface/compute/target_pools/remove_health_checks.pyArgsRemoveHealthChecks.Args+   sh     	 DD	  $$V,22=?C##: $ <    c                 f   [         R                  " U R                  5       5      nUR                  nU R                  R                  XR                  5      nU R                  R                  UUR                  [        R                  " U5      S9nUR                  R                  UR                  UR                  UR                  5       UR                  R                  UR                  R!                  UR#                  5       S9/S9S9nUR%                  UR&                  R(                  SU4/5      $ )N)scope_lister)healthCheck)healthChecks)regionproject
targetPool#targetPoolsRemoveHealthCheckRequestRemoveHealthCheck)r   ComputeApiHolderReleaseTrackclientr   ResolveAsResource	resourcesr   compute_flagsGetDefaultScopeListermessages*ComputeTargetPoolsRemoveHealthCheckRequestr   r    Name#TargetPoolsRemoveHealthCheckRequestHealthCheckReferenceSelfLinkMakeRequestsapitools_clienttargetPools)selfargsholderr&   http_health_check_reftarget_pool_refrequests          r   RunRemoveHealthChecks.Run6   s0   **4+<+<+>?F]]F 11CC  **<<"88@ = BO
 ooHH%%''"'')OO??$ooBB 5 > > @ C B C @ D I FG !7!7!C!C!4g!?  @ A Ar    )__name__
__module____qualname____firstlineno____doc__r   r   classmethodr   r:   __static_attributes__r<   r   r   r
   r
      s,     /< <Ar   r
   N)rA   
__future__r   r   r   googlecloudsdk.api_lib.computer   googlecloudsdk.callioper   "googlecloudsdk.command_lib.computer   r)   5googlecloudsdk.command_lib.compute.http_health_checksr   /googlecloudsdk.command_lib.compute.target_poolsSilentCommandr
   r<   r   r   <module>rK      s8     < &  ' 7 ( E& A.A++ .Ar   