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
_, _, err:=acc.ConnPreview().PushBasedLogExportApi.GetGroupLogIntegration(context.Background(), rs.Primary.Attributes["project_id"], rs.Primary.Attributes["id"]).Execute()// TODO: CLOUDP-362256 change to ConnV2() once API is in production
Copy file name to clipboardExpand all lines: scripts/generate-autogen-api-spec.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
#!/usr/bin/env bash
2
2
set -euo pipefail
3
3
4
-
SOURCE_SPEC_URL="${SOURCE_SPEC_URL:-https://raw.githubusercontent.com/mongodb/openapi/dev/openapi/v2.yaml}"# TODO: CLOUDP-362256 change to main branch once API is in production
Copy file name to clipboardExpand all lines: tools/codegen/models/alert_configuration_api.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -860,7 +860,7 @@ data_sources:
860
860
present_in_any_response: false
861
861
request_only_required_on_create: false
862
862
- string: {}
863
-
description: Comparison operator to apply when checking the current metric value against **matcher[n].value**.
863
+
description: Comparison operator to apply when checking the current metric value against **matcher[n].value**. The `REGEX` operator only supports inclusive matches. Use the `NOT_CONTAINS` operator to exclude values.
864
864
computed_optional_required: computed
865
865
tf_schema_name: operator
866
866
tf_model_name: Operator
@@ -1330,7 +1330,7 @@ data_sources:
1330
1330
1331
1331
Atlas returns this value if you set `"notifications.[n].typeName" :"WEBHOOK"` and either:
1332
1332
* You set `notification.[n].webhookSecret` to a non-empty string
1333
-
* You set a default webhookSecret either on the Integrations page, or with the [Integrations API](#tag/Third-Party-Service-Integrations/operation/createIntegration)
1333
+
* You set a default webhookSecret either on the Integrations page, or with the Integrations API
1334
1334
1335
1335
**NOTE**: When you view or edit the alert for a webhook notification, the secret appears completely redacted.
1336
1336
computed_optional_required: computed
@@ -1348,7 +1348,7 @@ data_sources:
1348
1348
1349
1349
Atlas returns this value if you set `"notifications.[n].typeName" :"WEBHOOK"` and either:
1350
1350
* You set `notification.[n].webhookURL` to a non-empty string
1351
-
* You set a default webhookUrl either on the [Integrations](https://www.mongodb.com/docs/atlas/tutorial/third-party-service-integrations/#std-label-third-party-integrations) page, or with the [Integrations API](#tag/Third-Party-Service-Integrations/operation/createIntegration)
1351
+
* You set a default webhookUrl either on the Integrations page, or with the Integrations API
1352
1352
1353
1353
**NOTE**: When you view or edit the alert for a Webhook URL notification, the URL appears partially redacted.
Copy file name to clipboardExpand all lines: tools/codegen/models/log_integration.yaml
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ schema:
10
10
req_body_usage: all_request_bodies
11
11
sensitive: false
12
12
create_only: false
13
+
present_in_any_response: true
14
+
request_only_required_on_create: false
13
15
- string: {}
14
16
description: |-
15
17
Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
@@ -22,6 +24,8 @@ schema:
22
24
req_body_usage: omit_always
23
25
sensitive: false
24
26
create_only: true
27
+
present_in_any_response: false
28
+
request_only_required_on_create: false
25
29
- string: {}
26
30
description: Unique 24-hexadecimal digit string that identifies the AWS IAM role that MongoDB Cloud uses to access your S3 bucket.
27
31
computed_optional_required: required
@@ -31,6 +35,8 @@ schema:
31
35
req_body_usage: all_request_bodies
32
36
sensitive: false
33
37
create_only: false
38
+
present_in_any_response: true
39
+
request_only_required_on_create: false
34
40
- string: {}
35
41
description: Unique 24-character hexadecimal digit string that identifies the log integration configuration.
36
42
computed_optional_required: computed
@@ -40,6 +46,8 @@ schema:
40
46
req_body_usage: omit_always
41
47
sensitive: false
42
48
create_only: false
49
+
present_in_any_response: true
50
+
request_only_required_on_create: false
43
51
- string: {}
44
52
description: AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings.
45
53
computed_optional_required: optional
@@ -49,6 +57,8 @@ schema:
49
57
req_body_usage: all_request_bodies
50
58
sensitive: false
51
59
create_only: false
60
+
present_in_any_response: true
61
+
request_only_required_on_create: false
52
62
- set:
53
63
element_type: 4
54
64
description: 'Array of log types to export to S3. Valid values: MONGOD, MONGOS, MONGOD_AUDIT, MONGOS_AUDIT.'
@@ -63,6 +73,8 @@ schema:
63
73
req_body_usage: all_request_bodies
64
74
sensitive: false
65
75
create_only: false
76
+
present_in_any_response: true
77
+
request_only_required_on_create: false
66
78
- string: {}
67
79
description: S3 directory path prefix where the log files will be stored. MongoDB Cloud will add further sub-directories based on the log type.
68
80
computed_optional_required: required
@@ -72,6 +84,8 @@ schema:
72
84
req_body_usage: all_request_bodies
73
85
sensitive: false
74
86
create_only: false
87
+
present_in_any_response: true
88
+
request_only_required_on_create: false
75
89
- string: {}
76
90
description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the log integration type.
0 commit comments