Skip to content

NetworkInterfaceAttachmentProps

Properties for defining a NetworkInterfaceAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfaceattachment

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new NetworkInterfaceAttachmentProps {
    object InstanceId,
    object NetworkInterfaceId,
    object EcsRestartOption = null,
    object TrunkNetworkInstanceId = null
};

Properties

Name Type Description
InstanceId object Property instanceId: ECS instance id.
NetworkInterfaceId object Property networkInterfaceId: Network interface id.
EcsRestartOption object 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 object Property trunkNetworkInstanceId: undefined.

InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: ECS instance id.


NetworkInterfaceIdRequired

public object NetworkInterfaceId { get; set; }
  • Type: object

Property networkInterfaceId: Network interface id.


EcsRestartOptionOptional

public object EcsRestartOption { get; set; }
  • Type: object

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

public object TrunkNetworkInstanceId { get; set; }
  • Type: object

Property trunkNetworkInstanceId: undefined.