
                         N   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	  \	R                  " \	R                  R                  \	R                  R                  \	R                  R                  5       " S S	\	R                  5      5       r\R"                  " S
5      \l        g)zList node templates command.    )absolute_import)division)unicode_literals)base_classes)lister)basec                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g)	List   z#List Compute Engine node templates.zF
         To list node templates, run:

           $ {command}
       )briefEXAMPLESc                 :    U R                   R                  S5        g )Nz        table(
          name,
          region.basename(),
          description,
          nodeType,
          nodeAffinityLabels.list(separator='
'),
          status
        ))display_info	AddFormat)parsers    7lib/surface/compute/sole_tenancy/node_templates/list.pyArgs	List.Args(   s    
!! #     c                    [         R                  " U R                  5       5      nUR                  n[        R
                  " XR                  5      n[        R                  " X3R                  R                  S9n[        R                  " XE5      $ )N)aggregation_service)r   ComputeApiHolderReleaseTrackclientr   ParseMultiScopeFlags	resourcesMultiScopeListerapitools_clientnodeTemplatesInvoke)selfargsholderr   request_datalist_implementations         r   RunList.Run4   sl    **4+<+<+>?F]]F..t5E5EFL 11$:$:$H$HJ ==;;r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r&   __static_attributes__r(   r   r   r
   r
      s1     , 5- 	 	<r   r
   znode templatesN)r-   
__future__r   r   r   googlecloudsdk.api_lib.computer   r   googlecloudsdk.callioper   ReleaseTracksr   BETAGAALPHAListCommandr
   GetRegionalListerHelpr.   r(   r   r   <module>r:      s    # &  ' 7 1 ( D%%**D,=,=,@,@%%++- <4  <- <F "778HI r   