gdcloud organizations config create - 조직 커스텀 리소스 YAML 파일을 만듭니다.
개요
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
선택적 플래그
--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 전체 플래그
이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003egdcloud organizations config create\u003c/code\u003e command is used to generate a YAML file for an Organization custom resource.\u003c/p\u003e\n"],["\u003cp\u003eYou can customize the Organization's configuration, including log retention policies and KMS root key type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--name\u003c/code\u003e flag allows you to specify the name of the organization, defaulting to "org-1" if not specified.\u003c/p\u003e\n"],["\u003cp\u003eLabels can be applied using the \u003ccode\u003e--labels\u003c/code\u003e flag, with keys starting with 'lcm.private.gdc.goog/' to be propagated.\u003c/p\u003e\n"],["\u003cp\u003eCommon flags like \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, and \u003ccode\u003e--help\u003c/code\u003e are available across all \u003ccode\u003egdcloud\u003c/code\u003e commands.\u003c/p\u003e\n"]]],[],null,["# gdcloud organizations config create\n\nNAME\n----\n\ngdcloud organizations config create - Create an Organization custom resource YAML file.\n\nSYNOPSIS\n--------\n\n gdcloud organizations config create [flags]\n\n### EXAMPLES\n\n To create an Organization YAML file with various fields preset, run:\n\n gdcloud organizations config create --name org-1 \\\n --log-retention-policy \\\n paAuditLogsRetentionTime=400,\\\n ioAuditLogsRetentionTime=2000,\\\n operationalLogsRetentionTime=90,\\\n metricsRetentionTime=90 \\\n --kms-root-key-type ctm-root\n\n### OPTIONAL FLAGS\n\n --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\")\n --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 [])\n --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])\n --name string Name for the organization to create. (default \"org-1\")\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]