@pulumi/datadog 5.12.0-alpha.1790228672 → 5.12.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 (64) hide show
  1. package/azure/integration.d.ts +3 -4
  2. package/azure/integration.d.ts.map +1 -1
  3. package/azure/integration.js +0 -1
  4. package/azure/integration.js.map +1 -1
  5. package/fleetSchedule.d.ts +135 -0
  6. package/fleetSchedule.d.ts.map +1 -0
  7. package/fleetSchedule.js +125 -0
  8. package/fleetSchedule.js.map +1 -0
  9. package/getFleetSchedule.d.ts +110 -0
  10. package/getFleetSchedule.d.ts.map +1 -0
  11. package/getFleetSchedule.js +75 -0
  12. package/getFleetSchedule.js.map +1 -0
  13. package/getFleetSchedules.d.ts +44 -0
  14. package/getFleetSchedules.d.ts.map +1 -0
  15. package/getFleetSchedules.js +67 -0
  16. package/getFleetSchedules.js.map +1 -0
  17. package/getWorkflowAutomation.d.ts +9 -0
  18. package/getWorkflowAutomation.d.ts.map +1 -1
  19. package/getWorkflowAutomation.js.map +1 -1
  20. package/index.d.ts +24 -0
  21. package/index.d.ts.map +1 -1
  22. package/index.js +43 -7
  23. package/index.js.map +1 -1
  24. package/monitorConfigPolicy.d.ts +21 -3
  25. package/monitorConfigPolicy.d.ts.map +1 -1
  26. package/monitorConfigPolicy.js +8 -0
  27. package/monitorConfigPolicy.js.map +1 -1
  28. package/package.json +2 -2
  29. package/securityFindingsDefaultInboxRule.d.ts +103 -0
  30. package/securityFindingsDefaultInboxRule.d.ts.map +1 -0
  31. package/securityFindingsDefaultInboxRule.js +106 -0
  32. package/securityFindingsDefaultInboxRule.js.map +1 -0
  33. package/securityFindingsInboxRule.d.ts +118 -0
  34. package/securityFindingsInboxRule.d.ts.map +1 -0
  35. package/securityFindingsInboxRule.js +118 -0
  36. package/securityFindingsInboxRule.js.map +1 -0
  37. package/securityFindingsInboxRulesOrder.d.ts +86 -0
  38. package/securityFindingsInboxRulesOrder.d.ts.map +1 -0
  39. package/securityFindingsInboxRulesOrder.js +105 -0
  40. package/securityFindingsInboxRulesOrder.js.map +1 -0
  41. package/securityFindingsSeverityModifierRule.d.ts +136 -0
  42. package/securityFindingsSeverityModifierRule.d.ts.map +1 -0
  43. package/securityFindingsSeverityModifierRule.js +136 -0
  44. package/securityFindingsSeverityModifierRule.js.map +1 -0
  45. package/securityFindingsSeverityModifierRulesOrder.d.ts +86 -0
  46. package/securityFindingsSeverityModifierRulesOrder.d.ts.map +1 -0
  47. package/securityFindingsSeverityModifierRulesOrder.js +105 -0
  48. package/securityFindingsSeverityModifierRulesOrder.js.map +1 -0
  49. package/securityFindingsTicketCreationRule.d.ts +17 -0
  50. package/securityFindingsTicketCreationRule.d.ts.map +1 -1
  51. package/securityFindingsTicketCreationRule.js +17 -0
  52. package/securityFindingsTicketCreationRule.js.map +1 -1
  53. package/sloCorrection.d.ts +25 -5
  54. package/sloCorrection.d.ts.map +1 -1
  55. package/sloCorrection.js +10 -3
  56. package/sloCorrection.js.map +1 -1
  57. package/types/input.d.ts +526 -8
  58. package/types/input.d.ts.map +1 -1
  59. package/types/output.d.ts +664 -8
  60. package/types/output.d.ts.map +1 -1
  61. package/workflowAutomation.d.ts +29 -0
  62. package/workflowAutomation.d.ts.map +1 -1
  63. package/workflowAutomation.js +7 -0
  64. package/workflowAutomation.js.map +1 -1
@@ -23,7 +23,6 @@ import * as outputs from "../types/output";
23
23
  * customMetricsEnabled: false,
24
24
  * });
