@pulumi/oci 2.6.0 → 2.7.0-alpha.1723624751

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 (47) hide show
  1. package/database/autonomousDatabase.d.ts +3 -3
  2. package/database/getAutonomousDatabase.d.ts +1 -1
  3. package/database/getAutonomousDatabases.d.ts +4 -2
  4. package/database/getAutonomousDatabases.js +4 -2
  5. package/database/getAutonomousDatabases.js.map +1 -1
  6. package/datasafe/calculateAuditVolumeAvailable.d.ts +133 -0
  7. package/datasafe/calculateAuditVolumeAvailable.js +87 -0
  8. package/datasafe/calculateAuditVolumeAvailable.js.map +1 -0
  9. package/datasafe/calculateAuditVolumeCollected.d.ts +120 -0
  10. package/datasafe/calculateAuditVolumeCollected.js +87 -0
  11. package/datasafe/calculateAuditVolumeCollected.js.map +1 -0
  12. package/datasafe/index.d.ts +6 -0
  13. package/datasafe/index.js +16 -6
  14. package/datasafe/index.js.map +1 -1
  15. package/disasterrecovery/getDrPlanExecutions.d.ts +0 -39
  16. package/disasterrecovery/getDrPlanExecutions.js +0 -31
  17. package/disasterrecovery/getDrPlanExecutions.js.map +1 -1
  18. package/integration/getIntegrationInstance.d.ts +6 -0
  19. package/integration/getIntegrationInstance.js.map +1 -1
  20. package/integration/integrationInstance.d.ts +12 -0
  21. package/integration/integrationInstance.js +2 -0
  22. package/integration/integrationInstance.js.map +1 -1
  23. package/limits/getLimitDefinitions.d.ts +13 -2
  24. package/limits/getLimitDefinitions.js +5 -2
  25. package/limits/getLimitDefinitions.js.map +1 -1
  26. package/limits/getLimitValues.d.ts +13 -2
  27. package/limits/getLimitValues.js +5 -2
  28. package/limits/getLimitValues.js.map +1 -1
  29. package/limits/getResourceAvailability.d.ts +15 -2
  30. package/limits/getResourceAvailability.js +7 -2
  31. package/limits/getResourceAvailability.js.map +1 -1
  32. package/limits/getServices.d.ts +13 -2
  33. package/limits/getServices.js +5 -2
  34. package/limits/getServices.js.map +1 -1
  35. package/networkloadbalancer/backendSet.d.ts +1 -1
  36. package/networkloadbalancer/backendSet.js +1 -1
  37. package/networkloadbalancer/getListener.d.ts +8 -0
  38. package/networkloadbalancer/getListener.js.map +1 -1
  39. package/networkloadbalancer/listener.d.ts +29 -3
  40. package/networkloadbalancer/listener.js +6 -0
  41. package/networkloadbalancer/listener.js.map +1 -1
  42. package/networkloadbalancer/networkLoadBalancer.d.ts +3 -3
  43. package/networkloadbalancer/networkLoadBalancersBackendSetsUnified.d.ts +1 -1
  44. package/networkloadbalancer/networkLoadBalancersBackendSetsUnified.js +1 -1
  45. package/package.json +2 -2
  46. package/types/input.d.ts +18 -0
  47. package/types/output.d.ts +48 -4
