cisco / cisco.dnac / 6.13.3 / module / app_policy_intent_create Resource module for App Policy Intent Create | "added in version" 4.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.app_policy_intent_create (6.13.3) — module
Install with ansible-galaxy collection install cisco.dnac:==6.13.3
collections: - name: cisco.dnac version: 6.13.3
Manage operation create of the resource App Policy Intent Create.
Create/Update/Delete application policy.
- name: Create cisco.dnac.app_policy_intent_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}}" createList: - advancedPolicyScope: advancedPolicyScopeElement: - groupId: - string ssid: - string name: string consumer: scalableGroup: - idRef: string contract: idRef: string deletePolicyStatus: string exclusiveContract: clause: - deviceRemovalBehavior: string hostTrackingEnabled: true relevanceLevel: string type: string name: string policyScope: string priority: string producer: scalableGroup: - idRef: string deleteList: - string updateList: - advancedPolicyScope: advancedPolicyScopeElement: - groupId: - string id: string ssid: - string id: string name: string consumer: id: string scalableGroup: - idRef: string contract: idRef: string deletePolicyStatus: string exclusiveContract: clause: - deviceRemovalBehavior: string hostTrackingEnabled: true id: string relevanceLevel: string type: string id: string id: string name: string policyScope: string priority: string producer: id: string scalableGroup: - idRef: string
dnac_host: description: - The Cisco DNA Center hostname. required: true type: str dnac_port: default: 443 description: - The Cisco DNA Center port. type: int createList: description: App Policy Intent Create's createList. elements: dict suboptions: advancedPolicyScope: description: App Policy Intent Create's advancedPolicyScope. suboptions: advancedPolicyScopeElement: description: App Policy Intent Create's advancedPolicyScopeElement. elements: dict suboptions: groupId: description: Group id. elements: str type: list ssid: description: Ssid. elements: str type: list type: list name: description: Policy name. type: str type: dict consumer: description: App Policy Intent Create's consumer. suboptions: scalableGroup: description: App Policy Intent Create's scalableGroup. elements: dict suboptions: idRef: description: Id ref to application Scalable group. type: str type: list type: dict contract: description: App Policy Intent Create's contract. suboptions: idRef: description: Id ref to Queueing profile. type: str type: dict deletePolicyStatus: description: NONE deployed policy to devices, DELETED delete policy from devices, RESTORED restored to original configuration. type: str exclusiveContract: description: App Policy Intent Create's exclusiveContract. suboptions: clause: description: App Policy Intent Create's clause. elements: dict suboptions: deviceRemovalBehavior: description: Device eemoval behavior. type: str hostTrackingEnabled: description: Is host tracking enabled. type: bool relevanceLevel: description: Relevance level. type: str type: description: Type. type: str type: list type: dict name: description: Concatination of <polcy name>_<application-set-name> or <polcy name>_global_policy_configuration or <polcy name>_queuing_customization. type: str policyScope: description: Policy name. type: str priority: description: Set to 4095 while producer refer to application Scalable group otherwise 100. type: str producer: description: App Policy Intent Create's producer. suboptions: scalableGroup: description: App Policy Intent Create's scalableGroup. elements: dict suboptions: idRef: description: Id ref to application-set or application Scalable group. type: str type: list type: dict type: list deleteList: description: Delete list of Group Based Policy ids. elements: str type: list dnac_debug: default: false description: - Flag for Cisco DNA Center SDK to enable debugging. type: bool updateList: description: App Policy Intent Create's updateList. elements: dict suboptions: advancedPolicyScope: description: App Policy Intent Create's advancedPolicyScope. suboptions: advancedPolicyScopeElement: description: App Policy Intent Create's advancedPolicyScopeElement. elements: dict suboptions: groupId: description: Group id. elements: str type: list id: description: Id of Advance policy scope element. type: str ssid: description: Ssid. elements: str type: list type: list id: description: Id of Advance policy scope. type: str name: description: Policy name. type: str type: dict consumer: description: App Policy Intent Create's consumer. suboptions: id: description: Id of Consumer. type: str scalableGroup: description: App Policy Intent Create's scalableGroup. elements: dict suboptions: idRef: description: Id ref to application Scalable group. type: str type: list type: dict contract: description: App Policy Intent Create's contract. suboptions: idRef: description: Id ref to Queueing profile. type: str type: dict deletePolicyStatus: description: NONE deployed policy to devices, DELETED delete policy from devices, RESTORED restored to original configuration. type: str exclusiveContract: description: App Policy Intent Create's exclusiveContract. suboptions: clause: description: App Policy Intent Create's clause. elements: dict suboptions: deviceRemovalBehavior: description: Device removal behavior. type: str hostTrackingEnabled: description: Host tracking enabled. type: bool id: description: Id of Business relevance or Application policy knobs clause. type: str relevanceLevel: description: Relevance level. type: str type: description: Type. type: str type: list id: description: Id of Exclusive contract. type: str type: dict id: description: Id of Group based policy. type: str name: description: Concatination of <polcy name>_<application-set-name> or <polcy name>_global_policy_configuration or <polcy name>_queuing_customization. type: str policyScope: description: Policy name. type: str priority: description: Set to 4095 while producer refer to application Scalable group otherwise 100. type: str producer: description: App Policy Intent Create's producer. suboptions: id: description: Id of Producer. type: str scalableGroup: description: App Policy Intent Create's scalableGroup. elements: dict suboptions: idRef: description: Id ref to application-set or application Scalable group. type: str type: list type: dict type: list dnac_verify: default: true description: - Flag to enable or disable SSL certificate verification. type: bool dnac_version: default: 2.3.5.3 description: - Informs the SDK which version of Cisco DNA Center to use. type: str dnac_password: description: - The Cisco DNA Center password to authenticate. type: str dnac_username: aliases: - user default: admin description: - The Cisco DNA Center username to authenticate. type: str validate_response_schema: default: true description: - Flag for Cisco DNA Center SDK to enable the validation of request bodies against a JSON schema. type: bool
dnac_response: description: A dictionary or list with the response returned by the Cisco DNAC Python SDK returned: always sample: "{\n \"response\": {\n \"taskId\": \"string\",\n \"url\": \"string\"\ \n },\n \"version\": \"string\"\n}\n" type: dict