gcloud alpha service-management disable

NAME
gcloud alpha service-management disable - disables a service for consumption for a project
SYNOPSIS
gcloud alpha service-management disable SERVICE [--async] [GCLOUD_WIDE_FLAG …]
DESCRIPTION
(ALPHA) This command disables a previously-enabled service for consumption.

To see a list of the enabled services for a project, run:

  $ gcloud alpha service-management list --enabled

More information on listing services can be found at: https://cloud.google.com/service-management/list-services and on disabling a service at: https://cloud.google.com/service-management/enable-disable#disabling_services

POSITIONAL ARGUMENTS
SERVICE
The name of the service to disable.
FLAGS
--async
Display information about the operation in progress, without waiting for the operation to complete.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To disable a service called my-consumed-service for the active project, run:
  $ gcloud alpha service-management disable my-consumed-service

To run the same command asynchronously (non-blocking), run:

  $ gcloud alpha service-management disable my-consumed-service --async
NOTES
This command is currently in ALPHA and may change without notice. These variants are also available:
  $ gcloud service-management disable
  $ gcloud beta service-management disable

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...