Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/putscalingpolicy.pyo
�
��Xc@s:ddlmZddlmZdefd��YZdS(i����(tArg(tAutoScalingRequesttPutScalingPolicycBs�eZdZeddddd�edddd	dd
dedd�ed
ddddddededd�edddddedd%dd�eddddddedd�edd dd!dedd"dd#�gZd$�ZRS(&s7Create or update an auto-scaling group's scaling policyt
PolicyNametmetavartPOLICYthelps1name of the policy to create or update (required)s-gs--auto-scaling-grouptdesttAutoScalingGroupNametASGROUPtrequiredsWname of the auto-scaling group the policy is associated
                with (required)s-as--adjustmenttScalingAdjustmenttSCALEttypes�amount to scale the group's capacity of the group.  Use
                a negative value, as in "--adjustment=-1", to decrease
                capacity. (required)s-ts--typetAdjustmentTypetchoicestChangeInCapacityt
ExactCapacitytPercentChangeInCapacitys�whether the
                adjustment is the new desired size or an increment to the
                group's current capacity. An increment can either be a fixed
                number or a percentage of current capacity.  (required)s
--cooldowntCooldowntSECONDSs�waiting period after successful auto-scaling activities
                during which later auto-scaling activities will not
                executes-ss--min-adjustment-steptMinAdjustmentSteptPERCENTs�for a PercentChangeInCapacity type policy, guarantee
                that this policy will change the group's desired capacity by at
                least this muchcCs|jd�GHdS(Nt	PolicyARN(tget(tselftresult((sS/usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/putscalingpolicy.pytprint_result=s(RRR(t__name__t
__module__tDESCRIPTIONRtTruetinttARGSR(((sS/usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/putscalingpolicy.pyRs&N(trequestbuilderRteuca2ools.commands.autoscalingRR(((sS/usr/lib/python2.7/site-packages/euca2ools/commands/autoscaling/putscalingpolicy.pyt<module>s