@pulumi/datadog 4.58.0-alpha.1760420742 → 4.58.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 (69) hide show
  1. package/applicationKey.d.ts +13 -2
  2. package/applicationKey.js +13 -2
  3. package/applicationKey.js.map +1 -1
  4. package/aws/getIntegrationIamPermissionsStandard.d.ts +22 -0
  5. package/aws/getIntegrationIamPermissionsStandard.js +24 -0
  6. package/aws/getIntegrationIamPermissionsStandard.js.map +1 -0
  7. package/aws/index.d.ts +3 -0
  8. package/aws/index.js +4 -1
  9. package/aws/index.js.map +1 -1
  10. package/awsCurConfig.d.ts +40 -0
  11. package/awsCurConfig.js +10 -0
  12. package/awsCurConfig.js.map +1 -1
  13. package/azureUcConfig.d.ts +151 -0
  14. package/azureUcConfig.js +89 -0
  15. package/azureUcConfig.js.map +1 -0
  16. package/customAllocationRule.d.ts +141 -0
  17. package/customAllocationRule.js +91 -0
  18. package/customAllocationRule.js.map +1 -0
  19. package/customAllocationRules.d.ts +61 -0
  20. package/customAllocationRules.js +65 -0
  21. package/customAllocationRules.js.map +1 -0
  22. package/gcpUcConfig.d.ts +192 -0
  23. package/gcpUcConfig.js +116 -0
  24. package/gcpUcConfig.js.map +1 -0
  25. package/getAzureUcConfig.d.ts +98 -0
  26. package/getAzureUcConfig.js +32 -0
  27. package/getAzureUcConfig.js.map +1 -0
  28. package/getCustomAllocationRule.d.ts +88 -0
  29. package/getCustomAllocationRule.js +34 -0
  30. package/getCustomAllocationRule.js.map +1 -0
  31. package/getGcpUcConfig.d.ts +88 -0
  32. package/getGcpUcConfig.js +28 -0
  33. package/getGcpUcConfig.js.map +1 -0
  34. package/getPermissions.d.ts +26 -2
  35. package/getPermissions.js +26 -2
  36. package/getPermissions.js.map +1 -1
  37. package/getRole.d.ts +4 -4
  38. package/getRole.js +4 -4
  39. package/getRoleUsers.d.ts +32 -0
  40. package/getRoleUsers.js +32 -0
  41. package/getRoleUsers.js.map +1 -1
  42. package/getRoles.d.ts +4 -4
  43. package/getRoles.js +4 -4
  44. package/getTagPipelineRuleset.d.ts +66 -0
  45. package/getTagPipelineRuleset.js +30 -0
  46. package/getTagPipelineRuleset.js.map +1 -0
  47. package/index.d.ts +30 -0
  48. package/index.js +47 -5
  49. package/index.js.map +1 -1
  50. package/package.json +2 -2
  51. package/role.d.ts +6 -6
  52. package/role.js +6 -6
  53. package/serviceAccountApplicationKey.d.ts +15 -3
  54. package/serviceAccountApplicationKey.js +15 -3
  55. package/serviceAccountApplicationKey.js.map +1 -1
  56. package/syntheticsPrivateLocation.d.ts +8 -0
  57. package/syntheticsPrivateLocation.js +2 -0
  58. package/syntheticsPrivateLocation.js.map +1 -1
  59. package/tagPipelineRuleset.d.ts +103 -0
  60. package/tagPipelineRuleset.js +73 -0
  61. package/tagPipelineRuleset.js.map +1 -0
  62. package/tagPipelineRulesets.d.ts +73 -0
  63. package/tagPipelineRulesets.js +77 -0
  64. package/tagPipelineRulesets.js.map +1 -0
  65. package/types/input.d.ts +798 -0
  66. package/types/output.d.ts +588 -0
  67. package/userRole.d.ts +16 -8
  68. package/userRole.js +16 -8
  69. package/userRole.js.map +1 -1
@@ -8,8 +8,19 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as datadog from "@pulumi/datadog";
10
10
  *
11
- * // Create a new Datadog Application Key
12
- * const foo = new datadog.ApplicationKey("foo", {name: "foo-application"});
11
+ * // Source the permissions for scoped keys
12
+ * const ddPerms = datadog.getPermissions({});
13
+ * // Create an unrestricted Application Key
14
+ * // This key inherits all permissions of the user that owns the key
15
+ * const unrestrictedKey = new datadog.ApplicationKey("unrestricted_key", {name: "Unrestricted Application Key"});
16
+ * // Create a scoped Application Key for monitor management
17
+ * const monitorManagementKey = new datadog.ApplicationKey("monitor_management_key", {
18
+ * name: "Monitor Management Key",
19
+ * scopes: [
20
+ * ddPerms.then(ddPerms => ddPerms.permissions?.monitorsRead),
21
+ * ddPerms.then(ddPerms => ddPerms.permissions?.monitorsWrite),
22
+ * ],
23
+ * });
13
24
  * ```
14
25
  *
15
26
  * ## Import
package/applicationKey.js CHANGED
@@ -14,8 +14,19 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as datadog from "@pulumi/datadog";
16
16
  *
17
- * // Create a new Datadog Application Key
18
- * const foo = new datadog.ApplicationKey("foo", {name: "foo-application"});
17
+ * // Source the permissions for scoped keys
18
+ * const ddPerms = datadog.getPermissions({});
19
+ * // Create an unrestricted Application Key
20
+ * // This key inherits all permissions of the user that owns the key
21
+ * const unrestrictedKey = new datadog.ApplicationKey("unrestricted_key", {name: "Unrestricted Application Key"});
22
+ * // Create a scoped Application Key for monitor management
23
+ * const monitorManagementKey = new datadog.ApplicationKey("monitor_management_key", {
24
+ * name: "Monitor Management Key",
25
+ * scopes: [
26
+ * ddPerms.then(ddPerms => ddPerms.permissions?.monitorsRead),
27
+ * ddPerms.then(ddPerms => ddPerms.permissions?.monitorsWrite),
28
+ * ],
29
+ * });
19
30
  * ```
20
31
  *
21
32
  * ## Import
