OnlineDeployment

Concrete tracked resource types can be created by aliasing this type using a specific property type.

Artificial IntelligenceMicrosoft AzureMachine LearningMLOpsModel DeploymentModel Training

Properties

Name Type Description
properties object
identity object
kind string Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
sku object
View JSON Schema on GitHub

JSON Schema

microsoft-azure-machine-learning-online-deployment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-online-deployment-schema.json",
  "title": "OnlineDeployment",
  "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-openapi.yml#/components/schemas/OnlineDeployment",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/OnlineDeploymentProperties"
    },
    "identity": {
      "$ref": "../../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity"
    },
    "kind": {
      "type": "string",
      "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type."
    },
    "sku": {
      "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Sku"
    }
  },
  "required": [
    "properties"
  ],
  "allOf": [
    {
      "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
    }
  ],
  "$defs": {
    "CodeConfiguration": {
      "type": "object",
      "description": "Configuration for a scoring code asset.",
      "properties": {
        "codeId": {
          "type": [
            "string",
            "null"
          ],
          "description": "ARM resource ID of the code asset.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "scoringScript": {
          "type": "string",
          "description": "[Required] The script to execute on startup. eg. \"score.py\"",
          "minLength": 1,
          "pattern": "[a-zA-Z0-9_]",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "scoringScript"
      ]
    },
    "Collection": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth."
        },
        "dataCollectionMode": {
          "type": "string",
          "description": "Enable or disable data collection.",
          "default": "Disabled",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "DataCollectionMode",
            "modelAsString": true,
            "values": [
              {
                "name": "Enabled",
                "value": "Enabled"
              },
              {
                "name": "Disabled",
                "value": "Disabled"
              }
            ]
          }
        },
        "dataId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage."
        },
        "samplingRate": {
          "type": "number",
          "format": "double",
          "description": "The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default.",
          "default": 1
        }
      }
    },
    "DataCollector": {
      "type": "object",
      "properties": {
        "collections": {
          "type": "object",
          "description": "[Required] The collection configuration. Each collection has it own configuration to collect model data and the name of collection can be arbitrary string.\nModel data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging.",
          "additionalProperties": {
            "$ref": "#/$defs/Collection"
          }
        },
        "requestLogging": {
          "$ref": "#/$defs/RequestLogging"
        },
        "rollingRate": {
          "type": "string",
          "description": "When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file.\nIf the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/.\nIf it's day, all data will be collected in blob path /yyyy/MM/dd/.\nThe other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly.",
          "default": "Hour",
          "enum": [
            "Year",
            "Month",
            "Day",
            "Hour",
            "Minute"
          ],
          "x-ms-enum": {
            "name": "RollingRateType",
            "modelAsString": true,
            "values": [
              {
                "name": "Year",
                "value": "Year"
              },
              {
                "name": "Month",
                "value": "Month"
              },
              {
                "name": "Day",
                "value": "Day"
              },
              {
                "name": "Hour",
                "value": "Hour"
              },
              {
                "name": "Minute",
                "value": "Minute"
              }
            ]
          }
        }
      },
      "required": [
        "collections"
      ]
    },
    "DeploymentProvisioningState": {
      "type": "string",
      "description": "Possible values for DeploymentProvisioningState.",
      "enum": [
        "Creating",
        "Deleting",
        "Scaling",
        "Updating",
        "Succeeded",
        "Failed",
        "Canceled"
      ],
      "x-ms-enum": {
        "name": "DeploymentProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Creating",
            "value": "Creating"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Scaling",
            "value": "Scaling"
          },
          {
            "name": "Updating",
            "value": "Updating"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Canceled",
            "value": "Canceled"
          }
        ]
      },
      "readOnly": true
    },
    "EndpointComputeType": {
      "type": "string",
      "description": "Enum to determine endpoint compute type.",
      "enum": [
        "Managed",
        "Kubernetes",
        "AzureMLCompute"
      ],
      "x-ms-enum": {
        "name": "EndpointComputeType",
        "modelAsString": true,
        "values": [
          {
            "name": "Managed",
            "value": "Managed"
          },
          {
            "name": "Kubernetes",
            "value": "Kubernetes"
          },
          {
            "name": "AzureMLCompute",
            "value": "AzureMLCompute"
          }
        ]
      }
    },
    "EndpointDeploymentPropertiesBase": {
      "type": "object",
      "description": "Base definition for endpoint deployment.",
      "properties": {
        "codeConfiguration": {
          "$ref": "#/$defs/CodeConfiguration"
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of the endpoint deployment."
        },
        "environmentId": {
          "type": [
            "string",
            "null"
          ],
          "description": "ARM resource ID or AssetId of the environment specification for the endpoint deployment."
        },
        "environmentVariables": {
          "type": [
            "object",
            "null"
          ],
          "description": "Environment variables configuration for the deployment.",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "properties": {
          "type": [
            "object",
            "null"
          ],
          "description": "Property dictionary. Properties can be added, but not removed or altered.",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "OnlineDeploymentProperties": {
      "type": "object",
      "properties": {
        "appInsightsEnabled": {
          "type": "boolean",
          "description": "If true, enables Application Insights logging.",
          "default": false
        },
        "dataCollector": {
          "$ref": "#/$defs/DataCollector"
        },
        "egressPublicNetworkAccess": {
          "type": "string",
          "description": "Enum to determine whether PublicNetworkAccess is Enabled or Disabled for egress of a deployment.",
          "default": "Enabled",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "EgressPublicNetworkAccessType",
            "modelAsString": true,
            "values": [
              {
                "name": "Enabled",
                "value": "Enabled"
              },
              {
                "name": "Disabled",
                "value": "Disabled"
              }
            ]
          }
        },
        "endpointComputeType": {
          "$ref": "#/$defs/EndpointComputeType"
        },
        "instanceType": {
          "type": [
            "string",
            "null"
          ],
          "description": "Compute instance type. Default: Standard_F4s_v2.",
          "default": "Standard_F4s_v2",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "livenessProbe": {
          "$ref": "#/$defs/ProbeSettings"
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "description": "The URI path to the model."
        },
        "modelMountPath": {
          "type": [
            "string",
            "null"
          ],
          "description": "The path to mount the model in custom container."
        },
        "provisioningState": {
          "$ref": "#/$defs/DeploymentProvisioningState"
        },
        "readinessProbe": {
          "$ref": "#/$defs/ProbeSettings"
        },
        "requestSettings": {
          "$ref": "#/$defs/OnlineRequestSettings"
        },
        "scaleSettings": {
          "$ref": "#/$defs/OnlineScaleSettings"
        },
        "startupProbe": {
          "$ref": "#/$defs/ProbeSettings"
        }
      },
      "required": [
        "endpointComputeType"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/EndpointDeploymentPropertiesBase"
        }
      ]
    },
    "OnlineRequestSettings": {
      "type": "object",
      "description": "Online deployment scoring requests configuration.",
      "properties": {
        "maxConcurrentRequestsPerInstance": {
          "type": "integer",
          "format": "int32",
          "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.",
          "default": 1
        },
        "maxQueueWait": {
          "type": "string",
          "format": "duration",
          "description": "(Deprecated for Managed Online Endpoints) The maximum amount of time a request will stay in the queue in ISO 8601 format.\nDefaults to 500ms.\n(Now increase `request_timeout_ms` to account for any networking/queue delays)",
          "default": "PT0.5S"
        },
        "requestTimeout": {
          "type": "string",
          "format": "duration",
          "description": "The scoring timeout in ISO 8601 format.\nDefaults to 5000ms.",
          "default": "PT5S"
        }
      }
    },
    "OnlineScaleSettings": {
      "type": "object",
      "description": "Online deployment scaling configuration.",
      "properties": {
        "scaleType": {
          "$ref": "#/$defs/ScaleType"
        }
      },
      "required": [
        "scaleType"
      ]
    },
    "ProbeSettings": {
      "type": "object",
      "description": "Deployment container liveness/readiness probe configuration.",
      "properties": {
        "failureThreshold": {
          "type": "integer",
          "format": "int32",
          "description": "The number of failures to allow before returning an unhealthy status.",
          "default": 30
        },
        "initialDelay": {
          "type": [
            "string",
            "null"
          ],
          "format": "duration",
          "description": "The delay before the first probe in ISO 8601 format."
        },
        "period": {
          "type": "string",
          "format": "duration",
          "description": "The length of time between probes in ISO 8601 format.",
          "default": "PT10S"
        },
        "successThreshold": {
          "type": "integer",
          "format": "int32",
          "description": "The number of successful probes before returning a healthy status.",
          "default": 1
        },
        "timeout": {
          "type": "string",
          "format": "duration",
          "description": "The probe timeout in ISO 8601 format.",
          "default": "PT2S"
        }
      }
    },
    "RequestLogging": {
      "type": "object",
      "properties": {
        "captureHeaders": {
          "type": [
            "array",
            "null"
          ],
          "description": "For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ScaleType": {
      "type": "string",
      "enum": [
        "Default",
        "TargetUtilization"
      ],
      "x-ms-enum": {
        "name": "ScaleType",
        "modelAsString": true,
        "values": [
          {
            "name": "Default",
            "value": "Default"
          },
          {
            "name": "TargetUtilization",
            "value": "TargetUtilization"
          }
        ]
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-machine-learning-online-deployment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.