@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.
Files changed (67) hide show
  1. package/README.md +2 -2
  2. package/apiKey.d.ts +77 -0
  3. package/apiKey.js +76 -0
  4. package/apiKey.js.map +1 -0
  5. package/applicationKey.d.ts +77 -0
  6. package/applicationKey.js +76 -0
  7. package/applicationKey.js.map +1 -0
  8. package/aws/integrationLambdaArn.d.ts +3 -3
  9. package/aws/integrationLogCollection.d.ts +4 -4
  10. package/aws/integrationLogCollection.js +1 -1
  11. package/aws/integrationTagFilter.d.ts +4 -3
  12. package/aws/integrationTagFilter.js +1 -0
  13. package/aws/integrationTagFilter.js.map +1 -1
  14. package/childOrganization.d.ts +112 -0
  15. package/childOrganization.js +80 -0
  16. package/childOrganization.js.map +1 -0
  17. package/dashboard.d.ts +8 -8
  18. package/getApiKey.d.ts +46 -0
  19. package/getApiKey.js +35 -0
  20. package/getApiKey.js.map +1 -0
  21. package/getApplicationKey.d.ts +46 -0
  22. package/getApplicationKey.js +35 -0
  23. package/getApplicationKey.js.map +1 -0
  24. package/getDashboardList.d.ts +16 -0
  25. package/getDashboardList.js +16 -0
  26. package/getDashboardList.js.map +1 -1
  27. package/getMonitor.d.ts +5 -0
  28. package/getSecurityMonitoringFilters.d.ts +32 -0
  29. package/getSecurityMonitoringFilters.js +29 -0
  30. package/getSecurityMonitoringFilters.js.map +1 -0
  31. package/getSyntheticsGlobalVariable.d.ts +31 -0
  32. package/getSyntheticsGlobalVariable.js +22 -0
  33. package/getSyntheticsGlobalVariable.js.map +1 -0
  34. package/getUser.d.ts +35 -0
  35. package/getUser.js +22 -0
  36. package/getUser.js.map +1 -0
  37. package/index.d.ts +10 -0
  38. package/index.js +30 -0
  39. package/index.js.map +1 -1
  40. package/logsIndex.d.ts +12 -36
  41. package/logsIndex.js +2 -36
  42. package/logsIndex.js.map +1 -1
  43. package/monitor.d.ts +30 -3
  44. package/monitor.js +2 -0
  45. package/monitor.js.map +1 -1
  46. package/organizationSettings.d.ts +98 -0
  47. package/organizationSettings.js +77 -0
  48. package/organizationSettings.js.map +1 -0
  49. package/package.json +2 -2
  50. package/package.json.dev +1 -1
  51. package/securityMonitoringFilter.d.ts +139 -0
  52. package/securityMonitoringFilter.js +103 -0
  53. package/securityMonitoringFilter.js.map +1 -0
  54. package/securityMonitoringRule.d.ts +26 -0
  55. package/securityMonitoringRule.js +6 -0
  56. package/securityMonitoringRule.js.map +1 -1
  57. package/slack/channel.d.ts +9 -1
  58. package/slack/channel.js +9 -1
  59. package/slack/channel.js.map +1 -1
  60. package/syntheticsGlobalVariable.d.ts +15 -3
  61. package/syntheticsGlobalVariable.js +2 -0
  62. package/syntheticsGlobalVariable.js.map +1 -1
  63. package/syntheticsTest.d.ts +160 -82
  64. package/syntheticsTest.js +157 -79
  65. package/syntheticsTest.js.map +1 -1
  66. package/types/input.d.ts +567 -5
  67. package/types/output.d.ts +591 -5
package/dashboard.d.ts CHANGED
@@ -720,11 +720,11 @@ export declare class Dashboard extends pulumi.CustomResource {
720
720
  */
721
721
  static isInstance(obj: any): obj is Dashboard;
722
722
  /**
723
- * The list of dashboard lists this dashboard belongs to.
723
+ * A list of dashboard lists this dashboard belongs to.
724
724
  */
725
725
  readonly dashboardLists: pulumi.Output<number[] | undefined>;
726
726
  /**
727
- * The list of dashboard lists this dashboard should be removed from. Internal only.
727
+ * A list of dashboard lists this dashboard should be removed from. Internal only.
728
728
  */
729
729
  readonly dashboardListsRemoveds: pulumi.Output<number[]>;
730
730
  /**
@@ -740,7 +740,7 @@ export declare class Dashboard extends pulumi.CustomResource {
740
740
  */
741
741
  readonly layoutType: pulumi.Output<string>;
742
742
  /**
743
- * The list of handles of users to notify when changes are made to this dashboard.
743
+ * The list of handles for the users to notify when changes are made to this dashboard.
744
744
  */
745
745
  readonly notifyLists: pulumi.Output<string[] | undefined>;
746
746
  /**
@@ -785,11 +785,11 @@ export declare class Dashboard extends pulumi.CustomResource {
785
785
  */
786
786
  export interface DashboardState {
787
787
  /**
788
- * The list of dashboard lists this dashboard belongs to.
788
+ * A list of dashboard lists this dashboard belongs to.
789
789
  */
790
790
  dashboardLists?: pulumi.Input<pulumi.Input<number>[]>;
791
791
  /**
792
- * The list of dashboard lists this dashboard should be removed from. Internal only.
792
+ * A list of dashboard lists this dashboard should be removed from. Internal only.
793
793
  */
794
794
  dashboardListsRemoveds?: pulumi.Input<pulumi.Input<number>[]>;
795
795
  /**
@@ -805,7 +805,7 @@ export interface DashboardState {
805
805
  */
806
806
  layoutType?: pulumi.Input<string>;
807
807
  /**
808
- * The list of handles of users to notify when changes are made to this dashboard.
808
+ * The list of handles for the users to notify when changes are made to this dashboard.
809
809
  */
810
810
  notifyLists?: pulumi.Input<pulumi.Input<string>[]>;
811
811
  /**
@@ -842,7 +842,7 @@ export interface DashboardState {
842
842
  */
843
843
  export interface DashboardArgs {
844
844
  /**
845
- * The list of dashboard lists this dashboard belongs to.
845
+ * A list of dashboard lists this dashboard belongs to.
846
846
  */
847
847
  dashboardLists?: pulumi.Input<pulumi.Input<number>[]>;
848
848
  /**
@@ -858,7 +858,7 @@ export interface DashboardArgs {
858
858
  */
859
859
  layoutType: pulumi.Input<string>;
860
860
  /**
861
- * The list of handles of users to notify when changes are made to this dashboard.
861
+ * The list of handles for the users to notify when changes are made to this dashboard.
862
862
  */
863
863
  notifyLists?: pulumi.Input<pulumi.Input<string>[]>;
864
864
  /**
package/getApiKey.d.ts ADDED
@@ -0,0 +1,46 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve information about an existing api key.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as datadog from "@pulumi/datadog";
10
+ *
11
+ * const foo = pulumi.output(datadog.getApiKey({
12
+ * name: "foo-application",
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function getApiKey(args?: GetApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetApiKeyResult>;
17
+ /**
18
+ * A collection of arguments for invoking getApiKey.
19
+ */
20
+ export interface GetApiKeyArgs {
21
+ /**
22
+ * Id for API Key.
23
+ */
24
+ id?: string;
25
+ /**
26
+ * Name for API Key.
27
+ */
28
+ name?: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getApiKey.
32
+ */
33
+ export interface GetApiKeyResult {
34
+ /**
35
+ * Id for API Key.
36
+ */
37
+ readonly id?: string;
38
+ /**
39
+ * The value of the API Key.
40
+ */
41
+ readonly key: string;
42
+ /**
43
+ * Name for API Key.
44
+ */
45
+ readonly name?: string;
46
+ }
package/getApiKey.js ADDED
@@ -0,0 +1,35 @@
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
+ * Use this data source to retrieve information about an existing api key.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as datadog from "@pulumi/datadog";
15
+ *
16
+ * const foo = pulumi.output(datadog.getApiKey({
17
+ * name: "foo-application",
18
+ * }));
19
+ * ```
20
+ */
21
+ function getApiKey(args, opts) {
22
+ args = args || {};
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ if (!opts.version) {
27
+ opts.version = utilities.getVersion();
28
+ }
29
+ return pulumi.runtime.invoke("datadog:index/getApiKey:getApiKey", {
30
+ "id": args.id,
31
+ "name": args.name,
32
+ }, opts);
33
+ }
34
+ exports.getApiKey = getApiKey;
35
+ //# sourceMappingURL=getApiKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApiKey.js","sourceRoot":"","sources":["../getApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,8BAaC"}
@@ -0,0 +1,46 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve information about an existing application key.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as datadog from "@pulumi/datadog";
10
+ *
11
+ * const foo = pulumi.output(datadog.getApplicationKey({
12
+ * name: "foo-application",
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function getApplicationKey(args?: GetApplicationKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationKeyResult>;
17
+ /**
18
+ * A collection of arguments for invoking getApplicationKey.
19
+ */
20
+ export interface GetApplicationKeyArgs {
21
+ /**
22
+ * Id for Application Key.
23
+ */
24
+ id?: string;
25
+ /**
26
+ * Name for Application Key.
27
+ */
28
+ name?: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getApplicationKey.
32
+ */
33
+ export interface GetApplicationKeyResult {
34
+ /**
35
+ * Id for Application Key.
36
+ */
37
+ readonly id?: string;
38
+ /**
39
+ * The value of the Application Key.
40
+ */
41
+ readonly key: string;
42
+ /**
43
+ * Name for Application Key.
44
+ */
45
+ readonly name?: string;
46
+ }
@@ -0,0 +1,35 @@
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
+ * Use this data source to retrieve information about an existing application key.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as datadog from "@pulumi/datadog";
15
+ *
16
+ * const foo = pulumi.output(datadog.getApplicationKey({
17
+ * name: "foo-application",
18
+ * }));
19
+ * ```
20
+ */
21
+ function getApplicationKey(args, opts) {
22
+ args = args || {};
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ if (!opts.version) {
27
+ opts.version = utilities.getVersion();
28
+ }
29
+ return pulumi.runtime.invoke("datadog:index/getApplicationKey:getApplicationKey", {
30
+ "id": args.id,
31
+ "name": args.name,
32
+ }, opts);
33
+ }
34
+ exports.getApplicationKey = getApplicationKey;
35
+ //# sourceMappingURL=getApplicationKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApplicationKey.js","sourceRoot":"","sources":["../getApplicationKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,8CAaC"}
@@ -11,6 +11,22 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * const test = pulumi.output(datadog.getDashboardList({
12
12
  * name: "My super list",
13
13
  * }));
14
+ * // Create a dashboard and register it in the list above.
15
+ * const time = new datadog.Dashboard("time", {
16
+ * dashboardLists: [test.apply(test => Number.parseFloat(test.id))],
17
+ * description: "Created using the Datadog provider in Terraform",
18
+ * isReadOnly: true,
19
+ * layoutType: "ordered",
20
+ * title: "TF Test Layout Dashboard",
21
+ * widgets: [{
22
+ * alertGraphDefinition: {
23
+ * alertId: "1234",
24
+ * liveSpan: "1h",
25
+ * title: "Widget Title",
26
+ * vizType: "timeseries",
27
+ * },
28
+ * }],
29
+ * });
14
30
  * ```
15
31
  */
16
32
  export declare function getDashboardList(args: GetDashboardListArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardListResult>;
@@ -16,6 +16,22 @@ const utilities = require("./utilities");
16
16
  * const test = pulumi.output(datadog.getDashboardList({
17
17
  * name: "My super list",
18
18
  * }));
19
+ * // Create a dashboard and register it in the list above.
20
+ * const time = new datadog.Dashboard("time", {
21
+ * dashboardLists: [test.apply(test => Number.parseFloat(test.id))],
22
+ * description: "Created using the Datadog provider in Terraform",
23
+ * isReadOnly: true,
24
+ * layoutType: "ordered",
25
+ * title: "TF Test Layout Dashboard",
26
+ * widgets: [{
27
+ * alertGraphDefinition: {
28
+ * alertId: "1234",
29
+ * liveSpan: "1h",
30
+ * title: "Widget Title",
31
+ * vizType: "timeseries",
32
+ * },
33
+ * }],
34
+ * });
19
35
  * ```
20
36
  */
21
37
  function getDashboardList(args, opts) {
@@ -1 +1 @@
1
- {"version":3,"file":"getDashboardList.js","sourceRoot":"","sources":["../getDashboardList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC"}
1
+ {"version":3,"file":"getDashboardList.js","sourceRoot":"","sources":["../getDashboardList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC"}
package/getMonitor.d.ts CHANGED
@@ -89,6 +89,10 @@ export interface GetMonitorResult {
89
89
  * A monitor name to limit the search.
90
90
  */
91
91
  readonly nameFilter?: string;
92
+ /**
93
+ * Time (in seconds) to skip evaluations for new groups.
94
+ */
95
+ readonly newGroupDelay: number;
92
96
  /**
93
97
  * Time (in seconds) allowing a host to boot and applications to fully start before starting the evaluation of monitor results.
94
98
  */
@@ -117,6 +121,7 @@ export interface GetMonitorResult {
117
121
  * Whether or not the monitor needs a full window of data before it is evaluated.
118
122
  */
119
123
  readonly requireFullWindow: boolean;
124
+ readonly restrictedRoles: string[];
120
125
  /**
121
126
  * List of tags associated with the monitor.
122
127
  */
@@ -0,0 +1,32 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * Use this data source to retrieve information about existing security monitoring filters for use in other resources.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as datadog from "@pulumi/datadog";
11
+ *
12
+ * const test = pulumi.output(datadog.getSecurityMonitoringFilters());
13
+ * ```
14
+ */
15
+ export declare function getSecurityMonitoringFilters(opts?: pulumi.InvokeOptions): Promise<GetSecurityMonitoringFiltersResult>;
16
+ /**
17
+ * A collection of values returned by getSecurityMonitoringFilters.
18
+ */
19
+ export interface GetSecurityMonitoringFiltersResult {
20
+ /**
21
+ * List of filters.
22
+ */
23
+ readonly filters: outputs.GetSecurityMonitoringFiltersFilter[];
24
+ /**
25
+ * List of IDs of filters.
26
+ */
27
+ readonly filtersIds: string[];
28
+ /**
29
+ * The provider-assigned unique ID for this managed resource.
30
+ */
31
+ readonly id: string;
32
+ }
@@ -0,0 +1,29 @@
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
+ * Use this data source to retrieve information about existing security monitoring filters for use in other resources.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as datadog from "@pulumi/datadog";
15
+ *
16
+ * const test = pulumi.output(datadog.getSecurityMonitoringFilters());
17
+ * ```
18
+ */
19
+ function getSecurityMonitoringFilters(opts) {
20
+ if (!opts) {
21
+ opts = {};
22
+ }
23
+ if (!opts.version) {
24
+ opts.version = utilities.getVersion();
25
+ }
26
+ return pulumi.runtime.invoke("datadog:index/getSecurityMonitoringFilters:getSecurityMonitoringFilters", {}, opts);
27
+ }
28
+ exports.getSecurityMonitoringFilters = getSecurityMonitoringFilters;
29
+ //# sourceMappingURL=getSecurityMonitoringFilters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityMonitoringFilters.js","sourceRoot":"","sources":["../getSecurityMonitoringFilters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,4BAA4B,CAAC,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yEAAyE,EAAE,EACvG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oEAUC"}
@@ -0,0 +1,31 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve a Datadog Synthetics global variable (to be used in Synthetics tests).
4
+ */
5
+ export declare function getSyntheticsGlobalVariable(args: GetSyntheticsGlobalVariableArgs, opts?: pulumi.InvokeOptions): Promise<GetSyntheticsGlobalVariableResult>;
6
+ /**
7
+ * A collection of arguments for invoking getSyntheticsGlobalVariable.
8
+ */
9
+ export interface GetSyntheticsGlobalVariableArgs {
10
+ /**
11
+ * The synthetics global variable name to search for. Must only match one global variable.
12
+ */
13
+ name: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getSyntheticsGlobalVariable.
17
+ */
18
+ export interface GetSyntheticsGlobalVariableResult {
19
+ /**
20
+ * The provider-assigned unique ID for this managed resource.
21
+ */
22
+ readonly id: string;
23
+ /**
24
+ * The synthetics global variable name to search for. Must only match one global variable.
25
+ */
26
+ readonly name: string;
27
+ /**
28
+ * A list of tags assigned to the Synthetics global variable.
29
+ */
30
+ readonly tags: string[];
31
+ }
@@ -0,0 +1,22 @@
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
+ * Use this data source to retrieve a Datadog Synthetics global variable (to be used in Synthetics tests).
9
+ */
10
+ function getSyntheticsGlobalVariable(args, opts) {
11
+ if (!opts) {
12
+ opts = {};
13
+ }
14
+ if (!opts.version) {
15
+ opts.version = utilities.getVersion();
16
+ }
17
+ return pulumi.runtime.invoke("datadog:index/getSyntheticsGlobalVariable:getSyntheticsGlobalVariable", {
18
+ "name": args.name,
19
+ }, opts);
20
+ }
21
+ exports.getSyntheticsGlobalVariable = getSyntheticsGlobalVariable;
22
+ //# sourceMappingURL=getSyntheticsGlobalVariable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSyntheticsGlobalVariable.js","sourceRoot":"","sources":["../getSyntheticsGlobalVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kEAWC"}
package/getUser.d.ts ADDED
@@ -0,0 +1,35 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve information about an existing user to use it in an other resources.
4
+ */
5
+ export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
6
+ /**
7
+ * A collection of arguments for invoking getUser.
8
+ */
9
+ export interface GetUserArgs {
10
+ /**
11
+ * Filter all users by the given string.
12
+ */
13
+ filter: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getUser.
17
+ */
18
+ export interface GetUserResult {
19
+ /**
20
+ * Email of the user.
21
+ */
22
+ readonly email: string;
23
+ /**
24
+ * Filter all users by the given string.
25
+ */
26
+ readonly filter: string;
27
+ /**
28
+ * The provider-assigned unique ID for this managed resource.
29
+ */
30
+ readonly id: string;
31
+ /**
32
+ * Name of the user.
33
+ */
34
+ readonly name: string;
35
+ }
package/getUser.js ADDED
@@ -0,0 +1,22 @@
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
+ * Use this data source to retrieve information about an existing user to use it in an other resources.
9
+ */
10
+ function getUser(args, opts) {
11
+ if (!opts) {
12
+ opts = {};
13
+ }
14
+ if (!opts.version) {
15
+ opts.version = utilities.getVersion();
16
+ }
17
+ return pulumi.runtime.invoke("datadog:index/getUser:getUser", {
18
+ "filter": args.filter,
19
+ }, opts);
20
+ }
21
+ exports.getUser = getUser;
22
+ //# sourceMappingURL=getUser.js.map
package/getUser.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0BAWC"}
package/index.d.ts CHANGED
@@ -1,7 +1,12 @@
1
+ export * from "./apiKey";
2
+ export * from "./applicationKey";
3
+ export * from "./childOrganization";
1
4
  export * from "./dashboard";
2
5
  export * from "./dashboardJson";
3
6
  export * from "./dashboardList";
4
7
  export * from "./downtime";
8
+ export * from "./getApiKey";
9
+ export * from "./getApplicationKey";
5
10
  export * from "./getDashboard";
6
11
  export * from "./getDashboardList";
7
12
  export * from "./getIpRanges";
@@ -9,10 +14,13 @@ export * from "./getMonitor";
9
14
  export * from "./getMonitors";
10
15
  export * from "./getPermissions";
11
16
  export * from "./getRole";
17
+ export * from "./getSecurityMonitoringFilters";
12
18
  export * from "./getSecurityMonitoringRules";
13
19
  export * from "./getServiceLevelObjective";
14
20
  export * from "./getServiceLevelObjectives";
21
+ export * from "./getSyntheticsGlobalVariable";
15
22
  export * from "./getSyntheticsLocations";
23
+ export * from "./getUser";
16
24
  export * from "./logsArchive";
17
25
  export * from "./logsArchiveOrder";
18
26
  export * from "./logsCustomPipeline";
@@ -24,9 +32,11 @@ export * from "./logsPipelineOrder";
24
32
  export * from "./metricMetadata";
25
33
  export * from "./metricTagConfiguration";
26
34
  export * from "./monitor";
35
+ export * from "./organizationSettings";
27
36
  export * from "./provider";
28
37
  export * from "./role";
29
38
  export * from "./securityMonitoringDefaultRule";
39
+ export * from "./securityMonitoringFilter";
30
40
  export * from "./securityMonitoringRule";
31
41
  export * from "./serviceLevelObjective";
32
42
  export * from "./sloCorrection";
package/index.js CHANGED
@@ -8,10 +8,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
8
8
  const pulumi = require("@pulumi/pulumi");
9
9
  const utilities = require("./utilities");
10
10
  // Export members:
11
+ __export(require("./apiKey"));
12
+ __export(require("./applicationKey"));
13
+ __export(require("./childOrganization"));
11
14
  __export(require("./dashboard"));
12
15
  __export(require("./dashboardJson"));
13
16
  __export(require("./dashboardList"));
14
17
  __export(require("./downtime"));
18
+ __export(require("./getApiKey"));
19
+ __export(require("./getApplicationKey"));
15
20
  __export(require("./getDashboard"));
16
21
  __export(require("./getDashboardList"));
17
22
  __export(require("./getIpRanges"));
@@ -19,10 +24,13 @@ __export(require("./getMonitor"));
19
24
  __export(require("./getMonitors"));
20
25
  __export(require("./getPermissions"));
21
26
  __export(require("./getRole"));
27
+ __export(require("./getSecurityMonitoringFilters"));
22
28
  __export(require("./getSecurityMonitoringRules"));
23
29
  __export(require("./getServiceLevelObjective"));
24
30
  __export(require("./getServiceLevelObjectives"));
31
+ __export(require("./getSyntheticsGlobalVariable"));
25
32
  __export(require("./getSyntheticsLocations"));
33
+ __export(require("./getUser"));
26
34
  __export(require("./logsArchive"));
27
35
  __export(require("./logsArchiveOrder"));
28
36
  __export(require("./logsCustomPipeline"));
@@ -34,9 +42,11 @@ __export(require("./logsPipelineOrder"));
34
42
  __export(require("./metricMetadata"));
35
43
  __export(require("./metricTagConfiguration"));
36
44
  __export(require("./monitor"));
45
+ __export(require("./organizationSettings"));
37
46
  __export(require("./provider"));
38
47
  __export(require("./role"));
39
48
  __export(require("./securityMonitoringDefaultRule"));
49
+ __export(require("./securityMonitoringFilter"));
40
50
  __export(require("./securityMonitoringRule"));
41
51
  __export(require("./serviceLevelObjective"));
42
52
  __export(require("./sloCorrection"));
@@ -60,6 +70,9 @@ exports.slack = slack;
60
70
  const types = require("./types");
61
71
  exports.types = types;
62
72
  // Import resources to register:
73
+ const apiKey_1 = require("./apiKey");
74
+ const applicationKey_1 = require("./applicationKey");
75
+ const childOrganization_1 = require("./childOrganization");
63
76
  const dashboard_1 = require("./dashboard");
64
77
  const dashboardJson_1 = require("./dashboardJson");
65
78
  const dashboardList_1 = require("./dashboardList");
@@ -75,8 +88,10 @@ const logsPipelineOrder_1 = require("./logsPipelineOrder");
75
88
  const metricMetadata_1 = require("./metricMetadata");
76
89
  const metricTagConfiguration_1 = require("./metricTagConfiguration");
77
90
  const monitor_1 = require("./monitor");
91
+ const organizationSettings_1 = require("./organizationSettings");
78
92
  const role_1 = require("./role");
79
93
  const securityMonitoringDefaultRule_1 = require("./securityMonitoringDefaultRule");
94
+ const securityMonitoringFilter_1 = require("./securityMonitoringFilter");
80
95
  const securityMonitoringRule_1 = require("./securityMonitoringRule");
81
96
  const serviceLevelObjective_1 = require("./serviceLevelObjective");
82
97
  const sloCorrection_1 = require("./sloCorrection");
@@ -88,6 +103,12 @@ const _module = {
88
103
  version: utilities.getVersion(),
89
104
  construct: (name, type, urn) => {
90
105
  switch (type) {
106
+ case "datadog:index/apiKey:ApiKey":
107
+ return new apiKey_1.ApiKey(name, undefined, { urn });
108
+ case "datadog:index/applicationKey:ApplicationKey":
109
+ return new applicationKey_1.ApplicationKey(name, undefined, { urn });
110
+ case "datadog:index/childOrganization:ChildOrganization":
111
+ return new childOrganization_1.ChildOrganization(name, undefined, { urn });
91
112
  case "datadog:index/dashboard:Dashboard":
92
113
  return new dashboard_1.Dashboard(name, undefined, { urn });
93
114
  case "datadog:index/dashboardJson:DashboardJson":
@@ -118,10 +139,14 @@ const _module = {
118
139
  return new metricTagConfiguration_1.MetricTagConfiguration(name, undefined, { urn });
119
140
  case "datadog:index/monitor:Monitor":
120
141
  return new monitor_1.Monitor(name, undefined, { urn });
142
+ case "datadog:index/organizationSettings:OrganizationSettings":
143
+ return new organizationSettings_1.OrganizationSettings(name, undefined, { urn });
121
144
  case "datadog:index/role:Role":
122
145
  return new role_1.Role(name, undefined, { urn });
123
146
  case "datadog:index/securityMonitoringDefaultRule:SecurityMonitoringDefaultRule":
124
147
  return new securityMonitoringDefaultRule_1.SecurityMonitoringDefaultRule(name, undefined, { urn });
148
+ case "datadog:index/securityMonitoringFilter:SecurityMonitoringFilter":
149
+ return new securityMonitoringFilter_1.SecurityMonitoringFilter(name, undefined, { urn });
125
150
  case "datadog:index/securityMonitoringRule:SecurityMonitoringRule":
126
151
  return new securityMonitoringRule_1.SecurityMonitoringRule(name, undefined, { urn });
127
152
  case "datadog:index/serviceLevelObjective:ServiceLevelObjective":
@@ -141,6 +166,9 @@ const _module = {
141
166
  }
142
167
  },
143
168
  };
169
+ pulumi.runtime.registerResourceModule("datadog", "index/apiKey", _module);
170
+ pulumi.runtime.registerResourceModule("datadog", "index/applicationKey", _module);
171
+ pulumi.runtime.registerResourceModule("datadog", "index/childOrganization", _module);
144
172
  pulumi.runtime.registerResourceModule("datadog", "index/dashboard", _module);
145
173
  pulumi.runtime.registerResourceModule("datadog", "index/dashboardJson", _module);
146
174
  pulumi.runtime.registerResourceModule("datadog", "index/dashboardList", _module);
@@ -156,8 +184,10 @@ pulumi.runtime.registerResourceModule("datadog", "index/logsPipelineOrder", _mod
156
184
  pulumi.runtime.registerResourceModule("datadog", "index/metricMetadata", _module);
157
185
  pulumi.runtime.registerResourceModule("datadog", "index/metricTagConfiguration", _module);
158
186
  pulumi.runtime.registerResourceModule("datadog", "index/monitor", _module);
187
+ pulumi.runtime.registerResourceModule("datadog", "index/organizationSettings", _module);
159
188
  pulumi.runtime.registerResourceModule("datadog", "index/role", _module);
160
189
  pulumi.runtime.registerResourceModule("datadog", "index/securityMonitoringDefaultRule", _module);
190
+ pulumi.runtime.registerResourceModule("datadog", "index/securityMonitoringFilter", _module);
161
191
  pulumi.runtime.registerResourceModule("datadog", "index/securityMonitoringRule", _module);
162
192
  pulumi.runtime.registerResourceModule("datadog", "index/serviceLevelObjective", _module);
163
193
  pulumi.runtime.registerResourceModule("datadog", "index/sloCorrection", _module);