ProfileProtocolOptions#
Configuration endpoint for firewall/profile_protocol_options.
Python Attribute#
fgt.api.cmdb.firewall.profile_protocol_options
Available Methods#
get()- GET operationpost()- POST operationput()- PUT operationdelete()- DELETE operation
Examples#
from hfortix_fortios import FortiOS
fgt = FortiOS(host='192.168.1.99', token='your-token')
# List all items
items = fgt.api.cmdb.firewall.profile_protocol_options.get()
# Get specific item by name
item = fgt.api.cmdb.firewall.profile_protocol_options.get(name='item-name')
# Create new item
result = fgt.api.cmdb.firewall.profile_protocol_options.post(
nkey='value', # optional
name='value', # optional
comment='value', # optional
)
# Update existing item
result = fgt.api.cmdb.firewall.profile_protocol_options.put(
name='updated-value',
comment='updated-value',
replacemsg_group='updated-value',
oversize_log='updated-value',
)
# Delete item
result = fgt.api.cmdb.firewall.profile_protocol_options.delete(name='item-name')
Method Reference#
get()#
get(
name=None,
payload_dict=None,
attr=None,
skip_to_datasource=None,
acs=None,
search=None,
vdom=None,
raw_json=False,
**kwargs
)
Select a specific entry from a CLI table.
post()#
post(
payload_dict=None,
nkey=None,
name=None,
comment=None,
replacemsg_group=None,
oversize_log=None,
switching_protocols_log=None,
http=None,
ftp=None,
imap=None,
mapi=None,
pop3=None,
smtp=None,
nntp=None,
ssh=None,
# ... more parameters
)
Create object(s) in this table.
put()#
put(
name=None,
payload_dict=None,
before=None,
after=None,
comment=None,
replacemsg_group=None,
oversize_log=None,
switching_protocols_log=None,
http=None,
ftp=None,
imap=None,
mapi=None,
pop3=None,
smtp=None,
nntp=None,
# ... more parameters
)
Update this specific resource.
delete()#
delete(
name=None,
payload_dict=None,
vdom=None,
raw_json=False,
**kwargs
)
Delete this specific resource.