gcloud beta datastream private-connections delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta datastream private-connections delete - delete a Datastream private connection
- SYNOPSIS
gcloud beta datastream private-connections delete(PRIVATE_CONNECTION:--location=LOCATION)[--force][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)(DEPRECATED)This command has been deprecated.Usegcloud datastream private_connections deleteinstead.Deletes a private connection. You must set the --force parameter to ensure thatthe private connectivity configuration is deleted properly.- EXAMPLES
- To delete a private connection:
gcloudbetadatastreamprivate-connectionsdeletePRIVATE_CONNECTION--location=us-central1--force - POSITIONAL ARGUMENTS
- Private connection resource - Private connection resource - Private connectionto delete. The arguments in this group can be used to specify the attributes ofthis resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.
To set the
projectattribute:- provide the argument
private_connectionon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
PRIVATE_CONNECTION- ID of the private_connection or fully qualified identifier for theprivate_connection.
To set the
private_connectionattribute:- provide the argument
private_connectionon 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 of the resources.
To set the
locationattribute:- provide the argument
private_connectionon the command line with afully specified name; - provide the argument
--locationon the command line.
- provide the argument
- provide the argument
- Private connection resource - Private connection resource - Private connectionto delete. The arguments in this group can be used to specify the attributes ofthis resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.
- FLAGS
--force- You must set the force to ensure that the private connectivity configuration isdeleted properly.
- 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
datastream/v1API. The full documentation forthis API can be found at:https://cloud.google.com/datastream/ - NOTES
- This command is currently in beta and might change without notice. This variantis also available:
gclouddatastreamprivate-connectionsdelete
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-05-07 UTC.