Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyo |
�
��Xc @ s] d d l m Z d d l m Z d d l m Z d d l m Z d e e f d � � YZ d S( i����( t Arg( t TabifyingMixin( t PaginatedResponse( t AutoScalingRequestt DescribeAutoScalingGroupsc B s� e Z d Z e d d d d d d d �e d d d
d d d d �g Z d
d d d d d d d g Z d � Z d � Z d � Z d � Z
d � Z d � Z d � Z
RS( s Describe auto-scaling groupss AutoScalingGroupNames.membert metavart ASGROUPt nargst *t helps- limit results to specific auto-scaling groupss --show-longt actiont
store_truet route_tos show all of the groups' infot AutoScalingGroupst AvailabilityZonest EnabledMetricst Instancest LoadBalancerNamest SuspendedProcessest Tagst TerminationPoliciesc C s t | d d � S( NR
( N( R
( R t None( t self( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyt main, s c C s | | j d <d S( Nt NextToken( t params( R t page( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyt prepare_for_page/ s c C s | j d � p d S( NR ( t getR ( R t response( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyt
get_next_page4 s c
C s+ g } x| j d g � D]�} d | j d � | j d � d j | j d � � g } | j d r{ | j | j d � � n | j d � } | r� | j d j | � � n
| j d � | j d r� | j | j d
� � n | j | j d � � | j | j d � � | j | j d
� � | j d r�| j | j d � � | j | j d � � | j | j d � � | j | j d � � | j | j d � � n | j d � } | r�| j d j | � � n
| j d � | j | j | � � x0 | j d g � D] } | j | j | � � q W| j d � } x3 | j d g � D] } | j | j | | � � qBWx0 | j d g � D] }
| j | j |
� � qxWxr | j d � p�g D][ } | j | j d | j d � | j d � | j d � | j d � | j d � g � � q�Wq Wx | D] } | GHqWd S( NR
s AUTO-SCALING-GROUPt AutoScalingGroupNamet LaunchConfigurationNamet ,R t show_longt CreatedTimeR t HealthCheckTypet MinSizet MaxSizet DesiredCapacityt DefaultCooldownt HealthCheckGracePeriodt VPCZoneIdentifiert PlacementGroupt AutoScalingGroupARNR R R R R t TAGt ResourceTypet
ResourceIdt Keyt Valuet PropagateAtLaunch( R t joint argst appendR t tabifyt _get_tabified_instancet _get_tabified_suspended_processt _get_tabified_metric(
R t resultt linest groupt bitst balancerst policiest instancet scale_groupt processt metrict tagt line( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyt print_result8 sV
c C sL | j d | j d � | j d � | j d � | j d � | j d � g � S( Nt INSTANCEt
InstanceIdt AvailabilityZonet LifecycleStatet HealthStatusR ( R6 R ( R R@ ( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyR7 g s c C s+ | j d | j d � | j d � | g � S( Ns SUSPENDED-PROCESSt ProcessNamet SuspensionReason( R6 R ( R RB RA ( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyR8 o s c C s( | j d | j d � | j d � g � S( Ns ENABLED-METRICSt Metrict Granularity( R6 R ( R RC ( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyR9 u s N( t __name__t
__module__t DESCRIPTIONR R t ARGSt LIST_TAGSR R R RF R7 R8 R9 ( ( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyR ! s / N( t requestbuilderR t requestbuilder.mixinsR t requestbuilder.responseR t euca2ools.commands.autoscalingR R ( ( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/describeautoscalinggroups.pyt <module> s