-
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
1,808 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,72 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_device_admin_condition Data Source - terraform-provider-ise" | ||
subcategory: "Policy" | ||
description: |- | ||
This data source can read the Device Admin Condition. | ||
--- | ||
|
||
# ise_device_admin_condition (Data Source) | ||
|
||
This data source can read the Device Admin Condition. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "ise_device_admin_condition" "example" { | ||
id = "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `id` (String) The id of the object | ||
- `name` (String) Condition name | ||
|
||
### Read-Only | ||
|
||
- `attribute_name` (String) Dictionary attribute name | ||
- `attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. | ||
- `children` (Attributes List) List of child conditions. `condition_type` must be one of `ConditionAndBlock`, `ConditionOrBlock`, `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. (see [below for nested schema](#nestedatt--children)) | ||
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. | ||
- `description` (String) Condition description | ||
- `dictionary_name` (String) Dictionary name | ||
- `dictionary_value` (String) Dictionary value | ||
- `is_negate` (Boolean) Indicates whereas this condition is in negate mode | ||
- `operator` (String) Equality operator | ||
|
||
<a id="nestedatt--children"></a> | ||
### Nested Schema for `children` | ||
|
||
Read-Only: | ||
|
||
- `attribute_name` (String) Dictionary attribute name | ||
- `attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. | ||
- `children` (Attributes List) List of child conditions. `condition_type` must be one of `ConditionAndBlock`, `ConditionOrBlock`, `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. (see [below for nested schema](#nestedatt--children--children)) | ||
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. | ||
- `description` (String) Condition description | ||
- `dictionary_name` (String) Dictionary name | ||
- `dictionary_value` (String) Dictionary value | ||
- `id` (String) UUID for condition | ||
- `is_negate` (Boolean) Indicates whereas this condition is in negate mode | ||
- `name` (String) Condition name | ||
- `operator` (String) Equality operator | ||
|
||
<a id="nestedatt--children--children"></a> | ||
### Nested Schema for `children.children` | ||
|
||
Read-Only: | ||
|
||
- `attribute_name` (String) Dictionary attribute name | ||
- `attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. | ||
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. | ||
- `description` (String) Condition description | ||
- `dictionary_name` (String) Dictionary name | ||
- `dictionary_value` (String) Dictionary value | ||
- `id` (String) UUID for condition | ||
- `is_negate` (Boolean) Indicates whereas this condition is in negate mode | ||
- `name` (String) Condition name | ||
- `operator` (String) Equality operator |
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,102 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_device_admin_condition Resource - terraform-provider-ise" | ||
subcategory: "Policy" | ||
description: |- | ||
This resource can manage a Device Admin Condition. | ||
--- | ||
|
||
# ise_device_admin_condition (Resource) | ||
|
||
This resource can manage a Device Admin Condition. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "ise_device_admin_condition" "example" { | ||
name = "Cond1" | ||
description = "My description" | ||
condition_type = "LibraryConditionAttributes" | ||
is_negate = false | ||
attribute_name = "EapAuthentication" | ||
attribute_value = "EAP-TLS" | ||
dictionary_name = "Network Access" | ||
operator = "equals" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. | ||
- Choices: `LibraryConditionAndBlock`, `LibraryConditionAttributes`, `LibraryConditionOrBlock` | ||
- `name` (String) Condition name | ||
|
||
### Optional | ||
|
||
- `attribute_name` (String) Dictionary attribute name | ||
- `attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. | ||
- `children` (Attributes List) List of child conditions. `condition_type` must be one of `ConditionAndBlock`, `ConditionOrBlock`, `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. (see [below for nested schema](#nestedatt--children)) | ||
- `description` (String) Condition description | ||
- `dictionary_name` (String) Dictionary name | ||
- `dictionary_value` (String) Dictionary value | ||
- `is_negate` (Boolean) Indicates whereas this condition is in negate mode | ||
- `operator` (String) Equality operator | ||
- Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the object | ||
|
||
<a id="nestedatt--children"></a> | ||
### Nested Schema for `children` | ||
|
||
Required: | ||
|
||
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. | ||
- Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` | ||
|
||
Optional: | ||
|
||
- `attribute_name` (String) Dictionary attribute name | ||
- `attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. | ||
- `children` (Attributes List) List of child conditions. `condition_type` must be one of `ConditionAndBlock`, `ConditionOrBlock`, `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. (see [below for nested schema](#nestedatt--children--children)) | ||
- `description` (String) Condition description | ||
- `dictionary_name` (String) Dictionary name | ||
- `dictionary_value` (String) Dictionary value | ||
- `id` (String) UUID for condition | ||
- `is_negate` (Boolean) Indicates whereas this condition is in negate mode | ||
- `name` (String) Condition name | ||
- `operator` (String) Equality operator | ||
- Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` | ||
|
||
<a id="nestedatt--children--children"></a> | ||
### Nested Schema for `children.children` | ||
|
||
Required: | ||
|
||
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. | ||
- Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` | ||
|
||
Optional: | ||
|
||
- `attribute_name` (String) Dictionary attribute name | ||
- `attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. | ||
- `description` (String) Condition description | ||
- `dictionary_name` (String) Dictionary name | ||
- `dictionary_value` (String) Dictionary value | ||
- `id` (String) UUID for condition | ||
- `is_negate` (Boolean) Indicates whereas this condition is in negate mode | ||
- `name` (String) Condition name | ||
- `operator` (String) Equality operator | ||
- Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import ise_device_admin_condition.example "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
``` |
3 changes: 3 additions & 0 deletions
3
examples/data-sources/ise_device_admin_condition/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 "ise_device_admin_condition" "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_device_admin_condition.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,10 @@ | ||
resource "ise_device_admin_condition" "example" { | ||
name = "Cond1" | ||
description = "My description" | ||
condition_type = "LibraryConditionAttributes" | ||
is_negate = false | ||
attribute_name = "EapAuthentication" | ||
attribute_value = "EAP-TLS" | ||
dictionary_name = "Network Access" | ||
operator = "equals" | ||
} |
Oops, something went wrong.