gcloud network-management vpc-flow-logs-configs delete Stay organized with collections Save and categorize content based on your preferences.
- 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 configuration
my-configwithin theorganizationmy-org-number, run:gcloudnetwork-managementvpc-flow-logs-configsdeletemy-config--location=global--organization=<my-org-number>To delete a VPC Flow Logs configuration
my-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 the
projectattribute:- provide the argument
vpc_flow_logs_configon the command line witha fully specified name; - provide the argument
--projecton the command line; - set the property
core/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 the
vpc_flow_logs_configattribute:- provide the argument
vpc_flow_logs_configon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location id of the vpcFlowLogsConfig resource.
To set the
locationattribute:- provide the argument
vpc_flow_logs_configon the command line witha fully specified name; - provide the argument
--locationon the command line.
- provide the argument
--organization=ORGANIZATION- The organization id of the vpcFlowLogsConfig resource.
To set the
organizationattribute:- provide the argument
vpc_flow_logs_configon the command line witha fully specified name; - provide the argument
--organizationon the command line. Must bespecified for resource of type[networkmanagement.organizations.locations.vpcFlowLogsConfigs].
- provide the argument
- For a project-level resource:
- VpcFlowLogsConfig resource - The resource name of the VpcFlowLogsConfig, in oneof the following formats:
- 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 helpfor details. - API REFERENCE
- This command uses the
networkmanagement/v1API. 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.