NAME
gdcloud organizations config create - Create an Organization custom resource YAML file.
SYNOPSIS
gdcloud organizations config create [flags]
EXAMPLES
To create an Organization YAML file with various fields preset, run:
gdcloud organizations config create --name org-1 \
--log-retention-policy \
paAuditLogsRetentionTime=400,\
ioAuditLogsRetentionTime=2000,\
operationalLogsRetentionTime=90,\
metricsRetentionTime=90 \
--kms-root-key-type ctm-root
OPTIONAL FLAGS
--kms-root-key-type string The KMS root key type for an organization. This can be either 'local-root' or 'ctm-root'. (default "ctm-root")
--labels stringToString Propagates labels to the admin and system clusters as a key-value pair. Key must start with 'lcm.private.gdc.goog/' to propagate. (default [])
--log-retention-policy stringToString Comma-separated list of log retention times for an organization in days. (default [metricsRetentionTime=90,paAuditLogsRetentionTime=400,ioAuditLogsRetentionTime=2000,operationalLogsRetentionTime=90])
--name string Name for the organization to create. (default "org-1")
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration
, --format
, --help
, --project
, --quiet
.
For more information, see the gdcloud CLI reference overview page.