[{
"resourceType": "virtualMachines",
"name": "Standard_E16-4as_v5",
"tier": "Standard",
"size": "E16-4as_v5",
"family": "standardEASv5Family",
"locations": [
"SouthAfricaWest"
],
"locationInfo": [
{
"location": "SouthAfricaWest",
"zones": [],
"zoneDetails": []
}
],
"capabilities": [
{
"name": "MaxResourceVolumeMB",
"value": "0"
},
{
"name": "vCPUs",
"value": "16"
}
],
"restrictions": []
},
{
"resourceType": "virtualMachines",
"name": "Standard_E15",
"tier": "Standard",
"size": "E15",
"family": "standardEASv5Family",
"locations": [
"Africa"
],
"locationInfo": [
{
"location": "Africa",
"zones": [],
"zoneDetails": []
}
],
"capabilities": [
{
"name": "MaxResourceVolumeMB",
"value": "25"
},
{
"name": "vCPUs",
"value": "18"
},
],
"restrictions": []
}
]
I What to achieve exactly like this table :
Need to know how to read a value from a particular object in a list with JSON string using MS SQL I want to get the values from the above json like the attached table image.
For Example: In first Object of list has name : "Standard_E16-4as_v5" for that I neeed to know the what's the "MaxResourceVolumeMB" and "vCPUs" value
OPENJSON
? What was that attempt?