gcloud alpha compute network-edge-security-services update - update a network edge security service
gcloud alpha compute network-edge-security-services update NAME [--description=DESCRIPTION] [--region=REGION] [--security-policy=SECURITY_POLICY] [--security-policy-region=SECURITY_POLICY_REGION] [GCLOUD_WIDE_FLAG ...]
(ALPHA) gcloud alpha compute network-edge-security-services update is used to update network edge security services.
To attach a new security policy 'my-policy' to a network edge security service with the name 'my-service' in region 'us-central1', run:
$ gcloud alpha compute network-edge-security-services update \ my-service --security-policy=my-policy --region=us-central1
To remove the security policy attached to a network edge security service with the name 'my-service' in region 'us-central1', run:
$ gcloud alpha compute network-edge-security-services update \ my-service --security-policy="" --region=us-central1
- NAME
Name of the network edge security service to update.
- --description=DESCRIPTION
An optional, textual description for the network edge security service.
- --region=REGION
Region of the network edge security service to update. Overrides the default compute/region property value for this command invocation.
- --security-policy=SECURITY_POLICY
The security policy that will be set for this network edge security service. To remove the policy from this network edge security service set the policy to an empty string.
- --security-policy-region=SECURITY_POLICY_REGION
Region of the security policy to operate on. Overrides the default compute/region property value for this command invocation.
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.
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. These variants are also available:
$ gcloud compute network-edge-security-services update
$ gcloud beta compute network-edge-security-services update