Hello,
I'm using ECE, and trying to create a script that would give the "Searchable object storage" of a Frozen Instance, that is stored in S3. I have tried to get it through the API : /api/v1/deployments/{deployment_id}
. And when I check the specific instance object from the JSON :
{
"instance_name": "",
"instance_configuration": {
"id": "",
"name": "",
"resource": "memory"
},
"service_version": "",
"instance_set_id": "",
"healthy": ,
"container_started": ,
"service_running": ,
"maintenance_mode": ,
"logical_zone": "",
"zone": "",
"allocator_id": "",
"memory": {
"instance_capacity": 2375,
"memory_pressure": 26,
"native_memory_pressure": 82
},
"disk": {
"disk_space_available": 71250,
"disk_space_used": 64393,
"storage_multiplier": 30.0
},
"service_roles": [
"data"
],
"node_roles": [
"data_frozen"
],
"instance_overrides": {}
}
I can't figure out why in the UI it shows :
Searchable object storage 405.18 GB.
As I'm not finding any formula to end up with this number. Maybe I'm missing something when trying to recreate the formula?