@pulumi/oci 3.5.0-alpha.1756363728 → 3.5.0-alpha.1756440723

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 (320) hide show
  1. package/core/computeGpuMemoryFabric.d.ts +8 -0
  2. package/core/computeGpuMemoryFabric.js +2 -0
  3. package/core/computeGpuMemoryFabric.js.map +1 -1
  4. package/core/getComputeGpuMemoryFabric.d.ts +4 -0
  5. package/core/getComputeGpuMemoryFabric.js.map +1 -1
  6. package/database/dataGuardAssociation.d.ts +26 -0
  7. package/database/dataGuardAssociation.js +6 -0
  8. package/database/dataGuardAssociation.js.map +1 -1
  9. package/database/database.d.ts +8 -0
  10. package/database/database.js +2 -0
  11. package/database/database.js.map +1 -1
  12. package/database/dbNode.d.ts +16 -0
  13. package/database/dbNode.js +4 -0
  14. package/database/dbNode.js.map +1 -1
  15. package/database/dbSystem.d.ts +30 -6
  16. package/database/dbSystem.js +4 -0
  17. package/database/dbSystem.js.map +1 -1
  18. package/database/exadbVmCluster.d.ts +13 -0
  19. package/database/exadbVmCluster.js +3 -0
  20. package/database/exadbVmCluster.js.map +1 -1
  21. package/database/exascaleDbStorageVault.d.ts +8 -0
  22. package/database/exascaleDbStorageVault.js +2 -0
  23. package/database/exascaleDbStorageVault.js.map +1 -1
  24. package/database/getDataGuardAssociation.d.ts +2 -0
  25. package/database/getDataGuardAssociation.js.map +1 -1
  26. package/database/getDatabase.d.ts +4 -0
  27. package/database/getDatabase.js.map +1 -1
  28. package/database/getDbNode.d.ts +8 -0
  29. package/database/getDbNode.js.map +1 -1
  30. package/database/getDbSystemShapes.d.ts +11 -0
  31. package/database/getDbSystemShapes.js +4 -0
  32. package/database/getDbSystemShapes.js.map +1 -1
  33. package/database/getDbSystemStoragePerformances.d.ts +9 -0
  34. package/database/getDbSystemStoragePerformances.js +2 -0
  35. package/database/getDbSystemStoragePerformances.js.map +1 -1
  36. package/database/getDbVersions.d.ts +11 -0
  37. package/database/getDbVersions.js +4 -0
  38. package/database/getDbVersions.js.map +1 -1
  39. package/database/getExadbVmCluster.d.ts +4 -0
  40. package/database/getExadbVmCluster.js.map +1 -1
  41. package/database/getExascaleDbStorageVault.d.ts +4 -0
  42. package/database/getExascaleDbStorageVault.js.map +1 -1
  43. package/database/getExascaleDbStorageVaults.d.ts +47 -0
  44. package/database/getExascaleDbStorageVaults.js +16 -0
  45. package/database/getExascaleDbStorageVaults.js.map +1 -1
  46. package/database/getGiVersions.d.ts +11 -0
  47. package/database/getGiVersions.js +4 -0
  48. package/database/getGiVersions.js.map +1 -1
  49. package/datasafe/attributeSet.d.ts +230 -0
  50. package/datasafe/attributeSet.js +119 -0
  51. package/datasafe/attributeSet.js.map +1 -0
  52. package/datasafe/auditProfile.d.ts +108 -29
  53. package/datasafe/auditProfile.js +50 -9
  54. package/datasafe/auditProfile.js.map +1 -1
  55. package/datasafe/auditProfileManagement.d.ts +129 -49
  56. package/datasafe/auditProfileManagement.js +39 -9
  57. package/datasafe/auditProfileManagement.js.map +1 -1
  58. package/datasafe/auditTrail.d.ts +12 -0
  59. package/datasafe/auditTrail.js +2 -0
  60. package/datasafe/auditTrail.js.map +1 -1
  61. package/datasafe/auditTrailManagement.d.ts +13 -0
  62. package/datasafe/auditTrailManagement.js +3 -0
  63. package/datasafe/auditTrailManagement.js.map +1 -1
  64. package/datasafe/getAlerts.d.ts +2 -2
  65. package/datasafe/getAttributeSet.d.ts +121 -0
  66. package/datasafe/getAttributeSet.js +54 -0
  67. package/datasafe/getAttributeSet.js.map +1 -0
  68. package/datasafe/getAttributeSetAssociatedResources.d.ts +100 -0
  69. package/datasafe/getAttributeSetAssociatedResources.js +64 -0
  70. package/datasafe/getAttributeSetAssociatedResources.js.map +1 -0
  71. package/datasafe/getAttributeSets.d.ts +204 -0
  72. package/datasafe/getAttributeSets.js +114 -0
  73. package/datasafe/getAttributeSets.js.map +1 -0
  74. package/datasafe/getAuditArchiveRetrievals.d.ts +11 -0
  75. package/datasafe/getAuditArchiveRetrievals.js +4 -0
  76. package/datasafe/getAuditArchiveRetrievals.js.map +1 -1
  77. package/datasafe/getAuditEvents.d.ts +2 -2
  78. package/datasafe/getAuditPolicies.d.ts +11 -0
  79. package/datasafe/getAuditPolicies.js +4 -0
  80. package/datasafe/getAuditPolicies.js.map +1 -1
  81. package/datasafe/getAuditProfile.d.ts +27 -7
  82. package/datasafe/getAuditProfile.js.map +1 -1
  83. package/datasafe/getAuditProfileTargetOverrides.d.ts +83 -0
  84. package/datasafe/getAuditProfileTargetOverrides.js +60 -0
  85. package/datasafe/getAuditProfileTargetOverrides.js.map +1 -0
  86. package/datasafe/getAuditProfiles.d.ts +28 -3
  87. package/datasafe/getAuditProfiles.js +8 -0
  88. package/datasafe/getAuditProfiles.js.map +1 -1
  89. package/datasafe/getAuditTrail.d.ts +4 -0
  90. package/datasafe/getAuditTrail.js.map +1 -1
  91. package/datasafe/getAuditTrails.d.ts +11 -0
  92. package/datasafe/getAuditTrails.js +4 -0
  93. package/datasafe/getAuditTrails.js.map +1 -1
  94. package/datasafe/getDatabaseSecurityConfigs.d.ts +11 -0
  95. package/datasafe/getDatabaseSecurityConfigs.js +4 -0
  96. package/datasafe/getDatabaseSecurityConfigs.js.map +1 -1
  97. package/datasafe/getDiscoveryAnalytics.d.ts +22 -0
  98. package/datasafe/getDiscoveryAnalytics.js +8 -0
  99. package/datasafe/getDiscoveryAnalytics.js.map +1 -1
  100. package/datasafe/getMaskingAnalytics.d.ts +25 -0
  101. package/datasafe/getMaskingAnalytics.js +8 -0
  102. package/datasafe/getMaskingAnalytics.js.map +1 -1
  103. package/datasafe/getOnpremConnectors.d.ts +8 -5
  104. package/datasafe/getOnpremConnectors.js +4 -4
  105. package/datasafe/getOnpremConnectors.js.map +1 -1
  106. package/datasafe/getReport.d.ts +12 -0
  107. package/datasafe/getReport.js.map +1 -1
  108. package/datasafe/getReports.d.ts +14 -0
  109. package/datasafe/getReports.js +4 -0
  110. package/datasafe/getReports.js.map +1 -1
  111. package/datasafe/getSecurityAssessment.d.ts +25 -1
  112. package/datasafe/getSecurityAssessment.js.map +1 -1
  113. package/datasafe/getSecurityAssessmentChecks.d.ts +144 -0
  114. package/datasafe/getSecurityAssessmentChecks.js +80 -0
  115. package/datasafe/getSecurityAssessmentChecks.js.map +1 -0
  116. package/datasafe/getSecurityAssessmentFinding.d.ts +12 -0
  117. package/datasafe/getSecurityAssessmentFinding.js +8 -0
  118. package/datasafe/getSecurityAssessmentFinding.js.map +1 -1
  119. package/datasafe/getSecurityAssessmentFindings.d.ts +29 -2
  120. package/datasafe/getSecurityAssessmentFindings.js +10 -2
  121. package/datasafe/getSecurityAssessmentFindings.js.map +1 -1
  122. package/datasafe/getSecurityAssessmentTemplateAnalytics.d.ts +218 -0
  123. package/datasafe/getSecurityAssessmentTemplateAnalytics.js +118 -0
  124. package/datasafe/getSecurityAssessmentTemplateAnalytics.js.map +1 -0
  125. package/datasafe/getSecurityAssessmentTemplateAssociationAnalytics.d.ts +178 -0
  126. package/datasafe/getSecurityAssessmentTemplateAssociationAnalytics.js +108 -0
  127. package/datasafe/getSecurityAssessmentTemplateAssociationAnalytics.js.map +1 -0
  128. package/datasafe/getSecurityAssessmentTemplateBaselineComparison.d.ts +155 -0
  129. package/datasafe/getSecurityAssessmentTemplateBaselineComparison.js +70 -0
  130. package/datasafe/getSecurityAssessmentTemplateBaselineComparison.js.map +1 -0
  131. package/datasafe/getSecurityAssessments.d.ts +43 -1
  132. package/datasafe/getSecurityAssessments.js +12 -0
  133. package/datasafe/getSecurityAssessments.js.map +1 -1
  134. package/datasafe/getSecurityPolicies.d.ts +14 -0
  135. package/datasafe/getSecurityPolicies.js +4 -0
  136. package/datasafe/getSecurityPolicies.js.map +1 -1
  137. package/datasafe/getSecurityPolicy.d.ts +4 -0
  138. package/datasafe/getSecurityPolicy.js.map +1 -1
  139. package/datasafe/getSecurityPolicyConfig.d.ts +122 -0
  140. package/datasafe/getSecurityPolicyConfig.js +54 -0
  141. package/datasafe/getSecurityPolicyConfig.js.map +1 -0
  142. package/datasafe/getSecurityPolicyConfigs.d.ts +206 -0
  143. package/datasafe/getSecurityPolicyConfigs.js +114 -0
  144. package/datasafe/getSecurityPolicyConfigs.js.map +1 -0
  145. package/datasafe/getSecurityPolicyDeployment.d.ts +11 -1
  146. package/datasafe/getSecurityPolicyDeployment.js.map +1 -1
  147. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryState.d.ts +15 -0
  148. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryState.js.map +1 -1
  149. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryStates.d.ts +25 -0
  150. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryStates.js +8 -0
  151. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryStates.js.map +1 -1
  152. package/datasafe/getSecurityPolicyDeployments.d.ts +15 -1
  153. package/datasafe/getSecurityPolicyDeployments.js +4 -0
  154. package/datasafe/getSecurityPolicyDeployments.js.map +1 -1
  155. package/datasafe/getSensitiveColumnAnalytics.d.ts +11 -0
  156. package/datasafe/getSensitiveColumnAnalytics.js +4 -0
  157. package/datasafe/getSensitiveColumnAnalytics.js.map +1 -1
  158. package/datasafe/getSqlCollectionAnalytics.d.ts +11 -0
  159. package/datasafe/getSqlCollectionAnalytics.js +4 -0
  160. package/datasafe/getSqlCollectionAnalytics.js.map +1 -1
  161. package/datasafe/getSqlCollections.d.ts +11 -0
  162. package/datasafe/getSqlCollections.js +4 -0
  163. package/datasafe/getSqlCollections.js.map +1 -1
  164. package/datasafe/getSqlFirewallAllowedSqlAnalytics.d.ts +2 -2
  165. package/datasafe/getSqlFirewallAllowedSqls.d.ts +2 -2
  166. package/datasafe/getSqlFirewallViolationAnalytics.d.ts +2 -2
  167. package/datasafe/getSqlFirewallViolations.d.ts +2 -2
  168. package/datasafe/getTargetAlertPolicyAssociations.d.ts +0 -38
  169. package/datasafe/getTargetAlertPolicyAssociations.js +0 -38
  170. package/datasafe/getTargetAlertPolicyAssociations.js.map +1 -1
  171. package/datasafe/getTargetDatabaseGroup.d.ts +122 -0
  172. package/datasafe/getTargetDatabaseGroup.js +54 -0
  173. package/datasafe/getTargetDatabaseGroup.js.map +1 -0
  174. package/datasafe/getTargetDatabaseGroupGroupMember.d.ts +78 -0
  175. package/datasafe/getTargetDatabaseGroupGroupMember.js +58 -0
  176. package/datasafe/getTargetDatabaseGroupGroupMember.js.map +1 -0
  177. package/datasafe/getTargetDatabaseGroups.d.ts +177 -0
  178. package/datasafe/getTargetDatabaseGroups.js +88 -0
  179. package/datasafe/getTargetDatabaseGroups.js.map +1 -0
  180. package/datasafe/getUnifiedAuditPolicies.d.ts +234 -0
  181. package/datasafe/getUnifiedAuditPolicies.js +122 -0
  182. package/datasafe/getUnifiedAuditPolicies.js.map +1 -0
  183. package/datasafe/getUnifiedAuditPolicy.d.ts +134 -0
  184. package/datasafe/getUnifiedAuditPolicy.js +54 -0
  185. package/datasafe/getUnifiedAuditPolicy.js.map +1 -0
  186. package/datasafe/getUnifiedAuditPolicyDefinition.d.ts +125 -0
  187. package/datasafe/getUnifiedAuditPolicyDefinition.js +54 -0
  188. package/datasafe/getUnifiedAuditPolicyDefinition.js.map +1 -0
  189. package/datasafe/getUnifiedAuditPolicyDefinitions.d.ts +198 -0
  190. package/datasafe/getUnifiedAuditPolicyDefinitions.js +114 -0
  191. package/datasafe/getUnifiedAuditPolicyDefinitions.js.map +1 -0
  192. package/datasafe/getUserAssessment.d.ts +8 -0
  193. package/datasafe/getUserAssessment.js.map +1 -1
  194. package/datasafe/getUserAssessments.d.ts +28 -0
  195. package/datasafe/getUserAssessments.js +8 -0
  196. package/datasafe/getUserAssessments.js.map +1 -1
  197. package/datasafe/index.d.ts +72 -0
  198. package/datasafe/index.js +94 -7
  199. package/datasafe/index.js.map +1 -1
  200. package/datasafe/report.d.ts +24 -0
  201. package/datasafe/report.js +6 -0
  202. package/datasafe/report.js.map +1 -1
  203. package/datasafe/reportDefinition.d.ts +2 -0
  204. package/datasafe/reportDefinition.js +2 -0
  205. package/datasafe/reportDefinition.js.map +1 -1
  206. package/datasafe/securityAssessment.d.ts +117 -39
  207. package/datasafe/securityAssessment.js +19 -23
  208. package/datasafe/securityAssessment.js.map +1 -1
  209. package/datasafe/securityAssessmentCheck.d.ts +151 -0
  210. package/datasafe/securityAssessmentCheck.js +98 -0
  211. package/datasafe/securityAssessmentCheck.js.map +1 -0
  212. package/datasafe/securityAssessmentFinding.d.ts +254 -0
  213. package/datasafe/securityAssessmentFinding.js +123 -0
  214. package/datasafe/securityAssessmentFinding.js.map +1 -0
  215. package/datasafe/securityPolicy.d.ts +39 -24
  216. package/datasafe/securityPolicy.js +24 -5
  217. package/datasafe/securityPolicy.js.map +1 -1
  218. package/datasafe/securityPolicyConfig.d.ts +231 -0
  219. package/datasafe/securityPolicyConfig.js +120 -0
  220. package/datasafe/securityPolicyConfig.js.map +1 -0
  221. package/datasafe/securityPolicyDeployment.d.ts +76 -14
  222. package/datasafe/securityPolicyDeployment.js +44 -7
  223. package/datasafe/securityPolicyDeployment.js.map +1 -1
  224. package/datasafe/securityPolicyDeploymentManagement.d.ts +76 -14
  225. package/datasafe/securityPolicyDeploymentManagement.js +25 -3
  226. package/datasafe/securityPolicyDeploymentManagement.js.map +1 -1
  227. package/datasafe/securityPolicyManagement.d.ts +29 -9
  228. package/datasafe/securityPolicyManagement.js +6 -1
  229. package/datasafe/securityPolicyManagement.js.map +1 -1
  230. package/datasafe/targetAlertPolicyAssociation.d.ts +3 -37
  231. package/datasafe/targetAlertPolicyAssociation.js +0 -22
  232. package/datasafe/targetAlertPolicyAssociation.js.map +1 -1
  233. package/datasafe/targetDatabase.d.ts +2 -0
  234. package/datasafe/targetDatabase.js +2 -0
  235. package/datasafe/targetDatabase.js.map +1 -1
  236. package/datasafe/targetDatabaseGroup.d.ts +232 -0
  237. package/datasafe/targetDatabaseGroup.js +132 -0
  238. package/datasafe/targetDatabaseGroup.js.map +1 -0
  239. package/datasafe/targetDatabasePeerTargetDatabase.d.ts +1 -0
  240. package/datasafe/targetDatabasePeerTargetDatabase.js +1 -0
  241. package/datasafe/targetDatabasePeerTargetDatabase.js.map +1 -1
  242. package/datasafe/unifiedAuditPolicy.d.ts +273 -0
  243. package/datasafe/unifiedAuditPolicy.js +137 -0
  244. package/datasafe/unifiedAuditPolicy.js.map +1 -0
  245. package/datasafe/unifiedAuditPolicyDefinition.d.ts +221 -0
  246. package/datasafe/unifiedAuditPolicyDefinition.js +93 -0
  247. package/datasafe/unifiedAuditPolicyDefinition.js.map +1 -0
  248. package/datasafe/userAssessment.d.ts +33 -12
  249. package/datasafe/userAssessment.js +5 -0
  250. package/datasafe/userAssessment.js.map +1 -1
  251. package/disasterrecovery/drProtectionGroup.d.ts +12 -0
  252. package/disasterrecovery/drProtectionGroup.js +12 -0
  253. package/disasterrecovery/drProtectionGroup.js.map +1 -1
  254. package/generativeai/agentDataIngestionJob.d.ts +10 -0
  255. package/generativeai/agentDataIngestionJob.js +4 -0
  256. package/generativeai/agentDataIngestionJob.js.map +1 -1
  257. package/generativeai/agentDataSource.d.ts +3 -40
  258. package/generativeai/agentDataSource.js +0 -31
  259. package/generativeai/agentDataSource.js.map +1 -1
  260. package/generativeai/agentKnowledgeBase.d.ts +11 -11
  261. package/generativeai/agentKnowledgeBase.js +2 -2
  262. package/generativeai/agentKnowledgeBase.js.map +1 -1
  263. package/generativeai/agentTool.d.ts +87 -0
  264. package/generativeai/agentTool.js +87 -0
  265. package/generativeai/agentTool.js.map +1 -1
  266. package/generativeai/getAgentDataIngestionJob.d.ts +5 -0
  267. package/generativeai/getAgentDataIngestionJob.js.map +1 -1
  268. package/generativeai/getAgentDataSource.d.ts +1 -5
  269. package/generativeai/getAgentDataSource.js +0 -4
  270. package/generativeai/getAgentDataSource.js.map +1 -1
  271. package/generativeai/getAgentDataSources.d.ts +0 -4
  272. package/generativeai/getAgentDataSources.js +0 -4
  273. package/generativeai/getAgentDataSources.js.map +1 -1
  274. package/generativeai/getAgentKnowledgeBase.d.ts +5 -5
  275. package/generativeai/getAgentKnowledgeBase.js +0 -4
  276. package/generativeai/getAgentKnowledgeBase.js.map +1 -1
  277. package/generativeai/getAgentKnowledgeBases.d.ts +0 -4
  278. package/generativeai/getAgentKnowledgeBases.js +0 -4
  279. package/generativeai/getAgentKnowledgeBases.js.map +1 -1
  280. package/goldengate/deployment.d.ts +24 -0
  281. package/goldengate/deployment.js +4 -0
  282. package/goldengate/deployment.js.map +1 -1
  283. package/goldengate/getDeployment.d.ts +8 -0
  284. package/goldengate/getDeployment.js.map +1 -1
  285. package/goldengate/getDeployments.d.ts +14 -0
  286. package/goldengate/getDeployments.js +4 -0
  287. package/goldengate/getDeployments.js.map +1 -1
  288. package/oci/getManagedKafkaKafkaCluster.d.ts +146 -0
  289. package/oci/getManagedKafkaKafkaCluster.js +54 -0
  290. package/oci/getManagedKafkaKafkaCluster.js.map +1 -0
  291. package/oci/getManagedKafkaKafkaClusterConfig.d.ts +110 -0
  292. package/oci/getManagedKafkaKafkaClusterConfig.js +54 -0
  293. package/oci/getManagedKafkaKafkaClusterConfig.js.map +1 -0
  294. package/oci/getManagedKafkaKafkaClusterConfigVersion.d.ts +91 -0
  295. package/oci/getManagedKafkaKafkaClusterConfigVersion.js +58 -0
  296. package/oci/getManagedKafkaKafkaClusterConfigVersion.js.map +1 -0
  297. package/oci/getManagedKafkaKafkaClusterConfigVersions.d.ts +72 -0
  298. package/oci/getManagedKafkaKafkaClusterConfigVersions.js +56 -0
  299. package/oci/getManagedKafkaKafkaClusterConfigVersions.js.map +1 -0
  300. package/oci/getManagedKafkaKafkaClusterConfigs.d.ts +113 -0
  301. package/oci/getManagedKafkaKafkaClusterConfigs.js +70 -0
  302. package/oci/getManagedKafkaKafkaClusterConfigs.js.map +1 -0
  303. package/oci/getManagedKafkaKafkaClusters.d.ts +113 -0
  304. package/oci/getManagedKafkaKafkaClusters.js +70 -0
  305. package/oci/getManagedKafkaKafkaClusters.js.map +1 -0
  306. package/oci/index.d.ts +27 -0
  307. package/oci/index.js +35 -1
  308. package/oci/index.js.map +1 -1
  309. package/oci/managedKafkaKafkaCluster.d.ts +311 -0
  310. package/oci/managedKafkaKafkaCluster.js +154 -0
  311. package/oci/managedKafkaKafkaCluster.js.map +1 -0
  312. package/oci/managedKafkaKafkaClusterConfig.d.ts +191 -0
  313. package/oci/managedKafkaKafkaClusterConfig.js +110 -0
  314. package/oci/managedKafkaKafkaClusterConfig.js.map +1 -0
  315. package/oci/managedKafkaKafkaClusterSuperusersManagement.d.ts +115 -0
  316. package/oci/managedKafkaKafkaClusterSuperusersManagement.js +80 -0
  317. package/oci/managedKafkaKafkaClusterSuperusersManagement.js.map +1 -0
  318. package/package.json +2 -2
  319. package/types/input.d.ts +742 -34
  320. package/types/output.d.ts +3765 -543
