1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00

gcloud: Wed Apr 16 10:41:40 UTC 2025

This commit is contained in:
Automated 2025-04-16 10:41:40 +00:00
parent 4637d39593
commit b589c4c4ad
316 changed files with 13928 additions and 1163 deletions

View file

@ -3,14 +3,17 @@ NAME
AutonomousDatabase
SYNOPSIS
gcloud oracle-database autonomous-databases create
(AUTONOMOUS_DATABASE : --location=LOCATION)
gcloud oracle-database autonomous-databases create AUTONOMOUS_DATABASE
[--admin-password=ADMIN_PASSWORD] [--async] [--cidr=CIDR]
[--database=DATABASE] [--display-name=DISPLAY_NAME]
[--labels=[LABELS,...]] [--network=NETWORK] [--request-id=REQUEST_ID]
[--properties-db-workload=PROPERTIES_DB_WORKLOAD
[--labels=[LABELS,...]] [--location=LOCATION] [--network=NETWORK]
[--request-id=REQUEST_ID]
[[--properties-db-workload=PROPERTIES_DB_WORKLOAD
--properties-license-type=PROPERTIES_LICENSE_TYPE
: --properties-backup-retention-period-days=PROPERTIES_BACKUP_RETENTION_PERIOD_DAYS --properties-character-set=PROPERTIES_CHARACTER_SET --properties-compute-count=PROPERTIES_COMPUTE_COUNT --properties-cpu-core-count=PROPERTIES_CPU_CORE_COUNT --properties-customer-contacts=[email=EMAIL] --properties-data-storage-size-gb=PROPERTIES_DATA_STORAGE_SIZE_GB --properties-data-storage-size-tb=PROPERTIES_DATA_STORAGE_SIZE_TB --properties-db-edition=PROPERTIES_DB_EDITION --properties-db-version=PROPERTIES_DB_VERSION --properties-is-auto-scaling-enabled --properties-is-storage-auto-scaling-enabled --properties-maintenance-schedule-type=PROPERTIES_MAINTENANCE_SCHEDULE_TYPE --properties-mtls-connection-required --properties-n-character-set=PROPERTIES_N_CHARACTER_SET --properties-private-endpoint-ip=PROPERTIES_PRIVATE_ENDPOINT_IP --properties-private-endpoint-label=PROPERTIES_PRIVATE_ENDPOINT_LABEL --properties-secret-id=PROPERTIES_SECRET_ID --properties-vault-id=PROPERTIES_VAULT_ID]
: --properties-allowlisted-ips=[PROPERTIES_ALLOWLISTED_IPS,...]
--properties-backup-retention-period-days=PROPERTIES_BACKUP_RETENTION_PERIOD_DAYS --properties-character-set=PROPERTIES_CHARACTER_SET --properties-compute-count=PROPERTIES_COMPUTE_COUNT --properties-cpu-core-count=PROPERTIES_CPU_CORE_COUNT --properties-customer-contacts=[email=EMAIL] --properties-data-storage-size-gb=PROPERTIES_DATA_STORAGE_SIZE_GB --properties-data-storage-size-tb=PROPERTIES_DATA_STORAGE_SIZE_TB --properties-db-edition=PROPERTIES_DB_EDITION --properties-db-version=PROPERTIES_DB_VERSION --properties-is-auto-scaling-enabled --properties-is-storage-auto-scaling-enabled --properties-maintenance-schedule-type=PROPERTIES_MAINTENANCE_SCHEDULE_TYPE --properties-mtls-connection-required --properties-n-character-set=PROPERTIES_N_CHARACTER_SET --properties-private-endpoint-ip=PROPERTIES_PRIVATE_ENDPOINT_IP --properties-private-endpoint-label=PROPERTIES_PRIVATE_ENDPOINT_LABEL --properties-secret-id=PROPERTIES_SECRET_ID --properties-vault-id=PROPERTIES_VAULT_ID]]
[--source-config-automatic-backups-replication-enabled
--source-config-autonomous-database=SOURCE_CONFIG_AUTONOMOUS_DATABASE]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -37,9 +40,8 @@ POSITIONAL ARGUMENTS
AutonomousDatabase resource - Identifier. The name of the Autonomous
Database resource in the following format:
projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
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.
This represents a Cloud 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 autonomous_database on the command line with a
@ -47,6 +49,11 @@ POSITIONAL ARGUMENTS
◆ provide the argument --project on the command line;
◆ set the property core/project.
To set the location attribute:
◆ provide the argument autonomous_database on the command line with a
fully specified name;
◆ provide the argument --location on the command line.
This must be specified.
AUTONOMOUS_DATABASE
@ -56,17 +63,6 @@ POSITIONAL ARGUMENTS
To set the autonomous_database attribute:
▸ provide the argument autonomous_database on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The location id of the autonomousDatabase resource.
To set the location attribute:
▸ provide the argument autonomous_database on the command line with
a fully specified name;
▸ provide the argument --location on the command line.
FLAGS
--admin-password=ADMIN_PASSWORD
The password for the default ADMIN user.
@ -110,6 +106,11 @@ FLAGS
--labels=path_to_file.(yaml|json)
--location=LOCATION
For resources [autonomousDatabase], provides fallback value for
resource location attribute. When the resource's full URI path is not
provided, location will fallback to this flag value.
Network resource - The name of the VPC network used by the Autonomous
Database in the following format:
projects/{project}/global/networks/{network} This represents a Cloud
@ -169,6 +170,9 @@ FLAGS
This flag argument must be specified if any of the other arguments in
this group are specified.
--properties-allowlisted-ips=[PROPERTIES_ALLOWLISTED_IPS,...]
The list of allowlisted IP addresses for the Autonomous Database.
--properties-backup-retention-period-days=PROPERTIES_BACKUP_RETENTION_PERIOD_DAYS
The retention period for the Autonomous Database. This field is
specified in days, can range from 1 day to 60 days, and has a default
@ -260,6 +264,36 @@ FLAGS
--properties-vault-id=PROPERTIES_VAULT_ID
The ID of the Oracle Cloud Infrastructure vault.
The source configuration for the standby Autonomnous Database.
--source-config-automatic-backups-replication-enabled
This field specifies if the replication of automatic backups is
enabled when creating a Data Guard.
AutonomousDatabase resource - The name of the primary Autonomous
Database that is used to create a Peer Autonomous Database from a
source. This represents a Cloud 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 --source-config-autonomous-database on the
command line with a fully specified name;
▸ provide the argument --project on the command line;
▸ set the property core/project.
To set the location attribute:
▸ provide the argument --source-config-autonomous-database on the
command line with a fully specified name;
▸ provide the argument --location on the command line.
--source-config-autonomous-database=SOURCE_CONFIG_AUTONOMOUS_DATABASE
ID of the autonomousDatabase or fully qualified identifier for the
autonomousDatabase.
To set the autonomous-database attribute:
▫ provide the argument --source-config-autonomous-database 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,

