{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-outbound-environment-endpoint-collection-schema.json",
  "title": "OutboundEnvironmentEndpointCollection",
  "description": "A collection of endpoints that the managed instance service requires outbound network access to.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-managedinstances-api-openapi.yml#/components/schemas/OutboundEnvironmentEndpointCollection",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The OutboundEnvironmentEndpoint items on this page",
      "items": {
        "$ref": "#/$defs/OutboundEnvironmentEndpoint"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "EndpointDependency": {
      "type": "object",
      "description": "A domain name that the managed instance service needs to communicate with, along with additional details.",
      "properties": {
        "domainName": {
          "type": "string",
          "description": "The domain name of the dependency.",
          "readOnly": true
        },
        "endpointDetails": {
          "type": "array",
          "description": "The IP Addresses and Ports used when connecting to DomainName.",
          "items": {
            "$ref": "#/$defs/EndpointDetail"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "EndpointDetail": {
      "type": "object",
      "description": "A domain name that the managed instance service needs to communicate with, along with additional details.",
      "properties": {
        "port": {
          "type": "integer",
          "format": "int32",
          "description": "The port an endpoint is connected to.",
          "readOnly": true
        }
      }
    },
    "OutboundEnvironmentEndpoint": {
      "type": "object",
      "description": "An endpoint that the managed instance service requires outbound network access to.",
      "properties": {
        "category": {
          "type": "string",
          "description": "The type of service accessed by the managed instance service, e.g., Azure Storage, Azure Active Directory, etc.",
          "readOnly": true
        },
        "endpoints": {
          "type": "array",
          "description": "The endpoints that the managed instance service communicates with in order to function correctly.",
          "items": {
            "$ref": "#/$defs/EndpointDependency"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    }
  }
}