1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 11:21:48 +00:00
gcloud-help/gcloud/beta/network-security/security-profile-groups/update
2023-05-24 10:23:00 +00:00

89 lines
3.2 KiB
Text

NAME
gcloud beta network-security security-profile-groups update - update a
Security Profile Group
SYNOPSIS
gcloud beta network-security security-profile-groups update
(SECURITY_PROFILE_GROUP
: --location=LOCATION --organization=ORGANIZATION) [--async]
[--description=DESCRIPTION]
[--threat-prevention-profile=THREAT_PREVENTION_PROFILE]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Update the details of a Security Profile Group.
EXAMPLES
To update an SPG with new Threat prevention profile my-new-security-profile
(Either a fully specified path or --location and --organization flags for
SPG should be specified), run:
$ gcloud beta network-security security-profile-groups update \
my-security-profile-group --organization=1234 \
--location=global \
--threat-prevention-profile=`organizations/1234/locations/\
global/securityProfiles/my-new-security-profile` \
--description='New Security Profile of type threat prevention'
POSITIONAL ARGUMENTS
Security profile group resource - Name of the Security Profile Group to be
updated. 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.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--description=DESCRIPTION
New description of the Security Profile Group.
--threat-prevention-profile=THREAT_PREVENTION_PROFILE
Name of the security profile of type threat prevention.
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 update