Beispiel #1
0
        /// <summary>
        /// Disassociate a public IP Address from it's current EC2 instance
        /// </summary>
        /// <param name="publicIpAddress"></param>
        public void DisassociateIpAddress(string publicIpAddress)
        {
            var request = new DisassociateAddressRequest {
                PublicIp = publicIpAddress
            };

            Client.DisassociateAddress(request);
        }
Beispiel #2
0
 /// <summary>
 /// Disassociate Address
 /// </summary>
 /// <param name="request">Disassociate Address  request</param>
 /// <returns>Disassociate Address  Response from the service</returns>
 /// <remarks>
 /// The DisassociateAddress operation disassociates the specified elastic IP
 /// address from the instance to which it is assigned. This is an idempotent
 /// operation. If you enter it more than once, Amazon EC2 does not return an error.
 ///
 /// </remarks>
 public DisassociateAddressResponse DisassociateAddress(DisassociateAddressRequest request)
 {
     return(Invoke <DisassociateAddressResponse>("DisassociateAddressResponse.xml"));
 }