gdcloud organizations config create

NAME

gdcloud organizations config create: Erstellt eine YAML-Datei für die benutzerdefinierte Ressource „Organization“.

ZUSAMMENFASSUNG

gdcloud organizations config create [flags]

BEISPIELE

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

OPTIONALE 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-WEITE FLAGS

Diese Flags sind für alle Befehle verfügbar: --configuration, --format, --help, --project, --quiet.

Weitere Informationen finden Sie auf der Seite Übersicht über die Referenz zur gcloud CLI.