CertificateRemote

Configuration endpoint for vpn/certificate_remote.

Python Attribute

fgt.api.cmdb.vpn.certificate_remote

Available Methods

  • get() - GET operation

  • post() - POST operation

Examples

from hfortix_fortios import FortiOS

fgt = FortiOS(host='192.168.1.99', token='your-token')

# List all items
items = fgt.api.cmdb.vpn.certificate_remote.get()

# Get specific item by name
item = fgt.api.cmdb.vpn.certificate_remote.get(name='item-name')

# Create new item
result = fgt.api.cmdb.vpn.certificate_remote.post(
    nkey='value',  # optional
    name='value',  # optional
    remote='value',  # optional
)

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,
    remote=None,
    range=None,
    source=None,
    vdom=None,
    raw_json=False,
    **kwargs
)

Create object(s) in this table.