mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-15 17:35:31 +00:00
50 lines
1.8 KiB
Text
50 lines
1.8 KiB
Text
NAME
|
|
gcloud beta compute org-security-policies copy-rules - replace the rules of
|
|
a Compute Engine organization security policy with rules from another
|
|
policy
|
|
|
|
SYNOPSIS
|
|
gcloud beta compute org-security-policies copy-rules SECURITY_POLICY
|
|
--source-security-policy=SOURCE_SECURITY_POLICY
|
|
[--organization=ORGANIZATION] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) gcloud beta compute org-security-policies copy-rules is used to
|
|
replace the rules of organization security policies. An organization
|
|
security policy is a set of rules that controls access to various
|
|
resources.
|
|
|
|
EXAMPLES
|
|
To copy the rules of an organization security policy with ID ``123456789",
|
|
from another organization security policy with ID ``987654321", run:
|
|
|
|
$ gcloud beta compute org-security-policies copy-rules copy-rules \
|
|
123456789 --source-security-policy=987654321
|
|
|
|
POSITIONAL ARGUMENTS
|
|
SECURITY_POLICY
|
|
Display name or ID of the security policy to copy the rules to.
|
|
|
|
REQUIRED FLAGS
|
|
--source-security-policy=SOURCE_SECURITY_POLICY
|
|
The URL of the source security policy to copy the rules from.
|
|
|
|
OPTIONAL FLAGS
|
|
--organization=ORGANIZATION
|
|
Organization in which the organization security policy to copy the
|
|
rules to. Must be set if security-policy is display 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 beta and might change without notice. This
|
|
variant is also available:
|
|
|
|
$ gcloud alpha compute org-security-policies copy-rules
|
|
|