From 2ed7529f6e5859739b86421e3b1026c1350ae671 Mon Sep 17 00:00:00 2001 From: Szymon Basan <116343782+sbasan@users.noreply.github.com> Date: Thu, 7 Nov 2024 19:34:31 +0100 Subject: [PATCH] AAR policy, include serviceArea and trafficCategory entry (#851) --- ENDPOINTS.md | 234 +++++++++--------- catalystwan/models/common.py | 37 ++- .../application_priority/traffic_policy.py | 15 +- .../models/policy/definition/app_route.py | 20 +- .../models/policy/policy_definition.py | 14 ++ pyproject.toml | 2 +- 6 files changed, 185 insertions(+), 137 deletions(-) diff --git a/ENDPOINTS.md b/ENDPOINTS.md index ad1012cb..ecaa5843 100644 --- a/ENDPOINTS.md +++ b/ENDPOINTS.md @@ -1,6 +1,6 @@ **THIS FILE WAS AUTO-GENERATED DO NOT EDIT** -Generated for: catalystwan-0.36.0.dev0 +Generated for: catalystwan-0.36.0.dev2 All URIs are relative to */dataservice* HTTP request | Supported Versions | Method | Payload Type | Return Type | Tenancy Mode @@ -162,167 +162,167 @@ GET /v1/network-hierarchy|>=20.10|[**NetworkHierarchy.list_nodes**](https://gith POST /v1/network-hierarchy/{node_id}/network-settings/cflowd|>20.12|[**NetworkHierarchy.create_cflowd**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/network_hierarchy.py#L19)|[**CflowdParcel**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/configuration/network_hierarchy/cflowd.py#L43)|[**ParcelCreationResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/configuration/feature_profile/parcel.py#L199)| GET /v1/network-hierarchy/{node_id}/network-settings/cflowd|>20.12|[**NetworkHierarchy.get_cflowd**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/network_hierarchy.py#L24)||DataSequence[[**Parcel**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/configuration/feature_profile/parcel.py#L152)]| DELETE /v1/network-hierarchy/{node_id}/network-settings/cflowd/{parcel_id}|>20.12|[**NetworkHierarchy.delete_cflowd**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/network_hierarchy.py#L29)||None| -POST /template/policy/definition/acl||[**ConfigurationPolicyAclDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L23)|[**AclPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list.py#L157)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/acl||[**ConfigurationPolicyAclDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L23)|[**AclPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list.py#L157)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/acl/{id}||[**ConfigurationPolicyAclDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L27)||None| -PUT /template/policy/definition/acl/{id}||[**ConfigurationPolicyAclDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L35)|[**AclPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list.py#L182)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/acl||[**ConfigurationPolicyAclDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/acl/{id}||[**ConfigurationPolicyAclDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L35)|[**AclPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list.py#L182)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/acl||[**ConfigurationPolicyAclDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/acl/{id}||[**ConfigurationPolicyAclDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L43)||[**AclPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list.py#L186)| -POST /template/policy/definition/acl/preview||[**ConfigurationPolicyAclDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L47)|[**AclPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list.py#L157)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/acl/preview/{id}||[**ConfigurationPolicyAclDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/aclv6||[**ConfigurationPolicyAclIPv6Definition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L23)|[**AclIPv6Policy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list_ipv6.py#L157)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/acl/preview||[**ConfigurationPolicyAclDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L47)|[**AclPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list.py#L157)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/acl/preview/{id}||[**ConfigurationPolicyAclDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/aclv6||[**ConfigurationPolicyAclIPv6Definition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L23)|[**AclIPv6Policy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list_ipv6.py#L157)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/aclv6/{id}||[**ConfigurationPolicyAclIPv6Definition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L27)||None| -PUT /template/policy/definition/aclv6/{id}||[**ConfigurationPolicyAclIPv6Definition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L35)|[**AclIPv6PolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list_ipv6.py#L182)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/aclv6||[**ConfigurationPolicyAclIPv6Definition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/aclv6/{id}||[**ConfigurationPolicyAclIPv6Definition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L35)|[**AclIPv6PolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list_ipv6.py#L182)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/aclv6||[**ConfigurationPolicyAclIPv6Definition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/aclv6/{id}||[**ConfigurationPolicyAclIPv6Definition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L43)||[**AclIPv6PolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list_ipv6.py#L186)| -POST /template/policy/definition/aclv6/preview||[**ConfigurationPolicyAclIPv6Definition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L47)|[**AclIPv6Policy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list_ipv6.py#L157)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/aclv6/preview/{id}||[**ConfigurationPolicyAclIPv6Definition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/advancedinspectionprofile||[**ConfigurationPolicyAIPDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L24)|[**AdvancedInspectionProfilePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/aip.py#L49)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/aclv6/preview||[**ConfigurationPolicyAclIPv6Definition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L47)|[**AclIPv6Policy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/access_control_list_ipv6.py#L157)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/aclv6/preview/{id}||[**ConfigurationPolicyAclIPv6Definition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/advancedinspectionprofile||[**ConfigurationPolicyAIPDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L24)|[**AdvancedInspectionProfilePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/aip.py#L49)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/advancedinspectionprofile/{id}||[**ConfigurationPolicyAIPDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L28)||None| -PUT /template/policy/definition/advancedinspectionprofile/{id}||[**ConfigurationPolicyAIPDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L32)|[**AdvancedInspectionProfilePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/aip.py#L55)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/advancedinspectionprofile||[**ConfigurationPolicyAIPDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L38)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/advancedinspectionprofile/{id}||[**ConfigurationPolicyAIPDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L32)|[**AdvancedInspectionProfilePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/aip.py#L55)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/advancedinspectionprofile||[**ConfigurationPolicyAIPDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L38)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/advancedinspectionprofile/{id}||[**ConfigurationPolicyAIPDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L42)||[**AdvancedInspectionProfilePolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/aip.py#L59)| -POST /template/policy/definition/advancedinspectionprofile/preview||[**ConfigurationPolicyAIPDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L46)|[**AdvancedInspectionProfilePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/aip.py#L49)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/advancedinspectionprofile/preview/{id}||[**ConfigurationPolicyAIPDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L50)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/advancedMalwareProtection||[**ConfigurationPolicyAMPDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L24)|[**AdvancedMalwareProtectionPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/amp.py#L51)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/advancedinspectionprofile/preview||[**ConfigurationPolicyAIPDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L46)|[**AdvancedInspectionProfilePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/aip.py#L49)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/advancedinspectionprofile/preview/{id}||[**ConfigurationPolicyAIPDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/aip.py#L50)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/advancedMalwareProtection||[**ConfigurationPolicyAMPDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L24)|[**AdvancedMalwareProtectionPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/amp.py#L51)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/advancedMalwareProtection/{id}||[**ConfigurationPolicyAMPDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L28)||None| -PUT /template/policy/definition/advancedMalwareProtection/{id}||[**ConfigurationPolicyAMPDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L32)|[**AdvancedMalwareProtectionPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/amp.py#L57)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/advancedMalwareProtection||[**ConfigurationPolicyAMPDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L38)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/advancedMalwareProtection/{id}||[**ConfigurationPolicyAMPDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L32)|[**AdvancedMalwareProtectionPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/amp.py#L57)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/advancedMalwareProtection||[**ConfigurationPolicyAMPDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L38)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/advancedMalwareProtection/{id}||[**ConfigurationPolicyAMPDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L42)||[**AdvancedMalwareProtectionPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/amp.py#L61)| -POST /template/policy/definition/advancedMalwareProtection/preview||[**ConfigurationPolicyAMPDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L46)|[**AdvancedMalwareProtectionPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/amp.py#L51)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/advancedMalwareProtection/preview/{id}||[**ConfigurationPolicyAMPDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L50)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/approute/||[**ConfigurationPolicyAppRouteDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L24)|[**AppRoutePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/app_route.py#L199)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/advancedMalwareProtection/preview||[**ConfigurationPolicyAMPDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L46)|[**AdvancedMalwareProtectionPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/amp.py#L51)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/advancedMalwareProtection/preview/{id}||[**ConfigurationPolicyAMPDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/amp.py#L50)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/approute/||[**ConfigurationPolicyAppRouteDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L24)|[**AppRoutePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/app_route.py#L217)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/approute/{id}||[**ConfigurationPolicyAppRouteDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L28)||None| -PUT /template/policy/definition/approute/{id}||[**ConfigurationPolicyAppRouteDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L32)|[**AppRoutePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/app_route.py#L222)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/approute||[**ConfigurationPolicyAppRouteDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L36)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| -GET /template/policy/definition/approute/{id}||[**ConfigurationPolicyAppRouteDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L40)||[**AppRoutePolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/app_route.py#L226)| -POST /template/policy/definition/approute/preview||[**ConfigurationPolicyAppRouteDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L44)|[**AppRoutePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/app_route.py#L199)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/approute/preview/{id}||[**ConfigurationPolicyAppRouteDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L48)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/control||[**ConfigurationPolicyControlDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L23)|[**ControlPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/control.py#L323)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +PUT /template/policy/definition/approute/{id}||[**ConfigurationPolicyAppRouteDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L32)|[**AppRoutePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/app_route.py#L240)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/approute||[**ConfigurationPolicyAppRouteDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L36)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| +GET /template/policy/definition/approute/{id}||[**ConfigurationPolicyAppRouteDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L40)||[**AppRoutePolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/app_route.py#L244)| +POST /template/policy/definition/approute/preview||[**ConfigurationPolicyAppRouteDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L44)|[**AppRoutePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/app_route.py#L217)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/approute/preview/{id}||[**ConfigurationPolicyAppRouteDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/app_route.py#L48)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/control||[**ConfigurationPolicyControlDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L23)|[**ControlPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/control.py#L323)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/control/{id}||[**ConfigurationPolicyControlDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L27)||None| -PUT /template/policy/definition/control/{id}||[**ConfigurationPolicyControlDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L35)|[**ControlPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/control.py#L356)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/control||[**ConfigurationPolicyControlDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/control/{id}||[**ConfigurationPolicyControlDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L35)|[**ControlPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/control.py#L356)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/control||[**ConfigurationPolicyControlDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/control/{id}||[**ConfigurationPolicyControlDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L43)||[**ControlPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/control.py#L360)| -POST /template/policy/definition/control/preview||[**ConfigurationPolicyControlDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L47)|[**ControlPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/control.py#L323)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/control/preview/{id}||[**ConfigurationPolicyControlDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/deviceaccesspolicy||[**ConfigurationPolicyDeviceAccessDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L23)|[**DeviceAccessPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access.py#L84)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/control/preview||[**ConfigurationPolicyControlDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L47)|[**ControlPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/control.py#L323)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/control/preview/{id}||[**ConfigurationPolicyControlDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/control.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/deviceaccesspolicy||[**ConfigurationPolicyDeviceAccessDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L23)|[**DeviceAccessPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access.py#L84)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/deviceaccesspolicy/{id}||[**ConfigurationPolicyDeviceAccessDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L27)||None| -PUT /template/policy/definition/deviceaccesspolicy/{id}||[**ConfigurationPolicyDeviceAccessDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L35)|[**DeviceAccessPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access.py#L110)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/deviceaccesspolicy||[**ConfigurationPolicyDeviceAccessDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/deviceaccesspolicy/{id}||[**ConfigurationPolicyDeviceAccessDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L35)|[**DeviceAccessPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access.py#L110)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/deviceaccesspolicy||[**ConfigurationPolicyDeviceAccessDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/deviceaccesspolicy/{id}||[**ConfigurationPolicyDeviceAccessDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L43)||[**DeviceAccessPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access.py#L114)| -POST /template/policy/definition/deviceaccesspolicy/preview||[**ConfigurationPolicyDeviceAccessDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L47)|[**DeviceAccessPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access.py#L84)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/deviceaccesspolicy/preview/{id}||[**ConfigurationPolicyDeviceAccessDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/deviceaccesspolicyv6||[**ConfigurationPolicyDeviceAccessIPv6Definition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L23)|[**DeviceAccessIPv6Policy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access_ipv6.py#L84)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/deviceaccesspolicy/preview||[**ConfigurationPolicyDeviceAccessDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L47)|[**DeviceAccessPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access.py#L84)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/deviceaccesspolicy/preview/{id}||[**ConfigurationPolicyDeviceAccessDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/deviceaccesspolicyv6||[**ConfigurationPolicyDeviceAccessIPv6Definition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L23)|[**DeviceAccessIPv6Policy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access_ipv6.py#L84)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/deviceaccesspolicyv6/{id}||[**ConfigurationPolicyDeviceAccessIPv6Definition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L27)||None| -PUT /template/policy/definition/deviceaccesspolicyv6/{id}||[**ConfigurationPolicyDeviceAccessIPv6Definition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L35)|[**DeviceAccessIPv6PolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access_ipv6.py#L110)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/deviceaccesspolicyv6||[**ConfigurationPolicyDeviceAccessIPv6Definition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L41)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/deviceaccesspolicyv6/{id}||[**ConfigurationPolicyDeviceAccessIPv6Definition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L35)|[**DeviceAccessIPv6PolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access_ipv6.py#L110)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/deviceaccesspolicyv6||[**ConfigurationPolicyDeviceAccessIPv6Definition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L41)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/deviceaccesspolicyv6/{id}||[**ConfigurationPolicyDeviceAccessIPv6Definition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L45)||[**DeviceAccessIPv6PolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access_ipv6.py#L114)| -POST /template/policy/definition/deviceaccesspolicyv6/preview||[**ConfigurationPolicyDeviceAccessIPv6Definition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L49)|[**DeviceAccessIPv6Policy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access_ipv6.py#L84)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/deviceaccesspolicyv6/preview/{id}||[**ConfigurationPolicyDeviceAccessIPv6Definition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L53)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/dialpeer||[**ConfigurationPolicyDialPeerDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L23)|[**DialPeerPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/dial_peer.py#L46)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/deviceaccesspolicyv6/preview||[**ConfigurationPolicyDeviceAccessIPv6Definition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L49)|[**DeviceAccessIPv6Policy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/device_access_ipv6.py#L84)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/deviceaccesspolicyv6/preview/{id}||[**ConfigurationPolicyDeviceAccessIPv6Definition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py#L53)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/dialpeer||[**ConfigurationPolicyDialPeerDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L23)|[**DialPeerPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/dial_peer.py#L46)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/dialpeer/{id}||[**ConfigurationPolicyDialPeerDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L27)||None| -PUT /template/policy/definition/dialpeer/{id}||[**ConfigurationPolicyDialPeerDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L35)|[**DialPeerPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/dial_peer.py#L55)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/dialpeer||[**ConfigurationPolicyDialPeerDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/dialpeer/{id}||[**ConfigurationPolicyDialPeerDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L35)|[**DialPeerPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/dial_peer.py#L55)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/dialpeer||[**ConfigurationPolicyDialPeerDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/dialpeer/{id}||[**ConfigurationPolicyDialPeerDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L43)||[**DialPeerPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/dial_peer.py#L59)| -POST /template/policy/definition/dialpeer/preview||[**ConfigurationPolicyDialPeerDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L47)|[**DialPeerPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/dial_peer.py#L46)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/dialpeer/preview/{id}||[**ConfigurationPolicyDialPeerDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/fxoport||[**ConfigurationPolicyFxoPortDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L23)|[**FxoPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxo_port.py#L49)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/dialpeer/preview||[**ConfigurationPolicyDialPeerDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L47)|[**DialPeerPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/dial_peer.py#L46)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/dialpeer/preview/{id}||[**ConfigurationPolicyDialPeerDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/dial_peer.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/fxoport||[**ConfigurationPolicyFxoPortDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L23)|[**FxoPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxo_port.py#L49)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/fxoport/{id}||[**ConfigurationPolicyFxoPortDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L27)||None| -PUT /template/policy/definition/fxoport/{id}||[**ConfigurationPolicyFxoPortDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L35)|[**FxoPortPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxo_port.py#L58)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/fxoport||[**ConfigurationPolicyFxoPortDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/fxoport/{id}||[**ConfigurationPolicyFxoPortDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L35)|[**FxoPortPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxo_port.py#L58)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/fxoport||[**ConfigurationPolicyFxoPortDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/fxoport/{id}||[**ConfigurationPolicyFxoPortDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L43)||[**FxoPortPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxo_port.py#L62)| -POST /template/policy/definition/fxoport/preview||[**ConfigurationPolicyFxoPortDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L47)|[**FxoPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxo_port.py#L49)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/fxoport/preview/{id}||[**ConfigurationPolicyFxoPortDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/fxsdidport||[**ConfigurationPolicyFxsDidPortDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L23)|[**FxsDidPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_did_port.py#L44)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/fxoport/preview||[**ConfigurationPolicyFxoPortDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L47)|[**FxoPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxo_port.py#L49)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/fxoport/preview/{id}||[**ConfigurationPolicyFxoPortDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxo_port.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/fxsdidport||[**ConfigurationPolicyFxsDidPortDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L23)|[**FxsDidPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_did_port.py#L44)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/fxsdidport/{id}||[**ConfigurationPolicyFxsDidPortDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L27)||None| -PUT /template/policy/definition/fxsdidport/{id}||[**ConfigurationPolicyFxsDidPortDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L35)|[**FxsDidPortPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_did_port.py#L53)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/fxsdidport||[**ConfigurationPolicyFxsDidPortDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/fxsdidport/{id}||[**ConfigurationPolicyFxsDidPortDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L35)|[**FxsDidPortPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_did_port.py#L53)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/fxsdidport||[**ConfigurationPolicyFxsDidPortDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/fxsdidport/{id}||[**ConfigurationPolicyFxsDidPortDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L43)||[**FxsDidPortPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_did_port.py#L57)| -POST /template/policy/definition/fxsdidport/preview||[**ConfigurationPolicyFxsDidPortDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L47)|[**FxsDidPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_did_port.py#L44)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/fxsdidport/preview/{id}||[**ConfigurationPolicyFxsDidPortDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/fxsport||[**ConfigurationPolicyFxsPortDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L23)|[**FxsPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_port.py#L42)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/fxsdidport/preview||[**ConfigurationPolicyFxsDidPortDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L47)|[**FxsDidPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_did_port.py#L44)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/fxsdidport/preview/{id}||[**ConfigurationPolicyFxsDidPortDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/fxsport||[**ConfigurationPolicyFxsPortDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L23)|[**FxsPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_port.py#L42)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/fxsport/{id}||[**ConfigurationPolicyFxsPortDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L27)||None| -PUT /template/policy/definition/fxsport/{id}||[**ConfigurationPolicyFxsPortDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L35)|[**FxsPortPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_port.py#L51)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/fxsport||[**ConfigurationPolicyFxsPortDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/fxsport/{id}||[**ConfigurationPolicyFxsPortDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L35)|[**FxsPortPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_port.py#L51)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/fxsport||[**ConfigurationPolicyFxsPortDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/fxsport/{id}||[**ConfigurationPolicyFxsPortDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L43)||[**FxsPortPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_port.py#L55)| -POST /template/policy/definition/fxsport/preview||[**ConfigurationPolicyFxsPortDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L47)|[**FxsPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_port.py#L42)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/fxsport/preview/{id}||[**ConfigurationPolicyFxsPortDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/hubandspoke||[**ConfigurationPolicyHubAndSpokeDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L23)|[**HubAndSpokePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/hub_and_spoke.py#L52)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/fxsport/preview||[**ConfigurationPolicyFxsPortDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L47)|[**FxsPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/fxs_port.py#L42)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/fxsport/preview/{id}||[**ConfigurationPolicyFxsPortDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/fxs_port.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/hubandspoke||[**ConfigurationPolicyHubAndSpokeDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L23)|[**HubAndSpokePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/hub_and_spoke.py#L52)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/hubandspoke/{id}||[**ConfigurationPolicyHubAndSpokeDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L27)||None| -PUT /template/policy/definition/hubandspoke/{id}||[**ConfigurationPolicyHubAndSpokeDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L35)|[**HubAndSpokePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/hub_and_spoke.py#L82)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/hubandspoke||[**ConfigurationPolicyHubAndSpokeDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/hubandspoke/{id}||[**ConfigurationPolicyHubAndSpokeDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L35)|[**HubAndSpokePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/hub_and_spoke.py#L82)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/hubandspoke||[**ConfigurationPolicyHubAndSpokeDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/hubandspoke/{id}||[**ConfigurationPolicyHubAndSpokeDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L43)||[**HubAndSpokePolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/hub_and_spoke.py#L86)| -POST /template/policy/definition/hubandspoke/preview||[**ConfigurationPolicyHubAndSpokeDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L47)|[**HubAndSpokePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/hub_and_spoke.py#L52)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/hubandspoke/preview/{id}||[**ConfigurationPolicyHubAndSpokeDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/mesh||[**ConfigurationPolicyMeshDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L19)|[**MeshPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/mesh.py#L27)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/hubandspoke/preview||[**ConfigurationPolicyHubAndSpokeDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L47)|[**HubAndSpokePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/hub_and_spoke.py#L52)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/hubandspoke/preview/{id}||[**ConfigurationPolicyHubAndSpokeDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/mesh||[**ConfigurationPolicyMeshDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L19)|[**MeshPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/mesh.py#L27)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/mesh/{id}||[**ConfigurationPolicyMeshDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L23)||None| -PUT /template/policy/definition/mesh/{id}||[**ConfigurationPolicyMeshDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L31)|[**MeshPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/mesh.py#L42)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/mesh||[**ConfigurationPolicyMeshDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L35)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/mesh/{id}||[**ConfigurationPolicyMeshDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L31)|[**MeshPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/mesh.py#L42)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/mesh||[**ConfigurationPolicyMeshDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L35)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/mesh/{id}||[**ConfigurationPolicyMeshDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L39)||[**MeshPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/mesh.py#L46)| -POST /template/policy/definition/mesh/preview||[**ConfigurationPolicyMeshDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L43)|[**MeshPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/mesh.py#L27)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/mesh/preview/{id}||[**ConfigurationPolicyMeshDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L47)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/priisdnport||[**ConfigurationPolicyPriIsdnPortDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L23)|[**PriIsdnPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/pri_isdn_port.py#L34)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/mesh/preview||[**ConfigurationPolicyMeshDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L43)|[**MeshPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/mesh.py#L27)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/mesh/preview/{id}||[**ConfigurationPolicyMeshDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/mesh.py#L47)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/priisdnport||[**ConfigurationPolicyPriIsdnPortDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L23)|[**PriIsdnPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/pri_isdn_port.py#L34)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/priisdnport/{id}||[**ConfigurationPolicyPriIsdnPortDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L27)||None| -PUT /template/policy/definition/priisdnport/{id}||[**ConfigurationPolicyPriIsdnPortDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L35)|[**PriIsdnPortPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/pri_isdn_port.py#L43)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/priisdnport||[**ConfigurationPolicyPriIsdnPortDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/priisdnport/{id}||[**ConfigurationPolicyPriIsdnPortDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L35)|[**PriIsdnPortPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/pri_isdn_port.py#L43)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/priisdnport||[**ConfigurationPolicyPriIsdnPortDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/priisdnport/{id}||[**ConfigurationPolicyPriIsdnPortDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L43)||[**PriIsdnPortPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/pri_isdn_port.py#L47)| -POST /template/policy/definition/priisdnport/preview||[**ConfigurationPolicyPriIsdnPortDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L47)|[**PriIsdnPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/pri_isdn_port.py#L34)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/priisdnport/preview/{id}||[**ConfigurationPolicyPriIsdnPortDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/qosmap||[**ConfigurationPolicyQoSMapDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L19)|[**QoSMapPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/qos_map.py#L71)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/priisdnport/preview||[**ConfigurationPolicyPriIsdnPortDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L47)|[**PriIsdnPortPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/pri_isdn_port.py#L34)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/priisdnport/preview/{id}||[**ConfigurationPolicyPriIsdnPortDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/qosmap||[**ConfigurationPolicyQoSMapDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L19)|[**QoSMapPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/qos_map.py#L71)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/qosmap/{id}||[**ConfigurationPolicyQoSMapDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L23)||None| -PUT /template/policy/definition/qosmap/{id}||[**ConfigurationPolicyQoSMapDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L31)|[**QoSMapPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/qos_map.py#L106)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/qosmap||[**ConfigurationPolicyQoSMapDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L35)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/qosmap/{id}||[**ConfigurationPolicyQoSMapDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L31)|[**QoSMapPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/qos_map.py#L106)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/qosmap||[**ConfigurationPolicyQoSMapDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L35)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/qosmap/{id}||[**ConfigurationPolicyQoSMapDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L39)||[**QoSMapPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/qos_map.py#L110)| -POST /template/policy/definition/qosmap/preview||[**ConfigurationPolicyQoSMapDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L43)|[**QoSMapPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/qos_map.py#L71)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/qosmap/preview/{id}||[**ConfigurationPolicyQoSMapDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L47)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/rewriterule||[**ConfigurationPolicyRewriteRuleDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L23)|[**RewritePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rewrite.py#L33)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/qosmap/preview||[**ConfigurationPolicyQoSMapDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L43)|[**QoSMapPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/qos_map.py#L71)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/qosmap/preview/{id}||[**ConfigurationPolicyQoSMapDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/qos_map.py#L47)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/rewriterule||[**ConfigurationPolicyRewriteRuleDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L23)|[**RewritePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rewrite.py#L33)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/rewriterule/{id}||[**ConfigurationPolicyRewriteRuleDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L27)||None| -PUT /template/policy/definition/rewriterule/{id}||[**ConfigurationPolicyRewriteRuleDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L35)|[**RewritePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rewrite.py#L42)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/rewriterule||[**ConfigurationPolicyRewriteRuleDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/rewriterule/{id}||[**ConfigurationPolicyRewriteRuleDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L35)|[**RewritePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rewrite.py#L42)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/rewriterule||[**ConfigurationPolicyRewriteRuleDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/rewriterule/{id}||[**ConfigurationPolicyRewriteRuleDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L43)||[**RewritePolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rewrite.py#L46)| -POST /template/policy/definition/rewriterule/preview||[**ConfigurationPolicyRewriteRuleDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L47)|[**RewritePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rewrite.py#L33)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/rewriterule/preview/{id}||[**ConfigurationPolicyRewriteRuleDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/ruleset||[**ConfigurationPolicyRuleSetDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L19)|[**RuleSet**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rule_set.py#L160)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/rewriterule/preview||[**ConfigurationPolicyRewriteRuleDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L47)|[**RewritePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rewrite.py#L33)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/rewriterule/preview/{id}||[**ConfigurationPolicyRewriteRuleDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rewrite.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/ruleset||[**ConfigurationPolicyRuleSetDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L19)|[**RuleSet**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rule_set.py#L160)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/ruleset/{id}||[**ConfigurationPolicyRuleSetDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L23)||None| -PUT /template/policy/definition/ruleset/{id}||[**ConfigurationPolicyRuleSetDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L31)|[**RuleSetEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rule_set.py#L265)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/ruleset||[**ConfigurationPolicyRuleSetDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L35)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/ruleset/{id}||[**ConfigurationPolicyRuleSetDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L31)|[**RuleSetEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rule_set.py#L265)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/ruleset||[**ConfigurationPolicyRuleSetDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L35)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/ruleset/{id}||[**ConfigurationPolicyRuleSetDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L39)||[**RuleSetGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rule_set.py#L269)| -POST /template/policy/definition/ruleset/preview||[**ConfigurationPolicyRuleSetDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L43)|[**RuleSet**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rule_set.py#L160)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/ruleset/preview/{id}||[**ConfigurationPolicyRuleSetDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L47)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/securitygroup||[**ConfigurationPolicySecurityGroupDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L23)|[**SecurityGroup**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/security_group.py#L59)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/ruleset/preview||[**ConfigurationPolicyRuleSetDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L43)|[**RuleSet**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/rule_set.py#L160)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/ruleset/preview/{id}||[**ConfigurationPolicyRuleSetDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/rule_set.py#L47)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/securitygroup||[**ConfigurationPolicySecurityGroupDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L23)|[**SecurityGroup**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/security_group.py#L59)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/securitygroup/{id}||[**ConfigurationPolicySecurityGroupDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L27)||None| -PUT /template/policy/definition/securitygroup/{id}||[**ConfigurationPolicySecurityGroupDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L35)|[**SecurityGroupEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/security_group.py#L76)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/securitygroup||[**ConfigurationPolicySecurityGroupDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/securitygroup/{id}||[**ConfigurationPolicySecurityGroupDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L35)|[**SecurityGroupEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/security_group.py#L76)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/securitygroup||[**ConfigurationPolicySecurityGroupDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/securitygroup/{id}||[**ConfigurationPolicySecurityGroupDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L43)||[**SecurityGroupGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/security_group.py#L80)| -POST /template/policy/definition/securitygroup/preview||[**ConfigurationPolicySecurityGroupDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L47)|[**SecurityGroup**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/security_group.py#L59)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/securitygroup/preview/{id}||[**ConfigurationPolicySecurityGroupDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/srstphoneprofile||[**ConfigurationPolicySrstPhoneProfileDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L23)|[**SrstPhoneProfilePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/srst_phone_profile.py#L23)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/securitygroup/preview||[**ConfigurationPolicySecurityGroupDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L47)|[**SecurityGroup**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/security_group.py#L59)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/securitygroup/preview/{id}||[**ConfigurationPolicySecurityGroupDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/security_group.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/srstphoneprofile||[**ConfigurationPolicySrstPhoneProfileDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L23)|[**SrstPhoneProfilePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/srst_phone_profile.py#L23)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/srstphoneprofile/{id}||[**ConfigurationPolicySrstPhoneProfileDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L27)||None| -PUT /template/policy/definition/srstphoneprofile/{id}||[**ConfigurationPolicySrstPhoneProfileDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L35)|[**SrstPhoneProfilePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/srst_phone_profile.py#L32)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/srstphoneprofile||[**ConfigurationPolicySrstPhoneProfileDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L41)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/srstphoneprofile/{id}||[**ConfigurationPolicySrstPhoneProfileDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L35)|[**SrstPhoneProfilePolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/srst_phone_profile.py#L32)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/srstphoneprofile||[**ConfigurationPolicySrstPhoneProfileDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L41)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/srstphoneprofile/{id}||[**ConfigurationPolicySrstPhoneProfileDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L45)||[**SrstPhoneProfilePolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/srst_phone_profile.py#L36)| -POST /template/policy/definition/srstphoneprofile/preview||[**ConfigurationPolicySrstPhoneProfileDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L49)|[**SrstPhoneProfilePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/srst_phone_profile.py#L23)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/srstphoneprofile/preview/{id}||[**ConfigurationPolicySrstPhoneProfileDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L53)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/data||[**ConfigurationPolicyDataDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L24)|[**TrafficDataPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/traffic_data.py#L463)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/srstphoneprofile/preview||[**ConfigurationPolicySrstPhoneProfileDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L49)|[**SrstPhoneProfilePolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/srst_phone_profile.py#L23)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/srstphoneprofile/preview/{id}||[**ConfigurationPolicySrstPhoneProfileDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py#L53)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/data||[**ConfigurationPolicyDataDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L24)|[**TrafficDataPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/traffic_data.py#L463)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/data/{id}||[**ConfigurationPolicyDataDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L28)||None| -PUT /template/policy/definition/data/{id}||[**ConfigurationPolicyDataDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L36)|[**TrafficDataPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/traffic_data.py#L487)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/data||[**ConfigurationPolicyDataDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L40)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/data/{id}||[**ConfigurationPolicyDataDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L36)|[**TrafficDataPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/traffic_data.py#L487)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/data||[**ConfigurationPolicyDataDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L40)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/data/{id}||[**ConfigurationPolicyDataDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L44)||[**TrafficDataPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/traffic_data.py#L491)| -POST /template/policy/definition/data/preview||[**ConfigurationPolicyDataDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L48)|[**TrafficDataPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/traffic_data.py#L463)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/data/preview/{id}||[**ConfigurationPolicyDataDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L52)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/vpnmembershipgroup||[**ConfigurationPolicyVPNMembershipGroupDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L23)|[**VPNMembershipPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/vpn_membership.py#L26)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/data/preview||[**ConfigurationPolicyDataDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L48)|[**TrafficDataPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/traffic_data.py#L463)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/data/preview/{id}||[**ConfigurationPolicyDataDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/traffic_data.py#L52)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/vpnmembershipgroup||[**ConfigurationPolicyVPNMembershipGroupDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L23)|[**VPNMembershipPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/vpn_membership.py#L26)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/vpnmembershipgroup/{id}||[**ConfigurationPolicyVPNMembershipGroupDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L27)||None| -PUT /template/policy/definition/vpnmembershipgroup/{id}||[**ConfigurationPolicyVPNMembershipGroupDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L35)|[**VPNMembershipPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/vpn_membership.py#L37)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/vpnmembershipgroup||[**ConfigurationPolicyVPNMembershipGroupDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/vpnmembershipgroup/{id}||[**ConfigurationPolicyVPNMembershipGroupDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L35)|[**VPNMembershipPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/vpn_membership.py#L37)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/vpnmembershipgroup||[**ConfigurationPolicyVPNMembershipGroupDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/vpnmembershipgroup/{id}||[**ConfigurationPolicyVPNMembershipGroupDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L43)||[**VPNMembershipPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/vpn_membership.py#L41)| -POST /template/policy/definition/vpnmembershipgroup/preview||[**ConfigurationPolicyVPNMembershipGroupDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L47)|[**VPNMembershipPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/vpn_membership.py#L26)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/vpnmembershipgroup/preview/{id}||[**ConfigurationPolicyVPNMembershipGroupDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -POST /template/policy/definition/zonebasedfw||[**ConfigurationPolicyZoneBasedFirewallDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L23)|[**ZoneBasedFWPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/zone_based_firewall.py#L239)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1482)| +POST /template/policy/definition/vpnmembershipgroup/preview||[**ConfigurationPolicyVPNMembershipGroupDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L47)|[**VPNMembershipPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/vpn_membership.py#L26)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/vpnmembershipgroup/preview/{id}||[**ConfigurationPolicyVPNMembershipGroupDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +POST /template/policy/definition/zonebasedfw||[**ConfigurationPolicyZoneBasedFirewallDefinition.create_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L23)|[**ZoneBasedFWPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/zone_based_firewall.py#L239)|[**PolicyDefinitionId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1496)| DELETE /template/policy/definition/zonebasedfw/{id}||[**ConfigurationPolicyZoneBasedFirewallDefinition.delete_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L27)||None| -PUT /template/policy/definition/zonebasedfw/{id}||[**ConfigurationPolicyZoneBasedFirewallDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L35)|[**ZoneBasedFWPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/zone_based_firewall.py#L290)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1570)| -GET /template/policy/definition/zonebasedfw||[**ConfigurationPolicyZoneBasedFirewallDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1557)]| +PUT /template/policy/definition/zonebasedfw/{id}||[**ConfigurationPolicyZoneBasedFirewallDefinition.edit_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L35)|[**ZoneBasedFWPolicyEditPayload**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/zone_based_firewall.py#L290)|[**PolicyDefinitionEditResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1584)| +GET /template/policy/definition/zonebasedfw||[**ConfigurationPolicyZoneBasedFirewallDefinition.get_definitions**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L39)||DataSequence[[**PolicyDefinitionInfo**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1571)]| GET /template/policy/definition/zonebasedfw/{id}||[**ConfigurationPolicyZoneBasedFirewallDefinition.get_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L43)||[**ZoneBasedFWPolicyGetResponse**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/zone_based_firewall.py#L294)| -POST /template/policy/definition/zonebasedfw/preview||[**ConfigurationPolicyZoneBasedFirewallDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L47)|[**ZoneBasedFWPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/zone_based_firewall.py#L239)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| -GET /template/policy/definition/zonebasedfw/preview/{id}||[**ConfigurationPolicyZoneBasedFirewallDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1576)| +POST /template/policy/definition/zonebasedfw/preview||[**ConfigurationPolicyZoneBasedFirewallDefinition.preview_policy_definition**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L47)|[**ZoneBasedFWPolicy**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/definition/zone_based_firewall.py#L239)|[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| +GET /template/policy/definition/zonebasedfw/preview/{id}||[**ConfigurationPolicyZoneBasedFirewallDefinition.preview_policy_definition_by_id**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py#L51)||[**PolicyDefinitionPreview**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_definition.py#L1590)| POST /template/policy/list/app||[**ConfigurationPolicyApplicationList.create_policy_list**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/list/app.py#L14)|[**AppList**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/list/app.py#L21)|[**PolicyListId**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/models/policy/policy_list.py#L30)| DELETE /template/policy/list/app/{id}||[**ConfigurationPolicyApplicationList.delete_policy_list**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/list/app.py#L18)||None| DELETE /template/policy/list/app||[**ConfigurationPolicyApplicationList.delete_policy_lists_with_info_tag**](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/endpoints/configuration/policy/list/app.py#L22)||None| diff --git a/catalystwan/models/common.py b/catalystwan/models/common.py index 112f94ee..9d02afc3 100644 --- a/catalystwan/models/common.py +++ b/catalystwan/models/common.py @@ -3,7 +3,7 @@ import re from dataclasses import InitVar, dataclass, field from ipaddress import IPv4Interface, IPv6Interface -from typing import Any, Dict, Iterator, List, Literal, Mapping, Optional, Sequence, Set, Tuple, Union, get_args +from typing import Any, Dict, Iterator, List, Literal, Mapping, Optional, Sequence, Set, Tuple, Union, cast, get_args from uuid import UUID from annotated_types import Ge, Le @@ -94,8 +94,9 @@ def dump( if current_field_path := replaced_keys.get(current_field_name): path, name = current_field_path dict_ = model_dict[path] if path is not None else model_dict - dict_[new_field_name] = dict_[name] - del dict_[name] + if new_field_name is not None: + dict_[new_field_name] = dict_[name] + del dict_[name] return model_dict @@ -152,7 +153,7 @@ def str_as_uuid_list(val: Union[str, Sequence[UUID]]) -> Sequence[UUID]: def str_as_positive_int_list(val: Union[str, Sequence[PositiveInt]]) -> Sequence[PositiveInt]: if isinstance(val, str): - return [PositiveInt(element) for element in val.split()] + return [int(element) for element in val.split()] return val @@ -307,7 +308,7 @@ def int_range_serializer(value: IntRange) -> str: def str_as_interface_list(val: Union[str, Sequence[InterfaceStr]]) -> Sequence[InterfaceStr]: if isinstance(val, str): - return [InterfaceStr(element) for element in val.split()] + return [str(element) for element in val.split()] return val @@ -1458,3 +1459,29 @@ def str_as_interface_list(val: Union[str, Sequence[InterfaceStr]]) -> Sequence[I "jitter-latency-loss", "jitter-loss-latency", ] + +ServiceAreaValue = Literal[ + "common", + "exchange", + "sharepoint", + "skype", +] + +TrafficCategory = Literal[ + "all", + "optimize", + "optimize-allow", +] + + +def str_as_service_area_list(val: Union[str, Sequence[ServiceAreaValue]]) -> Sequence[ServiceAreaValue]: + if isinstance(val, str): + return [cast(ServiceAreaValue, item) for item in val.split() if item in get_args(ServiceAreaValue)] + return val + + +SpaceSeparatedServiceAreaList = Annotated[ + List[ServiceAreaValue], + PlainSerializer(lambda x: " ".join(map(str, x)), return_type=str, when_used="json-unless-none"), + BeforeValidator(str_as_service_area_list), +] diff --git a/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py b/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py index 5e8c86e9..617d2285 100644 --- a/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py +++ b/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py @@ -24,9 +24,11 @@ Icmp6MsgType, IcmpMsgType, SequenceIpType, + ServiceAreaValue, ServiceChainNumber, ServiceType, TLOCColor, + TrafficCategory, TrafficTargetType, VersionedField, ) @@ -46,19 +48,6 @@ class TrafficPolicyTarget(BaseModel): vpn: Global[List[str]] -ServiceAreaValue = Literal[ - "common", - "exchange", - "sharepoint", - "skype", -] - -TrafficCategory = Literal[ - "all", - "optimize", - "optimize-allow", -] - TrafficClass = Literal[ "bronze", "gold-broadcast-video", diff --git a/catalystwan/models/policy/definition/app_route.py b/catalystwan/models/policy/definition/app_route.py index 6baed5f0..c8eccde8 100644 --- a/catalystwan/models/policy/definition/app_route.py +++ b/catalystwan/models/policy/definition/app_route.py @@ -5,7 +5,15 @@ from pydantic import ConfigDict, Field from typing_extensions import Annotated -from catalystwan.models.common import DestinationRegion, DNSEntryType, SequenceIpType, TLOCColor, TrafficTargetType +from catalystwan.models.common import ( + DestinationRegion, + DNSEntryType, + SequenceIpType, + ServiceAreaValue, + TLOCColor, + TrafficCategory, + TrafficTargetType, +) from catalystwan.models.policy.policy_definition import ( AppListEntry, BackupSlaPrefferedColorAction, @@ -32,6 +40,7 @@ PolicyDefinitionSequenceBase, ProtocolEntry, SaaSAppListEntry, + ServiceAreaEntry, SlaClassAction, SlaNotMetAction, SourceDataIPv6PrefixListEntry, @@ -39,6 +48,7 @@ SourceIPEntry, SourceIPv6Entry, SourcePortEntry, + TrafficCategoryEntry, TrafficToEntry, ) @@ -57,11 +67,13 @@ PLPEntry, ProtocolEntry, SaaSAppListEntry, + ServiceAreaEntry, SourceDataIPv6PrefixListEntry, SourceDataPrefixListEntry, SourceIPEntry, SourceIPv6Entry, SourcePortEntry, + TrafficCategoryEntry, TrafficToEntry, ], Field(discriminator="field"), @@ -127,6 +139,9 @@ def match_protocols(self, protocols: Set[int]) -> None: def match_saas_app_list(self, saas_app_list_id: UUID) -> None: self._insert_match(SaaSAppListEntry(ref=saas_app_list_id)) + def match_service_areas(self, service_areas: Set[ServiceAreaValue]) -> None: + self._insert_match(ServiceAreaEntry(value=list(service_areas))) + def match_source_data_prefix_list(self, data_prefix_list_id: UUID) -> None: self._insert_match(SourceDataPrefixListEntry(ref=[data_prefix_list_id])) @@ -139,6 +154,9 @@ def match_source_ipv6(self, networks: List[IPv6Network]) -> None: def match_source_port(self, ports: Set[int] = set(), port_ranges: List[Tuple[int, int]] = []) -> None: self._insert_match(SourcePortEntry.from_port_set_and_ranges(ports, port_ranges)) + def match_traffic_category(self, traffic_category: TrafficCategory) -> None: + self._insert_match(TrafficCategoryEntry(value=traffic_category)) + def match_traffic_to(self, traffic_to: TrafficTargetType) -> None: self._insert_match(TrafficToEntry(value=traffic_to)) diff --git a/catalystwan/models/policy/policy_definition.py b/catalystwan/models/policy/policy_definition.py index 2c3d5601..3f144ebf 100644 --- a/catalystwan/models/policy/policy_definition.py +++ b/catalystwan/models/policy/policy_definition.py @@ -31,10 +31,12 @@ SpaceSeparatedIPv4, SpaceSeparatedIPv6, SpaceSeparatedNonNegativeIntList, + SpaceSeparatedServiceAreaList, SpaceSeparatedTLOCColorStr, SpaceSeparatedUUIDList, TLOCActionType, TLOCColor, + TrafficCategory, TrafficTargetType, check_fields_exclusive, str_as_str_list, @@ -949,6 +951,16 @@ class AffinityEntry(BaseModel): RedirectDNSActionEntry = Union[IPAddressEntry, DNSTypeEntry] +class ServiceAreaEntry(BaseModel): + field: Literal["serviceArea"] = "serviceArea" + value: SpaceSeparatedServiceAreaList + + +class TrafficCategoryEntry(BaseModel): + field: Literal["trafficCategory"] = "trafficCategory" + value: TrafficCategory + + class LogAction(BaseModel): type: Literal["log"] = "log" parameter: str = "" @@ -1299,6 +1311,7 @@ class ActionSet(BaseModel): RoleEntry, RuleSetListEntry, SaaSAppListEntry, + ServiceAreaEntry, SiteEntry, SiteListEntry, SiteListEntry, @@ -1317,6 +1330,7 @@ class ActionSet(BaseModel): TCPEntry, TLOCEntry, TLOCListEntry, + TrafficCategoryEntry, TrafficClassEntry, TrafficToEntry, VPNEntry, diff --git a/pyproject.toml b/pyproject.toml index 3b2d4f89..465c2f89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "catalystwan" -version = "0.36.0dev1" +version = "0.36.0dev2" description = "Cisco Catalyst WAN SDK for Python" authors = ["kagorski "] readme = "README.md"