{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-batch-deployment-tracked-resource-arm-paginated-result-schema.json",
  "title": "BatchDeploymentTrackedResourceArmPaginatedResult",
  "description": "A paginated list of BatchDeployment entities.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-batchdeployments-api-openapi.yml#/components/schemas/BatchDeploymentTrackedResourceArmPaginatedResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The BatchDeployment items on this page",
      "items": {
        "$ref": "#/$defs/BatchDeployment"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AssetReferenceBase": {
      "type": "object",
      "description": "Base definition for asset references.",
      "properties": {
        "referenceType": {
          "$ref": "#/$defs/ReferenceType",
          "description": "[Required] Specifies the type of asset reference."
        }
      },
      "required": [
        "referenceType"
      ]
    },
    "BatchDeployment": {
      "type": "object",
      "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/BatchDeploymentProperties",
          "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"
        }
      ]
    },
    "BatchDeploymentConfiguration": {
      "type": "object",
      "description": "Properties relevant to different deployment types.",
      "properties": {
        "deploymentConfigurationType": {
          "$ref": "#/$defs/BatchDeploymentConfigurationType",
          "description": "[Required] The type of the deployment"
        }
      },
      "required": [
        "deploymentConfigurationType"
      ]
    },
    "BatchDeploymentConfigurationType": {
      "type": "string",
      "description": "The enumerated property types for batch deployments.",
      "enum": [
        "Model",
        "PipelineComponent"
      ],
      "x-ms-enum": {
        "name": "BatchDeploymentConfigurationType",
        "modelAsString": true,
        "values": [
          {
            "name": "Model",
            "value": "Model"
          },
          {
            "name": "PipelineComponent",
            "value": "PipelineComponent"
          }
        ]
      }
    },
    "BatchDeploymentProperties": {
      "type": "object",
      "description": "Batch inference settings per deployment.",
      "properties": {
        "compute": {
          "type": [
            "string",
            "null"
          ],
          "description": "Compute target for batch inference operation."
        },
        "deploymentConfiguration": {
          "$ref": "#/$defs/BatchDeploymentConfiguration",
          "description": "Properties relevant to different deployment types."
        },
        "errorThreshold": {
          "type": "integer",
          "format": "int32",
          "description": "Error threshold, if the error count for the entire input goes above this value,\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\nFor FileDataset, this value is the count of file failures.\nFor TabularDataset, this value is the count of record failures.\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.",
          "default": -1
        },
        "loggingLevel": {
          "type": "string",
          "description": "Log verbosity for batch inferencing.\nIncreasing verbosity order for logging is : Warning, Info and Debug.\nThe default value is Info.",
          "default": "Info",
          "enum": [
            "Info",
            "Warning",
            "Debug"
          ],
          "x-ms-enum": {
            "name": "BatchLoggingLevel",
            "modelAsString": true,
            "values": [
              {
                "name": "Info",
                "value": "Info"
              },
              {
                "name": "Warning",
                "value": "Warning"
              },
              {
                "name": "Debug",
                "value": "Debug"
              }
            ]
          }
        },
        "maxConcurrencyPerInstance": {
          "type": "integer",
          "format": "int32",
          "description": "Indicates maximum number of parallelism per instance.",
          "default": 1
        },
        "miniBatchSize": {
          "type": "integer",
          "format": "int64",
          "description": "Size of the mini-batch passed to each batch invocation.\nFor FileDataset, this is the number of files per mini-batch.\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.",
          "default": 10
        },
        "model": {
          "$ref": "#/$defs/AssetReferenceBase",
          "description": "Reference to the model asset for the endpoint deployment."
        },
        "outputAction": {
          "type": "string",
          "description": "Enum to determine how batch inferencing will handle output",
          "default": "AppendRow",
          "enum": [
            "SummaryOnly",
            "AppendRow"
          ],
          "x-ms-enum": {
            "name": "BatchOutputAction",
            "modelAsString": true,
            "values": [
              {
                "name": "SummaryOnly",
                "value": "SummaryOnly"
              },
              {
                "name": "AppendRow",
                "value": "AppendRow"
              }
            ]
          }
        },
        "outputFileName": {
          "type": "string",
          "description": "Customized output file name for append_row output action.",
          "default": "predictions.csv"
        },
        "provisioningState": {
          "$ref": "#/$defs/DeploymentProvisioningState",
          "description": "Provisioning state for the endpoint deployment.",
          "readOnly": true
        },
        "resources": {
          "$ref": "#/$defs/DeploymentResourceConfiguration",
          "description": "Indicates compute configuration for the job.\nIf not provided, will default to the defaults defined in ResourceConfiguration."
        },
        "retrySettings": {
          "$ref": "#/$defs/BatchRetrySettings",
          "description": "Retry Settings for the batch inference operation.\nIf not provided, will default to the defaults defined in BatchRetrySettings."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/EndpointDeploymentPropertiesBase"
        }
      ]
    },
    "BatchRetrySettings": {
      "type": "object",
      "description": "Retry settings for a batch inference operation.",
      "properties": {
        "maxRetries": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum retry count for a mini-batch",
          "default": 3
        },
        "timeout": {
          "type": "string",
          "format": "duration",
          "description": "Invocation timeout for a mini-batch, in ISO 8601 format.",
          "default": "PT30S"
        }
      }
    },
    "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"
      ]
    },
    "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
    },
    "DeploymentResourceConfiguration": {
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/ResourceConfiguration"
        }
      ]
    },
    "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
      }
    },
    "ReferenceType": {
      "type": "string",
      "description": "Enum to determine which reference method to use for an asset.",
      "enum": [
        "Id",
        "DataPath",
        "OutputPath"
      ],
      "x-ms-enum": {
        "name": "ReferenceType",
        "modelAsString": true,
        "values": [
          {
            "name": "Id",
            "value": "Id"
          },
          {
            "name": "DataPath",
            "value": "DataPath"
          },
          {
            "name": "OutputPath",
            "value": "OutputPath"
          }
        ]
      }
    },
    "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
    },
    "ResourceConfiguration": {
      "type": "object",
      "properties": {
        "instanceCount": {
          "type": "integer",
          "format": "int32",
          "description": "Optional number of instances or nodes used by the compute target.",
          "default": 1,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "instanceType": {
          "type": [
            "string",
            "null"
          ],
          "description": "Optional type of VM used as supported by the compute target.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "properties": {
          "type": [
            "object",
            "null"
          ],
          "description": "Additional properties bag.",
          "additionalProperties": {},
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      }
    },
    "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"
        }
      ]
    }
  }
}