{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-express-route/json-schema/microsoft-azure-express-route-express-route-link-list-result-schema.json",
  "title": "ExpressRouteLink List Result",
  "description": "Response for ListExpressRouteLinks API service call.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-express-route-expressroutelinks-api-openapi.yml#/components/schemas/ExpressRouteLinkListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ExpressRouteLink items on this page",
      "items": {
        "$ref": "#/$defs/ExpressRouteLink"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ExpressRouteLink": {
      "type": "object",
      "title": "ExpressRouteLink",
      "description": "ExpressRouteLink child resource definition.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ExpressRouteLinkPropertiesFormat",
          "description": "ExpressRouteLink properties.",
          "x-ms-client-flatten": true
        },
        "name": {
          "type": "string",
          "description": "Name of child port resource that is unique among child port resources of the parent."
        },
        "etag": {
          "type": "string",
          "description": "A unique read-only string that changes whenever the resource is updated.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ]
    },
    "ExpressRouteLinkAdminState": {
      "type": "string",
      "description": "Administrative state of the physical port.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "ExpressRouteLinkAdminState",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Disabled"
          }
        ]
      }
    },
    "ExpressRouteLinkConnectorType": {
      "type": "string",
      "description": "Physical fiber port type.",
      "enum": [
        "LC",
        "SC"
      ],
      "x-ms-enum": {
        "name": "ExpressRouteLinkConnectorType",
        "modelAsString": true,
        "values": [
          {
            "name": "LC",
            "value": "LC",
            "description": "LC"
          },
          {
            "name": "SC",
            "value": "SC",
            "description": "SC"
          }
        ]
      }
    },
    "ExpressRouteLinkMacSecCipher": {
      "type": "string",
      "description": "Mac security cipher.",
      "enum": [
        "GcmAes256",
        "GcmAes128",
        "GcmAesXpn128",
        "GcmAesXpn256"
      ],
      "x-ms-enum": {
        "name": "ExpressRouteLinkMacSecCipher",
        "modelAsString": true,
        "values": [
          {
            "name": "GcmAes256",
            "value": "GcmAes256",
            "description": "GcmAes256"
          },
          {
            "name": "GcmAes128",
            "value": "GcmAes128",
            "description": "GcmAes128"
          },
          {
            "name": "GcmAesXpn128",
            "value": "GcmAesXpn128",
            "description": "GcmAesXpn128"
          },
          {
            "name": "GcmAesXpn256",
            "value": "GcmAesXpn256",
            "description": "GcmAesXpn256"
          }
        ]
      }
    },
    "ExpressRouteLinkMacSecConfig": {
      "type": "object",
      "title": "Definition of ExpressRouteLink Mac Security configuration.",
      "description": "ExpressRouteLink Mac Security Configuration.",
      "properties": {
        "cknSecretIdentifier": {
          "type": "string",
          "description": "Keyvault Secret Identifier URL containing Mac security CKN key."
        },
        "cakSecretIdentifier": {
          "type": "string",
          "description": "Keyvault Secret Identifier URL containing Mac security CAK key."
        },
        "cipher": {
          "$ref": "#/$defs/ExpressRouteLinkMacSecCipher",
          "description": "Mac security cipher."
        },
        "sciState": {
          "$ref": "#/$defs/ExpressRouteLinkMacSecSciState",
          "description": "Sci mode enabled/disabled."
        }
      }
    },
    "ExpressRouteLinkMacSecSciState": {
      "type": "string",
      "description": "Sci mode enabled/disabled.",
      "enum": [
        "Disabled",
        "Enabled"
      ],
      "x-ms-enum": {
        "name": "ExpressRouteLinkMacSecSciState",
        "modelAsString": true,
        "values": [
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Disabled"
          },
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Enabled"
          }
        ]
      }
    },
    "ExpressRouteLinkPropertiesFormat": {
      "type": "object",
      "title": "ExpressRouteLink Resource Properties",
      "description": "Properties specific to ExpressRouteLink resources.",
      "properties": {
        "routerName": {
          "type": "string",
          "description": "Name of Azure router associated with physical port.",
          "readOnly": true
        },
        "interfaceName": {
          "type": "string",
          "description": "Name of Azure router interface.",
          "readOnly": true
        },
        "patchPanelId": {
          "type": "string",
          "description": "Mapping between physical port to patch panel port.",
          "readOnly": true
        },
        "rackId": {
          "type": "string",
          "description": "Mapping of physical patch panel to rack.",
          "readOnly": true
        },
        "coloLocation": {
          "type": "string",
          "description": "Cololocation for ExpressRoute Hybrid Direct.",
          "readOnly": true
        },
        "connectorType": {
          "$ref": "#/$defs/ExpressRouteLinkConnectorType",
          "description": "Physical fiber port type.",
          "readOnly": true
        },
        "adminState": {
          "$ref": "#/$defs/ExpressRouteLinkAdminState",
          "description": "Administrative state of the physical port."
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the express route link resource.",
          "readOnly": true
        },
        "macSecConfig": {
          "$ref": "#/$defs/ExpressRouteLinkMacSecConfig",
          "description": "MacSec configuration."
        }
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "Provisioning states of a resource.",
      "enum": [
        "Failed",
        "Succeeded",
        "Canceled",
        "Creating",
        "Updating",
        "Deleting"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled"
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deleting"
          }
        ]
      }
    },
    "SubResource": {
      "type": "object",
      "description": "Reference to another subresource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        }
      }
    }
  }
}