gcloud beta resource-manager folders create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta resource-manager folders create - create a new folder
- SYNOPSIS
gcloud beta resource-manager folders create--display-name=DISPLAY_NAME[--async][--folder=FOLDER_ID][--organization=ORGANIZATION_ID][--tags=[KEY=VALUE,…]][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Creates a new folder in the given parent folder ororganization.- EXAMPLES
- The following command creates a folder with the name
abcinto afolder with the ID2345:gcloudbetaresource-managerfolderscreate--display-name=abc--folder=2345The following command creates a folder with the name
abcinto anorganization with ID1234:gcloudbetaresource-managerfolderscreate--display-name=abc--organization=1234 - REQUIRED FLAGS
--display-name=DISPLAY_NAME- Friendly display name to use for the new folder.
- OPTIONAL FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.
--folder=FOLDER_ID- ID for the folder to use as a parent
--organization=ORGANIZATION_ID- ID for the organization to use as a parent
--tags=[KEY=VALUE,…]- List of tags KEY=VALUE pairs to bind. Each item must be expressed as
<tag-key-namespaced-name>=<tag-value-short-name>.Example:
123/environment=production,123/costCenter=marketingNote: Currently this field is in Preview.
- 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 helpfor details. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudresource-managerfolderscreategcloudalpharesource-managerfolderscreate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.