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,286 @@
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
+ 'GetFleetPropertyResult',
19
+ 'AwaitableGetFleetPropertyResult',
20
+ 'get_fleet_property',
21
+ 'get_fleet_property_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetFleetPropertyResult:
26
+ """
27
+ A collection of values returned by getFleetProperty.
28
+ """
29
+ def __init__(__self__, allowed_values=None, compartment_id=None, display_name=None, fleet_id=None, fleet_property_id=None, id=None, property_id=None, selection_type=None, state=None, system_tags=None, time_created=None, time_updated=None, value=None, value_type=None):
30
+ if allowed_values and not isinstance(allowed_values, list):
31
+ raise TypeError("Expected argument 'allowed_values' to be a list")
32
+ pulumi.set(__self__, "allowed_values", allowed_values)
33
+ if compartment_id and not isinstance(compartment_id, str):
34
+ raise TypeError("Expected argument 'compartment_id' to be a str")
35
+ pulumi.set(__self__, "compartment_id", compartment_id)
36
+ if display_name and not isinstance(display_name, str):
37
+ raise TypeError("Expected argument 'display_name' to be a str")
38
+ pulumi.set(__self__, "display_name", display_name)
39
+ if fleet_id and not isinstance(fleet_id, str):
40
+ raise TypeError("Expected argument 'fleet_id' to be a str")
41
+ pulumi.set(__self__, "fleet_id", fleet_id)
42
+ if fleet_property_id and not isinstance(fleet_property_id, str):
43
+ raise TypeError("Expected argument 'fleet_property_id' to be a str")
44
+ pulumi.set(__self__, "fleet_property_id", fleet_property_id)
45
+ if id and not isinstance(id, str):
46
+ raise TypeError("Expected argument 'id' to be a str")
47
+ pulumi.set(__self__, "id", id)
48
+ if property_id and not isinstance(property_id, str):
49
+ raise TypeError("Expected argument 'property_id' to be a str")
50
+ pulumi.set(__self__, "property_id", property_id)
51
+ if selection_type and not isinstance(selection_type, str):
52
+ raise TypeError("Expected argument 'selection_type' to be a str")
53
+ pulumi.set(__self__, "selection_type", selection_type)
54
+ if state and not isinstance(state, str):
55
+ raise TypeError("Expected argument 'state' to be a str")
56
+ pulumi.set(__self__, "state", state)
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 value and not isinstance(value, str):
67
+ raise TypeError("Expected argument 'value' to be a str")
68
+ pulumi.set(__self__, "value", value)
69
+ if value_type and not isinstance(value_type, str):
70
+ raise TypeError("Expected argument 'value_type' to be a str")
71
+ pulumi.set(__self__, "value_type", value_type)
72
+
73
+ @property
74
+ @pulumi.getter(name="allowedValues")
75
+ def allowed_values(self) -> Sequence[str]:
76
+ """
77
+ Values of the category (must be a single value if selection = 'single choice')
78
+ """
79
+ return pulumi.get(self, "allowed_values")
80
+
81
+ @property
82
+ @pulumi.getter(name="compartmentId")
83
+ def compartment_id(self) -> str:
84
+ """
85
+ Tenancy OCID
86
+ """
87
+ return pulumi.get(self, "compartment_id")
88
+
89
+ @property
90
+ @pulumi.getter(name="displayName")
91
+ def display_name(self) -> str:
92
+ """
93
+ A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
94
+ """
95
+ return pulumi.get(self, "display_name")
96
+
97
+ @property
98
+ @pulumi.getter(name="fleetId")
99
+ def fleet_id(self) -> str:
100
+ return pulumi.get(self, "fleet_id")
101
+
102
+ @property
103
+ @pulumi.getter(name="fleetPropertyId")
104
+ def fleet_property_id(self) -> str:
105
+ return pulumi.get(self, "fleet_property_id")
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def id(self) -> str:
110
+ """
111
+ The unique id of the resource.
112
+ """
113
+ return pulumi.get(self, "id")
114
+
115
+ @property
116
+ @pulumi.getter(name="propertyId")
117
+ def property_id(self) -> str:
118
+ """
119
+ Property Id Ocid.
120
+ """
121
+ return pulumi.get(self, "property_id")
122
+
123
+ @property
124
+ @pulumi.getter(name="selectionType")
125
+ def selection_type(self) -> str:
126
+ """
127
+ Text selection of the category
128
+ """
129
+ return pulumi.get(self, "selection_type")
130
+
131
+ @property
132
+ @pulumi.getter
133
+ def state(self) -> str:
134
+ """
135
+ The current state of the FleetProperty.
136
+ """
137
+ return pulumi.get(self, "state")
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 time this resource was created. An RFC3339 formatted datetime string.
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 time this resource was last updated. An RFC3339 formatted datetime string.
160
+ """
161
+ return pulumi.get(self, "time_updated")
162
+
163
+ @property
164
+ @pulumi.getter
165
+ def value(self) -> str:
166
+ """
167
+ Value of the Property
168
+ """
169
+ return pulumi.get(self, "value")
170
+
171
+ @property
172
+ @pulumi.getter(name="valueType")
173
+ def value_type(self) -> str:
174
+ """
175
+ Format of the value
176
+ """
177
+ return pulumi.get(self, "value_type")
178
+
179
+
180
+ class AwaitableGetFleetPropertyResult(GetFleetPropertyResult):
181
+ # pylint: disable=using-constant-test
182
+ def __await__(self):
183
+ if False:
184
+ yield self
185
+ return GetFleetPropertyResult(
186
+ allowed_values=self.allowed_values,
187
+ compartment_id=self.compartment_id,
188
+ display_name=self.display_name,
189
+ fleet_id=self.fleet_id,
190
+ fleet_property_id=self.fleet_property_id,
191
+ id=self.id,
192
+ property_id=self.property_id,
193
+ selection_type=self.selection_type,
194
+ state=self.state,
195
+ system_tags=self.system_tags,
196
+ time_created=self.time_created,
197
+ time_updated=self.time_updated,
198
+ value=self.value,
199
+ value_type=self.value_type)
200
+
201
+
202
+ def get_fleet_property(fleet_id: Optional[str] = None,
203
+ fleet_property_id: Optional[str] = None,
204
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetPropertyResult:
205
+ """
206
+ This data source provides details about a specific Fleet Property resource in Oracle Cloud Infrastructure Fleet Apps Management service.
207
+
208
+ Gets a FleetProperty by identifier
209
+
210
+ ## Example Usage
211
+
212
+ ```python
213
+ import pulumi
214
+ import pulumi_oci as oci
215
+
216
+ test_fleet_property = oci.FleetAppsManagement.get_fleet_property(fleet_id=test_fleet["id"],
217
+ fleet_property_id=test_property["id"])
218
+ ```
219
+
220
+
221
+ :param str fleet_id: unique Fleet identifier
222
+ :param str fleet_property_id: unique FleetProperty identifier
223
+ """
224
+ __args__ = dict()
225
+ __args__['fleetId'] = fleet_id
226
+ __args__['fleetPropertyId'] = fleet_property_id
227
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
228
+ __ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetProperty:getFleetProperty', __args__, opts=opts, typ=GetFleetPropertyResult).value
229
+
230
+ return AwaitableGetFleetPropertyResult(
231
+ allowed_values=pulumi.get(__ret__, 'allowed_values'),
232
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
233
+ display_name=pulumi.get(__ret__, 'display_name'),
234
+ fleet_id=pulumi.get(__ret__, 'fleet_id'),
235
+ fleet_property_id=pulumi.get(__ret__, 'fleet_property_id'),
236
+ id=pulumi.get(__ret__, 'id'),
237
+ property_id=pulumi.get(__ret__, 'property_id'),
238
+ selection_type=pulumi.get(__ret__, 'selection_type'),
239
+ state=pulumi.get(__ret__, 'state'),
240
+ system_tags=pulumi.get(__ret__, 'system_tags'),
241
+ time_created=pulumi.get(__ret__, 'time_created'),
242
+ time_updated=pulumi.get(__ret__, 'time_updated'),
243
+ value=pulumi.get(__ret__, 'value'),
244
+ value_type=pulumi.get(__ret__, 'value_type'))
245
+ def get_fleet_property_output(fleet_id: Optional[pulumi.Input[str]] = None,
246
+ fleet_property_id: Optional[pulumi.Input[str]] = None,
247
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetPropertyResult]:
248
+ """
249
+ This data source provides details about a specific Fleet Property resource in Oracle Cloud Infrastructure Fleet Apps Management service.
250
+
251
+ Gets a FleetProperty by identifier
252
+
253
+ ## Example Usage
254
+
255
+ ```python
256
+ import pulumi
257
+ import pulumi_oci as oci
258
+
259
+ test_fleet_property = oci.FleetAppsManagement.get_fleet_property(fleet_id=test_fleet["id"],
260
+ fleet_property_id=test_property["id"])
261
+ ```
262
+
263
+
264
+ :param str fleet_id: unique Fleet identifier
265
+ :param str fleet_property_id: unique FleetProperty identifier
266
+ """
267
+ __args__ = dict()
268
+ __args__['fleetId'] = fleet_id
269
+ __args__['fleetPropertyId'] = fleet_property_id
270
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
271
+ __ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetProperty:getFleetProperty', __args__, opts=opts, typ=GetFleetPropertyResult)
272
+ return __ret__.apply(lambda __response__: GetFleetPropertyResult(
273
+ allowed_values=pulumi.get(__response__, 'allowed_values'),
274
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
275
+ display_name=pulumi.get(__response__, 'display_name'),
276
+ fleet_id=pulumi.get(__response__, 'fleet_id'),
277
+ fleet_property_id=pulumi.get(__response__, 'fleet_property_id'),
278
+ id=pulumi.get(__response__, 'id'),
279
+ property_id=pulumi.get(__response__, 'property_id'),
280
+ selection_type=pulumi.get(__response__, 'selection_type'),
281
+ state=pulumi.get(__response__, 'state'),
282
+ system_tags=pulumi.get(__response__, 'system_tags'),
283
+ time_created=pulumi.get(__response__, 'time_created'),
284
+ time_updated=pulumi.get(__response__, 'time_updated'),
285
+ value=pulumi.get(__response__, 'value'),
286
+ value_type=pulumi.get(__response__, 'value_type')))
@@ -0,0 +1,398 @@
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
+ 'GetFleetResourceResult',
19
+ 'AwaitableGetFleetResourceResult',
20
+ 'get_fleet_resource',
21
+ 'get_fleet_resource_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetFleetResourceResult:
26
+ """
27
+ A collection of values returned by getFleetResource.
28
+ """
29
+ def __init__(__self__, application_type=None, compartment=None, compartment_id=None, compliance_state=None, display_name=None, environment_type=None, fleet_id=None, fleet_resource_id=None, id=None, lifecycle_details=None, product=None, product_count=None, resource_id=None, resource_region=None, resource_type=None, state=None, system_tags=None, target_count=None, tenancy_id=None, tenancy_name=None, time_created=None, time_updated=None):
30
+ if application_type and not isinstance(application_type, str):
31
+ raise TypeError("Expected argument 'application_type' to be a str")
32
+ pulumi.set(__self__, "application_type", application_type)
33
+ if compartment and not isinstance(compartment, str):
34
+ raise TypeError("Expected argument 'compartment' to be a str")
35
+ pulumi.set(__self__, "compartment", compartment)
36
+ if compartment_id and not isinstance(compartment_id, str):
37
+ raise TypeError("Expected argument 'compartment_id' to be a str")
38
+ pulumi.set(__self__, "compartment_id", compartment_id)
39
+ if compliance_state and not isinstance(compliance_state, str):
40
+ raise TypeError("Expected argument 'compliance_state' to be a str")
41
+ pulumi.set(__self__, "compliance_state", compliance_state)
42
+ if display_name and not isinstance(display_name, str):
43
+ raise TypeError("Expected argument 'display_name' to be a str")
44
+ pulumi.set(__self__, "display_name", display_name)
45
+ if environment_type and not isinstance(environment_type, str):
46
+ raise TypeError("Expected argument 'environment_type' to be a str")
47
+ pulumi.set(__self__, "environment_type", environment_type)
48
+ if fleet_id and not isinstance(fleet_id, str):
49
+ raise TypeError("Expected argument 'fleet_id' to be a str")
50
+ pulumi.set(__self__, "fleet_id", fleet_id)
51
+ if fleet_resource_id and not isinstance(fleet_resource_id, str):
52
+ raise TypeError("Expected argument 'fleet_resource_id' to be a str")
53
+ pulumi.set(__self__, "fleet_resource_id", fleet_resource_id)
54
+ if id and not isinstance(id, str):
55
+ raise TypeError("Expected argument 'id' to be a str")
56
+ pulumi.set(__self__, "id", id)
57
+ if lifecycle_details and not isinstance(lifecycle_details, str):
58
+ raise TypeError("Expected argument 'lifecycle_details' to be a str")
59
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
60
+ if product and not isinstance(product, str):
61
+ raise TypeError("Expected argument 'product' to be a str")
62
+ pulumi.set(__self__, "product", product)
63
+ if product_count and not isinstance(product_count, int):
64
+ raise TypeError("Expected argument 'product_count' to be a int")
65
+ pulumi.set(__self__, "product_count", product_count)
66
+ if resource_id and not isinstance(resource_id, str):
67
+ raise TypeError("Expected argument 'resource_id' to be a str")
68
+ pulumi.set(__self__, "resource_id", resource_id)
69
+ if resource_region and not isinstance(resource_region, str):
70
+ raise TypeError("Expected argument 'resource_region' to be a str")
71
+ pulumi.set(__self__, "resource_region", resource_region)
72
+ if resource_type and not isinstance(resource_type, str):
73
+ raise TypeError("Expected argument 'resource_type' to be a str")
74
+ pulumi.set(__self__, "resource_type", resource_type)
75
+ if state and not isinstance(state, str):
76
+ raise TypeError("Expected argument 'state' to be a str")
77
+ pulumi.set(__self__, "state", state)
78
+ if system_tags and not isinstance(system_tags, dict):
79
+ raise TypeError("Expected argument 'system_tags' to be a dict")
80
+ pulumi.set(__self__, "system_tags", system_tags)
81
+ if target_count and not isinstance(target_count, int):
82
+ raise TypeError("Expected argument 'target_count' to be a int")
83
+ pulumi.set(__self__, "target_count", target_count)
84
+ if tenancy_id and not isinstance(tenancy_id, str):
85
+ raise TypeError("Expected argument 'tenancy_id' to be a str")
86
+ pulumi.set(__self__, "tenancy_id", tenancy_id)
87
+ if tenancy_name and not isinstance(tenancy_name, str):
88
+ raise TypeError("Expected argument 'tenancy_name' to be a str")
89
+ pulumi.set(__self__, "tenancy_name", tenancy_name)
90
+ if time_created and not isinstance(time_created, str):
91
+ raise TypeError("Expected argument 'time_created' to be a str")
92
+ pulumi.set(__self__, "time_created", time_created)
93
+ if time_updated and not isinstance(time_updated, str):
94
+ raise TypeError("Expected argument 'time_updated' to be a str")
95
+ pulumi.set(__self__, "time_updated", time_updated)
96
+
97
+ @property
98
+ @pulumi.getter(name="applicationType")
99
+ def application_type(self) -> str:
100
+ """
101
+ Application Type associated with the resource when resource type is fleet.Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.
102
+ """
103
+ return pulumi.get(self, "application_type")
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def compartment(self) -> str:
108
+ """
109
+ Resource Compartment
110
+ """
111
+ return pulumi.get(self, "compartment")
112
+
113
+ @property
114
+ @pulumi.getter(name="compartmentId")
115
+ def compartment_id(self) -> str:
116
+ """
117
+ OCID of the compartment to which the resource belongs to.
118
+ """
119
+ return pulumi.get(self, "compartment_id")
120
+
121
+ @property
122
+ @pulumi.getter(name="complianceState")
123
+ def compliance_state(self) -> str:
124
+ """
125
+ Compliance State of the Resource
126
+ """
127
+ return pulumi.get(self, "compliance_state")
128
+
129
+ @property
130
+ @pulumi.getter(name="displayName")
131
+ def display_name(self) -> str:
132
+ """
133
+ A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
134
+ """
135
+ return pulumi.get(self, "display_name")
136
+
137
+ @property
138
+ @pulumi.getter(name="environmentType")
139
+ def environment_type(self) -> str:
140
+ """
141
+ Environment Type associated with the Fleet when resource type is fleet.Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.
142
+ """
143
+ return pulumi.get(self, "environment_type")
144
+
145
+ @property
146
+ @pulumi.getter(name="fleetId")
147
+ def fleet_id(self) -> str:
148
+ return pulumi.get(self, "fleet_id")
149
+
150
+ @property
151
+ @pulumi.getter(name="fleetResourceId")
152
+ def fleet_resource_id(self) -> str:
153
+ return pulumi.get(self, "fleet_resource_id")
154
+
155
+ @property
156
+ @pulumi.getter
157
+ def id(self) -> str:
158
+ """
159
+ The unique id of the resource.
160
+ """
161
+ return pulumi.get(self, "id")
162
+
163
+ @property
164
+ @pulumi.getter(name="lifecycleDetails")
165
+ def lifecycle_details(self) -> str:
166
+ """
167
+ A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
168
+ """
169
+ return pulumi.get(self, "lifecycle_details")
170
+
171
+ @property
172
+ @pulumi.getter
173
+ def product(self) -> str:
174
+ """
175
+ Product associated with the resource when resource type is fleet.Will only be returned for PRODUCT fleets that are part of a GROUP Fleet
176
+ """
177
+ return pulumi.get(self, "product")
178
+
179
+ @property
180
+ @pulumi.getter(name="productCount")
181
+ def product_count(self) -> int:
182
+ """
183
+ Count of products within the resource.
184
+ """
185
+ return pulumi.get(self, "product_count")
186
+
187
+ @property
188
+ @pulumi.getter(name="resourceId")
189
+ def resource_id(self) -> str:
190
+ """
191
+ The OCID of the resource.
192
+ """
193
+ return pulumi.get(self, "resource_id")
194
+
195
+ @property
196
+ @pulumi.getter(name="resourceRegion")
197
+ def resource_region(self) -> str:
198
+ """
199
+ Associated region
200
+ """
201
+ return pulumi.get(self, "resource_region")
202
+
203
+ @property
204
+ @pulumi.getter(name="resourceType")
205
+ def resource_type(self) -> str:
206
+ """
207
+ Type of the Resource.
208
+ """
209
+ return pulumi.get(self, "resource_type")
210
+
211
+ @property
212
+ @pulumi.getter
213
+ def state(self) -> str:
214
+ """
215
+ The current state of the FleetResource.
216
+ """
217
+ return pulumi.get(self, "state")
218
+
219
+ @property
220
+ @pulumi.getter(name="systemTags")
221
+ def system_tags(self) -> Mapping[str, str]:
222
+ """
223
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
224
+ """
225
+ return pulumi.get(self, "system_tags")
226
+
227
+ @property
228
+ @pulumi.getter(name="targetCount")
229
+ def target_count(self) -> int:
230
+ """
231
+ Count of targets within the resource.
232
+ """
233
+ return pulumi.get(self, "target_count")
234
+
235
+ @property
236
+ @pulumi.getter(name="tenancyId")
237
+ def tenancy_id(self) -> str:
238
+ """
239
+ OCID of the tenancy to which the resource belongs to.
240
+ """
241
+ return pulumi.get(self, "tenancy_id")
242
+
243
+ @property
244
+ @pulumi.getter(name="tenancyName")
245
+ def tenancy_name(self) -> str:
246
+ """
247
+ Resource Tenancy Name
248
+ """
249
+ return pulumi.get(self, "tenancy_name")
250
+
251
+ @property
252
+ @pulumi.getter(name="timeCreated")
253
+ def time_created(self) -> str:
254
+ """
255
+ The time this resource was created. An RFC3339 formatted datetime string.
256
+ """
257
+ return pulumi.get(self, "time_created")
258
+
259
+ @property
260
+ @pulumi.getter(name="timeUpdated")
261
+ def time_updated(self) -> str:
262
+ """
263
+ The time this resource was last updated. An RFC3339 formatted datetime string.
264
+ """
265
+ return pulumi.get(self, "time_updated")
266
+
267
+
268
+ class AwaitableGetFleetResourceResult(GetFleetResourceResult):
269
+ # pylint: disable=using-constant-test
270
+ def __await__(self):
271
+ if False:
272
+ yield self
273
+ return GetFleetResourceResult(
274
+ application_type=self.application_type,
275
+ compartment=self.compartment,
276
+ compartment_id=self.compartment_id,
277
+ compliance_state=self.compliance_state,
278
+ display_name=self.display_name,
279
+ environment_type=self.environment_type,
280
+ fleet_id=self.fleet_id,
281
+ fleet_resource_id=self.fleet_resource_id,
282
+ id=self.id,
283
+ lifecycle_details=self.lifecycle_details,
284
+ product=self.product,
285
+ product_count=self.product_count,
286
+ resource_id=self.resource_id,
287
+ resource_region=self.resource_region,
288
+ resource_type=self.resource_type,
289
+ state=self.state,
290
+ system_tags=self.system_tags,
291
+ target_count=self.target_count,
292
+ tenancy_id=self.tenancy_id,
293
+ tenancy_name=self.tenancy_name,
294
+ time_created=self.time_created,
295
+ time_updated=self.time_updated)
296
+
297
+
298
+ def get_fleet_resource(fleet_id: Optional[str] = None,
299
+ fleet_resource_id: Optional[str] = None,
300
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetResourceResult:
301
+ """
302
+ This data source provides details about a specific Fleet Resource resource in Oracle Cloud Infrastructure Fleet Apps Management service.
303
+
304
+ Gets a FleetResource by identifier
305
+
306
+ ## Example Usage
307
+
308
+ ```python
309
+ import pulumi
310
+ import pulumi_oci as oci
311
+
312
+ test_fleet_resource = oci.FleetAppsManagement.get_fleet_resource(fleet_id=test_fleet["id"],
313
+ fleet_resource_id=test_resource["id"])
314
+ ```
315
+
316
+
317
+ :param str fleet_id: unique Fleet identifier
318
+ :param str fleet_resource_id: unique FleetResource identifier
319
+ """
320
+ __args__ = dict()
321
+ __args__['fleetId'] = fleet_id
322
+ __args__['fleetResourceId'] = fleet_resource_id
323
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
324
+ __ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetResource:getFleetResource', __args__, opts=opts, typ=GetFleetResourceResult).value
325
+
326
+ return AwaitableGetFleetResourceResult(
327
+ application_type=pulumi.get(__ret__, 'application_type'),
328
+ compartment=pulumi.get(__ret__, 'compartment'),
329
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
330
+ compliance_state=pulumi.get(__ret__, 'compliance_state'),
331
+ display_name=pulumi.get(__ret__, 'display_name'),
332
+ environment_type=pulumi.get(__ret__, 'environment_type'),
333
+ fleet_id=pulumi.get(__ret__, 'fleet_id'),
334
+ fleet_resource_id=pulumi.get(__ret__, 'fleet_resource_id'),
335
+ id=pulumi.get(__ret__, 'id'),
336
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
337
+ product=pulumi.get(__ret__, 'product'),
338
+ product_count=pulumi.get(__ret__, 'product_count'),
339
+ resource_id=pulumi.get(__ret__, 'resource_id'),
340
+ resource_region=pulumi.get(__ret__, 'resource_region'),
341
+ resource_type=pulumi.get(__ret__, 'resource_type'),
342
+ state=pulumi.get(__ret__, 'state'),
343
+ system_tags=pulumi.get(__ret__, 'system_tags'),
344
+ target_count=pulumi.get(__ret__, 'target_count'),
345
+ tenancy_id=pulumi.get(__ret__, 'tenancy_id'),
346
+ tenancy_name=pulumi.get(__ret__, 'tenancy_name'),
347
+ time_created=pulumi.get(__ret__, 'time_created'),
348
+ time_updated=pulumi.get(__ret__, 'time_updated'))
349
+ def get_fleet_resource_output(fleet_id: Optional[pulumi.Input[str]] = None,
350
+ fleet_resource_id: Optional[pulumi.Input[str]] = None,
351
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetResourceResult]:
352
+ """
353
+ This data source provides details about a specific Fleet Resource resource in Oracle Cloud Infrastructure Fleet Apps Management service.
354
+
355
+ Gets a FleetResource by identifier
356
+
357
+ ## Example Usage
358
+
359
+ ```python
360
+ import pulumi
361
+ import pulumi_oci as oci
362
+
363
+ test_fleet_resource = oci.FleetAppsManagement.get_fleet_resource(fleet_id=test_fleet["id"],
364
+ fleet_resource_id=test_resource["id"])
365
+ ```
366
+
367
+
368
+ :param str fleet_id: unique Fleet identifier
369
+ :param str fleet_resource_id: unique FleetResource identifier
370
+ """
371
+ __args__ = dict()
372
+ __args__['fleetId'] = fleet_id
373
+ __args__['fleetResourceId'] = fleet_resource_id
374
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
375
+ __ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetResource:getFleetResource', __args__, opts=opts, typ=GetFleetResourceResult)
376
+ return __ret__.apply(lambda __response__: GetFleetResourceResult(
377
+ application_type=pulumi.get(__response__, 'application_type'),
378
+ compartment=pulumi.get(__response__, 'compartment'),
379
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
380
+ compliance_state=pulumi.get(__response__, 'compliance_state'),
381
+ display_name=pulumi.get(__response__, 'display_name'),
382
+ environment_type=pulumi.get(__response__, 'environment_type'),
383
+ fleet_id=pulumi.get(__response__, 'fleet_id'),
384
+ fleet_resource_id=pulumi.get(__response__, 'fleet_resource_id'),
385
+ id=pulumi.get(__response__, 'id'),
386
+ lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
387
+ product=pulumi.get(__response__, 'product'),
388
+ product_count=pulumi.get(__response__, 'product_count'),
389
+ resource_id=pulumi.get(__response__, 'resource_id'),
390
+ resource_region=pulumi.get(__response__, 'resource_region'),
391
+ resource_type=pulumi.get(__response__, 'resource_type'),
392
+ state=pulumi.get(__response__, 'state'),
393
+ system_tags=pulumi.get(__response__, 'system_tags'),
394
+ target_count=pulumi.get(__response__, 'target_count'),
395
+ tenancy_id=pulumi.get(__response__, 'tenancy_id'),
396
+ tenancy_name=pulumi.get(__response__, 'tenancy_name'),
397
+ time_created=pulumi.get(__response__, 'time_created'),
398
+ time_updated=pulumi.get(__response__, 'time_updated')))