pulumi-oci 2.19.0a1733984857__py3-none-any.whl → 2.20.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. pulumi_oci/__init__.py +56 -0
  2. pulumi_oci/bigdataservice/__init__.py +4 -0
  3. pulumi_oci/bigdataservice/_inputs.py +672 -6
  4. pulumi_oci/bigdataservice/bds_instance.py +169 -7
  5. pulumi_oci/bigdataservice/bds_instance_api_key.py +66 -3
  6. pulumi_oci/bigdataservice/bds_instance_identity_configuration.py +859 -0
  7. pulumi_oci/bigdataservice/bds_instance_patch_action.py +4 -0
  8. pulumi_oci/bigdataservice/get_bds_cluster_versions.py +123 -0
  9. pulumi_oci/bigdataservice/get_bds_instance.py +48 -1
  10. pulumi_oci/bigdataservice/get_bds_instance_api_key.py +17 -1
  11. pulumi_oci/bigdataservice/get_bds_instance_api_keys.py +3 -0
  12. pulumi_oci/bigdataservice/get_bds_instance_identity_configuration.py +322 -0
  13. pulumi_oci/bigdataservice/get_bds_instance_identity_configurations.py +207 -0
  14. pulumi_oci/bigdataservice/outputs.py +1466 -98
  15. pulumi_oci/blockchain/get_blockchain_platform.py +1 -1
  16. pulumi_oci/blockchain/outputs.py +2 -2
  17. pulumi_oci/core/outputs.py +4 -0
  18. pulumi_oci/database/autonomous_container_database.py +47 -0
  19. pulumi_oci/database/autonomous_database.py +94 -0
  20. pulumi_oci/database/exadb_vm_cluster.py +104 -0
  21. pulumi_oci/database/get_autonomous_container_database.py +15 -1
  22. pulumi_oci/database/get_autonomous_database.py +29 -1
  23. pulumi_oci/database/outputs.py +36 -0
  24. pulumi_oci/dataflow/application.py +75 -33
  25. pulumi_oci/dataflow/get_application.py +15 -1
  26. pulumi_oci/dataflow/outputs.py +7 -0
  27. pulumi_oci/datascience/_inputs.py +32 -12
  28. pulumi_oci/datascience/get_job_run.py +3 -3
  29. pulumi_oci/datascience/get_job_runs.py +2 -2
  30. pulumi_oci/datascience/job_run.py +7 -7
  31. pulumi_oci/datascience/model_deployment.py +2 -0
  32. pulumi_oci/datascience/outputs.py +62 -26
  33. pulumi_oci/desktops/_inputs.py +9 -9
  34. pulumi_oci/desktops/desktop_pool.py +84 -35
  35. pulumi_oci/desktops/get_desktop_pool.py +12 -1
  36. pulumi_oci/desktops/outputs.py +13 -6
  37. pulumi_oci/disasterrecovery/_inputs.py +46 -30
  38. pulumi_oci/disasterrecovery/dr_plan.py +194 -23
  39. pulumi_oci/disasterrecovery/get_dr_plan.py +54 -4
  40. pulumi_oci/disasterrecovery/get_dr_plans.py +23 -1
  41. pulumi_oci/disasterrecovery/outputs.py +113 -21
  42. pulumi_oci/fleetappsmanagement/__init__.py +19 -0
  43. pulumi_oci/fleetappsmanagement/_inputs.py +5334 -378
  44. pulumi_oci/fleetappsmanagement/compliance_policy_rule.py +830 -0
  45. pulumi_oci/fleetappsmanagement/fleet.py +112 -67
  46. pulumi_oci/fleetappsmanagement/fleet_credential.py +44 -36
  47. pulumi_oci/fleetappsmanagement/fleet_property.py +35 -35
  48. pulumi_oci/fleetappsmanagement/fleet_resource.py +37 -37
  49. pulumi_oci/fleetappsmanagement/get_announcements.py +4 -4
  50. pulumi_oci/fleetappsmanagement/get_compliance_policies.py +199 -0
  51. pulumi_oci/fleetappsmanagement/get_compliance_policy.py +253 -0
  52. pulumi_oci/fleetappsmanagement/get_compliance_policy_rule.py +324 -0
  53. pulumi_oci/fleetappsmanagement/get_compliance_policy_rules.py +243 -0
  54. pulumi_oci/fleetappsmanagement/get_compliance_record_counts.py +144 -0
  55. pulumi_oci/fleetappsmanagement/get_compliance_records.py +279 -0
  56. pulumi_oci/fleetappsmanagement/get_fleet.py +29 -15
  57. pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +8 -8
  58. pulumi_oci/fleetappsmanagement/get_fleet_credential.py +7 -7
  59. pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +61 -17
  60. pulumi_oci/fleetappsmanagement/get_fleet_products.py +6 -6
  61. pulumi_oci/fleetappsmanagement/get_fleet_properties.py +8 -8
  62. pulumi_oci/fleetappsmanagement/get_fleet_property.py +11 -11
  63. pulumi_oci/fleetappsmanagement/get_fleet_resource.py +11 -11
  64. pulumi_oci/fleetappsmanagement/get_fleet_resources.py +10 -10
  65. pulumi_oci/fleetappsmanagement/get_fleet_targets.py +8 -8
  66. pulumi_oci/fleetappsmanagement/get_fleets.py +16 -16
  67. pulumi_oci/fleetappsmanagement/get_inventory_resources.py +12 -12
  68. pulumi_oci/fleetappsmanagement/get_maintenance_window.py +8 -8
  69. pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +31 -12
  70. pulumi_oci/fleetappsmanagement/get_managed_entity_counts.py +144 -0
  71. pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +2 -2
  72. pulumi_oci/fleetappsmanagement/get_onboardings.py +2 -2
  73. pulumi_oci/fleetappsmanagement/get_patch.py +363 -0
  74. pulumi_oci/fleetappsmanagement/get_patches.py +335 -0
  75. pulumi_oci/fleetappsmanagement/get_platform_configuration.py +296 -0
  76. pulumi_oci/fleetappsmanagement/get_platform_configurations.py +221 -0
  77. pulumi_oci/fleetappsmanagement/get_properties.py +9 -9
  78. pulumi_oci/fleetappsmanagement/get_property.py +4 -4
  79. pulumi_oci/fleetappsmanagement/get_runbook.py +8 -8
  80. pulumi_oci/fleetappsmanagement/get_runbooks.py +16 -16
  81. pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +10 -10
  82. pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +2 -2
  83. pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +33 -11
  84. pulumi_oci/fleetappsmanagement/get_scheduler_job_counts.py +144 -0
  85. pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_resources.py +245 -0
  86. pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_steps.py +245 -0
  87. pulumi_oci/fleetappsmanagement/get_task_record.py +3 -3
  88. pulumi_oci/fleetappsmanagement/maintenance_window.py +44 -44
  89. pulumi_oci/fleetappsmanagement/onboarding.py +108 -20
  90. pulumi_oci/fleetappsmanagement/outputs.py +11222 -2736
  91. pulumi_oci/fleetappsmanagement/patch.py +978 -0
  92. pulumi_oci/fleetappsmanagement/platform_configuration.py +687 -0
  93. pulumi_oci/fleetappsmanagement/property.py +27 -27
  94. pulumi_oci/fleetappsmanagement/runbook.py +1173 -0
  95. pulumi_oci/fleetappsmanagement/scheduler_definition.py +30 -30
  96. pulumi_oci/fleetappsmanagement/task_record.py +754 -0
  97. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +28 -0
  98. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +56 -0
  99. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +15 -1
  100. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +29 -1
  101. pulumi_oci/fleetsoftwareupdate/outputs.py +33 -0
  102. pulumi_oci/generativeai/dedicated_ai_cluster.py +21 -0
  103. pulumi_oci/goldengate/__init__.py +7 -0
  104. pulumi_oci/goldengate/_inputs.py +665 -0
  105. pulumi_oci/goldengate/connection.py +7 -7
  106. pulumi_oci/goldengate/get_pipeline.py +408 -0
  107. pulumi_oci/goldengate/get_pipeline_running_processes.py +144 -0
  108. pulumi_oci/goldengate/get_pipeline_schema_tables.py +207 -0
  109. pulumi_oci/goldengate/get_pipeline_schemas.py +163 -0
  110. pulumi_oci/goldengate/get_pipelines.py +213 -0
  111. pulumi_oci/goldengate/get_recipes.py +188 -0
  112. pulumi_oci/goldengate/get_trail_files.py +4 -2
  113. pulumi_oci/goldengate/get_trail_sequences.py +4 -2
  114. pulumi_oci/goldengate/outputs.py +1500 -0
  115. pulumi_oci/goldengate/pipeline.py +928 -0
  116. pulumi_oci/pulumi-plugin.json +1 -1
  117. pulumi_oci/stackmonitoring/_inputs.py +94 -14
  118. pulumi_oci/stackmonitoring/get_metric_extensions.py +22 -3
  119. pulumi_oci/stackmonitoring/metric_extension.py +8 -0
  120. pulumi_oci/stackmonitoring/outputs.py +166 -24
  121. pulumi_oci/visualbuilder/_inputs.py +57 -202
  122. pulumi_oci/visualbuilder/get_vb_instance.py +15 -29
  123. pulumi_oci/visualbuilder/outputs.py +114 -400
  124. pulumi_oci/visualbuilder/vb_instance.py +62 -59
  125. {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/METADATA +3 -3
  126. {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/RECORD +128 -98
  127. {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/WHEEL +0 -0
  128. {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,253 @@
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
+ 'GetCompliancePolicyResult',
19
+ 'AwaitableGetCompliancePolicyResult',
20
+ 'get_compliance_policy',
21
+ 'get_compliance_policy_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetCompliancePolicyResult:
26
+ """
27
+ A collection of values returned by getCompliancePolicy.
28
+ """
29
+ def __init__(__self__, compartment_id=None, compliance_policy_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, product_id=None, state=None, system_tags=None, time_created=None, time_updated=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 compliance_policy_id and not isinstance(compliance_policy_id, str):
34
+ raise TypeError("Expected argument 'compliance_policy_id' to be a str")
35
+ pulumi.set(__self__, "compliance_policy_id", compliance_policy_id)
36
+ if defined_tags and not isinstance(defined_tags, dict):
37
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
38
+ pulumi.set(__self__, "defined_tags", defined_tags)
39
+ if display_name and not isinstance(display_name, str):
40
+ raise TypeError("Expected argument 'display_name' to be a str")
41
+ pulumi.set(__self__, "display_name", display_name)
42
+ if freeform_tags and not isinstance(freeform_tags, dict):
43
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
44
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
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 lifecycle_details and not isinstance(lifecycle_details, str):
49
+ raise TypeError("Expected argument 'lifecycle_details' to be a str")
50
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
51
+ if product_id and not isinstance(product_id, str):
52
+ raise TypeError("Expected argument 'product_id' to be a str")
53
+ pulumi.set(__self__, "product_id", product_id)
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
+
67
+ @property
68
+ @pulumi.getter(name="compartmentId")
69
+ def compartment_id(self) -> str:
70
+ """
71
+ The OCID of the compartment the CompliancePolicy belongs to.
72
+ """
73
+ return pulumi.get(self, "compartment_id")
74
+
75
+ @property
76
+ @pulumi.getter(name="compliancePolicyId")
77
+ def compliance_policy_id(self) -> str:
78
+ return pulumi.get(self, "compliance_policy_id")
79
+
80
+ @property
81
+ @pulumi.getter(name="definedTags")
82
+ def defined_tags(self) -> Mapping[str, str]:
83
+ """
84
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
85
+ """
86
+ return pulumi.get(self, "defined_tags")
87
+
88
+ @property
89
+ @pulumi.getter(name="displayName")
90
+ def display_name(self) -> str:
91
+ """
92
+ Display name for the CompliancePolicy.
93
+ """
94
+ return pulumi.get(self, "display_name")
95
+
96
+ @property
97
+ @pulumi.getter(name="freeformTags")
98
+ def freeform_tags(self) -> Mapping[str, str]:
99
+ """
100
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
101
+ """
102
+ return pulumi.get(self, "freeform_tags")
103
+
104
+ @property
105
+ @pulumi.getter
106
+ def id(self) -> str:
107
+ """
108
+ The provider-assigned unique ID for this managed resource.
109
+ """
110
+ return pulumi.get(self, "id")
111
+
112
+ @property
113
+ @pulumi.getter(name="lifecycleDetails")
114
+ def lifecycle_details(self) -> str:
115
+ """
116
+ A message that describes the current state of the CompliancePolicy in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
117
+ """
118
+ return pulumi.get(self, "lifecycle_details")
119
+
120
+ @property
121
+ @pulumi.getter(name="productId")
122
+ def product_id(self) -> str:
123
+ """
124
+ platformConfiguration OCID corresponding to the Product.
125
+ """
126
+ return pulumi.get(self, "product_id")
127
+
128
+ @property
129
+ @pulumi.getter
130
+ def state(self) -> str:
131
+ """
132
+ The current state of the CompliancePolicy.
133
+ """
134
+ return pulumi.get(self, "state")
135
+
136
+ @property
137
+ @pulumi.getter(name="systemTags")
138
+ def system_tags(self) -> Mapping[str, str]:
139
+ """
140
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
141
+ """
142
+ return pulumi.get(self, "system_tags")
143
+
144
+ @property
145
+ @pulumi.getter(name="timeCreated")
146
+ def time_created(self) -> str:
147
+ """
148
+ The date and time the CompliancePolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
149
+ """
150
+ return pulumi.get(self, "time_created")
151
+
152
+ @property
153
+ @pulumi.getter(name="timeUpdated")
154
+ def time_updated(self) -> str:
155
+ """
156
+ The date and time the CompliancePolicy was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
157
+ """
158
+ return pulumi.get(self, "time_updated")
159
+
160
+
161
+ class AwaitableGetCompliancePolicyResult(GetCompliancePolicyResult):
162
+ # pylint: disable=using-constant-test
163
+ def __await__(self):
164
+ if False:
165
+ yield self
166
+ return GetCompliancePolicyResult(
167
+ compartment_id=self.compartment_id,
168
+ compliance_policy_id=self.compliance_policy_id,
169
+ defined_tags=self.defined_tags,
170
+ display_name=self.display_name,
171
+ freeform_tags=self.freeform_tags,
172
+ id=self.id,
173
+ lifecycle_details=self.lifecycle_details,
174
+ product_id=self.product_id,
175
+ state=self.state,
176
+ system_tags=self.system_tags,
177
+ time_created=self.time_created,
178
+ time_updated=self.time_updated)
179
+
180
+
181
+ def get_compliance_policy(compliance_policy_id: Optional[str] = None,
182
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCompliancePolicyResult:
183
+ """
184
+ This data source provides details about a specific Compliance Policy resource in Oracle Cloud Infrastructure Fleet Apps Management service.
185
+
186
+ Gets information about a CompliancePolicy.
187
+
188
+ ## Example Usage
189
+
190
+ ```python
191
+ import pulumi
192
+ import pulumi_oci as oci
193
+
194
+ test_compliance_policy = oci.FleetAppsManagement.get_compliance_policy(compliance_policy_id=test_compliance_policy_oci_fleet_apps_management_compliance_policy["id"])
195
+ ```
196
+
197
+
198
+ :param str compliance_policy_id: unique CompliancePolicy identifier.
199
+ """
200
+ __args__ = dict()
201
+ __args__['compliancePolicyId'] = compliance_policy_id
202
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
203
+ __ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getCompliancePolicy:getCompliancePolicy', __args__, opts=opts, typ=GetCompliancePolicyResult).value
204
+
205
+ return AwaitableGetCompliancePolicyResult(
206
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
207
+ compliance_policy_id=pulumi.get(__ret__, 'compliance_policy_id'),
208
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
209
+ display_name=pulumi.get(__ret__, 'display_name'),
210
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
211
+ id=pulumi.get(__ret__, 'id'),
212
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
213
+ product_id=pulumi.get(__ret__, 'product_id'),
214
+ state=pulumi.get(__ret__, 'state'),
215
+ system_tags=pulumi.get(__ret__, 'system_tags'),
216
+ time_created=pulumi.get(__ret__, 'time_created'),
217
+ time_updated=pulumi.get(__ret__, 'time_updated'))
218
+ def get_compliance_policy_output(compliance_policy_id: Optional[pulumi.Input[str]] = None,
219
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCompliancePolicyResult]:
220
+ """
221
+ This data source provides details about a specific Compliance Policy resource in Oracle Cloud Infrastructure Fleet Apps Management service.
222
+
223
+ Gets information about a CompliancePolicy.
224
+
225
+ ## Example Usage
226
+
227
+ ```python
228
+ import pulumi
229
+ import pulumi_oci as oci
230
+
231
+ test_compliance_policy = oci.FleetAppsManagement.get_compliance_policy(compliance_policy_id=test_compliance_policy_oci_fleet_apps_management_compliance_policy["id"])
232
+ ```
233
+
234
+
235
+ :param str compliance_policy_id: unique CompliancePolicy identifier.
236
+ """
237
+ __args__ = dict()
238
+ __args__['compliancePolicyId'] = compliance_policy_id
239
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
240
+ __ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getCompliancePolicy:getCompliancePolicy', __args__, opts=opts, typ=GetCompliancePolicyResult)
241
+ return __ret__.apply(lambda __response__: GetCompliancePolicyResult(
242
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
243
+ compliance_policy_id=pulumi.get(__response__, 'compliance_policy_id'),
244
+ defined_tags=pulumi.get(__response__, 'defined_tags'),
245
+ display_name=pulumi.get(__response__, 'display_name'),
246
+ freeform_tags=pulumi.get(__response__, 'freeform_tags'),
247
+ id=pulumi.get(__response__, 'id'),
248
+ lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
249
+ product_id=pulumi.get(__response__, 'product_id'),
250
+ state=pulumi.get(__response__, 'state'),
251
+ system_tags=pulumi.get(__response__, 'system_tags'),
252
+ time_created=pulumi.get(__response__, 'time_created'),
253
+ time_updated=pulumi.get(__response__, 'time_updated')))
@@ -0,0 +1,324 @@
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
+
18
+ __all__ = [
19
+ 'GetCompliancePolicyRuleResult',
20
+ 'AwaitableGetCompliancePolicyRuleResult',
21
+ 'get_compliance_policy_rule',
22
+ 'get_compliance_policy_rule_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetCompliancePolicyRuleResult:
27
+ """
28
+ A collection of values returned by getCompliancePolicyRule.
29
+ """
30
+ def __init__(__self__, compartment_id=None, compliance_policy_id=None, compliance_policy_rule_id=None, defined_tags=None, display_name=None, freeform_tags=None, grace_period=None, id=None, lifecycle_details=None, patch_selections=None, patch_types=None, product_versions=None, severities=None, state=None, system_tags=None, time_created=None, time_updated=None):
31
+ if compartment_id and not isinstance(compartment_id, str):
32
+ raise TypeError("Expected argument 'compartment_id' to be a str")
33
+ pulumi.set(__self__, "compartment_id", compartment_id)
34
+ if compliance_policy_id and not isinstance(compliance_policy_id, str):
35
+ raise TypeError("Expected argument 'compliance_policy_id' to be a str")
36
+ pulumi.set(__self__, "compliance_policy_id", compliance_policy_id)
37
+ if compliance_policy_rule_id and not isinstance(compliance_policy_rule_id, str):
38
+ raise TypeError("Expected argument 'compliance_policy_rule_id' to be a str")
39
+ pulumi.set(__self__, "compliance_policy_rule_id", compliance_policy_rule_id)
40
+ if defined_tags and not isinstance(defined_tags, dict):
41
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
42
+ pulumi.set(__self__, "defined_tags", defined_tags)
43
+ if display_name and not isinstance(display_name, str):
44
+ raise TypeError("Expected argument 'display_name' to be a str")
45
+ pulumi.set(__self__, "display_name", display_name)
46
+ if freeform_tags and not isinstance(freeform_tags, dict):
47
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
48
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
49
+ if grace_period and not isinstance(grace_period, str):
50
+ raise TypeError("Expected argument 'grace_period' to be a str")
51
+ pulumi.set(__self__, "grace_period", grace_period)
52
+ if id and not isinstance(id, str):
53
+ raise TypeError("Expected argument 'id' to be a str")
54
+ pulumi.set(__self__, "id", id)
55
+ if lifecycle_details and not isinstance(lifecycle_details, str):
56
+ raise TypeError("Expected argument 'lifecycle_details' to be a str")
57
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
58
+ if patch_selections and not isinstance(patch_selections, list):
59
+ raise TypeError("Expected argument 'patch_selections' to be a list")
60
+ pulumi.set(__self__, "patch_selections", patch_selections)
61
+ if patch_types and not isinstance(patch_types, list):
62
+ raise TypeError("Expected argument 'patch_types' to be a list")
63
+ pulumi.set(__self__, "patch_types", patch_types)
64
+ if product_versions and not isinstance(product_versions, list):
65
+ raise TypeError("Expected argument 'product_versions' to be a list")
66
+ pulumi.set(__self__, "product_versions", product_versions)
67
+ if severities and not isinstance(severities, list):
68
+ raise TypeError("Expected argument 'severities' to be a list")
69
+ pulumi.set(__self__, "severities", severities)
70
+ if state and not isinstance(state, str):
71
+ raise TypeError("Expected argument 'state' to be a str")
72
+ pulumi.set(__self__, "state", state)
73
+ if system_tags and not isinstance(system_tags, dict):
74
+ raise TypeError("Expected argument 'system_tags' to be a dict")
75
+ pulumi.set(__self__, "system_tags", system_tags)
76
+ if time_created and not isinstance(time_created, str):
77
+ raise TypeError("Expected argument 'time_created' to be a str")
78
+ pulumi.set(__self__, "time_created", time_created)
79
+ if time_updated and not isinstance(time_updated, str):
80
+ raise TypeError("Expected argument 'time_updated' to be a str")
81
+ pulumi.set(__self__, "time_updated", time_updated)
82
+
83
+ @property
84
+ @pulumi.getter(name="compartmentId")
85
+ def compartment_id(self) -> str:
86
+ """
87
+ The OCID of the compartment the CompliancePolicyRule belongs to.
88
+ """
89
+ return pulumi.get(self, "compartment_id")
90
+
91
+ @property
92
+ @pulumi.getter(name="compliancePolicyId")
93
+ def compliance_policy_id(self) -> str:
94
+ """
95
+ Unique OCID of the CompliancePolicy.
96
+ """
97
+ return pulumi.get(self, "compliance_policy_id")
98
+
99
+ @property
100
+ @pulumi.getter(name="compliancePolicyRuleId")
101
+ def compliance_policy_rule_id(self) -> str:
102
+ return pulumi.get(self, "compliance_policy_rule_id")
103
+
104
+ @property
105
+ @pulumi.getter(name="definedTags")
106
+ def defined_tags(self) -> Mapping[str, str]:
107
+ """
108
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
109
+ """
110
+ return pulumi.get(self, "defined_tags")
111
+
112
+ @property
113
+ @pulumi.getter(name="displayName")
114
+ def display_name(self) -> str:
115
+ """
116
+ A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
117
+ """
118
+ return pulumi.get(self, "display_name")
119
+
120
+ @property
121
+ @pulumi.getter(name="freeformTags")
122
+ def freeform_tags(self) -> Mapping[str, str]:
123
+ """
124
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
125
+ """
126
+ return pulumi.get(self, "freeform_tags")
127
+
128
+ @property
129
+ @pulumi.getter(name="gracePeriod")
130
+ def grace_period(self) -> str:
131
+ """
132
+ Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
133
+ """
134
+ return pulumi.get(self, "grace_period")
135
+
136
+ @property
137
+ @pulumi.getter
138
+ def id(self) -> str:
139
+ """
140
+ Unique OCID of the CompliancePolicyRule.
141
+ """
142
+ return pulumi.get(self, "id")
143
+
144
+ @property
145
+ @pulumi.getter(name="lifecycleDetails")
146
+ def lifecycle_details(self) -> str:
147
+ """
148
+ A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
149
+ """
150
+ return pulumi.get(self, "lifecycle_details")
151
+
152
+ @property
153
+ @pulumi.getter(name="patchSelections")
154
+ def patch_selections(self) -> Sequence['outputs.GetCompliancePolicyRulePatchSelectionResult']:
155
+ """
156
+ Patch Selection Details
157
+ """
158
+ return pulumi.get(self, "patch_selections")
159
+
160
+ @property
161
+ @pulumi.getter(name="patchTypes")
162
+ def patch_types(self) -> Sequence[str]:
163
+ """
164
+ PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
165
+ """
166
+ return pulumi.get(self, "patch_types")
167
+
168
+ @property
169
+ @pulumi.getter(name="productVersions")
170
+ def product_versions(self) -> Sequence['outputs.GetCompliancePolicyRuleProductVersionResult']:
171
+ """
172
+ A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
173
+ """
174
+ return pulumi.get(self, "product_versions")
175
+
176
+ @property
177
+ @pulumi.getter
178
+ def severities(self) -> Sequence[str]:
179
+ """
180
+ Severity to which this CompliancePolicyRule applies.
181
+ """
182
+ return pulumi.get(self, "severities")
183
+
184
+ @property
185
+ @pulumi.getter
186
+ def state(self) -> str:
187
+ """
188
+ The current state of the CompliancePolicyRule.
189
+ """
190
+ return pulumi.get(self, "state")
191
+
192
+ @property
193
+ @pulumi.getter(name="systemTags")
194
+ def system_tags(self) -> Mapping[str, str]:
195
+ """
196
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
197
+ """
198
+ return pulumi.get(self, "system_tags")
199
+
200
+ @property
201
+ @pulumi.getter(name="timeCreated")
202
+ def time_created(self) -> str:
203
+ """
204
+ The date and time the CompliancePolicyRule was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
205
+ """
206
+ return pulumi.get(self, "time_created")
207
+
208
+ @property
209
+ @pulumi.getter(name="timeUpdated")
210
+ def time_updated(self) -> str:
211
+ """
212
+ The date and time the CompliancePolicyRule was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
213
+ """
214
+ return pulumi.get(self, "time_updated")
215
+
216
+
217
+ class AwaitableGetCompliancePolicyRuleResult(GetCompliancePolicyRuleResult):
218
+ # pylint: disable=using-constant-test
219
+ def __await__(self):
220
+ if False:
221
+ yield self
222
+ return GetCompliancePolicyRuleResult(
223
+ compartment_id=self.compartment_id,
224
+ compliance_policy_id=self.compliance_policy_id,
225
+ compliance_policy_rule_id=self.compliance_policy_rule_id,
226
+ defined_tags=self.defined_tags,
227
+ display_name=self.display_name,
228
+ freeform_tags=self.freeform_tags,
229
+ grace_period=self.grace_period,
230
+ id=self.id,
231
+ lifecycle_details=self.lifecycle_details,
232
+ patch_selections=self.patch_selections,
233
+ patch_types=self.patch_types,
234
+ product_versions=self.product_versions,
235
+ severities=self.severities,
236
+ state=self.state,
237
+ system_tags=self.system_tags,
238
+ time_created=self.time_created,
239
+ time_updated=self.time_updated)
240
+
241
+
242
+ def get_compliance_policy_rule(compliance_policy_rule_id: Optional[str] = None,
243
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCompliancePolicyRuleResult:
244
+ """
245
+ This data source provides details about a specific Compliance Policy Rule resource in Oracle Cloud Infrastructure Fleet Apps Management service.
246
+
247
+ Gets information about a CompliancePolicyRule.
248
+
249
+ ## Example Usage
250
+
251
+ ```python
252
+ import pulumi
253
+ import pulumi_oci as oci
254
+
255
+ test_compliance_policy_rule = oci.FleetAppsManagement.get_compliance_policy_rule(compliance_policy_rule_id=test_compliance_policy_rule_oci_fleet_apps_management_compliance_policy_rule["id"])
256
+ ```
257
+
258
+
259
+ :param str compliance_policy_rule_id: unique CompliancePolicyRule identifier.
260
+ """
261
+ __args__ = dict()
262
+ __args__['compliancePolicyRuleId'] = compliance_policy_rule_id
263
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
264
+ __ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getCompliancePolicyRule:getCompliancePolicyRule', __args__, opts=opts, typ=GetCompliancePolicyRuleResult).value
265
+
266
+ return AwaitableGetCompliancePolicyRuleResult(
267
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
268
+ compliance_policy_id=pulumi.get(__ret__, 'compliance_policy_id'),
269
+ compliance_policy_rule_id=pulumi.get(__ret__, 'compliance_policy_rule_id'),
270
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
271
+ display_name=pulumi.get(__ret__, 'display_name'),
272
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
273
+ grace_period=pulumi.get(__ret__, 'grace_period'),
274
+ id=pulumi.get(__ret__, 'id'),
275
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
276
+ patch_selections=pulumi.get(__ret__, 'patch_selections'),
277
+ patch_types=pulumi.get(__ret__, 'patch_types'),
278
+ product_versions=pulumi.get(__ret__, 'product_versions'),
279
+ severities=pulumi.get(__ret__, 'severities'),
280
+ state=pulumi.get(__ret__, 'state'),
281
+ system_tags=pulumi.get(__ret__, 'system_tags'),
282
+ time_created=pulumi.get(__ret__, 'time_created'),
283
+ time_updated=pulumi.get(__ret__, 'time_updated'))
284
+ def get_compliance_policy_rule_output(compliance_policy_rule_id: Optional[pulumi.Input[str]] = None,
285
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCompliancePolicyRuleResult]:
286
+ """
287
+ This data source provides details about a specific Compliance Policy Rule resource in Oracle Cloud Infrastructure Fleet Apps Management service.
288
+
289
+ Gets information about a CompliancePolicyRule.
290
+
291
+ ## Example Usage
292
+
293
+ ```python
294
+ import pulumi
295
+ import pulumi_oci as oci
296
+
297
+ test_compliance_policy_rule = oci.FleetAppsManagement.get_compliance_policy_rule(compliance_policy_rule_id=test_compliance_policy_rule_oci_fleet_apps_management_compliance_policy_rule["id"])
298
+ ```
299
+
300
+
301
+ :param str compliance_policy_rule_id: unique CompliancePolicyRule identifier.
302
+ """
303
+ __args__ = dict()
304
+ __args__['compliancePolicyRuleId'] = compliance_policy_rule_id
305
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
306
+ __ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getCompliancePolicyRule:getCompliancePolicyRule', __args__, opts=opts, typ=GetCompliancePolicyRuleResult)
307
+ return __ret__.apply(lambda __response__: GetCompliancePolicyRuleResult(
308
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
309
+ compliance_policy_id=pulumi.get(__response__, 'compliance_policy_id'),
310
+ compliance_policy_rule_id=pulumi.get(__response__, 'compliance_policy_rule_id'),
311
+ defined_tags=pulumi.get(__response__, 'defined_tags'),
312
+ display_name=pulumi.get(__response__, 'display_name'),
313
+ freeform_tags=pulumi.get(__response__, 'freeform_tags'),
314
+ grace_period=pulumi.get(__response__, 'grace_period'),
315
+ id=pulumi.get(__response__, 'id'),
316
+ lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
317
+ patch_selections=pulumi.get(__response__, 'patch_selections'),
318
+ patch_types=pulumi.get(__response__, 'patch_types'),
319
+ product_versions=pulumi.get(__response__, 'product_versions'),
320
+ severities=pulumi.get(__response__, 'severities'),
321
+ state=pulumi.get(__response__, 'state'),
322
+ system_tags=pulumi.get(__response__, 'system_tags'),
323
+ time_created=pulumi.get(__response__, 'time_created'),
324
+ time_updated=pulumi.get(__response__, 'time_updated')))