public AwsAssociateElasticIpStep(AwsClient client, Address ipAddress, InstanceDeploy instance)
 {
     this.client = client;
     this.ipAddress = ipAddress;
     this.instance = instance;
     Name = "Associating elastic ip.";
 }
Exemplo n.º 2
0
        public ZAwsElasticIp(ZAwsEc2Controller controller, Amazon.EC2.Model.Address res)
            : base(controller)
        {
            Update(res);

            //myController.HandleNewElasticIp(this);
        }
Exemplo n.º 3
0
        public static Address CreateInstance(AWSModel.Address address)
        {
            Address address_ = new Address();

            address_.InstanceId = address.InstanceId;
            address_.PublicIp   = address.PublicIp;
            return(address_);
        }
Exemplo n.º 4
0
 protected override bool DoUpdate(object responseData)
 {
     Debug.Assert(responseData.GetType() == typeof(Address), "Wrong data passed to the object for update.");
     ResponseData = (Address)responseData;
     return true;
 }
Exemplo n.º 5
0
 protected override bool DoUpdate(object responseData)
 {
     Debug.Assert(responseData.GetType() == typeof(Address), "Wrong data passed to the object for update.");
     ResponseData = (Address)responseData;
     return(true);
 }