gcloud_alpha_compute_backend-services_set-security-policy (1)
NAME
- gcloud alpha compute backend-services set-security-policy - set the security policy for a backend service
SYNOPSIS
-
gcloud alpha compute backend-services set-security-policy BACKEND_SERVICE_NAME --security-policy=SECURITY_POLICY [--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) (DEPRECATED) This command is deprecated and will not be
gcloud alpha compute backend-services set-security-policy is used to set the security policy for a backend service. Setting an empty string will clear the existing security policy.
POSITIONAL ARGUMENTS
-
- BACKEND_SERVICE_NAME
-
Name of the backend service to operate on.
REQUIRED FLAGS
-
- --security-policy=SECURITY_POLICY
-
The security policy that will be set for this backend service.
OPTIONAL FLAGS
-
-
At most one of these may be specified:
-
- --global
-
If set, the backend service is global.
- --region=REGION
-
Region of the backend service to operate on. Overrides the default
compute/region property value for this command invocation.
-
-
At most one of these may be specified:
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