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/services/disable
2022-03-01 04:29:52 +00:00

63 lines
2.1 KiB
Text

NAME
gcloud alpha services disable - disable a service for consumption for a
project
SYNOPSIS
gcloud alpha services disable [SERVICE ...] [--async] [--force]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) This command disables one or more previously-enabled services for
consumption.
To see a list of the enabled services for a project, run:
$ gcloud alpha services list
More information on listing services can be found at:
https://cloud.google.com/service-usage/docs/list-services and on disabling
a service at: https://cloud.google.com/service-usage/docs/enable-disable
EXAMPLES
To disable a service called my-consumed-service for the active project,
run:
$ gcloud alpha services disable my-consumed-service
To run the same command asynchronously (non-blocking), run:
$ gcloud alpha services disable my-consumed-service --async
POSITIONAL ARGUMENTS
[SERVICE ...]
The name of the service(s) to disable.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--force
If specified, the disable call will proceed even if there are enabled
services which depend on the service to be disabled. Forcing the call
means that the services which depend on the service to be disabled will
also be disabled.
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 services disable
$ gcloud beta services disable