Skip to content

AssignIpv6AddressesProps

Properties for defining a AssignIpv6Addresses.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignipv6addresses

Initializer

import com.aliyun.ros.cdk.ecs.AssignIpv6AddressesProps;
AssignIpv6AddressesProps.builder()
    .networkInterfaceId(java.lang.String)
    .networkInterfaceId(IResolvable)
//  .ipv6AddressCount(java.lang.Number)
//  .ipv6AddressCount(IResolvable)
//  .ipv6Addresses(java.util.List<java.lang.Object>)
//  .ipv6Addresses(IResolvable)
//  .ipv6PrefixCount(java.lang.Number)
//  .ipv6PrefixCount(IResolvable)
//  .ipv6Prefixes(java.util.List<java.lang.Object>)
//  .ipv6Prefixes(IResolvable)
    .build();

Properties

Name Type Description
networkInterfaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property networkInterfaceId: Elastic network interface ID.
ipv6AddressCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ipv6AddressCount: The number of IPv6 addresses to randomly generate for the ENI.
ipv6Addresses java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property ipv6Addresses: Specify one or more IPv6 addresses for the elastic NIC.
ipv6PrefixCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ipv6PrefixCount: The number of IPv6 prefixes to assign to the ENI.
ipv6Prefixes java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property ipv6Prefixes: Specify one or more IPv6 prefixes for the elastic NIC.

networkInterfaceIdRequired

public java.lang.Object getNetworkInterfaceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property networkInterfaceId: Elastic network interface ID.


ipv6AddressCountOptional

public java.lang.Object getIpv6AddressCount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property ipv6AddressCount: The number of IPv6 addresses to randomly generate for the ENI.

Valid values: 1 to 10.

You must specify Ipv6Addresses.N or Ipv6AddressCount, but not both.


ipv6AddressesOptional

public java.lang.Object getIpv6Addresses();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property ipv6Addresses: Specify one or more IPv6 addresses for the elastic NIC.

Currently, the maximum list size is 10. Example value: 2001:db8:1234:1a00::*** . Note You cannot specify the parameters Ipv6Addresses and Ipv6AddressCount at the same time.


ipv6PrefixCountOptional

public java.lang.Object getIpv6PrefixCount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property ipv6PrefixCount: The number of IPv6 prefixes to assign to the ENI.

Valid values: 1 to 10.

To assign IPv6 prefixes to the ENI, you must specify Ipv6Prefix.N or Ipv6PrefixCount, but not both.


ipv6PrefixesOptional

public java.lang.Object getIpv6Prefixes();
  • Type: java.util.List OR com.aliyun.ros.cdk.core.IResolvable

Property ipv6Prefixes: Specify one or more IPv6 prefixes for the elastic NIC.