{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-search/json-schema/azure-ai-search-shared-private-link-resource-list-result-schema.json",
  "title": "SharedPrivateLinkResourceListResult",
  "description": "Response containing a list of shared private link resources.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ai-search-sharedprivatelinkresources-api-openapi.yml#/components/schemas/SharedPrivateLinkResourceListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of shared private link resources.",
      "items": {
        "$ref": "#/$defs/SharedPrivateLinkResource"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "description": "The URL to get the next set of shared private link resources, if there are any."
    }
  },
  "x-ms-external": true,
  "$defs": {
    "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
    },
    "SharedPrivateLinkResource": {
      "type": "object",
      "description": "Describes a shared private link resource managed by the Azure AI Search service.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/SharedPrivateLinkResourceProperties",
          "description": "Describes the properties of a shared private link resource managed by the Azure AI Search service."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "SharedPrivateLinkResourceProperties": {
      "type": "object",
      "description": "Describes the properties of an existing shared private link resource managed by the Azure AI Search service.",
      "properties": {
        "privateLinkResourceId": {
          "type": "string",
          "description": "The resource ID of the resource the shared private link resource is for."
        },
        "groupId": {
          "type": "string",
          "description": "The group ID from the provider of resource the shared private link resource is for."
        },
        "requestMessage": {
          "type": "string",
          "description": "The message for requesting approval of the shared private link resource."
        },
        "resourceRegion": {
          "type": "string",
          "description": "Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service)."
        },
        "status": {
          "$ref": "#/$defs/SharedPrivateLinkResourceStatus",
          "description": "Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected."
        },
        "provisioningState": {
          "$ref": "#/$defs/SharedPrivateLinkResourceProvisioningState",
          "description": "The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete."
        }
      }
    },
    "SharedPrivateLinkResourceProvisioningState": {
      "type": "string",
      "description": "The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete.",
      "enum": [
        "Updating",
        "Deleting",
        "Failed",
        "Succeeded",
        "Incomplete"
      ],
      "x-ms-enum": {
        "name": "SharedPrivateLinkResourceProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Updating",
            "value": "Updating",
            "description": "The shared private link resource is in the process of being created along with other resources for it to be fully functional."
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "The shared private link resource is in the process of being deleted."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "The shared private link resource has failed to be provisioned or deleted."
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "The shared private link resource has finished provisioning and is ready for approval."
          },
          {
            "name": "Incomplete",
            "value": "Incomplete",
            "description": "Provisioning request for the shared private link resource has been accepted but the process of creation has not commenced yet."
          }
        ]
      }
    },
    "SharedPrivateLinkResourceStatus": {
      "type": "string",
      "description": "Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected.",
      "enum": [
        "Pending",
        "Approved",
        "Rejected",
        "Disconnected"
      ],
      "x-ms-enum": {
        "name": "SharedPrivateLinkResourceStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Pending",
            "value": "Pending",
            "description": "The shared private link resource has been created and is pending approval."
          },
          {
            "name": "Approved",
            "value": "Approved",
            "description": "The shared private link resource is approved and is ready for use."
          },
          {
            "name": "Rejected",
            "value": "Rejected",
            "description": "The shared private link resource has been rejected and cannot be used."
          },
          {
            "name": "Disconnected",
            "value": "Disconnected",
            "description": "The shared private link resource has been removed from the service."
          }
        ]
      }
    }
  }
}