gcloud beta app versions migrate Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta app versions migrate - migrate traffic from one version to another for a set of services
- SYNOPSIS
gcloud beta app versions migrateVERSION[--service=SERVICE,-sSERVICE][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Migrate traffic from one version to another for a set ofservices.- EXAMPLES
- This only works for automatically scaled Standard versions. To migrate from oneversion to another for all services where there is a version v2 and shut downthe previous version, run:
gcloudbetaappversionsmigratev2To migrate from one version to another for a specific service, run:
gcloudbetaappversionsmigratev2--service="s1" - POSITIONAL ARGUMENTS
VERSION- The version to migrate to.
- FLAGS
--service=SERVICE,-sSERVICE- If specified, only migrate versions from the given service.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - NOTES
- This command is currently in beta and might change without notice. This variantis also available:
gcloudappversionsmigrate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.