1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 03:16:46 +00:00
gcloud-help/gcloud/beta/network-security/security-profile-groups/create
2023-05-24 10:23:00 +00:00

90 lines
3.3 KiB
Text

NAME
gcloud beta network-security security-profile-groups create - create a new
Security Profile Group
SYNOPSIS
gcloud beta 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
(BETA) 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 beta 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/v1beta1 API. The full documentation
for this API can be found at: https://cloud.google.com/networking
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud alpha network-security security-profile-groups create