mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-14 00:46:53 +00:00
gcloud: Wed May 10 11:35:23 UTC 2023
This commit is contained in:
parent
a4643b613a
commit
14441c7ea7
154 changed files with 6649 additions and 164 deletions
76
gcloud/database-migration/conversion-workspaces/import-rules
Normal file
76
gcloud/database-migration/conversion-workspaces/import-rules
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
NAME
|
||||
gcloud database-migration conversion-workspaces import-rules - import
|
||||
mapping rules in a Database Migration Service conversion workspace
|
||||
|
||||
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 ...]
|
||||
|
||||
DESCRIPTION
|
||||
Import mapping rules in a Database Migration Service conversion workspace
|
||||
from a configuration file. For example, for Oracle to PostgreSQL migrations
|
||||
that could be an Ora2Pg config file.
|
||||
|
||||
EXAMPLES
|
||||
To import rules in a conversion workspace:
|
||||
|
||||
$ gcloud database-migration conversion-workspaces import-rules \
|
||||
my-conversion-workspace --region=us-central1 \
|
||||
--file-format=ORA2PG \
|
||||
--config-files=PATH1/config1.conf,PATH2/config2.conf
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Conversion workspace resource - The conversion workspace to import rules.
|
||||
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 conversion_workspace 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.
|
||||
|
||||
CONVERSION_WORKSPACE
|
||||
ID of the conversion_workspace or fully qualified identifier for the
|
||||
conversion_workspace.
|
||||
|
||||
To set the conversion_workspace attribute:
|
||||
▸ provide the argument conversion_workspace on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The Cloud region for the conversion_workspace.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument conversion_workspace on the command line
|
||||
with a fully specified name;
|
||||
▸ provide the argument --region on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--config-files=CONGIF_FILE,[CONGIF_FILE,...]
|
||||
A list of files to import rules from. Either provide a single file path
|
||||
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.
|
||||
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue