mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Wed Jul 30 10:59:26 UTC 2025
This commit is contained in:
parent
0acbd64d02
commit
0f69685b06
221 changed files with 11951 additions and 506 deletions
|
|
@ -5,9 +5,10 @@ SYNOPSIS
|
|||
gcloud backup-dr backup-vaults create (BACKUP_VAULT : --location=LOCATION)
|
||||
--backup-min-enforced-retention=BACKUP_MIN_ENFORCED_RETENTION
|
||||
[--access-restriction=ACCESS_RESTRICTION; default="within-org"]
|
||||
[--no-async] [--description=DESCRIPTION]
|
||||
[--effective-time=EFFECTIVE_TIME] [--labels=[KEY=VALUE,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--no-async]
|
||||
[--backup-retention-inheritance=BACKUP_RETENTION_INHERITANCE]
|
||||
[--description=DESCRIPTION] [--effective-time=EFFECTIVE_TIME]
|
||||
[--labels=[KEY=VALUE,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a Backup and DR backup vault.
|
||||
|
|
@ -99,6 +100,16 @@ OPTIONAL FLAGS
|
|||
--no-async
|
||||
Wait for the operation in progress to complete.
|
||||
|
||||
--backup-retention-inheritance=BACKUP_RETENTION_INHERITANCE
|
||||
The inheritance mode for enforced retention end time of the backup
|
||||
within this backup vault. Once set, the inheritance mode cannot be
|
||||
changed. Default is inherit-vault-retention. If set to
|
||||
inherit-vault-retention, the backup retention period will be inherited
|
||||
from the backup vault. If set to match-backup-expire-time, the backup
|
||||
retention period will be the same as the backup expiration time.
|
||||
BACKUP_RETENTION_INHERITANCE must be one of: inherit-vault-retention,
|
||||
match-backup-expire-time.
|
||||
|
||||
--description=DESCRIPTION
|
||||
Optional description for the backup vault (2048 characters or less).
|
||||
|
||||
|
|
|
|||
67
gcloud/backup-dr/data-source-references/describe
Normal file
67
gcloud/backup-dr/data-source-references/describe
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
NAME
|
||||
gcloud backup-dr data-source-references describe - show details of the data
|
||||
source reference
|
||||
|
||||
SYNOPSIS
|
||||
gcloud backup-dr data-source-references describe
|
||||
(DATA_SOURCE_REFERENCE : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Show all configuration data source associated with the specified data
|
||||
source reference.
|
||||
|
||||
EXAMPLES
|
||||
To view details for data source 'DATA_SOURCE_REFERENCE', run:
|
||||
|
||||
$ gcloud backup-dr data-source-references describe \
|
||||
DATA_SOURCE_REFERENCE
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Data source reference resource - Name of the data source reference to
|
||||
describe. The arguments in this group can be used to specify the
|
||||
attributes of this resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument data_source_reference on the command line with a
|
||||
fully specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
DATA_SOURCE_REFERENCE
|
||||
ID of the data_source_reference or fully qualified identifier for the
|
||||
data_source_reference.
|
||||
|
||||
To set the data_source_reference attribute:
|
||||
▸ provide the argument data_source_reference on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location ID of the resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument data_source_reference on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the backupdr/v1 API. The full documentation for this API
|
||||
can be found at: https://cloud.google.com/backup-disaster-recovery
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha backup-dr data-source-references describe
|
||||
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
NAME
|
||||
gcloud backup-dr data-source-references fetch-for-resource-type - fetch
|
||||
Data Source References for a given resource type and location
|
||||
|
||||
SYNOPSIS
|
||||
gcloud backup-dr data-source-references fetch-for-resource-type
|
||||
RESOURCE_TYPE --location=LOCATION [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Fetch Data Source References for a given resource type and location. Show
|
||||
all configuration data associated with the specified data source reference.
|
||||
|
||||
EXAMPLES
|
||||
To list data source references for Cloud SQL with location us-central1 in
|
||||
project test-project, run:
|
||||
|
||||
$ gcloud backup-dr data-source-references fetch-for-resource-type \
|
||||
sqladmin.googleapis.com/Instance --location="us-central1" \
|
||||
--project-id="test-project"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
RESOURCE_TYPE
|
||||
Resource type for which data source references should be fetched.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
Location for which data source references should be fetched.
|
||||
|
||||
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.
|
||||
|
||||
BRIEF
|
||||
List data source references in a specified location and resource type in a
|
||||
project.
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha backup-dr data-source-references \
|
||||
fetch-for-resource-type
|
||||
|
||||
29
gcloud/backup-dr/data-source-references/help
Normal file
29
gcloud/backup-dr/data-source-references/help
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
NAME
|
||||
gcloud backup-dr data-source-references - command group for Backup and DR
|
||||
Data Source References
|
||||
|
||||
SYNOPSIS
|
||||
gcloud backup-dr data-source-references COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Command group for Backup and DR Data Source References.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
describe
|
||||
Show details of the data source reference.
|
||||
|
||||
fetch-for-resource-type
|
||||
Fetch Data Source References for a given resource type and location.
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha backup-dr data-source-references
|
||||
|
||||
|
|
@ -11,10 +11,15 @@ DESCRIPTION
|
|||
Displays all data sources in a project.
|
||||
|
||||
EXAMPLES
|
||||
To list data sources for all backup vaults and locations, run: $ gcloud backup-dr data-sources list To list all data sources for \
|
||||
a backup vault `_my-vault_` in a location `_my-location_`, \
|
||||
run: $ gcloud backup-dr data-sources list \
|
||||
--backup-vault=my-vault --location=my-location
|
||||
To list data sources for all backup vaults and locations, run:
|
||||
|
||||
$ gcloud backup-dr data-sources list
|
||||
|
||||
To list all data sources for a backup vault my-vault in a location
|
||||
my-location, run:
|
||||
|
||||
$ gcloud backup-dr data-sources list --backup-vault=my-vault \
|
||||
--location=my-location
|
||||
|
||||
FLAGS
|
||||
Backup vault resource - Backup vault to list data sources from. The
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@ GROUPS
|
|||
backups
|
||||
Manage Backup and DR backups.
|
||||
|
||||
data-source-references
|
||||
Command group for Backup and DR Data Source References.
|
||||
|
||||
data-sources
|
||||
View Backup and DR data sources.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue