How to list vCPU's and Memory assigned to instances using glcoud compute instances list command. I was able to frame the below command, but it's not showing any value. I know machine type has all the info required info to map, I am looking for a command which displays vCPU's and memory
gcloud compute instances list --format="value(name,machineType,items[].scheduling.minNodeCpus,zone,disks[].type,disks[].diskSizeGb.list())"
TestVM custom-4-32768-ext us-central1-a PERSISTENT 200
TestVM1 custom-4-32768-ext us-central1-a PERSISTENT 400
I was looking for something like
TestVM custom-4-32768-ext 8 32GB us-central1-a PERSISTENT 200
TestVM1 custom-4-32768-ext 4 16GB us-central1-a PERSISTENT 200