gcloud network-management vpc-flow-logs-configs delete

NAME
gcloud network-management vpc-flow-logs-configs delete - deletes the specified VPC Flow Logs configuration
SYNOPSIS
gcloud network-management vpc-flow-logs-configs delete(VPC_FLOW_LOGS_CONFIG :--location=LOCATION--organization=ORGANIZATION)[--async][GCLOUD_WIDE_FLAG]
DESCRIPTION
Deletes the specified VPC Flow Logs configuration.
EXAMPLES
To delete a VPC Flow Logs configurationmy-config within theorganizationmy-org-number, run:
gcloudnetwork-managementvpc-flow-logs-configsdeletemy-config--location=global--organization=<my-org-number>

To delete a VPC Flow Logs configurationmy-config, run:

gcloudnetwork-managementvpc-flow-logs-configsdeletemy-config--location=global
POSITIONAL ARGUMENTS
VpcFlowLogsConfig resource - The resource name of the VpcFlowLogsConfig, in oneof the following formats:
  • For a project-level resource:projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
  • For an organization-level resource:organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}The arguments in this group can be used to specify the attributes of thisresource. (NOTE) Some attributes are not given arguments in this group but canbe set in other ways.

To set theproject attribute:

  • provide the argumentvpc_flow_logs_config on the command line witha fully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project. This resource can be one of thefollowing 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 thevpcFlowLogsConfig.

To set thevpc_flow_logs_config attribute:

  • provide the argumentvpc_flow_logs_config on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location id of the vpcFlowLogsConfig resource.

To set thelocation attribute:

  • provide the argumentvpc_flow_logs_config on the command line witha fully specified name;
  • provide the argument--location on the command line.
--organization=ORGANIZATION
The organization id of the vpcFlowLogsConfig resource.

To set theorganization attribute:

  • provide the argumentvpc_flow_logs_config on the command line witha fully specified name;
  • provide the argument--organization on the command line. Must bespecified 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 thenetworkmanagement/v1 API. The fulldocumentation for this API can be found at:https://cloud.google.com/
NOTES
This variant is also available:
gcloudbetanetwork-managementvpc-flow-logs-configsdelete

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-24 UTC.