{
  "$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-tracked-resource-arm-paginated-result-schema.json",
  "title": "OnlineDeploymentTrackedResourceArmPaginatedResult",
  "description": "A paginated list of OnlineDeployment entities.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-onlinedeployments-api-openapi.yml#/components/schemas/OnlineDeploymentTrackedResourceArmPaginatedResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The OnlineDeployment items on this page",
      "items": {
        "$ref": "#/$defs/OnlineDeployment"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$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",
          "description": "The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional."
        },
        "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": "Code configuration for the endpoint deployment."
        },
        "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"
            ]
          }
        }
      }
    },
    "ManagedServiceIdentity": {
      "type": "object",
      "description": "Managed service identity (system assigned and/or user assigned identities)",
      "properties": {
        "principalId": {
          "type": "string",
          "format": "uuid",
          "description": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "tenantId": {
          "type": "string",
          "format": "uuid",
          "description": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "type": {
          "$ref": "#/$defs/ManagedServiceIdentityType"
        },
        "userAssignedIdentities": {
          "$ref": "#/$defs/UserAssignedIdentities"
        }
      },
      "required": [
        "type"
      ]
    },
    "ManagedServiceIdentityType": {
      "type": "string",
      "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
      "enum": [
        "None",
        "SystemAssigned",
        "UserAssigned",
        "SystemAssigned,UserAssigned"
      ],
      "x-ms-enum": {
        "name": "ManagedServiceIdentityType",
        "modelAsString": true
      }
    },
    "OnlineDeployment": {
      "type": "object",
      "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/OnlineDeploymentProperties",
          "description": "[Required] Additional attributes of the entity."
        },
        "identity": {
          "$ref": "#/$defs/ManagedServiceIdentity",
          "description": "Managed service identity (system assigned and/or user assigned identities)"
        },
        "kind": {
          "type": "string",
          "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type."
        },
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "Sku details required for ARM contract for Autoscaling."
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "OnlineDeploymentProperties": {
      "type": "object",
      "properties": {
        "appInsightsEnabled": {
          "type": "boolean",
          "description": "If true, enables Application Insights logging.",
          "default": false
        },
        "dataCollector": {
          "$ref": "#/$defs/DataCollector",
          "description": "The mdc configuration, we disable mdc when it's null."
        },
        "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",
          "description": "[Required] The compute type of the endpoint."
        },
        "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",
          "description": "Liveness probe monitors the health of the container regularly."
        },
        "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",
          "description": "Provisioning state for the endpoint deployment.",
          "readOnly": true
        },
        "readinessProbe": {
          "$ref": "#/$defs/ProbeSettings",
          "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe."
        },
        "requestSettings": {
          "$ref": "#/$defs/OnlineRequestSettings",
          "description": "Request settings for the deployment."
        },
        "scaleSettings": {
          "$ref": "#/$defs/OnlineScaleSettings",
          "description": "Scale settings for the deployment.\nIf it is null or not provided,\nit defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment\nand to DefaultScaleSettings for ManagedOnlineDeployment."
        },
        "startupProbe": {
          "$ref": "#/$defs/ProbeSettings",
          "description": "Startup probe verify whether an application within a container has started successfully."
        }
      },
      "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",
          "description": "[Required] Type of deployment scaling algorithm"
        }
      },
      "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"
          }
        }
      }
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "type": "object",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "ScaleType": {
      "type": "string",
      "enum": [
        "Default",
        "TargetUtilization"
      ],
      "x-ms-enum": {
        "name": "ScaleType",
        "modelAsString": true,
        "values": [
          {
            "name": "Default",
            "value": "Default"
          },
          {
            "name": "TargetUtilization",
            "value": "TargetUtilization"
          }
        ]
      }
    },
    "Sku": {
      "type": "object",
      "description": "The resource model definition representing SKU",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the SKU. Ex - P3. It is typically a letter+number code"
        },
        "tier": {
          "$ref": "#/$defs/SkuTier"
        },
        "size": {
          "type": "string",
          "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "
        },
        "family": {
          "type": "string",
          "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
        },
        "capacity": {
          "type": "integer",
          "format": "int32",
          "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
        }
      },
      "required": [
        "name"
      ]
    },
    "SkuTier": {
      "type": "string",
      "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.",
      "enum": [
        "Free",
        "Basic",
        "Standard",
        "Premium"
      ],
      "x-ms-enum": {
        "name": "SkuTier",
        "modelAsString": false
      }
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "UserAssignedIdentities": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "systemData": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    }
  }
}