mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 07:29:40 +00:00
54 lines
2.1 KiB
Text
54 lines
2.1 KiB
Text
NAME
|
|
gcloud alpha compute firewall-policies clone-rules - replace the rules of a
|
|
Compute Engine organization firewall policy with rules from another
|
|
policy
|
|
|
|
SYNOPSIS
|
|
gcloud alpha compute firewall-policies clone-rules FIREWALL_POLICY
|
|
--source-firewall-policy=SOURCE_FIREWALL_POLICY
|
|
[--organization=ORGANIZATION] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) gcloud alpha compute firewall-policies clone-rules is used to
|
|
replace the rules of organization firewall policies. An organization
|
|
firewall policy is a set of rules that controls access to various
|
|
resources.
|
|
|
|
EXAMPLES
|
|
To clone the rules of an organization firewall policy with ID ``123456789",
|
|
from another organization firewall policy with ID ``987654321", run:
|
|
|
|
$ gcloud alpha compute firewall-policies clone-rules 123456789 \
|
|
--source-firewall-policy=987654321
|
|
|
|
POSITIONAL ARGUMENTS
|
|
FIREWALL_POLICY
|
|
Short name or ID of the firewall policy to clone the rules to.
|
|
|
|
REQUIRED FLAGS
|
|
--source-firewall-policy=SOURCE_FIREWALL_POLICY
|
|
The URL of the source firewall policy to copy the rules from.
|
|
|
|
OPTIONAL FLAGS
|
|
--organization=ORGANIZATION
|
|
Organization in which the organization firewall policy to copy the
|
|
rules to. Must be set if firewall-policy is short name.
|
|
|
|
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 alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. These variants are also available:
|
|
|
|
$ gcloud compute firewall-policies clone-rules
|
|
|
|
$ gcloud beta compute firewall-policies clone-rules
|
|
|