1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 20:36:39 +00:00
gcloud-help/gcloud/beta/datastream/connection-profiles/discover

141 lines
5.5 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud beta datastream connection-profiles discover - discover a Datastream
connection profile
SYNOPSIS
gcloud beta datastream connection-profiles discover --location=LOCATION
(--connection-profile-name=CONNECTION_PROFILE_NAME
2023-02-15 10:13:15 +00:00
| --connection-profile-object-file=CONNECTION_PROFILE_OBJECT_FILE)
2023-02-23 10:13:49 +00:00
[--full-hierarchy | --hierarchy-depth=HIERARCHY_DEPTH]
2022-03-01 04:29:52 +00:00
[--mysql-rdbms-file=MYSQL_RDBMS_FILE
2022-10-26 10:52:11 +00:00
| --oracle-rdbms-file=ORACLE_RDBMS_FILE
| --postgresql-rdbms-file=POSTGRESQL_RDBMS_FILE]
2022-03-01 04:29:52 +00:00
[--recursive | --recursive-depth=RECURSIVE_DEPTH]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
2022-04-13 08:33:42 +00:00
(BETA) (DEPRECATED) Datastream beta version is deprecated. Please
use`gcloud datastream connection-profiles discover command instead.
Discover data objects accessible from a Datastream connection profile
2022-03-01 04:29:52 +00:00
EXAMPLES
To discover an existing connection profile:
$ gcloud beta datastream connection-profiles discover \
CONNECTION_PROFILE --location=us-central1 \
2023-02-23 10:13:49 +00:00
--connection-profile-name=some-cp --recursive=true
2022-03-01 04:29:52 +00:00
To discover a non-existing connection profile:
$ gcloud beta datastream connection-profiles discover \
CONNECTION_PROFILE --location=us-central1 \
--connection-profile-object-file=path/to/yaml/or/json/file
REQUIRED FLAGS
Location resource - The location you want to list the connection profiles
for. This represents a Cloud resource. (NOTE) Some attributes are not
2023-05-04 10:43:54 +00:00
given arguments in this group but can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ provide the argument --location 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.
--location=LOCATION
2023-05-04 10:43:54 +00:00
ID of the location or fully qualified identifier for the location.
To set the location attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument --location on the command line.
Exactly one of these must be specified:
Connection profile resource - Resource ID of the connection profile.
This represents a Cloud resource. (NOTE) Some attributes are not given
2023-05-04 10:43:54 +00:00
arguments in this group but can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument --connection-profile-name on the command line
with a fully specified name;
▸ provide the argument --project on the command line;
2023-05-04 10:43:54 +00:00
▸ set the property core/project.
To set the location attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument --connection-profile-name on the command line
with a fully specified name;
▸ provide the argument --location on the command line.
--connection-profile-name=CONNECTION_PROFILE_NAME
ID of the connection_profile or fully qualified identifier for the
2023-05-04 10:43:54 +00:00
connection_profile.
To set the connection_profile attribute:
2022-03-01 04:29:52 +00:00
▫ provide the argument --connection-profile-name on the command
line.
--connection-profile-object-file=CONNECTION_PROFILE_OBJECT_FILE
Path to a YAML (or JSON) file containing the configuration for a
connection profile object. If you pass - as the value of the flag the
file content will be read from stdin.
OPTIONAL FLAGS
2023-02-23 10:13:49 +00:00
At most one of these can be specified:
--full-hierarchy
Whether to retrieve the full hierarchy of data objects (TRUE) or only
the current level (FALSE).
--hierarchy-depth=HIERARCHY_DEPTH
The number of hierarchy levels below the current level to be
retrieved.
2022-03-01 04:29:52 +00:00
At most one of these can be specified:
--mysql-rdbms-file=MYSQL_RDBMS_FILE
Path to a YAML (or JSON) file containing the MySQL RDBMS to enrich
with child data objects and metadata. If you pass - as the value of
the flag the file content will be read from stdin.
--oracle-rdbms-file=ORACLE_RDBMS_FILE
2022-10-26 10:52:11 +00:00
Path to a YAML (or JSON) file containing the Oracle RDBMS to enrich
2022-03-01 04:29:52 +00:00
with child data objects and metadata. If you pass - as the value of
the flag the file content will be read from stdin.
2022-10-26 10:52:11 +00:00
--postgresql-rdbms-file=POSTGRESQL_RDBMS_FILE
Path to a YAML (or JSON) file containing the PostgreSQL RDBMS to
enrich with child data objects and metadata. If you pass - as the
value of the flag the file content will be read from stdin.
2022-03-01 04:29:52 +00:00
At most one of these can be specified:
--recursive
2023-02-23 10:13:49 +00:00
(DEPRECATED) Whether to retrieve the full hierarchy of data objects
(TRUE) or only the current level (FALSE).
The --recursive option is deprecated; use --full-hierarchy instead.
2022-03-01 04:29:52 +00:00
--recursive-depth=RECURSIVE_DEPTH
2023-02-23 10:13:49 +00:00
(DEPRECATED) The number of hierarchy levels below the current level
to be retrieved.
The --recursive-depth option is deprecated; use --hierarchy-depth
instead.
2022-03-01 04:29:52 +00:00
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 beta and might change without notice. This
variant is also available:
$ gcloud datastream connection-profiles discover