{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fsx/json-schema/amazon-fsx-create-storage-virtual-machine-request-schema.json",
  "title": "CreateStorageVirtualMachineRequest",
  "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/CreateStorageVirtualMachineRequest",
  "type": "object",
  "properties": {
    "ActiveDirectoryConfiguration": {
      "$ref": "#/$defs/CreateSvmActiveDirectoryConfiguration"
    },
    "ClientRequestToken": {
      "type": "string"
    },
    "FileSystemId": {
      "type": "string"
    },
    "Name": {
      "type": "string",
      "description": "The name of the SVM."
    },
    "SvmAdminPassword": {
      "type": "string",
      "description": "The password to use when managing the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system's fsxadmin user to manage the SVM."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "RootVolumeSecurityStyle": {
      "type": "string",
      "enum": [
        "UNIX",
        "NTFS",
        "MIXED"
      ],
      "description": "The security style of the root volume of the SVM. Specify one of the following values: UNIX if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account. NTFS if the file system is managed by a Microsoft Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Microsoft Windows user as the service account. MIXED This is an advanced setting. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide."
    }
  },
  "required": [
    "FileSystemId",
    "Name"
  ],
  "$defs": {
    "CreateSvmActiveDirectoryConfiguration": {
      "type": "object",
      "properties": {
        "NetBiosName": {
          "type": "string",
          "description": "The NetBIOS name of the Active Directory computer object that will be created for your SVM."
        },
        "SelfManagedActiveDirectoryConfiguration": {
          "$ref": "#/$defs/SelfManagedActiveDirectoryConfiguration"
        }
      },
      "required": [
        "NetBiosName"
      ]
    },
    "SelfManagedActiveDirectoryConfiguration": {
      "type": "object",
      "properties": {
        "DomainName": {
          "type": "string",
          "description": "The fully qualified domain name of the self-managed AD directory, such as corp.example.com."
        },
        "OrganizationalUnitDistinguishedName": {
          "type": "string",
          "description": "(Optional) The fully qualified distinguished name of the organizational unit within your self-managed AD directory. Amazon FSx only accepts OU as the direct parent of the file system. An example is OU=FSx,DC=yourdomain,DC=corp,DC=com. To learn more, see RFC 2253. If none is provided, the FSx file system is created in the default location of your self-managed AD directory. Only Organizational Unit (OU) objects can be the direct parent of the file system that you're creating."
        },
        "FileSystemAdministratorsGroup": {
          "type": "string",
          "description": "(Optional) The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, setting audit controls (audit ACLs) on files and folders, and administering the file system remotely by using the FSx Remote PowerShell. The group that you specify must already exist in your domain. If you don't provide one, your AD domain's Domain Admins group is used."
        },
        "UserName": {
          "type": "string",
          "description": "The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. This account must have the permission to join computers to the domain in the organizational unit provided in OrganizationalUnitDistinguishedName, or in the default location of your AD domain."
        },
        "Password": {
          "type": "string",
          "description": "The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain."
        },
        "DnsIps": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory."
        },
        "DomainJoinServiceAccountSecret": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the self-managed Active Directory domain join service account credentials. When provided, Amazon FSx uses the credentials stored in this secret to join the file system to your self-managed Active Directory domain. The secret must contain two key-value pairs: CUSTOMER_MANAGED_ACTIVE_DIRECTORY_USERNAME - The username for the service account CUSTOMER_MANAGED_ACTIVE_DIRECTORY_PASSWORD - The password for the service account For more information, see Using Amazon FSx for Windows with your self-managed Microso"
        }
      },
      "required": [
        "DomainName",
        "DnsIps"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A value that specifies the TagKey, the name of the tag. Tag keys must be unique for the resource to which they are attached."
        },
        "Value": {
          "type": "string",
          "description": "A value that specifies the TagValue, the value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key-value pair in a tag set of finances : April and also of payroll : April."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}