@pulumi/datadog 4.63.0-alpha.1768973818 → 4.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/cloudInventorySyncConfig.d.ts +139 -0
  2. package/cloudInventorySyncConfig.js +111 -0
  3. package/cloudInventorySyncConfig.js.map +1 -0
  4. package/gcp/integrationSts.d.ts +24 -0
  5. package/gcp/integrationSts.js +4 -0
  6. package/gcp/integrationSts.js.map +1 -1
  7. package/getOrganizationSettings.d.ts +54 -0
  8. package/getOrganizationSettings.js +30 -0
  9. package/getOrganizationSettings.js.map +1 -0
  10. package/getServiceLevelObjective.d.ts +4 -0
  11. package/getServiceLevelObjective.js.map +1 -1
  12. package/getTeamNotificationRule.d.ts +128 -0
  13. package/getTeamNotificationRule.js +64 -0
  14. package/getTeamNotificationRule.js.map +1 -0
  15. package/getTeamNotificationRules.d.ts +78 -0
  16. package/getTeamNotificationRules.js +54 -0
  17. package/getTeamNotificationRules.js.map +1 -0
  18. package/index.d.ts +21 -0
  19. package/index.js +34 -5
  20. package/index.js.map +1 -1
  21. package/metricTagConfiguration.d.ts +9 -13
  22. package/metricTagConfiguration.js +0 -10
  23. package/metricTagConfiguration.js.map +1 -1
  24. package/onCallUserNotificationChannel.d.ts +59 -0
  25. package/onCallUserNotificationChannel.js +59 -0
  26. package/onCallUserNotificationChannel.js.map +1 -0
  27. package/onCallUserNotificationRule.d.ts +92 -0
  28. package/onCallUserNotificationRule.js +72 -0
  29. package/onCallUserNotificationRule.js.map +1 -0
  30. package/package.json +2 -2
  31. package/powerpack.d.ts +3 -3
  32. package/syntheticsGlobalVariable.d.ts +30 -21
  33. package/syntheticsGlobalVariable.js +5 -19
  34. package/syntheticsGlobalVariable.js.map +1 -1
  35. package/teamNotificationRule.d.ts +141 -0
  36. package/teamNotificationRule.js +103 -0
  37. package/teamNotificationRule.js.map +1 -0
  38. package/types/input.d.ts +865 -7
  39. package/types/output.d.ts +717 -7
@@ -33,16 +33,6 @@ const utilities = require("./utilities");
33
33
  * "datacenter",
34
34
  * ],
35
35
  * excludeTagsMode: false,
36
- * aggregations: [
37
- * {
38
- * time: "avg",
39
- * space: "min",
40
- * },
41
- * {
42
- * time: "avg",
43
- * space: "max",
44
- * },
45
- * ],
46
36
  * });
