/
azurermNetappAccount.go
206 lines (202 loc) · 6.29 KB
/
azurermNetappAccount.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
package resource
import (
"encoding/json"
tfjson "github.com/hashicorp/terraform-json"
)
const azurermNetappAccount = `{
"block": {
"attributes": {
"id": {
"computed": true,
"description_kind": "plain",
"optional": true,
"type": "string"
},
"location": {
"description_kind": "plain",
"required": true,
"type": "string"
},
"name": {
"description_kind": "plain",
"required": true,
"type": "string"
},
"resource_group_name": {
"description_kind": "plain",
"required": true,
"type": "string"
},
"tags": {
"description_kind": "plain",
"optional": true,
"type": [
"map",
"string"
]
}
},
"block_types": {
"active_directory": {
"block": {
"attributes": {
"aes_encryption_enabled": {
"description": "If enabled, AES encryption will be enabled for SMB communication.",
"description_kind": "plain",
"optional": true,
"type": "bool"
},
"dns_servers": {
"description_kind": "plain",
"required": true,
"type": [
"list",
"string"
]
},
"domain": {
"description_kind": "plain",
"required": true,
"type": "string"
},
"kerberos_ad_name": {
"description": "Name of the active directory machine. This optional parameter is used only while creating kerberos volume.",
"description_kind": "plain",
"optional": true,
"type": "string"
},
"kerberos_kdc_ip": {
"description": "IP address of the KDC server (usually same the DC). This optional parameter is used only while creating kerberos volume.",
"description_kind": "plain",
"optional": true,
"type": "string"
},
"ldap_over_tls_enabled": {
"description": "Specifies whether or not the LDAP traffic needs to be secured via TLS.",
"description_kind": "plain",
"optional": true,
"type": "bool"
},
"ldap_signing_enabled": {
"description": "Specifies whether or not the LDAP traffic needs to be signed.",
"description_kind": "plain",
"optional": true,
"type": "bool"
},
"local_nfs_users_with_ldap_allowed": {
"description": "If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.",
"description_kind": "plain",
"optional": true,
"type": "bool"
},
"organizational_unit": {
"description": "The Organizational Unit (OU) within the Windows Active Directory where machines will be created. If blank, defaults to 'CN=Computers'",
"description_kind": "plain",
"optional": true,
"type": "string"
},
"password": {
"description_kind": "plain",
"required": true,
"sensitive": true,
"type": "string"
},
"server_root_ca_certificate": {
"description": "When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.",
"description_kind": "plain",
"optional": true,
"sensitive": true,
"type": "string"
},
"site_name": {
"description": "The Active Directory site the service will limit Domain Controller discovery to. If blank, defaults to 'Default-First-Site-Name'",
"description_kind": "plain",
"optional": true,
"type": "string"
},
"smb_server_name": {
"description_kind": "plain",
"required": true,
"type": "string"
},
"username": {
"description_kind": "plain",
"required": true,
"type": "string"
}
},
"description_kind": "plain"
},
"max_items": 1,
"nesting_mode": "list"
},
"identity": {
"block": {
"attributes": {
"identity_ids": {
"description_kind": "plain",
"optional": true,
"type": [
"set",
"string"
]
},
"principal_id": {
"computed": true,
"description_kind": "plain",
"type": "string"
},
"tenant_id": {
"computed": true,
"description_kind": "plain",
"type": "string"
},
"type": {
"description_kind": "plain",
"required": true,
"type": "string"
}
},
"description_kind": "plain"
},
"max_items": 1,
"nesting_mode": "list"
},
"timeouts": {
"block": {
"attributes": {
"create": {
"description_kind": "plain",
"optional": true,
"type": "string"
},
"delete": {
"description_kind": "plain",
"optional": true,
"type": "string"
},
"read": {
"description_kind": "plain",
"optional": true,
"type": "string"
},
"update": {
"description_kind": "plain",
"optional": true,
"type": "string"
}
},
"description_kind": "plain"
},
"nesting_mode": "single"
}
},
"description_kind": "plain"
},
"version": 0
}`
func AzurermNetappAccountSchema() *tfjson.Schema {
var result tfjson.Schema
_ = json.Unmarshal([]byte(azurermNetappAccount), &result)
return &result
}