fortios.firewall.Ondemandsniffer
Explore with Pulumi AI
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=[{
"host": "string",
}],
interface="string",
max_packet_count=0,
name="string",
non_ip_packet="string",
ports=[{
"port": 0,
}],
protocols=[{
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Ondemandsniffer resource accepts the following input properties:
- Advanced
Filter string - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- Dynamic
Sort stringSubtable - 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 stringTables - 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. Ondemandsniffer Host> - 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.
- Max
Packet intCount - Maximum number of packets to capture per on-demand packet sniffer.
- Name string
- On-demand packet sniffer name.
- Non
Ip stringPacket - Include non-IP packets. Valid values:
enable
,disable
. - Ports
List<Pulumiverse.
Fortios. Firewall. Inputs. Ondemandsniffer Port> - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - Protocols
List<Pulumiverse.
Fortios. Firewall. Inputs. Ondemandsniffer Protocol> - 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 string - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- Dynamic
Sort stringSubtable - 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 stringTables - 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
[]Ondemandsniffer
Host Args - 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.
- Max
Packet intCount - Maximum number of packets to capture per on-demand packet sniffer.
- Name string
- On-demand packet sniffer name.
- Non
Ip stringPacket - Include non-IP packets. Valid values:
enable
,disable
. - Ports
[]Ondemandsniffer
Port Args - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - Protocols
[]Ondemandsniffer
Protocol Args - 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 String - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- dynamic
Sort StringSubtable - 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 StringTables - 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<Ondemandsniffer
Host> - 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.
- max
Packet IntegerCount - Maximum number of packets to capture per on-demand packet sniffer.
- name String
- On-demand packet sniffer name.
- non
Ip StringPacket - Include non-IP packets. Valid values:
enable
,disable
. - ports
List<Ondemandsniffer
Port> - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - protocols
List<Ondemandsniffer
Protocol> - 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 string - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- dynamic
Sort stringSubtable - 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 stringTables - 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
Ondemandsniffer
Host[] - 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.
- max
Packet numberCount - Maximum number of packets to capture per on-demand packet sniffer.
- name string
- On-demand packet sniffer name.
- non
Ip stringPacket - Include non-IP packets. Valid values:
enable
,disable
. - ports
Ondemandsniffer
Port[] - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - protocols
Ondemandsniffer
Protocol[] - 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_ strsubtable - 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_ strtables - 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[Ondemandsniffer
Host Args] - 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_ intcount - Maximum number of packets to capture per on-demand packet sniffer.
- name str
- On-demand packet sniffer name.
- non_
ip_ strpacket - Include non-IP packets. Valid values:
enable
,disable
. - ports
Sequence[Ondemandsniffer
Port Args] - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - protocols
Sequence[Ondemandsniffer
Protocol Args] - 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.
- advanced
Filter String - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- dynamic
Sort StringSubtable - 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 StringTables - 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.
- max
Packet NumberCount - Maximum number of packets to capture per on-demand packet sniffer.
- name String
- On-demand packet sniffer name.
- non
Ip StringPacket - 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.
- Advanced
Filter string - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- Dynamic
Sort stringSubtable - 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 stringTables - 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. Ondemandsniffer Host> - 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.
- Max
Packet intCount - Maximum number of packets to capture per on-demand packet sniffer.
- Name string
- On-demand packet sniffer name.
- Non
Ip stringPacket - Include non-IP packets. Valid values:
enable
,disable
. - Ports
List<Pulumiverse.
Fortios. Firewall. Inputs. Ondemandsniffer Port> - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - Protocols
List<Pulumiverse.
Fortios. Firewall. Inputs. Ondemandsniffer Protocol> - 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 string - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- Dynamic
Sort stringSubtable - 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 stringTables - 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
[]Ondemandsniffer
Host Args - 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.
- Max
Packet intCount - Maximum number of packets to capture per on-demand packet sniffer.
- Name string
- On-demand packet sniffer name.
- Non
Ip stringPacket - Include non-IP packets. Valid values:
enable
,disable
. - Ports
[]Ondemandsniffer
Port Args - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - Protocols
[]Ondemandsniffer
Protocol Args - 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 String - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- dynamic
Sort StringSubtable - 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 StringTables - 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<Ondemandsniffer
Host> - 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.
- max
Packet IntegerCount - Maximum number of packets to capture per on-demand packet sniffer.
- name String
- On-demand packet sniffer name.
- non
Ip StringPacket - Include non-IP packets. Valid values:
enable
,disable
. - ports
List<Ondemandsniffer
Port> - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - protocols
List<Ondemandsniffer
Protocol> - 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 string - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- dynamic
Sort stringSubtable - 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 stringTables - 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
Ondemandsniffer
Host[] - 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.
- max
Packet numberCount - Maximum number of packets to capture per on-demand packet sniffer.
- name string
- On-demand packet sniffer name.
- non
Ip stringPacket - Include non-IP packets. Valid values:
enable
,disable
. - ports
Ondemandsniffer
Port[] - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - protocols
Ondemandsniffer
Protocol[] - 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_ strsubtable - 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_ strtables - 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[Ondemandsniffer
Host Args] - 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_ intcount - Maximum number of packets to capture per on-demand packet sniffer.
- name str
- On-demand packet sniffer name.
- non_
ip_ strpacket - Include non-IP packets. Valid values:
enable
,disable
. - ports
Sequence[Ondemandsniffer
Port Args] - Ports to filter for in this traffic sniffer. The structure of
ports
block is documented below. - protocols
Sequence[Ondemandsniffer
Protocol Args] - 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.
- advanced
Filter String - Advanced freeform filter that will be used over existing filter settings if set. Can only be used by super admin.
- dynamic
Sort StringSubtable - 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 StringTables - 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.
- max
Packet NumberCount - Maximum number of packets to capture per on-demand packet sniffer.
- name String
- On-demand packet sniffer name.
- non
Ip StringPacket - 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.