47
37
  * ```
48
38
  *
@@ -1 +1 @@
1
- {"version":3,"file":"metricTagConfiguration.js","sourceRoot":"","sources":["../metricTagConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,iBAAiB,CAAC,GAAG,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DAA6D,CAAC"}
@@ -0,0 +1,59 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides a Datadog On-Call user notification channel resource.
6
+ */
7
+ export declare class OnCallUserNotificationChannel extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing OnCallUserNotificationChannel resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param state Any extra arguments used during the lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OnCallUserNotificationChannelState, opts?: pulumi.CustomResourceOptions): OnCallUserNotificationChannel;
18
+ /**
19
+ * Returns true if the given object is an instance of OnCallUserNotificationChannel. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is OnCallUserNotificationChannel;
23
+ readonly email: pulumi.Output<outputs.OnCallUserNotificationChannelEmail | undefined>;
24
+ readonly phone: pulumi.Output<outputs.OnCallUserNotificationChannelPhone | undefined>;
25
+ /**
26
+ * ID of the user to associate the notification channel with.
27
+ */
28
+ readonly userId: pulumi.Output<string>;
29
+ /**
30
+ * Create a OnCallUserNotificationChannel resource with the given unique name, arguments, and options.
31
+ *
32
+ * @param name The _unique_ name of the resource.
33
+ * @param args The arguments to use to populate this resource's properties.
34
+ * @param opts A bag of options that control this resource's behavior.
35
+ */
36
+ constructor(name: string, args: OnCallUserNotificationChannelArgs, opts?: pulumi.CustomResourceOptions);
37
+ }
38
+ /**
39
+ * Input properties used for looking up and filtering OnCallUserNotificationChannel resources.
40
+ */
41
+ export interface OnCallUserNotificationChannelState {
42
+ email?: pulumi.Input<inputs.OnCallUserNotificationChannelEmail>;
43
+ phone?: pulumi.Input<inputs.OnCallUserNotificationChannelPhone>;
44
+ /**
45
+ * ID of the user to associate the notification channel with.
46
+ */
47
+ userId?: pulumi.Input<string>;
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a OnCallUserNotificationChannel resource.
51
+ */
52
+ export interface OnCallUserNotificationChannelArgs {
53
+ email?: pulumi.Input<inputs.OnCallUserNotificationChannelEmail>;
54
+ phone?: pulumi.Input<inputs.OnCallUserNotificationChannelPhone>;
55
+ /**
56
+ * ID of the user to associate the notification channel with.
57
+ */
58
+ userId: pulumi.Input<string>;
59
+ }
@@ -0,0 +1,59 @@
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.OnCallUserNotificationChannel = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Datadog On-Call user notification channel resource.
10
+ */
11
+ class OnCallUserNotificationChannel extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing OnCallUserNotificationChannel resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, state, opts) {
22
+ return new OnCallUserNotificationChannel(name, state, { ...opts, id: id });
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of OnCallUserNotificationChannel. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === OnCallUserNotificationChannel.__pulumiType;
33
+ }
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["email"] = state?.email;
40
+ resourceInputs["phone"] = state?.phone;
41
+ resourceInputs["userId"] = state?.userId;
42
+ }
43
+ else {
44
+ const args = argsOrState;
45
+ if (args?.userId === undefined && !opts.urn) {
46
+ throw new Error("Missing required property 'userId'");
47
+ }
48
+ resourceInputs["email"] = args?.email;
49
+ resourceInputs["phone"] = args?.phone;
50
+ resourceInputs["userId"] = args?.userId;
51
+ }
52
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
53
+ super(OnCallUserNotificationChannel.__pulumiType, name, resourceInputs, opts);
54
+ }
55
+ }
56
+ exports.OnCallUserNotificationChannel = OnCallUserNotificationChannel;
57
+ /** @internal */
58
+ OnCallUserNotificationChannel.__pulumiType = 'datadog:index/onCallUserNotificationChannel:OnCallUserNotificationChannel';
59
+ //# sourceMappingURL=onCallUserNotificationChannel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onCallUserNotificationChannel.js","sourceRoot":"","sources":["../onCallUserNotificationChannel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;IAiBD,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6D,CAAC;YAC5E,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAA4D,CAAC;YAC1E,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AA9DL,sEA+DC;AAjDG,gBAAgB;AACO,0CAAY,GAAG,2EAA2E,CAAC"}
@@ -0,0 +1,92 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides a Datadog On-Call user notification rule resource.
6
+ */
7
+ export declare class OnCallUserNotificationRule extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing OnCallUserNotificationRule resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param state Any extra arguments used during the lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OnCallUserNotificationRuleState, opts?: pulumi.CustomResourceOptions): OnCallUserNotificationRule;
18
+ /**
19
+ * Returns true if the given object is an instance of OnCallUserNotificationRule. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is OnCallUserNotificationRule;
23
+ /**
24
+ * Notification category to associate the rule with. Valid values are `highUrgency`, `lowUrgency`.
25
+ */
26
+ readonly category: pulumi.Output<string>;
27
+ /**
28
+ * ID of the notification channel to associate the notification rule with.
29
+ */
30
+ readonly channelId: pulumi.Output<string>;
31
+ /**
32
+ * Number of minutes to elapse before this rule is evaluated. `0` indicates immediate evaluation.
33
+ */
34
+ readonly delayMinutes: pulumi.Output<number>;
35
+ readonly phone: pulumi.Output<outputs.OnCallUserNotificationRulePhone | undefined>;
36
+ /**
37
+ * ID of the user to associate the notification rule with.
38
+ */
39
+ readonly userId: pulumi.Output<string>;
40
+ /**
41
+ * Create a OnCallUserNotificationRule 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: OnCallUserNotificationRuleArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * Input properties used for looking up and filtering OnCallUserNotificationRule resources.
51
+ */
52
+ export interface OnCallUserNotificationRuleState {
53
+ /**
54
+ * Notification category to associate the rule with. Valid values are `highUrgency`, `lowUrgency`.
55
+ */
56
+ category?: pulumi.Input<string>;
57
+ /**
58
+ * ID of the notification channel to associate the notification rule with.
59
+ */
60
+ channelId?: pulumi.Input<string>;
61
+ /**
62
+ * Number of minutes to elapse before this rule is evaluated. `0` indicates immediate evaluation.
63
+ */
64
+ delayMinutes?: pulumi.Input<number>;
65
+ phone?: pulumi.Input<inputs.OnCallUserNotificationRulePhone>;
66
+ /**
67
+ * ID of the user to associate the notification rule with.
68
+ */
69
+ userId?: pulumi.Input<string>;
70
+ }
71
+ /**
72
+ * The set of arguments for constructing a OnCallUserNotificationRule resource.
73
+ */
74
+ export interface OnCallUserNotificationRuleArgs {
75
+ /**
76
+ * Notification category to associate the rule with. Valid values are `highUrgency`, `lowUrgency`.
77
+ */
78
+ category: pulumi.Input<string>;
79
+ /**
80
+ * ID of the notification channel to associate the notification rule with.
81
+ */
82
+ channelId: pulumi.Input<string>;
83
+ /**
84
+ * Number of minutes to elapse before this rule is evaluated. `0` indicates immediate evaluation.
85
+ */
86
+ delayMinutes: pulumi.Input<number>;
87
+ phone?: pulumi.Input<inputs.OnCallUserNotificationRulePhone>;
88
+ /**
89
+ * ID of the user to associate the notification rule with.
90
+ */
91
+ userId: pulumi.Input<string>;
92
+ }
@@ -0,0 +1,72 @@
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.OnCallUserNotificationRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Datadog On-Call user notification rule resource.
10
+ */
11
+ class OnCallUserNotificationRule extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing OnCallUserNotificationRule resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, state, opts) {
22
+ return new OnCallUserNotificationRule(name, state, { ...opts, id: id });
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of OnCallUserNotificationRule. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === OnCallUserNotificationRule.__pulumiType;
33
+ }
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["category"] = state?.category;
40
+ resourceInputs["channelId"] = state?.channelId;
41
+ resourceInputs["delayMinutes"] = state?.delayMinutes;
42
+ resourceInputs["phone"] = state?.phone;
43
+ resourceInputs["userId"] = state?.userId;
44
+ }
45
+ else {
46
+ const args = argsOrState;
47
+ if (args?.category === undefined && !opts.urn) {
48
+ throw new Error("Missing required property 'category'");
49
+ }
50
+ if (args?.channelId === undefined && !opts.urn) {
51
+ throw new Error("Missing required property 'channelId'");
52
+ }
53
+ if (args?.delayMinutes === undefined && !opts.urn) {
54
+ throw new Error("Missing required property 'delayMinutes'");
55
+ }
56
+ if (args?.userId === undefined && !opts.urn) {
57
+ throw new Error("Missing required property 'userId'");
58
+ }
59
+ resourceInputs["category"] = args?.category;
60
+ resourceInputs["channelId"] = args?.channelId;
61
+ resourceInputs["delayMinutes"] = args?.delayMinutes;
62
+ resourceInputs["phone"] = args?.phone;
63
+ resourceInputs["userId"] = args?.userId;
64
+ }
65
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
66
+ super(OnCallUserNotificationRule.__pulumiType, name, resourceInputs, opts);
67
+ }
68
+ }
69
+ exports.OnCallUserNotificationRule = OnCallUserNotificationRule;
70
+ /** @internal */
71
+ OnCallUserNotificationRule.__pulumiType = 'datadog:index/onCallUserNotificationRule:OnCallUserNotificationRule';
72
+ //# sourceMappingURL=onCallUserNotificationRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onCallUser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AC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAtFL,gEAuFC;AAzEG,gBAAgB;AACO,uCAAY,GAAG,qEAAqE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/datadog",
3
- "version": "4.63.0-alpha.1768973818",
3
+ "version": "4.63.0",
4
4
  "description": "A Pulumi package for creating and managing Datadog resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -22,6 +22,6 @@
22
22
  "pulumi": {
23
23
  "resource": true,
24
24
  "name": "datadog",
25
- "version": "4.63.0-alpha.1768973818"
25
+ "version": "4.63.0"
26
26
  }
27
27
  }
package/powerpack.d.ts CHANGED
@@ -69,7 +69,7 @@ export declare class Powerpack extends pulumi.CustomResource {
69
69
  */
70
70
  readonly layout: pulumi.Output<outputs.PowerpackLayout>;
71
71
  /**
72
- * The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`.
72
+ * The timeframe to use when displaying the powerpack. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`.
73
73
  */
74
74
  readonly liveSpan: pulumi.Output<string | undefined>;
75
75
  /**
@@ -114,7 +114,7 @@ export interface PowerpackState {
114
114
  */
115
115
  layout?: pulumi.Input<inputs.PowerpackLayout>;
116
116
  /**
117
- * The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`.
117
+ * The timeframe to use when displaying the powerpack. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`.
118
118
  */
119
119
  liveSpan?: pulumi.Input<string>;
120
120
  /**
@@ -151,7 +151,7 @@ export interface PowerpackArgs {
151
151
  */
152
152
  layout?: pulumi.Input<inputs.PowerpackLayout>;
153
153
  /**
154
- * The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`.
154
+ * The timeframe to use when displaying the powerpack. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`.
155
155
  */
156
156
  liveSpan?: pulumi.Input<string>;
157
157
  /**
@@ -4,24 +4,6 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * Provides a Datadog synthetics global variable resource. This can be used to create and manage Datadog synthetics global variables.
6
6
  *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as datadog from "@pulumi/datadog";
12
- *
13
- * // Create new synthetics_global_variable resource
14
- * const testVariable = new datadog.SyntheticsGlobalVariable("test_variable", {
15
- * name: "EXAMPLE_VARIABLE",
16
- * description: "Description of the variable",
17
- * tags: [
18
- * "foo:bar",
19
- * "env:test",
20
- * ],
21
- * value: "variable-value",
22
- * });
23
- * ```
24
- *
25
7
  * ## Import
26
8
  *
27
9
  * The `pulumi import` command can be used, for example:
@@ -91,9 +73,18 @@ export declare class SyntheticsGlobalVariable extends pulumi.CustomResource {
91
73
  */
92
74
  readonly tags: pulumi.Output<string[]>;
93
75
  /**
94
- * The value of the global variable. Required unless `isFido` is set to `true`.
76
+ * The value of the global variable. Required unless `isFido` is set to `true` or `valueWo` is used
95
77
  */
96
78
  readonly value: pulumi.Output<string | undefined>;
79
+ /**
80
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
81
+ * Write-only value of the global variable. Must be used with `valueWoVersion`.
82
+ */
83
+ readonly valueWo: pulumi.Output<string | undefined>;
84
+ /**
85
+ * Version associated with the write-only value. Changing this triggers an update. Can be any string (e.g., '1', 'v2.1', '2024-Q1'). String length must be at least 1.
86
+ */
87
+ readonly valueWoVersion: pulumi.Output<string | undefined>;
97
88
  /**
98
89
  * Create a SyntheticsGlobalVariable resource with the given unique name, arguments, and options.
99
90
  *
@@ -150,9 +141,18 @@ export interface SyntheticsGlobalVariableState {
150
141
  */
151
142
  tags?: pulumi.Input<pulumi.Input<string>[]>;
152
143
  /**
153
- * The value of the global variable. Required unless `isFido` is set to `true`.
144
+ * The value of the global variable. Required unless `isFido` is set to `true` or `valueWo` is used
154
145
  */
155
146
  value?: pulumi.Input<string>;
147
+ /**
148
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
149
+ * Write-only value of the global variable. Must be used with `valueWoVersion`.
150
+ */
151
+ valueWo?: pulumi.Input<string>;
152
+ /**
153
+ * Version associated with the write-only value. Changing this triggers an update. Can be any string (e.g., '1', 'v2.1', '2024-Q1'). String length must be at least 1.
154
+ */
155
+ valueWoVersion?: pulumi.Input<string>;
156
156
  }
157
157
  /**
158
158
  * The set of arguments for constructing a SyntheticsGlobalVariable resource.
@@ -201,7 +201,16 @@ export interface SyntheticsGlobalVariableArgs {
201
201
  */
202
202
  tags?: pulumi.Input<pulumi.Input<string>[]>;
203
203
  /**
204
- * The value of the global variable. Required unless `isFido` is set to `true`.
204
+ * The value of the global variable. Required unless `isFido` is set to `true` or `valueWo` is used
205
205
  */
206
206
  value?: pulumi.Input<string>;
207
+ /**
208
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
209
+ * Write-only value of the global variable. Must be used with `valueWoVersion`.
210
+ */
211
+ valueWo?: pulumi.Input<string>;
212
+ /**
213
+ * Version associated with the write-only value. Changing this triggers an update. Can be any string (e.g., '1', 'v2.1', '2024-Q1'). String length must be at least 1.
214
+ */
215
+ valueWoVersion?: pulumi.Input<string>;
207
216
  }
@@ -8,24 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * Provides a Datadog synthetics global variable resource. This can be used to create and manage Datadog synthetics global variables.
10
10
  *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as datadog from "@pulumi/datadog";
16
- *
17
- * // Create new synthetics_global_variable resource
18
- * const testVariable = new datadog.SyntheticsGlobalVariable("test_variable", {
19
- * name: "EXAMPLE_VARIABLE",
20
- * description: "Description of the variable",
21
- * tags: [
22
- * "foo:bar",
23
- * "env:test",
24
- * ],
25
- * value: "variable-value",
26
- * });
27
- * ```
28
- *
29
11
  * ## Import
30
12
  *
31
13
  * The `pulumi import` command can be used, for example:
@@ -75,6 +57,8 @@ class SyntheticsGlobalVariable extends pulumi.CustomResource {
75
57
  resourceInputs["secure"] = state?.secure;
76
58
  resourceInputs["tags"] = state?.tags;
77
59
  resourceInputs["value"] = state?.value;
60
+ resourceInputs["valueWo"] = state?.valueWo;
61
+ resourceInputs["valueWoVersion"] = state?.valueWoVersion;
78
62
  }
79
63
  else {
80
64
  const args = argsOrState;
@@ -92,9 +76,11 @@ class SyntheticsGlobalVariable extends pulumi.CustomResource {
92
76
  resourceInputs["secure"] = args?.secure;
93
77
  resourceInputs["tags"] = args?.tags;
94
78
  resourceInputs["value"] = args?.value ? pulumi.secret(args.value) : undefined;
79
+ resourceInputs["valueWo"] = args?.valueWo ? pulumi.secret(args.valueWo) : undefined;
80
+ resourceInputs["valueWoVersion"] = args?.valueWoVersion;
95
81
  }
96
82
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
- const secretOpts = { additionalSecretOutputs: ["value"] };
83
+ const secretOpts = { additionalSecretOutputs: ["value", "valueWo"] };
98
84
  opts = pulumi.mergeOptions(opts, secretOpts);
99
85
  super(SyntheticsGlobalVariable.__pulumiType, name, resourceInputs, opts);
100
86
  }
@@ -1 +1 @@
1
- {"version":3,"file":"syntheticsGlobalVariable.js","sourceRoot":"","sources":["../syntheticsGlobalVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CA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AC5D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC;QACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AArIL,4DAsIC;AAxHG,gBAAgB;AACO,qCAAY,GAAG,iEAAiE,CAAC"}
@@ -0,0 +1,141 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides a Datadog team notification rule resource. This can be used to create and manage notification rules for Datadog teams.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as datadog from "@pulumi/datadog";
12
+ *
13
+ * // Create new team-notification-rule resource
14
+ * const foo = new datadog.Team("foo", {
15
+ * description: "Example team",
16
+ * handle: "example-team",
17
+ * name: "Example Team",
18
+ * });
19
+ * const fooTeamNotificationRule = new datadog.TeamNotificationRule("foo", {
20
+ * teamId: foo.id,
21
+ * email: [{
22
+ * enabled: true,
23
+ * }],
24
+ * msTeams: [{
25
+ * connectorName: "test-teams-handle",
26
+ * }],
27
+ * pagerduty: [{
28
+ * serviceName: "my-service",
29
+ * }],
30
+ * slack: [{
31
+ * channel: "#test-channel",
32
+ * workspace: "Datadog",
33
+ * }],
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * The `pulumi import` command can be used, for example:
40
+ *
41
+ * This resource is imported using team_id and rule_id separated by `:`.
42
+ *
43
+ * ```sh
44
+ * $ pulumi import datadog:index/teamNotificationRule:TeamNotificationRule foo "${team_id}:${rule_id}"
45
+ * ```
46
+ */
47
+ export declare class TeamNotificationRule extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing TeamNotificationRule resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamNotificationRuleState, opts?: pulumi.CustomResourceOptions): TeamNotificationRule;
58
+ /**
59
+ * Returns true if the given object is an instance of TeamNotificationRule. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj: any): obj is TeamNotificationRule;
63
+ /**
64
+ * The email notification settings.
65
+ */
66
+ readonly email: pulumi.Output<outputs.TeamNotificationRuleEmail | undefined>;
67
+ /**
68
+ * The MS Teams notification settings.
69
+ */
70
+ readonly msTeams: pulumi.Output<outputs.TeamNotificationRuleMsTeams | undefined>;
71
+ /**
72
+ * The PagerDuty notification settings.
73
+ */
74
+ readonly pagerduty: pulumi.Output<outputs.TeamNotificationRulePagerduty | undefined>;
75
+ /**
76
+ * The Slack notification settings.
77
+ */
78
+ readonly slack: pulumi.Output<outputs.TeamNotificationRuleSlack | undefined>;
79
+ /**
80
+ * The ID of the team that this notification rule belongs to.
81
+ */
82
+ readonly teamId: pulumi.Output<string>;
83
+ /**
84
+ * Create a TeamNotificationRule resource with the given unique name, arguments, and options.
85
+ *
86
+ * @param name The _unique_ name of the resource.
87
+ * @param args The arguments to use to populate this resource's properties.
88
+ * @param opts A bag of options that control this resource's behavior.
89
+ */
90
+ constructor(name: string, args: TeamNotificationRuleArgs, opts?: pulumi.CustomResourceOptions);
91
+ }
92
+ /**
93
+ * Input properties used for looking up and filtering TeamNotificationRule resources.
94
+ */
95
+ export interface TeamNotificationRuleState {
96
+ /**
97
+ * The email notification settings.
98
+ */
99
+ email?: pulumi.Input<inputs.TeamNotificationRuleEmail>;
100
+ /**
101
+ * The MS Teams notification settings.
102
+ */
103
+ msTeams?: pulumi.Input<inputs.TeamNotificationRuleMsTeams>;
104
+ /**
105
+ * The PagerDuty notification settings.
106
+ */
107
+ pagerduty?: pulumi.Input<inputs.TeamNotificationRulePagerduty>;
108
+ /**
109
+ * The Slack notification settings.
110
+ */
111
+ slack?: pulumi.Input<inputs.TeamNotificationRuleSlack>;
112
+ /**
113
+ * The ID of the team that this notification rule belongs to.
114
+ */
115
+ teamId?: pulumi.Input<string>;
116
+ }
117
+ /**
118
+ * The set of arguments for constructing a TeamNotificationRule resource.
119
+ */
120
+ export interface TeamNotificationRuleArgs {
121
+ /**
122
+ * The email notification settings.
123
+ */
124
+ email?: pulumi.Input<inputs.TeamNotificationRuleEmail>;
125
+ /**
126
+ * The MS Teams notification settings.
127
+ */
128
+ msTeams?: pulumi.Input<inputs.TeamNotificationRuleMsTeams>;
129
+ /**
130
+ * The PagerDuty notification settings.
131
+ */
132
+ pagerduty?: pulumi.Input<inputs.TeamNotificationRulePagerduty>;
133
+ /**
134
+ * The Slack notification settings.
135
+ */
136
+ slack?: pulumi.Input<inputs.TeamNotificationRuleSlack>;
137
+ /**
138
+ * The ID of the team that this notification rule belongs to.
139
+ */
140
+ teamId: pulumi.Input<string>;
141
+ }