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

            //myController.HandleNewElasticIp(this);
        }
示例#3
0
        public static Address CreateInstance(AWSModel.Address address)
        {
            Address address_ = new Address();

            address_.InstanceId = address.InstanceId;
            address_.PublicIp   = address.PublicIp;
            return(address_);
        }
示例#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;
 }
示例#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);
 }