-
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 service feature profile resource
- Loading branch information
Showing
15 changed files
with
595 additions
and
0 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,31 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "sdwan_service_feature_profile Data Source - terraform-provider-sdwan" | ||
subcategory: "Feature Profiles" | ||
description: |- | ||
This data source can read the Service Feature Profile . | ||
--- | ||
|
||
# sdwan_service_feature_profile (Data Source) | ||
|
||
This data source can read the Service Feature Profile . | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "sdwan_service_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 service feature profile |
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,43 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "sdwan_service_feature_profile Resource - terraform-provider-sdwan" | ||
subcategory: "Feature Profiles" | ||
description: |- | ||
This resource can manage a Service Feature Profile . | ||
--- | ||
|
||
# sdwan_service_feature_profile (Resource) | ||
|
||
This resource can manage a Service Feature Profile . | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "sdwan_service_feature_profile" "example" { | ||
name = "SERVICE_FP_1" | ||
description = "My service feature profile 1" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The name of the service feature profile | ||
|
||
### Optional | ||
|
||
- `description` (String) Description | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the object | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import sdwan_service_feature_profile.example "f6b2c44c-693c-4763-b010-895aa3d236bd" | ||
``` |
3 changes: 3 additions & 0 deletions
3
examples/data-sources/sdwan_service_feature_profile/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,3 @@ | ||
data "sdwan_service_feature_profile" "example" { | ||
id = "f6b2c44c-693c-4763-b010-895aa3d236bd" | ||
} |
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_service_feature_profile.example "f6b2c44c-693c-4763-b010-895aa3d236bd" |
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 @@ | ||
resource "sdwan_service_feature_profile" "example" { | ||
name = "SERVICE_FP_1" | ||
description = "My service feature profile 1" | ||
} |
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,16 @@ | ||
--- | ||
name: Service Feature Profile | ||
rest_endpoint: /v1/feature-profile/sdwan/service/ | ||
id_attribute: id | ||
doc_category: Feature Profiles | ||
attributes: | ||
- model_name: name | ||
response_model_name: profileName | ||
type: String | ||
mandatory: true | ||
description: The name of the service feature profile | ||
example: SERVICE_FP_1 | ||
- model_name: description | ||
type: String | ||
description: Description | ||
example: My service feature profile 1 |
104 changes: 104 additions & 0 deletions
104
internal/provider/data_source_sdwan_service_feature_profile.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
54 changes: 54 additions & 0 deletions
54
internal/provider/data_source_sdwan_service_feature_profile_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.