1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 11:21:48 +00:00
gcloud-help/gcloud/alpha/compute/firewall-rules/migrate
2022-05-04 09:15:29 +00:00

43 lines
1.7 KiB
Text

NAME
gcloud alpha compute firewall-rules migrate - create a new Network Firewall
Policy and move all customer defined firewall rules there
SYNOPSIS
gcloud alpha compute firewall-rules migrate --source-network=SOURCE_NETWORK
--target-firewall-policy=TARGET_FIREWALL_POLICY [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha compute firewall-rules migrate is used to create a new
Network Firewall Policy that contain all rules defined in already existing
Network Firewall Policy associated with the given VPC Network and all
customer defined VPC Firewall Rules attached to that VPC Network.
EXAMPLES
To execute the migration for VPC Network 'my-network' which stores the
result in 'my-policy' Network Firewall Policy, run:
$ gcloud alpha compute firewall-rules migrate \
--source-network=my-network --target-firewall-policy=my-policy
REQUIRED FLAGS
--source-network=SOURCE_NETWORK
The VPC Network for which the migration should be performed.
--target-firewall-policy=TARGET_FIREWALL_POLICY
Name of the new Network Firewall Policy used to store the migration
result.
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.