gcloud alpha resource-manager capability-configs create

NAME
gcloud alpha resource-manager capability-configs create - create a CapabilityConfig under a parent Organization, Folder, or Project
SYNOPSIS
gcloud alpha resource-manager capability-configs create (CAPABILITY_CONFIG : --folder=FOLDER --organization=ORGANIZATION --project=PROJECT) --types=[TYPES,…] [--async] [--boundaries=[BOUNDARIES,…]] [--display-name=DISPLAY_NAME] [--management-project=MANAGEMENT_PROJECT] [GCLOUD_WIDE_FLAG …]
DESCRIPTION
(ALPHA) Creating a CapabilityConfig triggers the creation of a Management Project if one is not supplied via --management-project.
EXAMPLES
To create a CapabilityConfig my-config with type app-management under organization 123456789:
gcloud alpha resource-manager capability-configs create my-config --organization=123456789 --types=app-management

To create a CapabilityConfig with display name and pre-existing management project:

gcloud alpha resource-manager capability-configs create my-config --folder=456789012 --types=app-management --display-name="App Hub Config" --management-project=projects/123456789012
POSITIONAL ARGUMENTS
Capability config resource - The CapabilityConfig to create. The arguments in this group can be used to specify the attributes of this resource. This resource can be one of the following types: [cloudresourcemanager.organizations.capabilityConfigs, cloudresourcemanager.folders.capabilityConfigs, cloudresourcemanager.projects.capabilityConfigs].

This must be specified.

CAPABILITY_CONFIG
ID of the capability_config or fully qualified identifier for the capability_config.

To set the capability_config attribute:

  • provide the argument capability_config on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--folder=FOLDER
Folder ID or full resource name of the capability_config.

To set the folder attribute:

  • provide the argument capability_config on the command line with a fully specified name;
  • provide the argument --folder on the command line. Must be specified for resource of type [cloudresourcemanager.folders.capabilityConfigs].
--organization=ORGANIZATION
Organization ID or full resource name of the capability_config.

To set the organization attribute:

  • provide the argument capability_config on the command line with a fully specified name;
  • provide the argument --organization on the command line. Must be specified for resource of type [cloudresourcemanager.organizations.capabilityConfigs].
--project=PROJECT
Project number or full resource name of the capability_config.

To set the project attribute:

  • provide the argument capability_config on the command line with a fully specified name;
  • provide the argument --project on the command line. Must be specified for resource of type [cloudresourcemanager.projects.capabilityConfigs].
REQUIRED FLAGS
--types=[TYPES,…]
Comma-separated list of CapabilityConfig types (e.g. app-management, agent-management). TYPES must be one of: app-management, agent-management.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--boundaries=[BOUNDARIES,…]
List of Boundaries associated with this CapabilityConfig.
--display-name=DISPLAY_NAME
Human-readable display name of the CapabilityConfig (4 to 30 characters).
--management-project=MANAGEMENT_PROJECT
Management Project associated with this CapabilityConfig (e.g. projects/123456789012).
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 help for details.

NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud resource-manager capability-configs create
gcloud beta resource-manager capability-configs create