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,284 @@
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
+ 'GetFleetsResult',
21
+ 'AwaitableGetFleetsResult',
22
+ 'get_fleets',
23
+ 'get_fleets_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetFleetsResult:
28
+ """
29
+ A collection of values returned by getFleets.
30
+ """
31
+ def __init__(__self__, application_type=None, compartment_id=None, display_name=None, environment_type=None, filters=None, fleet_collections=None, fleet_type=None, id=None, product=None, state=None):
32
+ if application_type and not isinstance(application_type, str):
33
+ raise TypeError("Expected argument 'application_type' to be a str")
34
+ pulumi.set(__self__, "application_type", application_type)
35
+ if compartment_id and not isinstance(compartment_id, str):
36
+ raise TypeError("Expected argument 'compartment_id' to be a str")
37
+ pulumi.set(__self__, "compartment_id", compartment_id)
38
+ if display_name and not isinstance(display_name, str):
39
+ raise TypeError("Expected argument 'display_name' to be a str")
40
+ pulumi.set(__self__, "display_name", display_name)
41
+ if environment_type and not isinstance(environment_type, str):
42
+ raise TypeError("Expected argument 'environment_type' to be a str")
43
+ pulumi.set(__self__, "environment_type", environment_type)
44
+ if filters and not isinstance(filters, list):
45
+ raise TypeError("Expected argument 'filters' to be a list")
46
+ pulumi.set(__self__, "filters", filters)
47
+ if fleet_collections and not isinstance(fleet_collections, list):
48
+ raise TypeError("Expected argument 'fleet_collections' to be a list")
49
+ pulumi.set(__self__, "fleet_collections", fleet_collections)
50
+ if fleet_type and not isinstance(fleet_type, str):
51
+ raise TypeError("Expected argument 'fleet_type' to be a str")
52
+ pulumi.set(__self__, "fleet_type", fleet_type)
53
+ if id and not isinstance(id, str):
54
+ raise TypeError("Expected argument 'id' to be a str")
55
+ pulumi.set(__self__, "id", id)
56
+ if product and not isinstance(product, str):
57
+ raise TypeError("Expected argument 'product' to be a str")
58
+ pulumi.set(__self__, "product", product)
59
+ if state and not isinstance(state, str):
60
+ raise TypeError("Expected argument 'state' to be a str")
61
+ pulumi.set(__self__, "state", state)
62
+
63
+ @property
64
+ @pulumi.getter(name="applicationType")
65
+ def application_type(self) -> Optional[str]:
66
+ """
67
+ Application Type associated with the Fleet.Applicable for ENVIRONMENT fleet types.
68
+ """
69
+ return pulumi.get(self, "application_type")
70
+
71
+ @property
72
+ @pulumi.getter(name="compartmentId")
73
+ def compartment_id(self) -> Optional[str]:
74
+ """
75
+ Please provide the root compartmentId (TenancyId).
76
+ """
77
+ return pulumi.get(self, "compartment_id")
78
+
79
+ @property
80
+ @pulumi.getter(name="displayName")
81
+ def display_name(self) -> Optional[str]:
82
+ """
83
+ A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
84
+ """
85
+ return pulumi.get(self, "display_name")
86
+
87
+ @property
88
+ @pulumi.getter(name="environmentType")
89
+ def environment_type(self) -> Optional[str]:
90
+ """
91
+ Environment Type associated with the Fleet.Applicable for ENVIRONMENT fleet types.
92
+ """
93
+ return pulumi.get(self, "environment_type")
94
+
95
+ @property
96
+ @pulumi.getter
97
+ def filters(self) -> Optional[Sequence['outputs.GetFleetsFilterResult']]:
98
+ return pulumi.get(self, "filters")
99
+
100
+ @property
101
+ @pulumi.getter(name="fleetCollections")
102
+ def fleet_collections(self) -> Sequence['outputs.GetFleetsFleetCollectionResult']:
103
+ """
104
+ The list of fleet_collection.
105
+ """
106
+ return pulumi.get(self, "fleet_collections")
107
+
108
+ @property
109
+ @pulumi.getter(name="fleetType")
110
+ def fleet_type(self) -> Optional[str]:
111
+ """
112
+ Type of the Fleet.
113
+ """
114
+ return pulumi.get(self, "fleet_type")
115
+
116
+ @property
117
+ @pulumi.getter
118
+ def id(self) -> Optional[str]:
119
+ """
120
+ The OCID of the resource.
121
+ """
122
+ return pulumi.get(self, "id")
123
+
124
+ @property
125
+ @pulumi.getter
126
+ def product(self) -> Optional[str]:
127
+ return pulumi.get(self, "product")
128
+
129
+ @property
130
+ @pulumi.getter
131
+ def state(self) -> Optional[str]:
132
+ """
133
+ The lifecycle state of the Fleet.
134
+ """
135
+ return pulumi.get(self, "state")
136
+
137
+
138
+ class AwaitableGetFleetsResult(GetFleetsResult):
139
+ # pylint: disable=using-constant-test
140
+ def __await__(self):
141
+ if False:
142
+ yield self
143
+ return GetFleetsResult(
144
+ application_type=self.application_type,
145
+ compartment_id=self.compartment_id,
146
+ display_name=self.display_name,
147
+ environment_type=self.environment_type,
148
+ filters=self.filters,
149
+ fleet_collections=self.fleet_collections,
150
+ fleet_type=self.fleet_type,
151
+ id=self.id,
152
+ product=self.product,
153
+ state=self.state)
154
+
155
+
156
+ def get_fleets(application_type: Optional[str] = None,
157
+ compartment_id: Optional[str] = None,
158
+ display_name: Optional[str] = None,
159
+ environment_type: Optional[str] = None,
160
+ filters: Optional[Sequence[Union['GetFleetsFilterArgs', 'GetFleetsFilterArgsDict']]] = None,
161
+ fleet_type: Optional[str] = None,
162
+ id: Optional[str] = None,
163
+ product: Optional[str] = None,
164
+ state: Optional[str] = None,
165
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetsResult:
166
+ """
167
+ This data source provides the list of Fleets in Oracle Cloud Infrastructure Fleet Apps Management service.
168
+
169
+ Returns a list of Fleets in the specified Tenancy.
170
+
171
+ ## Example Usage
172
+
173
+ ```python
174
+ import pulumi
175
+ import pulumi_oci as oci
176
+
177
+ test_fleets = oci.FleetAppsManagement.get_fleets(application_type=fleet_application_type,
178
+ compartment_id=compartment_id,
179
+ display_name=fleet_display_name,
180
+ environment_type=fleet_environment_type,
181
+ fleet_type=fleet_fleet_type,
182
+ id=fleet_id,
183
+ product=fleet_product,
184
+ state=fleet_state)
185
+ ```
186
+
187
+
188
+ :param str application_type: A filter to return only resources that match the Application Type given.
189
+ :param str compartment_id: The ID of the compartment in which to list resources.
190
+ :param str display_name: A filter to return only resources that match the entire display name given.
191
+ :param str environment_type: A filter to return only resources that match the Environment Type given.
192
+ :param str fleet_type: A filter to return only resources their fleetType matches the given fleetType.
193
+ :param str id: unique Fleet identifier
194
+ :param str product: A filter to return only resources that match the Product Type given.
195
+ :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
196
+ """
197
+ __args__ = dict()
198
+ __args__['applicationType'] = application_type
199
+ __args__['compartmentId'] = compartment_id
200
+ __args__['displayName'] = display_name
201
+ __args__['environmentType'] = environment_type
202
+ __args__['filters'] = filters
203
+ __args__['fleetType'] = fleet_type
204
+ __args__['id'] = id
205
+ __args__['product'] = product
206
+ __args__['state'] = state
207
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
208
+ __ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleets:getFleets', __args__, opts=opts, typ=GetFleetsResult).value
209
+
210
+ return AwaitableGetFleetsResult(
211
+ application_type=pulumi.get(__ret__, 'application_type'),
212
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
213
+ display_name=pulumi.get(__ret__, 'display_name'),
214
+ environment_type=pulumi.get(__ret__, 'environment_type'),
215
+ filters=pulumi.get(__ret__, 'filters'),
216
+ fleet_collections=pulumi.get(__ret__, 'fleet_collections'),
217
+ fleet_type=pulumi.get(__ret__, 'fleet_type'),
218
+ id=pulumi.get(__ret__, 'id'),
219
+ product=pulumi.get(__ret__, 'product'),
220
+ state=pulumi.get(__ret__, 'state'))
221
+ def get_fleets_output(application_type: Optional[pulumi.Input[Optional[str]]] = None,
222
+ compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
223
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
224
+ environment_type: Optional[pulumi.Input[Optional[str]]] = None,
225
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetsFilterArgs', 'GetFleetsFilterArgsDict']]]]] = None,
226
+ fleet_type: Optional[pulumi.Input[Optional[str]]] = None,
227
+ id: Optional[pulumi.Input[Optional[str]]] = None,
228
+ product: Optional[pulumi.Input[Optional[str]]] = None,
229
+ state: Optional[pulumi.Input[Optional[str]]] = None,
230
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetsResult]:
231
+ """
232
+ This data source provides the list of Fleets in Oracle Cloud Infrastructure Fleet Apps Management service.
233
+
234
+ Returns a list of Fleets in the specified Tenancy.
235
+
236
+ ## Example Usage
237
+
238
+ ```python
239
+ import pulumi
240
+ import pulumi_oci as oci
241
+
242
+ test_fleets = oci.FleetAppsManagement.get_fleets(application_type=fleet_application_type,
243
+ compartment_id=compartment_id,
244
+ display_name=fleet_display_name,
245
+ environment_type=fleet_environment_type,
246
+ fleet_type=fleet_fleet_type,
247
+ id=fleet_id,
248
+ product=fleet_product,
249
+ state=fleet_state)
250
+ ```
251
+
252
+
253
+ :param str application_type: A filter to return only resources that match the Application Type given.
254
+ :param str compartment_id: The ID of the compartment in which to list resources.
255
+ :param str display_name: A filter to return only resources that match the entire display name given.
256
+ :param str environment_type: A filter to return only resources that match the Environment Type given.
257
+ :param str fleet_type: A filter to return only resources their fleetType matches the given fleetType.
258
+ :param str id: unique Fleet identifier
259
+ :param str product: A filter to return only resources that match the Product Type given.
260
+ :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
261
+ """
262
+ __args__ = dict()
263
+ __args__['applicationType'] = application_type
264
+ __args__['compartmentId'] = compartment_id
265
+ __args__['displayName'] = display_name
266
+ __args__['environmentType'] = environment_type
267
+ __args__['filters'] = filters
268
+ __args__['fleetType'] = fleet_type
269
+ __args__['id'] = id
270
+ __args__['product'] = product
271
+ __args__['state'] = state
272
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
273
+ __ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleets:getFleets', __args__, opts=opts, typ=GetFleetsResult)
274
+ return __ret__.apply(lambda __response__: GetFleetsResult(
275
+ application_type=pulumi.get(__response__, 'application_type'),
276
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
277
+ display_name=pulumi.get(__response__, 'display_name'),
278
+ environment_type=pulumi.get(__response__, 'environment_type'),
279
+ filters=pulumi.get(__response__, 'filters'),
280
+ fleet_collections=pulumi.get(__response__, 'fleet_collections'),
281
+ fleet_type=pulumi.get(__response__, 'fleet_type'),
282
+ id=pulumi.get(__response__, 'id'),
283
+ product=pulumi.get(__response__, 'product'),
284
+ state=pulumi.get(__response__, 'state')))
@@ -0,0 +1,311 @@
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
+ 'GetInventoryResourcesResult',
21
+ 'AwaitableGetInventoryResourcesResult',
22
+ 'get_inventory_resources',
23
+ 'get_inventory_resources_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetInventoryResourcesResult:
28
+ """
29
+ A collection of values returned by getInventoryResources.
30
+ """
31
+ def __init__(__self__, compartment_id=None, defined_tag_equals=None, display_name=None, filters=None, freeform_tag_equals=None, id=None, inventory_properties=None, inventory_resource_collections=None, matching_criteria=None, resource_compartment_id=None, resource_region=None, state=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 defined_tag_equals and not isinstance(defined_tag_equals, list):
36
+ raise TypeError("Expected argument 'defined_tag_equals' to be a list")
37
+ pulumi.set(__self__, "defined_tag_equals", defined_tag_equals)
38
+ if display_name and not isinstance(display_name, str):
39
+ raise TypeError("Expected argument 'display_name' to be a str")
40
+ pulumi.set(__self__, "display_name", display_name)
41
+ if filters and not isinstance(filters, list):
42
+ raise TypeError("Expected argument 'filters' to be a list")
43
+ pulumi.set(__self__, "filters", filters)
44
+ if freeform_tag_equals and not isinstance(freeform_tag_equals, list):
45
+ raise TypeError("Expected argument 'freeform_tag_equals' to be a list")
46
+ pulumi.set(__self__, "freeform_tag_equals", freeform_tag_equals)
47
+ if id and not isinstance(id, str):
48
+ raise TypeError("Expected argument 'id' to be a str")
49
+ pulumi.set(__self__, "id", id)
50
+ if inventory_properties and not isinstance(inventory_properties, list):
51
+ raise TypeError("Expected argument 'inventory_properties' to be a list")
52
+ pulumi.set(__self__, "inventory_properties", inventory_properties)
53
+ if inventory_resource_collections and not isinstance(inventory_resource_collections, list):
54
+ raise TypeError("Expected argument 'inventory_resource_collections' to be a list")
55
+ pulumi.set(__self__, "inventory_resource_collections", inventory_resource_collections)
56
+ if matching_criteria and not isinstance(matching_criteria, str):
57
+ raise TypeError("Expected argument 'matching_criteria' to be a str")
58
+ pulumi.set(__self__, "matching_criteria", matching_criteria)
59
+ if resource_compartment_id and not isinstance(resource_compartment_id, str):
60
+ raise TypeError("Expected argument 'resource_compartment_id' to be a str")
61
+ pulumi.set(__self__, "resource_compartment_id", resource_compartment_id)
62
+ if resource_region and not isinstance(resource_region, str):
63
+ raise TypeError("Expected argument 'resource_region' to be a str")
64
+ pulumi.set(__self__, "resource_region", resource_region)
65
+ if state and not isinstance(state, str):
66
+ raise TypeError("Expected argument 'state' to be a str")
67
+ pulumi.set(__self__, "state", state)
68
+
69
+ @property
70
+ @pulumi.getter(name="compartmentId")
71
+ def compartment_id(self) -> str:
72
+ """
73
+ OCID of the compartment to which the resource belongs to.
74
+ """
75
+ return pulumi.get(self, "compartment_id")
76
+
77
+ @property
78
+ @pulumi.getter(name="definedTagEquals")
79
+ def defined_tag_equals(self) -> Optional[Sequence[str]]:
80
+ return pulumi.get(self, "defined_tag_equals")
81
+
82
+ @property
83
+ @pulumi.getter(name="displayName")
84
+ def display_name(self) -> Optional[str]:
85
+ """
86
+ A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
87
+ """
88
+ return pulumi.get(self, "display_name")
89
+
90
+ @property
91
+ @pulumi.getter
92
+ def filters(self) -> Optional[Sequence['outputs.GetInventoryResourcesFilterResult']]:
93
+ return pulumi.get(self, "filters")
94
+
95
+ @property
96
+ @pulumi.getter(name="freeformTagEquals")
97
+ def freeform_tag_equals(self) -> Optional[Sequence[str]]:
98
+ return pulumi.get(self, "freeform_tag_equals")
99
+
100
+ @property
101
+ @pulumi.getter
102
+ def id(self) -> str:
103
+ """
104
+ The provider-assigned unique ID for this managed resource.
105
+ """
106
+ return pulumi.get(self, "id")
107
+
108
+ @property
109
+ @pulumi.getter(name="inventoryProperties")
110
+ def inventory_properties(self) -> Optional[Sequence[str]]:
111
+ return pulumi.get(self, "inventory_properties")
112
+
113
+ @property
114
+ @pulumi.getter(name="inventoryResourceCollections")
115
+ def inventory_resource_collections(self) -> Sequence['outputs.GetInventoryResourcesInventoryResourceCollectionResult']:
116
+ """
117
+ The list of inventory_resource_collection.
118
+ """
119
+ return pulumi.get(self, "inventory_resource_collections")
120
+
121
+ @property
122
+ @pulumi.getter(name="matchingCriteria")
123
+ def matching_criteria(self) -> Optional[str]:
124
+ return pulumi.get(self, "matching_criteria")
125
+
126
+ @property
127
+ @pulumi.getter(name="resourceCompartmentId")
128
+ def resource_compartment_id(self) -> str:
129
+ """
130
+ Compartment Id of the resource
131
+ """
132
+ return pulumi.get(self, "resource_compartment_id")
133
+
134
+ @property
135
+ @pulumi.getter(name="resourceRegion")
136
+ def resource_region(self) -> Optional[str]:
137
+ """
138
+ Region the resource belongs to
139
+ """
140
+ return pulumi.get(self, "resource_region")
141
+
142
+ @property
143
+ @pulumi.getter
144
+ def state(self) -> Optional[str]:
145
+ """
146
+ The current state of the Resource.
147
+ """
148
+ return pulumi.get(self, "state")
149
+
150
+
151
+ class AwaitableGetInventoryResourcesResult(GetInventoryResourcesResult):
152
+ # pylint: disable=using-constant-test
153
+ def __await__(self):
154
+ if False:
155
+ yield self
156
+ return GetInventoryResourcesResult(
157
+ compartment_id=self.compartment_id,
158
+ defined_tag_equals=self.defined_tag_equals,
159
+ display_name=self.display_name,
160
+ filters=self.filters,
161
+ freeform_tag_equals=self.freeform_tag_equals,
162
+ id=self.id,
163
+ inventory_properties=self.inventory_properties,
164
+ inventory_resource_collections=self.inventory_resource_collections,
165
+ matching_criteria=self.matching_criteria,
166
+ resource_compartment_id=self.resource_compartment_id,
167
+ resource_region=self.resource_region,
168
+ state=self.state)
169
+
170
+
171
+ def get_inventory_resources(compartment_id: Optional[str] = None,
172
+ defined_tag_equals: Optional[Sequence[str]] = None,
173
+ display_name: Optional[str] = None,
174
+ filters: Optional[Sequence[Union['GetInventoryResourcesFilterArgs', 'GetInventoryResourcesFilterArgsDict']]] = None,
175
+ freeform_tag_equals: Optional[Sequence[str]] = None,
176
+ inventory_properties: Optional[Sequence[str]] = None,
177
+ matching_criteria: Optional[str] = None,
178
+ resource_compartment_id: Optional[str] = None,
179
+ resource_region: Optional[str] = None,
180
+ state: Optional[str] = None,
181
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInventoryResourcesResult:
182
+ """
183
+ This data source provides the list of Inventory Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
184
+
185
+ Returns a list of InventoryResources.
186
+
187
+ ## Example Usage
188
+
189
+ ```python
190
+ import pulumi
191
+ import pulumi_oci as oci
192
+
193
+ test_inventory_resources = oci.FleetAppsManagement.get_inventory_resources(compartment_id=compartment_id,
194
+ resource_compartment_id=test_compartment["id"],
195
+ defined_tag_equals=inventory_resource_defined_tag_equals,
196
+ display_name=inventory_resource_display_name,
197
+ freeform_tag_equals=inventory_resource_freeform_tag_equals,
198
+ inventory_properties=inventory_resource_inventory_properties,
199
+ matching_criteria=inventory_resource_matching_criteria,
200
+ resource_region=inventory_resource_resource_region,
201
+ state=inventory_resource_state)
202
+ ```
203
+
204
+
205
+ :param str compartment_id: The ID of the compartment in which to list resources.
206
+ :param Sequence[str] defined_tag_equals: A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}={value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
207
+ :param str display_name: A filter to return only resources that match the entire display name given.
208
+ :param Sequence[str] freeform_tag_equals: A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
209
+ :param Sequence[str] inventory_properties: A list of inventory properties filters to apply. The key for each inventory property and value for each resource type is "{resourceType}.{inventoryProperty}={value}".
210
+ :param str matching_criteria: Fetch resources matching matching ANY or ALL criteria passed as params in "tags" and "inventoryProperties"
211
+ :param str resource_compartment_id: Resource Compartment ID
212
+ :param str resource_region: Resource Region
213
+ :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
214
+ """
215
+ __args__ = dict()
216
+ __args__['compartmentId'] = compartment_id
217
+ __args__['definedTagEquals'] = defined_tag_equals
218
+ __args__['displayName'] = display_name
219
+ __args__['filters'] = filters
220
+ __args__['freeformTagEquals'] = freeform_tag_equals
221
+ __args__['inventoryProperties'] = inventory_properties
222
+ __args__['matchingCriteria'] = matching_criteria
223
+ __args__['resourceCompartmentId'] = resource_compartment_id
224
+ __args__['resourceRegion'] = resource_region
225
+ __args__['state'] = state
226
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
227
+ __ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getInventoryResources:getInventoryResources', __args__, opts=opts, typ=GetInventoryResourcesResult).value
228
+
229
+ return AwaitableGetInventoryResourcesResult(
230
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
231
+ defined_tag_equals=pulumi.get(__ret__, 'defined_tag_equals'),
232
+ display_name=pulumi.get(__ret__, 'display_name'),
233
+ filters=pulumi.get(__ret__, 'filters'),
234
+ freeform_tag_equals=pulumi.get(__ret__, 'freeform_tag_equals'),
235
+ id=pulumi.get(__ret__, 'id'),
236
+ inventory_properties=pulumi.get(__ret__, 'inventory_properties'),
237
+ inventory_resource_collections=pulumi.get(__ret__, 'inventory_resource_collections'),
238
+ matching_criteria=pulumi.get(__ret__, 'matching_criteria'),
239
+ resource_compartment_id=pulumi.get(__ret__, 'resource_compartment_id'),
240
+ resource_region=pulumi.get(__ret__, 'resource_region'),
241
+ state=pulumi.get(__ret__, 'state'))
242
+ def get_inventory_resources_output(compartment_id: Optional[pulumi.Input[str]] = None,
243
+ defined_tag_equals: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
244
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
245
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetInventoryResourcesFilterArgs', 'GetInventoryResourcesFilterArgsDict']]]]] = None,
246
+ freeform_tag_equals: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
247
+ inventory_properties: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
248
+ matching_criteria: Optional[pulumi.Input[Optional[str]]] = None,
249
+ resource_compartment_id: Optional[pulumi.Input[str]] = None,
250
+ resource_region: Optional[pulumi.Input[Optional[str]]] = None,
251
+ state: Optional[pulumi.Input[Optional[str]]] = None,
252
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInventoryResourcesResult]:
253
+ """
254
+ This data source provides the list of Inventory Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
255
+
256
+ Returns a list of InventoryResources.
257
+
258
+ ## Example Usage
259
+
260
+ ```python
261
+ import pulumi
262
+ import pulumi_oci as oci
263
+
264
+ test_inventory_resources = oci.FleetAppsManagement.get_inventory_resources(compartment_id=compartment_id,
265
+ resource_compartment_id=test_compartment["id"],
266
+ defined_tag_equals=inventory_resource_defined_tag_equals,
267
+ display_name=inventory_resource_display_name,
268
+ freeform_tag_equals=inventory_resource_freeform_tag_equals,
269
+ inventory_properties=inventory_resource_inventory_properties,
270
+ matching_criteria=inventory_resource_matching_criteria,
271
+ resource_region=inventory_resource_resource_region,
272
+ state=inventory_resource_state)
273
+ ```
274
+
275
+
276
+ :param str compartment_id: The ID of the compartment in which to list resources.
277
+ :param Sequence[str] defined_tag_equals: A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}={value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
278
+ :param str display_name: A filter to return only resources that match the entire display name given.
279
+ :param Sequence[str] freeform_tag_equals: A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
280
+ :param Sequence[str] inventory_properties: A list of inventory properties filters to apply. The key for each inventory property and value for each resource type is "{resourceType}.{inventoryProperty}={value}".
281
+ :param str matching_criteria: Fetch resources matching matching ANY or ALL criteria passed as params in "tags" and "inventoryProperties"
282
+ :param str resource_compartment_id: Resource Compartment ID
283
+ :param str resource_region: Resource Region
284
+ :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
285
+ """
286
+ __args__ = dict()
287
+ __args__['compartmentId'] = compartment_id
288
+ __args__['definedTagEquals'] = defined_tag_equals
289
+ __args__['displayName'] = display_name
290
+ __args__['filters'] = filters
291
+ __args__['freeformTagEquals'] = freeform_tag_equals
292
+ __args__['inventoryProperties'] = inventory_properties
293
+ __args__['matchingCriteria'] = matching_criteria
294
+ __args__['resourceCompartmentId'] = resource_compartment_id
295
+ __args__['resourceRegion'] = resource_region
296
+ __args__['state'] = state
297
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
298
+ __ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getInventoryResources:getInventoryResources', __args__, opts=opts, typ=GetInventoryResourcesResult)
299
+ return __ret__.apply(lambda __response__: GetInventoryResourcesResult(
300
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
301
+ defined_tag_equals=pulumi.get(__response__, 'defined_tag_equals'),
302
+ display_name=pulumi.get(__response__, 'display_name'),
303
+ filters=pulumi.get(__response__, 'filters'),
304
+ freeform_tag_equals=pulumi.get(__response__, 'freeform_tag_equals'),
305
+ id=pulumi.get(__response__, 'id'),
306
+ inventory_properties=pulumi.get(__response__, 'inventory_properties'),
307
+ inventory_resource_collections=pulumi.get(__response__, 'inventory_resource_collections'),
308
+ matching_criteria=pulumi.get(__response__, 'matching_criteria'),
309
+ resource_compartment_id=pulumi.get(__response__, 'resource_compartment_id'),
310
+ resource_region=pulumi.get(__response__, 'resource_region'),
311
+ state=pulumi.get(__response__, 'state')))