@@ -1 +1 @@
1
- {"version":3,"file":"applicationKey.js","sourceRoot":"","sources":["../applicationKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS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EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAtEL,wCAuEC;AAzDG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve the standard IAM permissions required for the AWS integration. This provides the minimum list of IAM actions that should be included in the AWS role policy for Datadog integration.
4
+ */
5
+ export declare function getIntegrationIamPermissionsStandard(opts?: pulumi.InvokeOptions): Promise<GetIntegrationIamPermissionsStandardResult>;
6
+ /**
7
+ * A collection of values returned by getIntegrationIamPermissionsStandard.
8
+ */
9
+ export interface GetIntegrationIamPermissionsStandardResult {
10
+ /**
11
+ * The list of standard IAM actions required for the AWS integration.
12
+ */
13
+ readonly iamPermissions: string[];
14
+ /**
15
+ * The ID of this resource.
16
+ */
17
+ readonly id: string;
18
+ }
19
+ /**
20
+ * Use this data source to retrieve the standard IAM permissions required for the AWS integration. This provides the minimum list of IAM actions that should be included in the AWS role policy for Datadog integration.
21
+ */
22
+ export declare function getIntegrationIamPermissionsStandardOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIntegrationIamPermissionsStandardResult>;
@@ -0,0 +1,24 @@
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.getIntegrationIamPermissionsStandardOutput = exports.getIntegrationIamPermissionsStandard = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to retrieve the standard IAM permissions required for the AWS integration. This provides the minimum list of IAM actions that should be included in the AWS role policy for Datadog integration.
10
+ */
11
+ function getIntegrationIamPermissionsStandard(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("datadog:aws/getIntegrationIamPermissionsStandard:getIntegrationIamPermissionsStandard", {}, opts);
14
+ }
15
+ exports.getIntegrationIamPermissionsStandard = getIntegrationIamPermissionsStandard;
16
+ /**
17
+ * Use this data source to retrieve the standard IAM permissions required for the AWS integration. This provides the minimum list of IAM actions that should be included in the AWS role policy for Datadog integration.
18
+ */
19
+ function getIntegrationIamPermissionsStandardOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("datadog:aws/getIntegrationIamPermissionsStandard:getIntegrationIamPermissionsStandard", {}, opts);
22
+ }
23
+ exports.getIntegrationIamPermissionsStandardOutput = getIntegrationIamPermissionsStandardOutput;
24
+ //# sourceMappingURL=getIntegrationIamPermissionsStandard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIntegrationIamPermissionsStandard.js","sourceRoot":"","sources":["../../aws/getIntegrationIamPermissionsStandard.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oCAAoC,CAAC,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uFAAuF,EAAE,EACrH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oFAIC;AAeD;;GAEG;AACH,SAAgB,0CAA0C,CAAC,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uFAAuF,EAAE,EAC3H,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gGAIC"}
package/aws/index.d.ts CHANGED
@@ -10,6 +10,9 @@ export declare const getIntegrationExternalIdOutput: typeof import("./getIntegra
10
10
  export { GetIntegrationIamPermissionsResult } from "./getIntegrationIamPermissions";
11
11
  export declare const getIntegrationIamPermissions: typeof import("./getIntegrationIamPermissions").getIntegrationIamPermissions;
12
12
  export declare const getIntegrationIamPermissionsOutput: typeof import("./getIntegrationIamPermissions").getIntegrationIamPermissionsOutput;
13
+ export { GetIntegrationIamPermissionsStandardResult } from "./getIntegrationIamPermissionsStandard";
14
+ export declare const getIntegrationIamPermissionsStandard: typeof import("./getIntegrationIamPermissionsStandard").getIntegrationIamPermissionsStandard;
15
+ export declare const getIntegrationIamPermissionsStandardOutput: typeof import("./getIntegrationIamPermissionsStandard").getIntegrationIamPermissionsStandardOutput;
13
16
  export { GetIntegrationLogsServicesResult } from "./getIntegrationLogsServices";
14
17
  export declare const getIntegrationLogsServices: typeof import("./getIntegrationLogsServices").getIntegrationLogsServices;
15
18
  export declare const getIntegrationLogsServicesOutput: typeof import("./getIntegrationLogsServices").getIntegrationLogsServicesOutput;
package/aws/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.IntegrationTagFilter = exports.IntegrationLogCollection = exports.IntegrationLambdaArn = exports.IntegrationExternalId = exports.IntegrationEventBridge = exports.IntegrationAccount = exports.Integration = exports.getIntegrationNamespaceRulesOutput = exports.getIntegrationNamespaceRules = exports.getIntegrationLogsServicesOutput = exports.getIntegrationLogsServices = exports.getIntegrationIamPermissionsOutput = exports.getIntegrationIamPermissions = exports.getIntegrationExternalIdOutput = exports.getIntegrationExternalId = exports.getIntegrationAvailableNamespacesOutput = exports.getIntegrationAvailableNamespaces = exports.getIntegrationAvailableLogsServicesOutput = exports.getIntegrationAvailableLogsServices = void 0;
5
+ exports.IntegrationTagFilter = exports.IntegrationLogCollection = exports.IntegrationLambdaArn = exports.IntegrationExternalId = exports.IntegrationEventBridge = exports.IntegrationAccount = exports.Integration = exports.getIntegrationNamespaceRulesOutput = exports.getIntegrationNamespaceRules = exports.getIntegrationLogsServicesOutput = exports.getIntegrationLogsServices = exports.getIntegrationIamPermissionsStandardOutput = exports.getIntegrationIamPermissionsStandard = exports.getIntegrationIamPermissionsOutput = exports.getIntegrationIamPermissions = exports.getIntegrationExternalIdOutput = exports.getIntegrationExternalId = exports.getIntegrationAvailableNamespacesOutput = exports.getIntegrationAvailableNamespaces = exports.getIntegrationAvailableLogsServicesOutput = exports.getIntegrationAvailableLogsServices = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getIntegrationAvailableLogsServices = null;
@@ -17,6 +17,9 @@ utilities.lazyLoad(exports, ["getIntegrationExternalId", "getIntegrationExternal
17
17
  exports.getIntegrationIamPermissions = null;
18
18
  exports.getIntegrationIamPermissionsOutput = null;
19
19
  utilities.lazyLoad(exports, ["getIntegrationIamPermissions", "getIntegrationIamPermissionsOutput"], () => require("./getIntegrationIamPermissions"));
20
+ exports.getIntegrationIamPermissionsStandard = null;
21
+ exports.getIntegrationIamPermissionsStandardOutput = null;
22
+ utilities.lazyLoad(exports, ["getIntegrationIamPermissionsStandard", "getIntegrationIamPermissionsStandardOutput"], () => require("./getIntegrationIamPermissionsStandard"));
20
23
  exports.getIntegrationLogsServices = null;
21
24
  exports.getIntegrationLogsServicesOutput = null;
22
25
  utilities.lazyLoad(exports, ["getIntegrationLogsServices", "getIntegrationLogsServicesOutput"], () => require("./getIntegrationLogsServices"));
package/aws/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../aws/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,mCAAmC,GAA+F,IAAW,CAAC;AAC9I,QAAA,yCAAyC,GAAqG,IAAW,CAAC;AACvK,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qCAAqC,EAAC,2CAA2C,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uCAAuC,CAAC,CAAC,CAAC;AAG5J,QAAA,iCAAiC,GAA2F,IAAW,CAAC;AACxI,QAAA,uCAAuC,GAAiG,IAAW,CAAC;AACjK,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mCAAmC,EAAC,yCAAyC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qCAAqC,CAAC,CAAC,CAAC;AAGtJ,QAAA,wBAAwB,GAAyE,IAAW,CAAC;AAC7G,QAAA,8BAA8B,GAA+E,IAAW,CAAC;AACtI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,0BAA0B,EAAC,gCAAgC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,CAAC;AAG3H,QAAA,4BAA4B,GAAiF,IAAW,CAAC;AACzH,QAAA,kCAAkC,GAAuF,IAAW,CAAC;AAClJ,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,C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A;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
package/awsCurConfig.d.ts CHANGED
@@ -43,6 +43,14 @@ export declare class AwsCurConfig extends pulumi.CustomResource {
43
43
  * The AWS region where the S3 bucket containing your Cost and Usage Report is located (e.g., us-east-1, eu-west-1).
44
44
  */
45
45
  readonly bucketRegion: pulumi.Output<string | undefined>;
46
+ /**
47
+ * The timestamp when the AWS CUR configuration was created.
48
+ */
49
+ readonly createdAt: pulumi.Output<string>;
50
+ /**
51
+ * List of error messages if the AWS CUR configuration encountered any issues during setup or data processing.
52
+ */
53
+ readonly errorMessages: pulumi.Output<string[]>;
46
54
  /**
47
55
  * The exact name of your AWS Cost and Usage Report as configured in AWS Billing preferences. This must match the report name exactly as it appears in your AWS billing settings.
48
56
  */
@@ -51,6 +59,18 @@ export declare class AwsCurConfig extends pulumi.CustomResource {
51
59
  * The S3 key prefix where your Cost and Usage Report files are stored within the bucket (e.g., 'cur-reports/', 'billing/cur/').
52
60
  */
53
61
  readonly reportPrefix: pulumi.Output<string>;
62
+ /**
63
+ * The current status of the AWS CUR configuration.
64
+ */
65
+ readonly status: pulumi.Output<string>;
66
+ /**
67
+ * The timestamp when the configuration status was last updated.
68
+ */
69
+ readonly statusUpdatedAt: pulumi.Output<string>;
70
+ /**
71
+ * The timestamp when the AWS CUR configuration was last modified.
72
+ */
73
+ readonly updatedAt: pulumi.Output<string>;
54
74
  /**
55
75
  * Create a AwsCurConfig resource with the given unique name, arguments, and options.
56
76
  *
@@ -77,6 +97,14 @@ export interface AwsCurConfigState {
77
97
  * The AWS region where the S3 bucket containing your Cost and Usage Report is located (e.g., us-east-1, eu-west-1).
78
98
  */
79
99
  bucketRegion?: pulumi.Input<string>;
100
+ /**
101
+ * The timestamp when the AWS CUR configuration was created.
102
+ */
103
+ createdAt?: pulumi.Input<string>;
104
+ /**
105
+ * List of error messages if the AWS CUR configuration encountered any issues during setup or data processing.
106
+ */
107
+ errorMessages?: pulumi.Input<pulumi.Input<string>[]>;
80
108
  /**
81
109
  * The exact name of your AWS Cost and Usage Report as configured in AWS Billing preferences. This must match the report name exactly as it appears in your AWS billing settings.
82
110
  */
@@ -85,6 +113,18 @@ export interface AwsCurConfigState {
85
113
  * The S3 key prefix where your Cost and Usage Report files are stored within the bucket (e.g., 'cur-reports/', 'billing/cur/').
86
114
  */
87
115
  reportPrefix?: pulumi.Input<string>;
116
+ /**
117
+ * The current status of the AWS CUR configuration.
118
+ */
119
+ status?: pulumi.Input<string>;
120
+ /**
121
+ * The timestamp when the configuration status was last updated.
122
+ */
123
+ statusUpdatedAt?: pulumi.Input<string>;
124
+ /**
125
+ * The timestamp when the AWS CUR configuration was last modified.
126
+ */
127
+ updatedAt?: pulumi.Input<string>;
88
128
  }
89
129
  /**
90
130
  * The set of arguments for constructing a AwsCurConfig resource.
package/awsCurConfig.js CHANGED
@@ -50,8 +50,13 @@ class AwsCurConfig extends pulumi.CustomResource {
50
50
  resourceInputs["accountId"] = state?.accountId;
51
51
  resourceInputs["bucketName"] = state?.bucketName;
52
52
  resourceInputs["bucketRegion"] = state?.bucketRegion;
53
+ resourceInputs["createdAt"] = state?.createdAt;
54
+ resourceInputs["errorMessages"] = state?.errorMessages;
53
55
  resourceInputs["reportName"] = state?.reportName;
54
56
  resourceInputs["reportPrefix"] = state?.reportPrefix;
57
+ resourceInputs["status"] = state?.status;
58
+ resourceInputs["statusUpdatedAt"] = state?.statusUpdatedAt;
59
+ resourceInputs["updatedAt"] = state?.updatedAt;
55
60
  }
56
61
  else {
57
62
  const args = argsOrState;
@@ -73,6 +78,11 @@ class AwsCurConfig extends pulumi.CustomResource {
73
78
  resourceInputs["bucketRegion"] = args?.bucketRegion;
74
79
  resourceInputs["reportName"] = args?.reportName;
75
80
  resourceInputs["reportPrefix"] = args?.reportPrefix;
81
+ resourceInputs["createdAt"] = undefined /*out*/;
82
+ resourceInputs["errorMessages"] = undefined /*out*/;
83
+ resourceInputs["status"] = undefined /*out*/;
84
+ resourceInputs["statusUpdatedAt"] = undefined /*out*/;
85
+ resourceInputs["updatedAt"] = undefined /*out*/;
76
86
  }
77
87
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
78
88
  super(AwsCurConfig.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"awsCurConfig.js","sourceRoot":"","sources":["../awsCurConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAgCD,YAAY,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ides a Datadog Azure Usage Cost configuration resource. This can be used to create and manage Azure Cost Export configurations for Cloud Cost Management. Azure configurations require both actual and amortized cost export settings.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ## Import
10
+ *
11
+ * The `pulumi import` command can be used, for example:
12
+ *
13
+ * ```sh
14
+ * $ pulumi import datadog:index/azureUcConfig:AzureUcConfig example <cloud_account_id>
15
+ * ```
16
+ */
17
+ export declare class AzureUcConfig extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing AzureUcConfig resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AzureUcConfigState, opts?: pulumi.CustomResourceOptions): AzureUcConfig;
28
+ /**
29
+ * Returns true if the given object is an instance of AzureUcConfig. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is AzureUcConfig;
33
+ /**
34
+ * The tenant ID of the Azure account.
35
+ */
36
+ readonly accountId: pulumi.Output<string>;
37
+ /**
38
+ * Configuration for the actual cost export.
39
+ */
40
+ readonly actualBillConfig: pulumi.Output<outputs.AzureUcConfigActualBillConfig | undefined>;
41
+ /**
42
+ * Configuration for the amortized cost export.
43
+ */
44
+ readonly amortizedBillConfig: pulumi.Output<outputs.AzureUcConfigAmortizedBillConfig | undefined>;
45
+ /**
46
+ * The client ID of the Azure account.
47
+ */
48
+ readonly clientId: pulumi.Output<string>;
49
+ /**
50
+ * The timestamp when the Azure Usage Cost configuration was created.
51
+ */
52
+ readonly createdAt: pulumi.Output<string>;
53
+ /**
54
+ * List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
55
+ */
56
+ readonly errorMessages: pulumi.Output<string[]>;
57
+ /**
58
+ * The scope of your observed subscription.
59
+ */
60
+ readonly scope: pulumi.Output<string>;
61
+ /**
62
+ * The current status of the Azure Usage Cost configuration.
63
+ */
64
+ readonly status: pulumi.Output<string>;
65
+ /**
66
+ * The timestamp when the configuration status was last updated.
67
+ */
68
+ readonly statusUpdatedAt: pulumi.Output<string>;
69
+ /**
70
+ * The timestamp when the Azure Usage Cost configuration was last modified.
71
+ */
72
+ readonly updatedAt: pulumi.Output<string>;
73
+ /**
74
+ * Create a AzureUcConfig resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: AzureUcConfigArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering AzureUcConfig resources.
84
+ */
85
+ export interface AzureUcConfigState {
86
+ /**
87
+ * The tenant ID of the Azure account.
88
+ */
89
+ accountId?: pulumi.Input<string>;
90
+ /**
91
+ * Configuration for the actual cost export.
92
+ */
93
+ actualBillConfig?: pulumi.Input<inputs.AzureUcConfigActualBillConfig>;
94
+ /**
95
+ * Configuration for the amortized cost export.
96
+ */
97
+ amortizedBillConfig?: pulumi.Input<inputs.AzureUcConfigAmortizedBillConfig>;
98
+ /**
99
+ * The client ID of the Azure account.
100
+ */
101
+ clientId?: pulumi.Input<string>;
102
+ /**
103
+ * The timestamp when the Azure Usage Cost configuration was created.
104
+ */
105
+ createdAt?: pulumi.Input<string>;
106
+ /**
107
+ * List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
108
+ */
109
+ errorMessages?: pulumi.Input<pulumi.Input<string>[]>;
110
+ /**
111
+ * The scope of your observed subscription.
112
+ */
113
+ scope?: pulumi.Input<string>;
114
+ /**
115
+ * The current status of the Azure Usage Cost configuration.
116
+ */
117
+ status?: pulumi.Input<string>;
118
+ /**
119
+ * The timestamp when the configuration status was last updated.
120
+ */
121
+ statusUpdatedAt?: pulumi.Input<string>;
122
+ /**
123
+ * The timestamp when the Azure Usage Cost configuration was last modified.
124
+ */
125
+ updatedAt?: pulumi.Input<string>;
126
+ }
127
+ /**
128
+ * The set of arguments for constructing a AzureUcConfig resource.
129
+ */
130
+ export interface AzureUcConfigArgs {
131
+ /**
132
+ * The tenant ID of the Azure account.
133
+ */
134
+ accountId: pulumi.Input<string>;
135
+ /**
136
+ * Configuration for the actual cost export.
137
+ */
138
+ actualBillConfig?: pulumi.Input<inputs.AzureUcConfigActualBillConfig>;
139
+ /**
140
+ * Configuration for the amortized cost export.
141
+ */
142
+ amortizedBillConfig?: pulumi.Input<inputs.AzureUcConfigAmortizedBillConfig>;
143
+ /**
144
+ * The client ID of the Azure account.
145
+ */
146
+ clientId: pulumi.Input<string>;
147
+ /**
148
+ * The scope of your observed subscription.
149
+ */
150
+ scope: pulumi.Input<string>;
151
+ }
@@ -0,0 +1,89 @@
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.AzureUcConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Datadog Azure Usage Cost configuration resource. This can be used to create and manage Azure Cost Export configurations for Cloud Cost Management. Azure configurations require both actual and amortized cost export settings.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ## Import
14
+ *
15
+ * The `pulumi import` command can be used, for example:
16
+ *
17
+ * ```sh
18
+ * $ pulumi import datadog:index/azureUcConfig:AzureUcConfig example <cloud_account_id>
19
+ * ```
20
+ */
21
+ class AzureUcConfig extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing AzureUcConfig resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name, id, state, opts) {
32
+ return new AzureUcConfig(name, state, { ...opts, id: id });
33
+ }
34
+ /**
35
+ * Returns true if the given object is an instance of AzureUcConfig. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj) {
39
+ if (obj === undefined || obj === null) {
40
+ return false;
41
+ }
42
+ return obj['__pulumiType'] === AzureUcConfig.__pulumiType;
43
+ }
44
+ constructor(name, argsOrState, opts) {
45
+ let resourceInputs = {};
46
+ opts = opts || {};
47
+ if (opts.id) {
48
+ const state = argsOrState;
49
+ resourceInputs["accountId"] = state?.accountId;
50
+ resourceInputs["actualBillConfig"] = state?.actualBillConfig;
51
+ resourceInputs["amortizedBillConfig"] = state?.amortizedBillConfig;
52
+ resourceInputs["clientId"] = state?.clientId;
53
+ resourceInputs["createdAt"] = state?.createdAt;
54
+ resourceInputs["errorMessages"] = state?.errorMessages;
55
+ resourceInputs["scope"] = state?.scope;
56
+ resourceInputs["status"] = state?.status;
57
+ resourceInputs["statusUpdatedAt"] = state?.statusUpdatedAt;
58
+ resourceInputs["updatedAt"] = state?.updatedAt;
59
+ }
60
+ else {
61
+ const args = argsOrState;
62
+ if (args?.accountId === undefined && !opts.urn) {
63
+ throw new Error("Missing required property 'accountId'");
64
+ }
65
+ if (args?.clientId === undefined && !opts.urn) {
66
+ throw new Error("Missing required property 'clientId'");
67
+ }
68
+ if (args?.scope === undefined && !opts.urn) {
69
+ throw new Error("Missing required property 'scope'");
70
+ }
71
+ resourceInputs["accountId"] = args?.accountId;
72
+ resourceInputs["actualBillConfig"] = args?.actualBillConfig;
73
+ resourceInputs["amortizedBillConfig"] = args?.amortizedBillConfig;
74
+ resourceInputs["clientId"] = args?.clientId;
75
+ resourceInputs["scope"] = args?.scope;
76
+ resourceInputs["createdAt"] = undefined /*out*/;
77
+ resourceInputs["errorMessages"] = undefined /*out*/;
78
+ resourceInputs["status"] = undefined /*out*/;
79
+ resourceInputs["statusUpdatedAt"] = undefined /*out*/;
80
+ resourceInputs["updatedAt"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(AzureUcConfig.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+ exports.AzureUcConfig = AzureUcConfig;
87
+ /** @internal */
88
+ AzureUcConfig.__pulumiType = 'datadog:index/azureUcConfig:AzureUcConfig';
89
+ //# sourceMappingURL=azureUcConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureUcConfig.js","sourceRoot":"","sources":["../azureUcConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,W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