Skip to content

Commit

Permalink
Add other profile parcels (CiscoDevNet#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
seconroy authored Aug 29, 2024
1 parent ecd9ffb commit 064fe7e
Show file tree
Hide file tree
Showing 40 changed files with 5,538 additions and 21 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
- Add `sdwan_policy_object_policer_profile_parcel` resource and data source
- Add `sdwan_policy_object_ipv4_prefix_list_profile_parcel` resource and data source
- Add `sdwan_policy_object_ipv6_prefix_list_profile_parcel` resource and data source
- Add `sdwan_other_feature_profile` resource and data source
- Add `sdwan_other_ucse_profile_parcel` resource and data source
- Add `sdwan_other_thousandeyes_profile_parcel` resource and data source

## 0.3.13

Expand Down
31 changes: 31 additions & 0 deletions docs/data-sources/other_feature_profile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_other_feature_profile Data Source - terraform-provider-sdwan"
subcategory: "Feature Profiles"
description: |-
This data source can read the Other Feature Profile .
---

# sdwan_other_feature_profile (Data Source)

This data source can read the Other Feature Profile .

## Example Usage

```terraform
data "sdwan_other_feature_profile" "example" {
id = "f6b2c44c-693c-4763-b010-895aa3d236bd"
}
```

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

### Required

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

### Read-Only

- `description` (String) Description
- `name` (String) The name of the transport feature profile
62 changes: 62 additions & 0 deletions docs/data-sources/other_thousandeyes_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_other_thousandeyes_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Other ThousandEyes profile parcel.
---

# sdwan_other_thousandeyes_profile_parcel (Data Source)

This data source can read the Other ThousandEyes profile parcel.

## Example Usage

```terraform
data "sdwan_other_thousandeyes_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
- `version` (Number) The version of the profile parcel
- `virtual_application` (Attributes List) Virtual application Instance (see [below for nested schema](#nestedatt--virtual_application))

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

Read-Only:

- `account_group_token` (String) Set the Account Group Token
- `account_group_token_variable` (String) Variable name
- `agent_default_gateway` (String) Set the Agent default gateway
- `agent_default_gateway_variable` (String) Variable name
- `hostname` (String) Set the host name
- `hostname_variable` (String) Variable name
- `management_ip` (String) Set the Agent IP Address
- `management_ip_variable` (String) Variable name
- `management_subnet_mask` (String) Set the Agent SubnetMask
- `management_subnet_mask_variable` (String) Variable name
- `name_server_ip` (String) Set the name server
- `name_server_ip_variable` (String) Variable name
- `pac_url` (String) Set the proxy PAC url
- `pac_url_variable` (String) Variable name
- `proxy_host` (String) Set the Proxy Host
- `proxy_host_variable` (String) Variable name
- `proxy_port` (Number) Set the Proxy Port
- `proxy_port_variable` (String) Variable name
- `proxy_type` (String) Select Web Proxy Type
- `vpn` (Number) VPN number
- `vpn_variable` (String) Variable name
60 changes: 60 additions & 0 deletions docs/data-sources/other_ucse_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_other_ucse_profile_parcel Data Source - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This data source can read the Other UCSE profile parcel.
---

# sdwan_other_ucse_profile_parcel (Data Source)

This data source can read the Other UCSE profile parcel.

## Example Usage

```terraform
data "sdwan_other_ucse_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

- `access_port_dedicated` (Boolean) Dedicated
- `access_port_shared_failover_type` (String)
- `access_port_shared_type` (String)
- `assign_priority` (Number) Assign priority
- `assign_priority_variable` (String) Variable name
- `bay` (Number) Bay
- `default_gateway` (String) Assign default gateway
- `default_gateway_variable` (String) Variable name
- `description` (String) The description of the profile parcel
- `interfaces` (Attributes List) Interface name: GigabitEthernet0/<>/<> when present (see [below for nested schema](#nestedatt--interfaces))
- `ipv4_address` (String) Assign IPv4 address
- `ipv4_address_variable` (String) Variable name
- `name` (String) The name of the profile parcel
- `slot` (Number) Slot
- `version` (Number) The version of the profile parcel
- `vlan_id` (Number) Assign Vlan Id
- `vlan_id_variable` (String) Variable name

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

Read-Only:

- `interface_name` (String) Set Inteface name
- `interface_name_variable` (String) Variable name
- `ipv4_address` (String) Assign IPv4 address
- `ipv4_address_variable` (String) Variable name
- `ucse_interface_vpn` (Number) UCSE Interface VPN
- `ucse_interface_vpn_variable` (String) Variable name
23 changes: 13 additions & 10 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
subcategory: "Guides"
page_title: "Changelog"
description: |-
Changelog
---

# Changelog

---
subcategory: "Guides"
page_title: "Changelog"
description: |-
Changelog
---

# Changelog

## 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)
Expand All @@ -33,6 +33,9 @@ description: |-
- Add `sdwan_policy_object_policer_profile_parcel` resource and data source
- Add `sdwan_policy_object_ipv4_prefix_list_profile_parcel` resource and data source
- Add `sdwan_policy_object_ipv6_prefix_list_profile_parcel` resource and data source
- Add `sdwan_other_feature_profile` resource and data source
- Add `sdwan_other_ucse_profile_parcel` resource and data source
- Add `sdwan_other_thousandeyes_profile_parcel` resource and data source

## 0.3.13

Expand Down Expand Up @@ -317,4 +320,4 @@ description: |-
## 0.1.0 (July 23, 2021)

- Initial Release


40 changes: 40 additions & 0 deletions docs/resources/other_feature_profile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_other_feature_profile Resource - terraform-provider-sdwan"
subcategory: "Feature Profiles"
description: |-
This resource can manage a Other Feature Profile .
---

# sdwan_other_feature_profile (Resource)

This resource can manage a Other Feature Profile .

## Example Usage

```terraform
resource "sdwan_other_feature_profile" "example" {
name = "OTHER_FP_1"
description = "My Other feature profile 1"
}
```

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

### Required

- `description` (String) Description
- `name` (String) The name of the transport feature profile

### Read-Only

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

## Import

Import is supported using the following syntax:

```shell
terraform import sdwan_other_feature_profile.example "f6b2c44c-693c-4763-b010-895aa3d236bd"
```
93 changes: 93 additions & 0 deletions docs/resources/other_thousandeyes_profile_parcel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "sdwan_other_thousandeyes_profile_parcel Resource - terraform-provider-sdwan"
subcategory: "Profile Parcels"
description: |-
This resource can manage a Other ThousandEyes profile parcel.
Minimum SD-WAN Manager version: 20.12.0
---

# sdwan_other_thousandeyes_profile_parcel (Resource)

This resource can manage a Other ThousandEyes profile parcel.
- Minimum SD-WAN Manager version: `20.12.0`

## Example Usage

```terraform
resource "sdwan_other_thousandeyes_profile_parcel" "example" {
name = "Example"
description = "My Example"
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
virtual_application = [
{
account_group_token = "qwer"
vpn = 1
management_ip = "10.0.0.2"
management_subnet_mask = "255.255.255.0"
agent_default_gateway = "10.0.0.1"
name_server_ip = "77.77.77.71"
hostname = "thousandeyesHost"
proxy_type = "static"
proxy_host = "proxy.thousandeyes.com"
proxy_port = 3128
}
]
}
```

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

### Required

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

### Optional

- `description` (String) The description of the profile parcel
- `virtual_application` (Attributes List) Virtual application Instance (see [below for nested schema](#nestedatt--virtual_application))

### Read-Only

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

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

Optional:

- `account_group_token` (String) Set the Account Group Token
- `account_group_token_variable` (String) Variable name
- `agent_default_gateway` (String) Set the Agent default gateway
- `agent_default_gateway_variable` (String) Variable name
- `hostname` (String) Set the host name
- `hostname_variable` (String) Variable name
- `management_ip` (String) Set the Agent IP Address
- `management_ip_variable` (String) Variable name
- `management_subnet_mask` (String) Set the Agent SubnetMask
- Choices: `255.255.255.255`, `255.255.255.254`, `255.255.255.252`, `255.255.255.248`, `255.255.255.240`, `255.255.255.224`, `255.255.255.192`, `255.255.255.128`, `255.255.255.0`, `255.255.254.0`, `255.255.252.0`, `255.255.248.0`, `255.255.240.0`, `255.255.224.0`, `255.255.192.0`, `255.255.128.0`, `255.255.0.0`, `255.254.0.0`, `255.252.0.0`, `255.240.0.0`, `255.224.0.0`, `255.192.0.0`, `255.128.0.0`, `255.0.0.0`, `254.0.0.0`, `252.0.0.0`, `248.0.0.0`, `240.0.0.0`, `224.0.0.0`, `192.0.0.0`, `128.0.0.0`, `0.0.0.0`
- `management_subnet_mask_variable` (String) Variable name
- `name_server_ip` (String) Set the name server
- `name_server_ip_variable` (String) Variable name
- `pac_url` (String) Set the proxy PAC url
- `pac_url_variable` (String) Variable name
- `proxy_host` (String) Set the Proxy Host
- `proxy_host_variable` (String) Variable name
- `proxy_port` (Number) Set the Proxy Port
- Range: `1`-`65535`
- `proxy_port_variable` (String) Variable name
- `proxy_type` (String) Select Web Proxy Type
- `vpn` (Number) VPN number
- Range: `0`-`65530`
- `vpn_variable` (String) Variable name

## Import

Import is supported using the following syntax:

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

0 comments on commit 064fe7e

Please sign in to comment.