gdcloud organizations config create

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

OPTIONAL FLAGS

      --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 [paAuditLogsRetentionTime=400,ioAuditLogsRetentionTime=2000,operationalLogsRetentionTime=90,metricsRetentionTime=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.