@pulumi/datadog 4.33.0-alpha.1725946412 → 4.33.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/apiKey.d.ts +1 -1
- package/apiKey.js +1 -1
- package/getApiKey.d.ts +2 -2
- package/getApiKey.js +2 -2
- package/index.d.ts +6 -0
- package/index.js +12 -2
- package/index.js.map +1 -1
- package/logsCustomDestination.d.ts +192 -0
- package/logsCustomDestination.js +99 -0
- package/logsCustomDestination.js.map +1 -0
- package/package.json +2 -2
- package/serviceLevelObjective.d.ts +3 -3
- package/softwareCatalog.d.ts +278 -0
- package/softwareCatalog.js +282 -0
- package/softwareCatalog.js.map +1 -0
- package/syntheticsTest.d.ts +6 -6
- package/syntheticsTest.js +6 -6
- package/types/input.d.ts +87 -7
- package/types/output.d.ts +87 -7
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Datadog Software Catalog Entity resource. This can be used to create and manage entities in Datadog Software Catalog using the YAML/JSON definition.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* // v3 service entity
|
|
12
|
+
* const serviceV3 = new datadog.SoftwareCatalog("service_v3", {entity: `apiVersion: v3
|
|
13
|
+
* kind: service
|
|
14
|
+
* metadata:
|
|
15
|
+
* name: shopping-cart
|
|
16
|
+
* displayName: Shopping Cart
|
|
17
|
+
* inheritFrom: service:otherService
|
|
18
|
+
* tags:
|
|
19
|
+
* - tag:value
|
|
20
|
+
* links:
|
|
21
|
+
* - name: shopping-cart runbook
|
|
22
|
+
* type: runbook
|
|
23
|
+
* url: https://runbook/shopping-cart
|
|
24
|
+
* - name: shopping-cart architecture
|
|
25
|
+
* provider: gdoc
|
|
26
|
+
* url: https://google.drive/shopping-cart-architecture
|
|
27
|
+
* type: doc
|
|
28
|
+
* - name: shopping-cart Wiki
|
|
29
|
+
* provider: wiki
|
|
30
|
+
* url: https://wiki/shopping-cart
|
|
31
|
+
* type: doc
|
|
32
|
+
* - name: shopping-cart source code
|
|
33
|
+
* provider: github
|
|
34
|
+
* url: http://github/shopping-cart
|
|
35
|
+
* type: repo
|
|
36
|
+
* contacts:
|
|
37
|
+
* - name: Support Email
|
|
38
|
+
* type: email
|
|
39
|
+
* contact: team@shopping.com
|
|
40
|
+
* - name: Support Slack
|
|
41
|
+
* type: slack
|
|
42
|
+
* contact: https://www.slack.com/archives/shopping-cart
|
|
43
|
+
* owner: myteam
|
|
44
|
+
* additionalOwners:
|
|
45
|
+
* - name: opsTeam
|
|
46
|
+
* type: operator
|
|
47
|
+
* integrations:
|
|
48
|
+
* pagerduty:
|
|
49
|
+
* serviceURL: https://www.pagerduty.com/service-directory/Pshopping-cart
|
|
50
|
+
* opsgenie:
|
|
51
|
+
* serviceURL: https://www.opsgenie.com/service/shopping-cart
|
|
52
|
+
* region: US
|
|
53
|
+
* extensions:
|
|
54
|
+
* datadoghq.com/shopping-cart:
|
|
55
|
+
* customField: customValue
|
|
56
|
+
* spec:
|
|
57
|
+
* lifecycle: production
|
|
58
|
+
* tier: "1"
|
|
59
|
+
* type: web
|
|
60
|
+
* languages:
|
|
61
|
+
* - go
|
|
62
|
+
* - python
|
|
63
|
+
* dependsOn:
|
|
64
|
+
* - service:serviceA
|
|
65
|
+
* - service:serviceB
|
|
66
|
+
* datadog:
|
|
67
|
+
* performanceData:
|
|
68
|
+
* tags:
|
|
69
|
+
* - 'service:shopping-cart'
|
|
70
|
+
* - 'hostname:shopping-cart'
|
|
71
|
+
* events:
|
|
72
|
+
* - name: "deployment events"
|
|
73
|
+
* query: "app:myapp AND type:github"
|
|
74
|
+
* - name: "event type B"
|
|
75
|
+
* query: "app:myapp AND type:github"
|
|
76
|
+
* logs:
|
|
77
|
+
* - name: "critical logs"
|
|
78
|
+
* query: "app:myapp AND type:github"
|
|
79
|
+
* - name: "ops logs"
|
|
80
|
+
* query: "app:myapp AND type:github"
|
|
81
|
+
* pipelines:
|
|
82
|
+
* fingerprints:
|
|
83
|
+
* - fp1
|
|
84
|
+
* - fp2
|
|
85
|
+
* codeLocations:
|
|
86
|
+
* - repositoryURL: http://github/shopping-cart.git
|
|
87
|
+
* paths:
|
|
88
|
+
* - baz/*.c
|
|
89
|
+
* - bat/**/*
|
|
90
|
+
* - ../plop/*.java
|
|
91
|
+
* - repositoryURL: http://github/shopping-cart-2.git
|
|
92
|
+
* paths:
|
|
93
|
+
* - baz/*.c
|
|
94
|
+
* - bat/**/*
|
|
95
|
+
* - ../plop/*.java
|
|
96
|
+
* `});
|
|
97
|
+
* // v3 datastore entity
|
|
98
|
+
* const datastoreV3 = new datadog.SoftwareCatalog("datastore_v3", {entity: `apiVersion: v3
|
|
99
|
+
* kind: datastore
|
|
100
|
+
* metadata:
|
|
101
|
+
* name: shopping-cart-db
|
|
102
|
+
* tags:
|
|
103
|
+
* - tag:value
|
|
104
|
+
* links:
|
|
105
|
+
* - name: shopping-cart-db runbook
|
|
106
|
+
* type: runbook
|
|
107
|
+
* url: https://runbook/shopping-cart
|
|
108
|
+
* contacts:
|
|
109
|
+
* - name: Support Email
|
|
110
|
+
* type: email
|
|
111
|
+
* contact: team@shopping.com
|
|
112
|
+
* - name: Support Slack
|
|
113
|
+
* type: slack
|
|
114
|
+
* contact: https://www.slack.com/archives/shopping-cart
|
|
115
|
+
* owner: myteam
|
|
116
|
+
* additionalOwners:
|
|
117
|
+
* - name: opsTeam
|
|
118
|
+
* type: operator
|
|
119
|
+
* integrations:
|
|
120
|
+
* pagerduty:
|
|
121
|
+
* serviceURL: https://www.pagerduty.com/service-directory/Pshopping-cart
|
|
122
|
+
* opsgenie:
|
|
123
|
+
* serviceURL: https://www.opsgenie.com/service/shopping-cart
|
|
124
|
+
* region: US
|
|
125
|
+
* extensions:
|
|
126
|
+
* datadoghq.com/shopping-cart-db:
|
|
127
|
+
* customField: customValue
|
|
128
|
+
* spec:
|
|
129
|
+
* lifecycle: production
|
|
130
|
+
* tier: "1"
|
|
131
|
+
* type: "postgres"
|
|
132
|
+
* datadog:
|
|
133
|
+
* performanceData:
|
|
134
|
+
* tags: ['tag:random']
|
|
135
|
+
* `});
|
|
136
|
+
* // v3 queue entity
|
|
137
|
+
* const queueV3 = new datadog.SoftwareCatalog("queue_v3", {entity: `apiVersion: v3
|
|
138
|
+
* kind: queue
|
|
139
|
+
* metadata:
|
|
140
|
+
* name: order-queue
|
|
141
|
+
* tags:
|
|
142
|
+
* - tag:value
|
|
143
|
+
* links:
|
|
144
|
+
* - name: order-queue runbook
|
|
145
|
+
* type: runbook
|
|
146
|
+
* url: https://runbook/order-queue
|
|
147
|
+
* contacts:
|
|
148
|
+
* - name: Support Email
|
|
149
|
+
* type: email
|
|
150
|
+
* contact: team@shopping.com
|
|
151
|
+
* - name: Support Slack
|
|
152
|
+
* type: slack
|
|
153
|
+
* contact: https://www.slack.com/archives/shopping-cart
|
|
154
|
+
* owner: myteam
|
|
155
|
+
* additionalOwners:
|
|
156
|
+
* - name: opsTeam
|
|
157
|
+
* type: operator
|
|
158
|
+
* integrations:
|
|
159
|
+
* pagerduty:
|
|
160
|
+
* serviceURL: https://www.pagerduty.com/service-directory/Pshopping-cart
|
|
161
|
+
* opsgenie:
|
|
162
|
+
* serviceURL: https://www.opsgenie.com/service/shopping-cart
|
|
163
|
+
* region: US
|
|
164
|
+
* extensions:
|
|
165
|
+
* datadoghq.com/order-queue:
|
|
166
|
+
* customField: customValue
|
|
167
|
+
* spec:
|
|
168
|
+
* lifecycle: production
|
|
169
|
+
* tier: "1"
|
|
170
|
+
* type: kafka
|
|
171
|
+
* datadog:
|
|
172
|
+
* performanceData:
|
|
173
|
+
* tags: ['tag:random']
|
|
174
|
+
* `});
|
|
175
|
+
* // v3 system entity
|
|
176
|
+
* const systemV3 = new datadog.SoftwareCatalog("system_v3", {entity: `apiVersion: v3
|
|
177
|
+
* kind: system
|
|
178
|
+
* metadata:
|
|
179
|
+
* name: shopping-system
|
|
180
|
+
* displayName: Shopping System
|
|
181
|
+
* tags:
|
|
182
|
+
* - tag:value
|
|
183
|
+
* links:
|
|
184
|
+
* - name: shopping-system runbook
|
|
185
|
+
* type: runbook
|
|
186
|
+
* url: https://runbook/shopping-system
|
|
187
|
+
* contacts:
|
|
188
|
+
* - name: Support Email
|
|
189
|
+
* type: email
|
|
190
|
+
* contact: team@shopping.com
|
|
191
|
+
* - name: Support Slack
|
|
192
|
+
* type: slack
|
|
193
|
+
* contact: https://www.slack.com/archives/shopping-cart
|
|
194
|
+
* owner: myteam
|
|
195
|
+
* additionalOwners:
|
|
196
|
+
* - name: opsTeam
|
|
197
|
+
* type: operator
|
|
198
|
+
* integrations:
|
|
199
|
+
* pagerduty:
|
|
200
|
+
* serviceURL: https://www.pagerduty.com/service-directory/Pshopping-cart
|
|
201
|
+
* opsgenie:
|
|
202
|
+
* serviceURL: https://www.opsgenie.com/service/shopping-cart
|
|
203
|
+
* region: US
|
|
204
|
+
* spec:
|
|
205
|
+
* components:
|
|
206
|
+
* - service:shopping-cart
|
|
207
|
+
* - queue:order-queue
|
|
208
|
+
* - database:shopping-cart-db
|
|
209
|
+
* extensions:
|
|
210
|
+
* datadoghq.com/shopping-system:
|
|
211
|
+
* customField: customValue
|
|
212
|
+
* datadog:
|
|
213
|
+
* events:
|
|
214
|
+
* - name: "deployment events"
|
|
215
|
+
* query: "app:myapp AND type:github"
|
|
216
|
+
* - name: "event type B"
|
|
217
|
+
* query: "app:myapp AND type:github"
|
|
218
|
+
* logs:
|
|
219
|
+
* - name: "critical logs"
|
|
220
|
+
* query: "app:myapp AND type:github"
|
|
221
|
+
* - name: "ops logs"
|
|
222
|
+
* query: "app:myapp AND type:github"
|
|
223
|
+
* `});
|
|
224
|
+
* ```
|
|
225
|
+
*
|
|
226
|
+
* ## Import
|
|
227
|
+
*
|
|
228
|
+
* ```sh
|
|
229
|
+
* $ pulumi import datadog:index/softwareCatalog:SoftwareCatalog this <name>
|
|
230
|
+
* ```
|
|
231
|
+
*/
|
|
232
|
+
export declare class SoftwareCatalog extends pulumi.CustomResource {
|
|
233
|
+
/**
|
|
234
|
+
* Get an existing SoftwareCatalog resource's state with the given name, ID, and optional extra
|
|
235
|
+
* properties used to qualify the lookup.
|
|
236
|
+
*
|
|
237
|
+
* @param name The _unique_ name of the resulting resource.
|
|
238
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
239
|
+
* @param state Any extra arguments used during the lookup.
|
|
240
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
241
|
+
*/
|
|
242
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SoftwareCatalogState, opts?: pulumi.CustomResourceOptions): SoftwareCatalog;
|
|
243
|
+
/**
|
|
244
|
+
* Returns true if the given object is an instance of SoftwareCatalog. This is designed to work even
|
|
245
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
246
|
+
*/
|
|
247
|
+
static isInstance(obj: any): obj is SoftwareCatalog;
|
|
248
|
+
/**
|
|
249
|
+
* The catalog entity definition.
|
|
250
|
+
*/
|
|
251
|
+
readonly entity: pulumi.Output<string>;
|
|
252
|
+
/**
|
|
253
|
+
* Create a SoftwareCatalog resource with the given unique name, arguments, and options.
|
|
254
|
+
*
|
|
255
|
+
* @param name The _unique_ name of the resource.
|
|
256
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
257
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
258
|
+
*/
|
|
259
|
+
constructor(name: string, args: SoftwareCatalogArgs, opts?: pulumi.CustomResourceOptions);
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Input properties used for looking up and filtering SoftwareCatalog resources.
|
|
263
|
+
*/
|
|
264
|
+
export interface SoftwareCatalogState {
|
|
265
|
+
/**
|
|
266
|
+
* The catalog entity definition.
|
|
267
|
+
*/
|
|
268
|
+
entity?: pulumi.Input<string>;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* The set of arguments for constructing a SoftwareCatalog resource.
|
|
272
|
+
*/
|
|
273
|
+
export interface SoftwareCatalogArgs {
|
|
274
|
+
/**
|
|
275
|
+
* The catalog entity definition.
|
|
276
|
+
*/
|
|
277
|
+
entity: pulumi.Input<string>;
|
|
278
|
+
}
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SoftwareCatalog = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Datadog Software Catalog Entity resource. This can be used to create and manage entities in Datadog Software Catalog using the YAML/JSON definition.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // v3 service entity
|
|
18
|
+
* const serviceV3 = new datadog.SoftwareCatalog("service_v3", {entity: `apiVersion: v3
|
|
19
|
+
* kind: service
|
|
20
|
+
* metadata:
|
|
21
|
+
* name: shopping-cart
|
|
22
|
+
* displayName: Shopping Cart
|
|
23
|
+
* inheritFrom: service:otherService
|
|
24
|
+
* tags:
|
|
25
|
+
* - tag:value
|
|
26
|
+
* links:
|
|
27
|
+
* - name: shopping-cart runbook
|
|
28
|
+
* type: runbook
|
|
29
|
+
* url: https://runbook/shopping-cart
|
|
30
|
+
* - name: shopping-cart architecture
|
|
31
|
+
* provider: gdoc
|
|
32
|
+
* url: https://google.drive/shopping-cart-architecture
|
|
33
|
+
* type: doc
|
|
34
|
+
* - name: shopping-cart Wiki
|
|
35
|
+
* provider: wiki
|
|
36
|
+
* url: https://wiki/shopping-cart
|
|
37
|
+
* type: doc
|
|
38
|
+
* - name: shopping-cart source code
|
|
39
|
+
* provider: github
|
|
40
|
+
* url: http://github/shopping-cart
|
|
41
|
+
* type: repo
|
|
42
|
+
* contacts:
|
|
43
|
+
* - name: Support Email
|
|
44
|
+
* type: email
|
|
45
|
+
* contact: team@shopping.com
|
|
46
|
+
* - name: Support Slack
|
|
47
|
+
* type: slack
|
|
48
|
+
* contact: https://www.slack.com/archives/shopping-cart
|
|
49
|
+
* owner: myteam
|
|
50
|
+
* additionalOwners:
|
|
51
|
+
* - name: opsTeam
|
|
52
|
+
* type: operator
|
|
53
|
+
* integrations:
|
|
54
|
+
* pagerduty:
|
|
55
|
+
* serviceURL: https://www.pagerduty.com/service-directory/Pshopping-cart
|
|
56
|
+
* opsgenie:
|
|
57
|
+
* serviceURL: https://www.opsgenie.com/service/shopping-cart
|
|
58
|
+
* region: US
|
|
59
|
+
* extensions:
|
|
60
|
+
* datadoghq.com/shopping-cart:
|
|
61
|
+
* customField: customValue
|
|
62
|
+
* spec:
|
|
63
|
+
* lifecycle: production
|
|
64
|
+
* tier: "1"
|
|
65
|
+
* type: web
|
|
66
|
+
* languages:
|
|
67
|
+
* - go
|
|
68
|
+
* - python
|
|
69
|
+
* dependsOn:
|
|
70
|
+
* - service:serviceA
|
|
71
|
+
* - service:serviceB
|
|
72
|
+
* datadog:
|
|
73
|
+
* performanceData:
|
|
74
|
+
* tags:
|
|
75
|
+
* - 'service:shopping-cart'
|
|
76
|
+
* - 'hostname:shopping-cart'
|
|
77
|
+
* events:
|
|
78
|
+
* - name: "deployment events"
|
|
79
|
+
* query: "app:myapp AND type:github"
|
|
80
|
+
* - name: "event type B"
|
|
81
|
+
* query: "app:myapp AND type:github"
|
|
82
|
+
* logs:
|
|
83
|
+
* - name: "critical logs"
|
|
84
|
+
* query: "app:myapp AND type:github"
|
|
85
|
+
* - name: "ops logs"
|
|
86
|
+
* query: "app:myapp AND type:github"
|
|
87
|
+
* pipelines:
|
|
88
|
+
* fingerprints:
|
|
89
|
+
* - fp1
|
|
90
|
+
* - fp2
|
|
91
|
+
* codeLocations:
|
|
92
|
+
* - repositoryURL: http://github/shopping-cart.git
|
|
93
|
+
* paths:
|
|
94
|
+
* - baz/*.c
|
|
95
|
+
* - bat/**/*
|
|
96
|
+
* - ../plop/*.java
|
|
97
|
+
* - repositoryURL: http://github/shopping-cart-2.git
|
|
98
|
+
* paths:
|
|
99
|
+
* - baz/*.c
|
|
100
|
+
* - bat/**/*
|
|
101
|
+
* - ../plop/*.java
|
|
102
|
+
* `});
|
|
103
|
+
* // v3 datastore entity
|
|
104
|
+
* const datastoreV3 = new datadog.SoftwareCatalog("datastore_v3", {entity: `apiVersion: v3
|
|
105
|
+
* kind: datastore
|
|
106
|
+
* metadata:
|
|
107
|
+
* name: shopping-cart-db
|
|
108
|
+
* tags:
|
|
109
|
+
* - tag:value
|
|
110
|
+
* links:
|
|
111
|
+
* - name: shopping-cart-db runbook
|
|
112
|
+
* type: runbook
|
|
113
|
+
* url: https://runbook/shopping-cart
|
|
114
|
+
* contacts:
|
|
115
|
+
* - name: Support Email
|
|
116
|
+
* type: email
|
|
117
|
+
* contact: team@shopping.com
|
|
118
|
+
* - name: Support Slack
|
|
119
|
+
* type: slack
|
|
120
|
+
* contact: https://www.slack.com/archives/shopping-cart
|
|
121
|
+
* owner: myteam
|
|
122
|
+
* additionalOwners:
|
|
123
|
+
* - name: opsTeam
|
|
124
|
+
* type: operator
|
|
125
|
+
* integrations:
|
|
126
|
+
* pagerduty:
|
|
127
|
+
* serviceURL: https://www.pagerduty.com/service-directory/Pshopping-cart
|
|
128
|
+
* opsgenie:
|
|
129
|
+
* serviceURL: https://www.opsgenie.com/service/shopping-cart
|
|
130
|
+
* region: US
|
|
131
|
+
* extensions:
|
|
132
|
+
* datadoghq.com/shopping-cart-db:
|
|
133
|
+
* customField: customValue
|
|
134
|
+
* spec:
|
|
135
|
+
* lifecycle: production
|
|
136
|
+
* tier: "1"
|
|
137
|
+
* type: "postgres"
|
|
138
|
+
* datadog:
|
|
139
|
+
* performanceData:
|
|
140
|
+
* tags: ['tag:random']
|
|
141
|
+
* `});
|
|
142
|
+
* // v3 queue entity
|
|
143
|
+
* const queueV3 = new datadog.SoftwareCatalog("queue_v3", {entity: `apiVersion: v3
|
|
144
|
+
* kind: queue
|
|
145
|
+
* metadata:
|
|
146
|
+
* name: order-queue
|
|
147
|
+
* tags:
|
|
148
|
+
* - tag:value
|
|
149
|
+
* links:
|
|
150
|
+
* - name: order-queue runbook
|
|
151
|
+
* type: runbook
|
|
152
|
+
* url: https://runbook/order-queue
|
|
153
|
+
* contacts:
|
|
154
|
+
* - name: Support Email
|
|
155
|
+
* type: email
|
|
156
|
+
* contact: team@shopping.com
|
|
157
|
+
* - name: Support Slack
|
|
158
|
+
* type: slack
|
|
159
|
+
* contact: https://www.slack.com/archives/shopping-cart
|
|
160
|
+
* owner: myteam
|
|
161
|
+
* additionalOwners:
|
|
162
|
+
* - name: opsTeam
|
|
163
|
+
* type: operator
|
|
164
|
+
* integrations:
|
|
165
|
+
* pagerduty:
|
|
166
|
+
* serviceURL: https://www.pagerduty.com/service-directory/Pshopping-cart
|
|
167
|
+
* opsgenie:
|
|
168
|
+
* serviceURL: https://www.opsgenie.com/service/shopping-cart
|
|
169
|
+
* region: US
|
|
170
|
+
* extensions:
|
|
171
|
+
* datadoghq.com/order-queue:
|
|
172
|
+
* customField: customValue
|
|
173
|
+
* spec:
|
|
174
|
+
* lifecycle: production
|
|
175
|
+
* tier: "1"
|
|
176
|
+
* type: kafka
|
|
177
|
+
* datadog:
|
|
178
|
+
* performanceData:
|
|
179
|
+
* tags: ['tag:random']
|
|
180
|
+
* `});
|
|
181
|
+
* // v3 system entity
|
|
182
|
+
* const systemV3 = new datadog.SoftwareCatalog("system_v3", {entity: `apiVersion: v3
|
|
183
|
+
* kind: system
|
|
184
|
+
* metadata:
|
|
185
|
+
* name: shopping-system
|
|
186
|
+
* displayName: Shopping System
|
|
187
|
+
* tags:
|
|
188
|
+
* - tag:value
|
|
189
|
+
* links:
|
|
190
|
+
* - name: shopping-system runbook
|
|
191
|
+
* type: runbook
|
|
192
|
+
* url: https://runbook/shopping-system
|
|
193
|
+
* contacts:
|
|
194
|
+
* - name: Support Email
|
|
195
|
+
* type: email
|
|
196
|
+
* contact: team@shopping.com
|
|
197
|
+
* - name: Support Slack
|
|
198
|
+
* type: slack
|
|
199
|
+
* contact: https://www.slack.com/archives/shopping-cart
|
|
200
|
+
* owner: myteam
|
|
201
|
+
* additionalOwners:
|
|
202
|
+
* - name: opsTeam
|
|
203
|
+
* type: operator
|
|
204
|
+
* integrations:
|
|
205
|
+
* pagerduty:
|
|
206
|
+
* serviceURL: https://www.pagerduty.com/service-directory/Pshopping-cart
|
|
207
|
+
* opsgenie:
|
|
208
|
+
* serviceURL: https://www.opsgenie.com/service/shopping-cart
|
|
209
|
+
* region: US
|
|
210
|
+
* spec:
|
|
211
|
+
* components:
|
|
212
|
+
* - service:shopping-cart
|
|
213
|
+
* - queue:order-queue
|
|
214
|
+
* - database:shopping-cart-db
|
|
215
|
+
* extensions:
|
|
216
|
+
* datadoghq.com/shopping-system:
|
|
217
|
+
* customField: customValue
|
|
218
|
+
* datadog:
|
|
219
|
+
* events:
|
|
220
|
+
* - name: "deployment events"
|
|
221
|
+
* query: "app:myapp AND type:github"
|
|
222
|
+
* - name: "event type B"
|
|
223
|
+
* query: "app:myapp AND type:github"
|
|
224
|
+
* logs:
|
|
225
|
+
* - name: "critical logs"
|
|
226
|
+
* query: "app:myapp AND type:github"
|
|
227
|
+
* - name: "ops logs"
|
|
228
|
+
* query: "app:myapp AND type:github"
|
|
229
|
+
* `});
|
|
230
|
+
* ```
|
|
231
|
+
*
|
|
232
|
+
* ## Import
|
|
233
|
+
*
|
|
234
|
+
* ```sh
|
|
235
|
+
* $ pulumi import datadog:index/softwareCatalog:SoftwareCatalog this <name>
|
|
236
|
+
* ```
|
|
237
|
+
*/
|
|
238
|
+
class SoftwareCatalog extends pulumi.CustomResource {
|
|
239
|
+
/**
|
|
240
|
+
* Get an existing SoftwareCatalog resource's state with the given name, ID, and optional extra
|
|
241
|
+
* properties used to qualify the lookup.
|
|
242
|
+
*
|
|
243
|
+
* @param name The _unique_ name of the resulting resource.
|
|
244
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
245
|
+
* @param state Any extra arguments used during the lookup.
|
|
246
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
247
|
+
*/
|
|
248
|
+
static get(name, id, state, opts) {
|
|
249
|
+
return new SoftwareCatalog(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Returns true if the given object is an instance of SoftwareCatalog. This is designed to work even
|
|
253
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
254
|
+
*/
|
|
255
|
+
static isInstance(obj) {
|
|
256
|
+
if (obj === undefined || obj === null) {
|
|
257
|
+
return false;
|
|
258
|
+
}
|
|
259
|
+
return obj['__pulumiType'] === SoftwareCatalog.__pulumiType;
|
|
260
|
+
}
|
|
261
|
+
constructor(name, argsOrState, opts) {
|
|
262
|
+
let resourceInputs = {};
|
|
263
|
+
opts = opts || {};
|
|
264
|
+
if (opts.id) {
|
|
265
|
+
const state = argsOrState;
|
|
266
|
+
resourceInputs["entity"] = state ? state.entity : undefined;
|
|
267
|
+
}
|
|
268
|
+
else {
|
|
269
|
+
const args = argsOrState;
|
|
270
|
+
if ((!args || args.entity === undefined) && !opts.urn) {
|
|
271
|
+
throw new Error("Missing required property 'entity'");
|
|
272
|
+
}
|
|
273
|
+
resourceInputs["entity"] = args ? args.entity : undefined;
|
|
274
|
+
}
|
|
275
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
276
|
+
super(SoftwareCatalog.__pulumiType, name, resourceInputs, opts);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
exports.SoftwareCatalog = SoftwareCatalog;
|
|
280
|
+
/** @internal */
|
|
281
|
+
SoftwareCatalog.__pulumiType = 'datadog:index/softwareCatalog:SoftwareCatalog';
|
|
282
|
+
//# sourceMappingURL=softwareCatalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"softwareCatalog.js","sourceRoot":"","sources":["../softwareCatalog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqOG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAeD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxDL,0CAyDC;AA3CG,gBAAgB;AACO,4BAAY,GAAG,+CAA+C,CAAC"}
|
package/syntheticsTest.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ import * as outputs from "./types/output";
|
|
|
112
112
|
* ],
|
|
113
113
|
* requestDefinition: {
|
|
114
114
|
* host: "example.org",
|
|
115
|
-
* port: 443,
|
|
115
|
+
* port: "443",
|
|
116
116
|
* },
|
|
117
117
|
* assertions: [{
|
|
118
118
|
* type: "certificate",
|
|
@@ -140,7 +140,7 @@ import * as outputs from "./types/output";
|
|
|
140
140
|
* ],
|
|
141
141
|
* requestDefinition: {
|
|
142
142
|
* host: "example.org",
|
|
143
|
-
* port: 443,
|
|
143
|
+
* port: "443",
|
|
144
144
|
* },
|
|
145
145
|
* assertions: [{
|
|
146
146
|
* type: "responseTime",
|
|
@@ -237,7 +237,7 @@ import * as outputs from "./types/output";
|
|
|
237
237
|
* }],
|
|
238
238
|
* requestDefinition: {
|
|
239
239
|
* host: "example.org",
|
|
240
|
-
* port: 443,
|
|
240
|
+
* port: "443",
|
|
241
241
|
* callType: "healthcheck",
|
|
242
242
|
* service: "greeter.Greeter",
|
|
243
243
|
* },
|
|
@@ -252,7 +252,7 @@ import * as outputs from "./types/output";
|
|
|
252
252
|
* }],
|
|
253
253
|
* requestDefinition: {
|
|
254
254
|
* host: "example.org",
|
|
255
|
-
* port: 443,
|
|
255
|
+
* port: "443",
|
|
256
256
|
* callType: "unary",
|
|
257
257
|
* service: "greeter.Greeter",
|
|
258
258
|
* method: "SayHello",
|
|
@@ -366,7 +366,7 @@ import * as outputs from "./types/output";
|
|
|
366
366
|
* ],
|
|
367
367
|
* requestDefinition: {
|
|
368
368
|
* host: "example.org",
|
|
369
|
-
* port: 443,
|
|
369
|
+
* port: "443",
|
|
370
370
|
* callType: "unary",
|
|
371
371
|
* service: "greeter.Greeter",
|
|
372
372
|
* method: "SayHello",
|
|
@@ -438,7 +438,7 @@ import * as outputs from "./types/output";
|
|
|
438
438
|
* ],
|
|
439
439
|
* requestDefinition: {
|
|
440
440
|
* host: "example.org",
|
|
441
|
-
* port: 443,
|
|
441
|
+
* port: "443",
|
|
442
442
|
* callType: "healthcheck",
|
|
443
443
|
* service: "greeter.Greeter",
|
|
444
444
|
* },
|
package/syntheticsTest.js
CHANGED
|
@@ -116,7 +116,7 @@ const utilities = require("./utilities");
|
|
|
116
116
|
* ],
|
|
117
117
|
* requestDefinition: {
|
|
118
118
|
* host: "example.org",
|
|
119
|
-
* port: 443,
|
|
119
|
+
* port: "443",
|
|
120
120
|
* },
|
|
121
121
|
* assertions: [{
|
|
122
122
|
* type: "certificate",
|
|
@@ -144,7 +144,7 @@ const utilities = require("./utilities");
|
|
|
144
144
|
* ],
|
|
145
145
|
* requestDefinition: {
|
|
146
146
|
* host: "example.org",
|
|
147
|
-
* port: 443,
|
|
147
|
+
* port: "443",
|
|
148
148
|
* },
|
|
149
149
|
* assertions: [{
|
|
150
150
|
* type: "responseTime",
|
|
@@ -241,7 +241,7 @@ const utilities = require("./utilities");
|
|
|
241
241
|
* }],
|
|
242
242
|
* requestDefinition: {
|
|
243
243
|
* host: "example.org",
|
|
244
|
-
* port: 443,
|
|
244
|
+
* port: "443",
|
|
245
245
|
* callType: "healthcheck",
|
|
246
246
|
* service: "greeter.Greeter",
|
|
247
247
|
* },
|
|
@@ -256,7 +256,7 @@ const utilities = require("./utilities");
|
|
|
256
256
|
* }],
|
|
257
257
|
* requestDefinition: {
|
|
258
258
|
* host: "example.org",
|
|
259
|
-
* port: 443,
|
|
259
|
+
* port: "443",
|
|
260
260
|
* callType: "unary",
|
|
261
261
|
* service: "greeter.Greeter",
|
|
262
262
|
* method: "SayHello",
|
|
@@ -370,7 +370,7 @@ const utilities = require("./utilities");
|
|
|
370
370
|
* ],
|
|
371
371
|
* requestDefinition: {
|
|
372
372
|
* host: "example.org",
|
|
373
|
-
* port: 443,
|
|
373
|
+
* port: "443",
|
|
374
374
|
* callType: "unary",
|
|
375
375
|
* service: "greeter.Greeter",
|
|
376
376
|
* method: "SayHello",
|
|
@@ -442,7 +442,7 @@ const utilities = require("./utilities");
|
|
|
442
442
|
* ],
|
|
443
443
|
* requestDefinition: {
|
|
444
444
|
* host: "example.org",
|
|
445
|
-
* port: 443,
|
|
445
|
+
* port: "443",
|
|
446
446
|
* callType: "healthcheck",
|
|
447
447
|
* service: "greeter.Greeter",
|
|
448
448
|
* },
|