- NAME
-
- gcloud deployment-manager deployments - commands for Deployment Manager deployments
- SYNOPSIS
-
-
gcloud deployment-manager deployments
COMMAND
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Commands to create, update, delete, and examine deployments of resources.
- EXAMPLES
-
To create a deployment, run:
gcloud deployment-manager deployments create my-deployment --config config.yaml
To update a deployment, run:
gcloud deployment-manager deployments update my-deployment --config new_config.yaml
To stop a deployment create or update in progress, run:
gcloud deployment-manager deployments stop my-deployment
To cancel a previewed create or update, run:
gcloud deployment-manager deployments cancel-preview my-deployment
To delete a deployment, run:
gcloud deployment-manager deployments delete my-deployment
To view the details of a deployment, run:
gcloud deployment-manager deployments describe my-deployment
To see the list of all deployments, run:
gcloud deployment-manager deployments list
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help
.Run
$ gcloud help
for details. - COMMANDS
-
is one of the following:COMMAND
cancel-preview
- Cancel a pending or running deployment preview.
create
- Create a deployment.
delete
- Delete a deployment.
describe
- Provide information about a deployment.
list
- List deployments in a project.
stop
- Stop a pending or running deployment update or creation.
update
- Update a deployment based on a provided config file.
- NOTES
-
These variants are also available:
gcloud alpha deployment-manager deployments
gcloud beta deployment-manager deployments
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.