25
25
  * // Or, using secretless (federated workload identity) authentication.
26
- * // Note: secretless authentication is currently in Preview.
27
26
  * const sandboxSecretless = new datadog.azure.Integration("sandbox_secretless", {
28
27
  * tenantName: "<azure_tenant_name>",
29
28
  * clientId: "<azure_client_id>",
@@ -108,7 +107,7 @@ export declare class Integration extends pulumi.CustomResource {
108
107
  */
109
108
  readonly resourceProviderConfigs: pulumi.Output<outputs.azure.IntegrationResourceProviderConfig[]>;
110
109
  /**
111
- * (Preview) When enabled, Datadog authenticates to this app registration using federated workload identity credentials instead of a client secret. The app registration must have a Datadog federated credential for this to work. When `true`, `clientSecret` should be omitted. Defaults to `false`.
110
+ * When enabled, Datadog authenticates to this app registration using federated workload identity credentials instead of a client secret. You also need to set up a federated credential in your Azure App Registration with the proper External ID. Follow Terraform instructions in the Datadog UI to [onboard](https://app.datadoghq.com/integrations/azure/add) or [migrate](https://app.datadoghq.com/integrations/azure). Migration instructions can be found in the general tab by clicking 'Set Up Secretless Auth'. When `true`, `clientSecret` should be omitted. Defaults to `false`.
112
111
  */
113
112
  readonly secretlessAuthEnabled: pulumi.Output<boolean>;
114
113
  /**
@@ -182,7 +181,7 @@ export interface IntegrationState {
182
181
  */
183
182
  resourceProviderConfigs?: pulumi.Input<pulumi.Input<inputs.azure.IntegrationResourceProviderConfig>[] | undefined>;
184
183
  /**
185
- * (Preview) When enabled, Datadog authenticates to this app registration using federated workload identity credentials instead of a client secret. The app registration must have a Datadog federated credential for this to work. When `true`, `clientSecret` should be omitted. Defaults to `false`.
184
+ * When enabled, Datadog authenticates to this app registration using federated workload identity credentials instead of a client secret. You also need to set up a federated credential in your Azure App Registration with the proper External ID. Follow Terraform instructions in the Datadog UI to [onboard](https://app.datadoghq.com/integrations/azure/add) or [migrate](https://app.datadoghq.com/integrations/azure). Migration instructions can be found in the general tab by clicking 'Set Up Secretless Auth'. When `true`, `clientSecret` should be omitted. Defaults to `false`.
186
185
  */
187
186
  secretlessAuthEnabled?: pulumi.Input<boolean | undefined>;
188
187
  /**
@@ -248,7 +247,7 @@ export interface IntegrationArgs {
248
247
  */
249
248
  resourceProviderConfigs?: pulumi.Input<pulumi.Input<inputs.azure.IntegrationResourceProviderConfig>[] | undefined>;
250
249
  /**
251
- * (Preview) When enabled, Datadog authenticates to this app registration using federated workload identity credentials instead of a client secret. The app registration must have a Datadog federated credential for this to work. When `true`, `clientSecret` should be omitted. Defaults to `false`.
250
+ * When enabled, Datadog authenticates to this app registration using federated workload identity credentials instead of a client secret. You also need to set up a federated credential in your Azure App Registration with the proper External ID. Follow Terraform instructions in the Datadog UI to [onboard](https://app.datadoghq.com/integrations/azure/add) or [migrate](https://app.datadoghq.com/integrations/azure). Migration instructions can be found in the general tab by clicking 'Set Up Secretless Auth'. When `true`, `clientSecret` should be omitted. Defaults to `false`.
252
251
  */
253
252
  secretlessAuthEnabled?: pulumi.Input<boolean | undefined>;
254
253
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../azure/integration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,WAAW;IAOxI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,WAAW;IAOtD;;OAEG;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,MA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EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC3D"}
@@ -50,7 +50,6 @@ const utilities = __importStar(require("../utilities"));
50
50
  * customMetricsEnabled: false,
51
51
  * });
52
52
  * // Or, using secretless (federated workload identity) authentication.
53
- * // Note: secretless authentication is currently in Preview.
54
53
  * const sandboxSecretless = new datadog.azure.Integration("sandbox_secretless", {
55
54
  * tenantName: "<azure_tenant_name>",
56
55
  * clientId: "<azure_client_id>",
@@ -1 +1 @@
1
- {"version":3,"file":"integration.js","sourceRoot":"","sources":["../../azure/integration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,uCAAuC,CAAC;IAE9E;;;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,WAAW,CAAC,YAAY,CAAC;I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rE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;QACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAlJL,kCAmJC"}
@@ -0,0 +1,135 @@
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 Fleet Automation Agent upgrade schedule. Schedule mutations use Preview API endpoints and require an application key with the `agentUpgradeWrite` and `hostsRead` permissions.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as datadog from "@pulumi/datadog";
12
+ *
13
+ * // Fleet schedule mutations use Preview API endpoints. The application key must
14
+ * // have both the agent_upgrade_write and hosts_read permissions.
15
+ * const nonproduction = new datadog.FleetSchedule("nonproduction", {
16
+ * name: "Non-production Agent upgrades",
17
+ * query: "env:staging service:example",
18
+ * status: "inactive",
19
+ * versionToLatest: 1,
20
+ * rule: {
21
+ * days_of_week: [
22
+ * "Tue",
23
+ * "Thu",
24
+ * ],
25
+ * maintenance_window_duration: 120,
26
+ * start_maintenance_window: "03:00",
27
+ * timezone: "America/New_York",
28
+ * },
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * The `pulumi import` command can be used, for example:
35
+ *
36
+ * ```sh
37
+ * $ pulumi import datadog:index/fleetSchedule:FleetSchedule nonproduction "<schedule_id>"
38
+ * ```
39
+ */
40
+ export declare class FleetSchedule extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing FleetSchedule resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FleetScheduleState, opts?: pulumi.CustomResourceOptions): FleetSchedule;
51
+ /**
52
+ * Returns true if the given object is an instance of FleetSchedule. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj: any): obj is FleetSchedule;
56
+ /**
57
+ * Human-readable name for the schedule. String length must be at least 1.
58
+ */
59
+ readonly name: pulumi.Output<string>;
60
+ /**
61
+ * Datadog host query used to select the Agent upgrade targets. String length must be at least 1.
62
+ */
63
+ readonly query: pulumi.Output<string>;
64
+ /**
65
+ * Weekly recurrence and maintenance-window configuration for the schedule.
66
+ */
67
+ readonly rule: pulumi.Output<outputs.FleetScheduleRule>;
68
+ /**
69
+ * Whether the schedule creates deployments. Valid values are `active` and `inactive`. The API default is used when omitted. Valid values are `active`, `inactive`.
70
+ */
71
+ readonly status: pulumi.Output<string>;
72
+ /**
73
+ * Number of major Agent versions behind the latest version to target: `0`, `1`, or `2`. The API default is used when omitted. Value must be between 0 and 2.
74
+ */
75
+ readonly versionToLatest: pulumi.Output<number>;
76
+ /**
77
+ * Create a FleetSchedule resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args: FleetScheduleArgs, opts?: pulumi.CustomResourceOptions);
84
+ }
85
+ /**
86
+ * Input properties used for looking up and filtering FleetSchedule resources.
87
+ */
88
+ export interface FleetScheduleState {
89
+ /**
90
+ * Human-readable name for the schedule. String length must be at least 1.
91
+ */
92
+ name?: pulumi.Input<string | undefined>;
93
+ /**
94
+ * Datadog host query used to select the Agent upgrade targets. String length must be at least 1.
95
+ */
96
+ query?: pulumi.Input<string | undefined>;
97
+ /**
98
+ * Weekly recurrence and maintenance-window configuration for the schedule.
99
+ */
100
+ rule?: pulumi.Input<inputs.FleetScheduleRule | undefined>;
101
+ /**
102
+ * Whether the schedule creates deployments. Valid values are `active` and `inactive`. The API default is used when omitted. Valid values are `active`, `inactive`.
103
+ */
104
+ status?: pulumi.Input<string | undefined>;
105
+ /**
106
+ * Number of major Agent versions behind the latest version to target: `0`, `1`, or `2`. The API default is used when omitted. Value must be between 0 and 2.
107
+ */
108
+ versionToLatest?: pulumi.Input<number | undefined>;
109
+ }
110
+ /**
111
+ * The set of arguments for constructing a FleetSchedule resource.
112
+ */
113
+ export interface FleetScheduleArgs {
114
+ /**
115
+ * Human-readable name for the schedule. String length must be at least 1.
116
+ */
117
+ name: pulumi.Input<string>;
118
+ /**
119
+ * Datadog host query used to select the Agent upgrade targets. String length must be at least 1.
120
+ */
121
+ query: pulumi.Input<string>;
122
+ /**
123
+ * Weekly recurrence and maintenance-window configuration for the schedule.
124
+ */
125
+ rule: pulumi.Input<inputs.FleetScheduleRule>;
126
+ /**
127
+ * Whether the schedule creates deployments. Valid values are `active` and `inactive`. The API default is used when omitted. Valid values are `active`, `inactive`.
128
+ */
129
+ status?: pulumi.Input<string | undefined>;
130
+ /**
131
+ * Number of major Agent versions behind the latest version to target: `0`, `1`, or `2`. The API default is used when omitted. Value must be between 0 and 2.
132
+ */
133
+ versionToLatest?: pulumi.Input<number | undefined>;
134
+ }
135
+ //# sourceMappingURL=fleetSchedule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fleetSchedule.d.ts","sourceRoot":"","sources":["../fleetSchedule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;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AC;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACtD;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACtD"}
@@ -0,0 +1,125 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.FleetSchedule = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Provides a Datadog Fleet Automation Agent upgrade schedule. Schedule mutations use Preview API endpoints and require an application key with the `agentUpgradeWrite` and `hostsRead` permissions.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as datadog from "@pulumi/datadog";
39
+ *
40
+ * // Fleet schedule mutations use Preview API endpoints. The application key must
41
+ * // have both the agent_upgrade_write and hosts_read permissions.
42
+ * const nonproduction = new datadog.FleetSchedule("nonproduction", {
43
+ * name: "Non-production Agent upgrades",
44
+ * query: "env:staging service:example",
45
+ * status: "inactive",
46
+ * versionToLatest: 1,
47
+ * rule: {
48
+ * days_of_week: [
49
+ * "Tue",
50
+ * "Thu",
51
+ * ],
52
+ * maintenance_window_duration: 120,
53
+ * start_maintenance_window: "03:00",
54
+ * timezone: "America/New_York",
55
+ * },
56
+ * });
57
+ * ```
58
+ *
59
+ * ## Import
60
+ *
61
+ * The `pulumi import` command can be used, for example:
62
+ *
63
+ * ```sh
64
+ * $ pulumi import datadog:index/fleetSchedule:FleetSchedule nonproduction "<schedule_id>"
65
+ * ```
66
+ */
67
+ class FleetSchedule extends pulumi.CustomResource {
68
+ /**
69
+ * Get an existing FleetSchedule resource's state with the given name, ID, and optional extra
70
+ * properties used to qualify the lookup.
71
+ *
72
+ * @param name The _unique_ name of the resulting resource.
73
+ * @param id The _unique_ provider ID of the resource to lookup.
74
+ * @param state Any extra arguments used during the lookup.
75
+ * @param opts Optional settings to control the behavior of the CustomResource.
76
+ */
77
+ static get(name, id, state, opts) {
78
+ return new FleetSchedule(name, state, { ...opts, id: id });
79
+ }
80
+ /** @internal */
81
+ static __pulumiType = 'datadog:index/fleetSchedule:FleetSchedule';
82
+ /**
83
+ * Returns true if the given object is an instance of FleetSchedule. This is designed to work even
84
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
85
+ */
86
+ static isInstance(obj) {
87
+ if (obj === undefined || obj === null) {
88
+ return false;
89
+ }
90
+ return obj['__pulumiType'] === FleetSchedule.__pulumiType;
91
+ }
92
+ constructor(name, argsOrState, opts) {
93
+ let resourceInputs = {};
94
+ opts = opts || {};
95
+ if (opts.id) {
96
+ const state = argsOrState;
97
+ resourceInputs["name"] = state?.name;
98
+ resourceInputs["query"] = state?.query;
99
+ resourceInputs["rule"] = state?.rule;
100
+ resourceInputs["status"] = state?.status;
101
+ resourceInputs["versionToLatest"] = state?.versionToLatest;
102
+ }
103
+ else {
104
+ const args = argsOrState;
105
+ if (args?.name === undefined && !opts.urn) {
106
+ throw new Error("Missing required property 'name'");
107
+ }
108
+ if (args?.query === undefined && !opts.urn) {
109
+ throw new Error("Missing required property 'query'");
110
+ }
111
+ if (args?.rule === undefined && !opts.urn) {
112
+ throw new Error("Missing required property 'rule'");
113
+ }
114
+ resourceInputs["name"] = args?.name;
115
+ resourceInputs["query"] = args?.query;
116
+ resourceInputs["rule"] = args?.rule;
117
+ resourceInputs["status"] = args?.status;
118
+ resourceInputs["versionToLatest"] = args?.versionToLatest;
119
+ }
120
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
121
+ super(FleetSchedule.__pulumiType, name, resourceInputs, opts);
122
+ }
123
+ }
124
+ exports.FleetSchedule = FleetSchedule;
125
+ //# sourceMappingURL=fleetSchedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fleetSchedule.js","sourceRoot":"","sources":["../fleetSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;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SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAtFL,sCAuFC"}
@@ -0,0 +1,110 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Retrieves a Fleet Automation Agent upgrade schedule by ID. Reading schedules requires an application key with the `hostsRead` permission.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as datadog from "@pulumi/datadog";
11
+ *
12
+ * // Reading Fleet Automation schedules requires the hosts_read permission.
13
+ * const nonproduction = datadog.getFleetSchedule({
14
+ * id: "<schedule_id>",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getFleetSchedule(args: GetFleetScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetFleetScheduleResult>;
19
+ /**
20
+ * A collection of arguments for invoking getFleetSchedule.
21
+ */
22
+ export interface GetFleetScheduleArgs {
23
+ /**
24
+ * Unique identifier of the Fleet Automation schedule.
25
+ */
26
+ id: string;
27
+ }
28
+ /**
29
+ * A collection of values returned by getFleetSchedule.
30
+ */
31
+ export interface GetFleetScheduleResult {
32
+ /**
33
+ * RFC 3339 timestamp when the schedule was created.
34
+ */
35
+ readonly createdAt: string;
36
+ /**
37
+ * User handle of the person who created the schedule.
38
+ */
39
+ readonly createdBy: string;
40
+ /**
41
+ * Unique identifier of the Fleet Automation schedule.
42
+ */
43
+ readonly id: string;
44
+ /**
45
+ * Whether this is the organization's default schedule.
46
+ */
47
+ readonly isDefault: boolean;
48
+ /**
49
+ * Human-readable name of the schedule.
50
+ */
51
+ readonly name: string;
52
+ /**
53
+ * RFC 3339 timestamp of the next maintenance window, or null when no next run can be computed.
54
+ */
55
+ readonly nextRun: string;
56
+ /**
57
+ * Notification configuration attached to the schedule, when available.
58
+ */
59
+ readonly notificationRule: outputs.GetFleetScheduleNotificationRule;
60
+ /**
61
+ * Datadog host query used to select the Agent upgrade targets.
62
+ */
63
+ readonly query: string;
64
+ /**
65
+ * Recurrence and maintenance-window configuration for the schedule.
66
+ */
67
+ readonly rule: outputs.GetFleetScheduleRule;
68
+ /**
69
+ * Whether the schedule is `active` or `inactive`.
70
+ */
71
+ readonly status: string;
72
+ /**
73
+ * RFC 3339 timestamp when the schedule was last updated.
74
+ */
75
+ readonly updatedAt: string;
76
+ /**
77
+ * User handle of the person who last updated the schedule.
78
+ */
79
+ readonly updatedBy: string;
80
+ /**
81
+ * Number of major Agent versions behind the latest version targeted by the schedule.
82
+ */
83
+ readonly versionToLatest: number;
84
+ }
85
+ /**
86
+ * Retrieves a Fleet Automation Agent upgrade schedule by ID. Reading schedules requires an application key with the `hostsRead` permission.
87
+ *
88
+ * ## Example Usage
89
+ *
90
+ * ```typescript
91
+ * import * as pulumi from "@pulumi/pulumi";
92
+ * import * as datadog from "@pulumi/datadog";
93
+ *
94
+ * // Reading Fleet Automation schedules requires the hosts_read permission.
95
+ * const nonproduction = datadog.getFleetSchedule({
96
+ * id: "<schedule_id>",
97
+ * });
98
+ * ```
99
+ */
100
+ export declare function getFleetScheduleOutput(args: GetFleetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFleetScheduleResult>;
101
+ /**
102
+ * A collection of arguments for invoking getFleetSchedule.
103
+ */
104
+ export interface GetFleetScheduleOutputArgs {
105
+ /**
106
+ * Unique identifier of the Fleet Automation schedule.
107
+ */
108
+ id: pulumi.Input<string>;
109
+ }
110
+ //# sourceMappingURL=getFleetSchedule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFleetSchedule.d.ts","sourceRoot":"","sources":["../getFleetSchedule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAKzH;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC,gCAAgC,CAAC;IACpE;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CACpC;AACD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAKjJ;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -0,0 +1,75 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getFleetScheduleOutput = exports.getFleetSchedule = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Retrieves a Fleet Automation Agent upgrade schedule by ID. Reading schedules requires an application key with the `hostsRead` permission.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as datadog from "@pulumi/datadog";
39
+ *
40
+ * // Reading Fleet Automation schedules requires the hosts_read permission.
41
+ * const nonproduction = datadog.getFleetSchedule({
42
+ * id: "<schedule_id>",
43
+ * });
44
+ * ```
45
+ */
46
+ function getFleetSchedule(args, opts) {
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
48
+ return pulumi.runtime.invoke("datadog:index/getFleetSchedule:getFleetSchedule", {
49
+ "id": args.id,
50
+ }, opts);
51
+ }
52
+ exports.getFleetSchedule = getFleetSchedule;
53
+ /**
54
+ * Retrieves a Fleet Automation Agent upgrade schedule by ID. Reading schedules requires an application key with the `hostsRead` permission.
55
+ *
56
+ * ## Example Usage
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as datadog from "@pulumi/datadog";
61
+ *
62
+ * // Reading Fleet Automation schedules requires the hosts_read permission.
63
+ * const nonproduction = datadog.getFleetSchedule({
64
+ * id: "<schedule_id>",
65
+ * });
66
+ * ```
67
+ */
68
+ function getFleetScheduleOutput(args, opts) {
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
70
+ return pulumi.runtime.invokeOutput("datadog:index/getFleetSchedule:getFleetSchedule", {
71
+ "id": args.id,
72
+ }, opts);
73
+ }
74
+ exports.getFleetScheduleOutput = getFleetScheduleOutput;
75
+ //# sourceMappingURL=getFleetSchedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFleetSchedule.js","sourceRoot":"","sources":["../getFleetSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC;AAqED;;;;;;;;;;;;;;GAcG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC"}
@@ -0,0 +1,44 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Lists Fleet Automation Agent upgrade schedules in ID order. An empty result is successful. Reading schedules requires an application key with the `hostsRead` permission.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as datadog from "@pulumi/datadog";
11
+ *
12
+ * // Returns an empty list when the organization has no Fleet Automation schedules.
13
+ * const all = datadog.getFleetSchedules({});
14
+ * ```
15
+ */
16
+ export declare function getFleetSchedules(opts?: pulumi.InvokeOptions): Promise<GetFleetSchedulesResult>;
17
+ /**
18
+ * A collection of values returned by getFleetSchedules.
19
+ */
20
+ export interface GetFleetSchedulesResult {
21
+ /**
22
+ * Fleet Automation schedules, sorted by ID.
23
+ */
24
+ readonly schedules: outputs.GetFleetSchedulesSchedule[];
25
+ /**
26
+ * Total number of schedules returned by the API.
27
+ */
28
+ readonly totalCount: number;
29
+ }
30
+ /**
31
+ * Lists Fleet Automation Agent upgrade schedules in ID order. An empty result is successful. Reading schedules requires an application key with the `hostsRead` permission.
32
+ *
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as datadog from "@pulumi/datadog";
38
+ *
39
+ * // Returns an empty list when the organization has no Fleet Automation schedules.
40
+ * const all = datadog.getFleetSchedules({});
41
+ * ```
42
+ */
43
+ export declare function getFleetSchedulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFleetSchedulesResult>;
44
+ //# sourceMappingURL=getFleetSchedules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFleetSchedules.d.ts","sourceRoot":"","sources":["../getFleetSchedules.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAI/F;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,yBAAyB,EAAE,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC/B;AACD;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAIjH"}