HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/self/root/lib/python2.7/site-packages/euca2ools/commands/autoscaling/putscalingpolicy.pyc
�
��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