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. |
InstanceId
Required
InstanceId interface{}
- Type: interface{}
Property instanceId: ECS instance id.
NetworkInterfaceId
Required
NetworkInterfaceId interface{}
- Type: interface{}
Property networkInterfaceId: Network interface id.
EcsRestartOption
Optional
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.
TrunkNetworkInstanceId
Optional
TrunkNetworkInstanceId interface{}
- Type: interface{}
Property trunkNetworkInstanceId: undefined.