|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "ise_network_access_authorization_global_exception_rule Resource - terraform-provider-ise" |
| 4 | +subcategory: "Policy" |
| 5 | +description: |- |
| 6 | + This resource can manage a Network Access Authorization Global Exception Rule. |
| 7 | +--- |
| 8 | + |
| 9 | +# ise_network_access_authorization_global_exception_rule (Resource) |
| 10 | + |
| 11 | +This resource can manage a Network Access Authorization Global Exception Rule. |
| 12 | + |
| 13 | +## Example Usage |
| 14 | + |
| 15 | +```terraform |
| 16 | +resource "ise_network_access_authorization_global_exception_rule" "example" { |
| 17 | + name = "Rule1" |
| 18 | + default = false |
| 19 | + rank = 0 |
| 20 | + state = "enabled" |
| 21 | + condition_type = "ConditionAttributes" |
| 22 | + condition_is_negate = false |
| 23 | + condition_attribute_name = "Location" |
| 24 | + condition_attribute_value = "All Locations" |
| 25 | + condition_dictionary_name = "DEVICE" |
| 26 | + condition_operator = "equals" |
| 27 | + profiles = ["PermitAccess"] |
| 28 | + security_group = "BYOD" |
| 29 | +} |
| 30 | +``` |
| 31 | + |
| 32 | +<!-- schema generated by tfplugindocs --> |
| 33 | +## Schema |
| 34 | + |
| 35 | +### Required |
| 36 | + |
| 37 | +- `name` (String) Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses] |
| 38 | + |
| 39 | +### Optional |
| 40 | + |
| 41 | +- `children` (Attributes List) List of child conditions. `condition_type` must be one of `ConditionAndBlock`, `ConditionOrBlock`, `ConditionAttributes` or `ConditionReference`. (see [below for nested schema](#nestedatt--children)) |
| 42 | +- `condition_attribute_name` (String) Dictionary attribute name |
| 43 | +- `condition_attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. |
| 44 | +- `condition_dictionary_name` (String) Dictionary name |
| 45 | +- `condition_dictionary_value` (String) Dictionary value |
| 46 | +- `condition_id` (String) UUID for condition |
| 47 | +- `condition_is_negate` (Boolean) Indicates whereas this condition is in negate mode |
| 48 | +- `condition_operator` (String) Equality operator |
| 49 | + - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` |
| 50 | +- `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. |
| 51 | + - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` |
| 52 | +- `default` (Boolean) Indicates if this rule is the default one |
| 53 | +- `profiles` (List of String) The authorization profile(s) |
| 54 | +- `rank` (Number) The rank (priority) in relation to other rules. Lower rank is higher priority. |
| 55 | +- `security_group` (String) Security group used in authorization policies |
| 56 | +- `state` (String) The state that the rule is in. A disabled rule cannot be matched. |
| 57 | + - Choices: `disabled`, `enabled`, `monitor` |
| 58 | + |
| 59 | +### Read-Only |
| 60 | + |
| 61 | +- `id` (String) The id of the object |
| 62 | + |
| 63 | +<a id="nestedatt--children"></a> |
| 64 | +### Nested Schema for `children` |
| 65 | + |
| 66 | +Required: |
| 67 | + |
| 68 | +- `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. |
| 69 | + - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` |
| 70 | + |
| 71 | +Optional: |
| 72 | + |
| 73 | +- `attribute_name` (String) Dictionary attribute name |
| 74 | +- `attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. |
| 75 | +- `children` (Attributes List) List of child conditions. `condition_type` must be one of `ConditionAndBlock`, `ConditionOrBlock`, `ConditionAttributes` or `ConditionReference`. (see [below for nested schema](#nestedatt--children--children)) |
| 76 | +- `dictionary_name` (String) Dictionary name |
| 77 | +- `dictionary_value` (String) Dictionary value |
| 78 | +- `id` (String) UUID for condition |
| 79 | +- `is_negate` (Boolean) Indicates whereas this condition is in negate mode |
| 80 | +- `operator` (String) Equality operator |
| 81 | + - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` |
| 82 | + |
| 83 | +<a id="nestedatt--children--children"></a> |
| 84 | +### Nested Schema for `children.children` |
| 85 | + |
| 86 | +Required: |
| 87 | + |
| 88 | +- `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. |
| 89 | + - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference` |
| 90 | + |
| 91 | +Optional: |
| 92 | + |
| 93 | +- `attribute_name` (String) Dictionary attribute name |
| 94 | +- `attribute_value` (String) Attribute value for condition. Value type is specified in dictionary object. |
| 95 | +- `dictionary_name` (String) Dictionary name |
| 96 | +- `dictionary_value` (String) Dictionary value |
| 97 | +- `id` (String) UUID for condition |
| 98 | +- `is_negate` (Boolean) Indicates whereas this condition is in negate mode |
| 99 | +- `operator` (String) Equality operator |
| 100 | + - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith` |
| 101 | + |
| 102 | +## Import |
| 103 | + |
| 104 | +Import is supported using the following syntax: |
| 105 | + |
| 106 | +```shell |
| 107 | +terraform import ise_network_access_authorization_global_exception_rule.example "76d24097-41c4-4558-a4d0-a8c07ac08470" |
| 108 | +``` |
0 commit comments