You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-src/astra-cli-core/modules/ROOT/pages/managing.adoc
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,17 @@ From the command line in a Terminal, the supported tasks are:
20
20
== List databases
21
21
22
22
To get the list of active databases in your {astra_db} organization, use the command `astra db list`.
23
+
24
+
[TIP]
25
+
====
26
+
For help on this command, use:
27
+
28
+
[source,bash]
29
+
----
30
+
astra help db list
31
+
----
32
+
====
33
+
23
34
Example:
24
35
25
36
[tabs]
@@ -52,16 +63,6 @@ Sample result::
52
63
--
53
64
====
54
65
55
-
[TIP]
56
-
====
57
-
For help on this command, use:
58
-
59
-
[source,bash]
60
-
----
61
-
astra help db list
62
-
----
63
-
====
64
-
65
66
You can also change the database list's output type with the `astra db list -o <type>` command, where <type> can be `csv` or `json`.
66
67
67
68
Examples:
@@ -154,18 +155,11 @@ Sample result::
154
155
155
156
You can create an {astra_db} *Serverless* database with the `astra db create <db-name>` command.
156
157
157
-
[TIP]
158
+
[NOTE]
158
159
====
159
160
While you cannot create {astra_db} *Classic* databases with the `astra db create <db-name>` command, you can use other {astra_cli} commands to return information about existing {astra_db} Classic databases.
160
161
====
161
162
162
-
Example:
163
-
164
-
[source,bash]
165
-
----
166
-
astra db create demo
167
-
----
168
-
169
163
[TIP]
170
164
====
171
165
For help on this command, use:
@@ -176,6 +170,13 @@ astra help db create
176
170
----
177
171
====
178
172
173
+
Example:
174
+
175
+
[source,bash]
176
+
----
177
+
astra db create demo
178
+
----
179
+
179
180
By default, the region will be an available free region, and the keyspace name will be the same as the database name. You can change the names with `-r` and `-k` respectively.
180
181
181
182
=== Using create options
@@ -410,7 +411,6 @@ astra role get "Database Administrator"
410
411
To get general information or details on an entity, use the command `astra db get <db-name>`.
411
412
The output includes specific information about the list of keyspaces available and the different regions.
0 commit comments