{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-aml-filesystem-update-schema.json",
  "title": "AmlFilesystemUpdate",
  "description": "An AML file system update instance.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-amlfilesystems-api-openapi.yml#/components/schemas/AmlFilesystemUpdate",
  "type": "object",
  "properties": {
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Resource tags."
    },
    "properties": {
      "type": "object",
      "x-ms-client-flatten": true,
      "description": "Properties of the AML file system.",
      "properties": {
        "encryptionSettings": {
          "$ref": "#/$defs/AmlFilesystemEncryptionSettings",
          "description": "Specifies encryption settings of the AML file system."
        },
        "maintenanceWindow": {
          "description": "Start time of a 30-minute weekly maintenance window.",
          "type": "object",
          "properties": {
            "dayOfWeek": {
              "type": "string",
              "enum": [
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday",
                "Sunday"
              ],
              "x-ms-enum": {
                "name": "MaintenanceDayOfWeekType",
                "modelAsString": false
              },
              "description": "Day of the week on which the maintenance window will occur."
            },
            "timeOfDayUTC": {
              "type": "string",
              "pattern": "^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$",
              "description": "The time of day (in UTC) to start the maintenance window."
            }
          }
        }
      }
    }
  },
  "$defs": {
    "AmlFilesystemEncryptionSettings": {
      "description": "AML file system encryption settings.",
      "properties": {
        "keyEncryptionKey": {
          "$ref": "storagecache.json#/definitions/KeyVaultKeyReference",
          "description": "Specifies the location of the encryption key in Key Vault."
        }
      },
      "type": "object"
    }
  }
}