@pulumi/datadog 5.9.0-alpha.1784875250 → 5.9.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/actionConnection.d.ts +264 -0
- package/actionConnection.d.ts.map +1 -1
- package/actionConnection.js +44 -0
- package/actionConnection.js.map +1 -1
- package/agentlessScanningAzureScanOptions.d.ts +13 -0
- package/agentlessScanningAzureScanOptions.d.ts.map +1 -1
- package/agentlessScanningAzureScanOptions.js +6 -0
- package/agentlessScanningAzureScanOptions.js.map +1 -1
- package/agentlessScanningGcpScanOptions.d.ts +13 -0
- package/agentlessScanningGcpScanOptions.d.ts.map +1 -1
- package/agentlessScanningGcpScanOptions.js +6 -0
- package/agentlessScanningGcpScanOptions.js.map +1 -1
- package/aws/integrationAccount.d.ts +10 -0
- package/aws/integrationAccount.d.ts.map +1 -1
- package/aws/integrationAccount.js +10 -0
- package/aws/integrationAccount.js.map +1 -1
- package/costCustomForecast.d.ts +154 -0
- package/costCustomForecast.d.ts.map +1 -0
- package/costCustomForecast.js +144 -0
- package/costCustomForecast.js.map +1 -0
- package/getActionConnection.d.ts +264 -0
- package/getActionConnection.d.ts.map +1 -1
- package/getActionConnection.js +44 -0
- package/getActionConnection.js.map +1 -1
- package/getCostCustomForecast.d.ts +93 -0
- package/getCostCustomForecast.d.ts.map +1 -0
- package/getCostCustomForecast.js +75 -0
- package/getCostCustomForecast.js.map +1 -0
- package/getCurrentUser.d.ts +67 -0
- package/getCurrentUser.d.ts.map +1 -0
- package/getCurrentUser.js +67 -0
- package/getCurrentUser.js.map +1 -0
- package/getIncidentType.d.ts +5 -0
- package/getIncidentType.d.ts.map +1 -1
- package/getIncidentType.js.map +1 -1
- package/getSoftwareCatalog.d.ts +12 -0
- package/getSoftwareCatalog.d.ts.map +1 -1
- package/getSoftwareCatalog.js +2 -0
- package/getSoftwareCatalog.js.map +1 -1
- package/incidentType.d.ts +30 -0
- package/incidentType.d.ts.map +1 -1
- package/incidentType.js +18 -0
- package/incidentType.js.map +1 -1
- package/incidentUserDefinedField.d.ts +242 -0
- package/incidentUserDefinedField.d.ts.map +1 -0
- package/incidentUserDefinedField.js +152 -0
- package/incidentUserDefinedField.js.map +1 -0
- package/incidentUserDefinedRole.d.ts +134 -0
- package/incidentUserDefinedRole.d.ts.map +1 -0
- package/incidentUserDefinedRole.js +119 -0
- package/incidentUserDefinedRole.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.d.ts.map +1 -1
- package/index.js +27 -6
- package/index.js.map +1 -1
- package/onCallTeamRoutingRules.d.ts +4 -4
- package/onCallTeamRoutingRules.js +4 -4
- package/package.json +2 -2
- package/restrictionPolicy.d.ts +6 -2
- package/restrictionPolicy.d.ts.map +1 -1
- package/restrictionPolicy.js +6 -2
- package/restrictionPolicy.js.map +1 -1
- package/securityMonitoringCriticalAsset.d.ts +2 -1
- package/securityMonitoringCriticalAsset.d.ts.map +1 -1
- package/securityMonitoringCriticalAsset.js +2 -1
- package/securityMonitoringCriticalAsset.js.map +1 -1
- package/types/input.d.ts +1324 -12
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1010 -12
- package/types/output.d.ts.map +1 -1
package/getActionConnection.js
CHANGED
|
@@ -45,9 +45,31 @@ const utilities = __importStar(require("./utilities"));
|
|
|
45
45
|
function getActionConnection(args, opts) {
|
|
46
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
47
|
return pulumi.runtime.invoke("datadog:index/getActionConnection:getActionConnection", {
|
|
48
|
+
"anthropic": args.anthropic,
|
|
49
|
+
"asana": args.asana,
|
|
48
50
|
"aws": args.aws,
|
|
51
|
+
"azure": args.azure,
|
|
52
|
+
"circleCi": args.circleCi,
|
|
53
|
+
"clickup": args.clickup,
|
|
54
|
+
"cloudflare": args.cloudflare,
|
|
55
|
+
"configCat": args.configCat,
|
|
56
|
+
"datadog": args.datadog,
|
|
57
|
+
"fastly": args.fastly,
|
|
58
|
+
"freshservice": args.freshservice,
|
|
59
|
+
"gcp": args.gcp,
|
|
60
|
+
"gemini": args.gemini,
|
|
61
|
+
"gitlab": args.gitlab,
|
|
62
|
+
"greyNoise": args.greyNoise,
|
|
49
63
|
"http": args.http,
|
|
50
64
|
"id": args.id,
|
|
65
|
+
"launchDarkly": args.launchDarkly,
|
|
66
|
+
"notion": args.notion,
|
|
67
|
+
"okta": args.okta,
|
|
68
|
+
"openai": args.openai,
|
|
69
|
+
"serviceNow": args.serviceNow,
|
|
70
|
+
"split": args.split,
|
|
71
|
+
"statsig": args.statsig,
|
|
72
|
+
"virusTotal": args.virusTotal,
|
|
51
73
|
}, opts);
|
|
52
74
|
}
|
|
53
75
|
exports.getActionConnection = getActionConnection;
|
|
@@ -68,9 +90,31 @@ exports.getActionConnection = getActionConnection;
|
|
|
68
90
|
function getActionConnectionOutput(args, opts) {
|
|
69
91
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
70
92
|
return pulumi.runtime.invokeOutput("datadog:index/getActionConnection:getActionConnection", {
|
|
93
|
+
"anthropic": args.anthropic,
|
|
94
|
+
"asana": args.asana,
|
|
71
95
|
"aws": args.aws,
|
|
96
|
+
"azure": args.azure,
|
|
97
|
+
"circleCi": args.circleCi,
|
|
98
|
+
"clickup": args.clickup,
|
|
99
|
+
"cloudflare": args.cloudflare,
|
|
100
|
+
"configCat": args.configCat,
|
|
101
|
+
"datadog": args.datadog,
|
|
102
|
+
"fastly": args.fastly,
|
|
103
|
+
"freshservice": args.freshservice,
|
|
104
|
+
"gcp": args.gcp,
|
|
105
|
+
"gemini": args.gemini,
|
|
106
|
+
"gitlab": args.gitlab,
|
|
107
|
+
"greyNoise": args.greyNoise,
|
|
72
108
|
"http": args.http,
|
|
73
109
|
"id": args.id,
|
|
110
|
+
"launchDarkly": args.launchDarkly,
|
|
111
|
+
"notion": args.notion,
|
|
112
|
+
"okta": args.okta,
|
|
113
|
+
"openai": args.openai,
|
|
114
|
+
"serviceNow": args.serviceNow,
|
|
115
|
+
"split": args.split,
|
|
116
|
+
"statsig": args.statsig,
|
|
117
|
+
"virusTotal": args.virusTotal,
|
|
74
118
|
}, opts);
|
|
75
119
|
}
|
|
76
120
|
exports.getActionConnectionOutput = getActionConnectionOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getActionConnection.js","sourceRoot":"","sources":["../getActionConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,IAAI,EAAE,IAAI,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"getActionConnection.js","sourceRoot":"","sources":["../getActionConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,E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;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA7BD,8DA6BC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to retrieve the custom forecast for an existing Datadog cost budget.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* const example = datadog.getCostCustomForecast({
|
|
14
|
+
* budgetUid: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getCostCustomForecast(args: GetCostCustomForecastArgs, opts?: pulumi.InvokeOptions): Promise<GetCostCustomForecastResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getCostCustomForecast.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCostCustomForecastArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The UUID of the budget that this custom forecast belongs to.
|
|
25
|
+
*/
|
|
26
|
+
budgetUid: string;
|
|
27
|
+
/**
|
|
28
|
+
* Monthly custom forecast entries.
|
|
29
|
+
*/
|
|
30
|
+
entries?: inputs.GetCostCustomForecastEntry[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getCostCustomForecast.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetCostCustomForecastResult {
|
|
36
|
+
/**
|
|
37
|
+
* The UUID of the budget that this custom forecast belongs to.
|
|
38
|
+
*/
|
|
39
|
+
readonly budgetUid: string;
|
|
40
|
+
/**
|
|
41
|
+
* Timestamp the custom forecast was created, in Unix milliseconds.
|
|
42
|
+
*/
|
|
43
|
+
readonly createdAt: number;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the user that created the custom forecast.
|
|
46
|
+
*/
|
|
47
|
+
readonly createdBy: string;
|
|
48
|
+
/**
|
|
49
|
+
* Monthly custom forecast entries.
|
|
50
|
+
*/
|
|
51
|
+
readonly entries?: outputs.GetCostCustomForecastEntry[];
|
|
52
|
+
/**
|
|
53
|
+
* The unique identifier of the custom forecast set.
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
/**
|
|
57
|
+
* Timestamp the custom forecast was last updated, in Unix milliseconds.
|
|
58
|
+
*/
|
|
59
|
+
readonly updatedAt: number;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the user that last updated the custom forecast.
|
|
62
|
+
*/
|
|
63
|
+
readonly updatedBy: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Use this data source to retrieve the custom forecast for an existing Datadog cost budget.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as datadog from "@pulumi/datadog";
|
|
73
|
+
*
|
|
74
|
+
* const example = datadog.getCostCustomForecast({
|
|
75
|
+
* budgetUid: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare function getCostCustomForecastOutput(args: GetCostCustomForecastOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCostCustomForecastResult>;
|
|
80
|
+
/**
|
|
81
|
+
* A collection of arguments for invoking getCostCustomForecast.
|
|
82
|
+
*/
|
|
83
|
+
export interface GetCostCustomForecastOutputArgs {
|
|
84
|
+
/**
|
|
85
|
+
* The UUID of the budget that this custom forecast belongs to.
|
|
86
|
+
*/
|
|
87
|
+
budgetUid: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Monthly custom forecast entries.
|
|
90
|
+
*/
|
|
91
|
+
entries?: pulumi.Input<pulumi.Input<inputs.GetCostCustomForecastEntryArgs>[] | undefined>;
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=getCostCustomForecast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCostCustomForecast.d.ts","sourceRoot":"","sources":["../getCostCustomForecast.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yB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
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getCostCustomForecastOutput = exports.getCostCustomForecast = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to retrieve the custom forecast for an existing Datadog cost budget.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as datadog from "@pulumi/datadog";
|
|
39
|
+
*
|
|
40
|
+
* const example = datadog.getCostCustomForecast({
|
|
41
|
+
* budgetUid: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getCostCustomForecast(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invoke("datadog:index/getCostCustomForecast:getCostCustomForecast", {
|
|
48
|
+
"budgetUid": args.budgetUid,
|
|
49
|
+
"entries": args.entries,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getCostCustomForecast = getCostCustomForecast;
|
|
53
|
+
/**
|
|
54
|
+
* Use this data source to retrieve the custom forecast for an existing Datadog cost budget.
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as datadog from "@pulumi/datadog";
|
|
61
|
+
*
|
|
62
|
+
* const example = datadog.getCostCustomForecast({
|
|
63
|
+
* budgetUid: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
function getCostCustomForecastOutput(args, opts) {
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
69
|
+
return pulumi.runtime.invokeOutput("datadog:index/getCostCustomForecast:getCostCustomForecast", {
|
|
70
|
+
"budgetUid": args.budgetUid,
|
|
71
|
+
"entries": args.entries,
|
|
72
|
+
}, opts);
|
|
73
|
+
}
|
|
74
|
+
exports.getCostCustomForecastOutput = getCostCustomForecastOutput;
|
|
75
|
+
//# sourceMappingURL=getCostCustomForecast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCostCustomForecast.js","sourceRoot":"","sources":["../getCostCustomForecast.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAiDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2DAA2D,EAAE;QAC5F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Retrieve information about the user associated with the authentication context used by the Datadog provider. This data source is also useful for retrieving organization metadata.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* const me = datadog.getCurrentUser({});
|
|
12
|
+
* const greeting = me.then(me => `Hello ${me.name}, your org id is ${me.orgId}`);
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getCurrentUser(opts?: pulumi.InvokeOptions): Promise<GetCurrentUserResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getCurrentUser.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCurrentUserResult {
|
|
20
|
+
/**
|
|
21
|
+
* Email of the user.
|
|
22
|
+
*/
|
|
23
|
+
readonly email: string;
|
|
24
|
+
/**
|
|
25
|
+
* The user's handle.
|
|
26
|
+
*/
|
|
27
|
+
readonly handle: string;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of this resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
/**
|
|
33
|
+
* Name of the user.
|
|
34
|
+
*/
|
|
35
|
+
readonly name: string;
|
|
36
|
+
/**
|
|
37
|
+
* The UUID of the user's organization.
|
|
38
|
+
*/
|
|
39
|
+
readonly orgId: string;
|
|
40
|
+
/**
|
|
41
|
+
* Name of the user's organization.
|
|
42
|
+
*/
|
|
43
|
+
readonly orgName: string;
|
|
44
|
+
/**
|
|
45
|
+
* The publicId of the user's organization.
|
|
46
|
+
*/
|
|
47
|
+
readonly orgPublicId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Indicates whether the user is a service account.
|
|
50
|
+
*/
|
|
51
|
+
readonly serviceAccount: boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Retrieve information about the user associated with the authentication context used by the Datadog provider. This data source is also useful for retrieving organization metadata.
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as datadog from "@pulumi/datadog";
|
|
61
|
+
*
|
|
62
|
+
* const me = datadog.getCurrentUser({});
|
|
63
|
+
* const greeting = me.then(me => `Hello ${me.name}, your org id is ${me.orgId}`);
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare function getCurrentUserOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCurrentUserResult>;
|
|
67
|
+
//# sourceMappingURL=getCurrentUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCurrentUser.d.ts","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAIzF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;CACpC;AACD;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAI3G"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getCurrentUserOutput = exports.getCurrentUser = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve information about the user associated with the authentication context used by the Datadog provider. This data source is also useful for retrieving organization metadata.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as datadog from "@pulumi/datadog";
|
|
39
|
+
*
|
|
40
|
+
* const me = datadog.getCurrentUser({});
|
|
41
|
+
* const greeting = me.then(me => `Hello ${me.name}, your org id is ${me.orgId}`);
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getCurrentUser(opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invoke("datadog:index/getCurrentUser:getCurrentUser", {}, opts);
|
|
47
|
+
}
|
|
48
|
+
exports.getCurrentUser = getCurrentUser;
|
|
49
|
+
/**
|
|
50
|
+
* Retrieve information about the user associated with the authentication context used by the Datadog provider. This data source is also useful for retrieving organization metadata.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as datadog from "@pulumi/datadog";
|
|
57
|
+
*
|
|
58
|
+
* const me = datadog.getCurrentUser({});
|
|
59
|
+
* const greeting = me.then(me => `Hello ${me.name}, your org id is ${me.orgId}`);
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
function getCurrentUserOutput(opts) {
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
64
|
+
return pulumi.runtime.invokeOutput("datadog:index/getCurrentUser:getCurrentUser", {}, opts);
|
|
65
|
+
}
|
|
66
|
+
exports.getCurrentUserOutput = getCurrentUserOutput;
|
|
67
|
+
//# sourceMappingURL=getCurrentUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE,EAC3E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAuCD;;;;;;;;;;;;GAYG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
|
package/getIncidentType.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
2
3
|
/**
|
|
3
4
|
* Use this data source to retrieve information about an existing incident type.
|
|
4
5
|
*
|
|
@@ -27,6 +28,10 @@ export interface GetIncidentTypeArgs {
|
|
|
27
28
|
* A collection of values returned by getIncidentType.
|
|
28
29
|
*/
|
|
29
30
|
export interface GetIncidentTypeResult {
|
|
31
|
+
/**
|
|
32
|
+
* The incident type's behavior settings.
|
|
33
|
+
*/
|
|
34
|
+
readonly configuration: outputs.GetIncidentTypeConfiguration;
|
|
30
35
|
/**
|
|
31
36
|
* Description of the incident type.
|
|
32
37
|
*/
|
package/getIncidentType.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIncidentType.d.ts","sourceRoot":"","sources":["../getIncidentType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"getIncidentType.d.ts","sourceRoot":"","sources":["../getIncidentType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAKtH;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC,4BAA4B,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAK9I;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
package/getIncidentType.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIncidentType.js","sourceRoot":"","sources":["../getIncidentType.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;
|
|
1
|
+
{"version":3,"file":"getIncidentType.js","sourceRoot":"","sources":["../getIncidentType.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AAqCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
|
package/getSoftwareCatalog.d.ts
CHANGED
|
@@ -45,6 +45,10 @@ export interface GetSoftwareCatalogArgs {
|
|
|
45
45
|
* Filter entities by relation type. Valid values are `RelationTypeOwns`, `RelationTypeOwnedBy`, `RelationTypeDependsOn`, `RelationTypeDependencyOf`, `RelationTypePartsOf`, `RelationTypeHasPart`, `RelationTypeOtherOwns`, `RelationTypeOtherOwnedBy`, `RelationTypeImplementedBy`, `RelationTypeImplements`.
|
|
46
46
|
*/
|
|
47
47
|
filterRelationType?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Include entities that have been discovered but not yet enriched.
|
|
50
|
+
*/
|
|
51
|
+
includeDiscovered?: boolean;
|
|
48
52
|
}
|
|
49
53
|
/**
|
|
50
54
|
* A collection of values returned by getSoftwareCatalog.
|
|
@@ -86,6 +90,10 @@ export interface GetSoftwareCatalogResult {
|
|
|
86
90
|
* The ID of this resource.
|
|
87
91
|
*/
|
|
88
92
|
readonly id: string;
|
|
93
|
+
/**
|
|
94
|
+
* Include entities that have been discovered but not yet enriched.
|
|
95
|
+
*/
|
|
96
|
+
readonly includeDiscovered?: boolean;
|
|
89
97
|
}
|
|
90
98
|
/**
|
|
91
99
|
* Use this data source to list software catalog entities to use in other resources.
|
|
@@ -132,5 +140,9 @@ export interface GetSoftwareCatalogOutputArgs {
|
|
|
132
140
|
* Filter entities by relation type. Valid values are `RelationTypeOwns`, `RelationTypeOwnedBy`, `RelationTypeDependsOn`, `RelationTypeDependencyOf`, `RelationTypePartsOf`, `RelationTypeHasPart`, `RelationTypeOtherOwns`, `RelationTypeOtherOwnedBy`, `RelationTypeImplementedBy`, `RelationTypeImplements`.
|
|
133
141
|
*/
|
|
134
142
|
filterRelationType?: pulumi.Input<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Include entities that have been discovered but not yet enriched.
|
|
145
|
+
*/
|
|
146
|
+
includeDiscovered?: pulumi.Input<boolean | undefined>;
|
|
135
147
|
}
|
|
136
148
|
//# sourceMappingURL=getSoftwareCatalog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSoftwareCatalog.d.ts","sourceRoot":"","sources":["../getSoftwareCatalog.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wBAAwB,CAAC,
|
|
1
|
+
{"version":3,"file":"getSoftwareCatalog.d.ts","sourceRoot":"","sources":["../getSoftwareCatalog.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;GA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AC,EAAE,OAAO,CAAC;CACxC;AACD;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,CAAC,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAaxJ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
package/getSoftwareCatalog.js
CHANGED
|
@@ -51,6 +51,7 @@ function getSoftwareCatalog(args, opts) {
|
|
|
51
51
|
"filterOwner": args.filterOwner,
|
|
52
52
|
"filterRef": args.filterRef,
|
|
53
53
|
"filterRelationType": args.filterRelationType,
|
|
54
|
+
"includeDiscovered": args.includeDiscovered,
|
|
54
55
|
}, opts);
|
|
55
56
|
}
|
|
56
57
|
exports.getSoftwareCatalog = getSoftwareCatalog;
|
|
@@ -77,6 +78,7 @@ function getSoftwareCatalogOutput(args, opts) {
|
|
|
77
78
|
"filterOwner": args.filterOwner,
|
|
78
79
|
"filterRef": args.filterRef,
|
|
79
80
|
"filterRelationType": args.filterRelationType,
|
|
81
|
+
"includeDiscovered": args.includeDiscovered,
|
|
80
82
|
}, opts);
|
|
81
83
|
}
|
|
82
84
|
exports.getSoftwareCatalogOutput = getSoftwareCatalogOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSoftwareCatalog.js","sourceRoot":"","sources":["../getSoftwareCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;
|
|
1
|
+
{"version":3,"file":"getSoftwareCatalog.js","sourceRoot":"","sources":["../getSoftwareCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AA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AAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4DAaC"}
|
package/incidentType.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* Provides a Datadog incident type resource. This can be used to create and manage Datadog incident types.
|
|
4
6
|
*
|
|
@@ -14,6 +16,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
16
|
* description: "Security-related incidents requiring immediate attention",
|
|
15
17
|
* isDefault: false,
|
|
16
18
|
* });
|
|
19
|
+
* // Incident type with the full configuration block shown at its default values.
|
|
20
|
+
* // Every field is optional; omitted fields fall back to these same defaults.
|
|
21
|
+
* const withConfiguration = new datadog.IncidentType("with_configuration", {
|
|
22
|
+
* name: "Customer Impacting",
|
|
23
|
+
* description: "Incidents that impact customers",
|
|
24
|
+
* configuration: {
|
|
25
|
+
* private_incidents: false,
|
|
26
|
+
* private_incidents_by_default: false,
|
|
27
|
+
* allow_workflows: true,
|
|
28
|
+
* allow_incident_deletion: false,
|
|
29
|
+
* editable_timestamps: false,
|
|
30
|
+
* test_incidents: true,
|
|
31
|
+
* create_message: "",
|
|
32
|
+
* slug_source: "default",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
17
35
|
* ```
|
|
18
36
|
*
|
|
19
37
|
* ## Import
|
|
@@ -40,6 +58,10 @@ export declare class IncidentType extends pulumi.CustomResource {
|
|
|
40
58
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
59
|
*/
|
|
42
60
|
static isInstance(obj: any): obj is IncidentType;
|
|
61
|
+
/**
|
|
62
|
+
* The incident type's behavior settings. Any field left unset takes its server-side default. This block is applied in a separate call after the incident type is created.
|
|
63
|
+
*/
|
|
64
|
+
readonly configuration: pulumi.Output<outputs.IncidentTypeConfiguration>;
|
|
43
65
|
/**
|
|
44
66
|
* Description of the incident type. The description can have a maximum of 512 characters.
|
|
45
67
|
*/
|
|
@@ -65,6 +87,10 @@ export declare class IncidentType extends pulumi.CustomResource {
|
|
|
65
87
|
* Input properties used for looking up and filtering IncidentType resources.
|
|
66
88
|
*/
|
|
67
89
|
export interface IncidentTypeState {
|
|
90
|
+
/**
|
|
91
|
+
* The incident type's behavior settings. Any field left unset takes its server-side default. This block is applied in a separate call after the incident type is created.
|
|
92
|
+
*/
|
|
93
|
+
configuration?: pulumi.Input<inputs.IncidentTypeConfiguration | undefined>;
|
|
68
94
|
/**
|
|
69
95
|
* Description of the incident type. The description can have a maximum of 512 characters.
|
|
70
96
|
*/
|
|
@@ -82,6 +108,10 @@ export interface IncidentTypeState {
|
|
|
82
108
|
* The set of arguments for constructing a IncidentType resource.
|
|
83
109
|
*/
|
|
84
110
|
export interface IncidentTypeArgs {
|
|
111
|
+
/**
|
|
112
|
+
* The incident type's behavior settings. Any field left unset takes its server-side default. This block is applied in a separate call after the incident type is created.
|
|
113
|
+
*/
|
|
114
|
+
configuration?: pulumi.Input<inputs.IncidentTypeConfiguration | undefined>;
|
|
85
115
|
/**
|
|
86
116
|
* Description of the incident type. The description can have a maximum of 512 characters.
|
|
87
117
|
*/
|
package/incidentType.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incidentType.d.ts","sourceRoot":"","sources":["../incidentType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"incidentType.d.ts","sourceRoot":"","sources":["../incidentType.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,qBAAa,YAAa,SAAQ,MAAM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C7B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/incidentType.js
CHANGED
|
@@ -43,6 +43,22 @@ const utilities = __importStar(require("./utilities"));
|
|
|
43
43
|
* description: "Security-related incidents requiring immediate attention",
|
|
44
44
|
* isDefault: false,
|
|
45
45
|
* });
|
|
46
|
+
* // Incident type with the full configuration block shown at its default values.
|
|
47
|
+
* // Every field is optional; omitted fields fall back to these same defaults.
|
|
48
|
+
* const withConfiguration = new datadog.IncidentType("with_configuration", {
|
|
49
|
+
* name: "Customer Impacting",
|
|
50
|
+
* description: "Incidents that impact customers",
|
|
51
|
+
* configuration: {
|
|
52
|
+
* private_incidents: false,
|
|
53
|
+
* private_incidents_by_default: false,
|
|
54
|
+
* allow_workflows: true,
|
|
55
|
+
* allow_incident_deletion: false,
|
|
56
|
+
* editable_timestamps: false,
|
|
57
|
+
* test_incidents: true,
|
|
58
|
+
* create_message: "",
|
|
59
|
+
* slug_source: "default",
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
46
62
|
* ```
|
|
47
63
|
*
|
|
48
64
|
* ## Import
|
|
@@ -83,6 +99,7 @@ class IncidentType extends pulumi.CustomResource {
|
|
|
83
99
|
opts = opts || {};
|
|
84
100
|
if (opts.id) {
|
|
85
101
|
const state = argsOrState;
|
|
102
|
+
resourceInputs["configuration"] = state?.configuration;
|
|
86
103
|
resourceInputs["description"] = state?.description;
|
|
87
104
|
resourceInputs["isDefault"] = state?.isDefault;
|
|
88
105
|
resourceInputs["name"] = state?.name;
|
|
@@ -92,6 +109,7 @@ class IncidentType extends pulumi.CustomResource {
|
|
|
92
109
|
if (args?.name === undefined && !opts.urn) {
|
|
93
110
|
throw new Error("Missing required property 'name'");
|
|
94
111
|
}
|
|
112
|
+
resourceInputs["configuration"] = args?.configuration;
|
|
95
113
|
resourceInputs["description"] = args?.description;
|
|
96
114
|
resourceInputs["isDefault"] = args?.isDefault;
|
|
97
115
|
resourceInputs["name"] = args?.name;
|
package/incidentType.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incidentType.js","sourceRoot":"","sources":["../incidentType.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;
|
|
1
|
+
{"version":3,"file":"incidentType.js","sourceRoot":"","sources":["../incidentType.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yCAAyC,CAAC;IAEhF;;;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,YAAY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