TrafficMirrorSessionProps
Properties for defining a TrafficMirrorSession
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-trafficmirrorsession
Initializer
using AlibabaCloud.SDK.ROS.CDK.Vpc;
new TrafficMirrorSessionProps {
object Priority,
object TrafficMirrorFilterId,
object TrafficMirrorSourceIds,
object TrafficMirrorTargetId,
object TrafficMirrorTargetType,
object Enabled = null,
object PacketLength = null,
object ResourceGroupId = null,
object Tag = null,
object TrafficMirrorSessionDescription = null,
object TrafficMirrorSessionName = null,
object VirtualNetworkId = null
};
Properties
Name | Type | Description |
---|---|---|
Priority |
object |
Property priority: The priority of the traffic mirror session. |
TrafficMirrorFilterId |
object |
Property trafficMirrorFilterId: The ID of the filter. |
TrafficMirrorSourceIds |
object |
Property trafficMirrorSourceIds: undefined. |
TrafficMirrorTargetId |
object |
Property trafficMirrorTargetId: The ID of the traffic mirror destination. |
TrafficMirrorTargetType |
object |
Property trafficMirrorTargetType: The type of the traffic mirror destination. |
Enabled |
object |
Property enabled: Specifies whether to enable the traffic mirror session. |
PacketLength |
object |
Property packetLength: The maximum transmission unit (MTU). |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group to which the mirrored traffic belongs. |
Tag |
object |
Property tag:. |
TrafficMirrorSessionDescription |
object |
Property trafficMirrorSessionDescription: The description of the traffic mirror session. |
TrafficMirrorSessionName |
object |
Property trafficMirrorSessionName: The name of the traffic mirror session. |
VirtualNetworkId |
object |
Property virtualNetworkId: The VXLAN network identifier (VNI). |
Priority
Required
public object Priority { get; set; }
- Type: object
Property priority: The priority of the traffic mirror session.
Valid values: 1 to 32766. A smaller value indicates a higher priority. You cannot specify identical priorities for traffic mirror sessions that are created in the same region by using the same account.
TrafficMirrorFilterId
Required
public object TrafficMirrorFilterId { get; set; }
- Type: object
Property trafficMirrorFilterId: The ID of the filter.
TrafficMirrorSourceIds
Required
public object TrafficMirrorSourceIds { get; set; }
- Type: object
Property trafficMirrorSourceIds: undefined.
TrafficMirrorTargetId
Required
public object TrafficMirrorTargetId { get; set; }
- Type: object
Property trafficMirrorTargetId: The ID of the traffic mirror destination.
You can specify only an elastic network interface (ENI) or a Server Load Balancer (SLB) instance as a traffic mirror destination.
TrafficMirrorTargetType
Required
public object TrafficMirrorTargetType { get; set; }
- Type: object
Property trafficMirrorTargetType: The type of the traffic mirror destination.
Valid values:
- NetworkInterface: an ENI
- SLB: an SLB instance
Enabled
Optional
public object Enabled { get; set; }
- Type: object
Property enabled: Specifies whether to enable the traffic mirror session.
Valid values:
- false (default): does not enable the traffic mirror session.
- true: enables the traffic mirror session.
PacketLength
Optional
public object PacketLength { get; set; }
- Type: object
Property packetLength: The maximum transmission unit (MTU).
Default value: 1500.
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group to which the mirrored traffic belongs.
Tag
Optional
public object Tag { get; set; }
- Type: object
Property tag:.
TrafficMirrorSessionDescription
Optional
public object TrafficMirrorSessionDescription { get; set; }
- Type: object
Property trafficMirrorSessionDescription: The description of the traffic mirror session.
The description must be 1 to 256 characters in length and cannot start with http:// or https://.
TrafficMirrorSessionName
Optional
public object TrafficMirrorSessionName { get; set; }
- Type: object
Property trafficMirrorSessionName: The name of the traffic mirror session.
The name must be 1 to 128 characters in length and cannot start with http:// or https://.
VirtualNetworkId
Optional
public object VirtualNetworkId { get; set; }
- Type: object
Property virtualNetworkId: The VXLAN network identifier (VNI).
Valid values: 0 to 16777215. You can use VNIs to identify mirrored traffic from different sessions at the traffic mirror destination. You can specify a custom VNI or use a random VNI allocated by the system. If you want the system to randomly allocate a VNI, do not enter a value.