{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-private-link-endpoint-schema.json",
  "title": "PrivateLinkEndpoint",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-private-endpoint-services-api-openapi.yml#/components/schemas/PrivateLinkEndpoint",
  "properties": {
    "cloudProvider": {
      "description": "Cloud service provider that serves the requested endpoint.",
      "enum": [
        "AWS",
        "AZURE",
        "GCP"
      ],
      "readOnly": true,
      "type": "string"
    },
    "deleteRequested": {
      "description": "Flag that indicates whether MongoDB Cloud received a request to remove the specified private endpoint from the private endpoint service.",
      "readOnly": true,
      "type": "boolean"
    },
    "errorMessage": {
      "description": "Error message returned when requesting private connection resource. The resource returns `null` if the request succeeded.",
      "readOnly": true,
      "type": "string"
    }
  },
  "required": [
    "cloudProvider"
  ],
  "type": "object"
}