hardgcloud

List all Deployment Manager deployments and output as JSON for scripting

command

gcloud deployment-manager deployments list --format json

also accepted

gcloud deployment-manager deployments list

Command breakdown

Part of the Google Cloud CLI (gcloud) — Deployment Manager category.

gclouddeployment-managerdeploymentslist--formatjson
FlagPurpose
--formatBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →