cisco.dnac.application_set – Manage ApplicationSet objects of ApplicationPolicy¶
Note
This plugin is part of the cisco.dnac collection (version 2.0.7).
To install it use: ansible-galaxy collection install cisco.dnac
.
To use it in a playbook, specify: cisco.dnac.application_set
.
New in version 1.0.0: of cisco.dnac
Synopsis¶
Delete existing application-set by it’s id.
Get appllication-sets by offset/limit or by name.
Create new custom application-set/s.
Get the number of existing application-sets.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.dnac.plugins.module_utils.definitions.application_set
The official documentation on the cisco.dnac.plugins.module_utils.definitions.application_set module.
- ApplicationSet reference
Complete reference of the ApplicationSet object model.
- ApplicationSet reference
SDK reference.
Examples¶
- name: delete_application_set
cisco.dnac.application_set:
state: delete # required
id: SomeValue # string, required
- name: get_application_sets
cisco.dnac.application_set:
state: query # required
limit: 1 # number
name: SomeValue # string
offset: 1 # number
register: nm_get_application_sets
- name: create_application_set
cisco.dnac.application_set:
state: create # required
payload: # required
- name: SomeValue # string
- name: get_application_sets_count
cisco.dnac.application_set:
state: query # required
count: True # boolean, required
register: nm_get_application_sets_count
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rafael Campos (@racampos)