-
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 active directory add groups and join domain with all nodes resour…
…ces (#36)
- Loading branch information
1 parent
7a1df44
commit e12724a
Showing
57 changed files
with
1,375 additions
and
141 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_active_directory_add_groups Resource - terraform-provider-ise" | ||
subcategory: "Identity Management" | ||
description: |- | ||
This resource can manage an Active Directory Add Groups. | ||
--- | ||
|
||
# ise_active_directory_add_groups (Resource) | ||
|
||
This resource can manage an Active Directory Add Groups. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "ise_active_directory_add_groups" "example" { | ||
join_point_id = "73808580-b6e6-11ee-8960-de6d7692bc40" | ||
name = "cisco.local" | ||
description = "My AD join point" | ||
domain = "cisco.local" | ||
ad_scopes_names = "Default_Scope" | ||
enable_domain_allowed_list = true | ||
groups = [ | ||
{ | ||
name = "cisco.local/operators" | ||
sid = "S-1-5-32-548" | ||
type = "GLOBAL" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `domain` (String) AD domain associated with the join point | ||
- `join_point_id` (String) Active Directory Join Point ID | ||
- `name` (String) The name of the active directory join point | ||
|
||
### Optional | ||
|
||
- `ad_scopes_names` (String) String that contains the names of the scopes that the active directory belongs to. Names are separated by comm | ||
- Default value: `Default_Scope` | ||
- `description` (String) Join point Description | ||
- `enable_domain_allowed_list` (Boolean) - Default value: `true` | ||
- `groups` (Attributes List) List of AD Groups (see [below for nested schema](#nestedatt--groups)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the object | ||
|
||
<a id="nestedatt--groups"></a> | ||
### Nested Schema for `groups` | ||
|
||
Required: | ||
|
||
- `name` (String) Required for each group in the group list with no duplication between groups | ||
- `sid` (String) Required for each group in the group list with no duplication between groups | ||
|
||
Optional: | ||
|
||
- `type` (String) |
45 changes: 45 additions & 0 deletions
45
docs/resources/active_directory_join_domain_with_all_nodes.md
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,45 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_active_directory_join_domain_with_all_nodes Resource - terraform-provider-ise" | ||
subcategory: "Identity Management" | ||
description: |- | ||
This resource can manage an Active Directory Join Domain with All Nodes. | ||
--- | ||
|
||
# ise_active_directory_join_domain_with_all_nodes (Resource) | ||
|
||
This resource can manage an Active Directory Join Domain with All Nodes. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "ise_active_directory_join_domain_with_all_nodes" "example" { | ||
join_point_id = "73808580-b6e6-11ee-8960-de6d7692bc40" | ||
additional_data = [ | ||
{ | ||
name = "username" | ||
value = "administrator" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `additional_data` (Attributes List) (see [below for nested schema](#nestedatt--additional_data)) | ||
- `join_point_id` (String) Active Directory Join Point ID | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the object | ||
|
||
<a id="nestedatt--additional_data"></a> | ||
### Nested Schema for `additional_data` | ||
|
||
Required: | ||
|
||
- `name` (String) Additional attribute name | ||
- `value` (String) Additional attribute value |
15 changes: 15 additions & 0 deletions
15
examples/resources/ise_active_directory_add_groups/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
resource "ise_active_directory_add_groups" "example" { | ||
join_point_id = "73808580-b6e6-11ee-8960-de6d7692bc40" | ||
name = "cisco.local" | ||
description = "My AD join point" | ||
domain = "cisco.local" | ||
ad_scopes_names = "Default_Scope" | ||
enable_domain_allowed_list = true | ||
groups = [ | ||
{ | ||
name = "cisco.local/operators" | ||
sid = "S-1-5-32-548" | ||
type = "GLOBAL" | ||
} | ||
] | ||
} |
9 changes: 9 additions & 0 deletions
9
examples/resources/ise_active_directory_join_domain_with_all_nodes/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resource "ise_active_directory_join_domain_with_all_nodes" "example" { | ||
join_point_id = "73808580-b6e6-11ee-8960-de6d7692bc40" | ||
additional_data = [ | ||
{ | ||
name = "username" | ||
value = "administrator" | ||
} | ||
] | ||
} |
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,69 @@ | ||
--- | ||
name: Active Directory Add Groups | ||
rest_endpoint: /ers/config/activedirectory/%v/addGroups | ||
doc_category: Identity Management | ||
no_delete: true | ||
put_create: true | ||
no_update: true | ||
no_read: true | ||
no_import: true | ||
no_data_source: true | ||
skip_minimum_test: true | ||
test_tags: [AD] | ||
attributes: | ||
- tf_name: join_point_id | ||
type: String | ||
reference: true | ||
id: true | ||
description: Active Directory Join Point ID | ||
example: 73808580-b6e6-11ee-8960-de6d7692bc40 | ||
- model_name: name | ||
data_path: [ERSActiveDirectory] | ||
type: String | ||
mandatory: true | ||
description: The name of the active directory join point | ||
example: cisco.local | ||
- model_name: description | ||
data_path: [ERSActiveDirectory] | ||
type: String | ||
requires_replace: true | ||
description: Join point Description | ||
example: My AD join point | ||
- model_name: domain | ||
data_path: [ERSActiveDirectory] | ||
type: String | ||
mandatory: true | ||
description: AD domain associated with the join point | ||
example: cisco.local | ||
- model_name: adScopesNames | ||
data_path: [ERSActiveDirectory] | ||
type: String | ||
description: String that contains the names of the scopes that the active directory belongs to. Names are separated by comm | ||
default_value: Default_Scope | ||
example: Default_Scope | ||
- model_name: enableDomainAllowedList | ||
data_path: [ERSActiveDirectory] | ||
type: Bool | ||
default_value: true | ||
example: true | ||
- model_name: groups | ||
description: List of AD Groups | ||
data_path: [ERSActiveDirectory,adgroups] | ||
type: List | ||
attributes: | ||
- model_name: name | ||
type: String | ||
mandatory: true | ||
description: Required for each group in the group list with no duplication between groups | ||
example: cisco.local/operators | ||
- model_name: sid | ||
type: String | ||
mandatory: true | ||
id: true | ||
description: Required for each group in the group list with no duplication between groups | ||
example: S-1-5-32-548 | ||
- model_name: type | ||
type: String | ||
write_only: true | ||
example: GLOBAL | ||
|
35 changes: 35 additions & 0 deletions
35
gen/definitions/active_directory_join_domain_with_all_nodes.yaml
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 @@ | ||
--- | ||
name: Active Directory Join Domain with All Nodes | ||
rest_endpoint: /ers/config/activedirectory/%v/joinAllNodes | ||
delete_rest_endpoint: /ers/config/activedirectory/%v/leaveAllNodes | ||
doc_category: Identity Management | ||
put_delete: true | ||
no_read: true | ||
put_create: true | ||
no_import: true | ||
no_data_source: true | ||
skip_minimum_test: true | ||
test_tags: [AD] | ||
attributes: | ||
- tf_name: join_point_id | ||
type: String | ||
reference: true | ||
id: true | ||
description: Active Directory Join Point ID | ||
example: 73808580-b6e6-11ee-8960-de6d7692bc40 | ||
- model_name: additionalData | ||
data_path: [OperationAdditionalData] | ||
type: List | ||
mandatory: true | ||
attributes: | ||
- model_name: name | ||
type: String | ||
id: true | ||
mandatory: true | ||
description: Additional attribute name | ||
example: username | ||
- model_name: value | ||
type: String | ||
mandatory: true | ||
description: Additional attribute value | ||
example: administrator |
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
Oops, something went wrong.