1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/alpha/endpoints/services/undelete
2022-03-01 04:29:52 +00:00

52 lines
1.7 KiB
Text

NAME
gcloud alpha endpoints services undelete - undeletes a service
configuration that was previously deleted
SYNOPSIS
gcloud alpha endpoints services undelete SERVICE [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Services that are deleted will be retained in the system for 30
days. If a deleted service is still within this retention window, it can be
undeleted with this command.
Note that this means that this command will not be effective for service
configurations marked for deletion more than 30 days ago.
EXAMPLES
To undelete a service named my-service, run:
$ gcloud alpha endpoints services undelete my-service
To run the same command asynchronously (non-blocking), run:
$ gcloud alpha endpoints services undelete my-service --async
POSITIONAL ARGUMENTS
SERVICE
The name of the service to undelete.
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 alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
$ gcloud endpoints services undelete
$ gcloud beta endpoints services undelete