mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 04:58:26 +00:00
gcloud: Wed Apr 6 08:36:53 UTC 2022
This commit is contained in:
parent
9bf28f1efe
commit
f88a614da8
221 changed files with 7174 additions and 449 deletions
|
|
@ -22,6 +22,9 @@ GROUPS
|
|||
bindings
|
||||
(ALPHA) Create and manipulate TagBindings.
|
||||
|
||||
holds
|
||||
(ALPHA) Create and manipulate TagHolds.
|
||||
|
||||
keys
|
||||
(ALPHA) Create and manipulate TagKeys.
|
||||
|
||||
|
|
|
|||
65
gcloud/alpha/resource-manager/tags/holds/create
Normal file
65
gcloud/alpha/resource-manager/tags/holds/create
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager tags holds create - create a TagHold resource
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager tags holds create PARENT --holder=HOLDER
|
||||
[--help-link=HELP_LINK] [--location=LOCATION] [--origin=ORIGIN]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a TagHold under a TagValue, indicating that the TagValue is
|
||||
being used by a holder (cloud resource) from an (optional) origin. The
|
||||
TagValue can be represented with its numeric id or its namespaced name of
|
||||
{org_id}/{tag_key_short_name}/{tag_value_short_name}.
|
||||
|
||||
EXAMPLES
|
||||
To create a TagHold on tagValues/123, with holder cloud-resource-holder,
|
||||
origin creator-origin, in region us-central1-a, with help link
|
||||
www.example.help.link.com, run:
|
||||
|
||||
$ gcloud alpha resource-manager tags holds create tagValues/123 \
|
||||
--holder=cloud-resource-holder --origin=creator-origin \
|
||||
--help-link=www.example.help.link.com --location=us-central1-a
|
||||
|
||||
To create a TagHold under TagValue test under TagKey env in organization id
|
||||
789, with holder cloud-resource-holder, run:
|
||||
|
||||
$ gcloud alpha resource-manager tags holds create 789/env/test \
|
||||
--holder=cloud-resource-holder
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
PARENT
|
||||
Tag value name or namespaced name.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--holder=HOLDER
|
||||
The name of the resource where the TagValue is being used. Must be less
|
||||
than 200 characters.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--help-link=HELP_LINK
|
||||
A URL where an end user can learn more about removing this hold.
|
||||
|
||||
--location=LOCATION
|
||||
Region or zone where the TagHold will be stored. If not provided, the
|
||||
TagHold will be stored in a "global" region.
|
||||
|
||||
--origin=ORIGIN
|
||||
An optional string representing the origin of this request. This field
|
||||
should include human-understandable information to distinguish origins
|
||||
from each other. Must be less than 200 characters.
|
||||
|
||||
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.
|
||||
|
||||
43
gcloud/alpha/resource-manager/tags/holds/delete
Normal file
43
gcloud/alpha/resource-manager/tags/holds/delete
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager tags holds delete - delete a TagHold
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager tags holds delete TAG_HOLD_NAME
|
||||
[--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Delete a TagHold given its full name, specified as
|
||||
tagValues/{tag_value_id}/tagHolds/{tag_hold_id}.
|
||||
|
||||
EXAMPLES
|
||||
To delete a TagHold under tagValue/111 with id abc-123-def in region
|
||||
us-central1-a, run:
|
||||
|
||||
$ gcloud alpha resource-manager tags holds delete \
|
||||
tagValue/111/tagHolds/abc-123-def --location=us-central1-a
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
TAG_HOLD_NAME
|
||||
TagHold given its full name, specified as
|
||||
tagValues/{tag_value_id}/tagHolds/{tag_hold_id}
|
||||
|
||||
FLAGS
|
||||
--location=LOCATION
|
||||
Region where the TagHold is stored. If not provided, the API will
|
||||
attempt to find and delete the specified TagHold from the "global"
|
||||
region.
|
||||
|
||||
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.
|
||||
|
||||
35
gcloud/alpha/resource-manager/tags/holds/help
Normal file
35
gcloud/alpha/resource-manager/tags/holds/help
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager tags holds - create and manipulate TagHolds
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager tags holds COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) The Resource Manager Service gives you centralized and programmatic
|
||||
control over your organization's Tags. As the tag administrator, you will
|
||||
be able to create and configure restrictions across the tags in the org,
|
||||
and you will be able to indicate the use of a TagValue as a TagHold.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(ALPHA) Create a TagHold resource.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete a TagHold.
|
||||
|
||||
list
|
||||
(ALPHA) List TagHolds under the specified TagValue.
|
||||
|
||||
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.
|
||||
|
||||
96
gcloud/alpha/resource-manager/tags/holds/list
Normal file
96
gcloud/alpha/resource-manager/tags/holds/list
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager tags holds list - list TagHolds under the
|
||||
specified TagValue
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager tags holds list PARENT [--holder=HOLDER]
|
||||
[--location=LOCATION] [--origin=ORIGIN] [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List TagHolds under a TagValue. The TagValue can be represented
|
||||
with its numeric id or its namespaced name of
|
||||
{org_id}/{tag_key_short_name}/{tag_value_short_name}. Limited to TagHolds
|
||||
stored in a single --location: if none is provided, the API will assume the
|
||||
"global" location. Optional filters are --holder and --origin: if provided,
|
||||
returned TagHolds' holder and origin fields must match the exact flag
|
||||
value.
|
||||
|
||||
EXAMPLES
|
||||
To list TagHolds for tagValues/456 in us-central1-a, run:
|
||||
|
||||
$ gcloud alpha resource-manager tags holds list tagValues/456 \
|
||||
--location=us-central1-a
|
||||
|
||||
To list TagHolds for tagValues/456, with holder cloud-holder-resource and
|
||||
origin creator-origin, run:
|
||||
|
||||
$ gcloud alpha resource-manager tags holds list tagValues/456 \
|
||||
--holder=cloud-holder-resource --origin=creator-origin
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
PARENT
|
||||
TagValue resource name or namespaced name to list TagHolds for. This
|
||||
field should be in the form tagValues/<id> or
|
||||
<organization_id>/<tagkey_short_name>/<short_name>.
|
||||
|
||||
FLAGS
|
||||
--holder=HOLDER
|
||||
The holder field of the TagHold to match exactly. If not provided, the
|
||||
API will return all matching TagHolds disregarding the holder field.
|
||||
|
||||
--location=LOCATION
|
||||
Region where the matching TagHolds are stored. If not provided, the API
|
||||
will attempt to retrieve matching TagHolds from the "global" region.
|
||||
|
||||
--origin=ORIGIN
|
||||
The origin field of the TagHold to match exactly. If not provided, the
|
||||
API will return all matching TagHolds disregarding the origin field.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue