1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00

gcloud: Wed Jul 30 10:59:26 UTC 2025

This commit is contained in:
Automated 2025-07-30 10:59:26 +00:00
parent 0acbd64d02
commit 0f69685b06
221 changed files with 11951 additions and 506 deletions

View file

@ -7,6 +7,7 @@ SYNOPSIS
[--admin-password=ADMIN_PASSWORD] [--async] [--cidr=CIDR]
[--database=DATABASE] [--display-name=DISPLAY_NAME]
[--labels=[LABELS,...]] [--location=LOCATION] [--network=NETWORK]
[--odb-network=ODB_NETWORK] [--odb-subnet=ODB_SUBNET]
[--request-id=REQUEST_ID]
[[--properties-db-workload=PROPERTIES_DB_WORKLOAD
--properties-license-type=PROPERTIES_LICENSE_TYPE
@ -21,11 +22,31 @@ DESCRIPTION
EXAMPLES
To create AutonomousDatabase with id my-instance in the location us-east4
with display-name my instance, network
projects/my-project/locations/global/networks/default, location us-east4,
database testadb, admin-password 123Abpassdord, cidr 12.2.0.0/24,
with display-name my instance, odb-network
projects/network-project/locations/us-east4/odbNetworks/my-odbnetwork,
odb-subnet
projects/network-project/locations/us-east4/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet,
network projects/my-project/locations/global/networks/default, location
us-east4, database testadb, admin-password 123Abpassdord, cidr 12.2.0.0/24,
properties-compute-count 2, properties-db-version 19c,
properties-license-type LICENSE_INCLUDED, properties-db-workload DW. run:
To set the network configuration use one of the following options:
ODBNetwork based configuration(This is the recommended way):
$ gcloud oracle-database autonomous-databases create my-instance \
--location=us-east4 --display-name="my instance" \
--location=us-east4 --database=testadb \
--admin-password=123Abpassdord --properties-compute-count=2 \
--properties-db-version=19c \
--properties-license-type=LICENSE_INCLUDED \
--properties-db-workload=DW \
--odb-network=projects/network-project/locations/us-east4/\
odbNetworks/my-odbnetwork \
--odb-subnet=projects/network-project/locations/us-east4/\
odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet
Network and CIDR based configuration:
$ gcloud oracle-database autonomous-databases create my-instance \
--location=us-east4 --display-name="my instance" \
@ -72,7 +93,7 @@ FLAGS
complete.
--cidr=CIDR
The subnet CIDR range for the Autonmous Database.
The subnet CIDR range for the Autonomous Database.
--database=DATABASE
The name of the Autonomous Database. The database name must be unique
@ -107,10 +128,10 @@ FLAGS
--labels=path_to_file.(yaml|json)
--location=LOCATION
For resources [autonomous_database, source-config-autonomous-database],
provides fallback value for resource location attribute. When the
resource's full URI path is not provided, location will fallback to
this flag value.
For resources [autonomous_database, odb-network, odb-subnet,
source-config-autonomous-database], 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:
@ -130,6 +151,39 @@ FLAGS
To set the network attribute:
▸ provide the argument --network on the command line.
--odb-network=ODB_NETWORK
For resources [odb-network, odb-subnet], provides fallback value for
resource odb-network attribute. When the resource's full URI path is
not provided, odb-network will fallback to this flag value.
OdbSubnet resource - The name of the OdbSubnet associated with the
Autonomous Database. Format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
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 --odb-subnet 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 --odb-subnet on the command line with a fully
specified name;
◆ provide the argument --location on the command line.
To set the odb-network attribute:
◆ provide the argument --odb-subnet on the command line with a fully
specified name;
◆ provide the argument --odb-network on the command line.
--odb-subnet=ODB_SUBNET
ID of the odbSubnet or fully qualified identifier for the odbSubnet.
To set the odb-subnet attribute:
▸ provide the argument --odb-subnet on the command line.
--request-id=REQUEST_ID
An optional ID to identify the request. This value is used to identify
duplicate requests. If you make a request with the same request ID and
@ -265,7 +319,7 @@ FLAGS
--properties-vault-id=PROPERTIES_VAULT_ID
The ID of the Oracle Cloud Infrastructure vault.
The source configuration for the standby Autonomnous Database.
The source configuration for the standby Autonomous Database.
--source-config-automatic-backups-replication-enabled
This field specifies if the replication of automatic backups is

View file

@ -5,9 +5,11 @@ NAME
SYNOPSIS
gcloud oracle-database cloud-vm-clusters create CLOUD_VM_CLUSTER
--exadata-infrastructure=EXADATA_INFRASTRUCTURE [--async]
[--backup-odb-subnet=BACKUP_ODB_SUBNET]
[--backup-subnet-cidr=BACKUP_SUBNET_CIDR] [--cidr=CIDR]
[--display-name=DISPLAY_NAME] [--labels=[LABELS,...]]
[--location=LOCATION] [--network=NETWORK] [--request-id=REQUEST_ID]
[--location=LOCATION] [--network=NETWORK] [--odb-network=ODB_NETWORK]
[--odb-subnet=ODB_SUBNET] [--request-id=REQUEST_ID]
[[--properties-cpu-core-count=PROPERTIES_CPU_CORE_COUNT
--properties-license-type=PROPERTIES_LICENSE_TYPE
: --properties-cluster-name=PROPERTIES_CLUSTER_NAME
@ -36,12 +38,38 @@ EXAMPLES
Choose an available gi-versions in your location by running gcloud
oracle-database db-system-shapes list --location=us-east4. To create
CloudVmCluster instance with id my-instance in the location us-east4 with
display-name my instance, cidr 10.1.0.0/24, network
display-name my instance, odb-network
projects/network-project/locations/us-east4/odbNetworks/my-odbnetwork,
odb-subnet
projects/network-project/locations/us-east4/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet,
backup-odb-subnet
projects/network-project/locations/us-east4/odbNetworks/my-odbnetwork/odbSubnets/my-backup-odbsubnet,
cidr 10.1.0.0/24, network
projects/my-project/locations/global/networks/default, backup-subnet-cidr
10.2.0.0/24, license-type LICENSE_INCLUDED, ssh-public-keys
VtTxzlPJtIivthmLOmWdRDFy5l27pKUTwLp02, hostname-prefix hostname1,
cpu-core-count 4 and choosen gi-version xx.0.0.0, run:
To set the network configuration use one of the following options:
ODBNetwork based configuration(This is the recommended way):
$ gcloud oracle-database cloud-vm-clusters create my-instance \
--location=us-east4 --display-name="my instance" \
--odb-network=projects/network-project/locations/us-east4/\
odbNetworks/my-odbnetwork \
--odb-subnet=projects/network-project/locations/us-east4/\
odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet \
--backup-odb-subnet=projects/network-project/locations/\
us-east4/odbNetworks/my-odbnetwork/odbSubnets/my-backup-odbsubnet \
--properties-license-type=LICENSE_INCLUDED \
--properties-ssh-public-keys="VtTxzlPJtIivthmLOmWdRDFy5l27pKUTwL\
p02" --properties-gi-version=xx.0.0.0 \
--properties-hostname-prefix=hostname1 \
--properties-cpu-core-count=4
Network and CIDR based configuration:
$ gcloud oracle-database cloud-vm-clusters create my-instance \
--location=us-east4 --display-name="my instance" \
--cidr=10.1.0.0/24 \
@ -114,6 +142,34 @@ OPTIONAL FLAGS
Return immediately, without waiting for the operation in progress to
complete.
OdbSubnet resource - The name of the backup OdbSubnet associated with the
VM Cluster. Format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
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 --backup-odb-subnet 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 --backup-odb-subnet on the command line with a
fully specified name;
◆ provide the argument --location on the command line.
To set the odb-network attribute:
◆ provide the argument --backup-odb-subnet on the command line with a
fully specified name;
◆ provide the argument --odb-network on the command line.
--backup-odb-subnet=BACKUP_ODB_SUBNET
ID of the odbSubnet or fully qualified identifier for the odbSubnet.
To set the odb-subnet attribute:
▸ provide the argument --backup-odb-subnet on the command line.
--backup-subnet-cidr=BACKUP_SUBNET_CIDR
CIDR range of the backup subnet.
@ -147,10 +203,10 @@ OPTIONAL FLAGS
--labels=path_to_file.(yaml|json)
--location=LOCATION
For resources [cloud_vm_cluster, exadata-infrastructure], provides
fallback value for resource location attribute. When the resource's
full URI path is not provided, location will fallback to this flag
value.
For resources [backup-odb-subnet, cloud_vm_cluster,
exadata-infrastructure, odb-network, odb-subnet], 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. Format:
projects/{project}/global/networks/{network} This represents a Cloud
@ -169,6 +225,40 @@ OPTIONAL FLAGS
To set the network attribute:
▸ provide the argument --network on the command line.
--odb-network=ODB_NETWORK
For resources [backup-odb-subnet, odb-network, odb-subnet], provides
fallback value for resource odb-network attribute. When the resource's
full URI path is not provided, odb-network will fallback to this flag
value.
OdbSubnet resource - The name of the OdbSubnet associated with the VM
Cluster for IP allocation. Format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
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 --odb-subnet 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 --odb-subnet on the command line with a fully
specified name;
◆ provide the argument --location on the command line.
To set the odb-network attribute:
◆ provide the argument --odb-subnet on the command line with a fully
specified name;
◆ provide the argument --odb-network on the command line.
--odb-subnet=ODB_SUBNET
ID of the odbSubnet or fully qualified identifier for the odbSubnet.
To set the odb-subnet attribute:
▸ provide the argument --odb-subnet on the command line.
--request-id=REQUEST_ID
An optional ID to identify the request. This value is used to identify
duplicate requests. If you make a request with the same request ID and

View file

@ -20,9 +20,9 @@ REQUIRED FLAGS
CloudVmCluster resource - The parent value for database node in the
following format:
projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}.
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.
. 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 --cloud-vm-cluster on the command line with a

View file

@ -42,5 +42,8 @@ GROUPS
gi-versions
Manage Gi Version resources.
odb-networks
Manage Odb Network resources.
operations
Manage Operation resources.

View file

@ -0,0 +1,124 @@
NAME
gcloud oracle-database odb-networks create - create a new OdbNetwork
SYNOPSIS
gcloud oracle-database odb-networks create
(ODB_NETWORK : --location=LOCATION) --network=NETWORK [--async]
[--labels=[LABELS,...]] [--request-id=REQUEST_ID]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create a new OdbNetwork.
EXAMPLES
To create OdbNetwork with id my-odbnetwork with network
projects/my-project/locations/global/networks/default in the location
us-east4. run:
$ gcloud oracle-database odb-networks create my-odbnetwork \
--location=us-east4 \
--network=projects/my-project/locations/global/networks/default
POSITIONAL ARGUMENTS
OdbNetwork resource - Identifier. The name of the OdbNetwork resource in
the following format:
projects/{project}/locations/{region}/odbNetworks/{odb_network} 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 odb_network 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.
ODB_NETWORK
ID of the odbNetwork or fully qualified identifier for the
odbNetwork.
To set the odb_network attribute:
▸ provide the argument odb_network 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 odbNetwork resource.
To set the location attribute:
▸ provide the argument odb_network on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
REQUIRED FLAGS
Network resource - The name of the VPC network in the following format:
projects/{project}/global/networks/{network} 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 --network 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.
--network=NETWORK
ID of the network or fully qualified identifier for the network.
To set the network attribute:
▸ provide the argument --network on the command line.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--labels=[LABELS,...]
Labels or tags associated with the resource.
KEY
Keys must start with a lowercase character and contain only hyphens
(-), underscores (_), lowercase characters, and numbers.
VALUE
Values must contain only hyphens (-), underscores (_), lowercase
characters, and numbers.
Shorthand Example:
--labels=string=string
JSON Example:
--labels='{"string": "string"}'
File Example:
--labels=path_to_file.(yaml|json)
--request-id=REQUEST_ID
An optional ID to identify the request. This value is used to identify
duplicate requests. If you make a request with the same request ID and
the original request is still in progress or completed, the server
ignores the second request. This prevents clients from accidentally
creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID
is not supported (00000000-0000-0000-0000-000000000000).
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,77 @@
NAME
gcloud oracle-database odb-networks delete - delete an OdbNetwork
SYNOPSIS
gcloud oracle-database odb-networks delete
(ODB_NETWORK : --location=LOCATION) [--async] [--request-id=REQUEST_ID]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Delete an OdbNetwork.
EXAMPLES
To delete an OdbNetwork with id my-odbnetwork in the location us-east4,
run:
$ gcloud oracle-database odb-networks delete my-odbnetwork \
--location=us-east4
POSITIONAL ARGUMENTS
OdbNetwork resource - The name of the resource in the following format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}. 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 odb_network 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.
ODB_NETWORK
ID of the odbNetwork or fully qualified identifier for the
odbNetwork.
To set the odb_network attribute:
▸ provide the argument odb_network 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 odbNetwork resource.
To set the location attribute:
▸ provide the argument odb_network 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.
--request-id=REQUEST_ID
An optional ID to identify the request. This value is used to identify
duplicate requests. If you make a request with the same request ID and
the original request is still in progress or completed, the server
ignores the second request. This prevents clients from accidentally
creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID
is not supported (00000000-0000-0000-0000-000000000000).
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,60 @@
NAME
gcloud oracle-database odb-networks describe - get details of an OdbNetwork
SYNOPSIS
gcloud oracle-database odb-networks describe
(ODB_NETWORK : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Get details of an OdbNetwork.
EXAMPLES
To get an OdbNetwork with id my-odbnetwork in the location us-east4, run:
$ gcloud oracle-database odb-networks describe my-odbnetwork \
--location=us-east4
POSITIONAL ARGUMENTS
OdbNetwork resource - The name of the OdbNetwork in the following format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}. 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 odb_network 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.
ODB_NETWORK
ID of the odbNetwork or fully qualified identifier for the
odbNetwork.
To set the odb_network attribute:
▸ provide the argument odb_network 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 odbNetwork resource.
To set the location attribute:
▸ provide the argument odb_network 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 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,34 @@
NAME
gcloud oracle-database odb-networks - manage Odb Network resources
SYNOPSIS
gcloud oracle-database odb-networks GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Manage Odb Network resources.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUPS
GROUP is one of the following:
odb-subnets
Manage Odb Subnet resources.
COMMANDS
COMMAND is one of the following:
create
Create a new OdbNetwork.
delete
Delete an OdbNetwork.
describe
Get details of an OdbNetwork.
list
List all OdbNetworks.

View file

@ -0,0 +1,79 @@
NAME
gcloud oracle-database odb-networks list - list all OdbNetworks
SYNOPSIS
gcloud oracle-database odb-networks list --location=LOCATION
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
List all OdbNetworks.
EXAMPLES
To list all OdbNetworks in the location us-east4, run:
$ gcloud oracle-database odb-networks list --location=us-east4
REQUIRED FLAGS
Location resource - The parent value for the ODB Network in the following
format: projects/{project}/locations/{location}. 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 --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
ID of the location or fully qualified identifier for the location.
To set the location attribute:
▸ provide the argument --location on the command line.
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.
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,126 @@
NAME
gcloud oracle-database odb-networks odb-subnets create - create a new
OdbSubnet
SYNOPSIS
gcloud oracle-database odb-networks odb-subnets create
(ODB_SUBNET : --location=LOCATION --odb-network=ODB_NETWORK)
--cidr-range=CIDR_RANGE --purpose=PURPOSE [--async]
[--labels=[LABELS,...]] [--request-id=REQUEST_ID]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create a new OdbSubnet.
EXAMPLES
To create OdbSubnet with id my-odbsubnet with cidr-range 10.0.10.0/24 and
the purpose of subnet is for client connections CLIENT_SUBNET in the
location us-east4 for a given OdbNetwork with id my-odbnetwork. run:
$ gcloud oracle-database odb-networks odb-subnets create \
my-odbsubnet --odb-network=my-odbnetwork \
--cidr-range=10.0.10.0/24 --purpose=CLIENT_SUBNET \
--location=us-east4
POSITIONAL ARGUMENTS
OdbSubnet resource - Identifier. The name of the OdbSubnet resource in the
following format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
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 odb_subnet 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.
ODB_SUBNET
ID of the odbSubnet or fully qualified identifier for the odbSubnet.
To set the odb_subnet attribute:
▸ provide the argument odb_subnet 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 odbSubnet resource.
To set the location attribute:
▸ provide the argument odb_subnet on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
--odb-network=ODB_NETWORK
The odbNetwork id of the odbSubnet resource.
To set the odb-network attribute:
▸ provide the argument odb_subnet on the command line with a fully
specified name;
▸ provide the argument --odb-network on the command line.
REQUIRED FLAGS
--cidr-range=CIDR_RANGE
The CIDR range of the subnet.
--purpose=PURPOSE
Purpose of the subnet. PURPOSE must be one of:
backup-subnet
Subnet to be used for backup.
client-subnet
Subnet to be used for client connections.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--labels=[LABELS,...]
Labels or tags associated with the resource.
KEY
Keys must start with a lowercase character and contain only hyphens
(-), underscores (_), lowercase characters, and numbers.
VALUE
Values must contain only hyphens (-), underscores (_), lowercase
characters, and numbers.
Shorthand Example:
--labels=string=string
JSON Example:
--labels='{"string": "string"}'
File Example:
--labels=path_to_file.(yaml|json)
--request-id=REQUEST_ID
An optional ID to identify the request. This value is used to identify
duplicate requests. If you make a request with the same request ID and
the original request is still in progress or completed, the server
ignores the second request. This prevents clients from accidentally
creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID
is not supported (00000000-0000-0000-0000-000000000000).
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,85 @@
NAME
gcloud oracle-database odb-networks odb-subnets delete - delete an
OdbSubnet
SYNOPSIS
gcloud oracle-database odb-networks odb-subnets delete
(ODB_SUBNET : --location=LOCATION --odb-network=ODB_NETWORK) [--async]
[--request-id=REQUEST_ID] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Delete an OdbSubnet.
EXAMPLES
To delete an OdbSubnet with id my-odbsubnet in the location us-east4 for a
given OdbNetwork with id my-odbnetwork, run:
$ gcloud oracle-database odb-networks odb-subnets delete \
my-odbsubnet --odb-network=my-odbnetwork --location=us-east4
POSITIONAL ARGUMENTS
OdbSubnet resource - The name of the resource in the following format:
projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.
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 odb_subnet 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.
ODB_SUBNET
ID of the odbSubnet or fully qualified identifier for the odbSubnet.
To set the odb_subnet attribute:
▸ provide the argument odb_subnet 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 odbSubnet resource.
To set the location attribute:
▸ provide the argument odb_subnet on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
--odb-network=ODB_NETWORK
The odbNetwork id of the odbSubnet resource.
To set the odb-network attribute:
▸ provide the argument odb_subnet on the command line with a fully
specified name;
▸ provide the argument --odb-network on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--request-id=REQUEST_ID
An optional ID to identify the request. This value is used to identify
duplicate requests. If you make a request with the same request ID and
the original request is still in progress or completed, the server
ignores the second request. This prevents clients from accidentally
creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID
is not supported (00000000-0000-0000-0000-000000000000).
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,70 @@
NAME
gcloud oracle-database odb-networks odb-subnets describe - get details of
an OdbSubnet
SYNOPSIS
gcloud oracle-database odb-networks odb-subnets describe
(ODB_SUBNET : --location=LOCATION --odb-network=ODB_NETWORK)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Get details of an OdbSubnet.
EXAMPLES
To get an OdbSubnet with id my-odbsubnet in the location us-east4 for a
given OdbNetwork with id my-odbnetwork, run:
$ gcloud oracle-database odb-networks odb-subnets describe \
my-odbsubnet --odb-network=my-odbnetwork --location=us-east4
POSITIONAL ARGUMENTS
OdbSubnet resource - The name of the OdbSubnet in the following format:
projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.
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 odb_subnet 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.
ODB_SUBNET
ID of the odbSubnet or fully qualified identifier for the odbSubnet.
To set the odb_subnet attribute:
▸ provide the argument odb_subnet 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 odbSubnet resource.
To set the location attribute:
▸ provide the argument odb_subnet on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
--odb-network=ODB_NETWORK
The odbNetwork id of the odbSubnet resource.
To set the odb-network attribute:
▸ provide the argument odb_subnet on the command line with a fully
specified name;
▸ provide the argument --odb-network 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 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,30 @@
NAME
gcloud oracle-database odb-networks odb-subnets - manage Odb Subnet
resources
SYNOPSIS
gcloud oracle-database odb-networks odb-subnets COMMAND
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Manage Odb Subnet resources.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
create
Create a new OdbSubnet.
delete
Delete an OdbSubnet.
describe
Get details of an OdbSubnet.
list
List all OdbSubnets.

View file

@ -0,0 +1,95 @@
NAME
gcloud oracle-database odb-networks odb-subnets list - list all OdbSubnets
SYNOPSIS
gcloud oracle-database odb-networks odb-subnets list
(--odb-network=ODB_NETWORK : --location=LOCATION) [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
List all OdbSubnets.
EXAMPLES
To list all OdbSubnets in the location us-east4 for a given OdbNetwork with
id my-odbnetwork, run:
$ gcloud oracle-database odb-networks odb-subnets list \
--odb-network=my-odbnetwork --location=us-east4
REQUIRED FLAGS
OdbNetwork resource - The parent value for the OdbSubnet in the following
format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.
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 --odb-network 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.
--odb-network=ODB_NETWORK
ID of the odbNetwork or fully qualified identifier for the
odbNetwork.
To set the odb-network attribute:
▸ provide the argument --odb-network on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
The location id of the odbNetwork resource.
To set the location attribute:
▸ provide the argument --odb-network on the command line with a
fully specified name;
▸ provide the argument --location on the command line.
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.
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