Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/elasticloadbalancing/createloadbalancer.pyo
�
��Xc@syddlmZmZddlmZddlmZmZddlm	Z	ddl
mZde	efd��YZdS(	i����(tArgtMutuallyExclusiveArgList(tTabifyingMixin(tbinary_tag_deftdelimited_list(t
ELBRequest(tlistenertCreateLoadBalancercBs:eZdZeddddd�eeddddd	d
ded�dd
�eddddd	dded�dd��j�eddd	ddddddededd�eddd	ddd,dddd �ed!d"d	d#dd$ded�dd%�ed&d'd	d(dddd)de	dd*�gZ
d+�ZRS(-slCreate a load balancer

After the load balancer is created, instances must be registered with it separately.tLoadBalancerNametmetavartELBthelps(name of the new load balancer (required)s-ss	--subnetssSUBNET1,SUBNET2,...tdestsSubnets.memberttypet,sQ[VPC only] subnets the load balancer should run in
                    (required)s-zs--availability-zonessZONE1,ZONE2,...sAvailabilityZones.members`[Non-VPC only] availability zones the load balancer
                    should run in (required)s-ls
--listenersListeners.membertactiontappendsv"lb-port=PORT, protocol={HTTP,HTTPS,SSL,TCP}, instance-port=PORT, instance-protocol={HTTP,HTTPS,SSL,TCP}, cert-id=ARN"trequireds8port/protocol settings for the load balancer, where
                lb-port is the external port number, protocol is the external
                protocol, instance-port is the back end server port number,
                instance-protocol is the protocol to use for routing traffic to
                back end instances, and cert-id is the ARN of the server
                certificate to use for encrypted connections.  lb-port,
                protocol, and instance-port are required.  This option may be
                used multiple times.  (at least 1 required)s-is--schemetSchemetchoicestinternalsT[VPC only] "internal" to make the
                new load balancer private to a VPCs-gs--security-groupssSecurityGroups.membersGROUP1,GROUP2,...sX[VPC only] IDs of the security groups to assign to the
                new load balancers-ts--tagsTags.members	KEY=VALUEs6key and value of a tag to add to the new load balancercCs!|jd|jd�f�GHdS(NtDNS_NAMEtDNSName(ttabifytget(tselftresult((s^/usr/lib/python2.7/site-packages/euca2ools/commands/elasticloadbalancing/createloadbalancer.pytprint_resultIs(R(t__name__t
__module__tDESCRIPTIONRRRRtTrueRRtARGSR(((s^/usr/lib/python2.7/site-packages/euca2ools/commands/elasticloadbalancing/createloadbalancer.pyR"s2N(
trequestbuilderRRtrequestbuilder.mixinsRteuca2ools.commands.argtypesRRt'euca2ools.commands.elasticloadbalancingRt0euca2ools.commands.elasticloadbalancing.argtypesRR(((s^/usr/lib/python2.7/site-packages/euca2ools/commands/elasticloadbalancing/createloadbalancer.pyt<module>s