gcloud metastore federations delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud metastore federations delete - delete one or more Dataproc Metastore federations
- SYNOPSIS
gcloud metastore federations delete(FEDERATIONS[FEDERATIONS…] :--location=LOCATION)[--async][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- If run asynchronously with
--async, exits after printing one ormore operation names that can be used to poll the status of the deletion(s) via:gcloudmetastoreoperationsdescribe
- EXAMPLES
- To delete a Dataproc Metastore federation with the name
my-metastore-federationin locationus-central1, run:gcloudmetastorefederationsdeletemy-metastore-federation--location=us-central1To delete multiple Dataproc Metastore federations with the name
federation-1andfederation-2in the same locationus-central1, run:gcloudmetastorefederationsdeletefederation-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 the
projectattribute:- provide the argument
federationson the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
FEDERATIONS[FEDERATIONS…]- IDs of the federations or fully qualified identifiers for the federations.
To set the
federationattribute:- provide the argument
federationson the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- Location to which the federations belongs.
To set the
locationattribute:- provide the argument
federationson the command line with a fullyspecified name; - provide the argument
--locationon the command line; - set the property
metastore/location.
- provide the argument
- provide the argument
- 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.
- 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. - NOTES
- These variants are also available:
gcloudalphametastorefederationsdeletegcloudbetametastorefederationsdelete
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.