
    '                     p    S r SSKJr  SSKJr  SSKJr  SSSS.r " S	 S
\R                  5      r	\\	l
        g)z"Command for resetting an instance.    )base_classes)base)flags!Reset a virtual machine instance.z          *{command}* is used to perform a hard reset on a
        Compute Engine virtual machine.

        This will not perform a clean shutdown of the guest OS on the instance.
        zh        To reset an instance named ``test-instance'', run:

          $ {command} test-instance
        )briefDESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Reset)   r   c                 B    [         R                  R                  U 5        g )N)r   INSTANCES_ARGAddArgument)parsers    &lib/surface/compute/instances/reset.pyArgs
Reset.Args,   s    	##F+    c                    [         R                  " U R                  5       5      nUR                  n[        R
                  R                  XR                  [        R                  " U5      S9n/ nU Hh  nUR                  R                  UR                  5       UR                  UR                  S9nUR                  UR                  R                   SU45        Mj     UR#                  U5      $ )N)scope_lister)instanceprojectzoner   )r   ComputeApiHolderReleaseTrackclientr   r   ResolveAsResource	resourcesGetInstanceZoneScopeListermessagesComputeInstancesResetRequestNamer   r   appendapitools_client	instancesMakeRequests)selfargsholderr   instance_refsrequest_listinstance_refrequests           r   Run	Reset.Run0   s    **4+<+<+>?F]]F''9955f= : ?M L%<<$$&&&   = "g
 611;;WgNO & |,,r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r.   __static_attributes__r0   r   r   r   r   )   s    ), ,-r   r   N)r5   googlecloudsdk.api_lib.computer   googlecloudsdk.callioper   ,googlecloudsdk.command_lib.compute.instancesr   DETAILED_HELPSilentCommandr   detailed_helpr0   r   r   <module>r>      sG     ) 8 ( > 1		$-D -2 $ r   