
    	                        S r SSK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                  R                  \R                  R                  5       " S S\R                  5      5       rg)	.Reschedule a Cloud SQL instance's maintenance.    N)api_util)base)flags)reschedule_maintenance_utilc                   x    \ rS rSrSr\R                  " S5      \R                  " S5      S.r\S 5       r	S r
Srg	)
RescheduleMaintenance   r   zN          {command} reschedules a Cloud SQL instance's maintenance.
          a            To run maintenance on instance `my-instance` immediately, run:

            $ {command} my-instance --reschedule-type=IMMEDIATE

          To reschedule maintenance on instance `my-instance` to the next available window, run:

            $ {command} my-instance --reschedule-type=NEXT_AVAILABLE_WINDOW

          To reschedule maintenance on instance `my-instance` to 2019-11-07 at 4:00 am UTC, run:

            $ {command} my-instance --reschedule-type=SPECIFIC_TIME --schedule-time=2019-11-07T04:00Z
          )DESCRIPTIONEXAMPLESc                     [         R                  " U 5        [         R                  " U 5        [         R                  " U 5        g)zArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go on
    the command line after this command. Positional arguments are allowed.
N)r   AddInstanceArgumentAddRescheduleTypeAddScheduleTime)parsers    )lib/surface/sql/reschedule_maintenance.pyArgsRescheduleMaintenance.Args4   s.     
f%	F#	&!    c                 v    [         R                  " [         R                  5      n[        R                  " X5      $ )zDRuns the command to reschedule maintenance for a Cloud SQL instance.)r   	SqlClientAPI_VERSION_DEFAULTr   RunRescheduleMaintenanceCommand)selfargsclients      r   RunRescheduleMaintenance.Run@   s0      < <=F&FF r    N)__name__
__module____qualname____firstlineno____doc__textwrapdedentdetailed_helpstaticmethodr   r   __static_attributes__r   r   r   r	   r	      sM     7 //   //  -* 	" 	"r   r	   )r$   r%   googlecloudsdk.api_lib.sqlr   googlecloudsdk.callioper   googlecloudsdk.command_lib.sqlr   r   ReleaseTracksReleaseTrackGABETAALPHACommandr	   r   r   r   <module>r3      sp    5  / ( 0 F D%%(($*;*;*@*@%%++-)DLL )-)r   