- NAME
-
- gcloud preview compute network-edge-security-services create - create a Compute Engine network edge security service
- SYNOPSIS
-
-
gcloud preview compute network-edge-security-services createNAME[--description=DESCRIPTION] [--region=REGION] [--security-policy=SECURITY_POLICY] [--security-policy-region=SECURITY_POLICY_REGION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(PREVIEW)gcloud preview compute network-edge-security-services createis used to create network edge security services. - EXAMPLES
-
To create a network edge security service with the name 'my-service' in region
'us-central1', run:
gcloud preview compute network-edge-security-services create my-service --region=us-central1To create a network edge security service with the name 'my-service' with security policy 'my-policy' attached in region 'us-central1', run:
gcloud preview compute network-edge-security-services create my-service --security-policy=my-policy --region=us-central1 - POSITIONAL ARGUMENTS
-
NAME- Name of the network edge security service to create.
- FLAGS
-
--description=DESCRIPTION- An optional, textual description for the network edge security service.
--region=REGION-
Region of the network edge security service to create. Overrides the default
compute/regionproperty 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/regionproperty 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 helpfor details. - NOTES
-
This command is currently in DEVELOPER PREVIEW and may 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 creategcloud alpha compute network-edge-security-services creategcloud beta compute network-edge-security-services create
gcloud preview compute network-edge-security-services create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-14 UTC.