EIPAssociationProps
Properties for defining a EIPAssociation
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-eipassociation
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
&alicloudroscdkvpc.EIPAssociationProps {
AllocationId: interface{},
InstanceId: interface{},
Mode: interface{},
PrivateIpAddress: interface{},
}
Properties
Name | Type | Description |
---|---|---|
AllocationId |
interface{} |
Property allocationId: EIP instance id to bind. |
InstanceId |
interface{} |
Property instanceId: ECS\/SLB\/NAT\/HaVip\/ENI instance id to bid the EIP. |
Mode |
interface{} |
Property mode: The mode of association. |
PrivateIpAddress |
interface{} |
Property privateIpAddress: An IP address in the CIDR block of the VSwitch. |
AllocationId
Required
AllocationId interface{}
- Type: interface{}
Property allocationId: EIP instance id to bind.
InstanceId
Required
InstanceId interface{}
- Type: interface{}
Property instanceId: ECS\/SLB\/NAT\/HaVip\/ENI instance id to bid the EIP.
Mode
Optional
Mode interface{}
- Type: interface{}
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
PrivateIpAddress interface{}
- Type: interface{}
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.