gcloud alpha source-manager instances delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha source-manager instances delete - delete a Secure Source Manager instance
- SYNOPSIS
gcloud alpha source-manager instances delete(INSTANCE:--region=REGION)[--async][--max-wait=MAX_WAIT; default="60m"][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Delete a Secure Source Manager instance.- EXAMPLES
- To delete a Secure Source Manager instance named 'my-instance' in location'us-central1' asynchronously, run:
gcloudalphasource-managerinstancesdeletemy-instance--region=us-central1To delete a Secure Source Manager instance named 'my-instance' in location'us-central1' synchronously, and wait a maximum of 30 minutes for it to finishbeing deleted, run:
gcloudalphasource-managerinstancesdeletemy-instance--region=us-central1--no-async--max-wait=30m - POSITIONAL ARGUMENTS
- Instance resource - The Secure Source Manager instance to delete. The argumentsin this group can be used to specify the attributes of this resource. (NOTE)Some attributes are not given arguments in this group but can be set in otherways.
To set the
projectattribute:- provide the argument
instanceon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
INSTANCE- ID of the instance or fully qualified identifier for the instance.
To set the
instanceattribute:- provide the argument
instanceon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--region=REGION- Secure Source Manager location.
To set the
regionattribute:- provide the argument
instanceon the command line with a fullyspecified name; - provide the argument
--regionon the command line.
- provide the argument
- provide the argument
- Instance resource - The Secure Source Manager instance to delete. The argumentsin this group can be used to specify the attributes of this resource. (NOTE)Some attributes are not given arguments in this group but can be set in otherways.
- FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.The default is
True. Enabled by default, use--no-asyncto disable. --max-wait=MAX_WAIT; default="60m"- Time to synchronously wait for the operation to complete, after which theoperation continues asynchronously. Ignored if
--no-asyncisn'tspecified. See $gcloud topicdatetimes for information on time formats.
- 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
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudsource-managerinstancesdeletegcloudbetasource-managerinstancesdelete
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-08-26 UTC.