{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-search/json-schema/azure-ai-search-private-endpoint-connection-list-result-schema.json",
  "title": "PrivateEndpointConnectionListResult",
  "description": "Response containing a list of private endpoint connections.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ai-search-private-endpoint-connections-api-openapi.yml#/components/schemas/PrivateEndpointConnectionListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of private endpoint connections.",
      "items": {
        "$ref": "#/$defs/PrivateEndpointConnection"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "description": "Request URL that can be used to query next page of private endpoint connections. Returned when the total number of requested private endpoint connections exceed maximum page size.",
      "readOnly": true
    }
  },
  "x-ms-external": true,
  "$defs": {
    "PrivateEndpointConnection": {
      "type": "object",
      "description": "Describes an existing private endpoint connection to the Azure AI Search service.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/PrivateEndpointConnectionProperties",
          "description": "Describes the properties of an existing private endpoint connection to the Azure AI Search service."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "PrivateEndpointConnectionProperties": {
      "type": "object",
      "description": "Describes the properties of an existing private endpoint connection to the search service.",
      "properties": {
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpointConnectionPropertiesPrivateEndpoint",
          "description": "The private endpoint resource from Microsoft.Network provider."
        },
        "privateLinkServiceConnectionState": {
          "$ref": "#/$defs/PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState",
          "description": "Describes the current state of an existing Azure Private Link service connection to the private endpoint."
        },
        "groupId": {
          "type": "string",
          "description": "The group ID of the Azure resource for which the private link service is for."
        },
        "provisioningState": {
          "$ref": "#/$defs/PrivateLinkServiceConnectionProvisioningState",
          "description": "The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled."
        }
      }
    },
    "PrivateEndpointConnectionPropertiesPrivateEndpoint": {
      "type": "object",
      "description": "The private endpoint resource from Microsoft.Network provider.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The resource ID of the private endpoint resource from Microsoft.Network provider."
        }
      }
    },
    "PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState": {
      "type": "object",
      "description": "Describes the current state of an existing Azure Private Link service connection to the private endpoint.",
      "properties": {
        "status": {
          "$ref": "#/$defs/PrivateLinkServiceConnectionStatus",
          "description": "Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected."
        },
        "description": {
          "type": "string",
          "description": "The description for the private link service connection state."
        },
        "actionsRequired": {
          "type": "string",
          "description": "A description of any extra actions that may be required.",
          "default": "None"
        }
      }
    },
    "PrivateLinkServiceConnectionProvisioningState": {
      "type": "string",
      "description": "The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled.",
      "enum": [
        "Updating",
        "Deleting",
        "Failed",
        "Succeeded",
        "Incomplete",
        "Canceled"
      ],
      "x-ms-enum": {
        "name": "PrivateLinkServiceConnectionProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Updating",
            "value": "Updating",
            "description": "The private link service connection is in the process of being created along with other resources for it to be fully functional."
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "The private link service connection is in the process of being deleted."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "The private link service connection has failed to be provisioned or deleted."
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "The private link service connection has finished provisioning and is ready for approval."
          },
          {
            "name": "Incomplete",
            "value": "Incomplete",
            "description": "Provisioning request for the private link service connection resource has been accepted but the process of creation has not commenced yet."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Provisioning request for the private link service connection resource has been canceled."
          }
        ]
      }
    },
    "PrivateLinkServiceConnectionStatus": {
      "type": "string",
      "description": "Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected.",
      "enum": [
        "Pending",
        "Approved",
        "Rejected",
        "Disconnected"
      ],
      "x-ms-enum": {
        "name": "PrivateLinkServiceConnectionStatus",
        "modelAsString": false,
        "values": [
          {
            "name": "Pending",
            "value": "Pending",
            "description": "The private endpoint connection has been created and is pending approval."
          },
          {
            "name": "Approved",
            "value": "Approved",
            "description": "The private endpoint connection is approved and is ready for use."
          },
          {
            "name": "Rejected",
            "value": "Rejected",
            "description": "The private endpoint connection has been rejected and cannot be used."
          },
          {
            "name": "Disconnected",
            "value": "Disconnected",
            "description": "The private endpoint connection has been removed from the service."
          }
        ]
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/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",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    }
  }
}