~ubuntu-branches/ubuntu/trusty/python-boto/trusty

« back to all changes in this revision

Viewing changes to boto/ec2/elb/instancestate.py

  • Committer: Package Import Robot
  • Author(s): Eric Evans
  • Date: 2012-04-15 20:21:21 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120415202121-3fpf6q355s0xqpyu
Tags: 2.3.0-1
* New upstream release (Closes: #664478)
* Update debian/watch for Boto's move to Github.  Thanks Scott
  Moser. (Closes: #650480)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
    def __init__(self, load_balancer=None, description=None,
28
28
                 state=None, instance_id=None, reason_code=None):
 
29
        """
 
30
        :ivar boto.ec2.elb.loadbalancer.LoadBalancer load_balancer: The
 
31
            load balancer this instance is registered to.
 
32
        :ivar str description: A description of the instance.
 
33
        :ivar str instance_id: The EC2 instance ID.
 
34
        :ivar str reason_code: Provides information about the cause of
 
35
            an OutOfService instance. Specifically, it indicates whether the
 
36
            cause is Elastic Load Balancing or the instance behind the
 
37
            LoadBalancer.
 
38
        :ivar str state: Specifies the current state of the instance.
 
39
        """
29
40
        self.load_balancer = load_balancer
30
41
        self.description = description
31
42
        self.state = state