1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-17 14:26:34 +00:00
gcloud-help/gcloud/beta/network-management/vpc-flow-logs-configs/delete
2025-06-18 10:54:11 +00:00

96 lines
3.7 KiB
Text

NAME
gcloud beta network-management vpc-flow-logs-configs delete - deletes the
specified VPC Flow Logs configuration
SYNOPSIS
gcloud beta network-management vpc-flow-logs-configs delete
(VPC_FLOW_LOGS_CONFIG
: --location=LOCATION --organization=ORGANIZATION) [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Deletes the specified VPC Flow Logs configuration.
EXAMPLES
To delete a VPC Flow Logs configuration my-config within the organization
my-org-number, run:
$ gcloud beta network-management vpc-flow-logs-configs delete \
my-config --location=global --organization=<my-org-number>
To delete a VPC Flow Logs configuration my-config, run:
$ gcloud beta network-management vpc-flow-logs-configs delete \
my-config --location=global
POSITIONAL ARGUMENTS
VpcFlowLogsConfig resource - VpcFlowLogsConfig resource name using one of
the form:
projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}
organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}
The arguments in this group can be used to specify the attributes of this
resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
To set the project attribute:
◆ provide the argument vpc_flow_logs_config on the command line with a
fully specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project. This resource can be one of the
following types:
[networkmanagement.organizations.locations.vpcFlowLogsConfigs,
networkmanagement.projects.locations.vpcFlowLogsConfigs].
This must be specified.
VPC_FLOW_LOGS_CONFIG
ID of the vpcFlowLogsConfig or fully qualified identifier for the
vpcFlowLogsConfig.
To set the vpc_flow_logs_config attribute:
▸ provide the argument vpc_flow_logs_config on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The location id of the vpcFlowLogsConfig resource.
To set the location attribute:
▸ provide the argument vpc_flow_logs_config on the command line
with a fully specified name;
▸ provide the argument --location on the command line.
--organization=ORGANIZATION
The organization id of the vpcFlowLogsConfig resource.
To set the organization attribute:
▸ provide the argument vpc_flow_logs_config on the command line
with a fully specified name;
▸ provide the argument --organization on the command line. Must be
specified for resource of type
[networkmanagement.organizations.locations.vpcFlowLogsConfigs].
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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 networkmanagement/v1beta1 API. The full documentation
for this API can be found at: https://cloud.google.com/
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud network-management vpc-flow-logs-configs delete