
    
                     ^   S r SSKJr  SSKJr  SSKJ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  SS
KJr  \	R                  \	R                   " \	R"                  R$                  \	R"                  R&                  \	R"                  R(                  5       " S S\	R*                  5      5       5       rg)z/Command for spanner instance partitions delete.    )absolute_import)division)unicode_literalsN)instance_partitions)base)flags)resource_args)
console_ioc                   V    \ rS rSrSrS\R                  " S5      0r\S 5       r	S r
Srg)	Delete   zhDelete a Spanner instance partition. You can't delete the default instance partition using this command.EXAMPLESz        To delete a Spanner instance partition, run:

          $ {command} my-instance-partition-id --instance=my-instance-id
        c                     [         R                  " U S5        U R                  R                  [        R
                  5        g)a`  Args is called by calliope to gather arguments for this command.

Please add arguments in alphabetical order except for no- or a clear-
pair for that argument which can follow the argument itself.
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.
z	to deleteN)r	   AddInstancePartitionResourceArgdisplay_infoAddCacheUpdaterr   InstancePartitionCompleter)parsers    1lib/surface/spanner/instance_partitions/delete.pyArgsDelete.Args-   s.     11&+F
''(H(HI    c                     UR                   R                  R                  5       n[        R                  " SR                  UR                  5      SS9  [        R                  " U5      $ )zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  Some value that we want to have printed later.
z.Delete instance partition [{0}]. Are you sure?T)messagecancel_on_no)CONCEPTSinstance_partitionParser
   PromptContinueformatr   r   )selfargsinstance_partition_refs      r   Run
Delete.Run:   s[     "]]==CCE@GG##
 	 %%&<==r    N)__name__
__module____qualname____firstlineno____doc__textwrapdedentdetailed_helpstaticmethodr   r$   __static_attributes__r&   r   r   r   r      s?    
 q (// # - 
J 
J>r   r   )r+   
__future__r   r   r   r,   googlecloudsdk.api_lib.spannerr   googlecloudsdk.callioper   "googlecloudsdk.command_lib.spannerr   r	   googlecloudsdk.core.consoler
   DefaultUniverseOnlyReleaseTracksReleaseTrackGABETAALPHADeleteCommandr   r&   r   r   <module>r=      s    6 &  '  > ( 4 < 2 $++00$2C2C2I2I)>T )> )>r   