1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/scc/muteconfigs/delete
2022-03-01 04:29:52 +00:00

75 lines
2.5 KiB
Text

NAME
gcloud scc muteconfigs delete - delete a Cloud Security Command Center mute
config
SYNOPSIS
gcloud scc muteconfigs delete MUTE_CONFIG
[--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Delete a Cloud Security Command Center mute config.
EXAMPLES
To delete a mute config given organization 123 with id my-test-mute-config,
run:
$ gcloud scc muteconfigs delete my-test-mute-config \
--organization=organizations/123
$ gcloud scc muteconfigs delete my-test-mute-config \
--organization=123
$ gcloud scc muteconfigs delete \
organizations/123/muteConfigs/my-test-mute-config
To delete a mute config given folder 456 with id my-test-mute-config, run:
$ gcloud scc muteconfigs delete my-test-mute-config \
--folder=folders/456
$ gcloud scc muteconfigs delete my-test-mute-config --folder=456
$ gcloud scc muteconfigs delete \
folders/456/muteConfigs/my-test-mute-config
To delete a mute config given project 789 with id my-test-mute-config, run:
$ gcloud scc muteconfigs delete my-test-mute-config \
--project=projects/789
$ gcloud scc muteconfigs delete my-test-mute-config --project=789
$ gcloud scc muteconfigs delete \
projects/789/muteConfigs/my-test-mute-config
POSITIONAL ARGUMENTS
MUTE_CONFIG
ID of the mute config or the full resource name of the mute config.
FLAGS
At most one of these can be specified:
--folder=FOLDER
Folder where the mute config resides. Formatted as folders/456 or
just 456.
--organization=ORGANIZATION
Organization where the mute config resides. Formatted as
organizations/123 or just 123.
--project=PROJECT
Project (id or number) where the mute config resides. Formatted as
projects/789 or just 789.
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 securitycenter/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/security-command-center
NOTES
This variant is also available:
$ gcloud alpha scc muteconfigs delete