View file

@ -31,5 +31,17 @@ COMMANDS
list
List all AutonomousDatabases.
restart
Restarts an AutonomousDatabase.
restore
Restore an AutonomousDatabase.
start
Starts an AutonomousDatabase.
stop
Stops an AutonomousDatabase.
switchover
Switchovers an AutonomousDatabase to a new primary.

View file

@ -0,0 +1,69 @@
NAME
gcloud oracle-database autonomous-databases restart - restarts an
AutonomousDatabase
SYNOPSIS
gcloud oracle-database autonomous-databases restart
(AUTONOMOUS_DATABASE : --location=LOCATION) [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Restarts an AutonomousDatabase which is in Running state.
EXAMPLES
To restart an AutonomousDatabase with id my-instance in the location
us-east4, run:
$ gcloud oracle-database autonomous-databases restart my-instance \
--location=us-east4
POSITIONAL ARGUMENTS
AutonomousDatabase resource - The name of the Autonomous Database in the
following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
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 autonomous_database 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.
AUTONOMOUS_DATABASE
ID of the autonomousDatabase or fully qualified identifier for the
autonomousDatabase.
To set the autonomous_database attribute:
▸ provide the argument autonomous_database on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The location id of the autonomousDatabase resource.
To set the location attribute:
▸ provide the argument autonomous_database on the command line with
a fully specified name;
▸ provide the argument --location on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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 oracledatabase/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/oracle/database/docs

View file

@ -0,0 +1,69 @@
NAME
gcloud oracle-database autonomous-databases start - starts an
AutonomousDatabase
SYNOPSIS
gcloud oracle-database autonomous-databases start
(AUTONOMOUS_DATABASE : --location=LOCATION) [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Starts an AutonomousDatabase which is in Stopped state.
EXAMPLES
To start an AutonomousDatabase with id my-instance in the location
us-east4, run:
$ gcloud oracle-database autonomous-databases start my-instance \
--location=us-east4
POSITIONAL ARGUMENTS
AutonomousDatabase resource - The name of the Autonomous Database in the
following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
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 autonomous_database 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.
AUTONOMOUS_DATABASE
ID of the autonomousDatabase or fully qualified identifier for the
autonomousDatabase.
To set the autonomous_database attribute:
▸ provide the argument autonomous_database on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The location id of the autonomousDatabase resource.
To set the location attribute:
▸ provide the argument autonomous_database on the command line with
a fully specified name;
▸ provide the argument --location on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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 oracledatabase/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/oracle/database/docs

View file

@ -0,0 +1,69 @@
NAME
gcloud oracle-database autonomous-databases stop - stops an
AutonomousDatabase
SYNOPSIS
gcloud oracle-database autonomous-databases stop
(AUTONOMOUS_DATABASE : --location=LOCATION) [--async]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Stops an AutonomousDatabase which is in Running state.
EXAMPLES
To stop an AutonomousDatabase with id my-instance in the location us-east4,
run:
$ gcloud oracle-database autonomous-databases stop my-instance \
--location=us-east4
POSITIONAL ARGUMENTS
AutonomousDatabase resource - The name of the Autonomous Database in the
following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
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 autonomous_database 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.
AUTONOMOUS_DATABASE
ID of the autonomousDatabase or fully qualified identifier for the
autonomousDatabase.
To set the autonomous_database attribute:
▸ provide the argument autonomous_database on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The location id of the autonomousDatabase resource.
To set the location attribute:
▸ provide the argument autonomous_database on the command line with
a fully specified name;
▸ provide the argument --location on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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 oracledatabase/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/oracle/database/docs

View file

@ -0,0 +1,97 @@
NAME
gcloud oracle-database autonomous-databases switchover - switchovers an
AutonomousDatabase to a new primary
SYNOPSIS
gcloud oracle-database autonomous-databases switchover AUTONOMOUS_DATABASE
--peer-autonomous-database=PEER_AUTONOMOUS_DATABASE [--async]
[--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Switchovers an AutonomousDatabase from a standby database to a new primary.
EXAMPLES
To switchover an AutonomousDatabase with id my-instance in the location
us-east4 with primary database name as
'projects/project-id/locations/us-west3/autonomousDatabases/my-instance'
run:
$ gcloud oracle-database autonomous-databases switchover \
my-instance --location=us-east4 \
--peer-autonomous-database=projects/project-id/locations/\
us-west3/autonomousDatabases/my-instance
POSITIONAL ARGUMENTS
AutonomousDatabase resource - The name of the Autonomous Database in the
following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
This represents a Cloud 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 autonomous_database on the command line with a
fully specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
To set the location attribute:
◆ provide the argument autonomous_database on the command line with a
fully specified name;
◆ provide the argument --location on the command line.
This must be specified.
AUTONOMOUS_DATABASE
ID of the autonomousDatabase or fully qualified identifier for the
autonomousDatabase.
To set the autonomous_database attribute:
▸ provide the argument autonomous_database on the command line.
REQUIRED FLAGS
AutonomousDatabase resource - The peer database name to switch over to.
This represents a Cloud 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 --peer-autonomous-database on the command line
with a fully specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
To set the location attribute:
◆ provide the argument --peer-autonomous-database on the command line
with a fully specified name;
◆ provide the argument --location on the command line.
This must be specified.
--peer-autonomous-database=PEER_AUTONOMOUS_DATABASE
ID of the autonomousDatabase or fully qualified identifier for the
autonomousDatabase.
To set the autonomous-database attribute:
▸ provide the argument --peer-autonomous-database on the command
line.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--location=LOCATION
For resources [autonomousDatabase], provides fallback value for
resource location attribute. When the resource's full URI path is not
provided, location will fallback to this flag value.
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 oracledatabase/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/oracle/database/docs