alicloud.sag.SmartagFlowLog
Explore with Pulumi AI
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
The SmartagFlowLog resource accepts the following input properties:
- Output
Type string - 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
to6000
. Default value:300
. Unit: second. - Description string
- The description of the flow log.
- Flow
Log stringName - The name of the flow log.
- Inactive
Aging int - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - Logstore
Name string - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - Netflow
Server stringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - Netflow
Server intPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - Netflow
Version string - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - Project
Name string - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - Sls
Region stringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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 string - 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
to6000
. Default value:300
. Unit: second. - Description string
- The description of the flow log.
- Flow
Log stringName - The name of the flow log.
- Inactive
Aging int - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - Logstore
Name string - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - Netflow
Server stringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - Netflow
Server intPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - Netflow
Version string - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - Project
Name string - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - Sls
Region stringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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 String - The location where the flow log is stored. Valid values:
- active
Aging Integer - The time interval at which log data of active connections is collected. Valid values:
60
to6000
. Default value:300
. Unit: second. - description String
- The description of the flow log.
- flow
Log StringName - The name of the flow log.
- inactive
Aging Integer - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - logstore
Name String - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - netflow
Server StringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - netflow
Server IntegerPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - netflow
Version String - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - project
Name String - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - sls
Region StringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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 string - The location where the flow log is stored. Valid values:
- active
Aging number - The time interval at which log data of active connections is collected. Valid values:
60
to6000
. Default value:300
. Unit: second. - description string
- The description of the flow log.
- flow
Log stringName - The name of the flow log.
- inactive
Aging number - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - logstore
Name string - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - netflow
Server stringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - netflow
Server numberPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - netflow
Version string - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - project
Name string - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - sls
Region stringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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
to6000
. Default value:300
. Unit: second. - description str
- The description of the flow log.
- flow_
log_ strname - The name of the flow log.
- inactive_
aging int - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - logstore_
name str - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - netflow_
server_ strip - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - netflow_
server_ intport - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - netflow_
version str - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - project_
name str - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - sls_
region_ strid - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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.
- output
Type String - The location where the flow log is stored. Valid values:
- active
Aging Number - The time interval at which log data of active connections is collected. Valid values:
60
to6000
. Default value:300
. Unit: second. - description String
- The description of the flow log.
- flow
Log StringName - The name of the flow log.
- inactive
Aging Number - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - logstore
Name String - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - netflow
Server StringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - netflow
Server NumberPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - netflow
Version String - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - project
Name String - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - sls
Region StringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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.
- Active
Aging int - The time interval at which log data of active connections is collected. Valid values:
60
to6000
. Default value:300
. Unit: second. - Description string
- The description of the flow log.
- Flow
Log stringName - The name of the flow log.
- Inactive
Aging int - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - Logstore
Name string - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - Netflow
Server stringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - Netflow
Server intPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - Netflow
Version string - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - Output
Type string - The location where the flow log is stored. Valid values:
- Project
Name string - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - Sls
Region stringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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
to6000
. Default value:300
. Unit: second. - Description string
- The description of the flow log.
- Flow
Log stringName - The name of the flow log.
- Inactive
Aging int - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - Logstore
Name string - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - Netflow
Server stringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - Netflow
Server intPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - Netflow
Version string - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - Output
Type string - The location where the flow log is stored. Valid values:
- Project
Name string - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - Sls
Region stringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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 Integer - The time interval at which log data of active connections is collected. Valid values:
60
to6000
. Default value:300
. Unit: second. - description String
- The description of the flow log.
- flow
Log StringName - The name of the flow log.
- inactive
Aging Integer - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - logstore
Name String - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - netflow
Server StringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - netflow
Server IntegerPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - netflow
Version String - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - output
Type String - The location where the flow log is stored. Valid values:
- project
Name String - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - sls
Region StringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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 number - The time interval at which log data of active connections is collected. Valid values:
60
to6000
. Default value:300
. Unit: second. - description string
- The description of the flow log.
- flow
Log stringName - The name of the flow log.
- inactive
Aging number - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - logstore
Name string - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - netflow
Server stringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - netflow
Server numberPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - netflow
Version string - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - output
Type string - The location where the flow log is stored. Valid values:
- project
Name string - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - sls
Region stringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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
to6000
. Default value:300
. Unit: second. - description str
- The description of the flow log.
- flow_
log_ strname - The name of the flow log.
- inactive_
aging int - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - logstore_
name str - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - netflow_
server_ strip - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - netflow_
server_ intport - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - netflow_
version str - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, 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 tosls
orall
, this parameter is required. - sls_
region_ strid - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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.
- active
Aging Number - The time interval at which log data of active connections is collected. Valid values:
60
to6000
. Default value:300
. Unit: second. - description String
- The description of the flow log.
- flow
Log StringName - The name of the flow log.
- inactive
Aging Number - The time interval at which log data of inactive connections is connected. Valid values:
10
to600
. Default value:15
. Unit: second. - logstore
Name String - The Logstore in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - netflow
Server StringIp - The IP address of the NetFlow collector where the flow log is stored. If
output_type
is set tonetflow
orall
, this parameter is required. - netflow
Server NumberPort - The port of the NetFlow collector. Default value:
9995
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - netflow
Version String - The NetFlow version. Default value:
V9
. Valid values:V10
,V5
,V9
. Ifoutput_type
is set tonetflow
orall
, this parameter is required. - output
Type String - The location where the flow log is stored. Valid values:
- project
Name String - The project in Log Service. If
output_type
is set tosls
orall
, this parameter is required. - sls
Region StringId - The ID of the region where Log Service is deployed. If
output_type
is set tosls
orall
, 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.