@pulumi/datadog 5.15.0 → 5.15.1

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.
@@ -66,14 +66,14 @@ import * as pulumi from "@pulumi/pulumi";
66
66
  * }],
67
67
  * });
68
68
  * // Example 1: Preserve mode (default) - allows unmanaged rules to exist at the end
69
- * // This will preserve any existing rules created outside of Terraform as long as they are at the end
69
+ * // This will preserve any existing rules created outside of Pulumi as long as they are at the end
70
70
  * const preserveOrder = new datadog.CustomAllocationRules("preserve_order", {ruleIds: [
71
71
  * rule1.id,
72
72
  * rule2.id,
73
73
  * rule3.id,
74
74
  * ]});
75
75
  * // Example 2: Override mode - deletes all unmanaged rules and maintains strict order
76
- * // This will delete any rules not defined in Terraform and enforce the exact order specified
76
+ * // This will delete any rules not defined in Pulumi and enforce the exact order specified
77
77
  * const overrideOrder = new datadog.CustomAllocationRules("override_order", {
78
78
  * overrideUiDefinedResources: true,
79
79
  * ruleIds: [
@@ -95,14 +95,14 @@ const utilities = __importStar(require("./utilities"));
95
95
  * }],
96
96
  * });
97
97
  * // Example 1: Preserve mode (default) - allows unmanaged rules to exist at the end
98
- * // This will preserve any existing rules created outside of Terraform as long as they are at the end
98
+ * // This will preserve any existing rules created outside of Pulumi as long as they are at the end
99
99
  * const preserveOrder = new datadog.CustomAllocationRules("preserve_order", {ruleIds: [
100
100
  * rule1.id,
101
101
  * rule2.id,
102
102
  * rule3.id,
103
103
  * ]});
104
104
  * // Example 2: Override mode - deletes all unmanaged rules and maintains strict order
