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,978 @@
|
|
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__ = ['PatchArgs', 'Patch']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class PatchArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
artifact_details: pulumi.Input['PatchArtifactDetailsArgs'],
|
25
|
+
compartment_id: pulumi.Input[str],
|
26
|
+
patch_type: pulumi.Input['PatchPatchTypeArgs'],
|
27
|
+
product: pulumi.Input['PatchProductArgs'],
|
28
|
+
severity: pulumi.Input[str],
|
29
|
+
time_released: pulumi.Input[str],
|
30
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
31
|
+
dependent_patches: Optional[pulumi.Input[Sequence[pulumi.Input['PatchDependentPatchArgs']]]] = None,
|
32
|
+
description: Optional[pulumi.Input[str]] = None,
|
33
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
34
|
+
name: Optional[pulumi.Input[str]] = None):
|
35
|
+
"""
|
36
|
+
The set of arguments for constructing a Patch resource.
|
37
|
+
:param pulumi.Input['PatchArtifactDetailsArgs'] artifact_details: (Updatable) Patch artifact description and content details.
|
38
|
+
:param pulumi.Input[str] compartment_id: (Updatable)
|
39
|
+
:param pulumi.Input['PatchPatchTypeArgs'] patch_type: (Updatable) Patch Type
|
40
|
+
:param pulumi.Input['PatchProductArgs'] product: (Updatable) Product
|
41
|
+
:param pulumi.Input[str] severity: (Updatable) Patch Severity.
|
42
|
+
:param pulumi.Input[str] time_released: (Updatable) Date when the patch was released.
|
43
|
+
|
44
|
+
|
45
|
+
** IMPORTANT **
|
46
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
47
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input['PatchDependentPatchArgs']]] dependent_patches: (Updatable) Dependent Patches for this patch.
|
49
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
51
|
+
:param pulumi.Input[str] name: A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
52
|
+
"""
|
53
|
+
pulumi.set(__self__, "artifact_details", artifact_details)
|
54
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
55
|
+
pulumi.set(__self__, "patch_type", patch_type)
|
56
|
+
pulumi.set(__self__, "product", product)
|
57
|
+
pulumi.set(__self__, "severity", severity)
|
58
|
+
pulumi.set(__self__, "time_released", time_released)
|
59
|
+
if defined_tags is not None:
|
60
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
61
|
+
if dependent_patches is not None:
|
62
|
+
pulumi.set(__self__, "dependent_patches", dependent_patches)
|
63
|
+
if description is not None:
|
64
|
+
pulumi.set(__self__, "description", description)
|
65
|
+
if freeform_tags is not None:
|
66
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
67
|
+
if name is not None:
|
68
|
+
pulumi.set(__self__, "name", name)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="artifactDetails")
|
72
|
+
def artifact_details(self) -> pulumi.Input['PatchArtifactDetailsArgs']:
|
73
|
+
"""
|
74
|
+
(Updatable) Patch artifact description and content details.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "artifact_details")
|
77
|
+
|
78
|
+
@artifact_details.setter
|
79
|
+
def artifact_details(self, value: pulumi.Input['PatchArtifactDetailsArgs']):
|
80
|
+
pulumi.set(self, "artifact_details", value)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="compartmentId")
|
84
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
85
|
+
"""
|
86
|
+
(Updatable)
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "compartment_id")
|
89
|
+
|
90
|
+
@compartment_id.setter
|
91
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
92
|
+
pulumi.set(self, "compartment_id", value)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="patchType")
|
96
|
+
def patch_type(self) -> pulumi.Input['PatchPatchTypeArgs']:
|
97
|
+
"""
|
98
|
+
(Updatable) Patch Type
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "patch_type")
|
101
|
+
|
102
|
+
@patch_type.setter
|
103
|
+
def patch_type(self, value: pulumi.Input['PatchPatchTypeArgs']):
|
104
|
+
pulumi.set(self, "patch_type", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter
|
108
|
+
def product(self) -> pulumi.Input['PatchProductArgs']:
|
109
|
+
"""
|
110
|
+
(Updatable) Product
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "product")
|
113
|
+
|
114
|
+
@product.setter
|
115
|
+
def product(self, value: pulumi.Input['PatchProductArgs']):
|
116
|
+
pulumi.set(self, "product", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter
|
120
|
+
def severity(self) -> pulumi.Input[str]:
|
121
|
+
"""
|
122
|
+
(Updatable) Patch Severity.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "severity")
|
125
|
+
|
126
|
+
@severity.setter
|
127
|
+
def severity(self, value: pulumi.Input[str]):
|
128
|
+
pulumi.set(self, "severity", value)
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="timeReleased")
|
132
|
+
def time_released(self) -> pulumi.Input[str]:
|
133
|
+
"""
|
134
|
+
(Updatable) Date when the patch was released.
|
135
|
+
|
136
|
+
|
137
|
+
** IMPORTANT **
|
138
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "time_released")
|
141
|
+
|
142
|
+
@time_released.setter
|
143
|
+
def time_released(self, value: pulumi.Input[str]):
|
144
|
+
pulumi.set(self, "time_released", value)
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="definedTags")
|
148
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
149
|
+
"""
|
150
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "defined_tags")
|
153
|
+
|
154
|
+
@defined_tags.setter
|
155
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
156
|
+
pulumi.set(self, "defined_tags", value)
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="dependentPatches")
|
160
|
+
def dependent_patches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PatchDependentPatchArgs']]]]:
|
161
|
+
"""
|
162
|
+
(Updatable) Dependent Patches for this patch.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "dependent_patches")
|
165
|
+
|
166
|
+
@dependent_patches.setter
|
167
|
+
def dependent_patches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PatchDependentPatchArgs']]]]):
|
168
|
+
pulumi.set(self, "dependent_patches", value)
|
169
|
+
|
170
|
+
@property
|
171
|
+
@pulumi.getter
|
172
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
"""
|
174
|
+
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "description")
|
177
|
+
|
178
|
+
@description.setter
|
179
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
180
|
+
pulumi.set(self, "description", value)
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter(name="freeformTags")
|
184
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
185
|
+
"""
|
186
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "freeform_tags")
|
189
|
+
|
190
|
+
@freeform_tags.setter
|
191
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
192
|
+
pulumi.set(self, "freeform_tags", value)
|
193
|
+
|
194
|
+
@property
|
195
|
+
@pulumi.getter
|
196
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
197
|
+
"""
|
198
|
+
A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "name")
|
201
|
+
|
202
|
+
@name.setter
|
203
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
204
|
+
pulumi.set(self, "name", value)
|
205
|
+
|
206
|
+
|
207
|
+
@pulumi.input_type
|
208
|
+
class _PatchState:
|
209
|
+
def __init__(__self__, *,
|
210
|
+
artifact_details: Optional[pulumi.Input['PatchArtifactDetailsArgs']] = None,
|
211
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
212
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
213
|
+
dependent_patches: Optional[pulumi.Input[Sequence[pulumi.Input['PatchDependentPatchArgs']]]] = None,
|
214
|
+
description: Optional[pulumi.Input[str]] = None,
|
215
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
216
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
217
|
+
name: Optional[pulumi.Input[str]] = None,
|
218
|
+
patch_type: Optional[pulumi.Input['PatchPatchTypeArgs']] = None,
|
219
|
+
product: Optional[pulumi.Input['PatchProductArgs']] = None,
|
220
|
+
resource_region: Optional[pulumi.Input[str]] = None,
|
221
|
+
severity: Optional[pulumi.Input[str]] = None,
|
222
|
+
state: Optional[pulumi.Input[str]] = None,
|
223
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
224
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
225
|
+
time_released: Optional[pulumi.Input[str]] = None,
|
226
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
227
|
+
type: Optional[pulumi.Input[str]] = None):
|
228
|
+
"""
|
229
|
+
Input properties used for looking up and filtering Patch resources.
|
230
|
+
:param pulumi.Input['PatchArtifactDetailsArgs'] artifact_details: (Updatable) Patch artifact description and content details.
|
231
|
+
:param pulumi.Input[str] compartment_id: (Updatable)
|
232
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
233
|
+
:param pulumi.Input[Sequence[pulumi.Input['PatchDependentPatchArgs']]] dependent_patches: (Updatable) Dependent Patches for this patch.
|
234
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
235
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
236
|
+
:param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
237
|
+
:param pulumi.Input[str] name: A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
238
|
+
:param pulumi.Input['PatchPatchTypeArgs'] patch_type: (Updatable) Patch Type
|
239
|
+
:param pulumi.Input['PatchProductArgs'] product: (Updatable) Product
|
240
|
+
:param pulumi.Input[str] resource_region: Associated region
|
241
|
+
:param pulumi.Input[str] severity: (Updatable) Patch Severity.
|
242
|
+
:param pulumi.Input[str] state: The current state of the Patch.
|
243
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
244
|
+
:param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string.
|
245
|
+
:param pulumi.Input[str] time_released: (Updatable) Date when the patch was released.
|
246
|
+
|
247
|
+
|
248
|
+
** IMPORTANT **
|
249
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
250
|
+
:param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string.
|
251
|
+
:param pulumi.Input[str] type: 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
|
252
|
+
"""
|
253
|
+
if artifact_details is not None:
|
254
|
+
pulumi.set(__self__, "artifact_details", artifact_details)
|
255
|
+
if compartment_id is not None:
|
256
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
257
|
+
if defined_tags is not None:
|
258
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
259
|
+
if dependent_patches is not None:
|
260
|
+
pulumi.set(__self__, "dependent_patches", dependent_patches)
|
261
|
+
if description is not None:
|
262
|
+
pulumi.set(__self__, "description", description)
|
263
|
+
if freeform_tags is not None:
|
264
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
265
|
+
if lifecycle_details is not None:
|
266
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
267
|
+
if name is not None:
|
268
|
+
pulumi.set(__self__, "name", name)
|
269
|
+
if patch_type is not None:
|
270
|
+
pulumi.set(__self__, "patch_type", patch_type)
|
271
|
+
if product is not None:
|
272
|
+
pulumi.set(__self__, "product", product)
|
273
|
+
if resource_region is not None:
|
274
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
275
|
+
if severity is not None:
|
276
|
+
pulumi.set(__self__, "severity", severity)
|
277
|
+
if state is not None:
|
278
|
+
pulumi.set(__self__, "state", state)
|
279
|
+
if system_tags is not None:
|
280
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
281
|
+
if time_created is not None:
|
282
|
+
pulumi.set(__self__, "time_created", time_created)
|
283
|
+
if time_released is not None:
|
284
|
+
pulumi.set(__self__, "time_released", time_released)
|
285
|
+
if time_updated is not None:
|
286
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
287
|
+
if type is not None:
|
288
|
+
pulumi.set(__self__, "type", type)
|
289
|
+
|
290
|
+
@property
|
291
|
+
@pulumi.getter(name="artifactDetails")
|
292
|
+
def artifact_details(self) -> Optional[pulumi.Input['PatchArtifactDetailsArgs']]:
|
293
|
+
"""
|
294
|
+
(Updatable) Patch artifact description and content details.
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "artifact_details")
|
297
|
+
|
298
|
+
@artifact_details.setter
|
299
|
+
def artifact_details(self, value: Optional[pulumi.Input['PatchArtifactDetailsArgs']]):
|
300
|
+
pulumi.set(self, "artifact_details", value)
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter(name="compartmentId")
|
304
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
305
|
+
"""
|
306
|
+
(Updatable)
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "compartment_id")
|
309
|
+
|
310
|
+
@compartment_id.setter
|
311
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
312
|
+
pulumi.set(self, "compartment_id", value)
|
313
|
+
|
314
|
+
@property
|
315
|
+
@pulumi.getter(name="definedTags")
|
316
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
317
|
+
"""
|
318
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
319
|
+
"""
|
320
|
+
return pulumi.get(self, "defined_tags")
|
321
|
+
|
322
|
+
@defined_tags.setter
|
323
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
324
|
+
pulumi.set(self, "defined_tags", value)
|
325
|
+
|
326
|
+
@property
|
327
|
+
@pulumi.getter(name="dependentPatches")
|
328
|
+
def dependent_patches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PatchDependentPatchArgs']]]]:
|
329
|
+
"""
|
330
|
+
(Updatable) Dependent Patches for this patch.
|
331
|
+
"""
|
332
|
+
return pulumi.get(self, "dependent_patches")
|
333
|
+
|
334
|
+
@dependent_patches.setter
|
335
|
+
def dependent_patches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PatchDependentPatchArgs']]]]):
|
336
|
+
pulumi.set(self, "dependent_patches", value)
|
337
|
+
|
338
|
+
@property
|
339
|
+
@pulumi.getter
|
340
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
341
|
+
"""
|
342
|
+
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
343
|
+
"""
|
344
|
+
return pulumi.get(self, "description")
|
345
|
+
|
346
|
+
@description.setter
|
347
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
348
|
+
pulumi.set(self, "description", value)
|
349
|
+
|
350
|
+
@property
|
351
|
+
@pulumi.getter(name="freeformTags")
|
352
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
353
|
+
"""
|
354
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "freeform_tags")
|
357
|
+
|
358
|
+
@freeform_tags.setter
|
359
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
360
|
+
pulumi.set(self, "freeform_tags", value)
|
361
|
+
|
362
|
+
@property
|
363
|
+
@pulumi.getter(name="lifecycleDetails")
|
364
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
365
|
+
"""
|
366
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
367
|
+
"""
|
368
|
+
return pulumi.get(self, "lifecycle_details")
|
369
|
+
|
370
|
+
@lifecycle_details.setter
|
371
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
372
|
+
pulumi.set(self, "lifecycle_details", value)
|
373
|
+
|
374
|
+
@property
|
375
|
+
@pulumi.getter
|
376
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
377
|
+
"""
|
378
|
+
A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
379
|
+
"""
|
380
|
+
return pulumi.get(self, "name")
|
381
|
+
|
382
|
+
@name.setter
|
383
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
384
|
+
pulumi.set(self, "name", value)
|
385
|
+
|
386
|
+
@property
|
387
|
+
@pulumi.getter(name="patchType")
|
388
|
+
def patch_type(self) -> Optional[pulumi.Input['PatchPatchTypeArgs']]:
|
389
|
+
"""
|
390
|
+
(Updatable) Patch Type
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "patch_type")
|
393
|
+
|
394
|
+
@patch_type.setter
|
395
|
+
def patch_type(self, value: Optional[pulumi.Input['PatchPatchTypeArgs']]):
|
396
|
+
pulumi.set(self, "patch_type", value)
|
397
|
+
|
398
|
+
@property
|
399
|
+
@pulumi.getter
|
400
|
+
def product(self) -> Optional[pulumi.Input['PatchProductArgs']]:
|
401
|
+
"""
|
402
|
+
(Updatable) Product
|
403
|
+
"""
|
404
|
+
return pulumi.get(self, "product")
|
405
|
+
|
406
|
+
@product.setter
|
407
|
+
def product(self, value: Optional[pulumi.Input['PatchProductArgs']]):
|
408
|
+
pulumi.set(self, "product", value)
|
409
|
+
|
410
|
+
@property
|
411
|
+
@pulumi.getter(name="resourceRegion")
|
412
|
+
def resource_region(self) -> Optional[pulumi.Input[str]]:
|
413
|
+
"""
|
414
|
+
Associated region
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "resource_region")
|
417
|
+
|
418
|
+
@resource_region.setter
|
419
|
+
def resource_region(self, value: Optional[pulumi.Input[str]]):
|
420
|
+
pulumi.set(self, "resource_region", value)
|
421
|
+
|
422
|
+
@property
|
423
|
+
@pulumi.getter
|
424
|
+
def severity(self) -> Optional[pulumi.Input[str]]:
|
425
|
+
"""
|
426
|
+
(Updatable) Patch Severity.
|
427
|
+
"""
|
428
|
+
return pulumi.get(self, "severity")
|
429
|
+
|
430
|
+
@severity.setter
|
431
|
+
def severity(self, value: Optional[pulumi.Input[str]]):
|
432
|
+
pulumi.set(self, "severity", value)
|
433
|
+
|
434
|
+
@property
|
435
|
+
@pulumi.getter
|
436
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
437
|
+
"""
|
438
|
+
The current state of the Patch.
|
439
|
+
"""
|
440
|
+
return pulumi.get(self, "state")
|
441
|
+
|
442
|
+
@state.setter
|
443
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
444
|
+
pulumi.set(self, "state", value)
|
445
|
+
|
446
|
+
@property
|
447
|
+
@pulumi.getter(name="systemTags")
|
448
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
449
|
+
"""
|
450
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
451
|
+
"""
|
452
|
+
return pulumi.get(self, "system_tags")
|
453
|
+
|
454
|
+
@system_tags.setter
|
455
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
456
|
+
pulumi.set(self, "system_tags", value)
|
457
|
+
|
458
|
+
@property
|
459
|
+
@pulumi.getter(name="timeCreated")
|
460
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
461
|
+
"""
|
462
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
463
|
+
"""
|
464
|
+
return pulumi.get(self, "time_created")
|
465
|
+
|
466
|
+
@time_created.setter
|
467
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
468
|
+
pulumi.set(self, "time_created", value)
|
469
|
+
|
470
|
+
@property
|
471
|
+
@pulumi.getter(name="timeReleased")
|
472
|
+
def time_released(self) -> Optional[pulumi.Input[str]]:
|
473
|
+
"""
|
474
|
+
(Updatable) Date when the patch was released.
|
475
|
+
|
476
|
+
|
477
|
+
** IMPORTANT **
|
478
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
479
|
+
"""
|
480
|
+
return pulumi.get(self, "time_released")
|
481
|
+
|
482
|
+
@time_released.setter
|
483
|
+
def time_released(self, value: Optional[pulumi.Input[str]]):
|
484
|
+
pulumi.set(self, "time_released", value)
|
485
|
+
|
486
|
+
@property
|
487
|
+
@pulumi.getter(name="timeUpdated")
|
488
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
489
|
+
"""
|
490
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
491
|
+
"""
|
492
|
+
return pulumi.get(self, "time_updated")
|
493
|
+
|
494
|
+
@time_updated.setter
|
495
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
496
|
+
pulumi.set(self, "time_updated", value)
|
497
|
+
|
498
|
+
@property
|
499
|
+
@pulumi.getter
|
500
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
501
|
+
"""
|
502
|
+
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
|
503
|
+
"""
|
504
|
+
return pulumi.get(self, "type")
|
505
|
+
|
506
|
+
@type.setter
|
507
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
508
|
+
pulumi.set(self, "type", value)
|
509
|
+
|
510
|
+
|
511
|
+
class Patch(pulumi.CustomResource):
|
512
|
+
@overload
|
513
|
+
def __init__(__self__,
|
514
|
+
resource_name: str,
|
515
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
516
|
+
artifact_details: Optional[pulumi.Input[Union['PatchArtifactDetailsArgs', 'PatchArtifactDetailsArgsDict']]] = None,
|
517
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
518
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
519
|
+
dependent_patches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PatchDependentPatchArgs', 'PatchDependentPatchArgsDict']]]]] = None,
|
520
|
+
description: Optional[pulumi.Input[str]] = None,
|
521
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
522
|
+
name: Optional[pulumi.Input[str]] = None,
|
523
|
+
patch_type: Optional[pulumi.Input[Union['PatchPatchTypeArgs', 'PatchPatchTypeArgsDict']]] = None,
|
524
|
+
product: Optional[pulumi.Input[Union['PatchProductArgs', 'PatchProductArgsDict']]] = None,
|
525
|
+
severity: Optional[pulumi.Input[str]] = None,
|
526
|
+
time_released: Optional[pulumi.Input[str]] = None,
|
527
|
+
__props__=None):
|
528
|
+
"""
|
529
|
+
This resource provides the Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
530
|
+
|
531
|
+
Creates a new Patch.
|
532
|
+
|
533
|
+
## Example Usage
|
534
|
+
|
535
|
+
```python
|
536
|
+
import pulumi
|
537
|
+
import pulumi_oci as oci
|
538
|
+
|
539
|
+
test_patch = oci.fleet_apps_management.Patch("test_patch",
|
540
|
+
artifact_details={
|
541
|
+
"category": patch_artifact_details_category,
|
542
|
+
"artifact": {
|
543
|
+
"content": {
|
544
|
+
"bucket": patch_artifact_details_artifact_content_bucket,
|
545
|
+
"checksum": patch_artifact_details_artifact_content_checksum,
|
546
|
+
"namespace": patch_artifact_details_artifact_content_namespace,
|
547
|
+
"object": patch_artifact_details_artifact_content_object,
|
548
|
+
"source_type": patch_artifact_details_artifact_content_source_type,
|
549
|
+
},
|
550
|
+
},
|
551
|
+
"artifacts": [{
|
552
|
+
"architecture": patch_artifact_details_artifacts_architecture,
|
553
|
+
"content": {
|
554
|
+
"bucket": patch_artifact_details_artifacts_content_bucket,
|
555
|
+
"checksum": patch_artifact_details_artifacts_content_checksum,
|
556
|
+
"namespace": patch_artifact_details_artifacts_content_namespace,
|
557
|
+
"object": patch_artifact_details_artifacts_content_object,
|
558
|
+
"source_type": patch_artifact_details_artifacts_content_source_type,
|
559
|
+
},
|
560
|
+
"os_type": patch_artifact_details_artifacts_os_type,
|
561
|
+
}],
|
562
|
+
},
|
563
|
+
compartment_id=compartment_id,
|
564
|
+
name=patch_name,
|
565
|
+
patch_type={
|
566
|
+
"platform_configuration_id": test_platform_configuration["id"],
|
567
|
+
},
|
568
|
+
product={
|
569
|
+
"platform_configuration_id": test_platform_configuration["id"],
|
570
|
+
"version": patch_product_version,
|
571
|
+
},
|
572
|
+
severity=patch_severity,
|
573
|
+
time_released=patch_time_released,
|
574
|
+
defined_tags={
|
575
|
+
"foo-namespace.bar-key": "value",
|
576
|
+
},
|
577
|
+
dependent_patches=[{
|
578
|
+
"id": patch_dependent_patches_id,
|
579
|
+
}],
|
580
|
+
description=patch_description,
|
581
|
+
freeform_tags={
|
582
|
+
"bar-key": "value",
|
583
|
+
})
|
584
|
+
```
|
585
|
+
|
586
|
+
## Import
|
587
|
+
|
588
|
+
Patches can be imported using the `id`, e.g.
|
589
|
+
|
590
|
+
```sh
|
591
|
+
$ pulumi import oci:FleetAppsManagement/patch:Patch test_patch "id"
|
592
|
+
```
|
593
|
+
|
594
|
+
:param str resource_name: The name of the resource.
|
595
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
596
|
+
:param pulumi.Input[Union['PatchArtifactDetailsArgs', 'PatchArtifactDetailsArgsDict']] artifact_details: (Updatable) Patch artifact description and content details.
|
597
|
+
:param pulumi.Input[str] compartment_id: (Updatable)
|
598
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
599
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['PatchDependentPatchArgs', 'PatchDependentPatchArgsDict']]]] dependent_patches: (Updatable) Dependent Patches for this patch.
|
600
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
601
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
602
|
+
:param pulumi.Input[str] name: A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
603
|
+
:param pulumi.Input[Union['PatchPatchTypeArgs', 'PatchPatchTypeArgsDict']] patch_type: (Updatable) Patch Type
|
604
|
+
:param pulumi.Input[Union['PatchProductArgs', 'PatchProductArgsDict']] product: (Updatable) Product
|
605
|
+
:param pulumi.Input[str] severity: (Updatable) Patch Severity.
|
606
|
+
:param pulumi.Input[str] time_released: (Updatable) Date when the patch was released.
|
607
|
+
|
608
|
+
|
609
|
+
** IMPORTANT **
|
610
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
611
|
+
"""
|
612
|
+
...
|
613
|
+
@overload
|
614
|
+
def __init__(__self__,
|
615
|
+
resource_name: str,
|
616
|
+
args: PatchArgs,
|
617
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
618
|
+
"""
|
619
|
+
This resource provides the Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
620
|
+
|
621
|
+
Creates a new Patch.
|
622
|
+
|
623
|
+
## Example Usage
|
624
|
+
|
625
|
+
```python
|
626
|
+
import pulumi
|
627
|
+
import pulumi_oci as oci
|
628
|
+
|
629
|
+
test_patch = oci.fleet_apps_management.Patch("test_patch",
|
630
|
+
artifact_details={
|
631
|
+
"category": patch_artifact_details_category,
|
632
|
+
"artifact": {
|
633
|
+
"content": {
|
634
|
+
"bucket": patch_artifact_details_artifact_content_bucket,
|
635
|
+
"checksum": patch_artifact_details_artifact_content_checksum,
|
636
|
+
"namespace": patch_artifact_details_artifact_content_namespace,
|
637
|
+
"object": patch_artifact_details_artifact_content_object,
|
638
|
+
"source_type": patch_artifact_details_artifact_content_source_type,
|
639
|
+
},
|
640
|
+
},
|
641
|
+
"artifacts": [{
|
642
|
+
"architecture": patch_artifact_details_artifacts_architecture,
|
643
|
+
"content": {
|
644
|
+
"bucket": patch_artifact_details_artifacts_content_bucket,
|
645
|
+
"checksum": patch_artifact_details_artifacts_content_checksum,
|
646
|
+
"namespace": patch_artifact_details_artifacts_content_namespace,
|
647
|
+
"object": patch_artifact_details_artifacts_content_object,
|
648
|
+
"source_type": patch_artifact_details_artifacts_content_source_type,
|
649
|
+
},
|
650
|
+
"os_type": patch_artifact_details_artifacts_os_type,
|
651
|
+
}],
|
652
|
+
},
|
653
|
+
compartment_id=compartment_id,
|
654
|
+
name=patch_name,
|
655
|
+
patch_type={
|
656
|
+
"platform_configuration_id": test_platform_configuration["id"],
|
657
|
+
},
|
658
|
+
product={
|
659
|
+
"platform_configuration_id": test_platform_configuration["id"],
|
660
|
+
"version": patch_product_version,
|
661
|
+
},
|
662
|
+
severity=patch_severity,
|
663
|
+
time_released=patch_time_released,
|
664
|
+
defined_tags={
|
665
|
+
"foo-namespace.bar-key": "value",
|
666
|
+
},
|
667
|
+
dependent_patches=[{
|
668
|
+
"id": patch_dependent_patches_id,
|
669
|
+
}],
|
670
|
+
description=patch_description,
|
671
|
+
freeform_tags={
|
672
|
+
"bar-key": "value",
|
673
|
+
})
|
674
|
+
```
|
675
|
+
|
676
|
+
## Import
|
677
|
+
|
678
|
+
Patches can be imported using the `id`, e.g.
|
679
|
+
|
680
|
+
```sh
|
681
|
+
$ pulumi import oci:FleetAppsManagement/patch:Patch test_patch "id"
|
682
|
+
```
|
683
|
+
|
684
|
+
:param str resource_name: The name of the resource.
|
685
|
+
:param PatchArgs args: The arguments to use to populate this resource's properties.
|
686
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
687
|
+
"""
|
688
|
+
...
|
689
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
690
|
+
resource_args, opts = _utilities.get_resource_args_opts(PatchArgs, pulumi.ResourceOptions, *args, **kwargs)
|
691
|
+
if resource_args is not None:
|
692
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
693
|
+
else:
|
694
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
695
|
+
|
696
|
+
def _internal_init(__self__,
|
697
|
+
resource_name: str,
|
698
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
699
|
+
artifact_details: Optional[pulumi.Input[Union['PatchArtifactDetailsArgs', 'PatchArtifactDetailsArgsDict']]] = None,
|
700
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
701
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
702
|
+
dependent_patches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PatchDependentPatchArgs', 'PatchDependentPatchArgsDict']]]]] = None,
|
703
|
+
description: Optional[pulumi.Input[str]] = None,
|
704
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
705
|
+
name: Optional[pulumi.Input[str]] = None,
|
706
|
+
patch_type: Optional[pulumi.Input[Union['PatchPatchTypeArgs', 'PatchPatchTypeArgsDict']]] = None,
|
707
|
+
product: Optional[pulumi.Input[Union['PatchProductArgs', 'PatchProductArgsDict']]] = None,
|
708
|
+
severity: Optional[pulumi.Input[str]] = None,
|
709
|
+
time_released: Optional[pulumi.Input[str]] = None,
|
710
|
+
__props__=None):
|
711
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
712
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
713
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
714
|
+
if opts.id is None:
|
715
|
+
if __props__ is not None:
|
716
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
717
|
+
__props__ = PatchArgs.__new__(PatchArgs)
|
718
|
+
|
719
|
+
if artifact_details is None and not opts.urn:
|
720
|
+
raise TypeError("Missing required property 'artifact_details'")
|
721
|
+
__props__.__dict__["artifact_details"] = artifact_details
|
722
|
+
if compartment_id is None and not opts.urn:
|
723
|
+
raise TypeError("Missing required property 'compartment_id'")
|
724
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
725
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
726
|
+
__props__.__dict__["dependent_patches"] = dependent_patches
|
727
|
+
__props__.__dict__["description"] = description
|
728
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
729
|
+
__props__.__dict__["name"] = name
|
730
|
+
if patch_type is None and not opts.urn:
|
731
|
+
raise TypeError("Missing required property 'patch_type'")
|
732
|
+
__props__.__dict__["patch_type"] = patch_type
|
733
|
+
if product is None and not opts.urn:
|
734
|
+
raise TypeError("Missing required property 'product'")
|
735
|
+
__props__.__dict__["product"] = product
|
736
|
+
if severity is None and not opts.urn:
|
737
|
+
raise TypeError("Missing required property 'severity'")
|
738
|
+
__props__.__dict__["severity"] = severity
|
739
|
+
if time_released is None and not opts.urn:
|
740
|
+
raise TypeError("Missing required property 'time_released'")
|
741
|
+
__props__.__dict__["time_released"] = time_released
|
742
|
+
__props__.__dict__["lifecycle_details"] = None
|
743
|
+
__props__.__dict__["resource_region"] = None
|
744
|
+
__props__.__dict__["state"] = None
|
745
|
+
__props__.__dict__["system_tags"] = None
|
746
|
+
__props__.__dict__["time_created"] = None
|
747
|
+
__props__.__dict__["time_updated"] = None
|
748
|
+
__props__.__dict__["type"] = None
|
749
|
+
super(Patch, __self__).__init__(
|
750
|
+
'oci:FleetAppsManagement/patch:Patch',
|
751
|
+
resource_name,
|
752
|
+
__props__,
|
753
|
+
opts)
|
754
|
+
|
755
|
+
@staticmethod
|
756
|
+
def get(resource_name: str,
|
757
|
+
id: pulumi.Input[str],
|
758
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
759
|
+
artifact_details: Optional[pulumi.Input[Union['PatchArtifactDetailsArgs', 'PatchArtifactDetailsArgsDict']]] = None,
|
760
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
761
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
762
|
+
dependent_patches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PatchDependentPatchArgs', 'PatchDependentPatchArgsDict']]]]] = None,
|
763
|
+
description: Optional[pulumi.Input[str]] = None,
|
764
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
765
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
766
|
+
name: Optional[pulumi.Input[str]] = None,
|
767
|
+
patch_type: Optional[pulumi.Input[Union['PatchPatchTypeArgs', 'PatchPatchTypeArgsDict']]] = None,
|
768
|
+
product: Optional[pulumi.Input[Union['PatchProductArgs', 'PatchProductArgsDict']]] = None,
|
769
|
+
resource_region: Optional[pulumi.Input[str]] = None,
|
770
|
+
severity: Optional[pulumi.Input[str]] = None,
|
771
|
+
state: Optional[pulumi.Input[str]] = None,
|
772
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
773
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
774
|
+
time_released: Optional[pulumi.Input[str]] = None,
|
775
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
776
|
+
type: Optional[pulumi.Input[str]] = None) -> 'Patch':
|
777
|
+
"""
|
778
|
+
Get an existing Patch resource's state with the given name, id, and optional extra
|
779
|
+
properties used to qualify the lookup.
|
780
|
+
|
781
|
+
:param str resource_name: The unique name of the resulting resource.
|
782
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
783
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
784
|
+
:param pulumi.Input[Union['PatchArtifactDetailsArgs', 'PatchArtifactDetailsArgsDict']] artifact_details: (Updatable) Patch artifact description and content details.
|
785
|
+
:param pulumi.Input[str] compartment_id: (Updatable)
|
786
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
787
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['PatchDependentPatchArgs', 'PatchDependentPatchArgsDict']]]] dependent_patches: (Updatable) Dependent Patches for this patch.
|
788
|
+
:param pulumi.Input[str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
789
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
790
|
+
:param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
791
|
+
:param pulumi.Input[str] name: A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
792
|
+
:param pulumi.Input[Union['PatchPatchTypeArgs', 'PatchPatchTypeArgsDict']] patch_type: (Updatable) Patch Type
|
793
|
+
:param pulumi.Input[Union['PatchProductArgs', 'PatchProductArgsDict']] product: (Updatable) Product
|
794
|
+
:param pulumi.Input[str] resource_region: Associated region
|
795
|
+
:param pulumi.Input[str] severity: (Updatable) Patch Severity.
|
796
|
+
:param pulumi.Input[str] state: The current state of the Patch.
|
797
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
798
|
+
:param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string.
|
799
|
+
:param pulumi.Input[str] time_released: (Updatable) Date when the patch was released.
|
800
|
+
|
801
|
+
|
802
|
+
** IMPORTANT **
|
803
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
804
|
+
:param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string.
|
805
|
+
:param pulumi.Input[str] type: 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
|
806
|
+
"""
|
807
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
808
|
+
|
809
|
+
__props__ = _PatchState.__new__(_PatchState)
|
810
|
+
|
811
|
+
__props__.__dict__["artifact_details"] = artifact_details
|
812
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
813
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
814
|
+
__props__.__dict__["dependent_patches"] = dependent_patches
|
815
|
+
__props__.__dict__["description"] = description
|
816
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
817
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
818
|
+
__props__.__dict__["name"] = name
|
819
|
+
__props__.__dict__["patch_type"] = patch_type
|
820
|
+
__props__.__dict__["product"] = product
|
821
|
+
__props__.__dict__["resource_region"] = resource_region
|
822
|
+
__props__.__dict__["severity"] = severity
|
823
|
+
__props__.__dict__["state"] = state
|
824
|
+
__props__.__dict__["system_tags"] = system_tags
|
825
|
+
__props__.__dict__["time_created"] = time_created
|
826
|
+
__props__.__dict__["time_released"] = time_released
|
827
|
+
__props__.__dict__["time_updated"] = time_updated
|
828
|
+
__props__.__dict__["type"] = type
|
829
|
+
return Patch(resource_name, opts=opts, __props__=__props__)
|
830
|
+
|
831
|
+
@property
|
832
|
+
@pulumi.getter(name="artifactDetails")
|
833
|
+
def artifact_details(self) -> pulumi.Output['outputs.PatchArtifactDetails']:
|
834
|
+
"""
|
835
|
+
(Updatable) Patch artifact description and content details.
|
836
|
+
"""
|
837
|
+
return pulumi.get(self, "artifact_details")
|
838
|
+
|
839
|
+
@property
|
840
|
+
@pulumi.getter(name="compartmentId")
|
841
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
842
|
+
"""
|
843
|
+
(Updatable)
|
844
|
+
"""
|
845
|
+
return pulumi.get(self, "compartment_id")
|
846
|
+
|
847
|
+
@property
|
848
|
+
@pulumi.getter(name="definedTags")
|
849
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
850
|
+
"""
|
851
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
852
|
+
"""
|
853
|
+
return pulumi.get(self, "defined_tags")
|
854
|
+
|
855
|
+
@property
|
856
|
+
@pulumi.getter(name="dependentPatches")
|
857
|
+
def dependent_patches(self) -> pulumi.Output[Sequence['outputs.PatchDependentPatch']]:
|
858
|
+
"""
|
859
|
+
(Updatable) Dependent Patches for this patch.
|
860
|
+
"""
|
861
|
+
return pulumi.get(self, "dependent_patches")
|
862
|
+
|
863
|
+
@property
|
864
|
+
@pulumi.getter
|
865
|
+
def description(self) -> pulumi.Output[str]:
|
866
|
+
"""
|
867
|
+
(Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
868
|
+
"""
|
869
|
+
return pulumi.get(self, "description")
|
870
|
+
|
871
|
+
@property
|
872
|
+
@pulumi.getter(name="freeformTags")
|
873
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
874
|
+
"""
|
875
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
876
|
+
"""
|
877
|
+
return pulumi.get(self, "freeform_tags")
|
878
|
+
|
879
|
+
@property
|
880
|
+
@pulumi.getter(name="lifecycleDetails")
|
881
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
882
|
+
"""
|
883
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
884
|
+
"""
|
885
|
+
return pulumi.get(self, "lifecycle_details")
|
886
|
+
|
887
|
+
@property
|
888
|
+
@pulumi.getter
|
889
|
+
def name(self) -> pulumi.Output[str]:
|
890
|
+
"""
|
891
|
+
A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
892
|
+
"""
|
893
|
+
return pulumi.get(self, "name")
|
894
|
+
|
895
|
+
@property
|
896
|
+
@pulumi.getter(name="patchType")
|
897
|
+
def patch_type(self) -> pulumi.Output['outputs.PatchPatchType']:
|
898
|
+
"""
|
899
|
+
(Updatable) Patch Type
|
900
|
+
"""
|
901
|
+
return pulumi.get(self, "patch_type")
|
902
|
+
|
903
|
+
@property
|
904
|
+
@pulumi.getter
|
905
|
+
def product(self) -> pulumi.Output['outputs.PatchProduct']:
|
906
|
+
"""
|
907
|
+
(Updatable) Product
|
908
|
+
"""
|
909
|
+
return pulumi.get(self, "product")
|
910
|
+
|
911
|
+
@property
|
912
|
+
@pulumi.getter(name="resourceRegion")
|
913
|
+
def resource_region(self) -> pulumi.Output[str]:
|
914
|
+
"""
|
915
|
+
Associated region
|
916
|
+
"""
|
917
|
+
return pulumi.get(self, "resource_region")
|
918
|
+
|
919
|
+
@property
|
920
|
+
@pulumi.getter
|
921
|
+
def severity(self) -> pulumi.Output[str]:
|
922
|
+
"""
|
923
|
+
(Updatable) Patch Severity.
|
924
|
+
"""
|
925
|
+
return pulumi.get(self, "severity")
|
926
|
+
|
927
|
+
@property
|
928
|
+
@pulumi.getter
|
929
|
+
def state(self) -> pulumi.Output[str]:
|
930
|
+
"""
|
931
|
+
The current state of the Patch.
|
932
|
+
"""
|
933
|
+
return pulumi.get(self, "state")
|
934
|
+
|
935
|
+
@property
|
936
|
+
@pulumi.getter(name="systemTags")
|
937
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
938
|
+
"""
|
939
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
940
|
+
"""
|
941
|
+
return pulumi.get(self, "system_tags")
|
942
|
+
|
943
|
+
@property
|
944
|
+
@pulumi.getter(name="timeCreated")
|
945
|
+
def time_created(self) -> pulumi.Output[str]:
|
946
|
+
"""
|
947
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
948
|
+
"""
|
949
|
+
return pulumi.get(self, "time_created")
|
950
|
+
|
951
|
+
@property
|
952
|
+
@pulumi.getter(name="timeReleased")
|
953
|
+
def time_released(self) -> pulumi.Output[str]:
|
954
|
+
"""
|
955
|
+
(Updatable) Date when the patch was released.
|
956
|
+
|
957
|
+
|
958
|
+
** IMPORTANT **
|
959
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
960
|
+
"""
|
961
|
+
return pulumi.get(self, "time_released")
|
962
|
+
|
963
|
+
@property
|
964
|
+
@pulumi.getter(name="timeUpdated")
|
965
|
+
def time_updated(self) -> pulumi.Output[str]:
|
966
|
+
"""
|
967
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
968
|
+
"""
|
969
|
+
return pulumi.get(self, "time_updated")
|
970
|
+
|
971
|
+
@property
|
972
|
+
@pulumi.getter
|
973
|
+
def type(self) -> pulumi.Output[str]:
|
974
|
+
"""
|
975
|
+
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
|
976
|
+
"""
|
977
|
+
return pulumi.get(self, "type")
|
978
|
+
|