@@ -4,16 +4,42 @@ source:
4
4
file : steps-open-mongodb-view.yaml
5
5
ref : open-mongodb-view
6
6
---
7
- title : Create a connection to a deployment.
7
+ title : Open the |vsce| *Overview* page from the Command Palette or from
8
+ the :guilabel:`MongoDB` view in the :guilabel:`Activity Bar` .
8
9
level : 4
9
10
ref : create-connection
10
11
content : |
11
12
12
- a. Click the :guilabel:`Plus` icon.
13
+ .. tabs::
13
14
14
- #. Expand the :guilabel:`More Actions` menu (:guilabel:`...`), then
15
- click :guilabel:`Add MongoDB Connection`.
15
+ .. tab:: Open from Command Palette
16
+ :tabid: mdboverview
16
17
18
+ a. Perform the action described in the following table for your
19
+ operating system and method:
20
+
21
+ .. include:: /includes/list-tables/command-palette-options.rst
22
+
23
+ #. From the Command Palette, select :guilabel:`MongoDB: Open
24
+ Overview Page`.
25
+
26
+ .. include:: /includes/admonitions/tip-mongodb-command-palette.rst
27
+
28
+ .. tab:: Open from MongoDB View
29
+ :tabid: mdbview
30
+
31
+ a. Expand the :guilabel:`Connections` pane in the left
32
+ navigation if it's collapsed.
33
+
34
+ #. Click the :guilabel:`More Actions` menu (:guilabel:`...`),
35
+ then click :guilabel:`Add MongoDB Connection` to open the
36
+ |vsce| *Overview* page.
37
+
38
+ ---
39
+ title : In the *Overview* page, click :guilabel:`Open form` under
40
+ :guilabel:`Advanced Connection Settings` to create a connection to a deployment.
41
+ level : 4
42
+ ref : vsce-advanced-connection-settings
17
43
---
18
44
title : Enter your connection information.
19
45
ref : vsce-enter-connection-info
@@ -28,7 +54,7 @@ content: |
28
54
For more information, see the **Paste Connection String** tab in
29
55
:ref:`vsce-connect-task`.
30
56
31
- The :guilabel:`Hostname` dialog contains the following connection
57
+ The :guilabel:`General` tab contains the following connection
32
58
field options:
33
59
34
60
.. list-table::
@@ -174,61 +200,6 @@ content: |
174
200
For example, the username "X509User" must be
175
201
provided as "CN=X509User".
176
202
177
- ---
178
- title : " Specify replica set and security connection options."
179
- level : 4
180
- optional : true
181
- ref : connect-additional-options
182
- content : |
183
- You can specify the following security connection options:
184
-
185
- .. list-table::
186
- :header-rows: 1
187
-
188
- * - Option
189
- - Description
190
-
191
- * - :guilabel:`Replica Set Name`
192
- - If your MongoDB deployment is a replica set, specify the
193
- replica set name. Not required if you specify your replica
194
- set :guilabel:`Hostname` as an :guilabel:`SRV Record`.
195
-
196
- * - :guilabel:`Read Preference`
197
- - Specifies how |vsce| directs read operations. Options are:
198
-
199
- .. list-table::
200
- :header-rows: 1
201
- :widths: 20 50
202
-
203
- * - Read Preference Mode
204
- - Description
205
-
206
- * - ``primary``
207
- - Default mode. All operations read from the current
208
- replica set primary.
209
-
210
- * - ``primaryPreferred``
211
- - In most situations, operations read from the primary but
212
- if it is unavailable, operations read from secondary
213
- members.
214
-
215
- * - ``secondary``
216
- - All operations read from the secondary members of the
217
- replica set.
218
-
219
- * - ``secondaryPreferred``
220
- - In most situations, operations read from secondary
221
- members but if no secondary members are available,
222
- operations read from the primary.
223
-
224
- * - ``nearest``
225
- - Operations read from member of the replica
226
- set with the least network latency, irrespective of the
227
- member's type.
228
-
229
- To learn more about read preferences, see
230
- :manual:`Read Preference </core/read-preference/>`.
231
-
232
203
If you are connecting to your deployment using TLS/SSL or an SSH
233
204
tunnel, refer to the following tabs for specific instructions:
234
205
@@ -411,6 +382,61 @@ content: |
411
382
tunnel. |vsce| cannot establish a connection
412
383
to multiple servers across the same SSH tunnel.
413
384
---
385
+ title : " Specify replica set and security connection options."
386
+ level : 4
387
+ optional : true
388
+ ref : connect-additional-options
389
+ content : |
390
+ You can specify the following security connection options:
391
+
392
+ .. list-table::
393
+ :header-rows: 1
394
+
395
+ * - Option
396
+ - Description
397
+
398
+ * - :guilabel:`Replica Set Name`
399
+ - If your MongoDB deployment is a replica set, specify the
400
+ replica set name. Not required if you specify your replica
401
+ set :guilabel:`Hostname` as an :guilabel:`SRV Record`.
402
+
403
+ * - :guilabel:`Read Preference`
404
+ - Specifies how |vsce| directs read operations. Options are:
405
+
406
+ .. list-table::
407
+ :header-rows: 1
408
+ :widths: 20 50
409
+
410
+ * - Read Preference Mode
411
+ - Description
412
+
413
+ * - ``primary``
414
+ - Default mode. All operations read from the current
415
+ replica set primary.
416
+
417
+ * - ``primaryPreferred``
418
+ - In most situations, operations read from the primary but
419
+ if it is unavailable, operations read from secondary
420
+ members.
421
+
422
+ * - ``secondary``
423
+ - All operations read from the secondary members of the
424
+ replica set.
425
+
426
+ * - ``secondaryPreferred``
427
+ - In most situations, operations read from secondary
428
+ members but if no secondary members are available,
429
+ operations read from the primary.
430
+
431
+ * - ``nearest``
432
+ - Operations read from member of the replica
433
+ set with the least network latency, irrespective of the
434
+ member's type.
435
+
436
+ To learn more about read preferences, see
437
+ :manual:`Read Preference </core/read-preference/>`.
438
+
439
+ ---
414
440
ref : vsce-click-connect
415
441
level : 4
416
442
title : " Click :guilabel:`Connect`."
0 commit comments