
    	                     b   S 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  SSK	J
r
  SSK	Jr  SS	K	Jr  SS
K	Jr  S rS r\R                   \R"                  " \R$                  R&                  \R$                  R(                  5      \R*                   " S S\R,                  5      5       5       5       rg)z5Vertex AI deployment resource pools describe command.    )absolute_import)division)unicode_literals)client)base)	constants)endpoint_util)flags)region_utilc                 L    [         R                  " U S[        R                  S9  g )Nzto describe)prompt_func)r
   AddDeploymentResourcePoolArgr   .PromptForDeploymentResourcePoolSupportedRegionparsers    4lib/surface/ai/deployment_resource_pools/describe.py	_ArgsBetar      s     $$LLN    c                 Z   [         R                  nU R                  R                  R	                  5       nUR                  5       S   U l        [        R                  " XR                  S9   [        R                  " US9nUR                  U5      nUsSSS5        $ ! , (       d  f       g= f)z.Describe a Vertex AI deployment resource pool.locationsId)region)versionN)r   BETA_VERSIONCONCEPTSdeployment_resource_poolParseAsDictr   r	   AiplatformEndpointOverridesr   DeploymentResourcePoolsClientDescribeBeta)argsr   deployment_resource_pool_ref deployment_resource_pools_clientdescribe_responses        r   _RunBetar%   $   s    ""'!%!G!G!M!M!O,335mD$+00M'-'K'K($ 9EE$&  NMMs   +'B
B*c                   .    \ rS rSrSr\S 5       rS rSrg)DescribeV1Beta13   a#  Describe a Vertex AI deployment resource pool.

This command describes a deployment resource pool with a provided deployment
resource pool.

## EXAMPLES

To describe a deployment resource pool with name ''example'' in region
''us-central1'', run:

  $ {command} example --region=us-central1
c                     [        U 5      $ N)r   r   s    r   ArgsDescribeV1Beta1.ArgsD   s    Vr   c                     [        U5      $ r*   )r%   )selfr!   s     r   RunDescribeV1Beta1.RunH   s    D>r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr+   r/   __static_attributes__r1   r   r   r'   r'   3   s       r   r'   N)r6   
__future__r   r   r   3googlecloudsdk.api_lib.ai.deployment_resource_poolsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   r
   r   r   r%   HiddenReleaseTracksReleaseTrackALPHABETAUniverseCompatibleDescribeCommandr'   r1   r   r   <module>rD      s    < &  ' F ( 3 7 / 5N D%%++T->->-C-CDd**   E r   