gcloud beta metastore federations delete

NAME
gcloud beta metastore federations delete - delete one or more Dataproc Metastore federations
SYNOPSIS
gcloud beta metastore federations delete(FEDERATIONS [FEDERATIONS …] :--location=LOCATION)[--async][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) If run asynchronously with--async, exits afterprinting one or more operation names that can be used to poll the status of thedeletion(s) via:
gcloudmetastoreoperationsdescribe
EXAMPLES
To delete a Dataproc Metastore federation with the namemy-metastore-federation in locationus-central1, run:
gcloudbetametastorefederationsdeletemy-metastore-federation--location=us-central1

To delete multiple Dataproc Metastore federations with the namefederation-1 andfederation-2 in the same locationus-central1, run:

gcloudbetametastorefederationsdeletefederation-1federation-2--location=us-central1
POSITIONAL ARGUMENTS
Federation resource - The federations to delete. The arguments in this group canbe used to specify the attributes of this resource. (NOTE) Some attributes arenot given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentfederations on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

FEDERATIONS [FEDERATIONS …]
IDs of the federations or fully qualified identifiers for the federations.

To set thefederation attribute:

  • provide the argumentfederations on the command line.

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

--location=LOCATION
Location to which the federations belongs.

To set thelocation attribute:

  • provide the argumentfederations on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertymetastore/location.
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.

NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudmetastorefederationsdelete
gcloudalphametastorefederationsdelete

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-07-22 UTC.