{
  "$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-endpoint-tracked-resource-arm-paginated-result-schema.json",
  "title": "BatchEndpointTrackedResourceArmPaginatedResult",
  "description": "A paginated list of BatchEndpoint entities.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-batchendpoints-api-openapi.yml#/components/schemas/BatchEndpointTrackedResourceArmPaginatedResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The BatchEndpoint items on this page",
      "items": {
        "$ref": "#/$defs/BatchEndpoint"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "BatchEndpoint": {
      "type": "object",
      "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/BatchEndpointProperties",
          "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"
        }
      ]
    },
    "BatchEndpointDefaults": {
      "type": "object",
      "description": "Batch endpoint default values",
      "properties": {
        "deploymentName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the deployment that will be default for the endpoint.\nThis deployment will end up getting 100% traffic when the endpoint scoring URL is invoked."
        }
      }
    },
    "BatchEndpointProperties": {
      "type": "object",
      "description": "Batch endpoint configuration.",
      "properties": {
        "defaults": {
          "$ref": "#/$defs/BatchEndpointDefaults",
          "description": "Default values for Batch Endpoint"
        },
        "provisioningState": {
          "$ref": "#/$defs/EndpointProvisioningState",
          "description": "Provisioning state for the endpoint.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/EndpointPropertiesBase"
        }
      ]
    },
    "EndpointAuthKeys": {
      "type": "object",
      "description": "Keys for endpoint authentication.",
      "properties": {
        "primaryKey": {
          "type": [
            "string",
            "null"
          ],
          "format": "password",
          "description": "The primary key.",
          "x-ms-mutability": [
            "read",
            "create"
          ],
          "x-ms-secret": true
        },
        "secondaryKey": {
          "type": [
            "string",
            "null"
          ],
          "format": "password",
          "description": "The secondary key.",
          "x-ms-mutability": [
            "read",
            "create"
          ],
          "x-ms-secret": true
        }
      }
    },
    "EndpointAuthMode": {
      "type": "string",
      "description": "Enum to determine endpoint authentication mode.",
      "enum": [
        "AMLToken",
        "Key",
        "AADToken"
      ],
      "x-ms-enum": {
        "name": "EndpointAuthMode",
        "modelAsString": true,
        "values": [
          {
            "name": "AMLToken",
            "value": "AMLToken"
          },
          {
            "name": "Key",
            "value": "Key"
          },
          {
            "name": "AADToken",
            "value": "AADToken"
          }
        ]
      }
    },
    "EndpointPropertiesBase": {
      "type": "object",
      "description": "Inference Endpoint base definition",
      "properties": {
        "authMode": {
          "$ref": "#/$defs/EndpointAuthMode",
          "description": "[Required] The authentication method for invoking the endpoint (data plane operation). Use 'Key' for key-based authentication. Use 'AMLToken' for Azure Machine Learning token-based authentication. Use 'AADToken' for Microsoft Entra token-based authentication."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of the inference endpoint."
        },
        "keys": {
          "$ref": "#/$defs/EndpointAuthKeys",
          "format": "password",
          "description": "EndpointAuthKeys to set initially on an Endpoint.\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.",
          "x-ms-mutability": [
            "create"
          ],
          "x-ms-secret": true
        },
        "properties": {
          "type": [
            "object",
            "null"
          ],
          "description": "Property dictionary. Properties can be added, but not removed or altered.",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "scoringUri": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "Endpoint URI.",
          "readOnly": true
        },
        "swaggerUri": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "Endpoint Swagger URI.",
          "readOnly": true
        }
      },
      "required": [
        "authMode"
      ]
    },
    "EndpointProvisioningState": {
      "type": "string",
      "description": "State of endpoint provisioning.",
      "enum": [
        "Creating",
        "Deleting",
        "Succeeded",
        "Failed",
        "Updating",
        "Canceled"
      ],
      "x-ms-enum": {
        "name": "EndpointProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Creating",
            "value": "Creating"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Updating",
            "value": "Updating"
          },
          {
            "name": "Canceled",
            "value": "Canceled"
          }
        ]
      },
      "readOnly": true
    },
    "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
      }
    },
    "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
    },
    "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"
        }
      ]
    }
  }
}