Skip to content

Commit

Permalink
Adds tracker profile parcels (CiscoDevNet#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
seconroy authored Aug 23, 2024
1 parent ca3c793 commit 6e1c88e
Show file tree
Hide file tree
Showing 80 changed files with 8,740 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
## 0.3.14 (unreleased)

- Fix issue when reading deleted `sdwan_cli_config_profile_parcel` resource, [link](https://github.com/CiscoDevNet/terraform-provider-sdwan/issues/291)
- Add `sdwan_transport_tracker_group_profile_parcel` resource and data source
- Add `sdwan_transport_tracker_profile_parcel` resource and data source
- Add `sdwan_service_tracker_group_profile_parcel` resource and data source
- Add `sdwan_transport_ipv6_tracker_group_profile_parcel` resource and data source
- Add `sdwan_service_object_tracker_profile_parcel` resource and data source
- Add `sdwan_service_object_tracker_group_profile_parcel` resource and data source

## 0.3.13

Expand Down
46 changes: 46 additions & 0 deletions docs/data-sources/service_object_tracker_group_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_object_tracker_group_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Service Object Tracker Group profile parcel.
---

# sdwan_service_object_tracker_group_profile_parcel (Data Source)

This data source can read the Service Object Tracker Group profile parcel.

## Example Usage

```terraform
data "sdwan_service_object_tracker_group_profile_parcel" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the profile parcel

### Read-Only

- `description` (String) The description of the profile parcel
- `name` (String) The name of the profile parcel
- `object_tracker_id` (Number) Object ID
- `object_tracker_id_variable` (String) Variable name
- `reachable` (String) tracker ref list criteria boolean and or
- `reachable_variable` (String) Variable name
- `tracker_elements` (Attributes List) Group Tracks ID Refs (see [below for nested schema](#nestedatt--tracker_elements))
- `version` (Number) The version of the profile parcel

<a id="nestedatt--tracker_elements"></a>
### Nested Schema for `tracker_elements`

Read-Only:

- `object_tracker_id` (String)
45 changes: 45 additions & 0 deletions docs/data-sources/service_object_tracker_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_object_tracker_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Service Object Tracker profile parcel.
---

# sdwan_service_object_tracker_profile_parcel (Data Source)

This data source can read the Service Object Tracker profile parcel.

## Example Usage

```terraform
data "sdwan_service_object_tracker_profile_parcel" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the profile parcel

### Read-Only

- `description` (String) The description of the profile parcel
- `interface` (String) interface name
- `interface_variable` (String) Variable name
- `name` (String) The name of the profile parcel
- `object_tracker_id` (Number) Object tracker ID
- `object_tracker_id_variable` (String) Variable name
- `object_tracker_type` (String) objectTrackerType:Interface SIG Route
- `route_ip` (String) IP address
- `route_ip_variable` (String) Variable name
- `route_mask` (String) IP mask
- `route_mask_variable` (String) Variable name
- `version` (Number) The version of the profile parcel
- `vpn` (Number) VPN
- `vpn_variable` (String) Variable name
44 changes: 44 additions & 0 deletions docs/data-sources/service_tracker_group_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_tracker_group_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Service Tracker Group profile parcel.
---

# sdwan_service_tracker_group_profile_parcel (Data Source)

This data source can read the Service Tracker Group profile parcel.

## Example Usage

```terraform
data "sdwan_service_tracker_group_profile_parcel" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the profile parcel

### Read-Only

- `description` (String) The description of the profile parcel
- `name` (String) The name of the profile parcel
- `tracker_boolean` (String) tracker ref list combine boolean and or
- `tracker_boolean_variable` (String) Variable name
- `tracker_elements` (Attributes List) tracker parcel ref list (see [below for nested schema](#nestedatt--tracker_elements))
- `version` (Number) The version of the profile parcel

<a id="nestedatt--tracker_elements"></a>
### Nested Schema for `tracker_elements`

Read-Only:

- `tracker_id` (String)
46 changes: 46 additions & 0 deletions docs/data-sources/transport_ipv6_tracker_group_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_ipv6_tracker_group_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Transport IPv6 Tracker Group profile parcel.
---

# sdwan_transport_ipv6_tracker_group_profile_parcel (Data Source)

This data source can read the Transport IPv6 Tracker Group profile parcel.

## Example Usage

```terraform
data "sdwan_transport_ipv6_tracker_group_profile_parcel" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the profile parcel

### Read-Only

- `description` (String) The description of the profile parcel
- `name` (String) The name of the profile parcel
- `tracker_boolean` (String) tracker ref list combine boolean and or
- `tracker_boolean_variable` (String) Variable name
- `tracker_elements` (Attributes List) trackers ref list (see [below for nested schema](#nestedatt--tracker_elements))
- `tracker_name` (String) Tracker Name
- `tracker_name_variable` (String) Variable name
- `version` (Number) The version of the profile parcel

<a id="nestedatt--tracker_elements"></a>
### Nested Schema for `tracker_elements`

Read-Only:

- `tracker_id` (String)
44 changes: 44 additions & 0 deletions docs/data-sources/transport_tracker_group_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_tracker_group_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Transport Tracker Group profile parcel.
---

# sdwan_transport_tracker_group_profile_parcel (Data Source)

This data source can read the Transport Tracker Group profile parcel.

## Example Usage

```terraform
data "sdwan_transport_tracker_group_profile_parcel" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the profile parcel

### Read-Only

- `description` (String) The description of the profile parcel
- `name` (String) The name of the profile parcel
- `tracker_boolean` (String) tracker ref list combine boolean and or
- `tracker_boolean_variable` (String) Variable name
- `tracker_elements` (Attributes List) tracker parcel ref list (see [below for nested schema](#nestedatt--tracker_elements))
- `version` (Number) The version of the profile parcel

<a id="nestedatt--tracker_elements"></a>
### Nested Schema for `tracker_elements`

Read-Only:

- `tracker_id` (String)
52 changes: 52 additions & 0 deletions docs/data-sources/transport_tracker_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_transport_tracker_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Transport Tracker profile parcel.
---

# sdwan_transport_tracker_profile_parcel (Data Source)

This data source can read the Transport Tracker profile parcel.

## Example Usage

```terraform
data "sdwan_transport_tracker_profile_parcel" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `id` (String) The id of the profile parcel

### Read-Only

- `description` (String) The description of the profile parcel
- `endpoint_api_url` (String) API url of endpoint
- `endpoint_api_url_variable` (String) Variable name
- `endpoint_dns_name` (String) Endpoint DNS Name
- `endpoint_dns_name_variable` (String) Variable name
- `endpoint_ip` (String) Endpoint IP
- `endpoint_ip_variable` (String) Variable name
- `endpoint_tracker_type` (String) Endpoint Tracker Type
- `endpoint_tracker_type_variable` (String) Variable name
- `interval` (Number) Interval
- `interval_variable` (String) Variable name
- `multiplier` (Number) Multiplier
- `multiplier_variable` (String) Variable name
- `name` (String) The name of the profile parcel
- `threshold` (Number) Threshold
- `threshold_variable` (String) Variable name
- `tracker_name` (String) Tracker Name
- `tracker_name_variable` (String) Variable name
- `tracker_type` (String) Tracker Type
- `tracker_type_variable` (String) Variable name
- `version` (Number) The version of the profile parcel
6 changes: 6 additions & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ description: |-
## 0.3.14 (unreleased)

- Fix issue when reading deleted `sdwan_cli_config_profile_parcel` resource, [link](https://github.com/CiscoDevNet/terraform-provider-sdwan/issues/291)
- Add `sdwan_transport_tracker_group_profile_parcel` resource and data source
- Add `sdwan_transport_tracker_profile_parcel` resource and data source
- Add `sdwan_service_tracker_group_profile_parcel` resource and data source
- Add `sdwan_transport_ipv6_tracker_group_profile_parcel` resource and data source
- Add `sdwan_service_object_tracker_profile_parcel` resource and data source
- Add `sdwan_service_object_tracker_group_profile_parcel` resource and data source

## 0.3.13

Expand Down
70 changes: 70 additions & 0 deletions docs/resources/service_object_tracker_group_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_service_object_tracker_group_profile_parcel Resource - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This resource can manage a Service Object Tracker Group profile parcel.
Minimum SD-WAN Manager version: 20.12.0
---

# sdwan_service_object_tracker_group_profile_parcel (Resource)

This resource can manage a Service Object Tracker Group profile parcel.
- Minimum SD-WAN Manager version: `20.12.0`

## Example Usage

```terraform
resource "sdwan_service_object_tracker_group_profile_parcel" "example" {
name = "Example"
description = "My Example"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
object_tracker_id = 10
tracker_elements = [
{
object_tracker_id = "615d948f-34ee-4a2e-810e-a9bd8d3d48ec"
}
]
reachable = "or"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `feature_profile_id` (String) Feature Profile ID
- `name` (String) The name of the profile parcel
- `object_tracker_id` (Number) Object ID
- Range: `1`-`1000`

### Optional

- `description` (String) The description of the profile parcel
- `object_tracker_id_variable` (String) Variable name
- `reachable` (String) tracker ref list criteria boolean and or
- Choices: `and`, `or`
- Default value: `or`
- `reachable_variable` (String) Variable name
- `tracker_elements` (Attributes List) Group Tracks ID Refs (see [below for nested schema](#nestedatt--tracker_elements))

### Read-Only

- `id` (String) The id of the profile parcel
- `version` (Number) The version of the profile parcel

<a id="nestedatt--tracker_elements"></a>
### Nested Schema for `tracker_elements`

Optional:

- `object_tracker_id` (String)

## Import

Import is supported using the following syntax:

```shell
terraform import sdwan_service_object_tracker_group_profile_parcel.example "f6b2c44c-693c-4763-b010-895aa3d236bd"
```
Loading

0 comments on commit 6e1c88e

Please sign in to comment.