1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. Ondemandsniffer
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.firewall.Ondemandsniffer

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure on-demand packet sniffer. Applies to FortiOS Version >= 7.4.4.

    Create Ondemandsniffer Resource

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

    Constructor syntax

    new Ondemandsniffer(name: string, args?: OndemandsnifferArgs, opts?: CustomResourceOptions);
    @overload
    def Ondemandsniffer(resource_name: str,
                        args: Optional[OndemandsnifferArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ondemandsniffer(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        advanced_filter: Optional[str] = None,
                        dynamic_sort_subtable: Optional[str] = None,
                        get_all_tables: Optional[str] = None,
                        hosts: Optional[Sequence[OndemandsnifferHostArgs]] = None,
                        interface: Optional[str] = None,
                        max_packet_count: Optional[int] = None,
                        name: Optional[str] = None,
                        non_ip_packet: Optional[str] = None,
                        ports: Optional[Sequence[OndemandsnifferPortArgs]] = None,
                        protocols: Optional[Sequence[OndemandsnifferProtocolArgs]] = None,
                        vdomparam: Optional[str] = None)
    func NewOndemandsniffer(ctx *Context, name string, args *OndemandsnifferArgs, opts ...ResourceOption) (*Ondemandsniffer, error)
    public Ondemandsniffer(string name, OndemandsnifferArgs? args = null, CustomResourceOptions? opts = null)
    public Ondemandsniffer(String name, OndemandsnifferArgs args)
    public Ondemandsniffer(String name, OndemandsnifferArgs args, CustomResourceOptions options)
    
    type: fortios:firewall:Ondemandsniffer
    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 OndemandsnifferArgs
    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 OndemandsnifferArgs
    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 OndemandsnifferArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OndemandsnifferArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OndemandsnifferArgs
    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 ondemandsnifferResource = new Fortios.Firewall.Ondemandsniffer("ondemandsnifferResource", new()
    {
        AdvancedFilter = "string",
        DynamicSortSubtable = "string",
        GetAllTables = "string",
        Hosts = new[]
        {
            new Fortios.Firewall.Inputs.OndemandsnifferHostArgs
            {
                Host = "string",
            },
        },
        Interface = "string",
        MaxPacketCount = 0,
        Name = "string",
        NonIpPacket = "string",
        Ports = new[]
        {
            new Fortios.Firewall.Inputs.OndemandsnifferPortArgs
            {
                Port = 0,
            },
        },
        Protocols = new[]
        {
            new Fortios.Firewall.Inputs.OndemandsnifferProtocolArgs
            {
                Protocol = 0,
            },
        },
        Vdomparam = "string",
    });
    
    example, err := firewall.NewOndemandsniffer(ctx, "ondemandsnifferResource", &firewall.OndemandsnifferArgs{
    	AdvancedFilter:      pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	Hosts: firewall.OndemandsnifferHostArray{
    		&firewall.OndemandsnifferHostArgs{
    			Host: pulumi.String("string"),
    		},
    	},
    	Interface:      pulumi.String("string"),
    	MaxPacketCount: pulumi.Int(0),
    	Name:           pulumi.String("string"),
    	NonIpPacket:    pulumi.String("string"),
    	Ports: firewall.OndemandsnifferPortArray{
    		&firewall.OndemandsnifferPortArgs{
    			Port: pulumi.Int(0),
    		},
    	},
    	Protocols: firewall.OndemandsnifferProtocolArray{
    		&firewall.OndemandsnifferProtocolArgs{
    			Protocol: pulumi.Int(0),
    		},
    	},
    	Vdomparam: pulumi.String("string"),
    })
    
    var ondemandsnifferResource = new Ondemandsniffer("ondemandsnifferResource", OndemandsnifferArgs.builder()
        .advancedFilter("string")
        .dynamicSortSubtable("string")
        .getAllTables("string")
        .hosts(OndemandsnifferHostArgs.builder()
            .host("string")
            .build())
        .interface_("string")
        .maxPacketCount(0)
        .name("string")
        .nonIpPacket("string")
        .ports(OndemandsnifferPortArgs.builder()
            .port(0)
            .build())
        .protocols(OndemandsnifferProtocolArgs.builder()
            .protocol(0)
            .build())
        .vdomparam("string")
        .build());
    
    ondemandsniffer_resource = fortios.firewall.Ondemandsniffer("ondemandsnifferResource",
        advanced_filter="string",
        dynamic_sort_subtable="string",
        get_all_tables="string",
        hosts=[fortios.firewall.OndemandsnifferHostArgs(
            host="string",
        )],
        interface="string",
        max_packet_count=0,
        name="string",
        non_ip_packet="string",
        ports=[fortios.firewall.OndemandsnifferPortArgs(
            port=0,
        )],
        protocols=[fortios.firewall.OndemandsnifferProtocolArgs(
            protocol=0,
        )],
        vdomparam="string")
    
    const ondemandsnifferResource = new fortios.firewall.Ondemandsniffer("ondemandsnifferResource", {
        advancedFilter: "string",
        dynamicSortSubtable: "string",
        getAllTables: "string",
        hosts: [{
            host: "string",
        }],
        "interface": "string",
        maxPacketCount: 0,
        name: "string",
        nonIpPacket: "string",
        ports: [{
            port: 0,
        }],
        protocols: [{
            protocol: 0,
        }],
        vdomparam: "string",
    });
    
    type: fortios:firewall:Ondemandsniffer
    properties:
        advancedFilter: string
        dynamicSortSubtable: string
        getAllTables: string
        hosts:
            - host: string
        interface: string
        maxPacketCount: 0
        name: string
        nonIpPacket: string
        ports:
            - port: 0
        protocols:
            - protocol: 0
        vdomparam: string
    

    Ondemandsniffer 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 Ondemandsniffer resource accepts the following input properties:

    AdvancedFilter string
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Hosts List<Pulumiverse.Fortios.Firewall.Inputs.OndemandsnifferHost>
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    Interface string
    Interface name that on-demand packet sniffer will take place.
    MaxPacketCount int
    Maximum number of packets to capture per on-demand packet sniffer.
    Name string
    On-demand packet sniffer name.
    NonIpPacket string
    Include non-IP packets. Valid values: enable, disable.
    Ports List<Pulumiverse.Fortios.Firewall.Inputs.OndemandsnifferPort>
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    Protocols List<Pulumiverse.Fortios.Firewall.Inputs.OndemandsnifferProtocol>
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    AdvancedFilter string
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Hosts []OndemandsnifferHostArgs
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    Interface string
    Interface name that on-demand packet sniffer will take place.
    MaxPacketCount int
    Maximum number of packets to capture per on-demand packet sniffer.
    Name string
    On-demand packet sniffer name.
    NonIpPacket string
    Include non-IP packets. Valid values: enable, disable.
    Ports []OndemandsnifferPortArgs
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    Protocols []OndemandsnifferProtocolArgs
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    advancedFilter String
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hosts List<OndemandsnifferHost>
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    interface_ String
    Interface name that on-demand packet sniffer will take place.
    maxPacketCount Integer
    Maximum number of packets to capture per on-demand packet sniffer.
    name String
    On-demand packet sniffer name.
    nonIpPacket String
    Include non-IP packets. Valid values: enable, disable.
    ports List<OndemandsnifferPort>
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    protocols List<OndemandsnifferProtocol>
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    advancedFilter string
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hosts OndemandsnifferHost[]
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    interface string
    Interface name that on-demand packet sniffer will take place.
    maxPacketCount number
    Maximum number of packets to capture per on-demand packet sniffer.
    name string
    On-demand packet sniffer name.
    nonIpPacket string
    Include non-IP packets. Valid values: enable, disable.
    ports OndemandsnifferPort[]
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    protocols OndemandsnifferProtocol[]
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    advanced_filter str
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hosts Sequence[OndemandsnifferHostArgs]
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    interface str
    Interface name that on-demand packet sniffer will take place.
    max_packet_count int
    Maximum number of packets to capture per on-demand packet sniffer.
    name str
    On-demand packet sniffer name.
    non_ip_packet str
    Include non-IP packets. Valid values: enable, disable.
    ports Sequence[OndemandsnifferPortArgs]
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    protocols Sequence[OndemandsnifferProtocolArgs]
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    advancedFilter String
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hosts List<Property Map>
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    interface String
    Interface name that on-demand packet sniffer will take place.
    maxPacketCount Number
    Maximum number of packets to capture per on-demand packet sniffer.
    name String
    On-demand packet sniffer name.
    nonIpPacket String
    Include non-IP packets. Valid values: enable, disable.
    ports List<Property Map>
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    protocols List<Property Map>
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Ondemandsniffer 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 Ondemandsniffer Resource

    Get an existing Ondemandsniffer 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?: OndemandsnifferState, opts?: CustomResourceOptions): Ondemandsniffer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            advanced_filter: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            hosts: Optional[Sequence[OndemandsnifferHostArgs]] = None,
            interface: Optional[str] = None,
            max_packet_count: Optional[int] = None,
            name: Optional[str] = None,
            non_ip_packet: Optional[str] = None,
            ports: Optional[Sequence[OndemandsnifferPortArgs]] = None,
            protocols: Optional[Sequence[OndemandsnifferProtocolArgs]] = None,
            vdomparam: Optional[str] = None) -> Ondemandsniffer
    func GetOndemandsniffer(ctx *Context, name string, id IDInput, state *OndemandsnifferState, opts ...ResourceOption) (*Ondemandsniffer, error)
    public static Ondemandsniffer Get(string name, Input<string> id, OndemandsnifferState? state, CustomResourceOptions? opts = null)
    public static Ondemandsniffer get(String name, Output<String> id, OndemandsnifferState 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:
    AdvancedFilter string
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Hosts List<Pulumiverse.Fortios.Firewall.Inputs.OndemandsnifferHost>
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    Interface string
    Interface name that on-demand packet sniffer will take place.
    MaxPacketCount int
    Maximum number of packets to capture per on-demand packet sniffer.
    Name string
    On-demand packet sniffer name.
    NonIpPacket string
    Include non-IP packets. Valid values: enable, disable.
    Ports List<Pulumiverse.Fortios.Firewall.Inputs.OndemandsnifferPort>
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    Protocols List<Pulumiverse.Fortios.Firewall.Inputs.OndemandsnifferProtocol>
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    AdvancedFilter string
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Hosts []OndemandsnifferHostArgs
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    Interface string
    Interface name that on-demand packet sniffer will take place.
    MaxPacketCount int
    Maximum number of packets to capture per on-demand packet sniffer.
    Name string
    On-demand packet sniffer name.
    NonIpPacket string
    Include non-IP packets. Valid values: enable, disable.
    Ports []OndemandsnifferPortArgs
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    Protocols []OndemandsnifferProtocolArgs
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    advancedFilter String
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hosts List<OndemandsnifferHost>
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    interface_ String
    Interface name that on-demand packet sniffer will take place.
    maxPacketCount Integer
    Maximum number of packets to capture per on-demand packet sniffer.
    name String
    On-demand packet sniffer name.
    nonIpPacket String
    Include non-IP packets. Valid values: enable, disable.
    ports List<OndemandsnifferPort>
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    protocols List<OndemandsnifferProtocol>
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    advancedFilter string
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hosts OndemandsnifferHost[]
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    interface string
    Interface name that on-demand packet sniffer will take place.
    maxPacketCount number
    Maximum number of packets to capture per on-demand packet sniffer.
    name string
    On-demand packet sniffer name.
    nonIpPacket string
    Include non-IP packets. Valid values: enable, disable.
    ports OndemandsnifferPort[]
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    protocols OndemandsnifferProtocol[]
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    advanced_filter str
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hosts Sequence[OndemandsnifferHostArgs]
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    interface str
    Interface name that on-demand packet sniffer will take place.
    max_packet_count int
    Maximum number of packets to capture per on-demand packet sniffer.
    name str
    On-demand packet sniffer name.
    non_ip_packet str
    Include non-IP packets. Valid values: enable, disable.
    ports Sequence[OndemandsnifferPortArgs]
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    protocols Sequence[OndemandsnifferProtocolArgs]
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    advancedFilter String
    Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hosts List<Property Map>
    IPv4 or IPv6 hosts to filter in this traffic sniffer. The structure of hosts block is documented below.
    interface String
    Interface name that on-demand packet sniffer will take place.
    maxPacketCount Number
    Maximum number of packets to capture per on-demand packet sniffer.
    name String
    On-demand packet sniffer name.
    nonIpPacket String
    Include non-IP packets. Valid values: enable, disable.
    ports List<Property Map>
    Ports to filter for in this traffic sniffer. The structure of ports block is documented below.
    protocols List<Property Map>
    Protocols to filter in this traffic sniffer. The structure of protocols block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    OndemandsnifferHost, OndemandsnifferHostArgs

    Host string
    IPv4 or IPv6 host.
    Host string
    IPv4 or IPv6 host.
    host String
    IPv4 or IPv6 host.
    host string
    IPv4 or IPv6 host.
    host str
    IPv4 or IPv6 host.
    host String
    IPv4 or IPv6 host.

    OndemandsnifferPort, OndemandsnifferPortArgs

    Port int
    Port to filter in this traffic sniffer.
    Port int
    Port to filter in this traffic sniffer.
    port Integer
    Port to filter in this traffic sniffer.
    port number
    Port to filter in this traffic sniffer.
    port int
    Port to filter in this traffic sniffer.
    port Number
    Port to filter in this traffic sniffer.

    OndemandsnifferProtocol, OndemandsnifferProtocolArgs

    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    protocol Integer
    Integer value for the protocol type as defined by IANA (0 - 255).
    protocol number
    Integer value for the protocol type as defined by IANA (0 - 255).
    protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    protocol Number
    Integer value for the protocol type as defined by IANA (0 - 255).

    Import

    Firewall OnDemandSniffer can be imported using any of these accepted formats:

    $ pulumi import fortios:firewall/ondemandsniffer:Ondemandsniffer labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/ondemandsniffer:Ondemandsniffer labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse