@pulumi/datadog 4.0.0 → 4.2.0-alpha.1632753173
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/README.md +2 -2
- package/apiKey.d.ts +77 -0
- package/apiKey.js +76 -0
- package/apiKey.js.map +1 -0
- package/applicationKey.d.ts +77 -0
- package/applicationKey.js +76 -0
- package/applicationKey.js.map +1 -0
- package/aws/integrationLambdaArn.d.ts +3 -3
- package/aws/integrationLogCollection.d.ts +4 -4
- package/aws/integrationLogCollection.js +1 -1
- package/aws/integrationTagFilter.d.ts +4 -3
- package/aws/integrationTagFilter.js +1 -0
- package/aws/integrationTagFilter.js.map +1 -1
- package/childOrganization.d.ts +112 -0
- package/childOrganization.js +80 -0
- package/childOrganization.js.map +1 -0
- package/dashboard.d.ts +8 -8
- package/getApiKey.d.ts +46 -0
- package/getApiKey.js +35 -0
- package/getApiKey.js.map +1 -0
- package/getApplicationKey.d.ts +46 -0
- package/getApplicationKey.js +35 -0
- package/getApplicationKey.js.map +1 -0
- package/getDashboardList.d.ts +16 -0
- package/getDashboardList.js +16 -0
- package/getDashboardList.js.map +1 -1
- package/getMonitor.d.ts +5 -0
- package/getSecurityMonitoringFilters.d.ts +32 -0
- package/getSecurityMonitoringFilters.js +29 -0
- package/getSecurityMonitoringFilters.js.map +1 -0
- package/getSyntheticsGlobalVariable.d.ts +31 -0
- package/getSyntheticsGlobalVariable.js +22 -0
- package/getSyntheticsGlobalVariable.js.map +1 -0
- package/getUser.d.ts +35 -0
- package/getUser.js +22 -0
- package/getUser.js.map +1 -0
- package/index.d.ts +10 -0
- package/index.js +30 -0
- package/index.js.map +1 -1
- package/logsIndex.d.ts +12 -36
- package/logsIndex.js +2 -36
- package/logsIndex.js.map +1 -1
- package/monitor.d.ts +30 -3
- package/monitor.js +2 -0
- package/monitor.js.map +1 -1
- package/organizationSettings.d.ts +98 -0
- package/organizationSettings.js +77 -0
- package/organizationSettings.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/securityMonitoringFilter.d.ts +139 -0
- package/securityMonitoringFilter.js +103 -0
- package/securityMonitoringFilter.js.map +1 -0
- package/securityMonitoringRule.d.ts +26 -0
- package/securityMonitoringRule.js +6 -0
- package/securityMonitoringRule.js.map +1 -1
- package/slack/channel.d.ts +9 -1
- package/slack/channel.js +9 -1
- package/slack/channel.js.map +1 -1
- package/syntheticsGlobalVariable.d.ts +15 -3
- package/syntheticsGlobalVariable.js +2 -0
- package/syntheticsGlobalVariable.js.map +1 -1
- package/syntheticsTest.d.ts +160 -82
- package/syntheticsTest.js +157 -79
- package/syntheticsTest.js.map +1 -1
- package/types/input.d.ts +567 -5
- package/types/output.d.ts +591 -5
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@pulumi/datadog)
|
|
4
4
|
[](https://pypi.org/project/pulumi-datadog)
|
|
5
5
|
[](https://badge.fury.io/nu/pulumi.datadog)
|
|
6
|
-
[](https://pkg.go.dev/github.com/pulumi/pulumi-datadog/sdk/v4/go)
|
|
7
7
|
[](https://github.com/pulumi/pulumi-datadog/blob/master/LICENSE)
|
|
8
8
|
|
|
9
9
|
# Datadog Provider
|
|
@@ -35,7 +35,7 @@ To use from Python, install using `pip`:
|
|
|
35
35
|
|
|
36
36
|
To use from Go, use `go get` to grab the latest version of the library
|
|
37
37
|
|
|
38
|
-
$ go get github.com/pulumi/pulumi-datadog/sdk/
|
|
38
|
+
$ go get github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/...
|
|
39
39
|
|
|
40
40
|
### .NET
|
|
41
41
|
|
package/apiKey.d.ts
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* // Create a new Datadog API Key
|
|
12
|
+
* const foo = new datadog.ApiKey("foo", {
|
|
13
|
+
* name: "foo-application",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import datadog:index/apiKey:ApiKey foo 11111111-2222-3333-4444-555555555555
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class ApiKey extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing ApiKey resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApiKeyState, opts?: pulumi.CustomResourceOptions): ApiKey;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of ApiKey. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is ApiKey;
|
|
39
|
+
/**
|
|
40
|
+
* The value of the API Key.
|
|
41
|
+
*/
|
|
42
|
+
readonly key: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Name for API Key.
|
|
45
|
+
*/
|
|
46
|
+
readonly name: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Create a ApiKey resource with the given unique name, arguments, and options.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resource.
|
|
51
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
52
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
53
|
+
*/
|
|
54
|
+
constructor(name: string, args: ApiKeyArgs, opts?: pulumi.CustomResourceOptions);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Input properties used for looking up and filtering ApiKey resources.
|
|
58
|
+
*/
|
|
59
|
+
export interface ApiKeyState {
|
|
60
|
+
/**
|
|
61
|
+
* The value of the API Key.
|
|
62
|
+
*/
|
|
63
|
+
key?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Name for API Key.
|
|
66
|
+
*/
|
|
67
|
+
name?: pulumi.Input<string>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* The set of arguments for constructing a ApiKey resource.
|
|
71
|
+
*/
|
|
72
|
+
export interface ApiKeyArgs {
|
|
73
|
+
/**
|
|
74
|
+
* Name for API Key.
|
|
75
|
+
*/
|
|
76
|
+
name: pulumi.Input<string>;
|
|
77
|
+
}
|
package/apiKey.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as datadog from "@pulumi/datadog";
|
|
15
|
+
*
|
|
16
|
+
* // Create a new Datadog API Key
|
|
17
|
+
* const foo = new datadog.ApiKey("foo", {
|
|
18
|
+
* name: "foo-application",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import datadog:index/apiKey:ApiKey foo 11111111-2222-3333-4444-555555555555
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
class ApiKey extends pulumi.CustomResource {
|
|
29
|
+
constructor(name, argsOrState, opts) {
|
|
30
|
+
let inputs = {};
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
if (opts.id) {
|
|
33
|
+
const state = argsOrState;
|
|
34
|
+
inputs["key"] = state ? state.key : undefined;
|
|
35
|
+
inputs["name"] = state ? state.name : undefined;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
const args = argsOrState;
|
|
39
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
40
|
+
throw new Error("Missing required property 'name'");
|
|
41
|
+
}
|
|
42
|
+
inputs["name"] = args ? args.name : undefined;
|
|
43
|
+
inputs["key"] = undefined /*out*/;
|
|
44
|
+
}
|
|
45
|
+
if (!opts.version) {
|
|
46
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
47
|
+
}
|
|
48
|
+
super(ApiKey.__pulumiType, name, inputs, opts);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing ApiKey resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, state, opts) {
|
|
60
|
+
return new ApiKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of ApiKey. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj) {
|
|
67
|
+
if (obj === undefined || obj === null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return obj['__pulumiType'] === ApiKey.__pulumiType;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.ApiKey = ApiKey;
|
|
74
|
+
/** @internal */
|
|
75
|
+
ApiKey.__pulumiType = 'datadog:index/apiKey:ApiKey';
|
|
76
|
+
//# sourceMappingURL=apiKey.js.map
|
package/apiKey.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IA6C7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACnD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IA/DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAiEC;AAnDG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Datadog Application Key resource. This can be used to create and manage Datadog Application Keys.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* // Create a new Datadog Application Key
|
|
12
|
+
* const foo = new datadog.ApplicationKey("foo", {
|
|
13
|
+
* name: "foo-application",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import datadog:index/applicationKey:ApplicationKey foo 11111111-2222-3333-4444-555555555555
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class ApplicationKey extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing ApplicationKey resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationKeyState, opts?: pulumi.CustomResourceOptions): ApplicationKey;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of ApplicationKey. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is ApplicationKey;
|
|
39
|
+
/**
|
|
40
|
+
* The value of the Application Key.
|
|
41
|
+
*/
|
|
42
|
+
readonly key: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Name for Application Key.
|
|
45
|
+
*/
|
|
46
|
+
readonly name: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Create a ApplicationKey resource with the given unique name, arguments, and options.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resource.
|
|
51
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
52
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
53
|
+
*/
|
|
54
|
+
constructor(name: string, args: ApplicationKeyArgs, opts?: pulumi.CustomResourceOptions);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Input properties used for looking up and filtering ApplicationKey resources.
|
|
58
|
+
*/
|
|
59
|
+
export interface ApplicationKeyState {
|
|
60
|
+
/**
|
|
61
|
+
* The value of the Application Key.
|
|
62
|
+
*/
|
|
63
|
+
key?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Name for Application Key.
|
|
66
|
+
*/
|
|
67
|
+
name?: pulumi.Input<string>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* The set of arguments for constructing a ApplicationKey resource.
|
|
71
|
+
*/
|
|
72
|
+
export interface ApplicationKeyArgs {
|
|
73
|
+
/**
|
|
74
|
+
* Name for Application Key.
|
|
75
|
+
*/
|
|
76
|
+
name: pulumi.Input<string>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a Datadog Application Key resource. This can be used to create and manage Datadog Application Keys.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as datadog from "@pulumi/datadog";
|
|
15
|
+
*
|
|
16
|
+
* // Create a new Datadog Application Key
|
|
17
|
+
* const foo = new datadog.ApplicationKey("foo", {
|
|
18
|
+
* name: "foo-application",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import datadog:index/applicationKey:ApplicationKey foo 11111111-2222-3333-4444-555555555555
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
class ApplicationKey extends pulumi.CustomResource {
|
|
29
|
+
constructor(name, argsOrState, opts) {
|
|
30
|
+
let inputs = {};
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
if (opts.id) {
|
|
33
|
+
const state = argsOrState;
|
|
34
|
+
inputs["key"] = state ? state.key : undefined;
|
|
35
|
+
inputs["name"] = state ? state.name : undefined;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
const args = argsOrState;
|
|
39
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
40
|
+
throw new Error("Missing required property 'name'");
|
|
41
|
+
}
|
|
42
|
+
inputs["name"] = args ? args.name : undefined;
|
|
43
|
+
inputs["key"] = undefined /*out*/;
|
|
44
|
+
}
|
|
45
|
+
if (!opts.version) {
|
|
46
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
47
|
+
}
|
|
48
|
+
super(ApplicationKey.__pulumiType, name, inputs, opts);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing ApplicationKey resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, state, opts) {
|
|
60
|
+
return new ApplicationKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of ApplicationKey. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj) {
|
|
67
|
+
if (obj === undefined || obj === null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return obj['__pulumiType'] === ApplicationKey.__pulumiType;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.ApplicationKey = ApplicationKey;
|
|
74
|
+
/** @internal */
|
|
75
|
+
ApplicationKey.__pulumiType = 'datadog:index/applicationKey:ApplicationKey';
|
|
76
|
+
//# sourceMappingURL=applicationKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationKey.js","sourceRoot":"","sources":["../applicationKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA6CrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACnD;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IA/DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAiEC;AAnDG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -42,7 +42,7 @@ export declare class IntegrationLambdaArn extends pulumi.CustomResource {
|
|
|
42
42
|
*/
|
|
43
43
|
static isInstance(obj: any): obj is IntegrationLambdaArn;
|
|
44
44
|
/**
|
|
45
|
-
* Your AWS Account ID without dashes.
|
|
45
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
46
46
|
*/
|
|
47
47
|
readonly accountId: pulumi.Output<string>;
|
|
48
48
|
/**
|
|
@@ -63,7 +63,7 @@ export declare class IntegrationLambdaArn extends pulumi.CustomResource {
|
|
|
63
63
|
*/
|
|
64
64
|
export interface IntegrationLambdaArnState {
|
|
65
65
|
/**
|
|
66
|
-
* Your AWS Account ID without dashes.
|
|
66
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
67
67
|
*/
|
|
68
68
|
accountId?: pulumi.Input<string>;
|
|
69
69
|
/**
|
|
@@ -76,7 +76,7 @@ export interface IntegrationLambdaArnState {
|
|
|
76
76
|
*/
|
|
77
77
|
export interface IntegrationLambdaArnArgs {
|
|
78
78
|
/**
|
|
79
|
-
* Your AWS Account ID without dashes.
|
|
79
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
80
80
|
*/
|
|
81
81
|
accountId: pulumi.Input<string>;
|
|
82
82
|
/**
|
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as datadog from "@pulumi/datadog";
|
|
10
10
|
*
|
|
11
|
-
* // Create a new Datadog - Amazon Web Services integration
|
|
11
|
+
* // Create a new Datadog - Amazon Web Services integration log collection
|
|
12
12
|
* const main = new datadog.aws.IntegrationLogCollection("main", {
|
|
13
13
|
* accountId: "1234567890",
|
|
14
14
|
* services: ["lambda"],
|
|
@@ -40,7 +40,7 @@ export declare class IntegrationLogCollection extends pulumi.CustomResource {
|
|
|
40
40
|
*/
|
|
41
41
|
static isInstance(obj: any): obj is IntegrationLogCollection;
|
|
42
42
|
/**
|
|
43
|
-
* Your AWS Account ID without dashes.
|
|
43
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
44
44
|
*/
|
|
45
45
|
readonly accountId: pulumi.Output<string>;
|
|
46
46
|
/**
|
|
@@ -61,7 +61,7 @@ export declare class IntegrationLogCollection extends pulumi.CustomResource {
|
|
|
61
61
|
*/
|
|
62
62
|
export interface IntegrationLogCollectionState {
|
|
63
63
|
/**
|
|
64
|
-
* Your AWS Account ID without dashes.
|
|
64
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
65
65
|
*/
|
|
66
66
|
accountId?: pulumi.Input<string>;
|
|
67
67
|
/**
|
|
@@ -74,7 +74,7 @@ export interface IntegrationLogCollectionState {
|
|
|
74
74
|
*/
|
|
75
75
|
export interface IntegrationLogCollectionArgs {
|
|
76
76
|
/**
|
|
77
|
-
* Your AWS Account ID without dashes.
|
|
77
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
78
78
|
*/
|
|
79
79
|
accountId: pulumi.Input<string>;
|
|
80
80
|
/**
|
|
@@ -13,7 +13,7 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as datadog from "@pulumi/datadog";
|
|
15
15
|
*
|
|
16
|
-
* // Create a new Datadog - Amazon Web Services integration
|
|
16
|
+
* // Create a new Datadog - Amazon Web Services integration log collection
|
|
17
17
|
* const main = new datadog.aws.IntegrationLogCollection("main", {
|
|
18
18
|
* accountId: "1234567890",
|
|
19
19
|
* services: ["lambda"],
|
|
@@ -8,6 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as datadog from "@pulumi/datadog";
|
|
10
10
|
*
|
|
11
|
+
* // Create a new Datadog - Amazon Web Services integration tag filter
|
|
11
12
|
* const foo = new datadog.aws.IntegrationTagFilter("foo", {
|
|
12
13
|
* accountId: "123456789010",
|
|
13
14
|
* namespace: "sqs",
|
|
@@ -40,7 +41,7 @@ export declare class IntegrationTagFilter extends pulumi.CustomResource {
|
|
|
40
41
|
*/
|
|
41
42
|
static isInstance(obj: any): obj is IntegrationTagFilter;
|
|
42
43
|
/**
|
|
43
|
-
* Your AWS Account ID without dashes.
|
|
44
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
44
45
|
*/
|
|
45
46
|
readonly accountId: pulumi.Output<string>;
|
|
46
47
|
/**
|
|
@@ -65,7 +66,7 @@ export declare class IntegrationTagFilter extends pulumi.CustomResource {
|
|
|
65
66
|
*/
|
|
66
67
|
export interface IntegrationTagFilterState {
|
|
67
68
|
/**
|
|
68
|
-
* Your AWS Account ID without dashes.
|
|
69
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
69
70
|
*/
|
|
70
71
|
accountId?: pulumi.Input<string>;
|
|
71
72
|
/**
|
|
@@ -82,7 +83,7 @@ export interface IntegrationTagFilterState {
|
|
|
82
83
|
*/
|
|
83
84
|
export interface IntegrationTagFilterArgs {
|
|
84
85
|
/**
|
|
85
|
-
* Your AWS Account ID without dashes.
|
|
86
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
86
87
|
*/
|
|
87
88
|
accountId: pulumi.Input<string>;
|
|
88
89
|
/**
|
|
@@ -13,6 +13,7 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as datadog from "@pulumi/datadog";
|
|
15
15
|
*
|
|
16
|
+
* // Create a new Datadog - Amazon Web Services integration tag filter
|
|
16
17
|
* const foo = new datadog.aws.IntegrationTagFilter("foo", {
|
|
17
18
|
* accountId: "123456789010",
|
|
18
19
|
* namespace: "sqs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationTagFilter.js","sourceRoot":"","sources":["../../aws/integrationTagFilter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"integrationTagFilter.js","sourceRoot":"","sources":["../../aws/integrationTagFilter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAA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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IA3ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDA6EC;AA/DG,gBAAgB;AACO,iCAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use `datadog.OrganizationSettings`.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as datadog from "@pulumi/datadog";
|
|
11
|
+
*
|
|
12
|
+
* // Create a new Datadog Child Organization
|
|
13
|
+
* const organization = new datadog.ChildOrganization("organization", {
|
|
14
|
+
* name: "foo-organization",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class ChildOrganization extends pulumi.CustomResource {
|
|
19
|
+
/**
|
|
20
|
+
* Get an existing ChildOrganization resource's state with the given name, ID, and optional extra
|
|
21
|
+
* properties used to qualify the lookup.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
25
|
+
* @param state Any extra arguments used during the lookup.
|
|
26
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
27
|
+
*/
|
|
28
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ChildOrganizationState, opts?: pulumi.CustomResourceOptions): ChildOrganization;
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if the given object is an instance of ChildOrganization. This is designed to work even
|
|
31
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
|
+
*/
|
|
33
|
+
static isInstance(obj: any): obj is ChildOrganization;
|
|
34
|
+
/**
|
|
35
|
+
* Datadog API key.
|
|
36
|
+
*/
|
|
37
|
+
readonly apiKeys: pulumi.Output<outputs.ChildOrganizationApiKey[]>;
|
|
38
|
+
/**
|
|
39
|
+
* An application key with its associated metadata.
|
|
40
|
+
*/
|
|
41
|
+
readonly applicationKeys: pulumi.Output<outputs.ChildOrganizationApplicationKey[]>;
|
|
42
|
+
/**
|
|
43
|
+
* Description of the organization.
|
|
44
|
+
*/
|
|
45
|
+
readonly description: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Name for Child Organization after creation.
|
|
48
|
+
*/
|
|
49
|
+
readonly name: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The `publicId` of the organization you are operating within.
|
|
52
|
+
*/
|
|
53
|
+
readonly publicId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Organization settings
|
|
56
|
+
*/
|
|
57
|
+
readonly settings: pulumi.Output<outputs.ChildOrganizationSetting[]>;
|
|
58
|
+
/**
|
|
59
|
+
* Information about a user
|
|
60
|
+
*/
|
|
61
|
+
readonly users: pulumi.Output<outputs.ChildOrganizationUser[]>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a ChildOrganization resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: ChildOrganizationArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering ChildOrganization resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface ChildOrganizationState {
|
|
75
|
+
/**
|
|
76
|
+
* Datadog API key.
|
|
77
|
+
*/
|
|
78
|
+
apiKeys?: pulumi.Input<pulumi.Input<inputs.ChildOrganizationApiKey>[]>;
|
|
79
|
+
/**
|
|
80
|
+
* An application key with its associated metadata.
|
|
81
|
+
*/
|
|
82
|
+
applicationKeys?: pulumi.Input<pulumi.Input<inputs.ChildOrganizationApplicationKey>[]>;
|
|
83
|
+
/**
|
|
84
|
+
* Description of the organization.
|
|
85
|
+
*/
|
|
86
|
+
description?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Name for Child Organization after creation.
|
|
89
|
+
*/
|
|
90
|
+
name?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The `publicId` of the organization you are operating within.
|
|
93
|
+
*/
|
|
94
|
+
publicId?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Organization settings
|
|
97
|
+
*/
|
|
98
|
+
settings?: pulumi.Input<pulumi.Input<inputs.ChildOrganizationSetting>[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Information about a user
|
|
101
|
+
*/
|
|
102
|
+
users?: pulumi.Input<pulumi.Input<inputs.ChildOrganizationUser>[]>;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The set of arguments for constructing a ChildOrganization resource.
|
|
106
|
+
*/
|
|
107
|
+
export interface ChildOrganizationArgs {
|
|
108
|
+
/**
|
|
109
|
+
* Name for Child Organization after creation.
|
|
110
|
+
*/
|
|
111
|
+
name: pulumi.Input<string>;
|
|
112
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use `datadog.OrganizationSettings`.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as datadog from "@pulumi/datadog";
|
|
15
|
+
*
|
|
16
|
+
* // Create a new Datadog Child Organization
|
|
17
|
+
* const organization = new datadog.ChildOrganization("organization", {
|
|
18
|
+
* name: "foo-organization",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
class ChildOrganization extends pulumi.CustomResource {
|
|
23
|
+
constructor(name, argsOrState, opts) {
|
|
24
|
+
let inputs = {};
|
|
25
|
+
opts = opts || {};
|
|
26
|
+
if (opts.id) {
|
|
27
|
+
const state = argsOrState;
|
|
28
|
+
inputs["apiKeys"] = state ? state.apiKeys : undefined;
|
|
29
|
+
inputs["applicationKeys"] = state ? state.applicationKeys : undefined;
|
|
30
|
+
inputs["description"] = state ? state.description : undefined;
|
|
31
|
+
inputs["name"] = state ? state.name : undefined;
|
|
32
|
+
inputs["publicId"] = state ? state.publicId : undefined;
|
|
33
|
+
inputs["settings"] = state ? state.settings : undefined;
|
|
34
|
+
inputs["users"] = state ? state.users : undefined;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
const args = argsOrState;
|
|
38
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
39
|
+
throw new Error("Missing required property 'name'");
|
|
40
|
+
}
|
|
41
|
+
inputs["name"] = args ? args.name : undefined;
|
|
42
|
+
inputs["apiKeys"] = undefined /*out*/;
|
|
43
|
+
inputs["applicationKeys"] = undefined /*out*/;
|
|
44
|
+
inputs["description"] = undefined /*out*/;
|
|
45
|
+
inputs["publicId"] = undefined /*out*/;
|
|
46
|
+
inputs["settings"] = undefined /*out*/;
|
|
47
|
+
inputs["users"] = undefined /*out*/;
|
|
48
|
+
}
|
|
49
|
+
if (!opts.version) {
|
|
50
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
51
|
+
}
|
|
52
|
+
super(ChildOrganization.__pulumiType, name, inputs, opts);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing ChildOrganization resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new ChildOrganization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of ChildOrganization. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === ChildOrganization.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.ChildOrganization = ChildOrganization;
|
|
78
|
+
/** @internal */
|
|
79
|
+
ChildOrganization.__pulumiType = 'datadog:index/childOrganization:ChildOrganization';
|
|
80
|
+
//# sourceMappingURL=childOrganization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"childOrganization.js","sourceRoot":"","sources":["../childOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAiExD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CA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