gcloud_alpha_compute_security-policies_import (1)
NAME
- gcloud alpha compute security-policies import - import security policy configs into your project
SYNOPSIS
-
gcloud alpha compute security-policies import NAME --file-name=FILE_NAME [--file-format=FILE_FORMAT] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Import security policy configs into your project.
POSITIONAL ARGUMENTS
-
- NAME
-
- Name of the security policy to import.
- Name of the security policy to import.
REQUIRED FLAGS
-
- --file-name=FILE_NAME
-
The name of the JSON or YAML file to import the security policy config from.
OPTIONAL FLAGS
-
- --file-format=FILE_FORMAT
-
The format of the file to import the security policy config from. 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: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud compute security-policies import $ gcloud beta compute security-policies import