This Choreo retrieves a list of Machine Type resources across all available zones. The documentation for this Google Compute resource can be found here.
Here is an example of acceptable inputs:
ClientID: {YOUR CLIENT ID}
ClientSecret: {YOUR CLIENT SECRET}
RefreshToken: {YOUR REFRESH TOKEN}
Project: 568511846799
The following is a sample of the JSON information returned by this Choreo:
{
"kind": "compute#machineTypeAggregatedList",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/aggregated/machineTypes",
"id": "projects/568511846799/aggregated/machineTypes",
"items": {
"zones/europe-west1-a": {
"machineTypes": [
{
"kind": "compute#machineType",
"id": "4618642685664990776",
"creationTimestamp": "2013-04-25T13:32:49.088-07:00",
"name": "f1-micro",
"description": "1 vCPU (shared physical core) and 0.6 GB RAM",
"guestCpus": 1,
"memoryMb": 614,
"imageSpaceGb": 0,
"maximumPersistentDisks": 4,
"maximumPersistentDisksSizeGb": "3072",
"zone": "europe-west1-a",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/europe-west1-a/machineTypes/f1-micro"
}
]
},
"zones/europe-west1-b": {
"machineTypes": [
{
"kind": "compute#machineType",
"id": "4618642685664990776",
"creationTimestamp": "2013-04-25T13:32:49.088-07:00",
"name": "f1-micro",
"description": "1 vCPU (shared physical core) and 0.6 GB RAM",
"guestCpus": 1,
"memoryMb": 614,
"imageSpaceGb": 0,
"maximumPersistentDisks": 4,
"maximumPersistentDisksSizeGb": "3072",
"zone": "europe-west1-b",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/europe-west1-b/machineTypes/f1-micro"
}
]
},
"zones/us-central1-a": {
"machineTypes": [
{
"kind": "compute#machineType",
"id": "4618642685664990776",
"creationTimestamp": "2013-04-25T13:32:49.088-07:00",
"name": "f1-micro",
"description": "1 vCPU (shared physical core) and 0.6 GB RAM",
"guestCpus": 1,
"memoryMb": 614,
"imageSpaceGb": 0,
"maximumPersistentDisks": 4,
"maximumPersistentDisksSizeGb": "3072",
"zone": "us-central1-a",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/us-central1-a/machineTypes/f1-micro"
}
]
},
"zones/us-central1-b": {
"machineTypes": [
{
"kind": "compute#machineType",
"id": "4618642685664990776",
"creationTimestamp": "2013-04-25T13:32:49.088-07:00",
"name": "f1-micro",
"description": "1 vCPU (shared physical core) and 0.6 GB RAM",
"guestCpus": 1,
"memoryMb": 614,
"imageSpaceGb": 0,
"maximumPersistentDisks": 4,
"maximumPersistentDisksSizeGb": "3072",
"zone": "us-central1-b",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/us-central1-b/machineTypes/f1-micro"
}
]
},
"zones/us-central2-a": {
"machineTypes": [
{
"kind": "compute#machineType",
"id": "4618642685664990776",
"creationTimestamp": "2013-04-25T13:32:49.088-07:00",
"name": "f1-micro",
"description": "1 vCPU (shared physical core) and 0.6 GB RAM",
"guestCpus": 1,
"memoryMb": 614,
"imageSpaceGb": 0,
"maximumPersistentDisks": 4,
"maximumPersistentDisksSizeGb": "3072",
"zone": "us-central2-a",
"selfLink": "https://www.googleapis.com/compute/v1/projects/568511846799/zones/us-central2-a/machineTypes/f1-micro"
}
]
}
},
"nextPageToken": "ChhQRVJfUFJPSkVDVF9NQUNISU5FX1RZUEUSFTU2ODUxMTg0Njc5OS5nMS1zbWFsbA=="
}