-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathatlas-alerts-settings-fields-type.txt
72 lines (54 loc) · 1.59 KB
/
atlas-alerts-settings-fields-type.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.. _atlas-alerts-settings-fields-type:
=================================
atlas alerts settings fields type
=================================
.. default-domain:: mongodb
.. contents:: On this page
:local:
:backlinks: none
:depth: 1
:class: singlecol
Return all available field types that the matcherFieldName option accepts when you create or update an alert configuration.
To use this command, you must authenticate with a user account or an API key with the Project Read Only role.
Syntax
------
.. code-block::
:caption: Command Syntax
atlas alerts settings fields type [options]
.. Code end marker, please don't delete this comment
Options
-------
.. list-table::
:header-rows: 1
:widths: 20 10 10 60
* - Name
- Type
- Required
- Description
* - -h, --help
-
- false
- help for type
* - -o, --output
- string
- false
- Output format. Valid values are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option.
Inherited Options
-----------------
.. list-table::
:header-rows: 1
:widths: 20 10 10 60
* - Name
- Type
- Required
- Description
* - -P, --profile
- string
- false
- Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.
Examples
--------
.. code-block::
:copyable: false
# Return a JSON-formatted list of accepted field types for the matchersFieldName option:
atlas alerts settings fields type --output json