FlowlogProps
Properties for defining a Flowlog.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cen-flowlog
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cen;
new FlowlogProps {
object CenId,
object Description = null,
object FlowLogName = null,
object Interval = null,
object LogFormatString = null,
object LogStoreName = null,
object ProjectName = null,
TagsProperty[] Tags = null,
object TransitRouterAttachmentId = null,
object TransitRouterId = null
};
Properties
| Name | Type | Description |
|---|---|---|
CenId | object | Property cenId: The ID of the CEN instance. |
Description | object | Property description: The description of the flow log. |
FlowLogName | object | Property flowLogName: The flow log name. |
Interval | object | Property interval: The time window for collecting log data. |
LogFormatString | object | Property logFormatString: The strings that define the fields in the flow log. |
LogStoreName | object | Property logStoreName: The Logstore that stores the captured traffic data. |
ProjectName | object | Property projectName: The project that stores the captured traffic data. |
Tags | TagsProperty[] | Property tags: Tags of flow log. |
TransitRouterAttachmentId | object | Property transitRouterAttachmentId: The ID of the VPC connection, VPN connection, VBR connection, ECR connection, or inter-region connection. |
TransitRouterId | object | Property transitRouterId: The ID of the transit router. |
CenIdRequired
public object CenId { get; set; }
- Type: object
Property cenId: The ID of the CEN instance.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: The description of the flow log.
The description is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
FlowLogNameOptional
public object FlowLogName { get; set; }
- Type: object
Property flowLogName: The flow log name.
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
IntervalOptional
public object Interval { get; set; }
- Type: object
Property interval: The time window for collecting log data.
Unit: seconds. Valid values: 60 and 600. Default value: 600.
LogFormatStringOptional
public object LogFormatString { get; set; }
- Type: object
Property logFormatString: The strings that define the fields in the flow log.
Format: ${Field 1}${Field 2}${Field 3}...{Field n} * If you do not configure this parameter, all fields are included in the flow log. * If you configure this parameter, start the string with ${srcaddr}${dstaddr}${bytes} because ${srcaddr}${dstaddr}${bytes} are required variables.
LogStoreNameOptional
public object LogStoreName { get; set; }
- Type: object
Property logStoreName: The Logstore that stores the captured traffic data.
- If a Logstore is already created in the selected region, enter the name of the Logstore.
- If no Logstores are created in the selected region, enter a name and the system automatically creates a Logstore. The name of the Logstore. The name must meet the following requirements: ** The name must be unique in a project. ** The name can contain only lowercase letters, digits, hyphens (-), and underscores (_). ** The name must start and end with a lowercase letter or a digit. ** The name must be 3 to 63 characters in length.
ProjectNameOptional
public object ProjectName { get; set; }
- Type: object
Property projectName: The project that stores the captured traffic data.
- If a project is already created in the selected region, enter the name of the project.
- If no projects are created in the selected region, enter a name and the system automatically creates a project. The project name must be unique in a region. You cannot change the name after the project is created. The name must meet the following requirements: ** The name must be globally unique. ** The name can contain only lowercase letters, digits, and hyphens (-). ** The name must start and end with a lowercase letter or a digit. ** The name must be 3 to 63 characters in length.
TagsOptional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags of flow log.
TransitRouterAttachmentIdOptional
public object TransitRouterAttachmentId { get; set; }
- Type: object
Property transitRouterAttachmentId: The ID of the VPC connection, VPN connection, VBR connection, ECR connection, or inter-region connection.
If you create the flow log for a transfer router, skip this parameter.
TransitRouterIdOptional
public object TransitRouterId { get; set; }
- Type: object
Property transitRouterId: The ID of the transit router.