cisco.dnac.configuration_template_create – Resource module for Configuration Template Create

Note

This plugin is part of the cisco.dnac collection (version 3.0.0).

To install it use: ansible-galaxy collection install cisco.dnac.

To use it in a playbook, specify: cisco.dnac.configuration_template_create.

New in version 1.0.0: of cisco.dnac

Synopsis

  • Manage operation create of the resource Configuration Template Create.

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • dnacentersdk

Parameters

Parameter Choices/Defaults Comments
author
string
Configuration Template Create's author.
composite
boolean
    Choices:
  • no
  • yes
Composite flag.
containingTemplates
list / elements=string
Configuration Template Create's containingTemplates.
composite
boolean
    Choices:
  • no
  • yes
Composite flag.
id
string
Configuration Template Create's id.
name
string
Configuration Template Create's name.
version
string
Configuration Template Create's version.
createTime
integer
Configuration Template Create's createTime.
description
string
Configuration Template Create's description.
deviceTypes
list / elements=string
Configuration Template Create's deviceTypes.
productFamily
string
Configuration Template Create's productFamily.
productSeries
string
Configuration Template Create's productSeries.
productType
string
Configuration Template Create's productType.
failurePolicy
string
Configuration Template Create's failurePolicy.
id
string
Configuration Template Create's id.
lastUpdateTime
integer
Configuration Template Create's lastUpdateTime.
name
string
Configuration Template Create's name.
parentTemplateId
string
Configuration Template Create's parentTemplateId.
projectId
string
Configuration Template Create's projectId.
projectName
string
Configuration Template Create's projectName.
rollbackTemplateContent
string
Configuration Template Create's rollbackTemplateContent.
rollbackTemplateParams
list / elements=string
Configuration Template Create's rollbackTemplateParams.
binding
string
Configuration Template Create's binding.
dataType
string
Configuration Template Create's dataType.
defaultValue
string
Configuration Template Create's defaultValue.
description
string
Configuration Template Create's description.
displayName
string
Configuration Template Create's displayName.
group
string
Configuration Template Create's group.
id
string
Configuration Template Create's id.
instructionText
string
Configuration Template Create's instructionText.
key
string
Configuration Template Create's key.
notParam
boolean
    Choices:
  • no
  • yes
NotParam flag.
order
integer
Configuration Template Create's order.
paramArray
boolean
    Choices:
  • no
  • yes
ParamArray flag.
parameterName
string
Configuration Template Create's parameterName.
provider
string
Configuration Template Create's provider.
range
list / elements=string
Configuration Template Create's range.
id
string
Configuration Template Create's id.
maxValue
integer
Configuration Template Create's maxValue.
minValue
integer
Configuration Template Create's minValue.
required
boolean
    Choices:
  • no
  • yes
Required flag.
selection
dictionary
Configuration Template Create's selection.
id
string
Configuration Template Create's id.
selectionType
string
Configuration Template Create's selectionType.
selectionValues
dictionary
Configuration Template Create's selectionValues.
softwareType
string
Configuration Template Create's softwareType.
softwareVariant
string
Configuration Template Create's softwareVariant.
softwareVersion
string
Configuration Template Create's softwareVersion.
tags
list / elements=string
Configuration Template Create's tags.
templateContent
string
Configuration Template Create's templateContent.
templateParams
list / elements=string
Configuration Template Create's templateParams.
binding
string
Configuration Template Create's binding.
dataType
string
Configuration Template Create's dataType.
defaultValue
string
Configuration Template Create's defaultValue.
description
string
Configuration Template Create's description.
displayName
string
Configuration Template Create's displayName.
group
string
Configuration Template Create's group.
id
string
Configuration Template Create's id.
instructionText
string
Configuration Template Create's instructionText.
key
string
Configuration Template Create's key.
notParam
boolean
    Choices:
  • no
  • yes
NotParam flag.
order
integer
Configuration Template Create's order.
paramArray
boolean
    Choices:
  • no
  • yes
ParamArray flag.
parameterName
string
Configuration Template Create's parameterName.
provider
string
Configuration Template Create's provider.
range
list / elements=string
Configuration Template Create's range.
id
string
Configuration Template Create's id.
maxValue
integer
Configuration Template Create's maxValue.
minValue
integer
Configuration Template Create's minValue.
required
boolean
    Choices:
  • no
  • yes
Required flag.
selection
dictionary
Configuration Template Create's selection.
id
string
Configuration Template Create's id.
selectionType
string
Configuration Template Create's selectionType.
selectionValues
dictionary
Configuration Template Create's selectionValues.
version
string
Configuration Template Create's version.

See Also

See also

Configuration Template Create reference

Complete reference of the Configuration Template Create object model.

Examples

- name: Create
  cisco.dnac.configuration_template_create:
    dnac_host: "{{dnac_host}}"
    dnac_username: "{{dnac_username}}"
    dnac_password: "{{dnac_password}}"
    dnac_verify: "{{dnac_verify}}"
    dnac_port: "{{dnac_port}}"
    dnac_version: "{{dnac_version}}"
    dnac_debug: "{{dnac_debug}}"
    author: string
    composite: true
    containingTemplates:
    - composite: true
      id: string
      name: string
      version: string
    createTime: 0
    description: string
    deviceTypes:
    - productFamily: string
      productSeries: string
      productType: string
    failurePolicy: string
    id: string
    lastUpdateTime: 0
    name: string
    parentTemplateId: string
    projectId: string
    projectName: string
    rollbackTemplateContent: string
    rollbackTemplateParams:
    - binding: string
      dataType: string
      defaultValue: string
      description: string
      displayName: string
      group: string
      id: string
      instructionText: string
      key: string
      notParam: true
      order: 0
      paramArray: true
      parameterName: string
      provider: string
      range:
      - id: string
        maxValue: 0
        minValue: 0
      required: true
      selection:
        id: string
        selectionType: string
        selectionValues: {}
    softwareType: string
    softwareVariant: string
    softwareVersion: string
    tags:
    - string
    templateContent: string
    templateParams:
    - binding: string
      dataType: string
      defaultValue: string
      description: string
      displayName: string
      group: string
      id: string
      instructionText: string
      key: string
      notParam: true
      order: 0
      paramArray: true
      parameterName: string
      provider: string
      range:
      - id: string
        maxValue: 0
        minValue: 0
      required: true
      selection:
        id: string
        selectionType: string
        selectionValues: {}
    version: string

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
dnac_response
dictionary
always
A dictionary or list with the response returned by the Cisco DNAC Python SDK

Sample:
{ "response": { "taskId": {}, "url": "string" }, "version": "string" }


Authors

  • Rafael Campos (@racampos)