blob: f958f4084fae21a5c13649c4dc32e2d9c26f6e0c [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Gunnar Mills09b9d452020-02-11 13:27:39 -06002 "$id": "http://redfish.dmtf.org/schemas/v1/ManagerAccount.v1_5_0.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/ManagerAccount",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Ed Tanouscb103132019-10-08 11:34:22 -07005 "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
Gunnar Mills6f44b752020-02-06 16:50:51 -06007 "AccountTypes": {
8 "enum": [
9 "Redfish",
10 "SNMP",
11 "OEM"
12 ],
13 "enumDescriptions": {
14 "OEM": "OEM account type.",
15 "Redfish": "Allow access to the Redfish Service.",
16 "SNMP": "Allow access to SNMP services."
17 },
18 "type": "string"
19 },
Ed Tanous118b1c72018-09-13 13:45:51 -070020 "Actions": {
21 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070022 "description": "The available actions for this Resource.",
23 "longDescription": "This type shall contain the available actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070024 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070025 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070026 "description": "This property shall specify a valid odata or Redfish property.",
27 "type": [
28 "array",
29 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080030 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070031 "number",
32 "null",
33 "object",
34 "string"
35 ]
36 }
37 },
38 "properties": {
39 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080040 "$ref": "#/definitions/OemActions",
Ed Tanouscb103132019-10-08 11:34:22 -070041 "description": "The available OEM-specific actions for this Resource.",
42 "longDescription": "This property shall contain the available OEM-specific actions for this Resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060043 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070044 }
45 },
46 "type": "object"
47 },
48 "Links": {
49 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070050 "description": "The links to other Resources that are related to this Resource.",
51 "longDescription": "This Redfish Specification-described type shall contain links to Resources that are related to but are not contained by or subordinate to this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070052 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070053 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070054 "description": "This property shall specify a valid odata or Redfish property.",
55 "type": [
56 "array",
57 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080058 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070059 "number",
60 "null",
61 "object",
62 "string"
63 ]
64 }
65 },
66 "properties": {
67 "Oem": {
68 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -070069 "description": "The OEM extension property.",
70 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -070071 },
72 "Role": {
73 "$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role",
Ed Tanouscb103132019-10-08 11:34:22 -070074 "description": "The link to the Redfish Role that defines the privileges for this account.",
75 "longDescription": "This property shall contain a link to a Role Resource instance, and should link to the Resource identified by the RoleId property.",
Ed Tanous118b1c72018-09-13 13:45:51 -070076 "readonly": true
77 }
78 },
79 "type": "object"
80 },
81 "ManagerAccount": {
82 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070083 "description": "The user accounts, owned by a manager, are defined in this Resource. Changes to a manager account may affect the current Redfish Service connection if this manager is responsible for the Redfish Service.",
84 "longDescription": "This Resource shall represent Resources that represent the user accounts for the manager.",
Ed Tanous118b1c72018-09-13 13:45:51 -070085 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070086 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070087 "description": "This property shall specify a valid odata or Redfish property.",
88 "type": [
89 "array",
90 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080091 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070092 "number",
93 "null",
94 "object",
95 "string"
96 ]
97 }
98 },
99 "properties": {
100 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -0700101 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous118b1c72018-09-13 13:45:51 -0700102 },
103 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -0700104 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -0700105 },
106 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -0700107 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -0700108 },
109 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -0700110 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -0700111 },
Gunnar Mills6f44b752020-02-06 16:50:51 -0600112 "AccountTypes": {
113 "description": "The account types.",
114 "items": {
115 "anyOf": [
116 {
117 "$ref": "#/definitions/AccountTypes"
118 },
119 {
120 "type": "null"
121 }
122 ]
123 },
124 "longDescription": "This property shall contain an array of the various account types that apply to the account. If this property is not provided by the client, the default value shall be an array with the single value `Redfish`.",
125 "readonly": false,
126 "type": "array",
127 "versionAdded": "v1_4_0"
128 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700129 "Actions": {
130 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -0700131 "description": "The available actions for this Resource.",
132 "longDescription": "The actions property shall contain the available actions for this Resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600133 "versionAdded": "v1_1_0"
134 },
135 "Certificates": {
136 "$ref": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json#/definitions/CertificateCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700137 "description": "The link to a collection of certificates used for this account.",
138 "longDescription": "This property shall contain a link to a Resource Collection of type CertificateCollection.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600139 "readonly": true,
140 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700141 },
142 "Description": {
143 "anyOf": [
144 {
145 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
146 },
147 {
148 "type": "null"
149 }
150 ],
151 "readonly": true
152 },
153 "Enabled": {
Gunnar Mills09b9d452020-02-11 13:27:39 -0600154 "description": "An indication of whether an account is enabled. An administrator can disable it without deleting the user information. If `true`, the account is enabled and the user can log in. If `false`, the account is disabled and, in the future, the user cannot log in.",
155 "longDescription": "This property shall indicate whether an account is enabled. If `true`, the account is enabled and the user can log in. If `false`, the account is disabled and, in the future, the user cannot log in.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700156 "readonly": false,
157 "type": "boolean"
158 },
159 "Id": {
160 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
161 "readonly": true
162 },
163 "Links": {
164 "$ref": "#/definitions/Links",
Ed Tanouscb103132019-10-08 11:34:22 -0700165 "description": "The links to other Resources that are related to this Resource.",
166 "longDescription": "This property shall contain links to Resources that are related to but are not contained by or subordinate to this Resource."
Ed Tanous118b1c72018-09-13 13:45:51 -0700167 },
168 "Locked": {
Ed Tanouscb103132019-10-08 11:34:22 -0700169 "description": "An indication of whether the Account Service automatically locked the account because the lockout threshold was exceeded. To manually unlock the account before the lockout duration period, an administrator can change the property to `false` to clear the lockout condition.",
170 "longDescription": "This property shall indicate whether the Account Service automatically locked the account because the AccountLockoutThreshold was exceeded. To manually unlock the account before the lockout duration period, an administrator shall be able to change the property to `false` to clear the lockout condition.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700171 "readonly": false,
172 "type": "boolean"
173 },
174 "Name": {
175 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
176 "readonly": true
177 },
Gunnar Mills6f44b752020-02-06 16:50:51 -0600178 "OEMAccountTypes": {
179 "description": "The OEM account types.",
180 "items": {
181 "type": [
182 "string",
183 "null"
184 ]
185 },
186 "longDescription": "This property shall contain an array of the OEM account types for this account. This property shall be valid when AccountTypes contains `OEM`.",
187 "readonly": false,
188 "type": "array",
189 "versionAdded": "v1_4_0"
190 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700191 "Oem": {
192 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700193 "description": "The OEM extension property.",
194 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -0700195 },
196 "Password": {
Ed Tanouscb103132019-10-08 11:34:22 -0700197 "description": "The password. Use this property with a PATCH or PUT to write the password for the account. This property is `null` in responses.",
198 "longDescription": "This property shall contain the password for this account. The value shall be `null` in responses.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700199 "readonly": false,
200 "type": [
201 "string",
202 "null"
203 ]
204 },
Ed Tanouscb103132019-10-08 11:34:22 -0700205 "PasswordChangeRequired": {
206 "description": "An indication of whether the service requires that the password for this account be changed before further access to the account is allowed.",
207 "longDescription": "This property shall indicate whether the service requires that the password for this account be changed before further access to the account is allowed. The implementation may deny access to the service if the password has not been changed. A manager account created with an initial PasswordChangeRequired value of `true` may force a password change before first access of the account. When the Password property for this account is updated, the service shall set this property to `false`.",
208 "readonly": false,
209 "type": [
210 "boolean",
211 "null"
212 ],
213 "versionAdded": "v1_3_0"
214 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700215 "RoleId": {
Ed Tanouscb103132019-10-08 11:34:22 -0700216 "description": "The Role for this account.",
217 "longDescription": "This property shall contain the RoleId of the Role Resource configured for this account. The Service shall reject POST, PATCH, or PUT operations that provide a RoleId that does not exist by returning the HTTP 400 (Bad Request) status code.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700218 "readonly": false,
219 "type": "string"
220 },
Gunnar Mills6f44b752020-02-06 16:50:51 -0600221 "SNMP": {
222 "anyOf": [
223 {
224 "$ref": "#/definitions/SNMPUserInfo"
225 },
226 {
227 "type": "null"
228 }
229 ],
230 "description": "The SNMP settings for this account.",
231 "longDescription": "This property shall contain the SNMP settings for this account when AccountTypes contains `SNMP`.",
232 "versionAdded": "v1_4_0"
233 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700234 "UserName": {
Ed Tanouscb103132019-10-08 11:34:22 -0700235 "description": "The user name for the account.",
236 "longDescription": "This property shall contain the user name for this account.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700237 "readonly": false,
238 "type": "string"
239 }
240 },
241 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800242 "@odata.id",
243 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700244 "Id",
Gunnar Mills6f44b752020-02-06 16:50:51 -0600245 "Name",
246 "AccountTypes"
Ed Tanous118b1c72018-09-13 13:45:51 -0700247 ],
248 "requiredOnCreate": [
249 "Password",
250 "UserName",
251 "RoleId"
252 ],
253 "type": "object"
254 },
255 "OemActions": {
256 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700257 "description": "The available OEM-specific actions for this Resource.",
258 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700259 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700260 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700261 "description": "This property shall specify a valid odata or Redfish property.",
262 "type": [
263 "array",
264 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800265 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700266 "number",
267 "null",
268 "object",
269 "string"
270 ]
271 }
272 },
273 "properties": {},
274 "type": "object"
Gunnar Mills6f44b752020-02-06 16:50:51 -0600275 },
276 "SNMPAuthenticationProtocols": {
277 "enum": [
278 "None",
279 "HMAC_MD5",
280 "HMAC_SHA96"
281 ],
282 "enumDescriptions": {
283 "HMAC_MD5": "HMAC-MD5-96 authentication.",
284 "HMAC_SHA96": "HMAC-SHA-96 authentication.",
285 "None": "No authentication."
286 },
287 "enumLongDescriptions": {
288 "HMAC_MD5": "This value shall indicate authentication conforms to the RFC3414-defined HMAC-MD5-96 authentication protocol.",
289 "HMAC_SHA96": "This value shall indicate authentication conforms to the RFC3414-defined HMAC-SHA-96 authentication protocol.",
290 "None": "This value shall indicate authentication is not required."
291 },
292 "type": "string"
293 },
294 "SNMPEncryptionProtocols": {
295 "enum": [
296 "None",
297 "CBC_DES",
298 "CFB128_AES128"
299 ],
300 "enumDescriptions": {
301 "CBC_DES": "CBC-DES encryption.",
302 "CFB128_AES128": "CFB128-AES-128 encryption.",
303 "None": "No encryption."
304 },
305 "enumLongDescriptions": {
306 "CBC_DES": "This value shall indicate encryption conforms to the RFC3414-defined CBC-DES encryption protocol.",
307 "CFB128_AES128": "This value shall indicate encryption conforms to the RFC3414-defined CFB128-AES-128 encryption protocol.",
308 "None": "This value shall indicate there is no encryption."
309 },
310 "type": "string"
311 },
312 "SNMPUserInfo": {
313 "additionalProperties": false,
314 "description": "The SNMP settings for an account.",
315 "longDescription": "This object shall contain the SNMP settings for an account.",
316 "patternProperties": {
317 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
318 "description": "This property shall specify a valid odata or Redfish property.",
319 "type": [
320 "array",
321 "boolean",
322 "integer",
323 "number",
324 "null",
325 "object",
326 "string"
327 ]
328 }
329 },
330 "properties": {
331 "AuthenticationKey": {
332 "description": "The secret authentication key for SNMPv3.",
333 "longDescription": "This property shall contain the key for SNMPv3 authentication. The value shall be `null` in responses.",
334 "pattern": "(^[A-Za-z0-9]+$)|(^\\*+$)",
335 "readonly": false,
336 "type": [
337 "string",
338 "null"
339 ],
340 "versionAdded": "v1_4_0"
341 },
Gunnar Mills09b9d452020-02-11 13:27:39 -0600342 "AuthenticationKeySet": {
343 "description": "Indicates if the AuthenticationKey property is set.",
344 "longDescription": "This property shall contain `true` if a valid value was provided for the AuthenticationKey property. Otherwise, the property shall contain `false`.",
345 "readonly": true,
346 "type": "boolean",
347 "versionAdded": "v1_5_0"
348 },
Gunnar Mills6f44b752020-02-06 16:50:51 -0600349 "AuthenticationProtocol": {
350 "anyOf": [
351 {
352 "$ref": "#/definitions/SNMPAuthenticationProtocols"
353 },
354 {
355 "type": "null"
356 }
357 ],
358 "description": "The authentication protocol for SNMPv3.",
359 "longDescription": "This property shall contain the SNMPv3 authentication protocol.",
360 "readonly": false,
361 "versionAdded": "v1_4_0"
362 },
363 "EncryptionKey": {
364 "description": "The secret authentication key used in SNMPv3.",
365 "longDescription": "This property shall contain the key for SNMPv3 encryption. The value shall be `null` in responses.",
366 "pattern": "(^[A-Za-z0-9]+$)|(^\\*+$)",
367 "readonly": false,
368 "type": [
369 "string",
370 "null"
371 ],
372 "versionAdded": "v1_4_0"
373 },
Gunnar Mills09b9d452020-02-11 13:27:39 -0600374 "EncryptionKeySet": {
375 "description": "Indicates if the EncryptionKey property is set.",
376 "longDescription": "This property shall contain `true` if a valid value was provided for the EncryptionKey property. Otherwise, the property shall contain `false`.",
377 "readonly": true,
378 "type": "boolean",
379 "versionAdded": "v1_5_0"
380 },
Gunnar Mills6f44b752020-02-06 16:50:51 -0600381 "EncryptionProtocol": {
382 "anyOf": [
383 {
384 "$ref": "#/definitions/SNMPEncryptionProtocols"
385 },
386 {
387 "type": "null"
388 }
389 ],
390 "description": "The encryption protocol for SNMPv3.",
391 "longDescription": "This property shall contain the SNMPv3 encryption protocol.",
392 "readonly": false,
393 "versionAdded": "v1_4_0"
394 }
395 },
396 "type": "object"
Ed Tanous118b1c72018-09-13 13:45:51 -0700397 }
398 },
399 "owningEntity": "DMTF",
Gunnar Mills09b9d452020-02-11 13:27:39 -0600400 "release": "2019.4",
401 "title": "#ManagerAccount.v1_5_0.ManagerAccount"
Ed Tanous118b1c72018-09-13 13:45:51 -0700402}