|
- [
- {
- "fqn": "24ska01-sgp.ram-32g-noecc-2133.softraid-1x480ssd",
- "memory": "ram-32g-noecc-2133",
- "planCode": "24ska01-sgp",
- "server": "24ska01",
- "storage": "softraid-1x480ssd",
- "datacenters": [
- {
- "availability": "1H-high",
- "datacenter": "sgp"
- }
- ]
- },
- {
- "fqn": "24ska01-syd.ram-32g-noecc-2133.softraid-1x480ssd",
- "memory": "ram-32g-noecc-2133",
- "planCode": "24ska01-syd",
- "server": "24ska01",
- "storage": "softraid-1x480ssd",
- "datacenters": [
- {
- "availability": "1H-high",
- "datacenter": "syd"
- }
- ]
- },
- {
- "fqn": "24ska01.ram-64g-noecc-2133.softraid-1x480ssd",
- "memory": "ram-64g-noecc-2133",
- "planCode": "24ska01",
- "server": "24ska01",
- "storage": "softraid-1x480ssd",
- "datacenters": [
- {
- "availability": "unavailable",
- "datacenter": "bhs"
- },
- {
- "availability": "unavailable",
- "datacenter": "fra"
- },
- {
- "availability": "unavailable",
- "datacenter": "gra"
- },
- {
- "availability": "unavailable",
- "datacenter": "lon"
- },
- {
- "availability": "unavailable",
- "datacenter": "rbx"
- },
- {
- "availability": "unavailable",
- "datacenter": "sbg"
- },
- {
- "availability": "unavailable",
- "datacenter": "waw"
- }
- ]
- }
- ]
复制代码
这是ks-a的api结果,现在想要用一段jsonata语句只查询"fqn": "24ska01.ram-64g-noecc-2133.softraid-1x480ssd"这个数组里的datacenter availability不等于unavailable的结果。问了几个AI,百度的,微软的,阿里的都没解决,最后还是来问问万能的mjj吧。 |
|