@@ -8,7 +8,26 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * This resource provides the Security Policy resource in Oracle Cloud Infrastructure Data Safe service.
10
10
  *
11
- * Updates the security policy.
11
+ * Creates a Data Safe security policy.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as oci from "@pulumi/oci";
18
+ *
19
+ * const testSecurityPolicy = new oci.datasafe.SecurityPolicy("test_security_policy", {
20
+ * compartmentId: compartmentId,
21
+ * definedTags: {
22
+ * "Operations.CostCenter": "42",
23
+ * },
24
+ * description: securityPolicyDescription,
25
+ * displayName: securityPolicyDisplayName,
26
+ * freeformTags: {
27
+ * Department: "Finance",
28
+ * },
29
+ * });
30
+ * ```
12
31
  *
13
32
  * ## Import
14
33
  *
@@ -52,7 +71,7 @@ class SecurityPolicy extends pulumi.CustomResource {
52
71
  resourceInputs["displayName"] = state ? state.displayName : undefined;
53
72
  resourceInputs["freeformTags"] = state ? state.freeformTags : undefined;
54
73
  resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined;
55
- resourceInputs["securityPolicyId"] = state ? state.securityPolicyId : undefined;
74
+ resourceInputs["securityPolicyType"] = state ? state.securityPolicyType : undefined;
56
75
  resourceInputs["state"] = state ? state.state : undefined;
57
76
  resourceInputs["systemTags"] = state ? state.systemTags : undefined;
58
77
  resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
@@ -60,16 +79,16 @@ class SecurityPolicy extends pulumi.CustomResource {
60
79
  }
61
80
  else {
62
81
  const args = argsOrState;
63
- if ((!args || args.securityPolicyId === undefined) && !opts.urn) {
64
- throw new Error("Missing required property 'securityPolicyId'");
82
+ if ((!args || args.compartmentId === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'compartmentId'");
65
84
  }
66
85
  resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
67
86
  resourceInputs["definedTags"] = args ? args.definedTags : undefined;
68
87
  resourceInputs["description"] = args ? args.description : undefined;
69
88
  resourceInputs["displayName"] = args ? args.displayName : undefined;
70
89
  resourceInputs["freeformTags"] = args ? args.freeformTags : undefined;
71
- resourceInputs["securityPolicyId"] = args ? args.securityPolicyId : undefined;
72
90
  resourceInputs["lifecycleDetails"] = undefined /*out*/;
91
+ resourceInputs["securityPolicyType"] = undefined /*out*/;
73
92
  resourceInputs["state"] = undefined /*out*/;
74
93
  resourceInputs["systemTags"] = undefined /*out*/;
75
94
  resourceInputs["timeCreated"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"securityPolicy.js","sourceRoot":"","sources":["../../datasafe/securityPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAA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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAxHL,wCAyHC;AA3GG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,231 @@
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 Security Policy Config resource in Oracle Cloud Infrastructure Data Safe service.
6
+ *
7
+ * Creates a new security policy configuration 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 testSecurityPolicyConfig = new oci.datasafe.SecurityPolicyConfig("test_security_policy_config", {
16
+ * compartmentId: compartmentId,
17
+ * securityPolicyId: testSecurityPolicy.id,
18
+ * definedTags: {
19
+ * "Operations.CostCenter": "42",
20
+ * },
21
+ * description: securityPolicyConfigDescription,
22
+ * displayName: securityPolicyConfigDisplayName,
23
+ * firewallConfig: {
24
+ * excludeJob: securityPolicyConfigFirewallConfigExcludeJob,
25
+ * status: securityPolicyConfigFirewallConfigStatus,
26
+ * violationLogAutoPurge: securityPolicyConfigFirewallConfigViolationLogAutoPurge,
27
+ * },
28
+ * freeformTags: {
29
+ * Department: "Finance",
30
+ * },
31
+ * unifiedAuditPolicyConfig: {
32
+ * excludeDatasafeUser: securityPolicyConfigUnifiedAuditPolicyConfigExcludeDatasafeUser,
33
+ * },
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * SecurityPolicyConfigs can be imported using the `id`, e.g.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import oci:DataSafe/securityPolicyConfig:SecurityPolicyConfig test_security_policy_config "id"
43
+ * ```
44
+ */
45
+ export declare class SecurityPolicyConfig extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing SecurityPolicyConfig resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityPolicyConfigState, opts?: pulumi.CustomResourceOptions): SecurityPolicyConfig;
56
+ /**
57
+ * Returns true if the given object is an instance of SecurityPolicyConfig. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is SecurityPolicyConfig;
61
+ /**
62
+ * (Updatable) The OCID of the compartment containing the security policy configuration.
63
+ */
64
+ readonly compartmentId: pulumi.Output<string>;
65
+ /**
66
+ * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
67
+ */
68
+ readonly definedTags: pulumi.Output<{
69
+ [key: string]: string;
70
+ }>;
71
+ /**
72
+ * (Updatable) The description of the security policy.
73
+ */
74
+ readonly description: pulumi.Output<string>;
75
+ /**
76
+ * (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
77
+ */
78
+ readonly displayName: pulumi.Output<string>;
79
+ /**
80
+ * (Updatable) Details to update the SQL Firewall configuration.
81
+ */
82
+ readonly firewallConfig: pulumi.Output<outputs.DataSafe.SecurityPolicyConfigFirewallConfig>;
83
+ /**
84
+ * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
85
+ */
86
+ readonly freeformTags: pulumi.Output<{
87
+ [key: string]: string;
88
+ }>;
89
+ /**
90
+ * Details about the current state of the security policy configuration.
91
+ */
92
+ readonly lifecycleDetails: pulumi.Output<string>;
93
+ /**
94
+ * The OCID of the security policy corresponding to the security policy configuration.
95
+ */
96
+ readonly securityPolicyId: pulumi.Output<string>;
97
+ /**
98
+ * The current state of the security policy configuration.
99
+ */
100
+ readonly state: pulumi.Output<string>;
101
+ /**
102
+ * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
103
+ */
104
+ readonly systemTags: pulumi.Output<{
105
+ [key: string]: string;
106
+ }>;
107
+ /**
108
+ * The time the security policy configuration was created, in the format defined by RFC3339.
109
+ */
110
+ readonly timeCreated: pulumi.Output<string>;
111
+ /**
112
+ * The date and time the security policy configuration was last updated, in the format defined by RFC3339.
113
+ */
114
+ readonly timeUpdated: pulumi.Output<string>;
115
+ /**
116
+ * (Updatable) The unified audit policy related configurations.
117
+ */
118
+ readonly unifiedAuditPolicyConfig: pulumi.Output<outputs.DataSafe.SecurityPolicyConfigUnifiedAuditPolicyConfig>;
119
+ /**
120
+ * Create a SecurityPolicyConfig resource with the given unique name, arguments, and options.
121
+ *
122
+ * @param name The _unique_ name of the resource.
123
+ * @param args The arguments to use to populate this resource's properties.
124
+ * @param opts A bag of options that control this resource's behavior.
125
+ */
126
+ constructor(name: string, args: SecurityPolicyConfigArgs, opts?: pulumi.CustomResourceOptions);
127
+ }
128
+ /**
129
+ * Input properties used for looking up and filtering SecurityPolicyConfig resources.
130
+ */
131
+ export interface SecurityPolicyConfigState {
132
+ /**
133
+ * (Updatable) The OCID of the compartment containing the security policy configuration.
134
+ */
135
+ compartmentId?: pulumi.Input<string>;
136
+ /**
137
+ * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
138
+ */
139
+ definedTags?: pulumi.Input<{
140
+ [key: string]: pulumi.Input<string>;
141
+ }>;
142
+ /**
143
+ * (Updatable) The description of the security policy.
144
+ */
145
+ description?: pulumi.Input<string>;
146
+ /**
147
+ * (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
148
+ */
149
+ displayName?: pulumi.Input<string>;
150
+ /**
151
+ * (Updatable) Details to update the SQL Firewall configuration.
152
+ */
153
+ firewallConfig?: pulumi.Input<inputs.DataSafe.SecurityPolicyConfigFirewallConfig>;
154
+ /**
155
+ * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
156
+ */
157
+ freeformTags?: pulumi.Input<{
158
+ [key: string]: pulumi.Input<string>;
159
+ }>;
160
+ /**
161
+ * Details about the current state of the security policy configuration.
162
+ */
163
+ lifecycleDetails?: pulumi.Input<string>;
164
+ /**
165
+ * The OCID of the security policy corresponding to the security policy configuration.
166
+ */
167
+ securityPolicyId?: pulumi.Input<string>;
168
+ /**
169
+ * The current state of the security policy configuration.
170
+ */
171
+ state?: pulumi.Input<string>;
172
+ /**
173
+ * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
174
+ */
175
+ systemTags?: pulumi.Input<{
176
+ [key: string]: pulumi.Input<string>;
177
+ }>;
178
+ /**
179
+ * The time the security policy configuration was created, in the format defined by RFC3339.
180
+ */
181
+ timeCreated?: pulumi.Input<string>;
182
+ /**
183
+ * The date and time the security policy configuration was last updated, in the format defined by RFC3339.
184
+ */
185
+ timeUpdated?: pulumi.Input<string>;
186
+ /**
187
+ * (Updatable) The unified audit policy related configurations.
188
+ */
189
+ unifiedAuditPolicyConfig?: pulumi.Input<inputs.DataSafe.SecurityPolicyConfigUnifiedAuditPolicyConfig>;
190
+ }
191
+ /**
192
+ * The set of arguments for constructing a SecurityPolicyConfig resource.
193
+ */
194
+ export interface SecurityPolicyConfigArgs {
195
+ /**
196
+ * (Updatable) The OCID of the compartment containing the security policy configuration.
197
+ */
198
+ compartmentId: pulumi.Input<string>;
199
+ /**
200
+ * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
201
+ */
202
+ definedTags?: pulumi.Input<{
203
+ [key: string]: pulumi.Input<string>;
204
+ }>;
205
+ /**
206
+ * (Updatable) The description of the security policy.
207
+ */
208
+ description?: pulumi.Input<string>;
209
+ /**
210
+ * (Updatable) The display name of the security policy configuration. The name does not have to be unique, and it is changeable.
211
+ */
212
+ displayName?: pulumi.Input<string>;
213
+ /**
214
+ * (Updatable) Details to update the SQL Firewall configuration.
215
+ */
216
+ firewallConfig?: pulumi.Input<inputs.DataSafe.SecurityPolicyConfigFirewallConfig>;
217
+ /**
218
+ * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
219
+ */
220
+ freeformTags?: pulumi.Input<{
221
+ [key: string]: pulumi.Input<string>;
222
+ }>;
223
+ /**
224
+ * The OCID of the security policy corresponding to the security policy configuration.
225
+ */
226
+ securityPolicyId: pulumi.Input<string>;
227
+ /**
228
+ * (Updatable) The unified audit policy related configurations.
229
+ */
230
+ unifiedAuditPolicyConfig?: pulumi.Input<inputs.DataSafe.SecurityPolicyConfigUnifiedAuditPolicyConfig>;
231
+ }
@@ -0,0 +1,120 @@
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.SecurityPolicyConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource provides the Security Policy Config resource in Oracle Cloud Infrastructure Data Safe service.
10
+ *
11
+ * Creates a new security policy configuration 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 testSecurityPolicyConfig = new oci.datasafe.SecurityPolicyConfig("test_security_policy_config", {
20
+ * compartmentId: compartmentId,
21
+ * securityPolicyId: testSecurityPolicy.id,
22
+ * definedTags: {
23
+ * "Operations.CostCenter": "42",
24
+ * },
25
+ * description: securityPolicyConfigDescription,
26
+ * displayName: securityPolicyConfigDisplayName,
27
+ * firewallConfig: {
28
+ * excludeJob: securityPolicyConfigFirewallConfigExcludeJob,
29
+ * status: securityPolicyConfigFirewallConfigStatus,
30
+ * violationLogAutoPurge: securityPolicyConfigFirewallConfigViolationLogAutoPurge,
31
+ * },
32
+ * freeformTags: {
33
+ * Department: "Finance",
34
+ * },
35
+ * unifiedAuditPolicyConfig: {
36
+ * excludeDatasafeUser: securityPolicyConfigUnifiedAuditPolicyConfigExcludeDatasafeUser,
37
+ * },
38
+ * });
39
+ * ```
40
+ *
41
+ * ## Import
42
+ *
43
+ * SecurityPolicyConfigs can be imported using the `id`, e.g.
44
+ *
45
+ * ```sh
46
+ * $ pulumi import oci:DataSafe/securityPolicyConfig:SecurityPolicyConfig test_security_policy_config "id"
47
+ * ```
48
+ */
49
+ class SecurityPolicyConfig extends pulumi.CustomResource {
50
+ /**
51
+ * Get an existing SecurityPolicyConfig resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param state Any extra arguments used during the lookup.
57
+ * @param opts Optional settings to control the behavior of the CustomResource.
58
+ */
59
+ static get(name, id, state, opts) {
60
+ return new SecurityPolicyConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
61
+ }
62
+ /**
63
+ * Returns true if the given object is an instance of SecurityPolicyConfig. This is designed to work even
64
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
65
+ */
66
+ static isInstance(obj) {
67
+ if (obj === undefined || obj === null) {
68
+ return false;
69
+ }
70
+ return obj['__pulumiType'] === SecurityPolicyConfig.__pulumiType;
71
+ }
72
+ constructor(name, argsOrState, opts) {
73
+ let resourceInputs = {};
74
+ opts = opts || {};
75
+ if (opts.id) {
76
+ const state = argsOrState;
77
+ resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
78
+ resourceInputs["definedTags"] = state ? state.definedTags : undefined;
79
+ resourceInputs["description"] = state ? state.description : undefined;
80
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
81
+ resourceInputs["firewallConfig"] = state ? state.firewallConfig : undefined;
82
+ resourceInputs["freeformTags"] = state ? state.freeformTags : undefined;
83
+ resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined;
84
+ resourceInputs["securityPolicyId"] = state ? state.securityPolicyId : undefined;
85
+ resourceInputs["state"] = state ? state.state : undefined;
86
+ resourceInputs["systemTags"] = state ? state.systemTags : undefined;
87
+ resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
88
+ resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
89
+ resourceInputs["unifiedAuditPolicyConfig"] = state ? state.unifiedAuditPolicyConfig : undefined;
90
+ }
91
+ else {
92
+ const args = argsOrState;
93
+ if ((!args || args.compartmentId === undefined) && !opts.urn) {
94
+ throw new Error("Missing required property 'compartmentId'");
95
+ }
96
+ if ((!args || args.securityPolicyId === undefined) && !opts.urn) {
97
+ throw new Error("Missing required property 'securityPolicyId'");
98
+ }
99
+ resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
100
+ resourceInputs["definedTags"] = args ? args.definedTags : undefined;
101
+ resourceInputs["description"] = args ? args.description : undefined;
102
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
103
+ resourceInputs["firewallConfig"] = args ? args.firewallConfig : undefined;
104
+ resourceInputs["freeformTags"] = args ? args.freeformTags : undefined;
105
+ resourceInputs["securityPolicyId"] = args ? args.securityPolicyId : undefined;
106
+ resourceInputs["unifiedAuditPolicyConfig"] = args ? args.unifiedAuditPolicyConfig : undefined;
107
+ resourceInputs["lifecycleDetails"] = undefined /*out*/;
108
+ resourceInputs["state"] = undefined /*out*/;
109
+ resourceInputs["systemTags"] = undefined /*out*/;
110
+ resourceInputs["timeCreated"] = undefined /*out*/;
111
+ resourceInputs["timeUpdated"] = undefined /*out*/;
112
+ }
113
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
114
+ super(SecurityPolicyConfig.__pulumiType, name, resourceInputs, opts);
115
+ }
116
+ }
117
+ exports.SecurityPolicyConfig = SecurityPolicyConfig;
118
+ /** @internal */
119
+ SecurityPolicyConfig.__pulumiType = 'oci:DataSafe/securityPolicyConfig:SecurityPolicyConfig';
120
+ //# sourceMappingURL=securityPolicyConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"securityPolicyConfig.js","sourceRoot":"","sources":["../../datasafe/securityPolicyConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IAC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ulumi/pulumi";
2
2
  /**
3
3
  * This resource provides the Security Policy Deployment resource in Oracle Cloud Infrastructure Data Safe service.
4
4
  *
5
- * Updates the security policy deployment.
5
+ * Creates a Data Safe security policy deployment in the Data Safe Console.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as oci from "@pulumi/oci";
12
+ *
13
+ * const testSecurityPolicyDeployment = new oci.datasafe.SecurityPolicyDeployment("test_security_policy_deployment", {
14
+ * compartmentId: compartmentId,
15
+ * securityPolicyId: testSecurityPolicy.id,
16
+ * targetId: testTarget.id,
17
+ * targetType: securityPolicyDeploymentTargetType,
18
+ * definedTags: {
19
+ * "Operations.CostCenter": "42",
20
+ * },
21
+ * description: securityPolicyDeploymentDescription,
22
+ * displayName: securityPolicyDeploymentDisplayName,
23
+ * freeformTags: {
24
+ * Department: "Finance",
25
+ * },
26
+ * });
27
+ * ```
6
28
  *
