1f2a8e57eSGunnar Mills{ 2f2a8e57eSGunnar Mills "$id": "http://redfish.dmtf.org/schemas/v1/Settings.v1_4_0.json", 3f2a8e57eSGunnar Mills "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 4f2a8e57eSGunnar Mills "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 5f2a8e57eSGunnar Mills "definitions": { 6f2a8e57eSGunnar Mills "ApplyTime": { 7f2a8e57eSGunnar Mills "enum": [ 8f2a8e57eSGunnar Mills "Immediate", 9f2a8e57eSGunnar Mills "OnReset", 10f2a8e57eSGunnar Mills "AtMaintenanceWindowStart", 11f2a8e57eSGunnar Mills "InMaintenanceWindowOnReset" 12f2a8e57eSGunnar Mills ], 13f2a8e57eSGunnar Mills "enumDescriptions": { 14f2a8e57eSGunnar Mills "AtMaintenanceWindowStart": "Apply during a maintenance window as specified by an administrator.", 15f2a8e57eSGunnar Mills "Immediate": "Apply immediately. This value might result in an immediate host reset, manager reset, or other side effects.", 16f2a8e57eSGunnar Mills "InMaintenanceWindowOnReset": "Apply after a reset but within maintenance window as specified by an administrator.", 17f2a8e57eSGunnar Mills "OnReset": "Apply on a reset." 18f2a8e57eSGunnar Mills }, 19f2a8e57eSGunnar Mills "enumLongDescriptions": { 20f2a8e57eSGunnar Mills "AtMaintenanceWindowStart": "This value shall indicate the values within the settings resource are applied during the maintenance window specified by the `MaintenanceWindowStartTime` and `MaintenanceWindowDurationInSeconds` properties. A service can perform resets during this maintenance window.", 21f2a8e57eSGunnar Mills "Immediate": "This value shall indicate the values within the settings resource are applied immediately. This value may result in an immediate host reset, manager reset, or other side effects.", 22f2a8e57eSGunnar Mills "InMaintenanceWindowOnReset": "This value shall indicate the values within the settings resource are applied during the maintenance window specified by the `MaintenanceWindowStartTime` and `MaintenanceWindowDurationInSeconds` properties, and if a reset occurs within the maintenance window.", 23f2a8e57eSGunnar Mills "OnReset": "This value shall indicate the values within settings resource are applied when the system or service is reset." 24f2a8e57eSGunnar Mills }, 25f2a8e57eSGunnar Mills "type": "string" 26f2a8e57eSGunnar Mills }, 27f2a8e57eSGunnar Mills "MaintenanceWindow": { 28f2a8e57eSGunnar Mills "additionalProperties": false, 29f2a8e57eSGunnar Mills "description": "The maintenance window assignment for applying settings or operations to a resource.", 30f2a8e57eSGunnar Mills "longDescription": "This type shall indicate that a resource has a maintenance window assignment for applying settings or operations. Other resources can link to this object to convey a common control surface for the configuration of the maintenance window.", 31f2a8e57eSGunnar Mills "patternProperties": { 32f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 33f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 34f2a8e57eSGunnar Mills "type": [ 35f2a8e57eSGunnar Mills "array", 36f2a8e57eSGunnar Mills "boolean", 37f2a8e57eSGunnar Mills "integer", 38f2a8e57eSGunnar Mills "number", 39f2a8e57eSGunnar Mills "null", 40f2a8e57eSGunnar Mills "object", 41f2a8e57eSGunnar Mills "string" 42f2a8e57eSGunnar Mills ] 43f2a8e57eSGunnar Mills } 44f2a8e57eSGunnar Mills }, 45f2a8e57eSGunnar Mills "properties": { 46f2a8e57eSGunnar Mills "MaintenanceWindowDurationInSeconds": { 47f2a8e57eSGunnar Mills "description": "The expiry time of maintenance window in seconds.", 48f2a8e57eSGunnar Mills "longDescription": "This property shall indicate the end of the maintenance window as the number of seconds after the time specified by the `MaintenanceWindowStartTime` property.", 49f2a8e57eSGunnar Mills "minimum": 0, 50f2a8e57eSGunnar Mills "readonly": false, 51f2a8e57eSGunnar Mills "type": "integer", 52f2a8e57eSGunnar Mills "units": "s", 53f2a8e57eSGunnar Mills "versionAdded": "v1_2_0" 54f2a8e57eSGunnar Mills }, 55f2a8e57eSGunnar Mills "MaintenanceWindowStartTime": { 56f2a8e57eSGunnar Mills "description": "The start time of a maintenance window.", 57f2a8e57eSGunnar Mills "format": "date-time", 58f2a8e57eSGunnar Mills "longDescription": "This property shall indicate the date and time when the service can start to apply the requested settings or operation as part of a maintenance window. Services shall provide a default value if not configured by a user.", 59f2a8e57eSGunnar Mills "readonly": false, 60f2a8e57eSGunnar Mills "type": "string", 61f2a8e57eSGunnar Mills "versionAdded": "v1_2_0" 62f2a8e57eSGunnar Mills } 63f2a8e57eSGunnar Mills }, 64f2a8e57eSGunnar Mills "required": [ 65f2a8e57eSGunnar Mills "MaintenanceWindowStartTime", 66f2a8e57eSGunnar Mills "MaintenanceWindowDurationInSeconds" 67f2a8e57eSGunnar Mills ], 68f2a8e57eSGunnar Mills "type": "object" 69f2a8e57eSGunnar Mills }, 70f2a8e57eSGunnar Mills "OperationApplyTimeSupport": { 71f2a8e57eSGunnar Mills "additionalProperties": false, 72f2a8e57eSGunnar Mills "description": "The client can request a specific apply time of a create, delete, or action operation of a resource.", 73f2a8e57eSGunnar Mills "longDescription": "This type shall indicate that a client can request a specific apply time of a create, delete, or action operation of a resource.", 74f2a8e57eSGunnar Mills "patternProperties": { 75f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 76f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 77f2a8e57eSGunnar Mills "type": [ 78f2a8e57eSGunnar Mills "array", 79f2a8e57eSGunnar Mills "boolean", 80f2a8e57eSGunnar Mills "integer", 81f2a8e57eSGunnar Mills "number", 82f2a8e57eSGunnar Mills "null", 83f2a8e57eSGunnar Mills "object", 84f2a8e57eSGunnar Mills "string" 85f2a8e57eSGunnar Mills ] 86f2a8e57eSGunnar Mills } 87f2a8e57eSGunnar Mills }, 88f2a8e57eSGunnar Mills "properties": { 89f2a8e57eSGunnar Mills "MaintenanceWindowDurationInSeconds": { 90f2a8e57eSGunnar Mills "description": "The expiry time of maintenance window in seconds.", 91f2a8e57eSGunnar Mills "longDescription": "This property shall contain the same as the `MaintenanceWindowDurationInSeconds` property found in the `MaintenanceWindow` structure on the `MaintenanceWindowResource`. This property shall be required if the `SupportedValues` property contains `AtMaintenanceWindowStart` or `InMaintenanceWindowOnReset`.", 92f2a8e57eSGunnar Mills "minimum": 0, 93f2a8e57eSGunnar Mills "readonly": true, 94f2a8e57eSGunnar Mills "type": "integer", 95f2a8e57eSGunnar Mills "units": "s", 96f2a8e57eSGunnar Mills "versionAdded": "v1_2_0" 97f2a8e57eSGunnar Mills }, 98f2a8e57eSGunnar Mills "MaintenanceWindowResource": { 99f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef", 100f2a8e57eSGunnar Mills "description": "The location of the maintenance window settings.", 101f2a8e57eSGunnar Mills "longDescription": "This property shall contain a link to a resource that contains the `@Redfish.MaintenanceWindow` property that governs this resource. This property shall be required if the `SupportedValues` property contains `AtMaintenanceWindowStart` or `InMaintenanceWindowOnReset`.", 102f2a8e57eSGunnar Mills "readonly": true, 103f2a8e57eSGunnar Mills "versionAdded": "v1_2_0" 104f2a8e57eSGunnar Mills }, 105f2a8e57eSGunnar Mills "MaintenanceWindowStartTime": { 106f2a8e57eSGunnar Mills "description": "The start time of a maintenance window.", 107f2a8e57eSGunnar Mills "format": "date-time", 108f2a8e57eSGunnar Mills "longDescription": "This property shall contain the same as the `MaintenanceWindowStartTime` property found in the `MaintenanceWindow` structure on the `MaintenanceWindowResource`. Services shall provide a default value if not configured by a user. This property shall be required if the `SupportedValues` property contains `AtMaintenanceWindowStart` or `InMaintenanceWindowOnReset`.", 109f2a8e57eSGunnar Mills "readonly": true, 110f2a8e57eSGunnar Mills "type": "string", 111f2a8e57eSGunnar Mills "versionAdded": "v1_2_0" 112f2a8e57eSGunnar Mills }, 113f2a8e57eSGunnar Mills "SupportedValues": { 114f2a8e57eSGunnar Mills "description": "The types of apply times that the client can request when performing a create, delete, or action operation.", 115f2a8e57eSGunnar Mills "items": { 116f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/OperationApplyTime" 117f2a8e57eSGunnar Mills }, 118f2a8e57eSGunnar Mills "longDescription": "This property shall indicate the types of apply times the client can request when performing a create, delete, or action operation.", 119f2a8e57eSGunnar Mills "readonly": true, 120f2a8e57eSGunnar Mills "type": "array", 121f2a8e57eSGunnar Mills "versionAdded": "v1_2_0" 122f2a8e57eSGunnar Mills } 123f2a8e57eSGunnar Mills }, 124f2a8e57eSGunnar Mills "required": [ 125f2a8e57eSGunnar Mills "SupportedValues" 126f2a8e57eSGunnar Mills ], 127f2a8e57eSGunnar Mills "type": "object" 128f2a8e57eSGunnar Mills }, 129f2a8e57eSGunnar Mills "PreferredApplyTime": { 130f2a8e57eSGunnar Mills "additionalProperties": false, 131f2a8e57eSGunnar Mills "description": "The preferred time to apply configuration settings.", 132f2a8e57eSGunnar Mills "longDescription": "This type shall be specified by client to indicate the preferred time to apply the configuration settings.", 133f2a8e57eSGunnar Mills "patternProperties": { 134f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 135f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 136f2a8e57eSGunnar Mills "type": [ 137f2a8e57eSGunnar Mills "array", 138f2a8e57eSGunnar Mills "boolean", 139f2a8e57eSGunnar Mills "integer", 140f2a8e57eSGunnar Mills "number", 141f2a8e57eSGunnar Mills "null", 142f2a8e57eSGunnar Mills "object", 143f2a8e57eSGunnar Mills "string" 144f2a8e57eSGunnar Mills ] 145f2a8e57eSGunnar Mills } 146f2a8e57eSGunnar Mills }, 147f2a8e57eSGunnar Mills "properties": { 148f2a8e57eSGunnar Mills "ApplyTime": { 149f2a8e57eSGunnar Mills "$ref": "#/definitions/ApplyTime", 150f2a8e57eSGunnar Mills "description": "The time when to apply the settings.", 151f2a8e57eSGunnar Mills "longDescription": "This property shall indicate when to apply the values in this settings resource.", 152f2a8e57eSGunnar Mills "readonly": false, 153f2a8e57eSGunnar Mills "versionAdded": "v1_1_0" 154f2a8e57eSGunnar Mills }, 155f2a8e57eSGunnar Mills "MaintenanceWindowDurationInSeconds": { 156f2a8e57eSGunnar Mills "description": "The expiry time of maintenance window in seconds.", 157f2a8e57eSGunnar Mills "longDescription": "This property shall indicate the end of the maintenance window as the number of seconds after the time specified by the `MaintenanceWindowStartTime` property. This property shall be required if the `ApplyTime` property is `AtMaintenanceWindowStart` or `InMaintenanceWindowOnReset`.", 158f2a8e57eSGunnar Mills "minimum": 0, 159f2a8e57eSGunnar Mills "readonly": false, 160f2a8e57eSGunnar Mills "type": "integer", 161f2a8e57eSGunnar Mills "units": "s", 162f2a8e57eSGunnar Mills "versionAdded": "v1_1_0" 163f2a8e57eSGunnar Mills }, 164f2a8e57eSGunnar Mills "MaintenanceWindowStartTime": { 165f2a8e57eSGunnar Mills "description": "The start time of a maintenance window.", 166f2a8e57eSGunnar Mills "format": "date-time", 167f2a8e57eSGunnar Mills "longDescription": "This property shall indicate the date and time when the service can start to apply the future configuration as part of a maintenance window. Services shall provide a default value if not configured by a user. This property shall be required if the `ApplyTime` property is `AtMaintenanceWindowStart` or `InMaintenanceWindowOnReset`.", 168f2a8e57eSGunnar Mills "readonly": false, 169f2a8e57eSGunnar Mills "type": "string", 170f2a8e57eSGunnar Mills "versionAdded": "v1_1_0" 171f2a8e57eSGunnar Mills } 172f2a8e57eSGunnar Mills }, 173f2a8e57eSGunnar Mills "type": "object" 174f2a8e57eSGunnar Mills }, 175f2a8e57eSGunnar Mills "Settings": { 176f2a8e57eSGunnar Mills "additionalProperties": false, 177f2a8e57eSGunnar Mills "description": "The resource settings.", 178f2a8e57eSGunnar Mills "longDescription": "This type shall describe any settings of a resource.", 179f2a8e57eSGunnar Mills "patternProperties": { 180f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 181f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 182f2a8e57eSGunnar Mills "type": [ 183f2a8e57eSGunnar Mills "array", 184f2a8e57eSGunnar Mills "boolean", 185f2a8e57eSGunnar Mills "integer", 186f2a8e57eSGunnar Mills "number", 187f2a8e57eSGunnar Mills "null", 188f2a8e57eSGunnar Mills "object", 189f2a8e57eSGunnar Mills "string" 190f2a8e57eSGunnar Mills ] 191f2a8e57eSGunnar Mills } 192f2a8e57eSGunnar Mills }, 193f2a8e57eSGunnar Mills "properties": { 194f2a8e57eSGunnar Mills "ETag": { 195f2a8e57eSGunnar Mills "description": "The entity tag (ETag) of the resource to which the settings were applied, after the application.", 196f2a8e57eSGunnar Mills "longDescription": "This property shall contain the entity tag (ETag) of the resource to which the settings were applied, after the application. The client can check this value against the ETag of this resource to determine whether the resource had other changes.", 197f2a8e57eSGunnar Mills "readonly": true, 198f2a8e57eSGunnar Mills "type": [ 199f2a8e57eSGunnar Mills "string", 200f2a8e57eSGunnar Mills "null" 201f2a8e57eSGunnar Mills ] 202f2a8e57eSGunnar Mills }, 203f2a8e57eSGunnar Mills "MaintenanceWindowResource": { 204f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef", 205f2a8e57eSGunnar Mills "description": "The location of the maintenance window settings.", 206f2a8e57eSGunnar Mills "longDescription": "This property shall contain a link to a resource that contains the `@Redfish.MaintenanceWindow` property that governs this resource. This property should be supported if the `SupportedApplyTimes` property contains `AtMaintenanceWindowStart` or `InMaintenanceWindowOnReset`.", 207f2a8e57eSGunnar Mills "readonly": true, 208f2a8e57eSGunnar Mills "versionAdded": "v1_2_0" 209f2a8e57eSGunnar Mills }, 210f2a8e57eSGunnar Mills "Messages": { 211f2a8e57eSGunnar Mills "description": "An array of messages associated with the settings.", 212f2a8e57eSGunnar Mills "items": { 213f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message" 214f2a8e57eSGunnar Mills }, 215f2a8e57eSGunnar Mills "longDescription": "This property shall contain an array of messages associated with the settings.", 216f2a8e57eSGunnar Mills "type": "array" 217f2a8e57eSGunnar Mills }, 218f2a8e57eSGunnar Mills "SettingsObject": { 219f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef", 220f2a8e57eSGunnar Mills "description": "The link to the resource that the client can `PUT` or `PATCH` to modify the resource.", 221f2a8e57eSGunnar Mills "longDescription": "This property shall contain the URI of the resource that the client can `PUT` or `PATCH` to modify the resource.", 222f2a8e57eSGunnar Mills "readonly": true 223f2a8e57eSGunnar Mills }, 224f2a8e57eSGunnar Mills "SupportedApplyTimes": { 225f2a8e57eSGunnar Mills "description": "The time when the settings can be applied.", 226f2a8e57eSGunnar Mills "items": { 227f2a8e57eSGunnar Mills "$ref": "#/definitions/ApplyTime" 228f2a8e57eSGunnar Mills }, 229f2a8e57eSGunnar Mills "longDescription": "This property shall contain the supported apply time values a client is allowed to request when configuring the settings apply time. Services that do not support clients configuring the apply time can support this property with a single array member in order to inform the client when the settings will be applied.", 230f2a8e57eSGunnar Mills "readonly": true, 231f2a8e57eSGunnar Mills "type": "array", 232f2a8e57eSGunnar Mills "versionAdded": "v1_1_0" 233f2a8e57eSGunnar Mills }, 234f2a8e57eSGunnar Mills "Time": { 235f2a8e57eSGunnar Mills "description": "The time when the settings were applied.", 236f2a8e57eSGunnar Mills "format": "date-time", 237f2a8e57eSGunnar Mills "longDescription": "This property shall indicate the time when the settings were applied to the resource.", 238f2a8e57eSGunnar Mills "readonly": true, 239f2a8e57eSGunnar Mills "type": [ 240f2a8e57eSGunnar Mills "string", 241f2a8e57eSGunnar Mills "null" 242f2a8e57eSGunnar Mills ] 243f2a8e57eSGunnar Mills } 244f2a8e57eSGunnar Mills }, 245f2a8e57eSGunnar Mills "type": "object" 246f2a8e57eSGunnar Mills } 247f2a8e57eSGunnar Mills }, 248f2a8e57eSGunnar Mills "language": "en", 249f2a8e57eSGunnar Mills "owningEntity": "DMTF", 250f2a8e57eSGunnar Mills "release": "2024.1", 251f2a8e57eSGunnar Mills "title": "#Settings.v1_4_0" 252f2a8e57eSGunnar Mills}