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,230 @@
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__ = [
18
+ 'GetConfigurationResult',
19
+ 'AwaitableGetConfigurationResult',
20
+ 'get_configuration',
21
+ 'get_configuration_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetConfigurationResult:
26
+ """
27
+ A collection of values returned by getConfiguration.
28
+ """
29
+ def __init__(__self__, compartment_id=None, defined_tags=None, freeform_tags=None, id=None, lifecycle_details=None, state=None, system_tags=None, time_created=None, time_updated=None, zpr_status=None):
30
+ if compartment_id and not isinstance(compartment_id, str):
31
+ raise TypeError("Expected argument 'compartment_id' to be a str")
32
+ pulumi.set(__self__, "compartment_id", compartment_id)
33
+ if defined_tags and not isinstance(defined_tags, dict):
34
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
35
+ pulumi.set(__self__, "defined_tags", defined_tags)
36
+ if freeform_tags and not isinstance(freeform_tags, dict):
37
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
38
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
39
+ if id and not isinstance(id, str):
40
+ raise TypeError("Expected argument 'id' to be a str")
41
+ pulumi.set(__self__, "id", id)
42
+ if lifecycle_details and not isinstance(lifecycle_details, str):
43
+ raise TypeError("Expected argument 'lifecycle_details' to be a str")
44
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
45
+ if state and not isinstance(state, str):
46
+ raise TypeError("Expected argument 'state' to be a str")
47
+ pulumi.set(__self__, "state", state)
48
+ if system_tags and not isinstance(system_tags, dict):
49
+ raise TypeError("Expected argument 'system_tags' to be a dict")
50
+ pulumi.set(__self__, "system_tags", system_tags)
51
+ if time_created and not isinstance(time_created, str):
52
+ raise TypeError("Expected argument 'time_created' to be a str")
53
+ pulumi.set(__self__, "time_created", time_created)
54
+ if time_updated and not isinstance(time_updated, str):
55
+ raise TypeError("Expected argument 'time_updated' to be a str")
56
+ pulumi.set(__self__, "time_updated", time_updated)
57
+ if zpr_status and not isinstance(zpr_status, str):
58
+ raise TypeError("Expected argument 'zpr_status' to be a str")
59
+ pulumi.set(__self__, "zpr_status", zpr_status)
60
+
61
+ @property
62
+ @pulumi.getter(name="compartmentId")
63
+ def compartment_id(self) -> str:
64
+ """
65
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy into which ZPR will be onboarded.
66
+ """
67
+ return pulumi.get(self, "compartment_id")
68
+
69
+ @property
70
+ @pulumi.getter(name="definedTags")
71
+ def defined_tags(self) -> Mapping[str, str]:
72
+ """
73
+ 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"}`
74
+ """
75
+ return pulumi.get(self, "defined_tags")
76
+
77
+ @property
78
+ @pulumi.getter(name="freeformTags")
79
+ def freeform_tags(self) -> Mapping[str, str]:
80
+ """
81
+ 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"}`
82
+ """
83
+ return pulumi.get(self, "freeform_tags")
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def id(self) -> str:
88
+ """
89
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprConfiguration.
90
+ """
91
+ return pulumi.get(self, "id")
92
+
93
+ @property
94
+ @pulumi.getter(name="lifecycleDetails")
95
+ def lifecycle_details(self) -> str:
96
+ """
97
+ A message that describes the current state of ZPR in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
98
+ """
99
+ return pulumi.get(self, "lifecycle_details")
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def state(self) -> str:
104
+ """
105
+ The current state of ZPR in the tenancy.
106
+ """
107
+ return pulumi.get(self, "state")
108
+
109
+ @property
110
+ @pulumi.getter(name="systemTags")
111
+ def system_tags(self) -> Mapping[str, str]:
112
+ """
113
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
114
+ """
115
+ return pulumi.get(self, "system_tags")
116
+
117
+ @property
118
+ @pulumi.getter(name="timeCreated")
119
+ def time_created(self) -> str:
120
+ """
121
+ The date and time that ZPR was onboarded to the tenancy, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
122
+ """
123
+ return pulumi.get(self, "time_created")
124
+
125
+ @property
126
+ @pulumi.getter(name="timeUpdated")
127
+ def time_updated(self) -> str:
128
+ """
129
+ The date and time that ZPR was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
130
+ """
131
+ return pulumi.get(self, "time_updated")
132
+
133
+ @property
134
+ @pulumi.getter(name="zprStatus")
135
+ def zpr_status(self) -> str:
136
+ """
137
+ The enabled or disabled status of ZPR in tenancy.
138
+ """
139
+ return pulumi.get(self, "zpr_status")
140
+
141
+
142
+ class AwaitableGetConfigurationResult(GetConfigurationResult):
143
+ # pylint: disable=using-constant-test
144
+ def __await__(self):
145
+ if False:
146
+ yield self
147
+ return GetConfigurationResult(
148
+ compartment_id=self.compartment_id,
149
+ defined_tags=self.defined_tags,
150
+ freeform_tags=self.freeform_tags,
151
+ id=self.id,
152
+ lifecycle_details=self.lifecycle_details,
153
+ state=self.state,
154
+ system_tags=self.system_tags,
155
+ time_created=self.time_created,
156
+ time_updated=self.time_updated,
157
+ zpr_status=self.zpr_status)
158
+
159
+
160
+ def get_configuration(compartment_id: Optional[str] = None,
161
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigurationResult:
162
+ """
163
+ This data source provides details about a specific Configuration resource in Oracle Cloud Infrastructure Zpr service.
164
+
165
+ Retrieves the ZPR configuration details for the root compartment (the root compartment is the tenancy).
166
+ Returns ZPR configuration for root compartment (the root compartment is the tenancy).
167
+
168
+ ## Example Usage
169
+
170
+ ```python
171
+ import pulumi
172
+ import pulumi_oci as oci
173
+
174
+ test_configuration = oci.Zpr.get_configuration(compartment_id=tenancy_ocid)
175
+ ```
176
+
177
+
178
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
179
+ """
180
+ __args__ = dict()
181
+ __args__['compartmentId'] = compartment_id
182
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
183
+ __ret__ = pulumi.runtime.invoke('oci:Zpr/getConfiguration:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult).value
184
+
185
+ return AwaitableGetConfigurationResult(
186
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
187
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
188
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
189
+ id=pulumi.get(__ret__, 'id'),
190
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
191
+ state=pulumi.get(__ret__, 'state'),
192
+ system_tags=pulumi.get(__ret__, 'system_tags'),
193
+ time_created=pulumi.get(__ret__, 'time_created'),
194
+ time_updated=pulumi.get(__ret__, 'time_updated'),
195
+ zpr_status=pulumi.get(__ret__, 'zpr_status'))
196
+ def get_configuration_output(compartment_id: Optional[pulumi.Input[str]] = None,
197
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]:
198
+ """
199
+ This data source provides details about a specific Configuration resource in Oracle Cloud Infrastructure Zpr service.
200
+
201
+ Retrieves the ZPR configuration details for the root compartment (the root compartment is the tenancy).
202
+ Returns ZPR configuration for root compartment (the root compartment is the tenancy).
203
+
204
+ ## Example Usage
205
+
206
+ ```python
207
+ import pulumi
208
+ import pulumi_oci as oci
209
+
210
+ test_configuration = oci.Zpr.get_configuration(compartment_id=tenancy_ocid)
211
+ ```
212
+
213
+
214
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
215
+ """
216
+ __args__ = dict()
217
+ __args__['compartmentId'] = compartment_id
218
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
219
+ __ret__ = pulumi.runtime.invoke_output('oci:Zpr/getConfiguration:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult)
220
+ return __ret__.apply(lambda __response__: GetConfigurationResult(
221
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
222
+ defined_tags=pulumi.get(__response__, 'defined_tags'),
223
+ freeform_tags=pulumi.get(__response__, 'freeform_tags'),
224
+ id=pulumi.get(__response__, 'id'),
225
+ lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
226
+ state=pulumi.get(__response__, 'state'),
227
+ system_tags=pulumi.get(__response__, 'system_tags'),
228
+ time_created=pulumi.get(__response__, 'time_created'),
229
+ time_updated=pulumi.get(__response__, 'time_updated'),
230
+ zpr_status=pulumi.get(__response__, 'zpr_status')))
@@ -0,0 +1,191 @@
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
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = [
20
+ 'GetZprPoliciesResult',
21
+ 'AwaitableGetZprPoliciesResult',
22
+ 'get_zpr_policies',
23
+ 'get_zpr_policies_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetZprPoliciesResult:
28
+ """
29
+ A collection of values returned by getZprPolicies.
30
+ """
31
+ def __init__(__self__, compartment_id=None, filters=None, id=None, name=None, state=None, zpr_policies=None):
32
+ if compartment_id and not isinstance(compartment_id, str):
33
+ raise TypeError("Expected argument 'compartment_id' to be a str")
34
+ pulumi.set(__self__, "compartment_id", compartment_id)
35
+ if filters and not isinstance(filters, list):
36
+ raise TypeError("Expected argument 'filters' to be a list")
37
+ pulumi.set(__self__, "filters", filters)
38
+ if id and not isinstance(id, str):
39
+ raise TypeError("Expected argument 'id' to be a str")
40
+ pulumi.set(__self__, "id", id)
41
+ if name and not isinstance(name, str):
42
+ raise TypeError("Expected argument 'name' to be a str")
43
+ pulumi.set(__self__, "name", name)
44
+ if state and not isinstance(state, str):
45
+ raise TypeError("Expected argument 'state' to be a str")
46
+ pulumi.set(__self__, "state", state)
47
+ if zpr_policies and not isinstance(zpr_policies, list):
48
+ raise TypeError("Expected argument 'zpr_policies' to be a list")
49
+ pulumi.set(__self__, "zpr_policies", zpr_policies)
50
+
51
+ @property
52
+ @pulumi.getter(name="compartmentId")
53
+ def compartment_id(self) -> Optional[str]:
54
+ """
55
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
56
+ """
57
+ return pulumi.get(self, "compartment_id")
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def filters(self) -> Optional[Sequence['outputs.GetZprPoliciesFilterResult']]:
62
+ return pulumi.get(self, "filters")
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def id(self) -> str:
67
+ """
68
+ The provider-assigned unique ID for this managed resource.
69
+ """
70
+ return pulumi.get(self, "id")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def name(self) -> Optional[str]:
75
+ """
76
+ The name you assign to the ZprPolicy during creation. The name must be unique across all ZPL policies in the tenancy.
77
+ """
78
+ return pulumi.get(self, "name")
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def state(self) -> Optional[str]:
83
+ """
84
+ The current state of the ZprPolicy.
85
+ """
86
+ return pulumi.get(self, "state")
87
+
88
+ @property
89
+ @pulumi.getter(name="zprPolicies")
90
+ def zpr_policies(self) -> Sequence['outputs.GetZprPoliciesZprPolicyResult']:
91
+ """
92
+ The list of zpr_policies.
93
+ """
94
+ return pulumi.get(self, "zpr_policies")
95
+
96
+
97
+ class AwaitableGetZprPoliciesResult(GetZprPoliciesResult):
98
+ # pylint: disable=using-constant-test
99
+ def __await__(self):
100
+ if False:
101
+ yield self
102
+ return GetZprPoliciesResult(
103
+ compartment_id=self.compartment_id,
104
+ filters=self.filters,
105
+ id=self.id,
106
+ name=self.name,
107
+ state=self.state,
108
+ zpr_policies=self.zpr_policies)
109
+
110
+
111
+ def get_zpr_policies(compartment_id: Optional[str] = None,
112
+ filters: Optional[Sequence[Union['GetZprPoliciesFilterArgs', 'GetZprPoliciesFilterArgsDict']]] = None,
113
+ name: Optional[str] = None,
114
+ state: Optional[str] = None,
115
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetZprPoliciesResult:
116
+ """
117
+ This data source provides the list of Zpr Policies in Oracle Cloud Infrastructure Zpr service.
118
+
119
+ Gets a list of ZprPolicies.
120
+
121
+ ## Example Usage
122
+
123
+ ```python
124
+ import pulumi
125
+ import pulumi_oci as oci
126
+
127
+ test_zpr_policies = oci.Zpr.get_zpr_policies(compartment_id=tenancy_ocid,
128
+ name=zpr_policy_name,
129
+ state=zpr_policy_state)
130
+ ```
131
+
132
+
133
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
134
+ :param str name: A filter to return only resources that match the entire display name given.
135
+ :param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
136
+ """
137
+ __args__ = dict()
138
+ __args__['compartmentId'] = compartment_id
139
+ __args__['filters'] = filters
140
+ __args__['name'] = name
141
+ __args__['state'] = state
142
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
143
+ __ret__ = pulumi.runtime.invoke('oci:Zpr/getZprPolicies:getZprPolicies', __args__, opts=opts, typ=GetZprPoliciesResult).value
144
+
145
+ return AwaitableGetZprPoliciesResult(
146
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
147
+ filters=pulumi.get(__ret__, 'filters'),
148
+ id=pulumi.get(__ret__, 'id'),
149
+ name=pulumi.get(__ret__, 'name'),
150
+ state=pulumi.get(__ret__, 'state'),
151
+ zpr_policies=pulumi.get(__ret__, 'zpr_policies'))
152
+ def get_zpr_policies_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
153
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetZprPoliciesFilterArgs', 'GetZprPoliciesFilterArgsDict']]]]] = None,
154
+ name: Optional[pulumi.Input[Optional[str]]] = None,
155
+ state: Optional[pulumi.Input[Optional[str]]] = None,
156
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZprPoliciesResult]:
157
+ """
158
+ This data source provides the list of Zpr Policies in Oracle Cloud Infrastructure Zpr service.
159
+
160
+ Gets a list of ZprPolicies.
161
+
162
+ ## Example Usage
163
+
164
+ ```python
165
+ import pulumi
166
+ import pulumi_oci as oci
167
+
168
+ test_zpr_policies = oci.Zpr.get_zpr_policies(compartment_id=tenancy_ocid,
169
+ name=zpr_policy_name,
170
+ state=zpr_policy_state)
171
+ ```
172
+
173
+
174
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
175
+ :param str name: A filter to return only resources that match the entire display name given.
176
+ :param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
177
+ """
178
+ __args__ = dict()
179
+ __args__['compartmentId'] = compartment_id
180
+ __args__['filters'] = filters
181
+ __args__['name'] = name
182
+ __args__['state'] = state
183
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
184
+ __ret__ = pulumi.runtime.invoke_output('oci:Zpr/getZprPolicies:getZprPolicies', __args__, opts=opts, typ=GetZprPoliciesResult)
185
+ return __ret__.apply(lambda __response__: GetZprPoliciesResult(
186
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
187
+ filters=pulumi.get(__response__, 'filters'),
188
+ id=pulumi.get(__response__, 'id'),
189
+ name=pulumi.get(__response__, 'name'),
190
+ state=pulumi.get(__response__, 'state'),
191
+ zpr_policies=pulumi.get(__response__, 'zpr_policies')))
@@ -0,0 +1,264 @@
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__ = [
18
+ 'GetZprPolicyResult',
19
+ 'AwaitableGetZprPolicyResult',
20
+ 'get_zpr_policy',
21
+ 'get_zpr_policy_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetZprPolicyResult:
26
+ """
27
+ A collection of values returned by getZprPolicy.
28
+ """
29
+ def __init__(__self__, compartment_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, lifecycle_details=None, name=None, state=None, statements=None, system_tags=None, time_created=None, time_updated=None, zpr_policy_id=None):
30
+ if compartment_id and not isinstance(compartment_id, str):
31
+ raise TypeError("Expected argument 'compartment_id' to be a str")
32
+ pulumi.set(__self__, "compartment_id", compartment_id)
33
+ if defined_tags and not isinstance(defined_tags, dict):
34
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
35
+ pulumi.set(__self__, "defined_tags", defined_tags)
36
+ if description and not isinstance(description, str):
37
+ raise TypeError("Expected argument 'description' to be a str")
38
+ pulumi.set(__self__, "description", description)
39
+ if freeform_tags and not isinstance(freeform_tags, dict):
40
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
41
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
42
+ if id and not isinstance(id, str):
43
+ raise TypeError("Expected argument 'id' to be a str")
44
+ pulumi.set(__self__, "id", id)
45
+ if lifecycle_details and not isinstance(lifecycle_details, str):
46
+ raise TypeError("Expected argument 'lifecycle_details' to be a str")
47
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
48
+ if name and not isinstance(name, str):
49
+ raise TypeError("Expected argument 'name' to be a str")
50
+ pulumi.set(__self__, "name", name)
51
+ if state and not isinstance(state, str):
52
+ raise TypeError("Expected argument 'state' to be a str")
53
+ pulumi.set(__self__, "state", state)
54
+ if statements and not isinstance(statements, list):
55
+ raise TypeError("Expected argument 'statements' to be a list")
56
+ pulumi.set(__self__, "statements", statements)
57
+ if system_tags and not isinstance(system_tags, dict):
58
+ raise TypeError("Expected argument 'system_tags' to be a dict")
59
+ pulumi.set(__self__, "system_tags", system_tags)
60
+ if time_created and not isinstance(time_created, str):
61
+ raise TypeError("Expected argument 'time_created' to be a str")
62
+ pulumi.set(__self__, "time_created", time_created)
63
+ if time_updated and not isinstance(time_updated, str):
64
+ raise TypeError("Expected argument 'time_updated' to be a str")
65
+ pulumi.set(__self__, "time_updated", time_updated)
66
+ if zpr_policy_id and not isinstance(zpr_policy_id, str):
67
+ raise TypeError("Expected argument 'zpr_policy_id' to be a str")
68
+ pulumi.set(__self__, "zpr_policy_id", zpr_policy_id)
69
+
70
+ @property
71
+ @pulumi.getter(name="compartmentId")
72
+ def compartment_id(self) -> str:
73
+ """
74
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
75
+ """
76
+ return pulumi.get(self, "compartment_id")
77
+
78
+ @property
79
+ @pulumi.getter(name="definedTags")
80
+ def defined_tags(self) -> Mapping[str, str]:
81
+ """
82
+ 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"}`
83
+ """
84
+ return pulumi.get(self, "defined_tags")
85
+
86
+ @property
87
+ @pulumi.getter
88
+ def description(self) -> str:
89
+ """
90
+ The description you assign to the ZprPolicy during creation. Does not have to be unique, and it's changeable.
91
+ """
92
+ return pulumi.get(self, "description")
93
+
94
+ @property
95
+ @pulumi.getter(name="freeformTags")
96
+ def freeform_tags(self) -> Mapping[str, str]:
97
+ """
98
+ 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"}`
99
+ """
100
+ return pulumi.get(self, "freeform_tags")
101
+
102
+ @property
103
+ @pulumi.getter
104
+ def id(self) -> str:
105
+ return pulumi.get(self, "id")
106
+
107
+ @property
108
+ @pulumi.getter(name="lifecycleDetails")
109
+ def lifecycle_details(self) -> str:
110
+ """
111
+ 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.
112
+ """
113
+ return pulumi.get(self, "lifecycle_details")
114
+
115
+ @property
116
+ @pulumi.getter
117
+ def name(self) -> 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
+ @property
124
+ @pulumi.getter
125
+ def state(self) -> str:
126
+ """
127
+ The current state of the ZprPolicy.
128
+ """
129
+ return pulumi.get(self, "state")
130
+
131
+ @property
132
+ @pulumi.getter
133
+ def statements(self) -> Sequence[str]:
134
+ """
135
+ An array of ZprPolicy statements (up to 25 statements per ZprPolicy) written in the Zero Trust Packet Routing Policy Language.
136
+ """
137
+ return pulumi.get(self, "statements")
138
+
139
+ @property
140
+ @pulumi.getter(name="systemTags")
141
+ def system_tags(self) -> Mapping[str, str]:
142
+ """
143
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
144
+ """
145
+ return pulumi.get(self, "system_tags")
146
+
147
+ @property
148
+ @pulumi.getter(name="timeCreated")
149
+ def time_created(self) -> str:
150
+ """
151
+ 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`
152
+ """
153
+ return pulumi.get(self, "time_created")
154
+
155
+ @property
156
+ @pulumi.getter(name="timeUpdated")
157
+ def time_updated(self) -> str:
158
+ """
159
+ 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`
160
+ """
161
+ return pulumi.get(self, "time_updated")
162
+
163
+ @property
164
+ @pulumi.getter(name="zprPolicyId")
165
+ def zpr_policy_id(self) -> str:
166
+ return pulumi.get(self, "zpr_policy_id")
167
+
168
+
169
+ class AwaitableGetZprPolicyResult(GetZprPolicyResult):
170
+ # pylint: disable=using-constant-test
171
+ def __await__(self):
172
+ if False:
173
+ yield self
174
+ return GetZprPolicyResult(
175
+ compartment_id=self.compartment_id,
176
+ defined_tags=self.defined_tags,
177
+ description=self.description,
178
+ freeform_tags=self.freeform_tags,
179
+ id=self.id,
180
+ lifecycle_details=self.lifecycle_details,
181
+ name=self.name,
182
+ state=self.state,
183
+ statements=self.statements,
184
+ system_tags=self.system_tags,
185
+ time_created=self.time_created,
186
+ time_updated=self.time_updated,
187
+ zpr_policy_id=self.zpr_policy_id)
188
+
189
+
190
+ def get_zpr_policy(zpr_policy_id: Optional[str] = None,
191
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetZprPolicyResult:
192
+ """
193
+ This data source provides details about a specific Zpr Policy resource in Oracle Cloud Infrastructure Zpr service.
194
+
195
+ Gets information about a ZprPolicy.
196
+
197
+ ## Example Usage
198
+
199
+ ```python
200
+ import pulumi
201
+ import pulumi_oci as oci
202
+
203
+ test_zpr_policy = oci.Zpr.get_zpr_policy(zpr_policy_id=test_zpr_policy_oci_zpr_zpr_policy["id"])
204
+ ```
205
+
206
+
207
+ :param str zpr_policy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy.
208
+ """
209
+ __args__ = dict()
210
+ __args__['zprPolicyId'] = zpr_policy_id
211
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
212
+ __ret__ = pulumi.runtime.invoke('oci:Zpr/getZprPolicy:getZprPolicy', __args__, opts=opts, typ=GetZprPolicyResult).value
213
+
214
+ return AwaitableGetZprPolicyResult(
215
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
216
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
217
+ description=pulumi.get(__ret__, 'description'),
218
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
219
+ id=pulumi.get(__ret__, 'id'),
220
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
221
+ name=pulumi.get(__ret__, 'name'),
222
+ state=pulumi.get(__ret__, 'state'),
223
+ statements=pulumi.get(__ret__, 'statements'),
224
+ system_tags=pulumi.get(__ret__, 'system_tags'),
225
+ time_created=pulumi.get(__ret__, 'time_created'),
226
+ time_updated=pulumi.get(__ret__, 'time_updated'),
227
+ zpr_policy_id=pulumi.get(__ret__, 'zpr_policy_id'))
228
+ def get_zpr_policy_output(zpr_policy_id: Optional[pulumi.Input[str]] = None,
229
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZprPolicyResult]:
230
+ """
231
+ This data source provides details about a specific Zpr Policy resource in Oracle Cloud Infrastructure Zpr service.
232
+
233
+ Gets information about a ZprPolicy.
234
+
235
+ ## Example Usage
236
+
237
+ ```python
238
+ import pulumi
239
+ import pulumi_oci as oci
240
+
241
+ test_zpr_policy = oci.Zpr.get_zpr_policy(zpr_policy_id=test_zpr_policy_oci_zpr_zpr_policy["id"])
242
+ ```
243
+
244
+
245
+ :param str zpr_policy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ZprPolicy.
246
+ """
247
+ __args__ = dict()
248
+ __args__['zprPolicyId'] = zpr_policy_id
249
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
250
+ __ret__ = pulumi.runtime.invoke_output('oci:Zpr/getZprPolicy:getZprPolicy', __args__, opts=opts, typ=GetZprPolicyResult)
251
+ return __ret__.apply(lambda __response__: GetZprPolicyResult(
252
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
253
+ defined_tags=pulumi.get(__response__, 'defined_tags'),
254
+ description=pulumi.get(__response__, 'description'),
255
+ freeform_tags=pulumi.get(__response__, 'freeform_tags'),
256
+ id=pulumi.get(__response__, 'id'),
257
+ lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
258
+ name=pulumi.get(__response__, 'name'),
259
+ state=pulumi.get(__response__, 'state'),
260
+ statements=pulumi.get(__response__, 'statements'),
261
+ system_tags=pulumi.get(__response__, 'system_tags'),
262
+ time_created=pulumi.get(__response__, 'time_created'),
263
+ time_updated=pulumi.get(__response__, 'time_updated'),
264
+ zpr_policy_id=pulumi.get(__response__, 'zpr_policy_id')))