1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/alpha/network-security/security-profile-groups/create
2023-05-04 10:43:54 +00:00

90 lines
3.4 KiB
Text

NAME
gcloud alpha network-security security-profile-groups create - create a new
Security Profile Group
SYNOPSIS
gcloud alpha network-security security-profile-groups create
(SECURITY_PROFILE_GROUP
: --location=LOCATION --organization=ORGANIZATION)
--threat-prevention-profile=THREAT_PREVENTION_PROFILE [--async]
[--description=DESCRIPTION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a new Security Profile Group with the given name.
EXAMPLES
To create a Security Profile Group with the name my-security-profile-group
(Either a fully specified path or --location and --organization flags for
SPG should be specified), --threat-prevention-profile my-security-profile
and optional description as optional description, run:
$ gcloud alpha network-security security-profile-groups create \
my-security-profile-group --organization=1234 \
--location=global \
--threat-prevention-profile=`organizations/1234/locations/\
global/securityProfiles/my-security-profile` \
--description='optional description'
POSITIONAL ARGUMENTS
Security profile group resource - Name of the security profile group to be
created. The arguments in this group can be used to specify the attributes
of this resource.
This must be specified.
SECURITY_PROFILE_GROUP
ID of the security profile group or fully qualified identifier for
the security profile group.
To set the security_profile_group attribute:
▸ provide the argument security_profile_group on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
Location Id.
To set the location attribute:
▸ provide the argument security_profile_group on the command line
with a fully specified name;
▸ provide the argument --location on the command line.
--organization=ORGANIZATION
Organization number.
To set the organization attribute:
▸ provide the argument security_profile_group on the command line
with a fully specified name;
▸ provide the argument --organization on the command line.
REQUIRED FLAGS
--threat-prevention-profile=THREAT_PREVENTION_PROFILE
Name of the security profile of type threat prevention.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--description=DESCRIPTION
Description of the security profile group.
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.
API REFERENCE
This command uses the networksecurity/v1alpha1 API. The full documentation
for this API can be found at: https://cloud.google.com/networking
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.