Skip to content

Commit f1614a2

Browse files
authored
Merge pull request #819 from andrewsomething/asb/dbaas-vpc
Update help on DBaaS commands for VPC.
2 parents 96e6f19 + e2b5973 commit f1614a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands/databases.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ There are a number of flags that customize the configuration, all of which are o
7474
AddStringFlag(cmdDatabaseCreate, doctl.ArgSizeSlug, "", defaultDatabaseNodeSize, nodeSizeDetails)
7575
AddStringFlag(cmdDatabaseCreate, doctl.ArgDatabaseEngine, "", defaultDatabaseEngine, "The database engine to be used for the cluster. Possible values are: `pg` for PostgreSQL, `mysql`, and `redis`.")
7676
AddStringFlag(cmdDatabaseCreate, doctl.ArgVersion, "", "", "The database engine version, e.g. 11 for PostgreSQL version 11")
77-
AddStringFlag(cmdDatabaseCreate, doctl.ArgPrivateNetworkUUID, "", "", "A UUID to use for private network connections")
77+
AddStringFlag(cmdDatabaseCreate, doctl.ArgPrivateNetworkUUID, "", "", "The UUID of a VPC to create the database cluster in; the default VPC for the region will be used if excluded")
7878

7979
cmdDatabaseDelete := CmdBuilder(cmd, RunDatabaseDelete, "delete <database-id>", "Delete a database cluster", `This command deletes the database cluster with the given ID.
8080
@@ -112,7 +112,7 @@ You must specify the size of the machines you wish to use as nodes as well as ho
112112
cmdDatabaseMigrate := CmdBuilder(cmd, RunDatabaseMigrate, "migrate <database-id>", "Migrate a database cluster to a new region", `This command migrates the specified database cluster to a new region`, Writer,
113113
aliasOpt("m"))
114114
AddStringFlag(cmdDatabaseMigrate, doctl.ArgRegionSlug, "", "", "The region to which the database cluster should be migrated, e.g. `sfo2` or `nyc3`.", requiredOpt())
115-
AddStringFlag(cmdDatabaseMigrate, doctl.ArgPrivateNetworkUUID, "", "", "A UUID to use for private network connections")
115+
AddStringFlag(cmdDatabaseMigrate, doctl.ArgPrivateNetworkUUID, "", "", "The UUID of a VPC to create the database cluster in; the default VPC for the region will be used if excluded")
116116

117117
cmd.AddCommand(databaseReplica())
118118
cmd.AddCommand(databaseMaintenanceWindow())
@@ -951,7 +951,7 @@ This command requires that you pass in the replica's name, which you can retriev
951951
AddStringFlag(cmdDatabaseReplicaCreate, doctl.ArgSizeSlug, "",
952952
defaultDatabaseNodeSize, "Specifies the machine size for the replica (e.g. db-s-1vcpu-1gb). Must be the same or equal to the original.")
953953
AddStringFlag(cmdDatabaseReplicaCreate, doctl.ArgPrivateNetworkUUID, "",
954-
"", "Specifies a private network UUID for the replica")
954+
"", "The UUID of a VPC to create the replica in; the default VPC for the region will be used if excluded")
955955

956956
cmdDatabaseReplicaDelete := CmdBuilder(cmd, RunDatabaseReplicaDelete,
957957
"delete <database-id> <replica-name>", "Delete a read-only database replica",

0 commit comments

Comments
 (0)