gcloud compute os-config patch-jobs cancel

NAME
gcloud compute os-config patch-jobs cancel - cancel a specific OS patch job which must currently be active
SYNOPSIS
gcloud compute os-config patch-jobs cancelPATCH_JOB[GCLOUD_WIDE_FLAG]
EXAMPLES
To cancel the patch jobjob1, run:
gcloudcomputeos-configpatch-jobscanceljob1
POSITIONAL ARGUMENTS
Patch job resource - Patch job to cancel. This represents a Cloud resource.(NOTE) Some attributes are not given arguments in this group but can be set inother ways.

To set theproject attribute:

  • provide the argumentpatch_job on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

PATCH_JOB
ID of the patch_job or fully qualified identifier for the patch_job.

To set thepatch_job attribute:

  • provide the argumentpatch_job on the command line.
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 help for details.

NOTES
This variant is also available:
gcloudbetacomputeos-configpatch-jobscancel

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.