7
29
  * ## Import
8
30
  *
@@ -29,7 +51,7 @@ export declare class SecurityPolicyDeployment extends pulumi.CustomResource {
29
51
  */
30
52
  static isInstance(obj: any): obj is SecurityPolicyDeployment;
31
53
  /**
32
- * (Updatable) The OCID of the compartment containing the security policy deployment.
54
+ * (Updatable) The OCID of the compartment in which to create the unified audit policy.
33
55
  */
34
56
  readonly compartmentId: pulumi.Output<string>;
35
57
  /**
@@ -39,7 +61,11 @@ export declare class SecurityPolicyDeployment extends pulumi.CustomResource {
39
61
  [key: string]: string;
40
62
  }>;
41
63
  /**
42
- * (Updatable) The description of the security policy deployment.
64
+ * (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
65
+ */
66
+ readonly deployTrigger: pulumi.Output<number | undefined>;
67
+ /**
68
+ * (Updatable) The description of the security policy.
43
69
  */
44
70
  readonly description: pulumi.Output<string>;
45
71
  /**
@@ -57,13 +83,13 @@ export declare class SecurityPolicyDeployment extends pulumi.CustomResource {
57
83
  */
58
84
  readonly lifecycleDetails: pulumi.Output<string>;
59
85
  /**
60
- * The OCID of the security policy deployment resource.
86
+ * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
61
87
  *
62
88
  *
63
89
  * ** IMPORTANT **
64
90
  * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
65
91
  */
66
- readonly securityPolicyDeploymentId: pulumi.Output<string>;
92
+ readonly refreshTrigger: pulumi.Output<number | undefined>;
67
93
  /**
68
94
  * The OCID of the security policy corresponding to the security policy deployment.
69
95
  */
@@ -82,10 +108,18 @@ export declare class SecurityPolicyDeployment extends pulumi.CustomResource {
82
108
  * The OCID of the target where the security policy is deployed.
83
109
  */
84
110
  readonly targetId: pulumi.Output<string>;
111
+ /**
112
+ * Indicates whether the security policy deployment is for a target database or a target database group.
113
+ */
114
+ readonly targetType: pulumi.Output<string>;
85
115
  /**
86
116
  * The time that the security policy deployment was created, in the format defined by RFC3339.
87
117
  */
88
118
  readonly timeCreated: pulumi.Output<string>;
119
+ /**
120
+ * The last date and time the security policy was deployed, in the format defined by RFC3339.
121
+ */
122
+ readonly timeDeployed: pulumi.Output<string>;
89
123
  /**
90
124
  * The last date and time the security policy deployment was updated, in the format defined by RFC3339.
91
125
  */
@@ -104,7 +138,7 @@ export declare class SecurityPolicyDeployment extends pulumi.CustomResource {
104
138
  */
105
139
  export interface SecurityPolicyDeploymentState {
106
140
  /**
107
- * (Updatable) The OCID of the compartment containing the security policy deployment.
141
+ * (Updatable) The OCID of the compartment in which to create the unified audit policy.
108
142
  */
109
143
  compartmentId?: pulumi.Input<string>;
110
144
  /**
@@ -114,7 +148,11 @@ export interface SecurityPolicyDeploymentState {
114
148
  [key: string]: pulumi.Input<string>;
115
149
  }>;
116
150
  /**
117
- * (Updatable) The description of the security policy deployment.
151
+ * (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
152
+ */
153
+ deployTrigger?: pulumi.Input<number>;
154
+ /**
155
+ * (Updatable) The description of the security policy.
118
156
  */
119
157
  description?: pulumi.Input<string>;
120
158
  /**
@@ -132,13 +170,13 @@ export interface SecurityPolicyDeploymentState {
132
170
  */
133
171
  lifecycleDetails?: pulumi.Input<string>;
134
172
  /**
135
- * The OCID of the security policy deployment resource.
173
+ * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
136
174
  *
137
175
  *
138
176
  * ** IMPORTANT **
139
177
  * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
140
178
  */
141
- securityPolicyDeploymentId?: pulumi.Input<string>;
179
+ refreshTrigger?: pulumi.Input<number>;
142
180
  /**
143
181
  * The OCID of the security policy corresponding to the security policy deployment.
144
182
  */
@@ -157,10 +195,18 @@ export interface SecurityPolicyDeploymentState {
157
195
  * The OCID of the target where the security policy is deployed.
158
196
  */
159
197
  targetId?: pulumi.Input<string>;
198
+ /**
199
+ * Indicates whether the security policy deployment is for a target database or a target database group.
200
+ */
201
+ targetType?: pulumi.Input<string>;
160
202
  /**
161
203
  * The time that the security policy deployment was created, in the format defined by RFC3339.
162
204
  */
163
205
  timeCreated?: pulumi.Input<string>;
206
+ /**
207
+ * The last date and time the security policy was deployed, in the format defined by RFC3339.
208
+ */
209
+ timeDeployed?: pulumi.Input<string>;
164
210
  /**
165
211
  * The last date and time the security policy deployment was updated, in the format defined by RFC3339.
166
212
  */
@@ -171,9 +217,9 @@ export interface SecurityPolicyDeploymentState {
171
217
  */
172
218
  export interface SecurityPolicyDeploymentArgs {
173
219
  /**
174
- * (Updatable) The OCID of the compartment containing the security policy deployment.
220
+ * (Updatable) The OCID of the compartment in which to create the unified audit policy.
175
221
  */
176
- compartmentId?: pulumi.Input<string>;
222
+ compartmentId: pulumi.Input<string>;
177
223
  /**
178
224
  * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
179
225
  */
@@ -181,7 +227,11 @@ export interface SecurityPolicyDeploymentArgs {
181
227
  [key: string]: pulumi.Input<string>;
182
228
  }>;
183
229
  /**
184
- * (Updatable) The description of the security policy deployment.
230
+ * (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
231
+ */
232
+ deployTrigger?: pulumi.Input<number>;
233
+ /**
234
+ * (Updatable) The description of the security policy.
185
235
  */
186
236
  description?: pulumi.Input<string>;
187
237
  /**
@@ -195,11 +245,23 @@ export interface SecurityPolicyDeploymentArgs {
195
245
  [key: string]: pulumi.Input<string>;
196
246
  }>;
197
247
  /**
198
- * The OCID of the security policy deployment resource.
248
+ * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
199
249
  *
200
250
  *
201
251
  * ** IMPORTANT **
202
252
  * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
203
253
  */
204
- securityPolicyDeploymentId: pulumi.Input<string>;
254
+ refreshTrigger?: pulumi.Input<number>;
255
+ /**
256
+ * The OCID of the security policy corresponding to the security policy deployment.
257
+ */
258
+ securityPolicyId: pulumi.Input<string>;
259
+ /**
260
+ * The OCID of the target where the security policy is deployed.
261
+ */
262
+ targetId: pulumi.Input<string>;
263
+ /**
264
+ * Indicates whether the security policy deployment is for a target database or a target database group.
265
+ */
266
+ targetType: pulumi.Input<string>;
205
267
  }