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.

Describes a network interface for a Scheduled Instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.ScheduledInstancesNetworkInterface

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

Syntax

C#
public class ScheduledInstancesNetworkInterface

The ScheduledInstancesNetworkInterface type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AssociatePublicIpAddress System.Boolean

Gets and sets the property AssociatePublicIpAddress.

Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

Public Property DeleteOnTermination System.Boolean

Gets and sets the property DeleteOnTermination.

Indicates whether to delete the interface when the instance is terminated.

Public Property Description System.String

Gets and sets the property Description.

The description.

Public Property DeviceIndex System.Int32

Gets and sets the property DeviceIndex.

The index of the device for the network interface attachment.

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

Gets and sets the property Groups.

The IDs of the security groups.

Public Property Ipv6AddressCount System.Int32

Gets and sets the property Ipv6AddressCount.

The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.

Public Property Ipv6Addresses System.Collections.Generic.List<Amazon.EC2.Model.ScheduledInstancesIpv6Address>

Gets and sets the property Ipv6Addresses.

The specific IPv6 addresses from the subnet range.

Public Property NetworkInterfaceId System.String

Gets and sets the property NetworkInterfaceId.

The ID of the network interface.

Public Property PrivateIpAddress System.String

Gets and sets the property PrivateIpAddress.

The IPv4 address of the network interface within the subnet.

Public Property PrivateIpAddressConfigs System.Collections.Generic.List<Amazon.EC2.Model.ScheduledInstancesPrivateIpAddressConfig>

Gets and sets the property PrivateIpAddressConfigs.

The private IPv4 addresses.

Public Property SecondaryPrivateIpAddressCount System.Int32

Gets and sets the property SecondaryPrivateIpAddressCount.

The number of secondary private IPv4 addresses.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The ID of the subnet.

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