- NAME
-
- gcloud beta app-lifecycle-manager tenants create - create a tenant
- SYNOPSIS
-
-
gcloud beta app-lifecycle-manager tenants createTENANT--saas=SAAS[--consumer-resource=CONSUMER_RESOURCE] [--labels=[LABELS,…]] [--location=LOCATION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Create an App Lifecycle Manager tenant.A tenant represents the service producer side of an instance of the service that is created based on a request from a consumer. A tenant usually maps one-to-one to a resource given out to a service consumer.
- EXAMPLES
-
To create a tenant named
my-tenantfor the SaaS offeringmy-saasin locationus-central1, run:gcloud beta app-lifecycle-manager tenants create my-tenant --location=us-central1 --saas=my-saasTo create a tenant named
my-tenantthat has the labelenv=prod, run:gcloud beta app-lifecycle-manager tenants create my-tenant --location=us-central1 --saas=my-saas --labels=env=prod - POSITIONAL ARGUMENTS
-
-
Tenant resource - Tenant to create. This represents a Cloud resource. (NOTE)
Some attributes are not given arguments in this group but can be set in other
ways.
To set the
projectattribute:-
provide the argument
tenanton the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
tenanton the command line with a fully specified name; -
provide the argument
--locationon the command line.
This must be specified.
TENANT-
ID of the tenant or fully qualified identifier for the tenant.
To set the
tenantattribute:-
provide the argument
tenanton the command line.
-
provide the argument
-
provide the argument
-
Tenant resource - Tenant to create. This represents a Cloud resource. (NOTE)
Some attributes are not given arguments in this group but can be set in other
ways.
- REQUIRED FLAGS
-
-
Saas resource - SaaS offering that defines the product (managed service) that
the service producer manages with App Lifecycle Manager. The SaaS offering
cannot be changed after the tenant is created. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
To set the
projectattribute:-
provide the argument
--saason the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
locationattribute:-
provide the argument
--saason the command line with a fully specified name; -
provide the argument
--locationon the command line.
This must be specified.
--saas=SAAS-
ID of the saas or fully qualified identifier for the saas.
To set the
saasattribute:-
provide the argument
--saason the command line.
-
provide the argument
-
provide the argument
-
Saas resource - SaaS offering that defines the product (managed service) that
the service producer manages with App Lifecycle Manager. The SaaS offering
cannot be changed after the tenant is created. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
- OPTIONAL FLAGS
-
--consumer-resource=CONSUMER_RESOURCE- Consumer resource that this tenant represents. The consumer resource cannot be changed after it is set.
--labels=[LABELS,…]-
Labels on the resource, which can be used for categorization, similar to
Kubernetes resource labels.
KEY-
Keys must start with a lowercase character and contain only hyphens
(
-), underscores (_), lowercase characters, and numbers. VALUE-
Values must contain only hyphens (
-), underscores (_), lowercase characters, and numbers.
Shorthand Example:--labels=string=string
JSON Example:--labels='{"string": "string"}'
File Example:--labels=path_to_file.(yaml|json)
--location=LOCATION- For resources [tenant, saas], provides fallback value for resource location attribute. When the resource's full URI path is not provided, location will fallback to this flag value.
- 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. - API REFERENCE
-
This command uses the
saasservicemgmt/v1beta1API. The full documentation for this API can be found at: https://docs.cloud.google.com/app-lifecycle-manager - NOTES
- This command is currently in beta and might change without notice.
gcloud beta app-lifecycle-manager tenants create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-27 UTC.
[null,null,["Last updated 2026-10-27 UTC."],[],[]]