get_device_ipsec_phase1_interface
Retrieve one IPsec phase1-interface (remote gateway) from a device database by device and name, optionally in a VDOM; credential fields are stripped.
Instructions
Get one IPsec phase1-interface (remote gateway) from a device's device DB.
Args: device: Managed device name name: Phase1-interface (remote gateway) name vdom: VDOM it lives in (default "root")
Returns: dict with device, vdom and the stored object (credential fields stripped -- see _PHASE1_SECRET_FIELDS), or a not_found error
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| vdom | No | root | |
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||