Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UX2.0] Add Other Profile Parcels #305

Merged
merged 8 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
- 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
- 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

- `assign_priority` (Number) Assign priority
- `assign_priority_variable` (String) Variable name
- `bay` (Number) Bay
- `dedicated` (Boolean) Dedicated
- `default_gateway` (String) Assign default gateway
- `default_gateway_variable` (String) Variable name
- `description` (String) The description of the profile parcel
- `failover_type` (String)
- `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
- `shared_type` (String)
- `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
3 changes: 3 additions & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ description: |-
- 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
- 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
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