mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-12 16:08:31 +00:00
115 lines
3.9 KiB
Text
115 lines
3.9 KiB
Text
NAME
|
|
gcloud beta saas-runtime tenants create - create a Tenant
|
|
|
|
SYNOPSIS
|
|
gcloud beta saas-runtime tenants create TENANT --saas=SAAS
|
|
[--consumer-resource=CONSUMER_RESOURCE] [--labels=[LABELS,...]]
|
|
[--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) Create a Tenant
|
|
|
|
EXAMPLES
|
|
To create the Tenant, run:
|
|
|
|
$ gcloud beta saas-runtime tenants create
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Tenant resource - Identifier. The resource name (full URI of the resource)
|
|
following the standard naming scheme:
|
|
|
|
"projects/{project}/locations/{location}/tenants/{tenant}" 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 project attribute:
|
|
◆ provide the argument tenant on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
To set the location attribute:
|
|
◆ provide the argument tenant on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --location on the command line.
|
|
|
|
This must be specified.
|
|
|
|
TENANT
|
|
ID of the tenant or fully qualified identifier for the tenant.
|
|
|
|
To set the tenant attribute:
|
|
▸ provide the argument tenant on the command line.
|
|
|
|
REQUIRED FLAGS
|
|
Saas resource - A reference to the Saas that defines the product (managed
|
|
service) that the producer wants to manage with SaaS Runtime. Part of the
|
|
SaaS Runtime common data model. 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 project attribute:
|
|
◆ provide the argument --saas on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
To set the location attribute:
|
|
◆ provide the argument --saas on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --location on the command line.
|
|
|
|
This must be specified.
|
|
|
|
--saas=SAAS
|
|
ID of the saas or fully qualified identifier for the saas.
|
|
|
|
To set the saas attribute:
|
|
▸ provide the argument --saas on the command line.
|
|
|
|
OPTIONAL FLAGS
|
|
--consumer-resource=CONSUMER_RESOURCE
|
|
A reference to the consumer resource this SaaS Tenant is representing.
|
|
|
|
--labels=[LABELS,...]
|
|
The 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 help for details.
|
|
|
|
API REFERENCE
|
|
This command uses the saasservicemgmt/v1beta1 API. The full documentation
|
|
for this API can be found at: https://cloud.google.com/saas-runtime/docs
|
|
|
|
NOTES
|
|
This command is currently in beta and might change without notice.
|
|
|