mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
50 lines
1.8 KiB
Text
50 lines
1.8 KiB
Text
NAME
|
|
gcloud compute os-config patch-deployments create - create a patch
|
|
deployment for a project
|
|
|
|
SYNOPSIS
|
|
gcloud compute os-config patch-deployments create PATCH_DEPLOYMENT_ID
|
|
--file=FILE [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
gcloud compute os-config patch-deployments create creates a patch
|
|
deployment in a project from a specified file. A patch deployment triggers
|
|
a patch job to run at specific time(s) according to a schedule, and applies
|
|
instance filters and other patch configurations to the patch job at run
|
|
time. Alternatively, to run a patch job on-demand, see $ gcloud compute
|
|
os-config patch-jobs execute.
|
|
|
|
EXAMPLES
|
|
To create a patch deployment patch-deployment-1 in the current project,
|
|
run:
|
|
|
|
$ gcloud compute os-config patch-deployments create \
|
|
patch-deployment-1 --file=path_to_config_file
|
|
|
|
POSITIONAL ARGUMENTS
|
|
PATCH_DEPLOYMENT_ID
|
|
Name of the patch deployment to create.
|
|
|
|
This name must contain only lowercase letters, numbers, and hyphens,
|
|
start with a letter, end with a number or a letter, be between 1-63
|
|
characters, and unique within the project.
|
|
|
|
REQUIRED FLAGS
|
|
--file=FILE
|
|
The JSON or YAML file with the patch deployment to create. For
|
|
information about the patch deployment format, see
|
|
https://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 help for details.
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud beta compute os-config patch-deployments create
|
|
|