-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sxp domain filter resource and remove default attributes from res…
…ources (#92)
- Loading branch information
1 parent
49be1ad
commit 0664f17
Showing
48 changed files
with
912 additions
and
100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,5 @@ website/vendor | |
|
||
# Keep windows files with windows line endings | ||
*.winfile eol=crlf | ||
|
||
.envrc |
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
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,35 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_sxp_domain_filter Data Source - terraform-provider-ise" | ||
subcategory: "TrustSec" | ||
description: |- | ||
This data source can read the SXP Domain Filter. | ||
--- | ||
|
||
# ise_sxp_domain_filter (Data Source) | ||
|
||
This data source can read the SXP Domain Filter. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "ise_sxp_domain_filter" "example" { | ||
id = "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `id` (String) The id of the object | ||
- `name` (String) Resource name | ||
|
||
### Read-Only | ||
|
||
- `description` (String) Description | ||
- `domains` (String) List of SXP Domains, separated with comma | ||
- `sgt` (String) SGT name or ID. At least one of subnet or sgt or vn should be defined | ||
- `subnet` (String) Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined | ||
- `vn` (String) Virtual Network. At least one of subnet or sgt or vn should be defined |
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
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,48 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_sxp_domain_filter Resource - terraform-provider-ise" | ||
subcategory: "TrustSec" | ||
description: |- | ||
This resource can manage a SXP Domain Filter. | ||
--- | ||
|
||
# ise_sxp_domain_filter (Resource) | ||
|
||
This resource can manage a SXP Domain Filter. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "ise_sxp_domain_filter" "example" { | ||
subnet = "1.0.0.0/24" | ||
vn = "VN1" | ||
domains = "default" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `domains` (String) List of SXP Domains, separated with comma | ||
|
||
### Optional | ||
|
||
- `description` (String) Description | ||
- `name` (String) Resource name | ||
- `sgt` (String) SGT name or ID. At least one of subnet or sgt or vn should be defined | ||
- `subnet` (String) Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined | ||
- `vn` (String) Virtual Network. At least one of subnet or sgt or vn should be defined | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the object | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import ise_sxp_domain_filter.example "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
``` |
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,3 @@ | ||
data "ise_sxp_domain_filter" "example" { | ||
id = "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
} |
1 change: 0 additions & 1 deletion
1
examples/resources/ise_device_admin_authorization_global_exception_rule/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
1 change: 0 additions & 1 deletion
1
examples/resources/ise_network_access_authorization_global_exception_rule/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
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 ise_sxp_domain_filter.example "76d24097-41c4-4558-a4d0-a8c07ac08470" |
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,5 @@ | ||
resource "ise_sxp_domain_filter" "example" { | ||
subnet = "1.0.0.0/24" | ||
vn = "VN1" | ||
domains = "default" | ||
} |
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
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,40 @@ | ||
--- | ||
name: SXP Domain Filter | ||
rest_endpoint: /ers/config/filterpolicy | ||
data_source_name_query: true | ||
skip_minimum_test: true | ||
doc_category: TrustSec | ||
attributes: | ||
- model_name: name | ||
data_path: [ERSFilterPolicy] | ||
type: String | ||
description: Resource name | ||
exclude_test: true | ||
- model_name: description | ||
data_path: [ERSFilterPolicy] | ||
type: String | ||
description: Description | ||
exclude_test: true | ||
- model_name: subnet | ||
data_path: [ERSFilterPolicy] | ||
type: String | ||
description: Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined | ||
example: 1.0.0.0/24 | ||
- model_name: sgt | ||
data_path: [ERSFilterPolicy] | ||
type: String | ||
description: SGT name or ID. At least one of subnet or sgt or vn should be defined | ||
write_only: true | ||
exclude_test: true | ||
- model_name: vn | ||
data_path: [ERSFilterPolicy] | ||
type: String | ||
description: Virtual Network. At least one of subnet or sgt or vn should be defined | ||
example: VN1 | ||
minimum_test_value: VN1 | ||
- model_name: domains | ||
data_path: [ERSFilterPolicy] | ||
type: String | ||
mandatory: true | ||
description: List of SXP Domains, separated with comma | ||
example: default |
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 |
---|---|---|
|
@@ -34,5 +34,4 @@ attributes: | |
write_only: true | ||
type: Bool | ||
description: Read-only | ||
default_value: false | ||
example: false |
4 changes: 0 additions & 4 deletions
4
internal/provider/data_source_ise_device_admin_authorization_global_exception_rule.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
internal/provider/data_source_ise_device_admin_authorization_global_exception_rule_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
internal/provider/data_source_ise_network_access_authorization_global_exception_rule.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
internal/provider/data_source_ise_network_access_authorization_global_exception_rule_test.go
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.