addFlexConfigObject

The addFlexConfigObject operation handles configuration related to FlexConfigObject model. 

Data Parameters

Parameter Required Type Description
name False string A mandatory unicode alphanumeric string containing a unique name for the object, from 1 to 128 characters without spaces. The string cannot include HTML tags. The check for duplicates is performed with a case insensitive search.
Field level constraints: cannot be null, length must be between 0 and 128 (inclusive), cannot have HTML, must match pattern (^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][ a-zA-Z0-9.+-]*[a-zA-Z0-9.+-]$). (Note: Additional constraints might exist)
description False string An optional unicode alphanumeric string containing a description of the object, up to 200 characters. The string cannot include HTML tags
Field level constraints: length must be between 0 and 200 (inclusive), cannot have HTML. (Note: Additional constraints might exist)
lines False [string] A list of commands that will be deployed. The commands should not configure features that you can configure using Firepower Device Manager.
If you need to use an existing object in a command line, use a FlexVariable object to point to the existing object, then refer to the FlexVariable object in the command.
negateLines False [string] A list of commands that will negate the commands in 'lines' field.
variables False [object] A list of FlexVariable objects, which you can reference in the lines or negateLines attributes
type False string A UTF8 string, all letters lower-case, that represents the class-type. This corresponds to the class name.

Example

- name: Execute 'addFlexConfigObject' operation
  ftd_configuration:
    operation: "addFlexConfigObject"
    data:
        name: "{{ name }}"
        description: "{{ description }}"
        lines: "{{ lines }}"
        negateLines: "{{ negate_lines }}"
        variables: "{{ variables }}"
        type: "{{ type }}"