Skip to content

allGcpNativeCompatibleMachineTypes

List of compatible machine types for instance.

Arguments

Argument Type Description
targetZone (required) String! The zone of the to-be-created instance.
snapshotId (required) UUID! ID of snapshot.

Returns

[String!]!

Sample

query AllGcpNativeCompatibleMachineTypes($targetZone: String!, $snapshotId: UUID!) {
  allGcpNativeCompatibleMachineTypes(
    targetZone: $targetZone
    snapshotId: $snapshotId
  )
}
{
  "targetZone": "example-string",
  "snapshotId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "allGcpNativeCompatibleMachineTypes": [
      "example-string"
    ]
  }
}