gcloud_beta_compute_security-policies_create (1)
NAME
- gcloud beta compute security-policies create - create a Google Compute Engine security policy
SYNOPSIS
-
gcloud beta compute security-policies create NAME [--file-format=FILE_FORMAT] [--description=DESCRIPTION | --file-name=FILE_NAME] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) gcloud beta compute security-policies create is used to
POSITIONAL ARGUMENTS
-
- NAME
-
Name of the security policy to create.
FLAGS
-
- --file-format=FILE_FORMAT
-
The format of the file to create the security policy config from. Specify either
yaml or json. Defaults to yaml if not specified. Will be ignored if
--file-name is not specified. FILE_FORMAT must be one of: json,
yaml.
-
Creation options. At most one of these may be specified:
-
- --description=DESCRIPTION
-
An optional, textual description for the security policy.
- --file-name=FILE_NAME
-
The name of the JSON or YAML file to create a security policy config from.
-
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 BETA and may change without notice. These variants are also available:
- $ gcloud compute security-policies create $ gcloud alpha compute security-policies create