@@ -259,7 +259,7 @@ export declare class AutonomousDatabase extends pulumi.CustomResource {
259
259
  */
260
260
  readonly isDedicated: pulumi.Output<boolean>;
261
261
  /**
262
- * (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
262
+ * (Updatable) Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.
263
263
  */
264
264
  readonly isDevTier: pulumi.Output<boolean>;
265
265
  /**
@@ -893,7 +893,7 @@ export interface AutonomousDatabaseState {
893
893
  */
894
894
  isDedicated?: pulumi.Input<boolean>;
895
895
  /**
896
- * (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
896
+ * (Updatable) Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.
897
897
  */
898
898
  isDevTier?: pulumi.Input<boolean>;
899
899
  /**
@@ -1467,7 +1467,7 @@ export interface AutonomousDatabaseArgs {
1467
1467
  */
1468
1468
  isDedicated?: pulumi.Input<boolean>;
1469
1469
  /**
1470
- * (Updatable) This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
1470
+ * (Updatable) Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.
1471
1471
  */
1472
1472
  isDevTier?: pulumi.Input<boolean>;
1473
1473
  /**
@@ -224,7 +224,7 @@ export interface GetAutonomousDatabaseResult {
224
224
  */
225
225
  readonly isDedicated: boolean;
226
226
  /**
227
- * This project introduces Autonomous Database for Developers (ADB-Dev), a free tier on dedicated infrastructure, and Cloud@Customer for database development purposes. ADB-Dev enables ExaDB customers to experiment with ADB for free and incentivizes enterprises to use ADB for new development projects.Note that ADB-Dev have 4 CPU and 20GB of memory. For ADB-Dev , memory and CPU cannot be scaled
227
+ * Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.
228
228
  */
229
229
  readonly isDevTier: boolean;
230
230
  /**
@@ -5,7 +5,8 @@ import * as outputs from "../types/output";
5
5
  * ##
6
6
  *
7
7
  * ***
8
- * subcategory: "Database"
8
+ * ## subcategory: "Database"
9
+ *
9
10
  * layout: "oci"
10
11
  * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases"
11
12
  * sidebar_current: "docs-oci-datasource-database-autonomous_databases"
@@ -162,7 +163,8 @@ export interface GetAutonomousDatabasesResult {
162
163
  * ##
163
164
  *
164
165
  * ***
165
- * subcategory: "Database"
166
+ * ## subcategory: "Database"
167
+ *
166
168
  * layout: "oci"
167
169
  * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases"
168
170
  * sidebar_current: "docs-oci-datasource-database-autonomous_databases"
@@ -9,7 +9,8 @@ const utilities = require("../utilities");
9
9
  * ##
10
10
  *
11
11
  * ***
12
- * subcategory: "Database"
12
+ * ## subcategory: "Database"
13
+ *
13
14
  * layout: "oci"
14
15
  * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases"
15
16
  * sidebar_current: "docs-oci-datasource-database-autonomous_databases"
@@ -67,7 +68,8 @@ exports.getAutonomousDatabases = getAutonomousDatabases;
67
68
  * ##
68
69
  *
69
70
  * ***
70
- * subcategory: "Database"
71
+ * ## subcategory: "Database"
72
+ *
71
73
  * layout: "oci"
72
74
  * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases"
73
75
  * sidebar_current: "docs-oci-datasource-database-autonomous_databases"
@@ -1 +1 @@
1
- {"version":3,"file":"getAutonomousDatabases.js","sourceRoot":"","sources":["../../database/getAutonomousDatabases.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IA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AAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,wDAkBC;AAwHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
@@ -0,0 +1,133 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * This resource provides the Calculate Audit Volume Available resource in Oracle Cloud Infrastructure Data Safe service.
6
+ *
7
+ * Calculates the volume of audit events available on the target database to be collected. Measurable up to the defined retention period of the audit target resource.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as oci from "@pulumi/oci";
14
+ *
15
+ * const testCalculateAuditVolumeAvailable = new oci.datasafe.CalculateAuditVolumeAvailable("test_calculate_audit_volume_available", {
16
+ * auditProfileId: testAuditProfile.id,
17
+ * auditCollectionStartTime: calculateAuditVolumeAvailableAuditCollectionStartTime,
18
+ * databaseUniqueName: calculateAuditVolumeAvailableDatabaseUniqueName,
19
+ * trailLocations: calculateAuditVolumeAvailableTrailLocations,
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * CalculateAuditVolumeAvailable can be imported using the `id`, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import oci:DataSafe/calculateAuditVolumeAvailable:CalculateAuditVolumeAvailable test_calculate_audit_volume_available "id"
29
+ * ```
30
+ */
31
+ export declare class CalculateAuditVolumeAvailable extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing CalculateAuditVolumeAvailable resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CalculateAuditVolumeAvailableState, opts?: pulumi.CustomResourceOptions): CalculateAuditVolumeAvailable;
42
+ /**
43
+ * Returns true if the given object is an instance of CalculateAuditVolumeAvailable. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is CalculateAuditVolumeAvailable;
47
+ /**
48
+ * The date from which the audit trail must start collecting data in UTC, in the format defined by RFC3339. If not specified, this will default to the date based on the retention period.
49
+ */
50
+ readonly auditCollectionStartTime: pulumi.Output<string>;
51
+ /**
52
+ * The OCID of the audit.
53
+ */
54
+ readonly auditProfileId: pulumi.Output<string>;
55
+ /**
56
+ * List of available audit volumes.
57
+ */
58
+ readonly availableAuditVolumes: pulumi.Output<outputs.DataSafe.CalculateAuditVolumeAvailableAvailableAuditVolume[]>;
59
+ /**
60
+ * Unique name of the database associated to the peer target database.
61
+ */
62
+ readonly databaseUniqueName: pulumi.Output<string>;
63
+ /**
64
+ * The trail locations for which the audit data volume has to be calculated.
65
+ *
66
+ *
67
+ * ** IMPORTANT **
68
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
69
+ */
70
+ readonly trailLocations: pulumi.Output<string[]>;
71
+ /**
72
+ * Create a CalculateAuditVolumeAvailable resource with the given unique name, arguments, and options.
73
+ *
74
+ * @param name The _unique_ name of the resource.
75
+ * @param args The arguments to use to populate this resource's properties.
76
+ * @param opts A bag of options that control this resource's behavior.
77
+ */
78
+ constructor(name: string, args: CalculateAuditVolumeAvailableArgs, opts?: pulumi.CustomResourceOptions);
79
+ }
80
+ /**
81
+ * Input properties used for looking up and filtering CalculateAuditVolumeAvailable resources.
82
+ */
83
+ export interface CalculateAuditVolumeAvailableState {
84
+ /**
85
+ * The date from which the audit trail must start collecting data in UTC, in the format defined by RFC3339. If not specified, this will default to the date based on the retention period.
86
+ */
87
+ auditCollectionStartTime?: pulumi.Input<string>;
88
+ /**
89
+ * The OCID of the audit.
90
+ */
91
+ auditProfileId?: pulumi.Input<string>;
92
+ /**
93
+ * List of available audit volumes.
94
+ */
95
+ availableAuditVolumes?: pulumi.Input<pulumi.Input<inputs.DataSafe.CalculateAuditVolumeAvailableAvailableAuditVolume>[]>;
96
+ /**
97
+ * Unique name of the database associated to the peer target database.
98
+ */
99
+ databaseUniqueName?: pulumi.Input<string>;
100
+ /**
101
+ * The trail locations for which the audit data volume has to be calculated.
102
+ *
103
+ *
104
+ * ** IMPORTANT **
105
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
106
+ */
107
+ trailLocations?: pulumi.Input<pulumi.Input<string>[]>;
108
+ }
109
+ /**
110
+ * The set of arguments for constructing a CalculateAuditVolumeAvailable resource.
111
+ */
112
+ export interface CalculateAuditVolumeAvailableArgs {
113
+ /**
114
+ * The date from which the audit trail must start collecting data in UTC, in the format defined by RFC3339. If not specified, this will default to the date based on the retention period.
115
+ */
116
+ auditCollectionStartTime?: pulumi.Input<string>;
117
+ /**
118
+ * The OCID of the audit.
119
+ */
120
+ auditProfileId: pulumi.Input<string>;
121
+ /**
122
+ * Unique name of the database associated to the peer target database.
123
+ */
124
+ databaseUniqueName?: pulumi.Input<string>;
125
+ /**
126
+ * The trail locations for which the audit data volume has to be calculated.
127
+ *
128
+ *
129
+ * ** IMPORTANT **
130
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
131
+ */
132
+ trailLocations?: pulumi.Input<pulumi.Input<string>[]>;
133
+ }
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CalculateAuditVolumeAvailable = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource provides the Calculate Audit Volume Available resource in Oracle Cloud Infrastructure Data Safe service.
10
+ *
11
+ * Calculates the volume of audit events available on the target database to be collected. Measurable up to the defined retention period of the audit target resource.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as oci from "@pulumi/oci";
18
+ *
19
+ * const testCalculateAuditVolumeAvailable = new oci.datasafe.CalculateAuditVolumeAvailable("test_calculate_audit_volume_available", {
20
+ * auditProfileId: testAuditProfile.id,
21
+ * auditCollectionStartTime: calculateAuditVolumeAvailableAuditCollectionStartTime,
22
+ * databaseUniqueName: calculateAuditVolumeAvailableDatabaseUniqueName,
23
+ * trailLocations: calculateAuditVolumeAvailableTrailLocations,
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * CalculateAuditVolumeAvailable can be imported using the `id`, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import oci:DataSafe/calculateAuditVolumeAvailable:CalculateAuditVolumeAvailable test_calculate_audit_volume_available "id"
33
+ * ```
34
+ */
35
+ class CalculateAuditVolumeAvailable extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing CalculateAuditVolumeAvailable resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name, id, state, opts) {
46
+ return new CalculateAuditVolumeAvailable(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of CalculateAuditVolumeAvailable. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === CalculateAuditVolumeAvailable.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["auditCollectionStartTime"] = state ? state.auditCollectionStartTime : undefined;
64
+ resourceInputs["auditProfileId"] = state ? state.auditProfileId : undefined;
65
+ resourceInputs["availableAuditVolumes"] = state ? state.availableAuditVolumes : undefined;
66
+ resourceInputs["databaseUniqueName"] = state ? state.databaseUniqueName : undefined;
67
+ resourceInputs["trailLocations"] = state ? state.trailLocations : undefined;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if ((!args || args.auditProfileId === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'auditProfileId'");
73
+ }
74
+ resourceInputs["auditCollectionStartTime"] = args ? args.auditCollectionStartTime : undefined;
75
+ resourceInputs["auditProfileId"] = args ? args.auditProfileId : undefined;
76
+ resourceInputs["databaseUniqueName"] = args ? args.databaseUniqueName : undefined;
77
+ resourceInputs["trailLocations"] = args ? args.trailLocations : undefined;
78
+ resourceInputs["availableAuditVolumes"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(CalculateAuditVolumeAvailable.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ }
84
+ exports.CalculateAuditVolumeAvailable = CalculateAuditVolumeAvailable;
85
+ /** @internal */
86
+ CalculateAuditVolumeAvailable.__pulumiType = 'oci:DataSafe/calculateAuditVolumeAvailable:CalculateAuditVolumeAvailable';
87
+ //# sourceMappingURL=calculateAuditVolumeAvailable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calculateAuditVolumeAvailable.js","sourceRoot":"","sources":["../../datasafe/calculateAuditVolumeAvailable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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,YAA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,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/D;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;;AApFL,sEAqFC;AAvEG,gBAAgB;AACO,0CAAY,GAAG,0EAA0E,CAAC"}
@@ -0,0 +1,120 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * This resource provides the Calculate Audit Volume Collected resource in Oracle Cloud Infrastructure Data Safe service.
6
+ *
7
+ * Calculates the volume of audit events collected by data safe.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as oci from "@pulumi/oci";
14
+ *
15
+ * const testCalculateAuditVolumeCollected = new oci.datasafe.CalculateAuditVolumeCollected("test_calculate_audit_volume_collected", {
16
+ * auditProfileId: testAuditProfile.id,
17
+ * timeFromMonth: calculateAuditVolumeCollectedTimeFromMonth,
18
+ * timeToMonth: calculateAuditVolumeCollectedTimeToMonth,
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * CalculateAuditVolumeCollected can be imported using the `id`, e.g.
25
+ *
26
+ * ```sh
27
+ * $ pulumi import oci:DataSafe/calculateAuditVolumeCollected:CalculateAuditVolumeCollected test_calculate_audit_volume_collected "id"
28
+ * ```
29
+ */
30
+ export declare class CalculateAuditVolumeCollected extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing CalculateAuditVolumeCollected resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CalculateAuditVolumeCollectedState, opts?: pulumi.CustomResourceOptions): CalculateAuditVolumeCollected;
41
+ /**
42
+ * Returns true if the given object is an instance of CalculateAuditVolumeCollected. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is CalculateAuditVolumeCollected;
46
+ /**
47
+ * The OCID of the audit.
48
+ */
49
+ readonly auditProfileId: pulumi.Output<string>;
50
+ /**
51
+ * List of collected audit volumes.
52
+ */
53
+ readonly collectedAuditVolumes: pulumi.Output<outputs.DataSafe.CalculateAuditVolumeCollectedCollectedAuditVolume[]>;
54
+ /**
55
+ * The date from which the audit volume collected by data safe has to be calculated, in the format defined by RFC3339.
56
+ */
57
+ readonly timeFromMonth: pulumi.Output<string>;
58
+ /**
59
+ * The date from which the audit volume collected by data safe has to be calculated, in the format defined by RFC3339. If not specified, this will default to the current date.
60
+ *
61
+ *
62
+ * ** IMPORTANT **
63
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
64
+ */
65
+ readonly timeToMonth: pulumi.Output<string>;
66
+ /**
67
+ * Create a CalculateAuditVolumeCollected resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: CalculateAuditVolumeCollectedArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering CalculateAuditVolumeCollected resources.
77
+ */
78
+ export interface CalculateAuditVolumeCollectedState {
79
+ /**
80
+ * The OCID of the audit.
81
+ */
82
+ auditProfileId?: pulumi.Input<string>;
83
+ /**
84
+ * List of collected audit volumes.
85
+ */
86
+ collectedAuditVolumes?: pulumi.Input<pulumi.Input<inputs.DataSafe.CalculateAuditVolumeCollectedCollectedAuditVolume>[]>;
87
+ /**
88
+ * The date from which the audit volume collected by data safe has to be calculated, in the format defined by RFC3339.
89
+ */
90
+ timeFromMonth?: pulumi.Input<string>;
91
+ /**
92
+ * The date from which the audit volume collected by data safe has to be calculated, in the format defined by RFC3339. If not specified, this will default to the current date.
93
+ *
94
+ *
95
+ * ** IMPORTANT **
96
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
97
+ */
98
+ timeToMonth?: pulumi.Input<string>;
99
+ }
100
+ /**
101
+ * The set of arguments for constructing a CalculateAuditVolumeCollected resource.
102
+ */
103
+ export interface CalculateAuditVolumeCollectedArgs {
104
+ /**
105
+ * The OCID of the audit.
106
+ */
107
+ auditProfileId: pulumi.Input<string>;
108
+ /**
109
+ * The date from which the audit volume collected by data safe has to be calculated, in the format defined by RFC3339.
110
+ */
111
+ timeFromMonth: pulumi.Input<string>;
112
+ /**
113
+ * The date from which the audit volume collected by data safe has to be calculated, in the format defined by RFC3339. If not specified, this will default to the current date.
114
+ *
115
+ *
116
+ * ** IMPORTANT **
117
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
118
+ */
119
+ timeToMonth?: pulumi.Input<string>;
120
+ }
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CalculateAuditVolumeCollected = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource provides the Calculate Audit Volume Collected resource in Oracle Cloud Infrastructure Data Safe service.
10
+ *
11
+ * Calculates the volume of audit events collected by data safe.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as oci from "@pulumi/oci";
18
+ *
19
+ * const testCalculateAuditVolumeCollected = new oci.datasafe.CalculateAuditVolumeCollected("test_calculate_audit_volume_collected", {
20
+ * auditProfileId: testAuditProfile.id,
21
+ * timeFromMonth: calculateAuditVolumeCollectedTimeFromMonth,
22
+ * timeToMonth: calculateAuditVolumeCollectedTimeToMonth,
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * CalculateAuditVolumeCollected can be imported using the `id`, e.g.
29
+ *
30
+ * ```sh
31
+ * $ pulumi import oci:DataSafe/calculateAuditVolumeCollected:CalculateAuditVolumeCollected test_calculate_audit_volume_collected "id"
32
+ * ```
33
+ */
34
+ class CalculateAuditVolumeCollected extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing CalculateAuditVolumeCollected resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new CalculateAuditVolumeCollected(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of CalculateAuditVolumeCollected. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === CalculateAuditVolumeCollected.__pulumiType;
56
+ }
57
+ constructor(name, argsOrState, opts) {
58
+ let resourceInputs = {};
59
+ opts = opts || {};
60
+ if (opts.id) {
61
+ const state = argsOrState;
62
+ resourceInputs["auditProfileId"] = state ? state.auditProfileId : undefined;
63
+ resourceInputs["collectedAuditVolumes"] = state ? state.collectedAuditVolumes : undefined;
64
+ resourceInputs["timeFromMonth"] = state ? state.timeFromMonth : undefined;
65
+ resourceInputs["timeToMonth"] = state ? state.timeToMonth : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ if ((!args || args.auditProfileId === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'auditProfileId'");
71
+ }
72
+ if ((!args || args.timeFromMonth === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'timeFromMonth'");
74
+ }
75
+ resourceInputs["auditProfileId"] = args ? args.auditProfileId : undefined;
76
+ resourceInputs["timeFromMonth"] = args ? args.timeFromMonth : undefined;
77
+ resourceInputs["timeToMonth"] = args ? args.timeToMonth : undefined;
78
+ resourceInputs["collectedAuditVolumes"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(CalculateAuditVolumeCollected.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ }
84
+ exports.CalculateAuditVolumeCollected = CalculateAuditVolumeCollected;
85
+ /** @internal */
86
+ CalculateAuditVolumeCollected.__pulumiType = 'oci:DataSafe/calculateAuditVolumeCollected:CalculateAuditVolumeCollected';
87
+ //# sourceMappingURL=calculateAuditVolumeCollected.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calculateAuditVolumeCollected.js","sourceRoot":"","sources":["../../datasafe/calculateAuditVolumeCollected.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OA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,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/D;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;;AAjFL,sEAkFC;AApEG,gBAAgB;AACO,0CAAY,GAAG,0EAA0E,CAAC"}
@@ -31,6 +31,12 @@ export declare const AuditTrail: typeof import("./auditTrail").AuditTrail;
31
31
  export { AuditTrailManagementArgs, AuditTrailManagementState } from "./auditTrailManagement";
32
32
  export type AuditTrailManagement = import("./auditTrailManagement").AuditTrailManagement;
33
33
  export declare const AuditTrailManagement: typeof import("./auditTrailManagement").AuditTrailManagement;
34
+ export { CalculateAuditVolumeAvailableArgs, CalculateAuditVolumeAvailableState } from "./calculateAuditVolumeAvailable";
35
+ export type CalculateAuditVolumeAvailable = import("./calculateAuditVolumeAvailable").CalculateAuditVolumeAvailable;
36
+ export declare const CalculateAuditVolumeAvailable: typeof import("./calculateAuditVolumeAvailable").CalculateAuditVolumeAvailable;
37
+ export { CalculateAuditVolumeCollectedArgs, CalculateAuditVolumeCollectedState } from "./calculateAuditVolumeCollected";
38
+ export type CalculateAuditVolumeCollected = import("./calculateAuditVolumeCollected").CalculateAuditVolumeCollected;
39
+ export declare const CalculateAuditVolumeCollected: typeof import("./calculateAuditVolumeCollected").CalculateAuditVolumeCollected;
34
40
  export { CompareSecurityAssessmentArgs, CompareSecurityAssessmentState } from "./compareSecurityAssessment";
35
41
  export type CompareSecurityAssessment = import("./compareSecurityAssessment").CompareSecurityAssessment;
36
42
  export declare const CompareSecurityAssessment: typeof import("./compareSecurityAssessment").CompareSecurityAssessment;