mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 23:49:35 +00:00
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
NAME
|
|
gcloud compute security-policies export - export security policy configs
|
|
into yaml files
|
|
|
|
SYNOPSIS
|
|
gcloud compute security-policies export NAME --file-name=FILE_NAME
|
|
[--file-format=FILE_FORMAT] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Export security policy configs into yaml files.
|
|
|
|
POSITIONAL ARGUMENTS
|
|
NAME
|
|
Name of the security policy to export.
|
|
|
|
REQUIRED FLAGS
|
|
--file-name=FILE_NAME
|
|
The name of the file to export the security policy config to.
|
|
|
|
OPTIONAL FLAGS
|
|
--file-format=FILE_FORMAT
|
|
The format of the file to export the security policy config to. Specify
|
|
either yaml or json. Defaults to yaml if not specified. FILE_FORMAT
|
|
must be one of: json, yaml.
|
|
|
|
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
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha compute security-policies export
|
|
|
|
$ gcloud beta compute security-policies export
|
|
|