gcloud beta datastream private-connections delete

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 delete instead.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 theproject attribute:

  • provide the argumentprivate_connection on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

PRIVATE_CONNECTION
ID of the private_connection or fully qualified identifier for theprivate_connection.

To set theprivate_connection attribute:

  • provide the argumentprivate_connection on the command line.

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

--location=LOCATION
The location of the resources.

To set thelocation attribute:

  • provide the argumentprivate_connection on the command line with afully specified name;
  • provide the argument--location on the command line.
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 help for details.

API REFERENCE
This command uses thedatastream/v1 API. 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.