@pulumi/datadog 4.61.0-alpha.1764800788 → 4.61.0-alpha.1764913250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionConnection.d.ts +65 -0
- package/actionConnection.js +65 -0
- package/actionConnection.js.map +1 -1
- package/apmRetentionFilter.d.ts +16 -0
- package/apmRetentionFilter.js +16 -0
- package/apmRetentionFilter.js.map +1 -1
- package/apmRetentionFilterOrder.d.ts +18 -0
- package/apmRetentionFilterOrder.js +18 -0
- package/apmRetentionFilterOrder.js.map +1 -1
- package/appsecWafCustomRule.d.ts +58 -0
- package/appsecWafCustomRule.js +58 -0
- package/appsecWafCustomRule.js.map +1 -1
- package/awsCurConfig.d.ts +21 -0
- package/awsCurConfig.js +21 -0
- package/awsCurConfig.js.map +1 -1
- package/azureUcConfig.d.ts +24 -0
- package/azureUcConfig.js +24 -0
- package/azureUcConfig.js.map +1 -1
- package/csmThreatsAgentRule.d.ts +23 -0
- package/csmThreatsAgentRule.js +23 -0
- package/csmThreatsAgentRule.js.map +1 -1
- package/customAllocationRule.d.ts +27 -0
- package/customAllocationRule.js +27 -0
- package/customAllocationRule.js.map +1 -1
- package/customAllocationRules.d.ts +69 -0
- package/customAllocationRules.js +69 -0
- package/customAllocationRules.js.map +1 -1
- package/downtimeSchedule.d.ts +35 -0
- package/downtimeSchedule.js +35 -0
- package/downtimeSchedule.js.map +1 -1
- package/monitorNotificationRule.d.ts +17 -0
- package/monitorNotificationRule.js +17 -0
- package/monitorNotificationRule.js.map +1 -1
- package/observabilityPipeline.d.ts +66 -0
- package/observabilityPipeline.js +66 -0
- package/observabilityPipeline.js.map +1 -1
- package/onCallSchedule.d.ts +28 -0
- package/onCallSchedule.js +28 -0
- package/onCallSchedule.js.map +1 -1
- package/onCallTeamRoutingRules.d.ts +33 -0
- package/onCallTeamRoutingRules.js +33 -0
- package/onCallTeamRoutingRules.js.map +1 -1
- package/openapiApi.d.ts +13 -0
- package/openapiApi.js +13 -0
- package/openapiApi.js.map +1 -1
- package/package.json +2 -2
- package/rumMetric.d.ts +26 -0
- package/rumMetric.js +26 -0
- package/rumMetric.js.map +1 -1
- package/rumRetentionFiltersOrder.d.ts +45 -0
- package/rumRetentionFiltersOrder.js +45 -0
- package/rumRetentionFiltersOrder.js.map +1 -1
- package/securityMonitoringRuleJson.d.ts +45 -0
- package/securityMonitoringRuleJson.js +45 -0
- package/securityMonitoringRuleJson.js.map +1 -1
- package/securityNotificationRule.d.ts +35 -0
- package/securityNotificationRule.js +35 -0
- package/securityNotificationRule.js.map +1 -1
- package/spansMetric.d.ts +22 -0
- package/spansMetric.js +22 -0
- package/spansMetric.js.map +1 -1
- package/tagPipelineRuleset.d.ts +58 -0
- package/tagPipelineRuleset.js +58 -0
- package/tagPipelineRuleset.js.map +1 -1
- package/tagPipelineRulesets.d.ts +167 -0
- package/tagPipelineRulesets.js +167 -0
- package/tagPipelineRulesets.js.map +1 -1
|
@@ -6,6 +6,33 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create new datadog_custom_allocation_rule resource
|
|
14
|
+
* const myAllocationRule = new datadog.CustomAllocationRule("my_allocation_rule", {
|
|
15
|
+
* costsToAllocates: [{
|
|
16
|
+
* condition: "is",
|
|
17
|
+
* tag: "aws_product",
|
|
18
|
+
* value: "ec2",
|
|
19
|
+
* }],
|
|
20
|
+
* enabled: true,
|
|
21
|
+
* providernames: ["aws"],
|
|
22
|
+
* ruleName: "my-allocation-rule",
|
|
23
|
+
* strategy: [{
|
|
24
|
+
* allocatedByTagKeys: ["team"],
|
|
25
|
+
* basedOnCosts: [{
|
|
26
|
+
* condition: "is",
|
|
27
|
+
* tag: "env",
|
|
28
|
+
* value: "prod",
|
|
29
|
+
* }],
|
|
30
|
+
* granularity: "daily",
|
|
31
|
+
* method: "even",
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
9
36
|
* ## Import
|
|
10
37
|
*
|
|
11
38
|
* The `pulumi import` command can be used, for example:
|
package/customAllocationRule.js
CHANGED
|
@@ -10,6 +10,33 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create new datadog_custom_allocation_rule resource
|
|
18
|
+
* const myAllocationRule = new datadog.CustomAllocationRule("my_allocation_rule", {
|
|
19
|
+
* costsToAllocates: [{
|
|
20
|
+
* condition: "is",
|
|
21
|
+
* tag: "aws_product",
|
|
22
|
+
* value: "ec2",
|
|
23
|
+
* }],
|
|
24
|
+
* enabled: true,
|
|
25
|
+
* providernames: ["aws"],
|
|
26
|
+
* ruleName: "my-allocation-rule",
|
|
27
|
+
* strategy: [{
|
|
28
|
+
* allocatedByTagKeys: ["team"],
|
|
29
|
+
* basedOnCosts: [{
|
|
30
|
+
* condition: "is",
|
|
31
|
+
* tag: "env",
|
|
32
|
+
* value: "prod",
|
|
33
|
+
* }],
|
|
34
|
+
* granularity: "daily",
|
|
35
|
+
* method: "even",
|
|
36
|
+
* }],
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
13
40
|
* ## Import
|
|
14
41
|
*
|
|
15
42
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customAllocationRule.js","sourceRoot":"","sources":["../customAllocationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":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D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AApHL,oDAqHC;AAvGG,gBAAgB;AACO,iCAAY,GAAG,yDAAyD,CAAC"}
|
|
@@ -4,6 +4,75 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* const rule1 = new datadog.CustomAllocationRule("rule_1", {
|
|
12
|
+
* costsToAllocates: [{
|
|
13
|
+
* condition: "is",
|
|
14
|
+
* tag: "aws_product",
|
|
15
|
+
* value: "AmazonEC2",
|
|
16
|
+
* }],
|
|
17
|
+
* enabled: true,
|
|
18
|
+
* providernames: ["aws"],
|
|
19
|
+
* ruleName: "my-custom-rule-1",
|
|
20
|
+
* strategy: [{
|
|
21
|
+
* allocatedByTagKeys: ["team"],
|
|
22
|
+
* basedOnCosts: [{
|
|
23
|
+
* condition: "is",
|
|
24
|
+
* tag: "aws_product",
|
|
25
|
+
* value: "AmazonEC2",
|
|
26
|
+
* }],
|
|
27
|
+
* method: "even",
|
|
28
|
+
* }],
|
|
29
|
+
* });
|
|
30
|
+
* const rule2 = new datadog.CustomAllocationRule("rule_2", {
|
|
31
|
+
* costsToAllocates: [{
|
|
32
|
+
* condition: "is",
|
|
33
|
+
* tag: "aws_product",
|
|
34
|
+
* value: "AmazonS3",
|
|
35
|
+
* }],
|
|
36
|
+
* enabled: true,
|
|
37
|
+
* providernames: ["aws"],
|
|
38
|
+
* ruleName: "my-custom-rule-2",
|
|
39
|
+
* strategy: [{
|
|
40
|
+
* allocatedByTagKeys: ["team"],
|
|
41
|
+
* basedOnCosts: [{
|
|
42
|
+
* condition: "is",
|
|
43
|
+
* tag: "aws_product",
|
|
44
|
+
* value: "AmazonS3",
|
|
45
|
+
* }],
|
|
46
|
+
* method: "even",
|
|
47
|
+
* }],
|
|
48
|
+
* });
|
|
49
|
+
* const rule3 = new datadog.CustomAllocationRule("rule_3", {
|
|
50
|
+
* costsToAllocates: [{
|
|
51
|
+
* condition: "is",
|
|
52
|
+
* tag: "aws_product",
|
|
53
|
+
* value: "AmazonRDS",
|
|
54
|
+
* }],
|
|
55
|
+
* enabled: true,
|
|
56
|
+
* providernames: ["aws"],
|
|
57
|
+
* ruleName: "my-custom-rule-3",
|
|
58
|
+
* strategy: [{
|
|
59
|
+
* allocatedByTagKeys: ["team"],
|
|
60
|
+
* basedOnCosts: [{
|
|
61
|
+
* condition: "is",
|
|
62
|
+
* tag: "aws_product",
|
|
63
|
+
* value: "AmazonRDS",
|
|
64
|
+
* }],
|
|
65
|
+
* method: "even",
|
|
66
|
+
* }],
|
|
67
|
+
* });
|
|
68
|
+
* // Manage the order of custom allocation rules
|
|
69
|
+
* const order = new datadog.CustomAllocationRules("order", {ruleIds: [
|
|
70
|
+
* rule1.id,
|
|
71
|
+
* rule2.id,
|
|
72
|
+
* rule3.id,
|
|
73
|
+
* ]});
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
7
76
|
* ## Import
|
|
8
77
|
*
|
|
9
78
|
* The `pulumi import` command can be used, for example:
|
package/customAllocationRules.js
CHANGED
|
@@ -10,6 +10,75 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const rule1 = new datadog.CustomAllocationRule("rule_1", {
|
|
18
|
+
* costsToAllocates: [{
|
|
19
|
+
* condition: "is",
|
|
20
|
+
* tag: "aws_product",
|
|
21
|
+
* value: "AmazonEC2",
|
|
22
|
+
* }],
|
|
23
|
+
* enabled: true,
|
|
24
|
+
* providernames: ["aws"],
|
|
25
|
+
* ruleName: "my-custom-rule-1",
|
|
26
|
+
* strategy: [{
|
|
27
|
+
* allocatedByTagKeys: ["team"],
|
|
28
|
+
* basedOnCosts: [{
|
|
29
|
+
* condition: "is",
|
|
30
|
+
* tag: "aws_product",
|
|
31
|
+
* value: "AmazonEC2",
|
|
32
|
+
* }],
|
|
33
|
+
* method: "even",
|
|
34
|
+
* }],
|
|
35
|
+
* });
|
|
36
|
+
* const rule2 = new datadog.CustomAllocationRule("rule_2", {
|
|
37
|
+
* costsToAllocates: [{
|
|
38
|
+
* condition: "is",
|
|
39
|
+
* tag: "aws_product",
|
|
40
|
+
* value: "AmazonS3",
|
|
41
|
+
* }],
|
|
42
|
+
* enabled: true,
|
|
43
|
+
* providernames: ["aws"],
|
|
44
|
+
* ruleName: "my-custom-rule-2",
|
|
45
|
+
* strategy: [{
|
|
46
|
+
* allocatedByTagKeys: ["team"],
|
|
47
|
+
* basedOnCosts: [{
|
|
48
|
+
* condition: "is",
|
|
49
|
+
* tag: "aws_product",
|
|
50
|
+
* value: "AmazonS3",
|
|
51
|
+
* }],
|
|
52
|
+
* method: "even",
|
|
53
|
+
* }],
|
|
54
|
+
* });
|
|
55
|
+
* const rule3 = new datadog.CustomAllocationRule("rule_3", {
|
|
56
|
+
* costsToAllocates: [{
|
|
57
|
+
* condition: "is",
|
|
58
|
+
* tag: "aws_product",
|
|
59
|
+
* value: "AmazonRDS",
|
|
60
|
+
* }],
|
|
61
|
+
* enabled: true,
|
|
62
|
+
* providernames: ["aws"],
|
|
63
|
+
* ruleName: "my-custom-rule-3",
|
|
64
|
+
* strategy: [{
|
|
65
|
+
* allocatedByTagKeys: ["team"],
|
|
66
|
+
* basedOnCosts: [{
|
|
67
|
+
* condition: "is",
|
|
68
|
+
* tag: "aws_product",
|
|
69
|
+
* value: "AmazonRDS",
|
|
70
|
+
* }],
|
|
71
|
+
* method: "even",
|
|
72
|
+
* }],
|
|
73
|
+
* });
|
|
74
|
+
* // Manage the order of custom allocation rules
|
|
75
|
+
* const order = new datadog.CustomAllocationRules("order", {ruleIds: [
|
|
76
|
+
* rule1.id,
|
|
77
|
+
* rule2.id,
|
|
78
|
+
* rule3.id,
|
|
79
|
+
* ]});
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
13
82
|
* ## Import
|
|
14
83
|
*
|
|
15
84
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customAllocationRules.js","sourceRoot":"","sources":["../customAllocationRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customAllocationRules.js","sourceRoot":"","sources":["../customAllocationRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,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
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create new downtime_schedule resource
|
|
14
|
+
* const downtimeScheduleExample = new datadog.DowntimeSchedule("downtime_schedule_example", {
|
|
15
|
+
* scope: "env:us9-prod7 AND team:test123",
|
|
16
|
+
* monitorIdentifier: [{
|
|
17
|
+
* monitorTags: [
|
|
18
|
+
* "test:123",
|
|
19
|
+
* "data:test",
|
|
20
|
+
* ],
|
|
21
|
+
* }],
|
|
22
|
+
* recurringSchedule: [{
|
|
23
|
+
* recurrences: [{
|
|
24
|
+
* duration: "1h",
|
|
25
|
+
* rrule: "FREQ=DAILY;INTERVAL=1",
|
|
26
|
+
* start: "2050-01-02T03:04:05",
|
|
27
|
+
* }],
|
|
28
|
+
* timezone: "America/New_York",
|
|
29
|
+
* }],
|
|
30
|
+
* displayTimezone: "America/New_York",
|
|
31
|
+
* message: "Message about the downtime",
|
|
32
|
+
* muteFirstRecoveryNotification: true,
|
|
33
|
+
* notifyEndStates: [
|
|
34
|
+
* "alert",
|
|
35
|
+
* "warn",
|
|
36
|
+
* ],
|
|
37
|
+
* notifyEndTypes: [
|
|
38
|
+
* "canceled",
|
|
39
|
+
* "expired",
|
|
40
|
+
* ],
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
9
44
|
* ## Import
|
|
10
45
|
*
|
|
11
46
|
* The `pulumi import` command can be used, for example:
|
package/downtimeSchedule.js
CHANGED
|
@@ -10,6 +10,41 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create new downtime_schedule resource
|
|
18
|
+
* const downtimeScheduleExample = new datadog.DowntimeSchedule("downtime_schedule_example", {
|
|
19
|
+
* scope: "env:us9-prod7 AND team:test123",
|
|
20
|
+
* monitorIdentifier: [{
|
|
21
|
+
* monitorTags: [
|
|
22
|
+
* "test:123",
|
|
23
|
+
* "data:test",
|
|
24
|
+
* ],
|
|
25
|
+
* }],
|
|
26
|
+
* recurringSchedule: [{
|
|
27
|
+
* recurrences: [{
|
|
28
|
+
* duration: "1h",
|
|
29
|
+
* rrule: "FREQ=DAILY;INTERVAL=1",
|
|
30
|
+
* start: "2050-01-02T03:04:05",
|
|
31
|
+
* }],
|
|
32
|
+
* timezone: "America/New_York",
|
|
33
|
+
* }],
|
|
34
|
+
* displayTimezone: "America/New_York",
|
|
35
|
+
* message: "Message about the downtime",
|
|
36
|
+
* muteFirstRecoveryNotification: true,
|
|
37
|
+
* notifyEndStates: [
|
|
38
|
+
* "alert",
|
|
39
|
+
* "warn",
|
|
40
|
+
* ],
|
|
41
|
+
* notifyEndTypes: [
|
|
42
|
+
* "canceled",
|
|
43
|
+
* "expired",
|
|
44
|
+
* ],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
13
48
|
* ## Import
|
|
14
49
|
*
|
|
15
50
|
* The `pulumi import` command can be used, for example:
|
package/downtimeSchedule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"downtimeSchedule.js","sourceRoot":"","sources":["../downtimeSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"downtimeSchedule.js","sourceRoot":"","sources":["../downtimeSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,E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AE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,+BAA+B,CAAC,GAAG,IAAI,EAAE,6BAA6B,CAAC;YACtF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/FL,4CAgGC;AAlFG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -6,6 +6,23 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create new monitor_notification_rule resource
|
|
14
|
+
* const foo = new datadog.MonitorNotificationRule("foo", {
|
|
15
|
+
* name: "A notification rule name",
|
|
16
|
+
* recipients: [
|
|
17
|
+
* "slack-test-channel",
|
|
18
|
+
* "jira-test",
|
|
19
|
+
* ],
|
|
20
|
+
* filter: [{
|
|
21
|
+
* tags: ["env:foo"],
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
9
26
|
* ## Import
|
|
10
27
|
*
|
|
11
28
|
* The `pulumi import` command can be used, for example:
|
|
@@ -10,6 +10,23 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create new monitor_notification_rule resource
|
|
18
|
+
* const foo = new datadog.MonitorNotificationRule("foo", {
|
|
19
|
+
* name: "A notification rule name",
|
|
20
|
+
* recipients: [
|
|
21
|
+
* "slack-test-channel",
|
|
22
|
+
* "jira-test",
|
|
23
|
+
* ],
|
|
24
|
+
* filter: [{
|
|
25
|
+
* tags: ["env:foo"],
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
13
30
|
* ## Import
|
|
14
31
|
*
|
|
15
32
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitorNotificationRule.js","sourceRoot":"","sources":["../monitorNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"monitorNotificationRule.js","sourceRoot":"","sources":["../monitorNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;A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,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AApEL,0DAqEC;AAvDG,gBAAgB;AACO,oCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -8,6 +8,72 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as datadog from "@pulumi/datadog";
|
|
14
|
+
*
|
|
15
|
+
* const test = new datadog.ObservabilityPipeline("test", {
|
|
16
|
+
* name: "test pipeline",
|
|
17
|
+
* config: [{
|
|
18
|
+
* sources: [{
|
|
19
|
+
* kafkas: [{
|
|
20
|
+
* id: "source-1",
|
|
21
|
+
* groupId: "my-consumer-group",
|
|
22
|
+
* topics: [
|
|
23
|
+
* "my-topic-1",
|
|
24
|
+
* "my-topic-2",
|
|
25
|
+
* ],
|
|
26
|
+
* tls: [{
|
|
27
|
+
* crtFile: "/etc/certs/client.crt",
|
|
28
|
+
* keyFile: "/etc/certs/client.key",
|
|
29
|
+
* caFile: "/etc/certs/ca.crt",
|
|
30
|
+
* }],
|
|
31
|
+
* sasl: [{
|
|
32
|
+
* mechanism: "SCRAM-SHA-512",
|
|
33
|
+
* }],
|
|
34
|
+
* librdkafkaOptions: [
|
|
35
|
+
* {
|
|
36
|
+
* name: "fetch.message.max.bytes",
|
|
37
|
+
* value: "1048576",
|
|
38
|
+
* },
|
|
39
|
+
* {
|
|
40
|
+
* name: "socket.timeout.ms",
|
|
41
|
+
* value: "500",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* }],
|
|
45
|
+
* }],
|
|
46
|
+
* processors: [{
|
|
47
|
+
* parseJsons: [
|
|
48
|
+
* {
|
|
49
|
+
* id: "filter-1",
|
|
50
|
+
* include: "service:nginx",
|
|
51
|
+
* field: "message2",
|
|
52
|
+
* inputs: ["source-1"],
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* id: "filter-3",
|
|
56
|
+
* include: "service:nginx",
|
|
57
|
+
* field: "message",
|
|
58
|
+
* inputs: ["filter-2"],
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* filters: [{
|
|
62
|
+
* id: "filter-2",
|
|
63
|
+
* include: "service:nginx",
|
|
64
|
+
* inputs: ["filter-1"],
|
|
65
|
+
* }],
|
|
66
|
+
* }],
|
|
67
|
+
* destinations: [{
|
|
68
|
+
* datadogLogs: [{
|
|
69
|
+
* id: "sink-1",
|
|
70
|
+
* inputs: ["filter-3"],
|
|
71
|
+
* }],
|
|
72
|
+
* }],
|
|
73
|
+
* }],
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
11
77
|
* ## Import
|
|
12
78
|
*
|
|
13
79
|
* The `pulumi import` command can be used, for example:
|
package/observabilityPipeline.js
CHANGED
|
@@ -12,6 +12,72 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as datadog from "@pulumi/datadog";
|
|
18
|
+
*
|
|
19
|
+
* const test = new datadog.ObservabilityPipeline("test", {
|
|
20
|
+
* name: "test pipeline",
|
|
21
|
+
* config: [{
|
|
22
|
+
* sources: [{
|
|
23
|
+
* kafkas: [{
|
|
24
|
+
* id: "source-1",
|
|
25
|
+
* groupId: "my-consumer-group",
|
|
26
|
+
* topics: [
|
|
27
|
+
* "my-topic-1",
|
|
28
|
+
* "my-topic-2",
|
|
29
|
+
* ],
|
|
30
|
+
* tls: [{
|
|
31
|
+
* crtFile: "/etc/certs/client.crt",
|
|
32
|
+
* keyFile: "/etc/certs/client.key",
|
|
33
|
+
* caFile: "/etc/certs/ca.crt",
|
|
34
|
+
* }],
|
|
35
|
+
* sasl: [{
|
|
36
|
+
* mechanism: "SCRAM-SHA-512",
|
|
37
|
+
* }],
|
|
38
|
+
* librdkafkaOptions: [
|
|
39
|
+
* {
|
|
40
|
+
* name: "fetch.message.max.bytes",
|
|
41
|
+
* value: "1048576",
|
|
42
|
+
* },
|
|
43
|
+
* {
|
|
44
|
+
* name: "socket.timeout.ms",
|
|
45
|
+
* value: "500",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* }],
|
|
49
|
+
* }],
|
|
50
|
+
* processors: [{
|
|
51
|
+
* parseJsons: [
|
|
52
|
+
* {
|
|
53
|
+
* id: "filter-1",
|
|
54
|
+
* include: "service:nginx",
|
|
55
|
+
* field: "message2",
|
|
56
|
+
* inputs: ["source-1"],
|
|
57
|
+
* },
|
|
58
|
+
* {
|
|
59
|
+
* id: "filter-3",
|
|
60
|
+
* include: "service:nginx",
|
|
61
|
+
* field: "message",
|
|
62
|
+
* inputs: ["filter-2"],
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* filters: [{
|
|
66
|
+
* id: "filter-2",
|
|
67
|
+
* include: "service:nginx",
|
|
68
|
+
* inputs: ["filter-1"],
|
|
69
|
+
* }],
|
|
70
|
+
* }],
|
|
71
|
+
* destinations: [{
|
|
72
|
+
* datadogLogs: [{
|
|
73
|
+
* id: "sink-1",
|
|
74
|
+
* inputs: ["filter-3"],
|
|
75
|
+
* }],
|
|
76
|
+
* }],
|
|
77
|
+
* }],
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
15
81
|
* ## Import
|
|
16
82
|
*
|
|
17
83
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observabilityPipeline.js","sourceRoot":"","sources":["../observabilityPipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"observabilityPipeline.js","sourceRoot":"","sources":["../observabilityPipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA9DL,sDA+DC;AAjDG,gBAAgB;AACO,kCAAY,GAAG,2DAA2D,CAAC"}
|
package/onCallSchedule.d.ts
CHANGED
|
@@ -6,6 +6,34 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* const test = new datadog.OnCallSchedule("test", {
|
|
14
|
+
* name: "Team A On-Call",
|
|
15
|
+
* timeZone: "America/New_York",
|
|
16
|
+
* teams: ["00000000-aba2-0000-0000-000000000000"],
|
|
17
|
+
* layers: [{
|
|
18
|
+
* name: "Primary On-Call Layer",
|
|
19
|
+
* effectiveDate: "2025-01-01T00:00:00Z",
|
|
20
|
+
* endDate: "2026-01-01T00:00:00Z",
|
|
21
|
+
* rotationStart: "2025-01-01T00:00:00Z",
|
|
22
|
+
* interval: [{
|
|
23
|
+
* days: 1,
|
|
24
|
+
* seconds: 300,
|
|
25
|
+
* }],
|
|
26
|
+
* users: ["00000000-aba1-0000-0000-000000000000"],
|
|
27
|
+
* restrictions: [{
|
|
28
|
+
* endDay: "monday",
|
|
29
|
+
* endTime: "17:00:00",
|
|
30
|
+
* startDay: "monday",
|
|
31
|
+
* startTime: "09:00:00",
|
|
32
|
+
* }],
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
9
37
|
* ## Import
|
|
10
38
|
*
|
|
11
39
|
* The `pulumi import` command can be used, for example:
|
package/onCallSchedule.js
CHANGED
|
@@ -10,6 +10,34 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const test = new datadog.OnCallSchedule("test", {
|
|
18
|
+
* name: "Team A On-Call",
|
|
19
|
+
* timeZone: "America/New_York",
|
|
20
|
+
* teams: ["00000000-aba2-0000-0000-000000000000"],
|
|
21
|
+
* layers: [{
|
|
22
|
+
* name: "Primary On-Call Layer",
|
|
23
|
+
* effectiveDate: "2025-01-01T00:00:00Z",
|
|
24
|
+
* endDate: "2026-01-01T00:00:00Z",
|
|
25
|
+
* rotationStart: "2025-01-01T00:00:00Z",
|
|
26
|
+
* interval: [{
|
|
27
|
+
* days: 1,
|
|
28
|
+
* seconds: 300,
|
|
29
|
+
* }],
|
|
30
|
+
* users: ["00000000-aba1-0000-0000-000000000000"],
|
|
31
|
+
* restrictions: [{
|
|
32
|
+
* endDay: "monday",
|
|
33
|
+
* endTime: "17:00:00",
|
|
34
|
+
* startDay: "monday",
|
|
35
|
+
* startTime: "09:00:00",
|
|
36
|
+
* }],
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
13
41
|
* ## Import
|
|
14
42
|
*
|
|
15
43
|
* The `pulumi import` command can be used, for example:
|
package/onCallSchedule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCallSchedule.js","sourceRoot":"","sources":["../onCallSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"onCallSchedule.js","sourceRoot":"","sources":["../onCallSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC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