pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.12.0a1728642710__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 (170) hide show
  1. pulumi_oci/__init__.py +145 -0
  2. pulumi_oci/analytics/analytics_instance.py +54 -5
  3. pulumi_oci/analytics/get_analytics_instance.py +18 -4
  4. pulumi_oci/analytics/outputs.py +12 -1
  5. pulumi_oci/core/_inputs.py +648 -159
  6. pulumi_oci/core/cluster_network.py +7 -7
  7. pulumi_oci/core/get_instance.py +29 -1
  8. pulumi_oci/core/get_vcn.py +15 -1
  9. pulumi_oci/core/get_vnic.py +15 -1
  10. pulumi_oci/core/instance.py +87 -0
  11. pulumi_oci/core/instance_configuration.py +12 -0
  12. pulumi_oci/core/ipsec.py +183 -23
  13. pulumi_oci/core/network_security_group_security_rule.py +2 -2
  14. pulumi_oci/core/outputs.py +709 -107
  15. pulumi_oci/core/service_gateway.py +13 -7
  16. pulumi_oci/core/vcn.py +65 -23
  17. pulumi_oci/core/virtual_network.py +35 -1
  18. pulumi_oci/core/vnic_attachment.py +2 -0
  19. pulumi_oci/database/_inputs.py +905 -27
  20. pulumi_oci/database/autonomous_database.py +48 -28
  21. pulumi_oci/database/autonomous_database_backup.py +12 -12
  22. pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
  23. pulumi_oci/database/autonomous_vm_cluster.py +2 -0
  24. pulumi_oci/database/backup.py +12 -12
  25. pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
  26. pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
  27. pulumi_oci/database/cloud_vm_cluster.py +71 -0
  28. pulumi_oci/database/database.py +15 -15
  29. pulumi_oci/database/database_upgrade.py +12 -12
  30. pulumi_oci/database/db_system.py +9 -9
  31. pulumi_oci/database/exadata_infrastructure.py +2 -0
  32. pulumi_oci/database/get_autonomous_container_database.py +1 -1
  33. pulumi_oci/database/get_autonomous_database.py +18 -4
  34. pulumi_oci/database/get_autonomous_database_backup.py +3 -3
  35. pulumi_oci/database/get_autonomous_databases.py +88 -5
  36. pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
  37. pulumi_oci/database/get_database.py +3 -3
  38. pulumi_oci/database/get_pluggable_database.py +12 -1
  39. pulumi_oci/database/get_vm_cluster.py +15 -1
  40. pulumi_oci/database/outputs.py +1431 -74
  41. pulumi_oci/database/pluggable_database.py +34 -0
  42. pulumi_oci/database/vm_cluster.py +71 -0
  43. pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
  44. pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
  45. pulumi_oci/datasafe/__init__.py +12 -0
  46. pulumi_oci/datasafe/_inputs.py +441 -0
  47. pulumi_oci/datasafe/get_reports.py +23 -1
  48. pulumi_oci/datasafe/get_sql_collection.py +392 -0
  49. pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
  50. pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
  51. pulumi_oci/datasafe/get_sql_collections.py +364 -0
  52. pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
  53. pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
  54. pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
  55. pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
  56. pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
  57. pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
  58. pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
  59. pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
  60. pulumi_oci/datasafe/outputs.py +1808 -2
  61. pulumi_oci/desktops/_inputs.py +223 -7
  62. pulumi_oci/desktops/desktop_pool.py +186 -21
  63. pulumi_oci/desktops/get_desktop_pool.py +47 -5
  64. pulumi_oci/desktops/outputs.py +480 -19
  65. pulumi_oci/fleetappsmanagement/__init__.py +43 -0
  66. pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
  67. pulumi_oci/fleetappsmanagement/fleet.py +955 -0
  68. pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
  69. pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
  70. pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
  71. pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
  72. pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
  73. pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
  74. pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
  75. pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
  76. pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
  77. pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
  78. pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
  79. pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
  80. pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
  81. pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
  82. pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
  83. pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
  84. pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
  85. pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
  86. pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
  87. pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
  88. pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
  89. pulumi_oci/fleetappsmanagement/get_property.py +323 -0
  90. pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
  91. pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
  92. pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
  93. pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
  94. pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
  95. pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
  96. pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
  97. pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
  98. pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
  99. pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
  100. pulumi_oci/fleetappsmanagement/property.py +697 -0
  101. pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
  102. pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
  103. pulumi_oci/functions/outputs.py +11 -0
  104. pulumi_oci/fusionapps/_inputs.py +21 -20
  105. pulumi_oci/fusionapps/fusion_environment.py +2 -2
  106. pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
  107. pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
  108. pulumi_oci/fusionapps/outputs.py +11 -10
  109. pulumi_oci/integration/__init__.py +1 -0
  110. pulumi_oci/integration/_inputs.py +289 -2
  111. pulumi_oci/integration/get_integration_instance.py +65 -1
  112. pulumi_oci/integration/integration_instance.py +172 -0
  113. pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
  114. pulumi_oci/integration/outputs.py +587 -19
  115. pulumi_oci/loadbalancer/_inputs.py +20 -0
  116. pulumi_oci/loadbalancer/listener.py +4 -2
  117. pulumi_oci/loadbalancer/outputs.py +16 -2
  118. pulumi_oci/monitoring/_inputs.py +137 -16
  119. pulumi_oci/monitoring/alarm_suppression.py +164 -35
  120. pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
  121. pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
  122. pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
  123. pulumi_oci/monitoring/outputs.py +291 -18
  124. pulumi_oci/mysql/mysql_db_system.py +7 -7
  125. pulumi_oci/objectstorage/__init__.py +3 -0
  126. pulumi_oci/objectstorage/_inputs.py +97 -0
  127. pulumi_oci/objectstorage/get_object_versions.py +6 -6
  128. pulumi_oci/objectstorage/get_objects.py +6 -6
  129. pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
  130. pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
  131. pulumi_oci/objectstorage/outputs.py +258 -0
  132. pulumi_oci/objectstorage/private_endpoint.py +630 -0
  133. pulumi_oci/objectstorage/storage_object.py +7 -7
  134. pulumi_oci/opsi/_inputs.py +268 -114
  135. pulumi_oci/opsi/database_insight.py +162 -21
  136. pulumi_oci/opsi/exadata_insight.py +44 -0
  137. pulumi_oci/opsi/get_database_insight.py +40 -1
  138. pulumi_oci/opsi/get_host_insights.py +2 -2
  139. pulumi_oci/opsi/host_insight.py +0 -48
  140. pulumi_oci/opsi/outputs.py +405 -109
  141. pulumi_oci/pulumi-plugin.json +1 -1
  142. pulumi_oci/securityattribute/__init__.py +15 -0
  143. pulumi_oci/securityattribute/_inputs.py +209 -0
  144. pulumi_oci/securityattribute/get_security_attribute.py +262 -0
  145. pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
  146. pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
  147. pulumi_oci/securityattribute/get_security_attributes.py +169 -0
  148. pulumi_oci/securityattribute/outputs.py +466 -0
  149. pulumi_oci/securityattribute/security_attribute.py +588 -0
  150. pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
  151. pulumi_oci/stackmonitoring/__init__.py +5 -0
  152. pulumi_oci/stackmonitoring/_inputs.py +330 -0
  153. pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
  154. pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
  155. pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
  156. pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
  157. pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
  158. pulumi_oci/stackmonitoring/outputs.py +603 -0
  159. pulumi_oci/zpr/__init__.py +14 -0
  160. pulumi_oci/zpr/_inputs.py +79 -0
  161. pulumi_oci/zpr/configuration.py +516 -0
  162. pulumi_oci/zpr/get_configuration.py +230 -0
  163. pulumi_oci/zpr/get_zpr_policies.py +191 -0
  164. pulumi_oci/zpr/get_zpr_policy.py +264 -0
  165. pulumi_oci/zpr/outputs.py +203 -0
  166. pulumi_oci/zpr/zpr_policy.py +614 -0
  167. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/METADATA +1 -1
  168. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/RECORD +170 -95
  169. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/WHEEL +0 -0
  170. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,614 @@
