gcloud_beta_access-context-manager_levels_create (1)
NAME
- gcloud beta access-context-manager levels create - create a new access level
SYNOPSIS
-
gcloud beta access-context-manager levels create (LEVEL : --policy=POLICY) --basic-level-spec=BASIC_LEVEL_SPEC --title=TITLE [--async] [--combine-function=COMBINE_FUNCTION; default="and"] [--description=DESCRIPTION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Create a new access level in a given access policy.
POSITIONAL ARGUMENTS
-
-
- Level resource - The access level to create. The arguments in this group can be used to specify the attributes of this resource. This must be specified.
-
- LEVEL
-
ID of the level or fully qualified identifier for the level. This positional
must be specified if any of the other arguments in this group are specified.
- --policy=POLICY
-
The ID of the access policy.
- Level resource - The access level to create. The arguments in this group can be used to specify the attributes of this resource. This must be specified.
-
REQUIRED FLAGS
-
- --basic-level-spec=BASIC_LEVEL_SPEC
-
Path to a file containing a list of basic access level conditions.
An access level condition file is a YAML-formatted list of conditions, which are YAML objects representing a Condition as described in the API reference. For example:
-
- ipSubnetworks:
- 192.168.100.14/24
- 2001:db8::/48
- members
- user:user@example.com
-
- --title=TITLE
-
Short human-readable title of the access level.
OPTIONAL FLAGS
-
- --async
-
Display information about the operation in progress, without waiting for the
operation to complete.
- --combine-function=COMBINE_FUNCTION; default="and"
-
For a basic level, determines how conditions are combined.
COMBINE_FUNCTION must be one of: and, or.
- --description=DESCRIPTION
-
Long-form description of access level.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
API REFERENCE
This command uses the accesscontextmanager/v1beta API. The full documentation for this API can be found at: cloud.google.com/access-context-manager/docs/reference/rest
NOTES
This command is currently in BETA and may change without notice.