-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add system banner profile parcel resource
- Loading branch information
Showing
25 changed files
with
1,113 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "sdwan_system_banner_profile_parcel Data Source - terraform-provider-sdwan" | ||
subcategory: "Profile Parcels" | ||
description: |- | ||
This data source can read the System Banner profile parcel. | ||
--- | ||
|
||
# sdwan_system_banner_profile_parcel (Data Source) | ||
|
||
This data source can read the System Banner profile parcel. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "sdwan_system_banner_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 | ||
- `login` (String) | ||
- `login_variable` (String) Variable name | ||
- `motd` (String) | ||
- `motd_variable` (String) Variable name | ||
- `name` (String) The name of the profile parcel | ||
- `version` (Number) The version of the profile parcel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "sdwan_system_banner_profile_parcel Resource - terraform-provider-sdwan" | ||
subcategory: "Profile Parcels" | ||
description: |- | ||
This resource can manage a System Banner profile parcel. | ||
- Minimum SD-WAN Manager version: 20.12.0 | ||
--- | ||
|
||
# sdwan_system_banner_profile_parcel (Resource) | ||
|
||
This resource can manage a System Banner profile parcel. | ||
- Minimum SD-WAN Manager version: `20.12.0` | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "sdwan_system_banner_profile_parcel" "example" { | ||
name = "Example" | ||
description = "My Example" | ||
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" | ||
login = "My login banner" | ||
motd = "My motd banner" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `description` (String) The description of the profile parcel | ||
- `name` (String) The name of the profile parcel | ||
|
||
### Optional | ||
|
||
- `feature_profile_id` (String) Feature Profile ID | ||
- `login` (String) | ||
- `login_variable` (String) Variable name | ||
- `motd` (String) | ||
- `motd_variable` (String) Variable name | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the profile parcel | ||
- `version` (Number) The version of the profile parcel | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import sdwan_system_banner_profile_parcel.example "f6b2c44c-693c-4763-b010-895aa3d236bd" | ||
``` |
4 changes: 4 additions & 0 deletions
4
examples/data-sources/sdwan_system_banner_profile_parcel/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
data "sdwan_system_banner_profile_parcel" "example" { | ||
id = "f6b2c44c-693c-4763-b010-895aa3d236bd" | ||
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" | ||
} |
1 change: 1 addition & 0 deletions
1
examples/resources/sdwan_system_banner_profile_parcel/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
terraform import sdwan_system_banner_profile_parcel.example "f6b2c44c-693c-4763-b010-895aa3d236bd" |
7 changes: 7 additions & 0 deletions
7
examples/resources/sdwan_system_banner_profile_parcel/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
resource "sdwan_system_banner_profile_parcel" "example" { | ||
name = "Example" | ||
description = "My Example" | ||
feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" | ||
login = "My login banner" | ||
motd = "My motd banner" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: System Banner | ||
rest_endpoint: /v1/feature-profile/sdwan/system/%v/banner | ||
minimum_version: 20.12.0 | ||
attributes: | ||
- tf_name: feature_profile_id | ||
reference: true | ||
type: String | ||
description: Feature Profile ID | ||
example: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac | ||
test_value: sdwan_system_feature_profile.test.id | ||
- model_name: login | ||
example: My login banner | ||
- model_name: motd | ||
example: My motd banner | ||
|
||
test_prerequisites: | | ||
resource "sdwan_system_feature_profile" "test" { | ||
name = "TF_TEST" | ||
description = "Terraform test" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.