fortios_firewall_internet_service_definition
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_firewall_internet_service_definition
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| firewall_internet_service_definition | dict | |||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_internet_service_definition:
access_token: '{{ fortios_access_token }}'
firewall_internet_service_definition:
entry:
- category_id: "0"
name: default_name_5
port_range:
- end_port: "65535"
id: "8"
start_port: "1"
protocol: "0"
seq_num: 1
id: "12"
state: present
vdom: root
name: Configure Internet Service definition.