NetworkInterfaceAttachmentProps
Properties for defining a NetworkInterfaceAttachment.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfaceattachment
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.NetworkInterfaceAttachmentProps {
InstanceId: interface{},
NetworkInterfaceId: interface{},
EcsRestartOption: interface{},
TrunkNetworkInstanceId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
InstanceId |
interface{} |
Property instanceId: ECS instance id. |
NetworkInterfaceId |
interface{} |
Property networkInterfaceId: Network interface id. |
EcsRestartOption |
interface{} |
Property ecsRestartOption: Control whether to restart the ECS instance when binding an elastic network card.Only effective for ENI that does not support hot swapping. |
TrunkNetworkInstanceId |
interface{} |
Property trunkNetworkInstanceId: undefined. |
InstanceIdRequired
InstanceId interface{}
- Type: interface{}
Property instanceId: ECS instance id.
NetworkInterfaceIdRequired
NetworkInterfaceId interface{}
- Type: interface{}
Property networkInterfaceId: Network interface id.
EcsRestartOptionOptional
EcsRestartOption interface{}
- Type: interface{}
Property ecsRestartOption: Control whether to restart the ECS instance when binding an elastic network card.Only effective for ENI that does not support hot swapping.
TrunkNetworkInstanceIdOptional
TrunkNetworkInstanceId interface{}
- Type: interface{}
Property trunkNetworkInstanceId: undefined.