pulumi-oci 3.5.0a1756363728__py3-none-any.whl → 3.6.0__py3-none-any.whl

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 (194) hide show
  1. pulumi_oci/__init__.py +128 -0
  2. pulumi_oci/aivision/__init__.py +12 -0
  3. pulumi_oci/aivision/_inputs.py +787 -51
  4. pulumi_oci/aivision/get_model.py +4 -4
  5. pulumi_oci/aivision/get_models.py +11 -11
  6. pulumi_oci/aivision/get_project.py +15 -15
  7. pulumi_oci/aivision/get_projects.py +10 -10
  8. pulumi_oci/aivision/get_stream_group.py +268 -0
  9. pulumi_oci/aivision/get_stream_groups.py +177 -0
  10. pulumi_oci/aivision/get_stream_job.py +296 -0
  11. pulumi_oci/aivision/get_stream_jobs.py +199 -0
  12. pulumi_oci/aivision/get_stream_source.py +240 -0
  13. pulumi_oci/aivision/get_stream_sources.py +199 -0
  14. pulumi_oci/aivision/get_vision_private_endpoint.py +267 -0
  15. pulumi_oci/aivision/get_vision_private_endpoints.py +199 -0
  16. pulumi_oci/aivision/model.py +149 -157
  17. pulumi_oci/aivision/outputs.py +1920 -116
  18. pulumi_oci/aivision/project.py +61 -69
  19. pulumi_oci/aivision/stream_group.py +632 -0
  20. pulumi_oci/aivision/stream_job.py +744 -0
  21. pulumi_oci/aivision/stream_source.py +519 -0
  22. pulumi_oci/aivision/vision_private_endpoint.py +606 -0
  23. pulumi_oci/cloudguard/_inputs.py +1198 -72
  24. pulumi_oci/cloudguard/get_managed_list.py +15 -1
  25. pulumi_oci/cloudguard/managed_list.py +47 -0
  26. pulumi_oci/cloudguard/outputs.py +2104 -67
  27. pulumi_oci/config/__init__.pyi +12 -17
  28. pulumi_oci/config/vars.py +12 -17
  29. pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
  30. pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
  31. pulumi_oci/core/outputs.py +11 -0
  32. pulumi_oci/database/_inputs.py +298 -13
  33. pulumi_oci/database/data_guard_association.py +98 -0
  34. pulumi_oci/database/database.py +28 -0
  35. pulumi_oci/database/db_node.py +56 -0
  36. pulumi_oci/database/db_system.py +108 -14
  37. pulumi_oci/database/exadb_vm_cluster.py +49 -0
  38. pulumi_oci/database/exascale_db_storage_vault.py +126 -0
  39. pulumi_oci/database/get_data_guard_association.py +23 -1
  40. pulumi_oci/database/get_database.py +15 -1
  41. pulumi_oci/database/get_db_node.py +29 -1
  42. pulumi_oci/database/get_db_system_shapes.py +25 -6
  43. pulumi_oci/database/get_db_system_storage_performances.py +20 -3
  44. pulumi_oci/database/get_db_versions.py +20 -1
  45. pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
  46. pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
  47. pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
  48. pulumi_oci/database/get_gi_versions.py +25 -6
  49. pulumi_oci/database/outputs.py +696 -13
  50. pulumi_oci/datasafe/__init__.py +24 -0
  51. pulumi_oci/datasafe/_inputs.py +3669 -1537
  52. pulumi_oci/datasafe/attribute_set.py +693 -0
  53. pulumi_oci/datasafe/audit_profile.py +356 -95
  54. pulumi_oci/datasafe/audit_profile_management.py +389 -129
  55. pulumi_oci/datasafe/audit_trail.py +47 -0
  56. pulumi_oci/datasafe/audit_trail_management.py +49 -0
  57. pulumi_oci/datasafe/get_alerts.py +2 -2
  58. pulumi_oci/datasafe/get_attribute_set.py +295 -0
  59. pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
  60. pulumi_oci/datasafe/get_attribute_sets.py +340 -0
  61. pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
  62. pulumi_oci/datasafe/get_audit_events.py +2 -2
  63. pulumi_oci/datasafe/get_audit_policies.py +20 -1
  64. pulumi_oci/datasafe/get_audit_profile.py +78 -8
  65. pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
  66. pulumi_oci/datasafe/get_audit_profiles.py +50 -9
  67. pulumi_oci/datasafe/get_audit_trail.py +15 -1
  68. pulumi_oci/datasafe/get_audit_trails.py +20 -1
  69. pulumi_oci/datasafe/get_database_security_configs.py +20 -1
  70. pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
  71. pulumi_oci/datasafe/get_masking_analytics.py +42 -1
  72. pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
  73. pulumi_oci/datasafe/get_report.py +43 -1
  74. pulumi_oci/datasafe/get_reports.py +23 -1
  75. pulumi_oci/datasafe/get_security_assessment.py +116 -2
  76. pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
  77. pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
  78. pulumi_oci/datasafe/get_security_assessment_findings.py +73 -6
  79. pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
  80. pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
  81. pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
  82. pulumi_oci/datasafe/get_security_assessments.py +68 -2
  83. pulumi_oci/datasafe/get_security_policies.py +23 -1
  84. pulumi_oci/datasafe/get_security_policy.py +15 -1
  85. pulumi_oci/datasafe/get_security_policy_config.py +296 -0
  86. pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
  87. pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
  88. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
  89. pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
  90. pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
  91. pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
  92. pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
  93. pulumi_oci/datasafe/get_sql_collections.py +20 -1
  94. pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
  95. pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
  96. pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
  97. pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
  98. pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
  99. pulumi_oci/datasafe/get_target_database_group.py +296 -0
  100. pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
  101. pulumi_oci/datasafe/get_target_database_groups.py +313 -0
  102. pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
  103. pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
  104. pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
  105. pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
  106. pulumi_oci/datasafe/get_user_assessment.py +29 -1
  107. pulumi_oci/datasafe/get_user_assessments.py +45 -1
  108. pulumi_oci/datasafe/outputs.py +6964 -192
  109. pulumi_oci/datasafe/report.py +84 -0
  110. pulumi_oci/datasafe/report_definition.py +4 -0
  111. pulumi_oci/datasafe/security_assessment.py +425 -82
  112. pulumi_oci/datasafe/security_assessment_check.py +456 -0
  113. pulumi_oci/datasafe/security_assessment_finding.py +818 -0
  114. pulumi_oci/datasafe/security_policy.py +94 -77
  115. pulumi_oci/datasafe/security_policy_config.py +698 -0
  116. pulumi_oci/datasafe/security_policy_deployment.py +272 -67
  117. pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
  118. pulumi_oci/datasafe/security_policy_management.py +87 -30
  119. pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
  120. pulumi_oci/datasafe/target_database.py +4 -0
  121. pulumi_oci/datasafe/target_database_group.py +679 -0
  122. pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
  123. pulumi_oci/datasafe/unified_audit_policy.py +836 -0
  124. pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
  125. pulumi_oci/datasafe/user_assessment.py +105 -28
  126. pulumi_oci/disasterrecovery/_inputs.py +231 -3
  127. pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
  128. pulumi_oci/disasterrecovery/outputs.py +446 -12
  129. pulumi_oci/generativeai/_inputs.py +572 -63
  130. pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
  131. pulumi_oci/generativeai/agent_data_source.py +7 -81
  132. pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
  133. pulumi_oci/generativeai/agent_tool.py +172 -0
  134. pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
  135. pulumi_oci/generativeai/get_agent_data_source.py +1 -5
  136. pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
  137. pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
  138. pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
  139. pulumi_oci/generativeai/outputs.py +1128 -106
  140. pulumi_oci/goldengate/deployment.py +94 -0
  141. pulumi_oci/goldengate/get_deployment.py +29 -1
  142. pulumi_oci/goldengate/get_deployments.py +23 -1
  143. pulumi_oci/goldengate/outputs.py +35 -2
  144. pulumi_oci/mysql/_inputs.py +221 -0
  145. pulumi_oci/mysql/get_mysql_backup.py +40 -4
  146. pulumi_oci/mysql/get_mysql_backups.py +2 -2
  147. pulumi_oci/mysql/mysql_backup.py +119 -3
  148. pulumi_oci/mysql/outputs.py +343 -957
  149. pulumi_oci/oci/__init__.py +17 -0
  150. pulumi_oci/oci/_inputs.py +676 -15
  151. pulumi_oci/oci/dbmulticloud_multi_cloud_resource_discovery.py +103 -54
  152. pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_container.py +45 -45
  153. pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_mount.py +42 -44
  154. pulumi_oci/oci/dbmulticloud_oracle_db_azure_connector.py +100 -72
  155. pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault.py +74 -74
  156. pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault_association.py +50 -50
  157. pulumi_oci/oci/dbmulticloud_oracle_db_gcp_identity_connector.py +924 -0
  158. pulumi_oci/oci/dbmulticloud_oracle_db_gcp_key_ring.py +762 -0
  159. pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discoveries.py +37 -15
  160. pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discovery.py +26 -12
  161. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_container.py +12 -12
  162. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_containers.py +15 -15
  163. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mount.py +12 -12
  164. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mounts.py +15 -15
  165. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connector.py +30 -16
  166. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connectors.py +11 -11
  167. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_key.py +41 -13
  168. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_keys.py +12 -12
  169. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault.py +17 -17
  170. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_association.py +14 -14
  171. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_associations.py +15 -15
  172. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vaults.py +14 -14
  173. pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connector.py +366 -0
  174. pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connectors.py +213 -0
  175. pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key.py +295 -0
  176. pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_ring.py +309 -0
  177. pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_rings.py +229 -0
  178. pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_keys.py +232 -0
  179. pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
  180. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
  181. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
  182. pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
  183. pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
  184. pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
  185. pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
  186. pulumi_oci/oci/managed_kafka_kafka_cluster_config.py +549 -0
  187. pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
  188. pulumi_oci/oci/outputs.py +2051 -142
  189. pulumi_oci/provider.py +44 -63
  190. pulumi_oci/pulumi-plugin.json +1 -1
  191. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/METADATA +1 -1
  192. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/RECORD +194 -141
  193. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/WHEEL +0 -0
  194. {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/top_level.txt +0 -0
@@ -19,28 +19,24 @@ __all__ = ['SecurityPolicyArgs', 'SecurityPolicy']
19
19
  @pulumi.input_type
20
20
  class SecurityPolicyArgs:
21
21
  def __init__(__self__, *,
22
- security_policy_id: pulumi.Input[_builtins.str],
23
- compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
22
+ compartment_id: pulumi.Input[_builtins.str],
24
23
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
25
24
  description: Optional[pulumi.Input[_builtins.str]] = None,
26
25
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
27
26
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
28
27
  """
29
28
  The set of arguments for constructing a SecurityPolicy resource.
30
- :param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy resource.
29
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
30
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (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"}`
31
+ :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
32
+ :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
33
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (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"}`
31
34
 
32
35
 
33
36
  ** IMPORTANT **
34
37
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
35
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
36
- :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (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"}`
37
- :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
38
- :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
39
- :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (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"}`
40
38
  """
41
- pulumi.set(__self__, "security_policy_id", security_policy_id)
42
- if compartment_id is not None:
43
- pulumi.set(__self__, "compartment_id", compartment_id)
39
+ pulumi.set(__self__, "compartment_id", compartment_id)
44
40
  if defined_tags is not None:
45
41
  pulumi.set(__self__, "defined_tags", defined_tags)
46
42
  if description is not None:
@@ -50,32 +46,16 @@ class SecurityPolicyArgs:
50
46
  if freeform_tags is not None:
51
47
  pulumi.set(__self__, "freeform_tags", freeform_tags)
52
48
 
53
- @_builtins.property
54
- @pulumi.getter(name="securityPolicyId")
55
- def security_policy_id(self) -> pulumi.Input[_builtins.str]:
56
- """
57
- The OCID of the security policy resource.
58
-
59
-
60
- ** IMPORTANT **
61
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
62
- """
63
- return pulumi.get(self, "security_policy_id")
64
-
65
- @security_policy_id.setter
66
- def security_policy_id(self, value: pulumi.Input[_builtins.str]):
67
- pulumi.set(self, "security_policy_id", value)
68
-
69
49
  @_builtins.property
70
50
  @pulumi.getter(name="compartmentId")
71
- def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
51
+ def compartment_id(self) -> pulumi.Input[_builtins.str]:
72
52
  """
73
- (Updatable) The OCID of the compartment containing the security policy.
53
+ (Updatable) The OCID of the compartment in which to create the security policy.
74
54
  """
75
55
  return pulumi.get(self, "compartment_id")
76
56
 
77
57
  @compartment_id.setter
78
- def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
58
+ def compartment_id(self, value: pulumi.Input[_builtins.str]):
79
59
  pulumi.set(self, "compartment_id", value)
80
60
 
81
61
  @_builtins.property
@@ -118,7 +98,11 @@ class SecurityPolicyArgs:
118
98
  @pulumi.getter(name="freeformTags")
119
99
  def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
120
100
  """
121
- (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"}`
101
+ (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"}`
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
122
106
  """
123
107
  return pulumi.get(self, "freeform_tags")
124
108
 
@@ -136,24 +120,24 @@ class _SecurityPolicyState:
136
120
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
137
121
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
138
122
  lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
139
- security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
123
+ security_policy_type: Optional[pulumi.Input[_builtins.str]] = None,
140
124
  state: Optional[pulumi.Input[_builtins.str]] = None,
141
125
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
142
126
  time_created: Optional[pulumi.Input[_builtins.str]] = None,
143
127
  time_updated: Optional[pulumi.Input[_builtins.str]] = None):
144
128
  """
145
129
  Input properties used for looking up and filtering SecurityPolicy resources.
146
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
130
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
147
131
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (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"}`
148
132
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
149
133
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
150
- :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (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"}`
151
- :param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
152
- :param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy resource.
134
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (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"}`
153
135
 
154
136
 
155
137
  ** IMPORTANT **
156
138
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
139
+ :param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
140
+ :param pulumi.Input[_builtins.str] security_policy_type: The type of the security policy.
157
141
  :param pulumi.Input[_builtins.str] state: The current state of the security policy.
158
142
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: 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"}`
159
143
  :param pulumi.Input[_builtins.str] time_created: The time that the security policy was created, in the format defined by RFC3339.
@@ -171,8 +155,8 @@ class _SecurityPolicyState:
171
155
  pulumi.set(__self__, "freeform_tags", freeform_tags)
172
156
  if lifecycle_details is not None:
173
157
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
174
- if security_policy_id is not None:
175
- pulumi.set(__self__, "security_policy_id", security_policy_id)
158
+ if security_policy_type is not None:
159
+ pulumi.set(__self__, "security_policy_type", security_policy_type)
176
160
  if state is not None:
177
161
  pulumi.set(__self__, "state", state)
178
162
  if system_tags is not None:
@@ -186,7 +170,7 @@ class _SecurityPolicyState:
186
170
  @pulumi.getter(name="compartmentId")
187
171
  def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
188
172
  """
189
- (Updatable) The OCID of the compartment containing the security policy.
173
+ (Updatable) The OCID of the compartment in which to create the security policy.
190
174
  """
191
175
  return pulumi.get(self, "compartment_id")
192
176
 
@@ -234,7 +218,11 @@ class _SecurityPolicyState:
234
218
  @pulumi.getter(name="freeformTags")
235
219
  def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
236
220
  """
237
- (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"}`
221
+ (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"}`
222
+
223
+
224
+ ** IMPORTANT **
225
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
238
226
  """
239
227
  return pulumi.get(self, "freeform_tags")
240
228
 
@@ -255,20 +243,16 @@ class _SecurityPolicyState:
255
243
  pulumi.set(self, "lifecycle_details", value)
256
244
 
257
245
  @_builtins.property
258
- @pulumi.getter(name="securityPolicyId")
259
- def security_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
246
+ @pulumi.getter(name="securityPolicyType")
247
+ def security_policy_type(self) -> Optional[pulumi.Input[_builtins.str]]:
260
248
  """
261
- The OCID of the security policy resource.
262
-
263
-
264
- ** IMPORTANT **
265
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
249
+ The type of the security policy.
266
250
  """
267
- return pulumi.get(self, "security_policy_id")
251
+ return pulumi.get(self, "security_policy_type")
268
252
 
269
- @security_policy_id.setter
270
- def security_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
271
- pulumi.set(self, "security_policy_id", value)
253
+ @security_policy_type.setter
254
+ def security_policy_type(self, value: Optional[pulumi.Input[_builtins.str]]):
255
+ pulumi.set(self, "security_policy_type", value)
272
256
 
273
257
  @_builtins.property
274
258
  @pulumi.getter
@@ -330,12 +314,29 @@ class SecurityPolicy(pulumi.CustomResource):
330
314
  description: Optional[pulumi.Input[_builtins.str]] = None,
331
315
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
332
316
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
333
- security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
334
317
  __props__=None):
335
318
  """
336
319
  This resource provides the Security Policy resource in Oracle Cloud Infrastructure Data Safe service.
337
320
 
338
- Updates the security policy.
321
+ Creates a Data Safe security policy.
322
+
323
+ ## Example Usage
324
+
325
+ ```python
326
+ import pulumi
327
+ import pulumi_oci as oci
328
+
329
+ test_security_policy = oci.datasafe.SecurityPolicy("test_security_policy",
330
+ compartment_id=compartment_id,
331
+ defined_tags={
332
+ "Operations.CostCenter": "42",
333
+ },
334
+ description=security_policy_description,
335
+ display_name=security_policy_display_name,
336
+ freeform_tags={
337
+ "Department": "Finance",
338
+ })
339
+ ```
339
340
 
340
341
  ## Import
341
342
 
@@ -347,12 +348,11 @@ class SecurityPolicy(pulumi.CustomResource):
347
348
 
348
349
  :param str resource_name: The name of the resource.
349
350
  :param pulumi.ResourceOptions opts: Options for the resource.
350
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
351
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
351
352
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (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"}`
352
353
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
353
354
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
354
- :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (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"}`
355
- :param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy resource.
355
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (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"}`
356
356
 
357
357
 
358
358
  ** IMPORTANT **
@@ -367,7 +367,25 @@ class SecurityPolicy(pulumi.CustomResource):
367
367
  """
368
368
  This resource provides the Security Policy resource in Oracle Cloud Infrastructure Data Safe service.
369
369
 
370
- Updates the security policy.
370
+ Creates a Data Safe security policy.
371
+
372
+ ## Example Usage
373
+
374
+ ```python
375
+ import pulumi
376
+ import pulumi_oci as oci
377
+
378
+ test_security_policy = oci.datasafe.SecurityPolicy("test_security_policy",
379
+ compartment_id=compartment_id,
380
+ defined_tags={
381
+ "Operations.CostCenter": "42",
382
+ },
383
+ description=security_policy_description,
384
+ display_name=security_policy_display_name,
385
+ freeform_tags={
386
+ "Department": "Finance",
387
+ })
388
+ ```
371
389
 
372
390
  ## Import
373
391
 
@@ -397,7 +415,6 @@ class SecurityPolicy(pulumi.CustomResource):
397
415
  description: Optional[pulumi.Input[_builtins.str]] = None,
398
416
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
399
417
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
400
- security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
401
418
  __props__=None):
402
419
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
403
420
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -407,15 +424,15 @@ class SecurityPolicy(pulumi.CustomResource):
407
424
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
408
425
  __props__ = SecurityPolicyArgs.__new__(SecurityPolicyArgs)
409
426
 
427
+ if compartment_id is None and not opts.urn:
428
+ raise TypeError("Missing required property 'compartment_id'")
410
429
  __props__.__dict__["compartment_id"] = compartment_id
411
430
  __props__.__dict__["defined_tags"] = defined_tags
412
431
  __props__.__dict__["description"] = description
413
432
  __props__.__dict__["display_name"] = display_name
414
433
  __props__.__dict__["freeform_tags"] = freeform_tags
415
- if security_policy_id is None and not opts.urn:
416
- raise TypeError("Missing required property 'security_policy_id'")
417
- __props__.__dict__["security_policy_id"] = security_policy_id
418
434
  __props__.__dict__["lifecycle_details"] = None
435
+ __props__.__dict__["security_policy_type"] = None
419
436
  __props__.__dict__["state"] = None
420
437
  __props__.__dict__["system_tags"] = None
421
438
  __props__.__dict__["time_created"] = None
@@ -436,7 +453,7 @@ class SecurityPolicy(pulumi.CustomResource):
436
453
  display_name: Optional[pulumi.Input[_builtins.str]] = None,
437
454
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
438
455
  lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
439
- security_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
456
+ security_policy_type: Optional[pulumi.Input[_builtins.str]] = None,
440
457
  state: Optional[pulumi.Input[_builtins.str]] = None,
441
458
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
442
459
  time_created: Optional[pulumi.Input[_builtins.str]] = None,
@@ -448,17 +465,17 @@ class SecurityPolicy(pulumi.CustomResource):
448
465
  :param str resource_name: The unique name of the resulting resource.
449
466
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
450
467
  :param pulumi.ResourceOptions opts: Options for the resource.
451
- :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment containing the security policy.
468
+ :param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment in which to create the security policy.
452
469
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (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"}`
453
470
  :param pulumi.Input[_builtins.str] description: (Updatable) The description of the security policy.
454
471
  :param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.
455
- :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (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"}`
456
- :param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
457
- :param pulumi.Input[_builtins.str] security_policy_id: The OCID of the security policy resource.
472
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (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"}`
458
473
 
459
474
 
460
475
  ** IMPORTANT **
461
476
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
477
+ :param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the security policy in Data Safe.
478
+ :param pulumi.Input[_builtins.str] security_policy_type: The type of the security policy.
462
479
  :param pulumi.Input[_builtins.str] state: The current state of the security policy.
463
480
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: 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"}`
464
481
  :param pulumi.Input[_builtins.str] time_created: The time that the security policy was created, in the format defined by RFC3339.
@@ -474,7 +491,7 @@ class SecurityPolicy(pulumi.CustomResource):
474
491
  __props__.__dict__["display_name"] = display_name
475
492
  __props__.__dict__["freeform_tags"] = freeform_tags
476
493
  __props__.__dict__["lifecycle_details"] = lifecycle_details
477
- __props__.__dict__["security_policy_id"] = security_policy_id
494
+ __props__.__dict__["security_policy_type"] = security_policy_type
478
495
  __props__.__dict__["state"] = state
479
496
  __props__.__dict__["system_tags"] = system_tags
480
497
  __props__.__dict__["time_created"] = time_created
@@ -485,7 +502,7 @@ class SecurityPolicy(pulumi.CustomResource):
485
502
  @pulumi.getter(name="compartmentId")
486
503
  def compartment_id(self) -> pulumi.Output[_builtins.str]:
487
504
  """
488
- (Updatable) The OCID of the compartment containing the security policy.
505
+ (Updatable) The OCID of the compartment in which to create the security policy.
489
506
  """
490
507
  return pulumi.get(self, "compartment_id")
491
508
 
@@ -517,7 +534,11 @@ class SecurityPolicy(pulumi.CustomResource):
517
534
  @pulumi.getter(name="freeformTags")
518
535
  def freeform_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
519
536
  """
520
- (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"}`
537
+ (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"}`
538
+
539
+
540
+ ** IMPORTANT **
541
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
521
542
  """
522
543
  return pulumi.get(self, "freeform_tags")
523
544
 
@@ -530,16 +551,12 @@ class SecurityPolicy(pulumi.CustomResource):
530
551
  return pulumi.get(self, "lifecycle_details")
531
552
 
532
553
  @_builtins.property
533
- @pulumi.getter(name="securityPolicyId")
534
- def security_policy_id(self) -> pulumi.Output[_builtins.str]:
554
+ @pulumi.getter(name="securityPolicyType")
555
+ def security_policy_type(self) -> pulumi.Output[_builtins.str]:
535
556
  """
536
- The OCID of the security policy resource.
537
-
538
-
539
- ** IMPORTANT **
540
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
557
+ The type of the security policy.
541
558
  """
542
- return pulumi.get(self, "security_policy_id")
559
+ return pulumi.get(self, "security_policy_type")
543
560
 
544
561
  @_builtins.property
545
562
  @pulumi.getter