mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-14 00:46:53 +00:00
gcloud: Wed Jan 15 09:50:59 UTC 2025
This commit is contained in:
parent
5a9f5ff67e
commit
4a036681b1
126 changed files with 4290 additions and 679 deletions
|
|
@ -6,11 +6,12 @@ SYNOPSIS
|
|||
gcloud database-migration conversion-workspaces create
|
||||
(CONVERSION_WORKSPACE : --region=REGION)
|
||||
--destination-database-engine=DESTINATION_DATABASE_ENGINE
|
||||
--destination-database-version=DESTINATION_DATABASE_VERSION
|
||||
--source-database-engine=SOURCE_DATABASE_ENGINE
|
||||
--source-database-version=SOURCE_DATABASE_VERSION [--no-async]
|
||||
[--display-name=DISPLAY_NAME] [--global-settings=[KEY=VALUE,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
--source-database-engine=SOURCE_DATABASE_ENGINE [--no-async]
|
||||
[--destination-database-version=DESTINATION_DATABASE_VERSION;
|
||||
default="unspecified"] [--display-name=DISPLAY_NAME]
|
||||
[--global-settings=[KEY=VALUE,...]]
|
||||
[--source-database-version=SOURCE_DATABASE_VERSION;
|
||||
default="unspecified"] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a Database Migration Service conversion workspace.
|
||||
|
|
@ -59,27 +60,22 @@ POSITIONAL ARGUMENTS
|
|||
|
||||
REQUIRED FLAGS
|
||||
--destination-database-engine=DESTINATION_DATABASE_ENGINE
|
||||
Database engine type. DESTINATION_DATABASE_ENGINE must be (only one
|
||||
value is supported): POSTGRESQL.
|
||||
|
||||
--destination-database-version=DESTINATION_DATABASE_VERSION
|
||||
Version number for the database engine. The version number must contain
|
||||
numbers and letters only. Example for Oracle 21c, version number will
|
||||
be 21c.
|
||||
Destination database engine type. DESTINATION_DATABASE_ENGINE must be
|
||||
(only one value is supported): POSTGRESQL.
|
||||
|
||||
--source-database-engine=SOURCE_DATABASE_ENGINE
|
||||
Database engine type. SOURCE_DATABASE_ENGINE must be (only one value is
|
||||
supported): ORACLE.
|
||||
|
||||
--source-database-version=SOURCE_DATABASE_VERSION
|
||||
Version number for the database engine. The version number must contain
|
||||
numbers and letters only. Example for Oracle 21c, version number will
|
||||
be 21c.
|
||||
Source database engine type. SOURCE_DATABASE_ENGINE must be (only one
|
||||
value is supported): ORACLE.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--no-async
|
||||
Waits for the operation in progress to complete before returning.
|
||||
|
||||
--destination-database-version=DESTINATION_DATABASE_VERSION; default="unspecified"
|
||||
Version number for the database engine. The version number must contain
|
||||
numbers and letters only. Example for PostgreSQL 17.0, version number
|
||||
will be 17.0.
|
||||
|
||||
--display-name=DISPLAY_NAME
|
||||
A user-friendly name for the conversion workspace. The display name can
|
||||
include letters, numbers, spaces, and hyphens, and must start with a
|
||||
|
|
@ -91,6 +87,11 @@ OPTIONAL FLAGS
|
|||
engine or turn on or off specific features. An object containing a list
|
||||
of "key": "value" pairs.
|
||||
|
||||
--source-database-version=SOURCE_DATABASE_VERSION; default="unspecified"
|
||||
Version number for the database engine. The version number must contain
|
||||
numbers and letters only. Example for Oracle 21c, version number will
|
||||
be 21c.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete a Database Migration conversion workspace
|
||||
Delete a Database Migration conversion workspace.
|
||||
|
||||
EXAMPLES
|
||||
To delete a conversion workspace called 'my-conversion-workspace', run:
|
||||
|
|
|
|||
|
|
@ -5,8 +5,10 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud database-migration conversion-workspaces describe-ddls
|
||||
(CONVERSION_WORKSPACE : --region=REGION) [--commit-id=COMMIT_ID]
|
||||
[--filter=FILTER] [--tree-type=TREE_TYPE; default="DRAFT"]
|
||||
[--uncommitted] [GCLOUD_WIDE_FLAG ...]
|
||||
[--tree-type=TREE_TYPE; default="DRAFT"] [--uncommitted]
|
||||
[--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE; default=100] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Describe DDLs in a Database Migration Service conversion workspace.
|
||||
|
|
@ -16,13 +18,13 @@ EXAMPLES
|
|||
project and location us-central1, run:
|
||||
|
||||
$ gcloud database-migration conversion-workspaces describe-ddls \
|
||||
my-conversion-workspace --region=us-central1
|
||||
my-conversion-workspace --region=us-central1
|
||||
|
||||
To describe the DDLs of the source tree in a conversion workspace in a
|
||||
project and location us-central1, run:
|
||||
|
||||
$ gcloud database-migration conversion-workspaces describe-ddls \
|
||||
my-conversion-workspace --region=us-central1 --tree-type=SOURCE
|
||||
my-conversion-workspace --region=us-central1 --tree-type=SOURCE
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Conversion workspace resource - The conversion workspace to describe DDLs.
|
||||
|
|
@ -61,12 +63,6 @@ FLAGS
|
|||
Request a specific commit id. If not specified, the entities from the
|
||||
latest commit are returned.
|
||||
|
||||
--filter=FILTER
|
||||
Filter the entities based on AIP-160 (https://google.aip.dev/160)
|
||||
standard. Example: to filter all tables whose name start with
|
||||
"Employee" and are present under schema "Company", use filter as
|
||||
"Company.Employee* AND type=TABLE"
|
||||
|
||||
--tree-type=TREE_TYPE; default="DRAFT"
|
||||
Tree type for database entities. TREE_TYPE must be one of: SOURCE,
|
||||
DRAFT.
|
||||
|
|
@ -76,6 +72,37 @@ FLAGS
|
|||
latest version. This field is ignored if a specific commit_id is
|
||||
specified.
|
||||
|
||||
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; default=100
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is 100.
|
||||
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,
|
||||
|
|
|
|||
|
|
@ -5,8 +5,9 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud database-migration conversion-workspaces describe-entities
|
||||
(CONVERSION_WORKSPACE : --region=REGION) --tree-type=TREE_TYPE
|
||||
[--commit-id=COMMIT_ID] [--filter=FILTER] [--uncommitted]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--commit-id=COMMIT_ID] [--uncommitted] [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE; default=100]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Describe database entities in a Database Migration conversion workspace.
|
||||
|
|
@ -56,22 +57,47 @@ REQUIRED FLAGS
|
|||
Tree type for database entities. TREE_TYPE must be one of: SOURCE,
|
||||
DRAFT.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
FLAGS
|
||||
--commit-id=COMMIT_ID
|
||||
Request a specific commit id. If not specified, the entities from the
|
||||
latest commit are returned.
|
||||
|
||||
--filter=FILTER
|
||||
Filter the entities based on AIP-160 (https://google.aip.dev/160)
|
||||
standard. Example: to filter all tables whose name start with
|
||||
"Employee" and are present under schema "Company", use filter as
|
||||
"Company.Employee* AND type=TABLE"
|
||||
|
||||
--uncommitted
|
||||
Whether to retrieve the latest committed version of the entities or the
|
||||
latest version. This field is ignored if a specific commit_id is
|
||||
specified.
|
||||
|
||||
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; default=100
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is 100.
|
||||
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,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,9 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud database-migration conversion-workspaces describe-issues
|
||||
(CONVERSION_WORKSPACE : --region=REGION) [--commit-id=COMMIT_ID]
|
||||
[--filter=FILTER] [--uncommitted] [GCLOUD_WIDE_FLAG ...]
|
||||
[--uncommitted] [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE; default=100] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Describe database entity issues in a Database Migration Services conversion
|
||||
|
|
@ -16,7 +18,7 @@ EXAMPLES
|
|||
project and location us-central1, run:
|
||||
|
||||
$ gcloud database-migration conversion-workspaces describe-issues \
|
||||
my-conversion-workspace --region=us-central1
|
||||
my-conversion-workspace --region=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Conversion workspace resource - The conversion workspace to describe
|
||||
|
|
@ -55,17 +57,42 @@ FLAGS
|
|||
Request a specific commit id. If not specified, the entities from the
|
||||
latest commit are returned.
|
||||
|
||||
--filter=FILTER
|
||||
Filter the entities based on AIP-160 (https://google.aip.dev/160)
|
||||
standard. Example: to filter all tables whose name start with
|
||||
"Employee" and are present under schema "Company", use filter as
|
||||
"Company.Employee* AND type=TABLE"
|
||||
|
||||
--uncommitted
|
||||
Whether to retrieve the latest committed version of the entities or the
|
||||
latest version. This field is ignored if a specific commit_id is
|
||||
specified.
|
||||
|
||||
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; default=100
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is 100.
|
||||
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,
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud database-migration conversion-workspaces import-rules
|
||||
(CONVERSION_WORKSPACE : --region=REGION)
|
||||
--config-files=CONGIF_FILE,[CONGIF_FILE,...] --file-format=FILE_FORMAT
|
||||
[--auto-commit] [GCLOUD_WIDE_FLAG ...]
|
||||
--config-files=CONGIF_FILE,[CONGIF_FILE,...] [--auto-commit]
|
||||
[--file-format=FILE_FORMAT; default="ORA2PG"] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Import mapping rules in a Database Migration Service conversion workspace
|
||||
|
|
@ -59,14 +59,14 @@ REQUIRED FLAGS
|
|||
or if multiple files are to be provided, each file should correspond to
|
||||
one schema. Provide file paths as a comma separated list.
|
||||
|
||||
--file-format=FILE_FORMAT
|
||||
File format type to import rules from. FILE_FORMAT must be (only one
|
||||
value is supported): ORA2PG.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--auto-commit
|
||||
Auto commits the conversion workspace.
|
||||
|
||||
--file-format=FILE_FORMAT; default="ORA2PG"
|
||||
File format type to import rules from. FILE_FORMAT must be (only one
|
||||
value is supported): ORA2PG.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue