mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-21 14:39:15 +00:00
gcloud: Tue Mar 1 04:29:52 UTC 2022
This commit is contained in:
parent
aab53307a8
commit
1456dab6c7
9791 changed files with 814712 additions and 0 deletions
83
gcloud/alpha/resource-manager/liens/config/export
Normal file
83
gcloud/alpha/resource-manager/liens/config/export
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager liens config export - export the
|
||||
configuration for a Cloud Resource Manager lien
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager liens config export (LIEN : --all)
|
||||
[--path=PATH; default="-"] [--resource-format=RESOURCE_FORMAT]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha resource-manager liens config export exports the
|
||||
configuration for a Cloud Resource Manager lien.
|
||||
|
||||
Lien configurations can be exported in Kubernetes Resource Model (krm) or
|
||||
Terraform HCL formats. The default format is krm.
|
||||
|
||||
Specifying --all allows you to export the configurations for all liens
|
||||
within the project.
|
||||
|
||||
Specifying --path allows you to export the configuration(s) to a local
|
||||
directory.
|
||||
|
||||
EXAMPLES
|
||||
To export the configuration for a lien, run:
|
||||
|
||||
$ gcloud alpha resource-manager liens config export my-lien
|
||||
|
||||
To export the configuration for a lien to a file, run:
|
||||
|
||||
$ gcloud alpha resource-manager liens config export my-lien \
|
||||
--path=/path/to/dir/
|
||||
|
||||
To export the configuration for a lien in Terraform HCL format, run:
|
||||
|
||||
$ gcloud alpha resource-manager liens config export my-lien \
|
||||
--resource-format=terraform
|
||||
|
||||
To export the configurations for all liens within a project, run:
|
||||
|
||||
$ gcloud alpha resource-manager liens config export --all
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Exactly one of these must be specified:
|
||||
|
||||
LIEN
|
||||
ID of the lien or fully qualified identifier for the lien. To set the
|
||||
lien attribute:
|
||||
▸ provide the argument lien on the command line.
|
||||
|
||||
This positional must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--all
|
||||
Retrieve all resources within the project. If --path is specified and
|
||||
is a valid directory, resources will be output as individual files
|
||||
based on resource name and scope. If --path is not specified,
|
||||
resources will be streamed to stdout.
|
||||
|
||||
FLAGS
|
||||
--path=PATH; default="-"
|
||||
Path of the directory or file to output configuration(s). To output
|
||||
configurations to stdout, specify "--path=-".
|
||||
|
||||
--resource-format=RESOURCE_FORMAT
|
||||
Format of the configuration to export. Available configuration formats
|
||||
are Kubernetes Resource Model (krm) or Terraform HCL (terraform).
|
||||
Command defaults to "krm". RESOURCE_FORMAT must be one of: krm,
|
||||
terraform.
|
||||
|
||||
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.
|
||||
|
||||
27
gcloud/alpha/resource-manager/liens/config/help
Normal file
27
gcloud/alpha/resource-manager/liens/config/help
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager liens config - manage Cloud Resource Manager
|
||||
lien configurations
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager liens config COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Manage Cloud Resource Manager lien configurations.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
export
|
||||
(ALPHA) Export the configuration for a Cloud Resource Manager lien.
|
||||
|
||||
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/liens/create
Normal file
35
gcloud/alpha/resource-manager/liens/create
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager liens create - create a new lien
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager liens create --reason=REASON
|
||||
--restrictions=RESTRICTIONS [--origin=ORIGIN] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Creates a new lien to be applied to a project.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--reason=REASON
|
||||
Human-readable description of why this lien is being applied.
|
||||
|
||||
--restrictions=RESTRICTIONS
|
||||
Comma separated list of IAM permissions to curtail.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--origin=ORIGIN
|
||||
Origin of this lien. Defaults to user identity.
|
||||
|
||||
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.
|
||||
|
||||
36
gcloud/alpha/resource-manager/liens/delete
Normal file
36
gcloud/alpha/resource-manager/liens/delete
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager liens delete - delete a lien
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager liens delete LIEN_ID [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Delete a lien, given a valid lien ID.
|
||||
|
||||
This command can fail for the following reasons:
|
||||
▪ There is no lien with the given ID.
|
||||
▪ The active account does not have permission to delete the given lien.
|
||||
|
||||
EXAMPLES
|
||||
The following command deletes a lien with the ID p8765-kjasdkkhsd:
|
||||
|
||||
$ gcloud alpha resource-manager liens delete p8765-kjasdkkhsd
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
LIEN_ID
|
||||
ID for the lien you want to delete.
|
||||
|
||||
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.
|
||||
|
||||
38
gcloud/alpha/resource-manager/liens/help
Normal file
38
gcloud/alpha/resource-manager/liens/help
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager liens - manage Cloud Resource Manager Liens
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager liens GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Commands to manage your Cloud Resource Liens.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
config
|
||||
(ALPHA) Manage Cloud Resource Manager lien configurations.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(ALPHA) Create a new lien.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete a lien.
|
||||
|
||||
list
|
||||
(ALPHA) List liens associated with the specified project.
|
||||
|
||||
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.
|
||||
|
||||
58
gcloud/alpha/resource-manager/liens/list
Normal file
58
gcloud/alpha/resource-manager/liens/list
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
NAME
|
||||
gcloud alpha resource-manager liens list - list liens associated with the
|
||||
specified project
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha resource-manager liens list [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List all liens which are associated with the specified project.
|
||||
|
||||
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