gcloud compute os-config patch-deployments update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud compute os-config patch-deployments update - update patch deployment in a project
- SYNOPSIS
gcloud compute os-config patch-deployments updatePATCH_DEPLOYMENT_ID--file=FILE[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Updates a patch deployment in a project. To update the patch deployment, youmust specify a configuration file.
- EXAMPLES
- To update a patch deployment
patch-deployment-1in the currentproject, run:gcloudcomputeos-configpatch-deploymentsupdatepatch-deployment-1--file=path_to_config_file - POSITIONAL ARGUMENTS
PATCH_DEPLOYMENT_ID- Name of the patch deployment to update.
To get a list of patch deployments that are available for update, run the
gcloud compute os-config patch-deployments listcommand.
- REQUIRED FLAGS
--file=FILE- The JSON or YAML file with the patch deployment to update. For information aboutthe patch deployment format, seehttps://cloud.google.com/compute/docs/osconfig/rest/v1/projects.patchDeployments.
- 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 variant is also available:
gcloudbetacomputeos-configpatch-deploymentsupdate
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.