EIPAssociationProps
Properties for defining a EIPAssociation
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-eipassociation
Initializer
using AlibabaCloud.SDK.ROS.CDK.Vpc;
new EIPAssociationProps {
object AllocationId,
object InstanceId,
object Mode = null,
object PrivateIpAddress = null
};
Properties
Name | Type | Description |
---|---|---|
AllocationId |
object |
Property allocationId: EIP instance id to bind. |
InstanceId |
object |
Property instanceId: ECS\/SLB\/NAT\/HaVip\/ENI instance id to bid the EIP. |
Mode |
object |
Property mode: The mode of association. |
PrivateIpAddress |
object |
Property privateIpAddress: An IP address in the CIDR block of the VSwitch. |
AllocationId
Required
public object AllocationId { get; set; }
- Type: object
Property allocationId: EIP instance id to bind.
InstanceId
Required
public object InstanceId { get; set; }
- Type: object
Property instanceId: ECS\/SLB\/NAT\/HaVip\/ENI instance id to bid the EIP.
Mode
Optional
public object Mode { get; set; }
- Type: object
Property mode: The mode of association.
Valid values: NAT(Default): NAT mode. BINDED: Cut-through mode. MULTI_BINDED: Multi-EIP to ENI mode. This is required only when the value of InstanceType is NetworkInterface.
PrivateIpAddress
Optional
public object PrivateIpAddress { get; set; }
- Type: object
Property privateIpAddress: An IP address in the CIDR block of the VSwitch.
If you leave the option empty, the system allocates a private IP address according to the VPC ID and VSwitch ID.