{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-interconnect-remote-location-schema.json",
  "title": "InterconnectRemoteLocation",
  "description": "Represents a Cross-Cloud Interconnect Remote Location resource.\n\nYou can use this resource to find remote location details about an\nInterconnect attachment (VLAN).",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-interconnect-remote-locations-api-openapi.yml#/components/schemas/InterconnectRemoteLocation",
  "properties": {
    "maxLagSize100Gbps": {
      "type": "integer",
      "format": "int32",
      "readOnly": true,
      "description": "Output only. [Output Only]\nThe maximum number of 100 Gbps ports supported in a link aggregation group\n(LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed\nmax_lag_size_100_gbps."
    },
    "description": {
      "description": "Output only. [Output Only] An optional description of the resource.",
      "readOnly": true,
      "type": "string"
    },
    "maxLagSize400Gbps": {
      "type": "integer",
      "format": "int32",
      "description": "Output only. [Output Only]\nThe maximum number of 400 Gbps ports supported in a link aggregation group\n(LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed\nmax_lag_size_400_gbps.",
      "readOnly": true
    },
    "creationTimestamp": {
      "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.",
      "readOnly": true,
      "type": "string"
    },
    "status": {
      "description": "Output only. [Output Only] The status of this InterconnectRemoteLocation, which can take\none of the following values:\n   \n   - CLOSED: The InterconnectRemoteLocation is closed and is unavailable\n   for provisioning new Cross-Cloud Interconnects. \n   - AVAILABLE: The\n   InterconnectRemoteLocation is available for provisioning new\n   Cross-Cloud Interconnects.",
      "enum": [
        "AVAILABLE",
        "CLOSED"
      ],
      "type": "string",
      "readOnly": true
    },
    "remoteService": {
      "readOnly": true,
      "description": "Output only. [Output Only] Indicates the service provider present at the remote\nlocation. Example values: \"Amazon Web Services\", \"Microsoft Azure\".",
      "type": "string"
    },
    "facilityProviderFacilityId": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] A provider-assigned Identifier for this facility (e.g.,\nAshburn-DC1)."
    },
    "name": {
      "readOnly": true,
      "description": "Output only. [Output Only] Name of the resource.",
      "type": "string"
    },
    "maxLagSize10Gbps": {
      "description": "Output only. [Output Only]\nThe maximum number of 10 Gbps ports supported in a link aggregation group\n(LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed\nmax_lag_size_10_gbps.",
      "readOnly": true,
      "type": "integer",
      "format": "int32"
    },
    "continent": {
      "description": "Output only. [Output Only] Continent for this location, which can take one of the\nfollowing values:\n   \n   - AFRICA\n   - ASIA_PAC\n   - EUROPE\n   - NORTH_AMERICA\n   - SOUTH_AMERICA",
      "type": "string",
      "readOnly": true,
      "enum": [
        "AFRICA",
        "ASIA_PAC",
        "EUROPE",
        "NORTH_AMERICA",
        "SOUTH_AMERICA"
      ]
    },
    "kind": {
      "type": "string",
      "default": "compute#interconnectRemoteLocation",
      "readOnly": true,
      "description": "Output only. [Output Only] Type of the resource. Alwayscompute#interconnectRemoteLocation for interconnect remote\nlocations."
    },
    "facilityProvider": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] The name of the provider for this facility (e.g., EQUINIX)."
    },
    "city": {
      "description": "Output only. [Output Only] Metropolitan area designator that indicates which city an\ninterconnect is located.\nFor example: \"Chicago, IL\", \"Amsterdam, Netherlands\".",
      "type": "string",
      "readOnly": true
    },
    "permittedConnections": {
      "readOnly": true,
      "description": "Output only. [Output Only] Permitted connections.",
      "items": {
        "$ref": "#/$defs/InterconnectRemoteLocationPermittedConnections"
      },
      "type": "array"
    },
    "address": {
      "type": "string",
      "description": "Output only. [Output Only] The postal address of the Point of Presence, each line in\nthe address is separated by a newline character.",
      "readOnly": true
    },
    "selfLink": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] Server-defined URL for the resource."
    },
    "id": {
      "readOnly": true,
      "description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
      "format": "uint64",
      "type": "string"
    },
    "constraints": {
      "$ref": "#/$defs/InterconnectRemoteLocationConstraints",
      "description": "Output only. [Output Only] Constraints on the parameters for creating Cross-Cloud\nInterconnect and associated InterconnectAttachments."
    },
    "attachmentConfigurationConstraints": {
      "$ref": "#/$defs/InterconnectAttachmentConfigurationConstraints",
      "description": "Output only. [Output Only] Subset of fields from InterconnectAttachment's\n|configurationConstraints| field that apply to all attachments for this\nremote location."
    },
    "peeringdbFacilityId": {
      "readOnly": true,
      "description": "Output only. [Output Only] The peeringdb identifier for this facility (corresponding\nwith a netfac type in peeringdb).",
      "type": "string"
    },
    "lacp": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. [Output Only] Link Aggregation Control Protocol (LACP) constraints, which\ncan take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED",
      "enum": [
        "LACP_SUPPORTED",
        "LACP_UNSUPPORTED"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "InterconnectAttachmentConfigurationConstraints": {
      "type": "object",
      "properties": {
        "bgpPeerAsnRanges": {
          "readOnly": true,
          "type": "array",
          "description": "Output only. [Output Only] List of ASN ranges that the remote location is known to\nsupport. Formatted as an array of inclusive ranges {min: min-value, max:\nmax-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}]\nallows the peer ASN to be 123 or anything in the range 64512-65534.\n\nThis field is only advisory. Although the API accepts other ranges, these\nare the ranges that we recommend.",
          "items": {
            "$ref": "#/$defs/InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange"
          }
        },
        "bgpMd5": {
          "enum": [
            "MD5_OPTIONAL",
            "MD5_REQUIRED",
            "MD5_UNSUPPORTED"
          ],
          "readOnly": true,
          "description": "Output only. [Output Only] Whether the attachment's BGP session\nrequires/allows/disallows BGP MD5 authentication. This can take one of\nthe following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED.\n\nFor example, a Cross-Cloud Interconnect connection to a remote cloud\nprovider that requires BGP MD5 authentication has the\ninterconnectRemoteLocation attachment_configuration_constraints.bgp_md5\nfield set to MD5_REQUIRED, and that property is propagated to the\nattachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is\nreturned if MD5 is requested.",
          "type": "string"
        }
      }
    },
    "InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange": {
      "type": "object",
      "properties": {
        "min": {
          "type": "integer",
          "format": "uint32"
        },
        "max": {
          "type": "integer",
          "format": "uint32"
        }
      }
    },
    "InterconnectRemoteLocationConstraints": {
      "type": "object",
      "properties": {
        "portPairVlan": {
          "readOnly": true,
          "enum": [
            "PORT_PAIR_MATCHING_VLAN",
            "PORT_PAIR_UNCONSTRAINED_VLAN"
          ],
          "description": "Output only. [Output Only] Port pair VLAN constraints, which can take one of the\nfollowing values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN",
          "type": "string"
        },
        "portPairRemoteLocation": {
          "type": "string",
          "description": "Output only. [Output Only] Port pair remote location constraints, which can take one\nof the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION,\nPORT_PAIR_MATCHING_REMOTE_LOCATION.\n\nGoogle Cloud API refers only to individual ports, but the UI uses this\nfield when ordering a pair of ports, to prevent users from accidentally\nordering something that is incompatible with their cloud provider.\nSpecifically, when ordering a redundant pair of Cross-Cloud Interconnect\nports, and one of them uses a remote location with\nportPairMatchingRemoteLocation set to matching, the UI requires that\nboth ports use the same remote location.",
          "readOnly": true,
          "enum": [
            "PORT_PAIR_MATCHING_REMOTE_LOCATION",
            "PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION"
          ]
        },
        "subnetLengthRange": {
          "$ref": "#/$defs/InterconnectRemoteLocationConstraintsSubnetLengthRange",
          "description": "Output only. [Output Only]\n\n[min-length, max-length] \n\nThe minimum and maximum value (inclusive) for the IPv4 subnet\nlength.\n\n For example, an  interconnectRemoteLocation for Azure has {min: 30,\nmax:\n30} because Azure requires /30 subnets. \n\nThis range specifies the values supported by both cloud providers.\nInterconnect currently supports /29 and /30 IPv4 subnet lengths. If a\nremote cloud has no constraint on IPv4 subnet length, the range would\nthus be {min: 29, max: 30}."
        }
      }
    },
    "InterconnectRemoteLocationConstraintsSubnetLengthRange": {
      "properties": {
        "min": {
          "type": "integer",
          "format": "int32"
        },
        "max": {
          "type": "integer",
          "format": "int32"
        }
      },
      "type": "object"
    },
    "InterconnectRemoteLocationPermittedConnections": {
      "type": "object",
      "properties": {
        "interconnectLocation": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. [Output Only] URL of an Interconnect location that is permitted to\nconnect to this Interconnect remote location."
        }
      }
    }
  }
}