@pulumi/harness 0.16.7 → 0.16.8
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/autostopping/alert.d.ts +2 -2
- package/autostopping/alert.js +2 -2
- package/autostopping/gcpProxy.d.ts +4 -4
- package/autostopping/gcpProxy.js +4 -4
- package/autostopping/ruleEcs.d.ts +4 -4
- package/autostopping/ruleEcs.js +4 -4
- package/autostopping/ruleRds.d.ts +5 -5
- package/autostopping/ruleRds.js +5 -5
- package/autostopping/ruleScaleGroup.d.ts +12 -12
- package/autostopping/ruleScaleGroup.js +12 -12
- package/autostopping/ruleVm.d.ts +22 -22
- package/autostopping/ruleVm.js +22 -22
- package/chaos/actionTemplate.d.ts +55 -55
- package/chaos/actionTemplate.js +55 -55
- package/chaos/experimentTemplate.d.ts +84 -84
- package/chaos/experimentTemplate.js +84 -84
- package/chaos/faultTemplate.d.ts +124 -124
- package/chaos/faultTemplate.js +124 -124
- package/chaos/imageRegistry.d.ts +6 -6
- package/chaos/imageRegistry.js +6 -6
- package/chaos/securityGovernanceCondition.d.ts +19 -19
- package/chaos/securityGovernanceCondition.js +19 -19
- package/chaos/securityGovernanceConditionV3.d.ts +13 -13
- package/chaos/securityGovernanceConditionV3.js +13 -13
- package/chaos/securityGovernanceRule.d.ts +21 -21
- package/chaos/securityGovernanceRule.js +21 -21
- package/chaos/securityGovernanceRuleV3.d.ts +9 -9
- package/chaos/securityGovernanceRuleV3.js +9 -9
- package/cluster/orchestrator.d.ts +1 -1
- package/cluster/orchestrator.js +1 -1
- package/cluster/orchestratorConfig.d.ts +9 -9
- package/cluster/orchestratorConfig.js +9 -9
- package/encryptedText.d.ts +3 -3
- package/encryptedText.js +3 -3
- package/environment.d.ts +7 -7
- package/environment.js +7 -7
- package/infrastructureDefinition.d.ts +13 -13
- package/infrastructureDefinition.js +13 -13
- package/package.json +2 -2
- package/platform/appDynamicsConnector.d.ts +8 -8
- package/platform/appDynamicsConnector.js +8 -8
- package/platform/artifactoryConnector.d.ts +12 -12
- package/platform/artifactoryConnector.js +12 -12
- package/platform/awsCCConnector.d.ts +4 -4
- package/platform/awsCCConnector.js +4 -4
- package/platform/azureCloudCostConnector.d.ts +12 -12
- package/platform/azureCloudCostConnector.js +12 -12
- package/platform/azureCloudProviderConnector.d.ts +31 -31
- package/platform/azureCloudProviderConnector.js +31 -31
- package/platform/bitbucketConnector.d.ts +27 -27
- package/platform/bitbucketConnector.js +27 -27
- package/platform/connectorCustomhealthsource.d.ts +6 -6
- package/platform/connectorCustomhealthsource.js +6 -6
- package/platform/connectorGcpKms.d.ts +15 -15
- package/platform/connectorGcpKms.js +15 -15
- package/platform/connectorRancher.d.ts +3 -3
- package/platform/connectorRancher.js +3 -3
- package/platform/dbSchema.d.ts +32 -32
- package/platform/dbSchema.js +32 -32
- package/platform/elasticsearchConnector.d.ts +8 -8
- package/platform/elasticsearchConnector.js +8 -8
- package/platform/environment.d.ts +11 -11
- package/platform/environment.js +11 -11
- package/platform/environmentClustersMapping.d.ts +6 -6
- package/platform/environmentClustersMapping.js +6 -6
- package/platform/filters.d.ts +4 -4
- package/platform/filters.js +4 -4
- package/platform/gcpCloudCostConnector.d.ts +4 -4
- package/platform/gcpCloudCostConnector.js +4 -4
- package/platform/gcpSecretManagerConnector.d.ts +8 -8
- package/platform/gcpSecretManagerConnector.js +8 -8
- package/platform/getEnvironmentClustersMapping.d.ts +12 -12
- package/platform/getEnvironmentClustersMapping.js +12 -12
- package/platform/getPolicySet.d.ts +8 -8
- package/platform/getPolicySet.js +8 -8
- package/platform/gitOpsAgent.d.ts +4 -4
- package/platform/gitOpsAgent.js +4 -4
- package/platform/gitOpsApplications.d.ts +9 -9
- package/platform/gitOpsApplications.js +9 -9
- package/platform/gitOpsGnupg.d.ts +3 -3
- package/platform/gitOpsGnupg.js +3 -3
- package/platform/gitOpsRepoCert.d.ts +1 -1
- package/platform/gitOpsRepoCert.js +1 -1
- package/platform/gitOpsRepoCred.d.ts +5 -5
- package/platform/gitOpsRepoCred.js +5 -5
- package/platform/gitopsAppProjectMapping.d.ts +12 -0
- package/platform/gitopsAppProjectMapping.d.ts.map +1 -1
- package/platform/gitopsAppProjectMapping.js +2 -0
- package/platform/gitopsAppProjectMapping.js.map +1 -1
- package/platform/gitopsApplicationset.d.ts +59 -59
- package/platform/gitopsApplicationset.js +59 -59
- package/platform/harLifecycleRule.d.ts +20 -20
- package/platform/harLifecycleRule.js +20 -20
- package/platform/harRegistry.d.ts +69 -69
- package/platform/harRegistry.js +69 -69
- package/platform/iacmAnsibleInventory.d.ts +11 -11
- package/platform/iacmAnsibleInventory.js +11 -11
- package/platform/iacmAnsiblePlaybook.d.ts +10 -10
- package/platform/iacmAnsiblePlaybook.js +10 -10
- package/platform/idpScorecard.d.ts +14 -14
- package/platform/idpScorecard.js +14 -14
- package/platform/idpScorecardCheck.d.ts +9 -9
- package/platform/idpScorecardCheck.js +9 -9
- package/platform/infraVariableSet.d.ts +21 -21
- package/platform/infraVariableSet.js +21 -21
- package/platform/infrastructure.d.ts +7 -7
- package/platform/infrastructure.js +7 -7
- package/platform/kubernetesConnector.d.ts +17 -17
- package/platform/kubernetesConnector.js +17 -17
- package/platform/monitoredService.d.ts +123 -123
- package/platform/monitoredService.js +123 -123
- package/platform/notificationRule.d.ts +10 -10
- package/platform/notificationRule.js +10 -10
- package/platform/pipeline.d.ts +9 -9
- package/platform/pipeline.js +9 -9
- package/platform/pipelineCentralNotificationRule.d.ts +22 -22
- package/platform/pipelineCentralNotificationRule.js +22 -22
- package/platform/pipelineFilters.d.ts +43 -43
- package/platform/pipelineFilters.js +43 -43
- package/platform/prometheusConnector.d.ts +6 -6
- package/platform/prometheusConnector.js +6 -6
- package/platform/repo.d.ts +4 -4
- package/platform/repo.js +4 -4
- package/platform/resourceGroup.d.ts +23 -23
- package/platform/resourceGroup.js +23 -23
- package/platform/secretFile.d.ts +10 -10
- package/platform/secretFile.js +10 -10
- package/platform/secretText.d.ts +13 -13
- package/platform/secretText.js +13 -13
- package/platform/secretWinrm.d.ts +89 -89
- package/platform/secretWinrm.js +89 -89
- package/platform/service.d.ts +10 -10
- package/platform/service.js +10 -10
- package/platform/slo.d.ts +17 -17
- package/platform/slo.js +17 -17
- package/platform/splunkConnector.d.ts +11 -11
- package/platform/splunkConnector.js +11 -11
- package/platform/templateFilters.d.ts +4 -4
- package/platform/templateFilters.js +4 -4
- package/platform/usergroup.d.ts +21 -21
- package/platform/usergroup.js +21 -21
- package/platform/variables.d.ts +4 -4
- package/platform/variables.js +4 -4
- package/platform/workspace.d.ts +32 -32
- package/platform/workspace.js +32 -32
- package/platformCcmFilters.d.ts +4 -4
- package/platformCcmFilters.js +4 -4
- package/service/discoveryAgent.d.ts +62 -62
- package/service/discoveryAgent.js +62 -62
- package/service/discoverySetting.d.ts +2 -2
- package/service/discoverySetting.js +2 -2
- package/service/kubernetes.d.ts +4 -4
- package/service/kubernetes.js +4 -4
- package/sshCredential.d.ts +3 -3
- package/sshCredential.js +3 -3
- package/userGroup.d.ts +6 -6
- package/userGroup.js +6 -6
|
@@ -12,58 +12,7 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* //Sample template for Elastic Search Log Health Source
|
|
14
14
|
* const example = new harness.platform.MonitoredService("example", {
|
|
15
|
-
* orgId: "org_id",
|
|
16
|
-
* projectId: "project_id",
|
|
17
|
-
* identifier: "identifier",
|
|
18
15
|
* request: {
|
|
19
|
-
* name: "name",
|
|
20
|
-
* type: "Application",
|
|
21
|
-
* description: "description",
|
|
22
|
-
* serviceRef: "service_ref",
|
|
23
|
-
* environmentRef: "environment_ref",
|
|
24
|
-
* tags: [
|
|
25
|
-
* "foo:bar",
|
|
26
|
-
* "bar:foo",
|
|
27
|
-
* ],
|
|
28
|
-
* healthSources: [{
|
|
29
|
-
* name: "name",
|
|
30
|
-
* identifier: "identifier",
|
|
31
|
-
* type: "ElasticSearch",
|
|
32
|
-
* version: "v2",
|
|
33
|
-
* spec: JSON.stringify({
|
|
34
|
-
* connectorRef: "connectorRef",
|
|
35
|
-
* queryDefinitions: [
|
|
36
|
-
* {
|
|
37
|
-
* name: "name",
|
|
38
|
-
* identifier: "infraquery",
|
|
39
|
-
* query: "query",
|
|
40
|
-
* index: "index",
|
|
41
|
-
* groupName: "Logs_Group",
|
|
42
|
-
* queryParams: {
|
|
43
|
-
* index: "index",
|
|
44
|
-
* serviceInstanceField: "serviceInstanceIdentifier",
|
|
45
|
-
* timeStampIdentifier: "timeStampIdentifier",
|
|
46
|
-
* timeStampFormat: "timeStampFormat",
|
|
47
|
-
* messageIdentifier: "messageIdentifier",
|
|
48
|
-
* },
|
|
49
|
-
* },
|
|
50
|
-
* {
|
|
51
|
-
* name: "name2",
|
|
52
|
-
* identifier: "errorquery",
|
|
53
|
-
* query: "query2",
|
|
54
|
-
* index: "index2",
|
|
55
|
-
* groupName: "Logs_Group",
|
|
56
|
-
* queryParams: {
|
|
57
|
-
* index: "index",
|
|
58
|
-
* serviceInstanceField: "serviceInstanceIdentifier",
|
|
59
|
-
* timeStampIdentifier: "timeStampIdentifier",
|
|
60
|
-
* timeStampFormat: "timeStampFormat",
|
|
61
|
-
* messageIdentifier: "messageIdentifier",
|
|
62
|
-
* },
|
|
63
|
-
* },
|
|
64
|
-
* ],
|
|
65
|
-
* }),
|
|
66
|
-
* }],
|
|
67
16
|
* changeSources: [
|
|
68
17
|
* {
|
|
69
18
|
* name: "BAC",
|
|
@@ -121,6 +70,45 @@ import * as outputs from "../types/output";
|
|
|
121
70
|
* }),
|
|
122
71
|
* },
|
|
123
72
|
* ],
|
|
73
|
+
* healthSources: [{
|
|
74
|
+
* name: "name",
|
|
75
|
+
* identifier: "identifier",
|
|
76
|
+
* type: "ElasticSearch",
|
|
77
|
+
* version: "v2",
|
|
78
|
+
* spec: JSON.stringify({
|
|
79
|
+
* connectorRef: "connectorRef",
|
|
80
|
+
* queryDefinitions: [
|
|
81
|
+
* {
|
|
82
|
+
* name: "name",
|
|
83
|
+
* identifier: "infraquery",
|
|
84
|
+
* query: "query",
|
|
85
|
+
* index: "index",
|
|
86
|
+
* groupName: "Logs_Group",
|
|
87
|
+
* queryParams: {
|
|
88
|
+
* index: "index",
|
|
89
|
+
* serviceInstanceField: "serviceInstanceIdentifier",
|
|
90
|
+
* timeStampIdentifier: "timeStampIdentifier",
|
|
91
|
+
* timeStampFormat: "timeStampFormat",
|
|
92
|
+
* messageIdentifier: "messageIdentifier",
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* {
|
|
96
|
+
* name: "name2",
|
|
97
|
+
* identifier: "errorquery",
|
|
98
|
+
* query: "query2",
|
|
99
|
+
* index: "index2",
|
|
100
|
+
* groupName: "Logs_Group",
|
|
101
|
+
* queryParams: {
|
|
102
|
+
* index: "index",
|
|
103
|
+
* serviceInstanceField: "serviceInstanceIdentifier",
|
|
104
|
+
* timeStampIdentifier: "timeStampIdentifier",
|
|
105
|
+
* timeStampFormat: "timeStampFormat",
|
|
106
|
+
* messageIdentifier: "messageIdentifier",
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* }),
|
|
111
|
+
* }],
|
|
124
112
|
* notificationRuleRefs: [
|
|
125
113
|
* {
|
|
126
114
|
* notificationRuleRef: "notification_rule_ref",
|
|
@@ -131,14 +119,6 @@ import * as outputs from "../types/output";
|
|
|
131
119
|
* enabled: false,
|
|
132
120
|
* },
|
|
133
121
|
* ],
|
|
134
|
-
* },
|
|
135
|
-
* });
|
|
136
|
-
* //Sample template for Sumologic Metrics Health Source
|
|
137
|
-
* const example1 = new harness.platform.MonitoredService("example1", {
|
|
138
|
-
* orgId: "org_id",
|
|
139
|
-
* projectId: "project_id",
|
|
140
|
-
* identifier: "identifier",
|
|
141
|
-
* request: {
|
|
142
122
|
* name: "name",
|
|
143
123
|
* type: "Application",
|
|
144
124
|
* description: "description",
|
|
@@ -148,6 +128,14 @@ import * as outputs from "../types/output";
|
|
|
148
128
|
* "foo:bar",
|
|
149
129
|
* "bar:foo",
|
|
150
130
|
* ],
|
|
131
|
+
* },
|
|
132
|
+
* orgId: "org_id",
|
|
133
|
+
* projectId: "project_id",
|
|
134
|
+
* identifier: "identifier",
|
|
135
|
+
* });
|
|
136
|
+
* //Sample template for Sumologic Metrics Health Source
|
|
137
|
+
* const example1 = new harness.platform.MonitoredService("example1", {
|
|
138
|
+
* request: {
|
|
151
139
|
* healthSources: [{
|
|
152
140
|
* name: "sumologicmetrics",
|
|
153
141
|
* identifier: "sumo_metric_identifier",
|
|
@@ -224,14 +212,6 @@ import * as outputs from "../types/output";
|
|
|
224
212
|
* ],
|
|
225
213
|
* }),
|
|
226
214
|
* }],
|
|
227
|
-
* },
|
|
228
|
-
* });
|
|
229
|
-
* //Sample template for Sumologic Log Health Source
|
|
230
|
-
* const example2 = new harness.platform.MonitoredService("example2", {
|
|
231
|
-
* orgId: "org_id",
|
|
232
|
-
* projectId: "project_id",
|
|
233
|
-
* identifier: "identifier",
|
|
234
|
-
* request: {
|
|
235
215
|
* name: "name",
|
|
236
216
|
* type: "Application",
|
|
237
217
|
* description: "description",
|
|
@@ -241,6 +221,14 @@ import * as outputs from "../types/output";
|
|
|
241
221
|
* "foo:bar",
|
|
242
222
|
* "bar:foo",
|
|
243
223
|
* ],
|
|
224
|
+
* },
|
|
225
|
+
* orgId: "org_id",
|
|
226
|
+
* projectId: "project_id",
|
|
227
|
+
* identifier: "identifier",
|
|
228
|
+
* });
|
|
229
|
+
* //Sample template for Sumologic Log Health Source
|
|
230
|
+
* const example2 = new harness.platform.MonitoredService("example2", {
|
|
231
|
+
* request: {
|
|
244
232
|
* healthSources: [{
|
|
245
233
|
* name: "sumologic",
|
|
246
234
|
* identifier: "sumo_metric_identifier",
|
|
@@ -270,14 +258,6 @@ import * as outputs from "../types/output";
|
|
|
270
258
|
* ],
|
|
271
259
|
* }),
|
|
272
260
|
* }],
|
|
273
|
-
* },
|
|
274
|
-
* });
|
|
275
|
-
* //Sample template for Splunk Signal FX Health Source
|
|
276
|
-
* const example3 = new harness.platform.MonitoredService("example3", {
|
|
277
|
-
* orgId: "org_id",
|
|
278
|
-
* projectId: "project_id",
|
|
279
|
-
* identifier: "identifier",
|
|
280
|
-
* request: {
|
|
281
261
|
* name: "name",
|
|
282
262
|
* type: "Application",
|
|
283
263
|
* description: "description",
|
|
@@ -287,6 +267,14 @@ import * as outputs from "../types/output";
|
|
|
287
267
|
* "foo:bar",
|
|
288
268
|
* "bar:foo",
|
|
289
269
|
* ],
|
|
270
|
+
* },
|
|
271
|
+
* orgId: "org_id",
|
|
272
|
+
* projectId: "project_id",
|
|
273
|
+
* identifier: "identifier",
|
|
274
|
+
* });
|
|
275
|
+
* //Sample template for Splunk Signal FX Health Source
|
|
276
|
+
* const example3 = new harness.platform.MonitoredService("example3", {
|
|
277
|
+
* request: {
|
|
290
278
|
* healthSources: [{
|
|
291
279
|
* name: "signalfxmetrics",
|
|
292
280
|
* identifier: "signalfxmetrics",
|
|
@@ -360,14 +348,6 @@ import * as outputs from "../types/output";
|
|
|
360
348
|
* ],
|
|
361
349
|
* }),
|
|
362
350
|
* }],
|
|
363
|
-
* },
|
|
364
|
-
* });
|
|
365
|
-
* //Sample template for Grafana Loki Log Health Source
|
|
366
|
-
* const example4 = new harness.platform.MonitoredService("example4", {
|
|
367
|
-
* orgId: "org_id",
|
|
368
|
-
* projectId: "project_id",
|
|
369
|
-
* identifier: "identifier",
|
|
370
|
-
* request: {
|
|
371
351
|
* name: "name",
|
|
372
352
|
* type: "Application",
|
|
373
353
|
* description: "description",
|
|
@@ -377,6 +357,14 @@ import * as outputs from "../types/output";
|
|
|
377
357
|
* "foo:bar",
|
|
378
358
|
* "bar:foo",
|
|
379
359
|
* ],
|
|
360
|
+
* },
|
|
361
|
+
* orgId: "org_id",
|
|
362
|
+
* projectId: "project_id",
|
|
363
|
+
* identifier: "identifier",
|
|
364
|
+
* });
|
|
365
|
+
* //Sample template for Grafana Loki Log Health Source
|
|
366
|
+
* const example4 = new harness.platform.MonitoredService("example4", {
|
|
367
|
+
* request: {
|
|
380
368
|
* healthSources: [{
|
|
381
369
|
* name: "Test",
|
|
382
370
|
* identifier: "Test",
|
|
@@ -409,14 +397,6 @@ import * as outputs from "../types/output";
|
|
|
409
397
|
* ],
|
|
410
398
|
* }),
|
|
411
399
|
* }],
|
|
412
|
-
* },
|
|
413
|
-
* });
|
|
414
|
-
* //Sample template for Azure Metrics Health Source
|
|
415
|
-
* const example5 = new harness.platform.MonitoredService("example5", {
|
|
416
|
-
* orgId: "org_id",
|
|
417
|
-
* projectId: "project_id",
|
|
418
|
-
* identifier: "identifier",
|
|
419
|
-
* request: {
|
|
420
400
|
* name: "name",
|
|
421
401
|
* type: "Application",
|
|
422
402
|
* description: "description",
|
|
@@ -426,6 +406,14 @@ import * as outputs from "../types/output";
|
|
|
426
406
|
* "foo:bar",
|
|
427
407
|
* "bar:foo",
|
|
428
408
|
* ],
|
|
409
|
+
* },
|
|
410
|
+
* orgId: "org_id",
|
|
411
|
+
* projectId: "project_id",
|
|
412
|
+
* identifier: "identifier",
|
|
413
|
+
* });
|
|
414
|
+
* //Sample template for Azure Metrics Health Source
|
|
415
|
+
* const example5 = new harness.platform.MonitoredService("example5", {
|
|
416
|
+
* request: {
|
|
429
417
|
* healthSources: [{
|
|
430
418
|
* name: "azure metrics verify step",
|
|
431
419
|
* identifier: "azure_metrics_verify_step",
|
|
@@ -509,14 +497,6 @@ import * as outputs from "../types/output";
|
|
|
509
497
|
* ],
|
|
510
498
|
* }),
|
|
511
499
|
* }],
|
|
512
|
-
* },
|
|
513
|
-
* });
|
|
514
|
-
* //Sample template for Azure Log Health Source
|
|
515
|
-
* const example6 = new harness.platform.MonitoredService("example6", {
|
|
516
|
-
* orgId: "org_id",
|
|
517
|
-
* projectId: "project_id",
|
|
518
|
-
* identifier: "identifier",
|
|
519
|
-
* request: {
|
|
520
500
|
* name: "name",
|
|
521
501
|
* type: "Application",
|
|
522
502
|
* description: "description",
|
|
@@ -526,6 +506,14 @@ import * as outputs from "../types/output";
|
|
|
526
506
|
* "foo:bar",
|
|
527
507
|
* "bar:foo",
|
|
528
508
|
* ],
|
|
509
|
+
* },
|
|
510
|
+
* orgId: "org_id",
|
|
511
|
+
* projectId: "project_id",
|
|
512
|
+
* identifier: "identifier",
|
|
513
|
+
* });
|
|
514
|
+
* //Sample template for Azure Log Health Source
|
|
515
|
+
* const example6 = new harness.platform.MonitoredService("example6", {
|
|
516
|
+
* request: {
|
|
529
517
|
* healthSources: [{
|
|
530
518
|
* name: "Demo azure",
|
|
531
519
|
* identifier: "Demo_azure",
|
|
@@ -549,14 +537,6 @@ import * as outputs from "../types/output";
|
|
|
549
537
|
* }],
|
|
550
538
|
* }),
|
|
551
539
|
* }],
|
|
552
|
-
* },
|
|
553
|
-
* });
|
|
554
|
-
* //Sample template for Prometheus Metrics Health Source
|
|
555
|
-
* const example7 = new harness.platform.MonitoredService("example7", {
|
|
556
|
-
* orgId: "org_id",
|
|
557
|
-
* projectId: "project_id",
|
|
558
|
-
* identifier: "identifier",
|
|
559
|
-
* request: {
|
|
560
540
|
* name: "name",
|
|
561
541
|
* type: "Application",
|
|
562
542
|
* description: "description",
|
|
@@ -566,6 +546,14 @@ import * as outputs from "../types/output";
|
|
|
566
546
|
* "foo:bar",
|
|
567
547
|
* "bar:foo",
|
|
568
548
|
* ],
|
|
549
|
+
* },
|
|
550
|
+
* orgId: "org_id",
|
|
551
|
+
* projectId: "project_id",
|
|
552
|
+
* identifier: "identifier",
|
|
553
|
+
* });
|
|
554
|
+
* //Sample template for Prometheus Metrics Health Source
|
|
555
|
+
* const example7 = new harness.platform.MonitoredService("example7", {
|
|
556
|
+
* request: {
|
|
569
557
|
* healthSources: [{
|
|
570
558
|
* name: "prometheus metrics verify step",
|
|
571
559
|
* identifier: "prometheus_metrics",
|
|
@@ -630,14 +618,6 @@ import * as outputs from "../types/output";
|
|
|
630
618
|
* }],
|
|
631
619
|
* }),
|
|
632
620
|
* }],
|
|
633
|
-
* },
|
|
634
|
-
* });
|
|
635
|
-
* //Sample template for Datadog Metrics Health Source
|
|
636
|
-
* const example8 = new harness.platform.MonitoredService("example8", {
|
|
637
|
-
* orgId: "org_id",
|
|
638
|
-
* projectId: "project_id",
|
|
639
|
-
* identifier: "identifier",
|
|
640
|
-
* request: {
|
|
641
621
|
* name: "name",
|
|
642
622
|
* type: "Application",
|
|
643
623
|
* description: "description",
|
|
@@ -647,6 +627,14 @@ import * as outputs from "../types/output";
|
|
|
647
627
|
* "foo:bar",
|
|
648
628
|
* "bar:foo",
|
|
649
629
|
* ],
|
|
630
|
+
* },
|
|
631
|
+
* orgId: "org_id",
|
|
632
|
+
* projectId: "project_id",
|
|
633
|
+
* identifier: "identifier",
|
|
634
|
+
* });
|
|
635
|
+
* //Sample template for Datadog Metrics Health Source
|
|
636
|
+
* const example8 = new harness.platform.MonitoredService("example8", {
|
|
637
|
+
* request: {
|
|
650
638
|
* healthSources: [{
|
|
651
639
|
* name: "ddm",
|
|
652
640
|
* identifier: "ddm",
|
|
@@ -744,14 +732,6 @@ import * as outputs from "../types/output";
|
|
|
744
732
|
* }],
|
|
745
733
|
* }),
|
|
746
734
|
* }],
|
|
747
|
-
* },
|
|
748
|
-
* });
|
|
749
|
-
* //Sample template for New Relic Metrics Health Source
|
|
750
|
-
* const example9 = new harness.platform.MonitoredService("example9", {
|
|
751
|
-
* orgId: "org_id",
|
|
752
|
-
* projectId: "project_id",
|
|
753
|
-
* identifier: "identifier",
|
|
754
|
-
* request: {
|
|
755
735
|
* name: "name",
|
|
756
736
|
* type: "Application",
|
|
757
737
|
* description: "description",
|
|
@@ -761,6 +741,14 @@ import * as outputs from "../types/output";
|
|
|
761
741
|
* "foo:bar",
|
|
762
742
|
* "bar:foo",
|
|
763
743
|
* ],
|
|
744
|
+
* },
|
|
745
|
+
* orgId: "org_id",
|
|
746
|
+
* projectId: "project_id",
|
|
747
|
+
* identifier: "identifier",
|
|
748
|
+
* });
|
|
749
|
+
* //Sample template for New Relic Metrics Health Source
|
|
750
|
+
* const example9 = new harness.platform.MonitoredService("example9", {
|
|
751
|
+
* request: {
|
|
764
752
|
* healthSources: [{
|
|
765
753
|
* name: "name",
|
|
766
754
|
* identifier: "identifier",
|
|
@@ -833,7 +821,19 @@ import * as outputs from "../types/output";
|
|
|
833
821
|
* }],
|
|
834
822
|
* }),
|
|
835
823
|
* }],
|
|
824
|
+
* name: "name",
|
|
825
|
+
* type: "Application",
|
|
826
|
+
* description: "description",
|
|
827
|
+
* serviceRef: "service_ref",
|
|
828
|
+
* environmentRef: "environment_ref",
|
|
829
|
+
* tags: [
|
|
830
|
+
* "foo:bar",
|
|
831
|
+
* "bar:foo",
|
|
832
|
+
* ],
|
|
836
833
|
* },
|
|
834
|
+
* orgId: "org_id",
|
|
835
|
+
* projectId: "project_id",
|
|
836
|
+
* identifier: "identifier",
|
|
837
837
|
* });
|
|
838
838
|
* ```
|
|
839
839
|
*
|