{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pure-storage/json-schema/pure-storage-active-directory-post-schema.json",
  "title": "ActiveDirectoryPost",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pure-storage-active-directory-api-openapi.yml#/components/schemas/ActiveDirectoryPost",
  "type": "object",
  "properties": {
    "computer_name": {
      "description": "The name of the computer account to be created in the Active Directory\ndomain.\nIf not specified, defaults to the name of the Active Directory\nconfiguration.\n",
      "type": "string"
    },
    "directory_servers": {
      "description": "A list of directory servers used for lookups related to user authorization.\nServers must be specified in FQDN format.\nAll specified servers must be registered to the domain appropriately in the configured DNS\nof the array and are only communicated with over the secure LDAP (LDAPS) protocol.\nIf not specified, servers are resolved for the domain in DNS.\n",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "domain": {
      "description": "The Active Directory domain to join.",
      "type": "string"
    },
    "join_ou": {
      "description": "The distinguished name of the organizational unit in which the\ncomputer account should be created when joining the domain.\nThe `DC=...` components of the distinguished name can be optionally omitted.\nIf not specified, defaults to `CN=Computers`.\n",
      "type": "string"
    },
    "kerberos_servers": {
      "description": "A list of key distribution servers to use for Kerberos protocol.\nServers must be specified in FQDN format.\nAll specified servers must be registered to the domain appropriately in the configured DNS\nof the array.\nIf not specified, servers are resolved for the domain in DNS.\n",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "password": {
      "description": "The login password of the user with privileges to create the computer account\nin the domain.\nThis is not persisted on the array.\n",
      "type": "string"
    },
    "sources": {
      "description": "List of network interfaces used for egress. For directory services\nat the array level, this list can be empty. If\nthe list is empty, the system will use VIFs with the \"ds\" service\n(or if none, the \"management\" service) for egress.\n",
      "type": "array",
      "items": {
        "$ref": "#/$defs/_reference"
      }
    },
    "tls": {
      "description": "TLS mode for communication with domain controllers.\nValid values are `required` and `optional`.\n`required` forces TLS communication with a domain controller.\n`optional` allows the use of non-TLS communication,\nTLS will still be preferred, if available.\nIf not specified, defaults to `required`.\n",
      "type": "string"
    },
    "user": {
      "description": "The login name of the user with privileges to create the computer account in\nthe domain.\nThis is not persisted on the array.\n",
      "type": "string"
    }
  },
  "$defs": {
    "_reference": {
      "type": "object",
      "properties": {
        "id": {
          "description": "A globally unique, system-generated ID.\nThe ID cannot be modified.\n",
          "type": "string"
        },
        "name": {
          "description": "The resource name, such as volume name, pod name,\nsnapshot name, and so on.\n",
          "type": "string"
        }
      },
      "x-aliases": [
        "_referenceWithoutType"
      ]
    }
  }
}