mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-15 01:15:34 +00:00
46 lines
1.5 KiB
Text
46 lines
1.5 KiB
Text
NAME
|
|
gcloud beta compute network-policies update - update a Compute Engine
|
|
network policy
|
|
|
|
SYNOPSIS
|
|
gcloud beta compute network-policies update NETWORK_POLICY
|
|
[--description=DESCRIPTION] [--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) gcloud beta compute network-policies update is used to update
|
|
network policies. A network policy is a set of rules that classifies
|
|
network traffic.
|
|
|
|
EXAMPLES
|
|
To update a network policy with name my-policy, to change the description
|
|
to New description, run:
|
|
|
|
$ gcloud beta compute network-policies update my-policy \
|
|
--description='New description' --region=my-region
|
|
|
|
POSITIONAL ARGUMENTS
|
|
NETWORK_POLICY
|
|
name of the network policy to update.
|
|
|
|
FLAGS
|
|
--description=DESCRIPTION
|
|
An optional, textual description for the network policy.
|
|
|
|
--region=REGION
|
|
Region of the network policy to update. Overrides the default
|
|
compute/region property value for this command invocation.
|
|
|
|
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 command is currently in beta and might change without notice. This
|
|
variant is also available:
|
|
|
|
$ gcloud alpha compute network-policies update
|
|
|