-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathschema_source_search_dns.go
44 lines (40 loc) · 1.07 KB
/
schema_source_search_dns.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package main
import (
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)
// Schemas
func sourceSearchDNsFields() map[string]*schema.Schema {
s := map[string]*schema.Schema{
"search_dn": {
Type: schema.TypeString,
Optional: true,
Description: "Active Directory search domain criteria.",
},
"iterate_search_filter": {
Type: schema.TypeString,
Optional: true,
Description: "Active Directory search filter.",
},
"group_membership_search_dn": {
Type: schema.TypeString,
Optional: true,
Description: "Active Directory group membership search criteria.",
},
"group_member_filter_string": {
Type: schema.TypeString,
Optional: true,
Description: "Active Directory group membership search filter.",
},
"search_scope": {
Type: schema.TypeString,
Optional: true,
Description: "Active Directory search scope.",
},
"primary_group_search_dn": {
Type: schema.TypeString,
Optional: true,
Description: "Active Directory primary group search.",
},
}
return s
}