AssignPrivateIpAddressesProps
Properties for defining a AssignPrivateIpAddresses
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignprivateipaddresses
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new AssignPrivateIpAddressesProps {
object NetworkInterfaceId,
object PrivateIpAddresses = null,
object SecondaryPrivateIpAddressCount = null
};
Properties
Name | Type | Description |
---|---|---|
NetworkInterfaceId |
object |
Property networkInterfaceId: The ID of the ENI. |
PrivateIpAddresses |
object |
Property privateIpAddresses: One or multiple secondary private IP addresses selected from the CIDR block of the VSwitch that hosts the ENI. |
SecondaryPrivateIpAddressCount |
object |
Property secondaryPrivateIpAddressCount: The specified number of private IP addresses to be assigned by the ECS instance. |
NetworkInterfaceId
Required
public object NetworkInterfaceId { get; set; }
- Type: object
Property networkInterfaceId: The ID of the ENI.
PrivateIpAddresses
Optional
public object PrivateIpAddresses { get; set; }
- Type: object
Property privateIpAddresses: One or multiple secondary private IP addresses selected from the CIDR block of the VSwitch that hosts the ENI.
Valid values of number of private ip addresses: When the ENI is in the Available state: 1 to 10. When the ENI is in the InUse state: limited by the instance type. For more information, see Instance type families. You must specify either the PrivateIpAddresses parameter or the SecondaryPrivateIpAddressCount parameter to assign secondary private IP addresses.
SecondaryPrivateIpAddressCount
Optional
public object SecondaryPrivateIpAddressCount { get; set; }
- Type: object
Property secondaryPrivateIpAddressCount: The specified number of private IP addresses to be assigned by the ECS instance.