105
- * // This will delete any rules not defined in Terraform and enforce the exact order specified
105
+ * // This will delete any rules not defined in Pulumi and enforce the exact order specified
106
106
  * const overrideOrder = new datadog.CustomAllocationRules("override_order", {
107
107
  * overrideUiDefinedResources: true,
108
108
  * ruleIds: [
@@ -11,7 +11,7 @@ import * as outputs from "./types/output";
11
11
  *
12
12
  * // Gets all pipelines
13
13
  * const pipelines = datadog.getLogsPipelines({});
14
- * // Using data source to set pipeline order
14
+ * // Using function to set pipeline order
15
15
  * const lpo = new datadog.LogsPipelineOrder("lpo", {
16
16
  * name: "lpo",
17
17
  * pipelines: pipelines.then(pipelines => .map(pipeline => (pipeline.id))),
@@ -56,7 +56,7 @@ export interface GetLogsPipelinesResult {
56
56
  *
57
57
  * // Gets all pipelines
58
58
  * const pipelines = datadog.getLogsPipelines({});
59
- * // Using data source to set pipeline order
59
+ * // Using function to set pipeline order
60
60
  * const lpo = new datadog.LogsPipelineOrder("lpo", {
61
61
  * name: "lpo",
62
62
  * pipelines: pipelines.then(pipelines => .map(pipeline => (pipeline.id))),
@@ -39,7 +39,7 @@ const utilities = __importStar(require("./utilities"));
39
39
  *
40
40
  * // Gets all pipelines
41
41
  * const pipelines = datadog.getLogsPipelines({});
42
- * // Using data source to set pipeline order
42
+ * // Using function to set pipeline order
43
43
  * const lpo = new datadog.LogsPipelineOrder("lpo", {
44
44
  * name: "lpo",
45
45
  * pipelines: pipelines.then(pipelines => .map(pipeline => (pipeline.id))),
@@ -65,7 +65,7 @@ exports.getLogsPipelines = getLogsPipelines;
65
65
  *
66
66
  * // Gets all pipelines
67
67
  * const pipelines = datadog.getLogsPipelines({});
68
- * // Using data source to set pipeline order
68
+ * // Using function to set pipeline order
69
69
  * const lpo = new datadog.LogsPipelineOrder("lpo", {
70
70
  * name: "lpo",
71
71
  * pipelines: pipelines.then(pipelines => .map(pipeline => (pipeline.id))),
@@ -10,7 +10,7 @@ import * as outputs from "./types/output";
10
10
  * import * as datadog from "@pulumi/datadog";
11
11
  *
12
12
  * const all = datadog.getSecurityMonitoringCriticalAssets({});
13
- * export const criticalAssetsCount = all.then(all => all.criticalAssets).length;
13
+ * export const criticalAssetsCount = all.then(all => all.criticalAssets.length);
14
14
  * export const criticalAssets = all.then(all => all.criticalAssets);
15
15
  * ```
16
16
  */
@@ -38,7 +38,7 @@ export interface GetSecurityMonitoringCriticalAssetsResult {
38
38
  * import * as datadog from "@pulumi/datadog";
39
39
  *
40
40
  * const all = datadog.getSecurityMonitoringCriticalAssets({});
41
- * export const criticalAssetsCount = all.then(all => all.criticalAssets).length;
41
+ * export const criticalAssetsCount = all.then(all => all.criticalAssets.length);
42
42
  * export const criticalAssets = all.then(all => all.criticalAssets);
43
43
  * ```
44
44
  */
@@ -38,7 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as datadog from "@pulumi/datadog";
39
39
  *
40
40
  * const all = datadog.getSecurityMonitoringCriticalAssets({});
41
- * export const criticalAssetsCount = all.then(all => all.criticalAssets).length;
41
+ * export const criticalAssetsCount = all.then(all => all.criticalAssets.length);
42
42
  * export const criticalAssets = all.then(all => all.criticalAssets);
43
43
  * ```
44
44
  */
@@ -57,7 +57,7 @@ exports.getSecurityMonitoringCriticalAssets = getSecurityMonitoringCriticalAsset
57
57
  * import * as datadog from "@pulumi/datadog";
58
58
  *
59
59
  * const all = datadog.getSecurityMonitoringCriticalAssets({});
60
- * export const criticalAssetsCount = all.then(all => all.criticalAssets).length;
60
+ * export const criticalAssetsCount = all.then(all => all.criticalAssets.length);
61
61
  * export const criticalAssets = all.then(all => all.criticalAssets);
62
62
  * ```
63
63
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/datadog",
3
- "version": "5.15.0",
3
+ "version": "5.15.1",
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": "5.15.0"
25
+ "version": "5.15.1"
26
26
  }
27
27
  }
@@ -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
- * // Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.
11
+ * // Note: Until pulumi-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Pulumi configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.
12
12
  * // Services as Individual Resources
13
13
  * const pd = new datadog.pagerduty.Integration("pd", {
14
14
  * schedules: [
@@ -37,7 +37,7 @@ const utilities = __importStar(require("../utilities"));
37
37
  * import * as pulumi from "@pulumi/pulumi";
38
38
  * import * as datadog from "@pulumi/datadog";
39
39
  *
40
- * // Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.
40
+ * // Note: Until pulumi-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Pulumi configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.
41
41
  * // Services as Individual Resources
42
42
  * const pd = new datadog.pagerduty.Integration("pd", {
43
43
  * schedules: [
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
13
13
  * // Default inbox rules always exist server-side and can only be imported, not created.
14
14
  * // Only `enabled` can be managed; all other attributes are read from Datadog.
15
15
  * // Import the rule with its fixed ID before applying, e.g.:
16
- * // terraform import datadog_security_findings_default_inbox_rule.secret secret_default_rule
16
+ * // pulumi import datadog_security_findings_default_inbox_rule.secret secret_default_rule
17
17
  * // Known default rule IDs: identity_risk_default_rule, secret_default_rule,
18
18
  * // library_vulnerability_default_rule, attack_path_default_rule,
19
19
  * // host_and_container_vulnerability_default_rule, runtime_code_vulnerability_default_rule,
@@ -40,7 +40,7 @@ const utilities = __importStar(require("./utilities"));
40
40
  * // Default inbox rules always exist server-side and can only be imported, not created.
41
41
  * // Only `enabled` can be managed; all other attributes are read from Datadog.
42
42
  * // Import the rule with its fixed ID before applying, e.g.:
43
- * // terraform import datadog_security_findings_default_inbox_rule.secret secret_default_rule
43
+ * // pulumi import datadog_security_findings_default_inbox_rule.secret secret_default_rule
44
44
  * // Known default rule IDs: identity_risk_default_rule, secret_default_rule,
45
45
  * // library_vulnerability_default_rule, attack_path_default_rule,
46
46
  * // host_and_container_vulnerability_default_rule, runtime_code_vulnerability_default_rule,
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as datadog from "@pulumi/datadog";
10
10
  *
11
11
  * // Manage the evaluation order of all due date rules for the organization.
12
- * // rule_ids must list every due date rule ID; rules created outside Terraform appear as drift.
12
+ * // rule_ids must list every due date rule ID; rules created outside Pulumi appear as drift.
13
13
  * const order = new datadog.SecurityFindingsDueDateRulesOrder("order", {
14
14
  * name: "security_findings_due_date_rules_order",
15
15
  * ruleIds: [prodSla.id],
@@ -38,7 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as datadog from "@pulumi/datadog";
39
39
  *
40
40
  * // Manage the evaluation order of all due date rules for the organization.
41
- * // rule_ids must list every due date rule ID; rules created outside Terraform appear as drift.
41
+ * // rule_ids must list every due date rule ID; rules created outside Pulumi appear as drift.
42
42
  * const order = new datadog.SecurityFindingsDueDateRulesOrder("order", {
43
43
  * name: "security_findings_due_date_rules_order",
44
44
  * ruleIds: [prodSla.id],
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as datadog from "@pulumi/datadog";
10
10
  *
11
11
  * // Manage the evaluation order of all inbox rules for the organization.
12
- * // rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
12
+ * // rule_ids must list every inbox rule ID; rules created outside Pulumi appear as drift.
13
13
  * const order = new datadog.SecurityFindingsInboxRulesOrder("order", {
14
14
  * name: "security_findings_inbox_rules_order",
15
15
  * ruleIds: [triageProductionMisconfigurations.id],
@@ -38,7 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as datadog from "@pulumi/datadog";
39
39
  *
40
40
  * // Manage the evaluation order of all inbox rules for the organization.
41
- * // rule_ids must list every inbox rule ID; rules created outside Terraform appear as drift.
41
+ * // rule_ids must list every inbox rule ID; rules created outside Pulumi appear as drift.
42
42
  * const order = new datadog.SecurityFindingsInboxRulesOrder("order", {
43
43
  * name: "security_findings_inbox_rules_order",
44
44
  * ruleIds: [triageProductionMisconfigurations.id],
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as datadog from "@pulumi/datadog";
10
10
  *
11
11
  * // Manage the evaluation order of all mute rules for the organization.
12
- * // rule_ids must list every mute rule ID; rules created outside Terraform appear as drift.
12
+ * // rule_ids must list every mute rule ID; rules created outside Pulumi appear as drift.
13
13
  * const order = new datadog.SecurityFindingsMuteRulesOrder("order", {
14
14
  * name: "security_findings_mute_rules_order",
15
15
  * ruleIds: [acceptedRisksDev.id],
@@ -38,7 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as datadog from "@pulumi/datadog";
39
39
  *
40
40
  * // Manage the evaluation order of all mute rules for the organization.
41
- * // rule_ids must list every mute rule ID; rules created outside Terraform appear as drift.
41
+ * // rule_ids must list every mute rule ID; rules created outside Pulumi appear as drift.
42
42
  * const order = new datadog.SecurityFindingsMuteRulesOrder("order", {
43
43
  * name: "security_findings_mute_rules_order",
44
44
  * ruleIds: [acceptedRisksDev.id],
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as datadog from "@pulumi/datadog";
10
10
  *
11
11
  * // Manage the evaluation order of all severity modifier rules for the organization.
12
- * // rule_ids must list every severity modifier rule ID; rules created outside Terraform appear as drift.
12
+ * // rule_ids must list every severity modifier rule ID; rules created outside Pulumi appear as drift.
13
13
  * const order = new datadog.SecurityFindingsSeverityModifierRulesOrder("order", {
14
14
  * name: "security_findings_severity_modifier_rules_order",
15
15
  * ruleIds: [escalateProdSecrets.id],
@@ -38,7 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as datadog from "@pulumi/datadog";
39
39
  *
40
40
  * // Manage the evaluation order of all severity modifier rules for the organization.
41
- * // rule_ids must list every severity modifier rule ID; rules created outside Terraform appear as drift.
41
+ * // rule_ids must list every severity modifier rule ID; rules created outside Pulumi appear as drift.
42
42
  * const order = new datadog.SecurityFindingsSeverityModifierRulesOrder("order", {
43
43
  * name: "security_findings_severity_modifier_rules_order",
44
44
  * ruleIds: [escalateProdSecrets.id],
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as datadog from "@pulumi/datadog";
10
10
  *
11
11
  * // Manage the evaluation order of all ticket creation rules for the organization.
12
- * // rule_ids must list every ticket creation rule ID; rules created outside Terraform appear as drift.
12
+ * // rule_ids must list every ticket creation rule ID; rules created outside Pulumi appear as drift.
13
13
  * const order = new datadog.SecurityFindingsTicketCreationRulesOrder("order", {
14
14
  * name: "security_findings_ticket_creation_rules_order",
15
15
  * ruleIds: [criticalMisconfigs.id],
@@ -38,7 +38,7 @@ const utilities = __importStar(require("./utilities"));
38
38
  * import * as datadog from "@pulumi/datadog";
39
39
  *
40
40
  * // Manage the evaluation order of all ticket creation rules for the organization.
41
- * // rule_ids must list every ticket creation rule ID; rules created outside Terraform appear as drift.
41
+ * // rule_ids must list every ticket creation rule ID; rules created outside Pulumi appear as drift.
42
42
  * const order = new datadog.SecurityFindingsTicketCreationRulesOrder("order", {
43
43
  * name: "security_findings_ticket_creation_rules_order",
44
44
  * ruleIds: [criticalMisconfigs.id],
@@ -21,7 +21,7 @@ import * as outputs from "./types/output";
21
21
  * ],
22
22
  * value: "variable-value",
23
23
  * });
24
- * // Write-Only Value (Recommended for Terraform 1.11+)
24
+ * // Write-Only Value (Recommended for Pulumi 1.11+)
25
25
  * const secureVariable = new datadog.SyntheticsGlobalVariable("secure_variable", {
26
26
  * name: "SECURE_VARIABLE",
27
27
  * description: "Secure global variable with write-only value",
@@ -48,7 +48,7 @@ const utilities = __importStar(require("./utilities"));
48
48
  * ],
49
49
  * value: "variable-value",
50
50
  * });
51
- * // Write-Only Value (Recommended for Terraform 1.11+)
51
+ * // Write-Only Value (Recommended for Pulumi 1.11+)
52
52
  * const secureVariable = new datadog.SyntheticsGlobalVariable("secure_variable", {
53
53
  * name: "SECURE_VARIABLE",
54
54
  * description: "Secure global variable with write-only value",
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * // Example 1: Basic Usage - Manage the order of tag pipeline rulesets
13
13
  * // ============================================================================
14
14
  * // This example shows the default behavior where UI-defined rulesets that are
15
- * // not in Terraform will be preserved at the end of the order.
15
+ * // not in Pulumi will be preserved at the end of the order.
16
16
  * const first = new datadog.TagPipelineRuleset("first", {
17
17
  * name: "Standardize Environment Tags",
18
18
  * enabled: true,
@@ -74,7 +74,7 @@ import * as pulumi from "@pulumi/pulumi";
74
74
  * // ============================================================================
75
75
  * // Example 2: Override UI-defined rulesets (override_ui_defined_resources = true)
76
76
  * // ============================================================================
77
- * // When set to true, any rulesets created via the UI that are not defined in Terraform
77
+ * // When set to true, any rulesets created via the UI that are not defined in Pulumi
78
78
  * // will be automatically deleted during pulumi up.
79
79
  * const managedFirst = new datadog.TagPipelineRuleset("managed_first", {
80
80
  * name: "Standardize Environment Tags",
@@ -120,9 +120,9 @@ import * as pulumi from "@pulumi/pulumi";
120
120
  * // ============================================================================
121
121
  * // Example 3: Preserve UI-defined rulesets (override_ui_defined_resources = false)
122
122
  * // ============================================================================
123
- * // When set to false (default), UI-defined rulesets that are not in Terraform
123
+ * // When set to false (default), UI-defined rulesets that are not in Pulumi
124
124
  * // will be preserved at the end of the order. However, if unmanaged rulesets
125
- * // are in the middle of the order, Terraform will error and require you to either:
125
+ * // are in the middle of the order, Pulumi will error and require you to either:
126
126
  * // 1. Import the unmanaged rulesets
127
127
  * // 2. Set override_ui_defined_resources = true
128
128
  * // 3. Manually reorder or delete them in the Datadog UI
@@ -160,8 +160,8 @@ import * as pulumi from "@pulumi/pulumi";
160
160
  * });
161
161
  * // Manage order with override_ui_defined_resources = false (default)
162
162
  * // UI-defined rulesets will be preserved at the end of the order
163
- * // Terraform will warn if unmanaged rulesets exist at the end
164
- * // Terraform will error if unmanaged rulesets are in the middle
163
+ * // Pulumi will warn if unmanaged rulesets exist at the end
164
+ * // Pulumi will error if unmanaged rulesets are in the middle
165
165
  * const orderPreserve = new datadog.TagPipelineRulesets("order_preserve", {
166
166
  * overrideUiDefinedResources: false,
167
167
  * rulesetIds: [
@@ -41,7 +41,7 @@ const utilities = __importStar(require("./utilities"));
41
41
  * // Example 1: Basic Usage - Manage the order of tag pipeline rulesets
42
42
  * // ============================================================================
43
43
  * // This example shows the default behavior where UI-defined rulesets that are
44
- * // not in Terraform will be preserved at the end of the order.
44
+ * // not in Pulumi will be preserved at the end of the order.
45
45
  * const first = new datadog.TagPipelineRuleset("first", {
46
46
  * name: "Standardize Environment Tags",
47
47
  * enabled: true,
@@ -103,7 +103,7 @@ const utilities = __importStar(require("./utilities"));
103
103
  * // ============================================================================
104
104
  * // Example 2: Override UI-defined rulesets (override_ui_defined_resources = true)
105
105
  * // ============================================================================
106
- * // When set to true, any rulesets created via the UI that are not defined in Terraform
106
+ * // When set to true, any rulesets created via the UI that are not defined in Pulumi
107
107
  * // will be automatically deleted during pulumi up.
108
108
  * const managedFirst = new datadog.TagPipelineRuleset("managed_first", {
109
109
  * name: "Standardize Environment Tags",
@@ -149,9 +149,9 @@ const utilities = __importStar(require("./utilities"));
149
149
  * // ============================================================================
150
150
  * // Example 3: Preserve UI-defined rulesets (override_ui_defined_resources = false)
151
151
  * // ============================================================================
152
- * // When set to false (default), UI-defined rulesets that are not in Terraform
152
+ * // When set to false (default), UI-defined rulesets that are not in Pulumi
153
153
  * // will be preserved at the end of the order. However, if unmanaged rulesets
154
- * // are in the middle of the order, Terraform will error and require you to either:
154
+ * // are in the middle of the order, Pulumi will error and require you to either:
155
155
  * // 1. Import the unmanaged rulesets
156
156
  * // 2. Set override_ui_defined_resources = true
157
157
  * // 3. Manually reorder or delete them in the Datadog UI
@@ -189,8 +189,8 @@ const utilities = __importStar(require("./utilities"));
189
189
  * });
190
190
  * // Manage order with override_ui_defined_resources = false (default)
191
191
  * // UI-defined rulesets will be preserved at the end of the order
192
- * // Terraform will warn if unmanaged rulesets exist at the end
193
- * // Terraform will error if unmanaged rulesets are in the middle
192
+ * // Pulumi will warn if unmanaged rulesets exist at the end
193
+ * // Pulumi will error if unmanaged rulesets are in the middle
194
194
  * const orderPreserve = new datadog.TagPipelineRulesets("order_preserve", {
195
195
  * overrideUiDefinedResources: false,
196
196
  * rulesetIds: [