@pulumi/datadog 4.68.0-alpha.1771912838 → 4.68.0
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/config/vars.d.ts +1 -1
- package/logsIndex.d.ts +16 -0
- package/logsIndex.js +6 -0
- package/logsIndex.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +1 -1
- package/referenceTable.d.ts +6 -4
- package/referenceTable.js +3 -1
- package/referenceTable.js.map +1 -1
- package/syntheticsTest.d.ts +184 -6
- package/syntheticsTest.js +178 -0
- package/syntheticsTest.js.map +1 -1
- package/teamPermissionSetting.d.ts +10 -0
- package/teamPermissionSetting.js +10 -0
- package/teamPermissionSetting.js.map +1 -1
- package/types/input.d.ts +823 -15
- package/types/output.d.ts +824 -12
package/config/vars.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const cloudProviderRegion: string | undefined;
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const cloudProviderType: string | undefined;
|
|
34
34
|
/**
|
|
35
|
-
* [Experimental - Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration block containing settings to apply default resource tags across all resources.
|
|
35
|
+
* [Experimental - Logs Indexes, Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration block containing settings to apply default resource tags across all resources.
|
|
36
36
|
*/
|
|
37
37
|
export declare const defaultTags: outputs.config.DefaultTags | undefined;
|
|
38
38
|
/**
|
package/logsIndex.d.ts
CHANGED
|
@@ -42,6 +42,10 @@ import * as outputs from "./types/output";
|
|
|
42
42
|
* }],
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
|
+
* tags: [
|
|
46
|
+
* "team:backend",
|
|
47
|
+
* "env:production",
|
|
48
|
+
* ],
|
|
45
49
|
* });
|
|
46
50
|
* ```
|
|
47
51
|
*
|
|
@@ -105,6 +109,10 @@ export declare class LogsIndex extends pulumi.CustomResource {
|
|
|
105
109
|
* The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.
|
|
106
110
|
*/
|
|
107
111
|
readonly retentionDays: pulumi.Output<number>;
|
|
112
|
+
/**
|
|
113
|
+
* A list of tags for this index. Tags must be in `key:value` format. If default tags are present at the provider level, they will be added to this resource.
|
|
114
|
+
*/
|
|
115
|
+
readonly tags: pulumi.Output<string[]>;
|
|
108
116
|
/**
|
|
109
117
|
* Create a LogsIndex resource with the given unique name, arguments, and options.
|
|
110
118
|
*
|
|
@@ -154,6 +162,10 @@ export interface LogsIndexState {
|
|
|
154
162
|
* The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.
|
|
155
163
|
*/
|
|
156
164
|
retentionDays?: pulumi.Input<number>;
|
|
165
|
+
/**
|
|
166
|
+
* A list of tags for this index. Tags must be in `key:value` format. If default tags are present at the provider level, they will be added to this resource.
|
|
167
|
+
*/
|
|
168
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
157
169
|
}
|
|
158
170
|
/**
|
|
159
171
|
* The set of arguments for constructing a LogsIndex resource.
|
|
@@ -195,4 +207,8 @@ export interface LogsIndexArgs {
|
|
|
195
207
|
* The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.
|
|
196
208
|
*/
|
|
197
209
|
retentionDays?: pulumi.Input<number>;
|
|
210
|
+
/**
|
|
211
|
+
* A list of tags for this index. Tags must be in `key:value` format. If default tags are present at the provider level, they will be added to this resource.
|
|
212
|
+
*/
|
|
213
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
198
214
|
}
|
package/logsIndex.js
CHANGED
|
@@ -46,6 +46,10 @@ const utilities = require("./utilities");
|
|
|
46
46
|
* }],
|
|
47
47
|
* },
|
|
48
48
|
* ],
|
|
49
|
+
* tags: [
|
|
50
|
+
* "team:backend",
|
|
51
|
+
* "env:production",
|
|
52
|
+
* ],
|
|
49
53
|
* });
|
|
50
54
|
* ```
|
|
51
55
|
*
|
|
@@ -94,6 +98,7 @@ class LogsIndex extends pulumi.CustomResource {
|
|
|
94
98
|
resourceInputs["flexRetentionDays"] = state?.flexRetentionDays;
|
|
95
99
|
resourceInputs["name"] = state?.name;
|
|
96
100
|
resourceInputs["retentionDays"] = state?.retentionDays;
|
|
101
|
+
resourceInputs["tags"] = state?.tags;
|
|
97
102
|
}
|
|
98
103
|
else {
|
|
99
104
|
const args = argsOrState;
|
|
@@ -112,6 +117,7 @@ class LogsIndex extends pulumi.CustomResource {
|
|
|
112
117
|
resourceInputs["flexRetentionDays"] = args?.flexRetentionDays;
|
|
113
118
|
resourceInputs["name"] = args?.name;
|
|
114
119
|
resourceInputs["retentionDays"] = args?.retentionDays;
|
|
120
|
+
resourceInputs["tags"] = args?.tags;
|
|
115
121
|
}
|
|
116
122
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
117
123
|
super(LogsIndex.__pulumiType, name, resourceInputs, opts);
|
package/logsIndex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logsIndex.js","sourceRoot":"","sources":["../logsIndex.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"logsIndex.js","sourceRoot":"","sources":["../logsIndex.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAKD;;;OAGG;IAC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,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,sCAAsC,CAAC,GAAG,IAAI,EAAE,oCAAoC,CAAC;YACpG,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,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,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAjHL,8BAkHC;AApGG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/datadog",
|
|
3
|
-
"version": "4.68.0
|
|
3
|
+
"version": "4.68.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Datadog resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "datadog",
|
|
25
|
-
"version": "4.68.0
|
|
25
|
+
"version": "4.68.0"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/provider.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export interface ProviderArgs {
|
|
|
106
106
|
*/
|
|
107
107
|
cloudProviderType?: pulumi.Input<string>;
|
|
108
108
|
/**
|
|
109
|
-
* [Experimental - Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration block containing settings to apply default resource tags across all resources.
|
|
109
|
+
* [Experimental - Logs Indexes, Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration block containing settings to apply default resource tags across all resources.
|
|
110
110
|
*/
|
|
111
111
|
defaultTags?: pulumi.Input<inputs.ProviderDefaultTags>;
|
|
112
112
|
/**
|
package/referenceTable.d.ts
CHANGED
|
@@ -65,7 +65,9 @@ import * as outputs from "./types/output";
|
|
|
65
65
|
* $ pulumi import datadog:index/referenceTable:ReferenceTable imported_table "00000000-0000-0000-0000-000000000000"
|
|
66
66
|
* ```
|
|
67
67
|
*
|
|
68
|
-
* After importing, add the resource configuration to your .tf file
|
|
68
|
+
* After importing, you must add the full resource configuration to your .tf file.
|
|
69
|
+
* Use `terraform state show datadog_reference_table.imported_table` to view the imported schema
|
|
70
|
+
* and other attributes, then add the matching configuration:
|
|
69
71
|
*
|
|
70
72
|
* resource "datadog.ReferenceTable" "importedTable" {
|
|
71
73
|
* tableName = "existingTable"
|
|
@@ -138,7 +140,7 @@ export declare class ReferenceTable extends pulumi.CustomResource {
|
|
|
138
140
|
*/
|
|
139
141
|
readonly rowCount: pulumi.Output<number>;
|
|
140
142
|
/**
|
|
141
|
-
* The schema definition for the reference table, including field definitions and primary keys. Schema is only set on create; updates are derived from the file asynchronously.
|
|
143
|
+
* The schema definition for the reference table, including field definitions and primary keys. This block is required. Schema is only set on create; updates are derived from the file asynchronously.
|
|
142
144
|
*/
|
|
143
145
|
readonly schema: pulumi.Output<outputs.ReferenceTableSchema | undefined>;
|
|
144
146
|
/**
|
|
@@ -195,7 +197,7 @@ export interface ReferenceTableState {
|
|
|
195
197
|
*/
|
|
196
198
|
rowCount?: pulumi.Input<number>;
|
|
197
199
|
/**
|
|
198
|
-
* The schema definition for the reference table, including field definitions and primary keys. Schema is only set on create; updates are derived from the file asynchronously.
|
|
200
|
+
* The schema definition for the reference table, including field definitions and primary keys. This block is required. Schema is only set on create; updates are derived from the file asynchronously.
|
|
199
201
|
*/
|
|
200
202
|
schema?: pulumi.Input<inputs.ReferenceTableSchema>;
|
|
201
203
|
/**
|
|
@@ -232,7 +234,7 @@ export interface ReferenceTableArgs {
|
|
|
232
234
|
*/
|
|
233
235
|
fileMetadata?: pulumi.Input<inputs.ReferenceTableFileMetadata>;
|
|
234
236
|
/**
|
|
235
|
-
* The schema definition for the reference table, including field definitions and primary keys. Schema is only set on create; updates are derived from the file asynchronously.
|
|
237
|
+
* The schema definition for the reference table, including field definitions and primary keys. This block is required. Schema is only set on create; updates are derived from the file asynchronously.
|
|
236
238
|
*/
|
|
237
239
|
schema?: pulumi.Input<inputs.ReferenceTableSchema>;
|
|
238
240
|
/**
|
package/referenceTable.js
CHANGED
|
@@ -69,7 +69,9 @@ const utilities = require("./utilities");
|
|
|
69
69
|
* $ pulumi import datadog:index/referenceTable:ReferenceTable imported_table "00000000-0000-0000-0000-000000000000"
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
72
|
-
* After importing, add the resource configuration to your .tf file
|
|
72
|
+
* After importing, you must add the full resource configuration to your .tf file.
|
|
73
|
+
* Use `terraform state show datadog_reference_table.imported_table` to view the imported schema
|
|
74
|
+
* and other attributes, then add the matching configuration:
|
|
73
75
|
*
|
|
74
76
|
* resource "datadog.ReferenceTable" "importedTable" {
|
|
75
77
|
* tableName = "existingTable"
|
package/referenceTable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"referenceTable.js","sourceRoot":"","sources":["../referenceTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"referenceTable.js","sourceRoot":"","sources":["../referenceTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqGG;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;IAuDD,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,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,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C,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAvHL,wCAwHC;AA1GG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
|
package/syntheticsTest.d.ts
CHANGED
|
@@ -702,6 +702,184 @@ import * as outputs from "./types/output";
|
|
|
702
702
|
* tickEvery: 900,
|
|
703
703
|
* },
|
|
704
704
|
* });
|
|
705
|
+
* // Example Usage (TCP Network Path Test)
|
|
706
|
+
* // Create a new Datadog TCP Network Path test to example.com on port 443
|
|
707
|
+
* // using the TCP traceroute strategy "syn"
|
|
708
|
+
* const networkTcp = new datadog.SyntheticsTest("network_tcp", {
|
|
709
|
+
* name: "TCP Network Path Test",
|
|
710
|
+
* type: "network",
|
|
711
|
+
* subtype: "tcp",
|
|
712
|
+
* status: "live",
|
|
713
|
+
* message: "Notify @pagerduty",
|
|
714
|
+
* locations: ["aws:eu-central-1"],
|
|
715
|
+
* tags: [
|
|
716
|
+
* "foo:bar",
|
|
717
|
+
* "foo",
|
|
718
|
+
* "env:test",
|
|
719
|
+
* ],
|
|
720
|
+
* requestDefinition: {
|
|
721
|
+
* host: "example.com",
|
|
722
|
+
* port: "443",
|
|
723
|
+
* e2eQueries: 5,
|
|
724
|
+
* maxTtl: 30,
|
|
725
|
+
* tracerouteQueries: 3,
|
|
726
|
+
* tcpMethod: "syn",
|
|
727
|
+
* timeout: 10,
|
|
728
|
+
* },
|
|
729
|
+
* assertions: [
|
|
730
|
+
* {
|
|
731
|
+
* type: "latency",
|
|
732
|
+
* operator: "lessThan",
|
|
733
|
+
* property: "avg",
|
|
734
|
+
* target: "200",
|
|
735
|
+
* },
|
|
736
|
+
* {
|
|
737
|
+
* type: "latency",
|
|
738
|
+
* operator: "lessThan",
|
|
739
|
+
* property: "max",
|
|
740
|
+
* target: "500",
|
|
741
|
+
* },
|
|
742
|
+
* {
|
|
743
|
+
* type: "jitter",
|
|
744
|
+
* operator: "lessThan",
|
|
745
|
+
* target: "50",
|
|
746
|
+
* },
|
|
747
|
+
* {
|
|
748
|
+
* type: "packetLossPercentage",
|
|
749
|
+
* operator: "lessThan",
|
|
750
|
+
* target: "0.5",
|
|
751
|
+
* },
|
|
752
|
+
* {
|
|
753
|
+
* type: "multiNetworkHop",
|
|
754
|
+
* operator: "lessThan",
|
|
755
|
+
* property: "max",
|
|
756
|
+
* target: "20",
|
|
757
|
+
* },
|
|
758
|
+
* ],
|
|
759
|
+
* optionsList: {
|
|
760
|
+
* tickEvery: 900,
|
|
761
|
+
* retry: {
|
|
762
|
+
* count: 2,
|
|
763
|
+
* interval: 300,
|
|
764
|
+
* },
|
|
765
|
+
* monitorOptions: {
|
|
766
|
+
* renotifyInterval: 120,
|
|
767
|
+
* },
|
|
768
|
+
* },
|
|
769
|
+
* });
|
|
770
|
+
* // Example Usage (UDP Network Path Test)
|
|
771
|
+
* // Create a new Datadog UDP Network Path test to example.com on port 53
|
|
772
|
+
* const networkUdp = new datadog.SyntheticsTest("network_udp", {
|
|
773
|
+
* name: "UDP Network Path Test",
|
|
774
|
+
* type: "network",
|
|
775
|
+
* subtype: "udp",
|
|
776
|
+
* status: "live",
|
|
777
|
+
* message: "Notify @pagerduty",
|
|
778
|
+
* locations: ["aws:eu-central-1"],
|
|
779
|
+
* tags: [
|
|
780
|
+
* "foo:bar",
|
|
781
|
+
* "foo",
|
|
782
|
+
* "env:test",
|
|
783
|
+
* ],
|
|
784
|
+
* requestDefinition: {
|
|
785
|
+
* host: "example.com",
|
|
786
|
+
* port: "53",
|
|
787
|
+
* e2eQueries: 5,
|
|
788
|
+
* maxTtl: 30,
|
|
789
|
+
* tracerouteQueries: 3,
|
|
790
|
+
* timeout: 10,
|
|
791
|
+
* },
|
|
792
|
+
* assertions: [
|
|
793
|
+
* {
|
|
794
|
+
* type: "latency",
|
|
795
|
+
* operator: "lessThan",
|
|
796
|
+
* property: "avg",
|
|
797
|
+
* target: "100.2",
|
|
798
|
+
* },
|
|
799
|
+
* {
|
|
800
|
+
* type: "jitter",
|
|
801
|
+
* operator: "lessThan",
|
|
802
|
+
* target: "20",
|
|
803
|
+
* },
|
|
804
|
+
* {
|
|
805
|
+
* type: "packetLossPercentage",
|
|
806
|
+
* operator: "lessThan",
|
|
807
|
+
* target: "0.1",
|
|
808
|
+
* },
|
|
809
|
+
* ],
|
|
810
|
+
* optionsList: {
|
|
811
|
+
* tickEvery: 900,
|
|
812
|
+
* retry: {
|
|
813
|
+
* count: 2,
|
|
814
|
+
* interval: 300,
|
|
815
|
+
* },
|
|
816
|
+
* monitorOptions: {
|
|
817
|
+
* renotifyInterval: 120,
|
|
818
|
+
* },
|
|
819
|
+
* },
|
|
820
|
+
* });
|
|
821
|
+
* // Example Usage (ICMP Network Path Test)
|
|
822
|
+
* // Create a new Datadog ICMP Network Path test to example.com
|
|
823
|
+
* const networkIcmp = new datadog.SyntheticsTest("network_icmp", {
|
|
824
|
+
* name: "ICMP Network Path Test",
|
|
825
|
+
* type: "network",
|
|
826
|
+
* subtype: "icmp",
|
|
827
|
+
* status: "live",
|
|
828
|
+
* message: "Notify @pagerduty",
|
|
829
|
+
* locations: ["aws:eu-central-1"],
|
|
830
|
+
* tags: [
|
|
831
|
+
* "foo:bar",
|
|
832
|
+
* "foo",
|
|
833
|
+
* "env:test",
|
|
834
|
+
* ],
|
|
835
|
+
* requestDefinition: {
|
|
836
|
+
* host: "example.com",
|
|
837
|
+
* e2eQueries: 5,
|
|
838
|
+
* maxTtl: 30,
|
|
839
|
+
* tracerouteQueries: 3,
|
|
840
|
+
* timeout: 10,
|
|
841
|
+
* },
|
|
842
|
+
* assertions: [
|
|
843
|
+
* {
|
|
844
|
+
* type: "latency",
|
|
845
|
+
* operator: "lessThan",
|
|
846
|
+
* property: "avg",
|
|
847
|
+
* target: "150",
|
|
848
|
+
* },
|
|
849
|
+
* {
|
|
850
|
+
* type: "latency",
|
|
851
|
+
* operator: "lessThan",
|
|
852
|
+
* property: "max",
|
|
853
|
+
* target: "300",
|
|
854
|
+
* },
|
|
855
|
+
* {
|
|
856
|
+
* type: "jitter",
|
|
857
|
+
* operator: "lessThan",
|
|
858
|
+
* target: "30",
|
|
859
|
+
* },
|
|
860
|
+
* {
|
|
861
|
+
* type: "packetLossPercentage",
|
|
862
|
+
* operator: "lessThan",
|
|
863
|
+
* target: "0.5",
|
|
864
|
+
* },
|
|
865
|
+
* {
|
|
866
|
+
* type: "multiNetworkHop",
|
|
867
|
+
* operator: "lessThan",
|
|
868
|
+
* property: "avg",
|
|
869
|
+
* target: "15",
|
|
870
|
+
* },
|
|
871
|
+
* ],
|
|
872
|
+
* optionsList: {
|
|
873
|
+
* tickEvery: 900,
|
|
874
|
+
* retry: {
|
|
875
|
+
* count: 2,
|
|
876
|
+
* interval: 300,
|
|
877
|
+
* },
|
|
878
|
+
* monitorOptions: {
|
|
879
|
+
* renotifyInterval: 120,
|
|
880
|
+
* },
|
|
881
|
+
* },
|
|
882
|
+
* });
|
|
705
883
|
* ```
|
|
706
884
|
*
|
|
707
885
|
* ## Import
|
|
@@ -831,7 +1009,7 @@ export declare class SyntheticsTest extends pulumi.CustomResource {
|
|
|
831
1009
|
*/
|
|
832
1010
|
readonly status: pulumi.Output<string>;
|
|
833
1011
|
/**
|
|
834
|
-
* The subtype
|
|
1012
|
+
* The subtype for API or Network Path tests. For API tests, defaults to `http`. For Network Path tests, only `tcp`, `udp`, `icmp` are available. Valid values are `http`, `ssl`, `tcp`, `dns`, `multi`, `icmp`, `udp`, `websocket`, `grpc`.
|
|
835
1013
|
*/
|
|
836
1014
|
readonly subtype: pulumi.Output<string | undefined>;
|
|
837
1015
|
/**
|
|
@@ -839,7 +1017,7 @@ export declare class SyntheticsTest extends pulumi.CustomResource {
|
|
|
839
1017
|
*/
|
|
840
1018
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
841
1019
|
/**
|
|
842
|
-
* Synthetics test
|
|
1020
|
+
* The type of Synthetics test. Valid values are `api`, `browser`, `mobile`, `network`.
|
|
843
1021
|
*/
|
|
844
1022
|
readonly type: pulumi.Output<string>;
|
|
845
1023
|
/**
|
|
@@ -962,7 +1140,7 @@ export interface SyntheticsTestState {
|
|
|
962
1140
|
*/
|
|
963
1141
|
status?: pulumi.Input<string>;
|
|
964
1142
|
/**
|
|
965
|
-
* The subtype
|
|
1143
|
+
* The subtype for API or Network Path tests. For API tests, defaults to `http`. For Network Path tests, only `tcp`, `udp`, `icmp` are available. Valid values are `http`, `ssl`, `tcp`, `dns`, `multi`, `icmp`, `udp`, `websocket`, `grpc`.
|
|
966
1144
|
*/
|
|
967
1145
|
subtype?: pulumi.Input<string>;
|
|
968
1146
|
/**
|
|
@@ -970,7 +1148,7 @@ export interface SyntheticsTestState {
|
|
|
970
1148
|
*/
|
|
971
1149
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
972
1150
|
/**
|
|
973
|
-
* Synthetics test
|
|
1151
|
+
* The type of Synthetics test. Valid values are `api`, `browser`, `mobile`, `network`.
|
|
974
1152
|
*/
|
|
975
1153
|
type?: pulumi.Input<string>;
|
|
976
1154
|
/**
|
|
@@ -1081,7 +1259,7 @@ export interface SyntheticsTestArgs {
|
|
|
1081
1259
|
*/
|
|
1082
1260
|
status: pulumi.Input<string>;
|
|
1083
1261
|
/**
|
|
1084
|
-
* The subtype
|
|
1262
|
+
* The subtype for API or Network Path tests. For API tests, defaults to `http`. For Network Path tests, only `tcp`, `udp`, `icmp` are available. Valid values are `http`, `ssl`, `tcp`, `dns`, `multi`, `icmp`, `udp`, `websocket`, `grpc`.
|
|
1085
1263
|
*/
|
|
1086
1264
|
subtype?: pulumi.Input<string>;
|
|
1087
1265
|
/**
|
|
@@ -1089,7 +1267,7 @@ export interface SyntheticsTestArgs {
|
|
|
1089
1267
|
*/
|
|
1090
1268
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1091
1269
|
/**
|
|
1092
|
-
* Synthetics test
|
|
1270
|
+
* The type of Synthetics test. Valid values are `api`, `browser`, `mobile`, `network`.
|
|
1093
1271
|
*/
|
|
1094
1272
|
type: pulumi.Input<string>;
|
|
1095
1273
|
/**
|
package/syntheticsTest.js
CHANGED
|
@@ -706,6 +706,184 @@ const utilities = require("./utilities");
|
|
|
706
706
|
* tickEvery: 900,
|
|
707
707
|
* },
|
|
708
708
|
* });
|
|
709
|
+
* // Example Usage (TCP Network Path Test)
|
|
710
|
+
* // Create a new Datadog TCP Network Path test to example.com on port 443
|
|
711
|
+
* // using the TCP traceroute strategy "syn"
|
|
712
|
+
* const networkTcp = new datadog.SyntheticsTest("network_tcp", {
|
|
713
|
+
* name: "TCP Network Path Test",
|
|
714
|
+
* type: "network",
|
|
715
|
+
* subtype: "tcp",
|
|
716
|
+
* status: "live",
|
|
717
|
+
* message: "Notify @pagerduty",
|
|
718
|
+
* locations: ["aws:eu-central-1"],
|
|
719
|
+
* tags: [
|
|
720
|
+
* "foo:bar",
|
|
721
|
+
* "foo",
|
|
722
|
+
* "env:test",
|
|
723
|
+
* ],
|
|
724
|
+
* requestDefinition: {
|
|
725
|
+
* host: "example.com",
|
|
726
|
+
* port: "443",
|
|
727
|
+
* e2eQueries: 5,
|
|
728
|
+
* maxTtl: 30,
|
|
729
|
+
* tracerouteQueries: 3,
|
|
730
|
+
* tcpMethod: "syn",
|
|
731
|
+
* timeout: 10,
|
|
732
|
+
* },
|
|
733
|
+
* assertions: [
|
|
734
|
+
* {
|
|
735
|
+
* type: "latency",
|
|
736
|
+
* operator: "lessThan",
|
|
737
|
+
* property: "avg",
|
|
738
|
+
* target: "200",
|
|
739
|
+
* },
|
|
740
|
+
* {
|
|
741
|
+
* type: "latency",
|
|
742
|
+
* operator: "lessThan",
|
|
743
|
+
* property: "max",
|
|
744
|
+
* target: "500",
|
|
745
|
+
* },
|
|
746
|
+
* {
|
|
747
|
+
* type: "jitter",
|
|
748
|
+
* operator: "lessThan",
|
|
749
|
+
* target: "50",
|
|
750
|
+
* },
|
|
751
|
+
* {
|
|
752
|
+
* type: "packetLossPercentage",
|
|
753
|
+
* operator: "lessThan",
|
|
754
|
+
* target: "0.5",
|
|
755
|
+
* },
|
|
756
|
+
* {
|
|
757
|
+
* type: "multiNetworkHop",
|
|
758
|
+
* operator: "lessThan",
|
|
759
|
+
* property: "max",
|
|
760
|
+
* target: "20",
|
|
761
|
+
* },
|
|
762
|
+
* ],
|
|
763
|
+
* optionsList: {
|
|
764
|
+
* tickEvery: 900,
|
|
765
|
+
* retry: {
|
|
766
|
+
* count: 2,
|
|
767
|
+
* interval: 300,
|
|
768
|
+
* },
|
|
769
|
+
* monitorOptions: {
|
|
770
|
+
* renotifyInterval: 120,
|
|
771
|
+
* },
|
|
772
|
+
* },
|
|
773
|
+
* });
|
|
774
|
+
* // Example Usage (UDP Network Path Test)
|
|
775
|
+
* // Create a new Datadog UDP Network Path test to example.com on port 53
|
|
776
|
+
* const networkUdp = new datadog.SyntheticsTest("network_udp", {
|
|
777
|
+
* name: "UDP Network Path Test",
|
|
778
|
+
* type: "network",
|
|
779
|
+
* subtype: "udp",
|
|
780
|
+
* status: "live",
|
|
781
|
+
* message: "Notify @pagerduty",
|
|
782
|
+
* locations: ["aws:eu-central-1"],
|
|
783
|
+
* tags: [
|
|
784
|
+
* "foo:bar",
|
|
785
|
+
* "foo",
|
|
786
|
+
* "env:test",
|
|
787
|
+
* ],
|
|
788
|
+
* requestDefinition: {
|
|
789
|
+
* host: "example.com",
|
|
790
|
+
* port: "53",
|
|
791
|
+
* e2eQueries: 5,
|
|
792
|
+
* maxTtl: 30,
|
|
793
|
+
* tracerouteQueries: 3,
|
|
794
|
+
* timeout: 10,
|
|
795
|
+
* },
|
|
796
|
+
* assertions: [
|
|
797
|
+
* {
|
|
798
|
+
* type: "latency",
|
|
799
|
+
* operator: "lessThan",
|
|
800
|
+
* property: "avg",
|
|
801
|
+
* target: "100.2",
|
|
802
|
+
* },
|
|
803
|
+
* {
|
|
804
|
+
* type: "jitter",
|
|
805
|
+
* operator: "lessThan",
|
|
806
|
+
* target: "20",
|
|
807
|
+
* },
|
|
808
|
+
* {
|
|
809
|
+
* type: "packetLossPercentage",
|
|
810
|
+
* operator: "lessThan",
|
|
811
|
+
* target: "0.1",
|
|
812
|
+
* },
|
|
813
|
+
* ],
|
|
814
|
+
* optionsList: {
|
|
815
|
+
* tickEvery: 900,
|
|
816
|
+
* retry: {
|
|
817
|
+
* count: 2,
|
|
818
|
+
* interval: 300,
|
|
819
|
+
* },
|
|
820
|
+
* monitorOptions: {
|
|
821
|
+
* renotifyInterval: 120,
|
|
822
|
+
* },
|
|
823
|
+
* },
|
|
824
|
+
* });
|
|
825
|
+
* // Example Usage (ICMP Network Path Test)
|
|
826
|
+
* // Create a new Datadog ICMP Network Path test to example.com
|
|
827
|
+
* const networkIcmp = new datadog.SyntheticsTest("network_icmp", {
|
|
828
|
+
* name: "ICMP Network Path Test",
|
|
829
|
+
* type: "network",
|
|
830
|
+
* subtype: "icmp",
|
|
831
|
+
* status: "live",
|
|
832
|
+
* message: "Notify @pagerduty",
|
|
833
|
+
* locations: ["aws:eu-central-1"],
|
|
834
|
+
* tags: [
|
|
835
|
+
* "foo:bar",
|
|
836
|
+
* "foo",
|
|
837
|
+
* "env:test",
|
|
838
|
+
* ],
|
|
839
|
+
* requestDefinition: {
|
|
840
|
+
* host: "example.com",
|
|
841
|
+
* e2eQueries: 5,
|
|
842
|
+
* maxTtl: 30,
|
|
843
|
+
* tracerouteQueries: 3,
|
|
844
|
+
* timeout: 10,
|
|
845
|
+
* },
|
|
846
|
+
* assertions: [
|
|
847
|
+
* {
|
|
848
|
+
* type: "latency",
|
|
849
|
+
* operator: "lessThan",
|
|
850
|
+
* property: "avg",
|
|
851
|
+
* target: "150",
|
|
852
|
+
* },
|
|
853
|
+
* {
|
|
854
|
+
* type: "latency",
|
|
855
|
+
* operator: "lessThan",
|
|
856
|
+
* property: "max",
|
|
857
|
+
* target: "300",
|
|
858
|
+
* },
|
|
859
|
+
* {
|
|
860
|
+
* type: "jitter",
|
|
861
|
+
* operator: "lessThan",
|
|
862
|
+
* target: "30",
|
|
863
|
+
* },
|
|
864
|
+
* {
|
|
865
|
+
* type: "packetLossPercentage",
|
|
866
|
+
* operator: "lessThan",
|
|
867
|
+
* target: "0.5",
|
|
868
|
+
* },
|
|
869
|
+
* {
|
|
870
|
+
* type: "multiNetworkHop",
|
|
871
|
+
* operator: "lessThan",
|
|
872
|
+
* property: "avg",
|
|
873
|
+
* target: "15",
|
|
874
|
+
* },
|
|
875
|
+
* ],
|
|
876
|
+
* optionsList: {
|
|
877
|
+
* tickEvery: 900,
|
|
878
|
+
* retry: {
|
|
879
|
+
* count: 2,
|
|
880
|
+
* interval: 300,
|
|
881
|
+
* },
|
|
882
|
+
* monitorOptions: {
|
|
883
|
+
* renotifyInterval: 120,
|
|
884
|
+
* },
|
|
885
|
+
* },
|
|
886
|
+
* });
|
|
709
887
|
* ```
|
|
710
888
|
*
|
|
711
889
|
* ## Import
|
package/syntheticsTest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syntheticsTest.js","sourceRoot":"","sources":["../syntheticsTest.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"syntheticsTest.js","sourceRoot":"","sources":["../syntheticsTest.ts"],"names":[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AAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAnOL,wCAoOC;AAtNG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -19,6 +19,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* value: "organization",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* The `pulumi import` command can be used, for example:
|
|
26
|
+
*
|
|
27
|
+
* This resource is imported using teamId and action separated by `:`.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import datadog:index/teamPermissionSetting:TeamPermissionSetting example "${team_id}:${action}"
|
|
31
|
+
* ```
|
|
22
32
|
*/
|
|
23
33
|
export declare class TeamPermissionSetting extends pulumi.CustomResource {
|
|
24
34
|
/**
|
package/teamPermissionSetting.js
CHANGED
|
@@ -25,6 +25,16 @@ const utilities = require("./utilities");
|
|
|
25
25
|
* value: "organization",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* The `pulumi import` command can be used, for example:
|
|
32
|
+
*
|
|
33
|
+
* This resource is imported using teamId and action separated by `:`.
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import datadog:index/teamPermissionSetting:TeamPermissionSetting example "${team_id}:${action}"
|
|
37
|
+
* ```
|
|
28
38
|
*/
|
|
29
39
|
class TeamPermissionSetting extends pulumi.CustomResource {
|
|
30
40
|
/**
|