Skip to content

Commit

Permalink
fix sanity errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-121 committed Nov 28, 2024
1 parent a93967c commit 933beff
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions plugins/modules/template_workflow_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
module: template_workflow_manager
short_description: Resource module for Template functions
description:
- Manage operations create, update and delete of the resource Configuration Template.
- API to create a template by project name and template name.
- API to update a template by template name and project name.
- API to delete a template by template name and project name.
- API to export the projects for given projectNames.
- API to export the templates for given templateIds.
- API to manage operation create of the resource Configuration Template Import Project.
- API to manage operation create of the resource Configuration Template Import Template.
- Manage operations create, update and delete of the resource Configuration Template.
- API to create a template by project name and template name.
- API to update a template by template name and project name.
- API to delete a template by template name and project name.
- API to export the projects for given projectNames.
- API to export the templates for given templateIds.
- API to manage operation create of the resource Configuration Template Import Project.
- API to manage operation create of the resource Configuration Template Import Template.
version_added: '6.6.0'
extends_documentation_fragment:
- cisco.dnac.workflow_manager_params
Expand All @@ -34,15 +34,15 @@
config_verify:
description: Set to True to verify the Cisco Catalyst Center after applying the playbook config.
type: bool
default: False
default: false
state:
description: The state of Cisco Catalyst Center after module completion.
type: str
choices: [merged, deleted]
default: merged
config:
description:
- List of details of templates being managed.
- List of details of templates being managed.
type: list
elements: dict
required: true
Expand All @@ -59,9 +59,9 @@
type: bool
containing_templates:
description:
- Refer to a set of templates within the main template to define more complex or modular configurations.
- This is particularly useful in systems that support hierarchical or nested templates.
- Here parent templates may contain child templates to form a complete configuration.
- Refer to a set of templates within the main template to define more complex or modular configurations.
- This is particularly useful in systems that support hierarchical or nested templates.
- Here parent templates may contain child templates to form a complete configuration.
suboptions:
composite:
description: Specifies if the template is composite.
Expand Down Expand Up @@ -252,8 +252,8 @@
type: str
failure_policy:
description:
- Define failure policy if template provisioning fails.
- failure_policy will be enabled only when the composite is set to True.
- Define failure policy if template provisioning fails.
- failure_policy will be enabled only when the composite is set to True.
choices:
- ABORT_TARGET_ON_ERROR
type: str
Expand Down Expand Up @@ -424,21 +424,21 @@
suboptions:
do_version:
description:
- Determines whether to create a new version of the project with the imported contents.
- If set to true and the project already exists, a new version will be created.
- If false, the operation will fail with a 'Project already exists' error if the project already exists.
- Determines whether to create a new version of the project with the imported contents.
- If set to true and the project already exists, a new version will be created.
- If false, the operation will fail with a 'Project already exists' error if the project already exists.
type: bool
project_file:
description:
- Specifies the path to a JSON file that contains the import project configuration.
- If both 'project_file' and 'payload' are provided, the 'project_file' will be given priority.
- Specifies the path to a JSON file that contains the import project configuration.
- If both 'project_file' and 'payload' are provided, the 'project_file' will be given priority.
type: str
version_added: 6.17.0
payload:
description:
- Directly imports configuration data into the system using the provided payload.
- Offers an alternative to 'project_file' for importing configurations without referencing an external file.
- Ignored if 'project_file' is also provided.
- Directly imports configuration data into the system using the provided payload.
- Offers an alternative to 'project_file' for importing configurations without referencing an external file.
- Ignored if 'project_file' is also provided.
type: list
elements: dict
suboptions:
Expand All @@ -457,14 +457,14 @@
type: bool
template_file:
description:
- Specifies the path to a JSON file that contains an import template.
- If both 'template_file' and 'payload' are provided, the 'template_file' will be given priority.
- Specifies the path to a JSON file that contains an import template.
- If both 'template_file' and 'payload' are provided, the 'template_file' will be given priority.
type: str
payload:
description:
- The payload parameter is used to directly import configuration data into the system.
- The payload provides an alternative way to import configurations without the need to reference an external file.
- If both 'template_file' and 'payload' are provided, the 'template_file' will be given priority.
- The payload parameter is used to directly import configuration data into the system.
- The payload provides an alternative way to import configurations without the need to reference an external file.
- If both 'template_file' and 'payload' are provided, the 'template_file' will be given priority.
type: list
elements: dict
suboptions:
Expand All @@ -476,9 +476,9 @@
type: bool
containing_templates:
description:
- Refer to a set of templates within the main template to define more complex or modular configurations.
- This is particularly useful in systems that support hierarchical or nested templates.
- Here parent templates may contain child templates to form a complete configuration.
- Refer to a set of templates within the main template to define more complex or modular configurations.
- This is particularly useful in systems that support hierarchical or nested templates.
- Here parent templates may contain child templates to form a complete configuration.
suboptions:
composite:
description: Specifies if the template is composite.
Expand Down Expand Up @@ -666,8 +666,8 @@
type: str
failure_policy:
description:
- Define failure policy if template provisioning fails.
- failure_policy will be enabled only when the composite is set to True.
- Define failure policy if template provisioning fails.
- failure_policy will be enabled only when the composite is set to True.
choices:
- ABORT_TARGET_ON_ERROR
type: str
Expand Down Expand Up @@ -885,8 +885,8 @@
requirements:
- dnacentersdk >= 2.7.2
- python >= 3.9
- dnacentersdk >= 2.7.2
- python >= 3.9
notes:
- SDK Method used are
configuration_templates.ConfigurationTemplates.create_template,
Expand Down

0 comments on commit 933beff

Please sign in to comment.