The Equinix Community will be offline for scheduled maintenance on July 31, 2024. Learn More.
I created the following query filter to use with the https://api.equinix.com/fabric/v4/connections/search API to retrieve all "non-deprovisioned" connections:
{
"filter": {
"AND": [
{
"property": "/operation/equinixStatus",
"operator": "=",
"values": [
"PENDING_APPROVAL",
"PROVISIONING",
"PROVISIONED",
"NOT_PROVISIONED",
"REJECTED",
"PENDING_BGP_PEERING"
]
},
{
"property": "/aSide/accessPoint/location/metroCode",
"operator": "=",
"values": [
"SV"
]
}
]
},
"pagination": {
"limit": 3000,
"offset": 0
},
"sort": [
{
"property": "/name",
"direction": "DESC"
}
]
}
The results of the above query returned multiple connections that had an equinixStatus of DEPROVISIONED.
Is there an error in the above query filter as I can't see why there would be any connections returned with an equinixStatus of a value other than one in the above list of values specified in the filter?
I even simplified the values array to only include PROVISIONED and still got results containing DEPROVISIONED.
Solved! Go to Solution.
Equinix is the world's digital infrastructure company. Digital leaders harness our trusted platform to bring together and interconnect the foundational infrastructure that powers their success. We enable our customers to access all the right places, partners and possibilities they need to accelerate advantage.