{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-serverless-endpoint-tracked-resource-arm-paginated-result-schema.json",
  "title": "ServerlessEndpointTrackedResourceArmPaginatedResult",
  "description": "A paginated list of ServerlessEndpoint entities.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-serverlessendpoints-api-openapi.yml#/components/schemas/ServerlessEndpointTrackedResourceArmPaginatedResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ServerlessEndpoint items on this page",
      "items": {
        "$ref": "#/$defs/ServerlessEndpoint"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ContentSafety": {
      "type": "object",
      "properties": {
        "contentSafetyStatus": {
          "$ref": "#/$defs/ContentSafetyStatus",
          "description": "[Required] Specifies the status of content safety."
        }
      },
      "required": [
        "contentSafetyStatus"
      ]
    },
    "ContentSafetyStatus": {
      "type": "string",
      "description": "Specifies the status of content safety.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "ContentSafetyStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled"
          }
        ]
      }
    },
    "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
      }
    },
    "ModelSettings": {
      "type": "object",
      "properties": {
        "modelId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique model identifier that this ServerlessEndpoint should provision."
        }
      }
    },
    "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
    },
    "ServerlessEndpoint": {
      "type": "object",
      "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ServerlessEndpointProperties",
          "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"
        }
      ]
    },
    "ServerlessEndpointProperties": {
      "type": "object",
      "properties": {
        "authMode": {
          "$ref": "#/$defs/ServerlessInferenceEndpointAuthMode",
          "description": "[Required] Specifies the authentication mode for the Serverless endpoint."
        },
        "contentSafety": {
          "$ref": "#/$defs/ContentSafety",
          "description": "Specifies the content safety options. If omitted, the default content safety settings will be configured"
        },
        "endpointState": {
          "$ref": "#/$defs/ServerlessEndpointState",
          "description": "The current state of the ServerlessEndpoint.",
          "readOnly": true
        },
        "inferenceEndpoint": {
          "$ref": "#/$defs/ServerlessInferenceEndpoint",
          "description": "The inference uri to target when making requests against the serverless endpoint",
          "readOnly": true
        },
        "marketplaceSubscriptionId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint.",
          "readOnly": true
        },
        "modelSettings": {
          "$ref": "#/$defs/ModelSettings",
          "description": "The model settings (model id) for the model being serviced on the ServerlessEndpoint."
        },
        "provisioningState": {
          "$ref": "#/$defs/EndpointProvisioningState",
          "description": "State of endpoint provisioning.",
          "readOnly": true
        }
      },
      "required": [
        "authMode"
      ]
    },
    "ServerlessEndpointState": {
      "type": "string",
      "description": "State of the Serverless Endpoint.",
      "enum": [
        "Unknown",
        "Creating",
        "Deleting",
        "Suspending",
        "Reinstating",
        "Online",
        "Suspended",
        "CreationFailed",
        "DeletionFailed"
      ],
      "x-ms-enum": {
        "name": "ServerlessEndpointState",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown"
          },
          {
            "name": "Creating",
            "value": "Creating"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Suspending",
            "value": "Suspending"
          },
          {
            "name": "Reinstating",
            "value": "Reinstating"
          },
          {
            "name": "Online",
            "value": "Online"
          },
          {
            "name": "Suspended",
            "value": "Suspended"
          },
          {
            "name": "CreationFailed",
            "value": "CreationFailed"
          },
          {
            "name": "DeletionFailed",
            "value": "DeletionFailed"
          }
        ]
      }
    },
    "ServerlessInferenceEndpoint": {
      "type": "object",
      "properties": {
        "headers": {
          "type": [
            "object",
            "null"
          ],
          "description": "Specifies any required headers to target this serverless endpoint.",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "readOnly": true
        },
        "uri": {
          "type": "string",
          "format": "uri",
          "description": "[Required] The inference uri to target when making requests against the Serverless Endpoint.",
          "readOnly": true
        }
      },
      "required": [
        "uri"
      ]
    },
    "ServerlessInferenceEndpointAuthMode": {
      "type": "string",
      "enum": [
        "Key",
        "AAD",
        "KeyAndAAD"
      ],
      "x-ms-enum": {
        "name": "ServerlessInferenceEndpointAuthMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Key",
            "value": "Key"
          },
          {
            "name": "AAD",
            "value": "AAD"
          },
          {
            "name": "KeyAndAAD",
            "value": "KeyAndAAD"
          }
        ]
      }
    },
    "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
    }
  }
}