AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the AssociateTrunkInterface operation. Associates a branch network interface with a trunk network interface.

Before you create the association, run the create-network-interface command and set --interface-type to trunk. You must also create a network interface for each branch network interface that you want to associate with the trunk network interface.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.AssociateTrunkInterfaceRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class AssociateTrunkInterfaceRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The AssociateTrunkInterfaceRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property BranchInterfaceId System.String

Gets and sets the property BranchInterfaceId.

The ID of the branch network interface.

Public Property ClientToken System.String

Gets and sets the property ClientToken.

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Public Property GreKey System.Int32

Gets and sets the property GreKey.

The application key. This applies to the GRE protocol.

Public Property TrunkInterfaceId System.String

Gets and sets the property TrunkInterfaceId.

The ID of the trunk network interface.

Public Property VlanId System.Int32

Gets and sets the property VlanId.

The ID of the VLAN. This applies to the VLAN protocol.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5