AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DescribeMovingAddresses operation.

This action is deprecated.

Describes your Elastic IP addresses that are being moved from or being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.DescribeMovingAddressesRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeMovingAddressesRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The DescribeMovingAddressesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Filters System.Collections.Generic.List<Amazon.EC2.Model.Filter>

Gets and sets the property Filters.

One or more filters.

  • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned.

Default: If no value is provided, the default is 1000.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token for the next page of results.

Public Property PublicIps System.Collections.Generic.List<System.String>

Gets and sets the property PublicIps.

One or more Elastic IP addresses.

Examples

This example describes all of your moving Elastic IP addresses.

To describe your moving addresses


var client = new AmazonEC2Client();
var response = client.DescribeMovingAddresses(new DescribeMovingAddressesRequest 
{
});

List<MovingAddressStatus> movingAddressStatuses = response.MovingAddressStatuses;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5