
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
  ej                  ej                  j                         G d d	ej                               Zy
)z)Command to delete an Apigee organization.    )absolute_import)division)unicode_literals)apigee)base)resource_argsc                   0    e Zd ZdZdddZed        Zd Zy)DeletezDelete an Apigee organization.a  
          {description}

          `{command}` deletes an organization and all resources inside it. This
          is currently only supported for trial organizations.

          This is a long running operation. Once organization provisioning has
          begun, `{command}` will exit, returning the operation's ID and initial
          status. To continue monitoring the operation, run
          `{grandparent_command} operations describe OPERATION_NAME`.

          a  
          To delete an organization called ``my-org'', run:

              $ {command} my-org

          To delete an organization called ``my-org'', and print only the name
          of the launched operation, run:

              $ {command} my-org --format="value(name)"
          )DESCRIPTIONEXAMPLESc                 2    t        j                  | dd       y )Norganizationz%The trial organization to be deleted.)r   AddSingleResourceArgument)parsers    *lib/surface/apigee/organizations/delete.pyArgszDelete.Args8   s    ++ GI    c                     |j                   j                  j                         j                         }t        j
                  j                  |      S )zRun the delete command.)CONCEPTSr   ParseAsDictr   OrganizationsClientr
   )selfargsidentifierss      r   Runz
Delete.Run=   s:    --,,224;;=K%%,,[99r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r
   r
      s1    &	-6 I I:r   r
   N)r    
__future__r   r   r   googlecloudsdk.api_libr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.apigeer   ReleaseTracksReleaseTrackALPHADescribeCommandr
   r#   r   r   <module>r,      sV    0 &  ' ) ( ; D%%++,&:T!! &: -&:r   