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.
- pulumi_oci/__init__.py +56 -0
- pulumi_oci/bigdataservice/__init__.py +4 -0
- pulumi_oci/bigdataservice/_inputs.py +672 -6
- pulumi_oci/bigdataservice/bds_instance.py +169 -7
- pulumi_oci/bigdataservice/bds_instance_api_key.py +66 -3
- pulumi_oci/bigdataservice/bds_instance_identity_configuration.py +859 -0
- pulumi_oci/bigdataservice/bds_instance_patch_action.py +4 -0
- pulumi_oci/bigdataservice/get_bds_cluster_versions.py +123 -0
- pulumi_oci/bigdataservice/get_bds_instance.py +48 -1
- pulumi_oci/bigdataservice/get_bds_instance_api_key.py +17 -1
- pulumi_oci/bigdataservice/get_bds_instance_api_keys.py +3 -0
- pulumi_oci/bigdataservice/get_bds_instance_identity_configuration.py +322 -0
- pulumi_oci/bigdataservice/get_bds_instance_identity_configurations.py +207 -0
- pulumi_oci/bigdataservice/outputs.py +1466 -98
- pulumi_oci/blockchain/get_blockchain_platform.py +1 -1
- pulumi_oci/blockchain/outputs.py +2 -2
- pulumi_oci/core/outputs.py +4 -0
- pulumi_oci/database/autonomous_container_database.py +47 -0
- pulumi_oci/database/autonomous_database.py +94 -0
- pulumi_oci/database/exadb_vm_cluster.py +104 -0
- pulumi_oci/database/get_autonomous_container_database.py +15 -1
- pulumi_oci/database/get_autonomous_database.py +29 -1
- pulumi_oci/database/outputs.py +36 -0
- pulumi_oci/dataflow/application.py +75 -33
- pulumi_oci/dataflow/get_application.py +15 -1
- pulumi_oci/dataflow/outputs.py +7 -0
- pulumi_oci/datascience/_inputs.py +32 -12
- pulumi_oci/datascience/get_job_run.py +3 -3
- pulumi_oci/datascience/get_job_runs.py +2 -2
- pulumi_oci/datascience/job_run.py +7 -7
- pulumi_oci/datascience/model_deployment.py +2 -0
- pulumi_oci/datascience/outputs.py +62 -26
- pulumi_oci/desktops/_inputs.py +9 -9
- pulumi_oci/desktops/desktop_pool.py +84 -35
- pulumi_oci/desktops/get_desktop_pool.py +12 -1
- pulumi_oci/desktops/outputs.py +13 -6
- pulumi_oci/disasterrecovery/_inputs.py +46 -30
- pulumi_oci/disasterrecovery/dr_plan.py +194 -23
- pulumi_oci/disasterrecovery/get_dr_plan.py +54 -4
- pulumi_oci/disasterrecovery/get_dr_plans.py +23 -1
- pulumi_oci/disasterrecovery/outputs.py +113 -21
- pulumi_oci/fleetappsmanagement/__init__.py +19 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +5334 -378
- pulumi_oci/fleetappsmanagement/compliance_policy_rule.py +830 -0
- pulumi_oci/fleetappsmanagement/fleet.py +112 -67
- pulumi_oci/fleetappsmanagement/fleet_credential.py +44 -36
- pulumi_oci/fleetappsmanagement/fleet_property.py +35 -35
- pulumi_oci/fleetappsmanagement/fleet_resource.py +37 -37
- pulumi_oci/fleetappsmanagement/get_announcements.py +4 -4
- pulumi_oci/fleetappsmanagement/get_compliance_policies.py +199 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy.py +253 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rule.py +324 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rules.py +243 -0
- pulumi_oci/fleetappsmanagement/get_compliance_record_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_compliance_records.py +279 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +29 -15
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +7 -7
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +61 -17
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +6 -6
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +11 -11
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +11 -11
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +10 -10
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleets.py +16 -16
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +12 -12
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +8 -8
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +31 -12
- pulumi_oci/fleetappsmanagement/get_managed_entity_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +2 -2
- pulumi_oci/fleetappsmanagement/get_onboardings.py +2 -2
- pulumi_oci/fleetappsmanagement/get_patch.py +363 -0
- pulumi_oci/fleetappsmanagement/get_patches.py +335 -0
- pulumi_oci/fleetappsmanagement/get_platform_configuration.py +296 -0
- pulumi_oci/fleetappsmanagement/get_platform_configurations.py +221 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +9 -9
- pulumi_oci/fleetappsmanagement/get_property.py +4 -4
- pulumi_oci/fleetappsmanagement/get_runbook.py +8 -8
- pulumi_oci/fleetappsmanagement/get_runbooks.py +16 -16
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +10 -10
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +2 -2
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +33 -11
- pulumi_oci/fleetappsmanagement/get_scheduler_job_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_resources.py +245 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_steps.py +245 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +3 -3
- pulumi_oci/fleetappsmanagement/maintenance_window.py +44 -44
- pulumi_oci/fleetappsmanagement/onboarding.py +108 -20
- pulumi_oci/fleetappsmanagement/outputs.py +11222 -2736
- pulumi_oci/fleetappsmanagement/patch.py +978 -0
- pulumi_oci/fleetappsmanagement/platform_configuration.py +687 -0
- pulumi_oci/fleetappsmanagement/property.py +27 -27
- pulumi_oci/fleetappsmanagement/runbook.py +1173 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +30 -30
- pulumi_oci/fleetappsmanagement/task_record.py +754 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +28 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +56 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +15 -1
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +29 -1
- pulumi_oci/fleetsoftwareupdate/outputs.py +33 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +21 -0
- pulumi_oci/goldengate/__init__.py +7 -0
- pulumi_oci/goldengate/_inputs.py +665 -0
- pulumi_oci/goldengate/connection.py +7 -7
- pulumi_oci/goldengate/get_pipeline.py +408 -0
- pulumi_oci/goldengate/get_pipeline_running_processes.py +144 -0
- pulumi_oci/goldengate/get_pipeline_schema_tables.py +207 -0
- pulumi_oci/goldengate/get_pipeline_schemas.py +163 -0
- pulumi_oci/goldengate/get_pipelines.py +213 -0
- pulumi_oci/goldengate/get_recipes.py +188 -0
- pulumi_oci/goldengate/get_trail_files.py +4 -2
- pulumi_oci/goldengate/get_trail_sequences.py +4 -2
- pulumi_oci/goldengate/outputs.py +1500 -0
- pulumi_oci/goldengate/pipeline.py +928 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/stackmonitoring/_inputs.py +94 -14
- pulumi_oci/stackmonitoring/get_metric_extensions.py +22 -3
- pulumi_oci/stackmonitoring/metric_extension.py +8 -0
- pulumi_oci/stackmonitoring/outputs.py +166 -24
- pulumi_oci/visualbuilder/_inputs.py +57 -202
- pulumi_oci/visualbuilder/get_vb_instance.py +15 -29
- pulumi_oci/visualbuilder/outputs.py +114 -400
- pulumi_oci/visualbuilder/vb_instance.py +62 -59
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/METADATA +3 -3
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/RECORD +128 -98
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,335 @@
|
|
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
|
+
'GetPatchesResult',
|
21
|
+
'AwaitableGetPatchesResult',
|
22
|
+
'get_patches',
|
23
|
+
'get_patches_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetPatchesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getPatches.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, name=None, patch_collections=None, patch_type_id=None, product_id=None, should_compliance_policy_rules_be_applied=None, state=None, time_released_greater_than_or_equal_to=None, time_released_less_than=None, type=None, version=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if name and not isinstance(name, str):
|
42
|
+
raise TypeError("Expected argument 'name' to be a str")
|
43
|
+
pulumi.set(__self__, "name", name)
|
44
|
+
if patch_collections and not isinstance(patch_collections, list):
|
45
|
+
raise TypeError("Expected argument 'patch_collections' to be a list")
|
46
|
+
pulumi.set(__self__, "patch_collections", patch_collections)
|
47
|
+
if patch_type_id and not isinstance(patch_type_id, str):
|
48
|
+
raise TypeError("Expected argument 'patch_type_id' to be a str")
|
49
|
+
pulumi.set(__self__, "patch_type_id", patch_type_id)
|
50
|
+
if product_id and not isinstance(product_id, str):
|
51
|
+
raise TypeError("Expected argument 'product_id' to be a str")
|
52
|
+
pulumi.set(__self__, "product_id", product_id)
|
53
|
+
if should_compliance_policy_rules_be_applied and not isinstance(should_compliance_policy_rules_be_applied, bool):
|
54
|
+
raise TypeError("Expected argument 'should_compliance_policy_rules_be_applied' to be a bool")
|
55
|
+
pulumi.set(__self__, "should_compliance_policy_rules_be_applied", should_compliance_policy_rules_be_applied)
|
56
|
+
if state and not isinstance(state, str):
|
57
|
+
raise TypeError("Expected argument 'state' to be a str")
|
58
|
+
pulumi.set(__self__, "state", state)
|
59
|
+
if time_released_greater_than_or_equal_to and not isinstance(time_released_greater_than_or_equal_to, str):
|
60
|
+
raise TypeError("Expected argument 'time_released_greater_than_or_equal_to' to be a str")
|
61
|
+
pulumi.set(__self__, "time_released_greater_than_or_equal_to", time_released_greater_than_or_equal_to)
|
62
|
+
if time_released_less_than and not isinstance(time_released_less_than, str):
|
63
|
+
raise TypeError("Expected argument 'time_released_less_than' to be a str")
|
64
|
+
pulumi.set(__self__, "time_released_less_than", time_released_less_than)
|
65
|
+
if type and not isinstance(type, str):
|
66
|
+
raise TypeError("Expected argument 'type' to be a str")
|
67
|
+
pulumi.set(__self__, "type", type)
|
68
|
+
if version and not isinstance(version, str):
|
69
|
+
raise TypeError("Expected argument 'version' to be a str")
|
70
|
+
pulumi.set(__self__, "version", version)
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="compartmentId")
|
74
|
+
def compartment_id(self) -> Optional[str]:
|
75
|
+
return pulumi.get(self, "compartment_id")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter
|
79
|
+
def filters(self) -> Optional[Sequence['outputs.GetPatchesFilterResult']]:
|
80
|
+
return pulumi.get(self, "filters")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def id(self) -> Optional[str]:
|
85
|
+
"""
|
86
|
+
The OCID of the resource.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "id")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def name(self) -> Optional[str]:
|
93
|
+
"""
|
94
|
+
A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "name")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="patchCollections")
|
100
|
+
def patch_collections(self) -> Sequence['outputs.GetPatchesPatchCollectionResult']:
|
101
|
+
"""
|
102
|
+
The list of patch_collection.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "patch_collections")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="patchTypeId")
|
108
|
+
def patch_type_id(self) -> Optional[str]:
|
109
|
+
return pulumi.get(self, "patch_type_id")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="productId")
|
113
|
+
def product_id(self) -> Optional[str]:
|
114
|
+
return pulumi.get(self, "product_id")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="shouldCompliancePolicyRulesBeApplied")
|
118
|
+
def should_compliance_policy_rules_be_applied(self) -> Optional[bool]:
|
119
|
+
return pulumi.get(self, "should_compliance_policy_rules_be_applied")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def state(self) -> Optional[str]:
|
124
|
+
"""
|
125
|
+
The current state of the Patch.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "state")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="timeReleasedGreaterThanOrEqualTo")
|
131
|
+
def time_released_greater_than_or_equal_to(self) -> Optional[str]:
|
132
|
+
return pulumi.get(self, "time_released_greater_than_or_equal_to")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="timeReleasedLessThan")
|
136
|
+
def time_released_less_than(self) -> Optional[str]:
|
137
|
+
return pulumi.get(self, "time_released_less_than")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def type(self) -> Optional[str]:
|
142
|
+
"""
|
143
|
+
Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "type")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter
|
149
|
+
def version(self) -> Optional[str]:
|
150
|
+
"""
|
151
|
+
product version.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "version")
|
154
|
+
|
155
|
+
|
156
|
+
class AwaitableGetPatchesResult(GetPatchesResult):
|
157
|
+
# pylint: disable=using-constant-test
|
158
|
+
def __await__(self):
|
159
|
+
if False:
|
160
|
+
yield self
|
161
|
+
return GetPatchesResult(
|
162
|
+
compartment_id=self.compartment_id,
|
163
|
+
filters=self.filters,
|
164
|
+
id=self.id,
|
165
|
+
name=self.name,
|
166
|
+
patch_collections=self.patch_collections,
|
167
|
+
patch_type_id=self.patch_type_id,
|
168
|
+
product_id=self.product_id,
|
169
|
+
should_compliance_policy_rules_be_applied=self.should_compliance_policy_rules_be_applied,
|
170
|
+
state=self.state,
|
171
|
+
time_released_greater_than_or_equal_to=self.time_released_greater_than_or_equal_to,
|
172
|
+
time_released_less_than=self.time_released_less_than,
|
173
|
+
type=self.type,
|
174
|
+
version=self.version)
|
175
|
+
|
176
|
+
|
177
|
+
def get_patches(compartment_id: Optional[str] = None,
|
178
|
+
filters: Optional[Sequence[Union['GetPatchesFilterArgs', 'GetPatchesFilterArgsDict']]] = None,
|
179
|
+
id: Optional[str] = None,
|
180
|
+
name: Optional[str] = None,
|
181
|
+
patch_type_id: Optional[str] = None,
|
182
|
+
product_id: Optional[str] = None,
|
183
|
+
should_compliance_policy_rules_be_applied: Optional[bool] = None,
|
184
|
+
state: Optional[str] = None,
|
185
|
+
time_released_greater_than_or_equal_to: Optional[str] = None,
|
186
|
+
time_released_less_than: Optional[str] = None,
|
187
|
+
type: Optional[str] = None,
|
188
|
+
version: Optional[str] = None,
|
189
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPatchesResult:
|
190
|
+
"""
|
191
|
+
This data source provides the list of Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
192
|
+
|
193
|
+
Returns a list of Patches.
|
194
|
+
|
195
|
+
## Example Usage
|
196
|
+
|
197
|
+
```python
|
198
|
+
import pulumi
|
199
|
+
import pulumi_oci as oci
|
200
|
+
|
201
|
+
test_patches = oci.FleetAppsManagement.get_patches(compartment_id=compartment_id,
|
202
|
+
id=patch_id,
|
203
|
+
name=patch_name,
|
204
|
+
patch_type_id=test_patch_type["id"],
|
205
|
+
product_id=test_product["id"],
|
206
|
+
should_compliance_policy_rules_be_applied=patch_should_compliance_policy_rules_be_applied,
|
207
|
+
state=patch_state,
|
208
|
+
time_released_greater_than_or_equal_to=patch_time_released_greater_than_or_equal_to,
|
209
|
+
time_released_less_than=patch_time_released_less_than,
|
210
|
+
type=patch_type,
|
211
|
+
version=patch_version)
|
212
|
+
```
|
213
|
+
|
214
|
+
|
215
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
216
|
+
:param str id: unique Patch identifier
|
217
|
+
:param str name: A filter to return only resources that match the entire name given.
|
218
|
+
:param str patch_type_id: Patch Type platformConfigurationId associated with the Patch.
|
219
|
+
:param str product_id: Product platformConfigurationId associated with the Patch.
|
220
|
+
:param bool should_compliance_policy_rules_be_applied: Filter patch based on compliance policy rules for the Product
|
221
|
+
:param str state: The current state of the Patch.
|
222
|
+
:param str time_released_greater_than_or_equal_to: Patch Released Date
|
223
|
+
:param str time_released_less_than: Patch Released Date
|
224
|
+
:param str type: DefinedBy type.
|
225
|
+
:param str version: Product version
|
226
|
+
"""
|
227
|
+
__args__ = dict()
|
228
|
+
__args__['compartmentId'] = compartment_id
|
229
|
+
__args__['filters'] = filters
|
230
|
+
__args__['id'] = id
|
231
|
+
__args__['name'] = name
|
232
|
+
__args__['patchTypeId'] = patch_type_id
|
233
|
+
__args__['productId'] = product_id
|
234
|
+
__args__['shouldCompliancePolicyRulesBeApplied'] = should_compliance_policy_rules_be_applied
|
235
|
+
__args__['state'] = state
|
236
|
+
__args__['timeReleasedGreaterThanOrEqualTo'] = time_released_greater_than_or_equal_to
|
237
|
+
__args__['timeReleasedLessThan'] = time_released_less_than
|
238
|
+
__args__['type'] = type
|
239
|
+
__args__['version'] = version
|
240
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
241
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getPatches:getPatches', __args__, opts=opts, typ=GetPatchesResult).value
|
242
|
+
|
243
|
+
return AwaitableGetPatchesResult(
|
244
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
245
|
+
filters=pulumi.get(__ret__, 'filters'),
|
246
|
+
id=pulumi.get(__ret__, 'id'),
|
247
|
+
name=pulumi.get(__ret__, 'name'),
|
248
|
+
patch_collections=pulumi.get(__ret__, 'patch_collections'),
|
249
|
+
patch_type_id=pulumi.get(__ret__, 'patch_type_id'),
|
250
|
+
product_id=pulumi.get(__ret__, 'product_id'),
|
251
|
+
should_compliance_policy_rules_be_applied=pulumi.get(__ret__, 'should_compliance_policy_rules_be_applied'),
|
252
|
+
state=pulumi.get(__ret__, 'state'),
|
253
|
+
time_released_greater_than_or_equal_to=pulumi.get(__ret__, 'time_released_greater_than_or_equal_to'),
|
254
|
+
time_released_less_than=pulumi.get(__ret__, 'time_released_less_than'),
|
255
|
+
type=pulumi.get(__ret__, 'type'),
|
256
|
+
version=pulumi.get(__ret__, 'version'))
|
257
|
+
def get_patches_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
258
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPatchesFilterArgs', 'GetPatchesFilterArgsDict']]]]] = None,
|
259
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
260
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
261
|
+
patch_type_id: Optional[pulumi.Input[Optional[str]]] = None,
|
262
|
+
product_id: Optional[pulumi.Input[Optional[str]]] = None,
|
263
|
+
should_compliance_policy_rules_be_applied: Optional[pulumi.Input[Optional[bool]]] = None,
|
264
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
265
|
+
time_released_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
266
|
+
time_released_less_than: Optional[pulumi.Input[Optional[str]]] = None,
|
267
|
+
type: Optional[pulumi.Input[Optional[str]]] = None,
|
268
|
+
version: Optional[pulumi.Input[Optional[str]]] = None,
|
269
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPatchesResult]:
|
270
|
+
"""
|
271
|
+
This data source provides the list of Patches in Oracle Cloud Infrastructure Fleet Apps Management service.
|
272
|
+
|
273
|
+
Returns a list of Patches.
|
274
|
+
|
275
|
+
## Example Usage
|
276
|
+
|
277
|
+
```python
|
278
|
+
import pulumi
|
279
|
+
import pulumi_oci as oci
|
280
|
+
|
281
|
+
test_patches = oci.FleetAppsManagement.get_patches(compartment_id=compartment_id,
|
282
|
+
id=patch_id,
|
283
|
+
name=patch_name,
|
284
|
+
patch_type_id=test_patch_type["id"],
|
285
|
+
product_id=test_product["id"],
|
286
|
+
should_compliance_policy_rules_be_applied=patch_should_compliance_policy_rules_be_applied,
|
287
|
+
state=patch_state,
|
288
|
+
time_released_greater_than_or_equal_to=patch_time_released_greater_than_or_equal_to,
|
289
|
+
time_released_less_than=patch_time_released_less_than,
|
290
|
+
type=patch_type,
|
291
|
+
version=patch_version)
|
292
|
+
```
|
293
|
+
|
294
|
+
|
295
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
296
|
+
:param str id: unique Patch identifier
|
297
|
+
:param str name: A filter to return only resources that match the entire name given.
|
298
|
+
:param str patch_type_id: Patch Type platformConfigurationId associated with the Patch.
|
299
|
+
:param str product_id: Product platformConfigurationId associated with the Patch.
|
300
|
+
:param bool should_compliance_policy_rules_be_applied: Filter patch based on compliance policy rules for the Product
|
301
|
+
:param str state: The current state of the Patch.
|
302
|
+
:param str time_released_greater_than_or_equal_to: Patch Released Date
|
303
|
+
:param str time_released_less_than: Patch Released Date
|
304
|
+
:param str type: DefinedBy type.
|
305
|
+
:param str version: Product version
|
306
|
+
"""
|
307
|
+
__args__ = dict()
|
308
|
+
__args__['compartmentId'] = compartment_id
|
309
|
+
__args__['filters'] = filters
|
310
|
+
__args__['id'] = id
|
311
|
+
__args__['name'] = name
|
312
|
+
__args__['patchTypeId'] = patch_type_id
|
313
|
+
__args__['productId'] = product_id
|
314
|
+
__args__['shouldCompliancePolicyRulesBeApplied'] = should_compliance_policy_rules_be_applied
|
315
|
+
__args__['state'] = state
|
316
|
+
__args__['timeReleasedGreaterThanOrEqualTo'] = time_released_greater_than_or_equal_to
|
317
|
+
__args__['timeReleasedLessThan'] = time_released_less_than
|
318
|
+
__args__['type'] = type
|
319
|
+
__args__['version'] = version
|
320
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
321
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getPatches:getPatches', __args__, opts=opts, typ=GetPatchesResult)
|
322
|
+
return __ret__.apply(lambda __response__: GetPatchesResult(
|
323
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
324
|
+
filters=pulumi.get(__response__, 'filters'),
|
325
|
+
id=pulumi.get(__response__, 'id'),
|
326
|
+
name=pulumi.get(__response__, 'name'),
|
327
|
+
patch_collections=pulumi.get(__response__, 'patch_collections'),
|
328
|
+
patch_type_id=pulumi.get(__response__, 'patch_type_id'),
|
329
|
+
product_id=pulumi.get(__response__, 'product_id'),
|
330
|
+
should_compliance_policy_rules_be_applied=pulumi.get(__response__, 'should_compliance_policy_rules_be_applied'),
|
331
|
+
state=pulumi.get(__response__, 'state'),
|
332
|
+
time_released_greater_than_or_equal_to=pulumi.get(__response__, 'time_released_greater_than_or_equal_to'),
|
333
|
+
time_released_less_than=pulumi.get(__response__, 'time_released_less_than'),
|
334
|
+
type=pulumi.get(__response__, 'type'),
|
335
|
+
version=pulumi.get(__response__, 'version')))
|
@@ -0,0 +1,296 @@
|
|
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
|
+
'GetPlatformConfigurationResult',
|
20
|
+
'AwaitableGetPlatformConfigurationResult',
|
21
|
+
'get_platform_configuration',
|
22
|
+
'get_platform_configuration_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetPlatformConfigurationResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getPlatformConfiguration.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment_id=None, config_category_details=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, platform_configuration_id=None, resource_region=None, state=None, system_tags=None, time_created=None, time_updated=None, type=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 config_category_details and not isinstance(config_category_details, list):
|
35
|
+
raise TypeError("Expected argument 'config_category_details' to be a list")
|
36
|
+
pulumi.set(__self__, "config_category_details", config_category_details)
|
37
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
38
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
39
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
40
|
+
if description and not isinstance(description, str):
|
41
|
+
raise TypeError("Expected argument 'description' to be a str")
|
42
|
+
pulumi.set(__self__, "description", description)
|
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 id and not isinstance(id, str):
|
50
|
+
raise TypeError("Expected argument 'id' to be a str")
|
51
|
+
pulumi.set(__self__, "id", id)
|
52
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
53
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
54
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
55
|
+
if platform_configuration_id and not isinstance(platform_configuration_id, str):
|
56
|
+
raise TypeError("Expected argument 'platform_configuration_id' to be a str")
|
57
|
+
pulumi.set(__self__, "platform_configuration_id", platform_configuration_id)
|
58
|
+
if resource_region and not isinstance(resource_region, str):
|
59
|
+
raise TypeError("Expected argument 'resource_region' to be a str")
|
60
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
61
|
+
if state and not isinstance(state, str):
|
62
|
+
raise TypeError("Expected argument 'state' to be a str")
|
63
|
+
pulumi.set(__self__, "state", state)
|
64
|
+
if system_tags and not isinstance(system_tags, dict):
|
65
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
66
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
67
|
+
if time_created and not isinstance(time_created, str):
|
68
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
69
|
+
pulumi.set(__self__, "time_created", time_created)
|
70
|
+
if time_updated and not isinstance(time_updated, str):
|
71
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
72
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
73
|
+
if type and not isinstance(type, str):
|
74
|
+
raise TypeError("Expected argument 'type' to be a str")
|
75
|
+
pulumi.set(__self__, "type", type)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="compartmentId")
|
79
|
+
def compartment_id(self) -> str:
|
80
|
+
"""
|
81
|
+
Tenancy OCID
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "compartment_id")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="configCategoryDetails")
|
87
|
+
def config_category_details(self) -> Sequence['outputs.GetPlatformConfigurationConfigCategoryDetailResult']:
|
88
|
+
"""
|
89
|
+
Config Category Details.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "config_category_details")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="definedTags")
|
95
|
+
def defined_tags(self) -> Mapping[str, str]:
|
96
|
+
"""
|
97
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "defined_tags")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter
|
103
|
+
def description(self) -> str:
|
104
|
+
"""
|
105
|
+
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "description")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter(name="displayName")
|
111
|
+
def display_name(self) -> str:
|
112
|
+
"""
|
113
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "display_name")
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="freeformTags")
|
119
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
120
|
+
"""
|
121
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "freeform_tags")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter
|
127
|
+
def id(self) -> str:
|
128
|
+
"""
|
129
|
+
The OCID of the resource.
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "id")
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="lifecycleDetails")
|
135
|
+
def lifecycle_details(self) -> str:
|
136
|
+
"""
|
137
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "lifecycle_details")
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="platformConfigurationId")
|
143
|
+
def platform_configuration_id(self) -> str:
|
144
|
+
return pulumi.get(self, "platform_configuration_id")
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="resourceRegion")
|
148
|
+
def resource_region(self) -> str:
|
149
|
+
"""
|
150
|
+
Associated region
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "resource_region")
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter
|
156
|
+
def state(self) -> str:
|
157
|
+
"""
|
158
|
+
The current state of the PlatformConfiguration.
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "state")
|
161
|
+
|
162
|
+
@property
|
163
|
+
@pulumi.getter(name="systemTags")
|
164
|
+
def system_tags(self) -> Mapping[str, str]:
|
165
|
+
"""
|
166
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "system_tags")
|
169
|
+
|
170
|
+
@property
|
171
|
+
@pulumi.getter(name="timeCreated")
|
172
|
+
def time_created(self) -> str:
|
173
|
+
"""
|
174
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "time_created")
|
177
|
+
|
178
|
+
@property
|
179
|
+
@pulumi.getter(name="timeUpdated")
|
180
|
+
def time_updated(self) -> str:
|
181
|
+
"""
|
182
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "time_updated")
|
185
|
+
|
186
|
+
@property
|
187
|
+
@pulumi.getter
|
188
|
+
def type(self) -> str:
|
189
|
+
"""
|
190
|
+
The type of the configuration.
|
191
|
+
"""
|
192
|
+
return pulumi.get(self, "type")
|
193
|
+
|
194
|
+
|
195
|
+
class AwaitableGetPlatformConfigurationResult(GetPlatformConfigurationResult):
|
196
|
+
# pylint: disable=using-constant-test
|
197
|
+
def __await__(self):
|
198
|
+
if False:
|
199
|
+
yield self
|
200
|
+
return GetPlatformConfigurationResult(
|
201
|
+
compartment_id=self.compartment_id,
|
202
|
+
config_category_details=self.config_category_details,
|
203
|
+
defined_tags=self.defined_tags,
|
204
|
+
description=self.description,
|
205
|
+
display_name=self.display_name,
|
206
|
+
freeform_tags=self.freeform_tags,
|
207
|
+
id=self.id,
|
208
|
+
lifecycle_details=self.lifecycle_details,
|
209
|
+
platform_configuration_id=self.platform_configuration_id,
|
210
|
+
resource_region=self.resource_region,
|
211
|
+
state=self.state,
|
212
|
+
system_tags=self.system_tags,
|
213
|
+
time_created=self.time_created,
|
214
|
+
time_updated=self.time_updated,
|
215
|
+
type=self.type)
|
216
|
+
|
217
|
+
|
218
|
+
def get_platform_configuration(platform_configuration_id: Optional[str] = None,
|
219
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPlatformConfigurationResult:
|
220
|
+
"""
|
221
|
+
This data source provides details about a specific Platform Configuration resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
222
|
+
|
223
|
+
Gets a PlatformConfiguration by identifier
|
224
|
+
|
225
|
+
## Example Usage
|
226
|
+
|
227
|
+
```python
|
228
|
+
import pulumi
|
229
|
+
import pulumi_oci as oci
|
230
|
+
|
231
|
+
test_platform_configuration = oci.FleetAppsManagement.get_platform_configuration(platform_configuration_id=test_platform_configuration_oci_fleet_apps_management_platform_configuration["id"])
|
232
|
+
```
|
233
|
+
|
234
|
+
|
235
|
+
:param str platform_configuration_id: unique PlatformConfiguration identifier
|
236
|
+
"""
|
237
|
+
__args__ = dict()
|
238
|
+
__args__['platformConfigurationId'] = platform_configuration_id
|
239
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
240
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getPlatformConfiguration:getPlatformConfiguration', __args__, opts=opts, typ=GetPlatformConfigurationResult).value
|
241
|
+
|
242
|
+
return AwaitableGetPlatformConfigurationResult(
|
243
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
244
|
+
config_category_details=pulumi.get(__ret__, 'config_category_details'),
|
245
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
246
|
+
description=pulumi.get(__ret__, 'description'),
|
247
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
248
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
249
|
+
id=pulumi.get(__ret__, 'id'),
|
250
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
251
|
+
platform_configuration_id=pulumi.get(__ret__, 'platform_configuration_id'),
|
252
|
+
resource_region=pulumi.get(__ret__, 'resource_region'),
|
253
|
+
state=pulumi.get(__ret__, 'state'),
|
254
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
255
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
256
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
257
|
+
type=pulumi.get(__ret__, 'type'))
|
258
|
+
def get_platform_configuration_output(platform_configuration_id: Optional[pulumi.Input[str]] = None,
|
259
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPlatformConfigurationResult]:
|
260
|
+
"""
|
261
|
+
This data source provides details about a specific Platform Configuration resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
262
|
+
|
263
|
+
Gets a PlatformConfiguration by identifier
|
264
|
+
|
265
|
+
## Example Usage
|
266
|
+
|
267
|
+
```python
|
268
|
+
import pulumi
|
269
|
+
import pulumi_oci as oci
|
270
|
+
|
271
|
+
test_platform_configuration = oci.FleetAppsManagement.get_platform_configuration(platform_configuration_id=test_platform_configuration_oci_fleet_apps_management_platform_configuration["id"])
|
272
|
+
```
|
273
|
+
|
274
|
+
|
275
|
+
:param str platform_configuration_id: unique PlatformConfiguration identifier
|
276
|
+
"""
|
277
|
+
__args__ = dict()
|
278
|
+
__args__['platformConfigurationId'] = platform_configuration_id
|
279
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
280
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getPlatformConfiguration:getPlatformConfiguration', __args__, opts=opts, typ=GetPlatformConfigurationResult)
|
281
|
+
return __ret__.apply(lambda __response__: GetPlatformConfigurationResult(
|
282
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
283
|
+
config_category_details=pulumi.get(__response__, 'config_category_details'),
|
284
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
285
|
+
description=pulumi.get(__response__, 'description'),
|
286
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
287
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
288
|
+
id=pulumi.get(__response__, 'id'),
|
289
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
290
|
+
platform_configuration_id=pulumi.get(__response__, 'platform_configuration_id'),
|
291
|
+
resource_region=pulumi.get(__response__, 'resource_region'),
|
292
|
+
state=pulumi.get(__response__, 'state'),
|
293
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
294
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
295
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
296
|
+
type=pulumi.get(__response__, 'type')))
|