@pulumi/datadog 4.53.0-alpha.1755150202 → 4.53.0-alpha.1755194356
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 +1 -1
- package/actionConnection.js +1 -1
- package/agentlessScanningAwsScanOptions.d.ts +127 -0
- package/agentlessScanningAwsScanOptions.js +103 -0
- package/agentlessScanningAwsScanOptions.js.map +1 -0
- package/appKeyRegistration.d.ts +66 -0
- package/appKeyRegistration.js +70 -0
- package/appKeyRegistration.js.map +1 -0
- package/config/vars.d.ts +30 -0
- package/config/vars.js +36 -0
- package/config/vars.js.map +1 -1
- package/getActionConnection.d.ts +2 -2
- package/getActionConnection.js +2 -2
- package/getAppBuilderApp.d.ts +2 -2
- package/getAppBuilderApp.js +2 -2
- package/getIncidentType.d.ts +70 -0
- package/getIncidentType.js +50 -0
- package/getIncidentType.js.map +1 -0
- package/getMetricMetadata.d.ts +68 -0
- package/getMetricMetadata.js +28 -0
- package/getMetricMetadata.js.map +1 -0
- package/getWorkflowAutomation.d.ts +2 -2
- package/getWorkflowAutomation.js +2 -2
- package/incidentType.d.ts +97 -0
- package/incidentType.js +81 -0
- package/incidentType.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.js +25 -4
- package/index.js.map +1 -1
- package/onCallEscalationPolicy.d.ts +1 -1
- package/onCallEscalationPolicy.js +1 -1
- package/package.json +2 -2
- package/provider.d.ts +60 -0
- package/provider.js +7 -1
- package/provider.js.map +1 -1
- package/securityMonitoringDefaultRule.d.ts +1 -1
- package/syntheticsTest.d.ts +3 -3
- package/types/input.d.ts +229 -13
- package/types/output.d.ts +236 -20
package/actionConnection.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products.
|
|
5
|
+
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products. This resource requires a registered application key.
|
|
6
6
|
*
|
|
7
7
|
* ## Import
|
|
8
8
|
*
|
package/actionConnection.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.ActionConnection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products.
|
|
9
|
+
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products. This resource requires a registered application key.
|
|
10
10
|
*
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Datadog Agentless Scanning AWS scan options resource. This can be used to activate and configure Agentless scan options for an AWS account.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* // Configure agentless scanning for an AWS account
|
|
12
|
+
* const example = new datadog.AgentlessScanningAwsScanOptions("example", {
|
|
13
|
+
* awsAccountId: "123456789012",
|
|
14
|
+
* lambda: true,
|
|
15
|
+
* sensitiveData: false,
|
|
16
|
+
* vulnContainersOs: true,
|
|
17
|
+
* vulnHostOs: true,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* The `pulumi import` command can be used, for example:
|
|
24
|
+
*
|
|
25
|
+
* #!/bin/bash
|
|
26
|
+
*
|
|
27
|
+
* Import existing agentless scanning aws scan options by AWS Account ID
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import datadog:index/agentlessScanningAwsScanOptions:AgentlessScanningAwsScanOptions example 123456789012
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class AgentlessScanningAwsScanOptions extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing AgentlessScanningAwsScanOptions resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentlessScanningAwsScanOptionsState, opts?: pulumi.CustomResourceOptions): AgentlessScanningAwsScanOptions;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of AgentlessScanningAwsScanOptions. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj: any): obj is AgentlessScanningAwsScanOptions;
|
|
49
|
+
/**
|
|
50
|
+
* The AWS Account ID for which agentless scanning is configured.
|
|
51
|
+
*/
|
|
52
|
+
readonly awsAccountId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Indicates if scanning of Lambda functions is enabled.
|
|
55
|
+
*/
|
|
56
|
+
readonly lambda: pulumi.Output<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* Indicates if scanning for sensitive data is enabled.
|
|
59
|
+
*/
|
|
60
|
+
readonly sensitiveData: pulumi.Output<boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* Indicates if scanning for vulnerabilities in containers is enabled.
|
|
63
|
+
*/
|
|
64
|
+
readonly vulnContainersOs: pulumi.Output<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Indicates if scanning for vulnerabilities in hosts is enabled.
|
|
67
|
+
*/
|
|
68
|
+
readonly vulnHostOs: pulumi.Output<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a AgentlessScanningAwsScanOptions resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: AgentlessScanningAwsScanOptionsArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering AgentlessScanningAwsScanOptions resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface AgentlessScanningAwsScanOptionsState {
|
|
82
|
+
/**
|
|
83
|
+
* The AWS Account ID for which agentless scanning is configured.
|
|
84
|
+
*/
|
|
85
|
+
awsAccountId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Indicates if scanning of Lambda functions is enabled.
|
|
88
|
+
*/
|
|
89
|
+
lambda?: pulumi.Input<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* Indicates if scanning for sensitive data is enabled.
|
|
92
|
+
*/
|
|
93
|
+
sensitiveData?: pulumi.Input<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* Indicates if scanning for vulnerabilities in containers is enabled.
|
|
96
|
+
*/
|
|
97
|
+
vulnContainersOs?: pulumi.Input<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* Indicates if scanning for vulnerabilities in hosts is enabled.
|
|
100
|
+
*/
|
|
101
|
+
vulnHostOs?: pulumi.Input<boolean>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The set of arguments for constructing a AgentlessScanningAwsScanOptions resource.
|
|
105
|
+
*/
|
|
106
|
+
export interface AgentlessScanningAwsScanOptionsArgs {
|
|
107
|
+
/**
|
|
108
|
+
* The AWS Account ID for which agentless scanning is configured.
|
|
109
|
+
*/
|
|
110
|
+
awsAccountId: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Indicates if scanning of Lambda functions is enabled.
|
|
113
|
+
*/
|
|
114
|
+
lambda: pulumi.Input<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Indicates if scanning for sensitive data is enabled.
|
|
117
|
+
*/
|
|
118
|
+
sensitiveData: pulumi.Input<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* Indicates if scanning for vulnerabilities in containers is enabled.
|
|
121
|
+
*/
|
|
122
|
+
vulnContainersOs: pulumi.Input<boolean>;
|
|
123
|
+
/**
|
|
124
|
+
* Indicates if scanning for vulnerabilities in hosts is enabled.
|
|
125
|
+
*/
|
|
126
|
+
vulnHostOs: pulumi.Input<boolean>;
|
|
127
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AgentlessScanningAwsScanOptions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Datadog Agentless Scanning AWS scan options resource. This can be used to activate and configure Agentless scan options for an AWS account.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Configure agentless scanning for an AWS account
|
|
18
|
+
* const example = new datadog.AgentlessScanningAwsScanOptions("example", {
|
|
19
|
+
* awsAccountId: "123456789012",
|
|
20
|
+
* lambda: true,
|
|
21
|
+
* sensitiveData: false,
|
|
22
|
+
* vulnContainersOs: true,
|
|
23
|
+
* vulnHostOs: true,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* The `pulumi import` command can be used, for example:
|
|
30
|
+
*
|
|
31
|
+
* #!/bin/bash
|
|
32
|
+
*
|
|
33
|
+
* Import existing agentless scanning aws scan options by AWS Account ID
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import datadog:index/agentlessScanningAwsScanOptions:AgentlessScanningAwsScanOptions example 123456789012
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class AgentlessScanningAwsScanOptions extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing AgentlessScanningAwsScanOptions resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name, id, state, opts) {
|
|
50
|
+
return new AgentlessScanningAwsScanOptions(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of AgentlessScanningAwsScanOptions. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj) {
|
|
57
|
+
if (obj === undefined || obj === null) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
return obj['__pulumiType'] === AgentlessScanningAwsScanOptions.__pulumiType;
|
|
61
|
+
}
|
|
62
|
+
constructor(name, argsOrState, opts) {
|
|
63
|
+
let resourceInputs = {};
|
|
64
|
+
opts = opts || {};
|
|
65
|
+
if (opts.id) {
|
|
66
|
+
const state = argsOrState;
|
|
67
|
+
resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
|
|
68
|
+
resourceInputs["lambda"] = state ? state.lambda : undefined;
|
|
69
|
+
resourceInputs["sensitiveData"] = state ? state.sensitiveData : undefined;
|
|
70
|
+
resourceInputs["vulnContainersOs"] = state ? state.vulnContainersOs : undefined;
|
|
71
|
+
resourceInputs["vulnHostOs"] = state ? state.vulnHostOs : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.awsAccountId === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'awsAccountId'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.lambda === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'lambda'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.sensitiveData === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'sensitiveData'");
|
|
83
|
+
}
|
|
84
|
+
if ((!args || args.vulnContainersOs === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'vulnContainersOs'");
|
|
86
|
+
}
|
|
87
|
+
if ((!args || args.vulnHostOs === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'vulnHostOs'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
|
|
91
|
+
resourceInputs["lambda"] = args ? args.lambda : undefined;
|
|
92
|
+
resourceInputs["sensitiveData"] = args ? args.sensitiveData : undefined;
|
|
93
|
+
resourceInputs["vulnContainersOs"] = args ? args.vulnContainersOs : undefined;
|
|
94
|
+
resourceInputs["vulnHostOs"] = args ? args.vulnHostOs : undefined;
|
|
95
|
+
}
|
|
96
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
|
+
super(AgentlessScanningAwsScanOptions.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.AgentlessScanningAwsScanOptions = AgentlessScanningAwsScanOptions;
|
|
101
|
+
/** @internal */
|
|
102
|
+
AgentlessScanningAwsScanOptions.__pulumiType = 'datadog:index/agentlessScanningAwsScanOptions:AgentlessScanningAwsScanOptions';
|
|
103
|
+
//# sourceMappingURL=agentlessScanningAwsScanOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentlessScanningAwsScanOptions.js","sourceRoot":"","sources":["../agentlessScanningAwsScanOptions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC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E;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA5FL,0EA6FC;AA/EG,gBAAgB;AACO,4CAAY,GAAG,+EAA+E,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as datadog from "@pulumi/datadog";
|
|
8
|
+
*
|
|
9
|
+
* const appKeyRegistration = new datadog.AppKeyRegistration("app_key_registration", {appKeyId: "11111111-2222-3333-4444-555555555555"});
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* ## Import
|
|
13
|
+
*
|
|
14
|
+
* The `pulumi import` command can be used, for example:
|
|
15
|
+
*
|
|
16
|
+
* ```sh
|
|
17
|
+
* $ pulumi import datadog:index/appKeyRegistration:AppKeyRegistration my_app_key_registration 11111111-2222-3333-4444-555555555555
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class AppKeyRegistration extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing AppKeyRegistration resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppKeyRegistrationState, opts?: pulumi.CustomResourceOptions): AppKeyRegistration;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of AppKeyRegistration. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is AppKeyRegistration;
|
|
36
|
+
/**
|
|
37
|
+
* The Application Key ID to register.
|
|
38
|
+
*/
|
|
39
|
+
readonly appKeyId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a AppKeyRegistration resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: AppKeyRegistrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Input properties used for looking up and filtering AppKeyRegistration resources.
|
|
51
|
+
*/
|
|
52
|
+
export interface AppKeyRegistrationState {
|
|
53
|
+
/**
|
|
54
|
+
* The Application Key ID to register.
|
|
55
|
+
*/
|
|
56
|
+
appKeyId?: pulumi.Input<string>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a AppKeyRegistration resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface AppKeyRegistrationArgs {
|
|
62
|
+
/**
|
|
63
|
+
* The Application Key ID to register.
|
|
64
|
+
*/
|
|
65
|
+
appKeyId: pulumi.Input<string>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AppKeyRegistration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as datadog from "@pulumi/datadog";
|
|
14
|
+
*
|
|
15
|
+
* const appKeyRegistration = new datadog.AppKeyRegistration("app_key_registration", {appKeyId: "11111111-2222-3333-4444-555555555555"});
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* The `pulumi import` command can be used, for example:
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import datadog:index/appKeyRegistration:AppKeyRegistration my_app_key_registration 11111111-2222-3333-4444-555555555555
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
class AppKeyRegistration extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing AppKeyRegistration resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name, id, state, opts) {
|
|
37
|
+
return new AppKeyRegistration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of AppKeyRegistration. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj) {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === AppKeyRegistration.__pulumiType;
|
|
48
|
+
}
|
|
49
|
+
constructor(name, argsOrState, opts) {
|
|
50
|
+
let resourceInputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (opts.id) {
|
|
53
|
+
const state = argsOrState;
|
|
54
|
+
resourceInputs["appKeyId"] = state ? state.appKeyId : undefined;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const args = argsOrState;
|
|
58
|
+
if ((!args || args.appKeyId === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'appKeyId'");
|
|
60
|
+
}
|
|
61
|
+
resourceInputs["appKeyId"] = args ? args.appKeyId : undefined;
|
|
62
|
+
}
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
+
super(AppKeyRegistration.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.AppKeyRegistration = AppKeyRegistration;
|
|
68
|
+
/** @internal */
|
|
69
|
+
AppKeyRegistration.__pulumiType = 'datadog:index/appKeyRegistration:AppKeyRegistration';
|
|
70
|
+
//# sourceMappingURL=appKeyRegistration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appKeyRegistration.js","sourceRoot":"","sources":["../appKeyRegistration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAeD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAxDL,gDAyDC;AA3CG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -16,6 +16,31 @@ export declare const apiUrl: string | undefined;
|
|
|
16
16
|
* (Required unless validate is false) Datadog APP key. This can also be set via the DD_APP_KEY environment variable.
|
|
17
17
|
*/
|
|
18
18
|
export declare const appKey: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The AWS access key ID; used for cloud-provider-based authentication. This can also be set using the `AWS_ACCESS_KEY_ID`
|
|
21
|
+
* environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
22
|
+
*/
|
|
23
|
+
export declare const awsAccessKeyId: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The AWS secret access key; used for cloud-provider-based authentication. This can also be set using the
|
|
26
|
+
* `AWS_SECRET_ACCESS_KEY` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
27
|
+
*/
|
|
28
|
+
export declare const awsSecretAccessKey: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The AWS session token; used for cloud-provider-based authentication. This can also be set using the `AWS_SESSION_TOKEN`
|
|
31
|
+
* environment variable. Required when using `cloudProviderType` set to `aws` and using temporary credentials.
|
|
32
|
+
*/
|
|
33
|
+
export declare const awsSessionToken: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* The cloud provider region specifier; used for cloud-provider-based authentication. For example, `us-east-1` for AWS.
|
|
36
|
+
*/
|
|
37
|
+
export declare const cloudProviderRegion: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the cloud provider used for cloud-provider-based authentication, enabling keyless access without API or app
|
|
40
|
+
* keys. Only [`aws`] is supported. This feature is in Preview. If you'd like to enable it for your organization, contact
|
|
41
|
+
* [support](https://docs.datadoghq.com/help/).
|
|
42
|
+
*/
|
|
43
|
+
export declare const cloudProviderType: string | undefined;
|
|
19
44
|
/**
|
|
20
45
|
* [Experimental - Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration
|
|
21
46
|
* block containing settings to apply default resource tags across all resources.
|
|
@@ -41,6 +66,11 @@ export declare const httpClientRetryMaxRetries: number | undefined;
|
|
|
41
66
|
* The HTTP request retry timeout period. Defaults to 60 seconds.
|
|
42
67
|
*/
|
|
43
68
|
export declare const httpClientRetryTimeout: number | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* The organization UUID; used for cloud-provider-based authentication. See the [Datadog API
|
|
71
|
+
* documentation](https://docs.datadoghq.com/api/v1/organizations/) for more information.
|
|
72
|
+
*/
|
|
73
|
+
export declare const orgUuid: string | undefined;
|
|
44
74
|
/**
|
|
45
75
|
* Enables validation of the provided API key during provider initialization. Valid values are [`true`, `false`]. Default
|
|
46
76
|
* is true. When false, apiKey won't be checked.
|
package/config/vars.js
CHANGED
|
@@ -22,6 +22,36 @@ Object.defineProperty(exports, "appKey", {
|
|
|
22
22
|
},
|
|
23
23
|
enumerable: true,
|
|
24
24
|
});
|
|
25
|
+
Object.defineProperty(exports, "awsAccessKeyId", {
|
|
26
|
+
get() {
|
|
27
|
+
return __config.get("awsAccessKeyId");
|
|
28
|
+
},
|
|
29
|
+
enumerable: true,
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "awsSecretAccessKey", {
|
|
32
|
+
get() {
|
|
33
|
+
return __config.get("awsSecretAccessKey");
|
|
34
|
+
},
|
|
35
|
+
enumerable: true,
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "awsSessionToken", {
|
|
38
|
+
get() {
|
|
39
|
+
return __config.get("awsSessionToken");
|
|
40
|
+
},
|
|
41
|
+
enumerable: true,
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "cloudProviderRegion", {
|
|
44
|
+
get() {
|
|
45
|
+
return __config.get("cloudProviderRegion");
|
|
46
|
+
},
|
|
47
|
+
enumerable: true,
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "cloudProviderType", {
|
|
50
|
+
get() {
|
|
51
|
+
return __config.get("cloudProviderType");
|
|
52
|
+
},
|
|
53
|
+
enumerable: true,
|
|
54
|
+
});
|
|
25
55
|
Object.defineProperty(exports, "defaultTags", {
|
|
26
56
|
get() {
|
|
27
57
|
return __config.getObject("defaultTags");
|
|
@@ -58,6 +88,12 @@ Object.defineProperty(exports, "httpClientRetryTimeout", {
|
|
|
58
88
|
},
|
|
59
89
|
enumerable: true,
|
|
60
90
|
});
|
|
91
|
+
Object.defineProperty(exports, "orgUuid", {
|
|
92
|
+
get() {
|
|
93
|
+
return __config.get("orgUuid");
|
|
94
|
+
},
|
|
95
|
+
enumerable: true,
|
|
96
|
+
});
|
|
61
97
|
Object.defineProperty(exports, "validate", {
|
|
62
98
|
get() {
|
|
63
99
|
return __config.get("validate");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAMzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAM9C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAWH,MAAM,CAA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,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,wBAAwB,EAAE;IACrD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;IAClD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,2BAA2B,EAAE;IACxD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,2BAA2B,CAAC,CAAC;IACnE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,wBAAwB,EAAE;IACrD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,wBAAwB,CAAC,CAAC;IAChE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/getActionConnection.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products.
|
|
5
|
+
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products. This data source requires a registered application key.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -55,7 +55,7 @@ export interface GetActionConnectionResult {
|
|
|
55
55
|
readonly name: string;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products.
|
|
58
|
+
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products. This data source requires a registered application key.
|
|
59
59
|
*
|
|
60
60
|
* ## Example Usage
|
|
61
61
|
*
|
package/getActionConnection.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getActionConnectionOutput = exports.getActionConnection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products.
|
|
9
|
+
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products. This data source requires a registered application key.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -29,7 +29,7 @@ function getActionConnection(args, opts) {
|
|
|
29
29
|
}
|
|
30
30
|
exports.getActionConnection = getActionConnection;
|
|
31
31
|
/**
|
|
32
|
-
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products.
|
|
32
|
+
* A connection that can be used in Actions, including in the Workflow Automation and App Builder products. This data source requires a registered application key.
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
35
|
*
|
package/getAppBuilderApp.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards.
|
|
3
|
+
* This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards. This data source requires a registered application key.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
@@ -59,7 +59,7 @@ export interface GetAppBuilderAppResult {
|
|
|
59
59
|
readonly rootInstanceName: string;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards.
|
|
62
|
+
* This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards. This data source requires a registered application key.
|
|
63
63
|
*
|
|
64
64
|
* ## Example Usage
|
|
65
65
|
*
|
package/getAppBuilderApp.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getAppBuilderAppOutput = exports.getAppBuilderApp = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards.
|
|
9
|
+
* This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards. This data source requires a registered application key.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -27,7 +27,7 @@ function getAppBuilderApp(args, opts) {
|
|
|
27
27
|
}
|
|
28
28
|
exports.getAppBuilderApp = getAppBuilderApp;
|
|
29
29
|
/**
|
|
30
|
-
* This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards.
|
|
30
|
+
* This data source retrieves the definition of an existing Datadog App from App Builder for use in other resources, such as embedding Apps in Dashboards. This data source requires a registered application key.
|
|
31
31
|
*
|
|
32
32
|
* ## Example Usage
|
|
33
33
|
*
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about an existing incident type.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* const example = datadog.getIncidentType({
|
|
12
|
+
* id: "01234567-89ab-cdef-0123-456789abcdef",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getIncidentType(args: GetIncidentTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetIncidentTypeResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getIncidentType.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetIncidentTypeArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The ID of the incident type.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getIncidentType.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetIncidentTypeResult {
|
|
30
|
+
/**
|
|
31
|
+
* Description of the incident type.
|
|
32
|
+
*/
|
|
33
|
+
readonly description: string;
|
|
34
|
+
/**
|
|
35
|
+
* The ID of the incident type.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether this incident type is the default type.
|
|
40
|
+
*/
|
|
41
|
+
readonly isDefault: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Name of the incident type.
|
|
44
|
+
*/
|
|
45
|
+
readonly name: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Use this data source to retrieve information about an existing incident type.
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as datadog from "@pulumi/datadog";
|
|
55
|
+
*
|
|
56
|
+
* const example = datadog.getIncidentType({
|
|
57
|
+
* id: "01234567-89ab-cdef-0123-456789abcdef",
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare function getIncidentTypeOutput(args: GetIncidentTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIncidentTypeResult>;
|
|
62
|
+
/**
|
|
63
|
+
* A collection of arguments for invoking getIncidentType.
|
|
64
|
+
*/
|
|
65
|
+
export interface GetIncidentTypeOutputArgs {
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the incident type.
|
|
68
|
+
*/
|
|
69
|
+
id: pulumi.Input<string>;
|
|
70
|
+
}
|