1
+ # coding=utf-8
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
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['ZprPolicyArgs', 'ZprPolicy']
18
+
19
+ @pulumi.input_type
20
+ class ZprPolicyArgs:
21
+ def __init__(__self__, *,
22
+ compartment_id: pulumi.Input[str],
23
+ description: pulumi.Input[str],
24
+ statements: pulumi.Input[Sequence[pulumi.Input[str]]],
25
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
26
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
27
+ name: Optional[pulumi.Input[str]] = None):
28
+ """
29
+ The set of arguments for constructing a ZprPolicy resource.
30
+ :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in.
31
+ :param pulumi.Input[str] description: (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
32
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] statements: (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
33
+
34
+
35
+ ** IMPORTANT **
36
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
37
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
38
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
39
+ :param pulumi.Input[str] name: The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
40
+ """
41
+ pulumi.set(__self__, "compartment_id", compartment_id)
42
+ pulumi.set(__self__, "description", description)
43
+ pulumi.set(__self__, "statements", statements)
44
+ if defined_tags is not None:
45
+ pulumi.set(__self__, "defined_tags", defined_tags)
46
+ if freeform_tags is not None:
47
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
48
+ if name is not None:
49
+ pulumi.set(__self__, "name", name)
50
+
51
+ @property
52
+ @pulumi.getter(name="compartmentId")
53
+ def compartment_id(self) -> pulumi.Input[str]:
54
+ """
55
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in.
56
+ """
57
+ return pulumi.get(self, "compartment_id")
58
+
59
+ @compartment_id.setter
60
+ def compartment_id(self, value: pulumi.Input[str]):
61
+ pulumi.set(self, "compartment_id", value)
62
+
63
+ @property
64
+ @pulumi.getter
65
+ def description(self) -> pulumi.Input[str]:
66
+ """
67
+ (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
68
+ """
69
+ return pulumi.get(self, "description")
70
+
71
+ @description.setter
72
+ def description(self, value: pulumi.Input[str]):
73
+ pulumi.set(self, "description", value)
74
+
75
+ @property
76
+ @pulumi.getter
77
+ def statements(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
78
+ """
79
+ (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
80
+
81
+
82
+ ** IMPORTANT **
83
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
84
+ """
85
+ return pulumi.get(self, "statements")
86
+
87
+ @statements.setter
88
+ def statements(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
89
+ pulumi.set(self, "statements", value)
90
+
91
+ @property
92
+ @pulumi.getter(name="definedTags")
93
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
94
+ """
95
+ (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"}`
96
+ """
97
+ return pulumi.get(self, "defined_tags")
98
+
99
+ @defined_tags.setter
100
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
101
+ pulumi.set(self, "defined_tags", value)
102
+
103
+ @property
104
+ @pulumi.getter(name="freeformTags")
105
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
106
+ """
107
+ (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"}`
108
+ """
109
+ return pulumi.get(self, "freeform_tags")
110
+
111
+ @freeform_tags.setter
112
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
113
+ pulumi.set(self, "freeform_tags", value)
114
+
115
+ @property
116
+ @pulumi.getter
117
+ def name(self) -> Optional[pulumi.Input[str]]:
118
+ """
119
+ The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
120
+ """
121
+ return pulumi.get(self, "name")
122
+
123
+ @name.setter
124
+ def name(self, value: Optional[pulumi.Input[str]]):
125
+ pulumi.set(self, "name", value)
126
+
127
+
128
+ @pulumi.input_type
129
+ class _ZprPolicyState:
130
+ def __init__(__self__, *,
131
+ compartment_id: Optional[pulumi.Input[str]] = None,
132
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
133
+ description: Optional[pulumi.Input[str]] = None,
134
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
135
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
136
+ name: Optional[pulumi.Input[str]] = None,
137
+ state: Optional[pulumi.Input[str]] = None,
138
+ statements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
139
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
140
+ time_created: Optional[pulumi.Input[str]] = None,
141
+ time_updated: Optional[pulumi.Input[str]] = None):
142
+ """
143
+ Input properties used for looking up and filtering ZprPolicy resources.
144
+ :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in.
145
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
146
+ :param pulumi.Input[str] description: (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
147
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
148
+ :param pulumi.Input[str] lifecycle_details: A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
149
+ :param pulumi.Input[str] name: The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
150
+ :param pulumi.Input[str] state: The current state of the ZprPolicy.
151
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] statements: (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
152
+
153
+
154
+ ** IMPORTANT **
155
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
156
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
157
+ :param pulumi.Input[str] time_created: The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
158
+ :param pulumi.Input[str] time_updated: The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
159
+ """
160
+ if compartment_id is not None:
161
+ pulumi.set(__self__, "compartment_id", compartment_id)
162
+ if defined_tags is not None:
163
+ pulumi.set(__self__, "defined_tags", defined_tags)
164
+ if description is not None:
165
+ pulumi.set(__self__, "description", description)
166
+ if freeform_tags is not None:
167
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
168
+ if lifecycle_details is not None:
169
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
170
+ if name is not None:
171
+ pulumi.set(__self__, "name", name)
172
+ if state is not None:
173
+ pulumi.set(__self__, "state", state)
174
+ if statements is not None:
175
+ pulumi.set(__self__, "statements", statements)
176
+ if system_tags is not None:
177
+ pulumi.set(__self__, "system_tags", system_tags)
178
+ if time_created is not None:
179
+ pulumi.set(__self__, "time_created", time_created)
180
+ if time_updated is not None:
181
+ pulumi.set(__self__, "time_updated", time_updated)
182
+
183
+ @property
184
+ @pulumi.getter(name="compartmentId")
185
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
186
+ """
187
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in.
188
+ """
189
+ return pulumi.get(self, "compartment_id")
190
+
191
+ @compartment_id.setter
192
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
193
+ pulumi.set(self, "compartment_id", value)
194
+
195
+ @property
196
+ @pulumi.getter(name="definedTags")
197
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
198
+ """
199
+ (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"}`
200
+ """
201
+ return pulumi.get(self, "defined_tags")
202
+
203
+ @defined_tags.setter
204
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
205
+ pulumi.set(self, "defined_tags", value)
206
+
207
+ @property
208
+ @pulumi.getter
209
+ def description(self) -> Optional[pulumi.Input[str]]:
210
+ """
211
+ (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
212
+ """
213
+ return pulumi.get(self, "description")
214
+
215
+ @description.setter
216
+ def description(self, value: Optional[pulumi.Input[str]]):
217
+ pulumi.set(self, "description", value)
218
+
219
+ @property
220
+ @pulumi.getter(name="freeformTags")
221
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
222
+ """
223
+ (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"}`
224
+ """
225
+ return pulumi.get(self, "freeform_tags")
226
+
227
+ @freeform_tags.setter
228
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
229
+ pulumi.set(self, "freeform_tags", value)
230
+
231
+ @property
232
+ @pulumi.getter(name="lifecycleDetails")
233
+ def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
234
+ """
235
+ A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
236
+ """
237
+ return pulumi.get(self, "lifecycle_details")
238
+
239
+ @lifecycle_details.setter
240
+ def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
241
+ pulumi.set(self, "lifecycle_details", value)
242
+
243
+ @property
244
+ @pulumi.getter
245
+ def name(self) -> Optional[pulumi.Input[str]]:
246
+ """
247
+ The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
248
+ """
249
+ return pulumi.get(self, "name")
250
+
251
+ @name.setter
252
+ def name(self, value: Optional[pulumi.Input[str]]):
253
+ pulumi.set(self, "name", value)
254
+
255
+ @property
256
+ @pulumi.getter
257
+ def state(self) -> Optional[pulumi.Input[str]]:
258
+ """
259
+ The current state of the ZprPolicy.
260
+ """
261
+ return pulumi.get(self, "state")
262
+
263
+ @state.setter
264
+ def state(self, value: Optional[pulumi.Input[str]]):
265
+ pulumi.set(self, "state", value)
266
+
267
+ @property
268
+ @pulumi.getter
269
+ def statements(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
270
+ """
271
+ (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
272
+
273
+
274
+ ** IMPORTANT **
275
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
276
+ """
277
+ return pulumi.get(self, "statements")
278
+
279
+ @statements.setter
280
+ def statements(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
281
+ pulumi.set(self, "statements", value)
282
+
283
+ @property
284
+ @pulumi.getter(name="systemTags")
285
+ def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
286
+ """
287
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
288
+ """
289
+ return pulumi.get(self, "system_tags")
290
+
291
+ @system_tags.setter
292
+ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
293
+ pulumi.set(self, "system_tags", value)
294
+
295
+ @property
296
+ @pulumi.getter(name="timeCreated")
297
+ def time_created(self) -> Optional[pulumi.Input[str]]:
298
+ """
299
+ The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
300
+ """
301
+ return pulumi.get(self, "time_created")
302
+
303
+ @time_created.setter
304
+ def time_created(self, value: Optional[pulumi.Input[str]]):
305
+ pulumi.set(self, "time_created", value)
306
+
307
+ @property
308
+ @pulumi.getter(name="timeUpdated")
309
+ def time_updated(self) -> Optional[pulumi.Input[str]]:
310
+ """
311
+ The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
312
+ """
313
+ return pulumi.get(self, "time_updated")
314
+
315
+ @time_updated.setter
316
+ def time_updated(self, value: Optional[pulumi.Input[str]]):
317
+ pulumi.set(self, "time_updated", value)
318
+
319
+
320
+ class ZprPolicy(pulumi.CustomResource):
321
+ @overload
322
+ def __init__(__self__,
323
+ resource_name: str,
324
+ opts: Optional[pulumi.ResourceOptions] = None,
325
+ compartment_id: Optional[pulumi.Input[str]] = None,
326
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
327
+ description: Optional[pulumi.Input[str]] = None,
328
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
329
+ name: Optional[pulumi.Input[str]] = None,
330
+ statements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
331
+ __props__=None):
332
+ """
333
+ This resource provides the Zpr Policy resource in Oracle Cloud Infrastructure Zpr service.
334
+
335
+ Creates a ZprPolicy.
336
+
337
+ ## Example Usage
338
+
339
+ ```python
340
+ import pulumi
341
+ import pulumi_oci as oci
342
+
343
+ test_zpr_policy = oci.zpr.ZprPolicy("test_zpr_policy",
344
+ compartment_id=tenancy_ocid,
345
+ description=zpr_policy_description,
346
+ name=zpr_policy_name,
347
+ statements=zpr_policy_statements,
348
+ defined_tags={
349
+ "Operations.CostCenter": "42",
350
+ },
351
+ freeform_tags={
352
+ "Department": "Finance",
353
+ })
354
+ ```
355
+
356
+ ## Import
357
+
358
+ ZprPolicies can be imported using the `id`, e.g.
359
+
360
+ ```sh
361
+ $ pulumi import oci:Zpr/zprPolicy:ZprPolicy test_zpr_policy "id"
362
+ ```
363
+
364
+ :param str resource_name: The name of the resource.
365
+ :param pulumi.ResourceOptions opts: Options for the resource.
366
+ :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in.
367
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
368
+ :param pulumi.Input[str] description: (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
369
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
370
+ :param pulumi.Input[str] name: The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
371
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] statements: (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
372
+
373
+
374
+ ** IMPORTANT **
375
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
376
+ """
377
+ ...
378
+ @overload
379
+ def __init__(__self__,
380
+ resource_name: str,
381
+ args: ZprPolicyArgs,
382
+ opts: Optional[pulumi.ResourceOptions] = None):
383
+ """
384
+ This resource provides the Zpr Policy resource in Oracle Cloud Infrastructure Zpr service.
385
+
386
+ Creates a ZprPolicy.
387
+
388
+ ## Example Usage
389
+
390
+ ```python
391
+ import pulumi
392
+ import pulumi_oci as oci
393
+
394
+ test_zpr_policy = oci.zpr.ZprPolicy("test_zpr_policy",
395
+ compartment_id=tenancy_ocid,
396
+ description=zpr_policy_description,
397
+ name=zpr_policy_name,
398
+ statements=zpr_policy_statements,
399
+ defined_tags={
400
+ "Operations.CostCenter": "42",
401
+ },
402
+ freeform_tags={
403
+ "Department": "Finance",
404
+ })
405
+ ```
406
+
407
+ ## Import
408
+
409
+ ZprPolicies can be imported using the `id`, e.g.
410
+
411
+ ```sh
412
+ $ pulumi import oci:Zpr/zprPolicy:ZprPolicy test_zpr_policy "id"
413
+ ```
414
+
415
+ :param str resource_name: The name of the resource.
416
+ :param ZprPolicyArgs args: The arguments to use to populate this resource's properties.
417
+ :param pulumi.ResourceOptions opts: Options for the resource.
418
+ """
419
+ ...
420
+ def __init__(__self__, resource_name: str, *args, **kwargs):
421
+ resource_args, opts = _utilities.get_resource_args_opts(ZprPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
422
+ if resource_args is not None:
423
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
424
+ else:
425
+ __self__._internal_init(resource_name, *args, **kwargs)
426
+
427
+ def _internal_init(__self__,
428
+ resource_name: str,
429
+ opts: Optional[pulumi.ResourceOptions] = None,
430
+ compartment_id: Optional[pulumi.Input[str]] = None,
431
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
432
+ description: Optional[pulumi.Input[str]] = None,
433
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
434
+ name: Optional[pulumi.Input[str]] = None,
435
+ statements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
436
+ __props__=None):
437
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
438
+ if not isinstance(opts, pulumi.ResourceOptions):
439
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
440
+ if opts.id is None:
441
+ if __props__ is not None:
442
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
443
+ __props__ = ZprPolicyArgs.__new__(ZprPolicyArgs)
444
+
445
+ if compartment_id is None and not opts.urn:
446
+ raise TypeError("Missing required property 'compartment_id'")
447
+ __props__.__dict__["compartment_id"] = compartment_id
448
+ __props__.__dict__["defined_tags"] = defined_tags
449
+ if description is None and not opts.urn:
450
+ raise TypeError("Missing required property 'description'")
451
+ __props__.__dict__["description"] = description
452
+ __props__.__dict__["freeform_tags"] = freeform_tags
453
+ __props__.__dict__["name"] = name
454
+ if statements is None and not opts.urn:
455
+ raise TypeError("Missing required property 'statements'")
456
+ __props__.__dict__["statements"] = statements
457
+ __props__.__dict__["lifecycle_details"] = None
458
+ __props__.__dict__["state"] = None
459
+ __props__.__dict__["system_tags"] = None
460
+ __props__.__dict__["time_created"] = None
461
+ __props__.__dict__["time_updated"] = None
462
+ super(ZprPolicy, __self__).__init__(
463
+ 'oci:Zpr/zprPolicy:ZprPolicy',
464
+ resource_name,
465
+ __props__,
466
+ opts)
467
+
468
+ @staticmethod
469
+ def get(resource_name: str,
470
+ id: pulumi.Input[str],
471
+ opts: Optional[pulumi.ResourceOptions] = None,
472
+ compartment_id: Optional[pulumi.Input[str]] = None,
473
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
474
+ description: Optional[pulumi.Input[str]] = None,
475
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
476
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
477
+ name: Optional[pulumi.Input[str]] = None,
478
+ state: Optional[pulumi.Input[str]] = None,
479
+ statements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
480
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
481
+ time_created: Optional[pulumi.Input[str]] = None,
482
+ time_updated: Optional[pulumi.Input[str]] = None) -> 'ZprPolicy':
483
+ """
484
+ Get an existing ZprPolicy resource's state with the given name, id, and optional extra
485
+ properties used to qualify the lookup.
486
+
487
+ :param str resource_name: The unique name of the resulting resource.
488
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
489
+ :param pulumi.ResourceOptions opts: Options for the resource.
490
+ :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in.
491
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
492
+ :param pulumi.Input[str] description: (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
493
+ :param pulumi.Input[Mapping[str, pulumi.Input[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"}`
494
+ :param pulumi.Input[str] lifecycle_details: A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
495
+ :param pulumi.Input[str] name: The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
496
+ :param pulumi.Input[str] state: The current state of the ZprPolicy.
497
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] statements: (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
498
+
499
+
500
+ ** IMPORTANT **
501
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
502
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
503
+ :param pulumi.Input[str] time_created: The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
504
+ :param pulumi.Input[str] time_updated: The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
505
+ """
506
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
507
+
508
+ __props__ = _ZprPolicyState.__new__(_ZprPolicyState)
509
+
510
+ __props__.__dict__["compartment_id"] = compartment_id
511
+ __props__.__dict__["defined_tags"] = defined_tags
512
+ __props__.__dict__["description"] = description
513
+ __props__.__dict__["freeform_tags"] = freeform_tags
514
+ __props__.__dict__["lifecycle_details"] = lifecycle_details
515
+ __props__.__dict__["name"] = name
516
+ __props__.__dict__["state"] = state
517
+ __props__.__dict__["statements"] = statements
518
+ __props__.__dict__["system_tags"] = system_tags
519
+ __props__.__dict__["time_created"] = time_created
520
+ __props__.__dict__["time_updated"] = time_updated
521
+ return ZprPolicy(resource_name, opts=opts, __props__=__props__)
522
+
523
+ @property
524
+ @pulumi.getter(name="compartmentId")
525
+ def compartment_id(self) -> pulumi.Output[str]:
526
+ """
527
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ZprPolicy in.
528
+ """
529
+ return pulumi.get(self, "compartment_id")
530
+
531
+ @property
532
+ @pulumi.getter(name="definedTags")
533
+ def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
534
+ """
535
+ (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"}`
536
+ """
537
+ return pulumi.get(self, "defined_tags")
538
+
539
+ @property
540
+ @pulumi.getter
541
+ def description(self) -> pulumi.Output[str]:
542
+ """
543
+ (Updatable) The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
544
+ """
545
+ return pulumi.get(self, "description")
546
+
547
+ @property
548
+ @pulumi.getter(name="freeformTags")
549
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
550
+ """
551
+ (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"}`
552
+ """
553
+ return pulumi.get(self, "freeform_tags")
554
+
555
+ @property
556
+ @pulumi.getter(name="lifecycleDetails")
557
+ def lifecycle_details(self) -> pulumi.Output[str]:
558
+ """
559
+ A message that describes the current state of the ZprPolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
560
+ """
561
+ return pulumi.get(self, "lifecycle_details")
562
+
563
+ @property
564
+ @pulumi.getter
565
+ def name(self) -> pulumi.Output[str]:
566
+ """
567
+ The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
568
+ """
569
+ return pulumi.get(self, "name")
570
+
571
+ @property
572
+ @pulumi.getter
573
+ def state(self) -> pulumi.Output[str]:
574
+ """
575
+ The current state of the ZprPolicy.
576
+ """
577
+ return pulumi.get(self, "state")
578
+
579
+ @property
580
+ @pulumi.getter
581
+ def statements(self) -> pulumi.Output[Sequence[str]]:
582
+ """
583
+ (Updatable) An array of ZprPolicy statements(up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
584
+
585
+
586
+ ** IMPORTANT **
587
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
588
+ """
589
+ return pulumi.get(self, "statements")
590
+
591
+ @property
592
+ @pulumi.getter(name="systemTags")
593
+ def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
594
+ """
595
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
596
+ """
597
+ return pulumi.get(self, "system_tags")
598
+
599
+ @property
600
+ @pulumi.getter(name="timeCreated")
601
+ def time_created(self) -> pulumi.Output[str]:
602
+ """
603
+ The date and time the ZprPolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
604
+ """
605
+ return pulumi.get(self, "time_created")
606
+
607
+ @property
608
+ @pulumi.getter(name="timeUpdated")
609
+ def time_updated(self) -> pulumi.Output[str]:
610
+ """
611
+ The date and time the ZprPolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
612
+ """
613
+ return pulumi.get(self, "time_updated")
614
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_oci
3
- Version: 2.12.0a1728593306
3
+ Version: 2.12.0a1728642710
4
4
  Summary: A Pulumi package for creating and managing Oracle Cloud Infrastructure resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com