AWS SDK Version 2 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.

.NET Framework 3.5
 
Assigns one or more secondary private IP addresses to the specified network interface. You can specify one or more specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. The number of secondary IP addresses that you can assign to an instance varies by instance type. For information about instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide. For more information about Elastic IP addresses, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.

AssignPrivateIpAddresses is available only in EC2-VPC.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual AssignPrivateIpAddressesResponse AssignPrivateIpAddresses(
         AssignPrivateIpAddressesRequest request
)

Parameters

request
Type: Amazon.EC2.Model.AssignPrivateIpAddressesRequest

Container for the necessary parameters to execute the AssignPrivateIpAddresses service method.

Return Value
Type: Amazon.EC2.Model.AssignPrivateIpAddressesResponse
The response from the AssignPrivateIpAddresses service method, as returned by EC2.

Version Information

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