Skip to content

Commit

Permalink
Refactor application aware routing policy definition
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jul 23, 2023
1 parent 7462cb0 commit 5f15d5e
Show file tree
Hide file tree
Showing 9 changed files with 338 additions and 306 deletions.
21 changes: 10 additions & 11 deletions docs/data-sources/application_aware_routing_policy_definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "sdwan_application_aware_routing_policy_definition Data Source - terraform-provider-sdwan"
subcategory: "Centralized Policies"
description: |-
This data source can read the Application Aware Routing policy definition.
This data source can read the Application Aware Routing Policy Definition .
---

# sdwan_application_aware_routing_policy_definition (Data Source)

This data source can read the Application Aware Routing policy definition.
This data source can read the Application Aware Routing Policy Definition .

## Example Usage

Expand All @@ -23,15 +23,14 @@ data "sdwan_application_aware_routing_policy_definition" "example" {

### Required

- `id` (String) The id of the policy definition
- `id` (String) The id of the object

### Read-Only

- `description` (String) The description of the policy definition
- `name` (String) The name of the policy definition
- `sequences` (Attributes List) List of sequences (see [below for nested schema](#nestedatt--sequences))
- `type` (String) The policy definition type
- `version` (Number) The version of the policy definition
- `version` (Number) The version of the object

<a id="nestedatt--sequences"></a>
### Nested Schema for `sequences`
Expand All @@ -50,14 +49,14 @@ Read-Only:
Read-Only:

- `backup_sla_preferred_color` (String) Backup SLA preferred color
- `cloud_sla` (String) Cloud SLA
- `cloud_sla_parameters` (Attributes List) List of cloud SLA parameters (see [below for nested schema](#nestedatt--sequences--action_entries--cloud_sla_parameters))
- `cloud_sla` (Boolean) Cloud SLA
- `counter` (String) Counter name
- `log` (String) Enable logging
- `log` (Boolean) Enable logging
- `sla_class_parameters` (Attributes List) List of SLA class parameters (see [below for nested schema](#nestedatt--sequences--action_entries--sla_class_parameters))
- `type` (String) Type of action entry

<a id="nestedatt--sequences--action_entries--cloud_sla_parameters"></a>
### Nested Schema for `sequences.action_entries.cloud_sla_parameters`
<a id="nestedatt--sequences--action_entries--sla_class_parameters"></a>
### Nested Schema for `sequences.action_entries.sla_class_parameters`

Read-Only:

Expand All @@ -66,7 +65,7 @@ Read-Only:
- `preferred_color_group_list_version` (Number) Preferred color group list version
- `sla_class_list` (String) SLA class list ID
- `sla_class_list_version` (Number) SLA class list version
- `type` (String) Type of cloud SLA parameter
- `type` (String) Type of SLA class parameter



Expand Down
23 changes: 10 additions & 13 deletions docs/resources/application_aware_routing_policy_definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "sdwan_application_aware_routing_policy_definition Resource - terraform-provider-sdwan"
subcategory: "Centralized Policies"
description: |-
This resource can manage a Application Aware Routing policy definition.
This resource can manage a Application Aware Routing Policy Definition .
---

# sdwan_application_aware_routing_policy_definition (Resource)

This resource can manage a Application Aware Routing policy definition.
This resource can manage a Application Aware Routing Policy Definition .

## Example Usage

Expand Down Expand Up @@ -49,9 +49,8 @@ resource "sdwan_application_aware_routing_policy_definition" "example" {

### Read-Only

- `id` (String) The id of the policy definition
- `type` (String) The policy defintion type
- `version` (Number) The version of the policy definition
- `id` (String) The id of the object
- `version` (Number) The version of the object

<a id="nestedatt--sequences"></a>
### Nested Schema for `sequences`
Expand Down Expand Up @@ -79,19 +78,17 @@ Required:
Optional:

- `backup_sla_preferred_color` (String) Backup SLA preferred color
- `cloud_sla` (String) Cloud SLA
- Choices: ``
- `cloud_sla_parameters` (Attributes List) List of cloud SLA parameters (see [below for nested schema](#nestedatt--sequences--action_entries--cloud_sla_parameters))
- `cloud_sla` (Boolean) Cloud SLA
- `counter` (String) Counter name
- `log` (String) Enable logging
- Choices: ``
- `log` (Boolean) Enable logging
- `sla_class_parameters` (Attributes List) List of SLA class parameters (see [below for nested schema](#nestedatt--sequences--action_entries--sla_class_parameters))

<a id="nestedatt--sequences--action_entries--cloud_sla_parameters"></a>
### Nested Schema for `sequences.action_entries.cloud_sla_parameters`
<a id="nestedatt--sequences--action_entries--sla_class_parameters"></a>
### Nested Schema for `sequences.action_entries.sla_class_parameters`

Required:

- `type` (String) Type of cloud SLA parameter
- `type` (String) Type of SLA class parameter
- Choices: `name`, `preferredColor`, `preferredColorGroup`

Optional:
Expand Down
Loading

0 comments on commit 5f15d5e

Please sign in to comment.