
                             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
 dd	d
Zej                   ej                  ej                  j                         G d dej                                       Zy)z#'vmware upgrades describe' command.    )absolute_import)division)unicode_literals)upgrades)base)flagszj
          Display data associated with a VMware Engine upgrade, such as its schdule, and status.
        a  
          To describe a upgrade called `my-upgrade` for a private cloud `my-private-cloud` and zone `us-west2-a`, run:

            $ {command} my-upgrade --location=us-west2-a --project=my-project --private-cloud=my-private-cloud

            Or:

            $ {command} my-upgrade --private-cloud=my-private-cloud

           In the second example, the project and location are taken from gcloud properties core/project and compute/zone.
    )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Describez/Describe a Google Cloud VMware Engine upgrades.c                 .    t        j                  |        y)z Register flags for this command.N)r   AddUpgradeArgToParser)parsers    6lib/surface/vmware/private_clouds/upgrades/describe.pyArgszDescribe.Args2   s     
'    c                     |j                   j                  j                         }t        j                         j                  |      S )N)CONCEPTSupgradeParser   UpgradesClientGet)selfargsr   s      r   RunzDescribe.Run7   s4    mm##))+G""$((11r   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   +   s#     8-( (2r   r   N)r   
__future__r   r   r   googlecloudsdk.api_lib.vmwarer   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r    DefaultUniverseOnlyReleaseTracksReleaseTrackGADescribeCommandr   r#   r   r   <module>r-      su    * &  ' 2 ( 3
	$ D%%(()2t## 2 * 2r   