addDAPXml

The addDAPXml operation handles configuration related to DAPXml model. 

Description

This API call is not allowed on the standby unit in an HA pair.

Creates a new DAPXml configuration. There only be one DAPXml configured at any given time.

Data Parameters

Parameter Required Type Description
name True string The DAP policy name
description False string The description of the DAP policy
Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist)
dapXmlConfig False string A base64 encoded Xml string containing the DAP records
Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist)
authorizationAttributes True [object] The actions to be performed on the DAP records
Field level constraints: cannot be null. (Note: Additional constraints might exist)
hostScanXmlConfig False string A base64 encoded Xml string containing the Hostscan configuration
Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist)
type True string A UTF8 string, all letters lower-case, that represents the class-type. This corresponds to the class name.

Example

- name: Execute 'addDAPXml' operation
  ftd_configuration:
    operation: "addDAPXml"
    data:
        name: "{{ name }}"
        description: "{{ description }}"
        dapXmlConfig: "{{ dap_xml_config }}"
        authorizationAttributes: "{{ authorization_attributes }}"
        hostScanXmlConfig: "{{ host_scan_xml_config }}"
        type: "{{ type }}"