1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. sag
  5. SmartagFlowLog
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.sag.SmartagFlowLog

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Provides a Smartag Flow Log resource.

    For information about Smartag Flow Log and how to use it, see What is Flow Log.

    NOTE: Available since v1.168.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const example = new alicloud.sag.SmartagFlowLog("example", {
        netflowServerIp: "192.168.0.2",
        netflowServerPort: 9995,
        netflowVersion: "V9",
        outputType: "netflow",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.sag.SmartagFlowLog("example",
        netflow_server_ip="192.168.0.2",
        netflow_server_port=9995,
        netflow_version="V9",
        output_type="netflow")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sag"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sag.NewSmartagFlowLog(ctx, "example", &sag.SmartagFlowLogArgs{
    			NetflowServerIp:   pulumi.String("192.168.0.2"),
    			NetflowServerPort: pulumi.Int(9995),
    			NetflowVersion:    pulumi.String("V9"),
    			OutputType:        pulumi.String("netflow"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new AliCloud.Sag.SmartagFlowLog("example", new()
        {
            NetflowServerIp = "192.168.0.2",
            NetflowServerPort = 9995,
            NetflowVersion = "V9",
            OutputType = "netflow",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.sag.SmartagFlowLog;
    import com.pulumi.alicloud.sag.SmartagFlowLogArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new SmartagFlowLog("example", SmartagFlowLogArgs.builder()
                .netflowServerIp("192.168.0.2")
                .netflowServerPort(9995)
                .netflowVersion("V9")
                .outputType("netflow")
                .build());
    
        }
    }
    
    resources:
      example:
        type: alicloud:sag:SmartagFlowLog
        properties:
          netflowServerIp: 192.168.0.2
          netflowServerPort: 9995
          netflowVersion: V9
          outputType: netflow
    

    Create SmartagFlowLog Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SmartagFlowLog(name: string, args: SmartagFlowLogArgs, opts?: CustomResourceOptions);
    @overload
    def SmartagFlowLog(resource_name: str,
                       args: SmartagFlowLogArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def SmartagFlowLog(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       output_type: Optional[str] = None,
                       active_aging: Optional[int] = None,
                       description: Optional[str] = None,
                       flow_log_name: Optional[str] = None,
                       inactive_aging: Optional[int] = None,
                       logstore_name: Optional[str] = None,
                       netflow_server_ip: Optional[str] = None,
                       netflow_server_port: Optional[int] = None,
                       netflow_version: Optional[str] = None,
                       project_name: Optional[str] = None,
                       sls_region_id: Optional[str] = None,
                       status: Optional[str] = None)
    func NewSmartagFlowLog(ctx *Context, name string, args SmartagFlowLogArgs, opts ...ResourceOption) (*SmartagFlowLog, error)
    public SmartagFlowLog(string name, SmartagFlowLogArgs args, CustomResourceOptions? opts = null)
    public SmartagFlowLog(String name, SmartagFlowLogArgs args)
    public SmartagFlowLog(String name, SmartagFlowLogArgs args, CustomResourceOptions options)
    
    type: alicloud:sag:SmartagFlowLog
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SmartagFlowLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SmartagFlowLogArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SmartagFlowLogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SmartagFlowLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SmartagFlowLogArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var smartagFlowLogResource = new AliCloud.Sag.SmartagFlowLog("smartagFlowLogResource", new()
    {
        OutputType = "string",
        ActiveAging = 0,
        Description = "string",
        FlowLogName = "string",
        InactiveAging = 0,
        LogstoreName = "string",
        NetflowServerIp = "string",
        NetflowServerPort = 0,
        NetflowVersion = "string",
        ProjectName = "string",
        SlsRegionId = "string",
        Status = "string",
    });
    
    example, err := sag.NewSmartagFlowLog(ctx, "smartagFlowLogResource", &sag.SmartagFlowLogArgs{
    	OutputType:        pulumi.String("string"),
    	ActiveAging:       pulumi.Int(0),
    	Description:       pulumi.String("string"),
    	FlowLogName:       pulumi.String("string"),
    	InactiveAging:     pulumi.Int(0),
    	LogstoreName:      pulumi.String("string"),
    	NetflowServerIp:   pulumi.String("string"),
    	NetflowServerPort: pulumi.Int(0),
    	NetflowVersion:    pulumi.String("string"),
    	ProjectName:       pulumi.String("string"),
    	SlsRegionId:       pulumi.String("string"),
    	Status:            pulumi.String("string"),
    })
    
    var smartagFlowLogResource = new SmartagFlowLog("smartagFlowLogResource", SmartagFlowLogArgs.builder()
        .outputType("string")
        .activeAging(0)
        .description("string")
        .flowLogName("string")
        .inactiveAging(0)
        .logstoreName("string")
        .netflowServerIp("string")
        .netflowServerPort(0)
        .netflowVersion("string")
        .projectName("string")
        .slsRegionId("string")
        .status("string")
        .build());
    
    smartag_flow_log_resource = alicloud.sag.SmartagFlowLog("smartagFlowLogResource",
        output_type="string",
        active_aging=0,
        description="string",
        flow_log_name="string",
        inactive_aging=0,
        logstore_name="string",
        netflow_server_ip="string",
        netflow_server_port=0,
        netflow_version="string",
        project_name="string",
        sls_region_id="string",
        status="string")
    
    const smartagFlowLogResource = new alicloud.sag.SmartagFlowLog("smartagFlowLogResource", {
        outputType: "string",
        activeAging: 0,
        description: "string",
        flowLogName: "string",
        inactiveAging: 0,
        logstoreName: "string",
        netflowServerIp: "string",
        netflowServerPort: 0,
        netflowVersion: "string",
        projectName: "string",
        slsRegionId: "string",
        status: "string",
    });
    
    type: alicloud:sag:SmartagFlowLog
    properties:
        activeAging: 0
        description: string
        flowLogName: string
        inactiveAging: 0
        logstoreName: string
        netflowServerIp: string
        netflowServerPort: 0
        netflowVersion: string
        outputType: string
        projectName: string
        slsRegionId: string
        status: string
    

    SmartagFlowLog Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SmartagFlowLog resource accepts the following input properties:

    OutputType string
    The location where the flow log is stored. Valid values:
    ActiveAging int
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    Description string
    The description of the flow log.
    FlowLogName string
    The name of the flow log.
    InactiveAging int
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    LogstoreName string
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    NetflowServerIp string
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    NetflowServerPort int
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    NetflowVersion string
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    ProjectName string
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    SlsRegionId string
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    Status string
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    OutputType string
    The location where the flow log is stored. Valid values:
    ActiveAging int
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    Description string
    The description of the flow log.
    FlowLogName string
    The name of the flow log.
    InactiveAging int
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    LogstoreName string
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    NetflowServerIp string
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    NetflowServerPort int
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    NetflowVersion string
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    ProjectName string
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    SlsRegionId string
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    Status string
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    outputType String
    The location where the flow log is stored. Valid values:
    activeAging Integer
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    description String
    The description of the flow log.
    flowLogName String
    The name of the flow log.
    inactiveAging Integer
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    logstoreName String
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    netflowServerIp String
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    netflowServerPort Integer
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    netflowVersion String
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    projectName String
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    slsRegionId String
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    status String
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    outputType string
    The location where the flow log is stored. Valid values:
    activeAging number
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    description string
    The description of the flow log.
    flowLogName string
    The name of the flow log.
    inactiveAging number
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    logstoreName string
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    netflowServerIp string
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    netflowServerPort number
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    netflowVersion string
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    projectName string
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    slsRegionId string
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    status string
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    output_type str
    The location where the flow log is stored. Valid values:
    active_aging int
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    description str
    The description of the flow log.
    flow_log_name str
    The name of the flow log.
    inactive_aging int
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    logstore_name str
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    netflow_server_ip str
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    netflow_server_port int
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    netflow_version str
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    project_name str
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    sls_region_id str
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    status str
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    outputType String
    The location where the flow log is stored. Valid values:
    activeAging Number
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    description String
    The description of the flow log.
    flowLogName String
    The name of the flow log.
    inactiveAging Number
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    logstoreName String
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    netflowServerIp String
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    netflowServerPort Number
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    netflowVersion String
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    projectName String
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    slsRegionId String
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    status String
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SmartagFlowLog resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SmartagFlowLog Resource

    Get an existing SmartagFlowLog resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SmartagFlowLogState, opts?: CustomResourceOptions): SmartagFlowLog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active_aging: Optional[int] = None,
            description: Optional[str] = None,
            flow_log_name: Optional[str] = None,
            inactive_aging: Optional[int] = None,
            logstore_name: Optional[str] = None,
            netflow_server_ip: Optional[str] = None,
            netflow_server_port: Optional[int] = None,
            netflow_version: Optional[str] = None,
            output_type: Optional[str] = None,
            project_name: Optional[str] = None,
            sls_region_id: Optional[str] = None,
            status: Optional[str] = None) -> SmartagFlowLog
    func GetSmartagFlowLog(ctx *Context, name string, id IDInput, state *SmartagFlowLogState, opts ...ResourceOption) (*SmartagFlowLog, error)
    public static SmartagFlowLog Get(string name, Input<string> id, SmartagFlowLogState? state, CustomResourceOptions? opts = null)
    public static SmartagFlowLog get(String name, Output<String> id, SmartagFlowLogState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActiveAging int
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    Description string
    The description of the flow log.
    FlowLogName string
    The name of the flow log.
    InactiveAging int
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    LogstoreName string
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    NetflowServerIp string
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    NetflowServerPort int
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    NetflowVersion string
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    OutputType string
    The location where the flow log is stored. Valid values:
    ProjectName string
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    SlsRegionId string
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    Status string
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    ActiveAging int
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    Description string
    The description of the flow log.
    FlowLogName string
    The name of the flow log.
    InactiveAging int
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    LogstoreName string
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    NetflowServerIp string
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    NetflowServerPort int
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    NetflowVersion string
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    OutputType string
    The location where the flow log is stored. Valid values:
    ProjectName string
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    SlsRegionId string
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    Status string
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    activeAging Integer
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    description String
    The description of the flow log.
    flowLogName String
    The name of the flow log.
    inactiveAging Integer
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    logstoreName String
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    netflowServerIp String
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    netflowServerPort Integer
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    netflowVersion String
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    outputType String
    The location where the flow log is stored. Valid values:
    projectName String
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    slsRegionId String
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    status String
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    activeAging number
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    description string
    The description of the flow log.
    flowLogName string
    The name of the flow log.
    inactiveAging number
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    logstoreName string
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    netflowServerIp string
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    netflowServerPort number
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    netflowVersion string
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    outputType string
    The location where the flow log is stored. Valid values:
    projectName string
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    slsRegionId string
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    status string
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    active_aging int
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    description str
    The description of the flow log.
    flow_log_name str
    The name of the flow log.
    inactive_aging int
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    logstore_name str
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    netflow_server_ip str
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    netflow_server_port int
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    netflow_version str
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    output_type str
    The location where the flow log is stored. Valid values:
    project_name str
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    sls_region_id str
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    status str
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.
    activeAging Number
    The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
    description String
    The description of the flow log.
    flowLogName String
    The name of the flow log.
    inactiveAging Number
    The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
    logstoreName String
    The Logstore in Log Service. If output_type is set to sls or all, this parameter is required.
    netflowServerIp String
    The IP address of the NetFlow collector where the flow log is stored. If output_type is set to netflow or all, this parameter is required.
    netflowServerPort Number
    The port of the NetFlow collector. Default value: 9995. If output_type is set to netflow or all, this parameter is required.
    netflowVersion String
    The NetFlow version. Default value: V9. Valid values: V10, V5, V9. If output_type is set to netflow or all, this parameter is required.
    outputType String
    The location where the flow log is stored. Valid values:
    projectName String
    The project in Log Service. If output_type is set to sls or all, this parameter is required.
    slsRegionId String
    The ID of the region where Log Service is deployed. If output_type is set to sls or all, this parameter is required.
    status String
    The status of the flow log. Valid values: Active: The flow log is enabled. Inactive: The flow log is disabled.

    Import

    Smartag Flow Log can be imported using the id, e.g.

    $ pulumi import alicloud:sag/smartagFlowLog:SmartagFlowLog example <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi