mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Tue Nov 18 10:53:36 UTC 2025
This commit is contained in:
parent
4b21ae6795
commit
e1ec13485a
380 changed files with 16045 additions and 783 deletions
|
|
@ -1,12 +1,16 @@
|
|||
NAME
|
||||
gcloud beta services enable - enables a service for consumption for a
|
||||
project
|
||||
project, folder or organization
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta services enable [SERVICE ...] [--async] [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud beta services enable [SERVICE ...] [--async] [--skip-dependency]
|
||||
[--validate-only]
|
||||
[--folder=FOLDER_ID | --organization=ORGANIZATION_ID
|
||||
| --project=PROJECT_ID] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command enables a service for consumption for a project.
|
||||
(BETA) This command enables a service for consumption for a project, folder
|
||||
or organization.
|
||||
|
||||
To see a list of available services for a project, run:
|
||||
|
||||
|
|
@ -21,6 +25,23 @@ EXAMPLES
|
|||
|
||||
$ gcloud beta services enable my-consumed-service
|
||||
|
||||
To enable a service called my-consumed-service on the project my-project,
|
||||
run:
|
||||
|
||||
$ gcloud beta services enable my-consumed-service \
|
||||
--project=my-project
|
||||
|
||||
To enable a service called my-consumed-service on the folder my-folder,
|
||||
run:
|
||||
|
||||
$ gcloud beta services enable my-consumed-service --folder=my-folder
|
||||
|
||||
To enable a service called my-consumed-service on the organization
|
||||
my-organization, run:
|
||||
|
||||
$ gcloud beta services enable my-consumed-service \
|
||||
--organization=my-organization
|
||||
|
||||
To run the same command asynchronously (non-blocking), run:
|
||||
|
||||
$ gcloud beta services enable my-consumed-service --async
|
||||
|
|
@ -39,6 +60,33 @@ FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--skip-dependency
|
||||
If set, the dependencies of the service to be enabled will not be
|
||||
enabled.
|
||||
|
||||
--validate-only
|
||||
Validate the enable action, but don't actually perform it
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--folder=FOLDER_ID
|
||||
The Google Cloud Platform folder ID to use for this invocation.
|
||||
|
||||
--organization=ORGANIZATION_ID
|
||||
The Google Cloud Platform organization ID to use for this invocation.
|
||||
|
||||
--project=PROJECT_ID
|
||||
The Google Cloud project ID to use for this invocation. If omitted,
|
||||
then the current project is assumed; the current project can be
|
||||
listed using gcloud config list --format='text(core.project)' and can
|
||||
be set using gcloud config set project PROJECTID.
|
||||
|
||||
--project and its fallback core/project property play two roles in
|
||||
the invocation. It specifies the project of the resource to operate
|
||||
on. It also specifies the project for API enablement check, quota,
|
||||
and billing. To specify a different project for quota and billing,
|
||||
use --billing-project or billing/quota_project property.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue