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/backend-services/set-security-policy
2022-03-01 04:29:52 +00:00

49 lines
1.8 KiB
Text

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 promoted to
beta. Please use "gcloud beta backend-services update" instead.
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 can 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.
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.