{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fsx/json-schema/amazon-fsx-update-storage-virtual-machine-request-schema.json",
  "title": "UpdateStorageVirtualMachineRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fsx-storage-virtual-machine-api-openapi.yml#/components/schemas/UpdateStorageVirtualMachineRequest",
  "type": "object",
  "properties": {
    "ActiveDirectoryConfiguration": {
      "$ref": "#/$defs/UpdateSvmActiveDirectoryConfiguration"
    },
    "ClientRequestToken": {
      "type": "string"
    },
    "StorageVirtualMachineId": {
      "type": "string",
      "description": "The ID of the SVM that you want to update, in the format svm-0123456789abcdef0."
    },
    "SvmAdminPassword": {
      "type": "string",
      "description": "Specifies a new SvmAdminPassword."
    }
  },
  "required": [
    "StorageVirtualMachineId"
  ],
  "$defs": {
    "SelfManagedActiveDirectoryConfigurationUpdates": {
      "type": "object",
      "properties": {
        "UserName": {
          "type": "string",
          "description": "Specifies the updated user name for the service account on your self-managed Active Directory domain. Amazon FSx uses this account to join to your self-managed Active Directory domain. This account must have the permissions required to join computers to the domain in the organizational unit provided in OrganizationalUnitDistinguishedName."
        },
        "Password": {
          "type": "string",
          "description": "Specifies the updated password for the service account on your self-managed Active Directory domain. Amazon FSx uses this account to join to your self-managed Active Directory domain."
        },
        "DnsIps": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of up to three DNS server or domain controller IP addresses in your self-managed Active Directory domain."
        },
        "DomainName": {
          "type": "string",
          "description": "Specifies an updated fully qualified domain name of your self-managed Active Directory configuration."
        },
        "OrganizationalUnitDistinguishedName": {
          "type": "string",
          "description": "Specifies an updated fully qualified distinguished name of the organization unit within your self-managed Active Directory."
        },
        "FileSystemAdministratorsGroup": {
          "type": "string",
          "description": "For FSx for ONTAP file systems only - Specifies the updated name of the self-managed Active Directory domain group whose members are granted administrative privileges for the Amazon FSx resource."
        },
        "DomainJoinServiceAccountSecret": {
          "type": "string",
          "description": "Specifies the updated Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the self-managed Active Directory domain join service account credentials. Amazon FSx uses this account to join to your self-managed Active Directory domain."
        }
      }
    },
    "UpdateSvmActiveDirectoryConfiguration": {
      "type": "object",
      "properties": {
        "SelfManagedActiveDirectoryConfiguration": {
          "$ref": "#/$defs/SelfManagedActiveDirectoryConfigurationUpdates"
        },
        "NetBiosName": {
          "type": "string",
          "description": "Specifies an updated NetBIOS name of the AD computer object NetBiosName to which an SVM is joined."
        }
      }
    }
  }
}