ApplicationCreate

Request body for creating a new web application.

DatacenterEnterpriseInfrastructureMicrosoftOperating SystemServer ManagementWindows ServerWindows Server 2025

Properties

Name Type Description
path string The virtual path for the application relative to the web site root.
physical_path string The physical file system path for the application. The directory must exist.
website object The web site that the application should belong to.
application_pool object Optional application pool assignment.
enabled_protocols string The protocols enabled for this application.
View JSON Schema on GitHub

JSON Schema

microsoft-windows-server-applicationcreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ApplicationCreate",
  "title": "ApplicationCreate",
  "type": "object",
  "description": "Request body for creating a new web application.",
  "required": [
    "path",
    "physical_path",
    "website"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "The virtual path for the application relative to the web site root.",
      "examples": [
        "demo-app"
      ]
    },
    "physical_path": {
      "type": "string",
      "description": "The physical file system path for the application. The directory must exist.",
      "examples": [
        "C:\\inetpub\\wwwroot\\demo-app"
      ]
    },
    "website": {
      "type": "object",
      "description": "The web site that the application should belong to.",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "The identifier of the web site."
        }
      },
      "example": "example_value"
    },
    "application_pool": {
      "type": "object",
      "description": "Optional application pool assignment.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The identifier of the application pool."
        }
      },
      "example": "example_value"
    },
    "enabled_protocols": {
      "type": "string",
      "description": "The protocols enabled for this application.",
      "default": "http",
      "example": "example_value"
    }
  }
}