-
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.
- Loading branch information
Showing
15 changed files
with
819 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,33 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_downloadable_acl Data Source - terraform-provider-ise" | ||
subcategory: "Policy" | ||
description: |- | ||
This data source can read the Downloadable ACL. | ||
--- | ||
|
||
# ise_downloadable_acl (Data Source) | ||
|
||
This data source can read the Downloadable ACL. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "ise_downloadable_acl" "example" { | ||
id = "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `id` (String) The id of the object | ||
- `name` (String) The name of the downloadable ACL | ||
|
||
### Read-Only | ||
|
||
- `dacl` (String) The DACL content | ||
- `dacl_type` (String) The type of ACL | ||
- `description` (String) Description |
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,49 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_downloadable_acl Resource - terraform-provider-ise" | ||
subcategory: "Policy" | ||
description: |- | ||
This resource can manage a Downloadable ACL. | ||
--- | ||
|
||
# ise_downloadable_acl (Resource) | ||
|
||
This resource can manage a Downloadable ACL. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "ise_downloadable_acl" "example" { | ||
name = "MyACL" | ||
description = "My first downloadable ACL" | ||
dacl = "permit ip any any" | ||
dacl_type = "IPV4" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `dacl` (String) The DACL content | ||
- `name` (String) The name of the downloadable ACL | ||
|
||
### Optional | ||
|
||
- `dacl_type` (String) The type of ACL | ||
- Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` | ||
- Default value: `IPV4` | ||
- `description` (String) Description | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the object | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import ise_downloadable_acl.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,3 @@ | ||
data "ise_downloadable_acl" "example" { | ||
id = "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 @@ | ||
terraform import ise_downloadable_acl.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,6 @@ | ||
resource "ise_downloadable_acl" "example" { | ||
name = "MyACL" | ||
description = "My first downloadable ACL" | ||
dacl = "permit ip any any" | ||
dacl_type = "IPV4" | ||
} |
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,30 @@ | ||
--- | ||
name: Downloadable ACL | ||
rest_endpoint: /ers/config/downloadableacl | ||
data_source_name_query: true | ||
doc_category: Policy | ||
attributes: | ||
- model_name: name | ||
data_path: [DownloadableAcl] | ||
type: String | ||
mandatory: true | ||
description: The name of the downloadable ACL | ||
example: MyACL | ||
- model_name: description | ||
data_path: [DownloadableAcl] | ||
type: String | ||
description: Description | ||
example: My first downloadable ACL | ||
- model_name: dacl | ||
data_path: [DownloadableAcl] | ||
type: String | ||
mandatory: true | ||
description: The DACL content | ||
example: permit ip any any | ||
- model_name: daclType | ||
data_path: [DownloadableAcl] | ||
type: String | ||
enum_values: [IPV4, IPV6, IP_AGNOSTIC] | ||
description: The type of ACL | ||
default_value: IPV4 | ||
example: IPV4 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
72 changes: 72 additions & 0 deletions
72
internal/provider/data_source_ise_downloadable_acl_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.