pulumi-oci 1.39.0a1717740308__py3-none-any.whl → 1.39.0a1717785264__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 +11 -0
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +44 -4
- pulumi_oci/database/autonomous_database.py +61 -14
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +25 -7
- pulumi_oci/database/get_autonomous_character_sets.py +4 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/get_autonomous_database_peers.py +133 -0
- pulumi_oci/database/outputs.py +102 -6
- pulumi_oci/demandsignal/__init__.py +12 -0
- pulumi_oci/demandsignal/_inputs.py +267 -0
- pulumi_oci/demandsignal/get_occ_demand_signal.py +259 -0
- pulumi_oci/demandsignal/get_occ_demand_signals.py +183 -0
- pulumi_oci/demandsignal/occ_demand_signal.py +630 -0
- pulumi_oci/demandsignal/outputs.py +700 -0
- pulumi_oci/goldengate/_inputs.py +219 -6
- pulumi_oci/goldengate/connection.py +334 -0
- pulumi_oci/goldengate/connection_assignment.py +68 -19
- pulumi_oci/goldengate/deployment.py +88 -7
- pulumi_oci/goldengate/deployment_backup.py +122 -3
- pulumi_oci/goldengate/deployment_certificate.py +59 -10
- pulumi_oci/goldengate/get_connection.py +80 -1
- pulumi_oci/goldengate/get_connection_assignment.py +11 -1
- pulumi_oci/goldengate/get_deployment.py +25 -2
- pulumi_oci/goldengate/get_deployment_backup.py +38 -1
- pulumi_oci/goldengate/get_deployment_certificate.py +12 -2
- pulumi_oci/goldengate/get_deployment_certificates.py +3 -0
- pulumi_oci/goldengate/get_trail_files.py +2 -2
- pulumi_oci/goldengate/get_trail_sequences.py +2 -2
- pulumi_oci/goldengate/outputs.py +720 -12
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-1.39.0a1717740308.dist-info → pulumi_oci-1.39.0a1717785264.dist-info}/METADATA +1 -1
- {pulumi_oci-1.39.0a1717740308.dist-info → pulumi_oci-1.39.0a1717785264.dist-info}/RECORD +35 -28
- {pulumi_oci-1.39.0a1717740308.dist-info → pulumi_oci-1.39.0a1717785264.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.39.0a1717740308.dist-info → pulumi_oci-1.39.0a1717785264.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,630 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['OccDemandSignalArgs', 'OccDemandSignal']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class OccDemandSignalArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
compartment_id: pulumi.Input[str],
|
20
|
+
is_active: pulumi.Input[bool],
|
21
|
+
occ_demand_signals: pulumi.Input[Sequence[pulumi.Input['OccDemandSignalOccDemandSignalArgs']]],
|
22
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
23
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
24
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
25
|
+
occ_demand_signal_id: Optional[pulumi.Input[str]] = None,
|
26
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalPatchOperationArgs']]]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a OccDemandSignal resource.
|
29
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
|
30
|
+
:param pulumi.Input[bool] is_active: (Updatable) Indicator of whether to share the data with Oracle.
|
31
|
+
:param pulumi.Input[Sequence[pulumi.Input['OccDemandSignalOccDemandSignalArgs']]] occ_demand_signals: The OccDemandSignal data.
|
32
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
33
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
34
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
35
|
+
:param pulumi.Input[Sequence[pulumi.Input['OccDemandSignalPatchOperationArgs']]] patch_operations: (Updatable)
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
pulumi.set(__self__, "is_active", is_active)
|
39
|
+
pulumi.set(__self__, "occ_demand_signals", occ_demand_signals)
|
40
|
+
if defined_tags is not None:
|
41
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
42
|
+
if display_name is not None:
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if freeform_tags is not None:
|
45
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
46
|
+
if occ_demand_signal_id is not None:
|
47
|
+
pulumi.set(__self__, "occ_demand_signal_id", occ_demand_signal_id)
|
48
|
+
if patch_operations is not None:
|
49
|
+
pulumi.set(__self__, "patch_operations", patch_operations)
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="compartmentId")
|
53
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
54
|
+
"""
|
55
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "compartment_id")
|
58
|
+
|
59
|
+
@compartment_id.setter
|
60
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
61
|
+
pulumi.set(self, "compartment_id", value)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="isActive")
|
65
|
+
def is_active(self) -> pulumi.Input[bool]:
|
66
|
+
"""
|
67
|
+
(Updatable) Indicator of whether to share the data with Oracle.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "is_active")
|
70
|
+
|
71
|
+
@is_active.setter
|
72
|
+
def is_active(self, value: pulumi.Input[bool]):
|
73
|
+
pulumi.set(self, "is_active", value)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="occDemandSignals")
|
77
|
+
def occ_demand_signals(self) -> pulumi.Input[Sequence[pulumi.Input['OccDemandSignalOccDemandSignalArgs']]]:
|
78
|
+
"""
|
79
|
+
The OccDemandSignal data.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "occ_demand_signals")
|
82
|
+
|
83
|
+
@occ_demand_signals.setter
|
84
|
+
def occ_demand_signals(self, value: pulumi.Input[Sequence[pulumi.Input['OccDemandSignalOccDemandSignalArgs']]]):
|
85
|
+
pulumi.set(self, "occ_demand_signals", value)
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="definedTags")
|
89
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
90
|
+
"""
|
91
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "defined_tags")
|
94
|
+
|
95
|
+
@defined_tags.setter
|
96
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
97
|
+
pulumi.set(self, "defined_tags", value)
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="displayName")
|
101
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
102
|
+
"""
|
103
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "display_name")
|
106
|
+
|
107
|
+
@display_name.setter
|
108
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
109
|
+
pulumi.set(self, "display_name", value)
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="freeformTags")
|
113
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
114
|
+
"""
|
115
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "freeform_tags")
|
118
|
+
|
119
|
+
@freeform_tags.setter
|
120
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
121
|
+
pulumi.set(self, "freeform_tags", value)
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="occDemandSignalId")
|
125
|
+
def occ_demand_signal_id(self) -> Optional[pulumi.Input[str]]:
|
126
|
+
return pulumi.get(self, "occ_demand_signal_id")
|
127
|
+
|
128
|
+
@occ_demand_signal_id.setter
|
129
|
+
def occ_demand_signal_id(self, value: Optional[pulumi.Input[str]]):
|
130
|
+
pulumi.set(self, "occ_demand_signal_id", value)
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="patchOperations")
|
134
|
+
def patch_operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalPatchOperationArgs']]]]:
|
135
|
+
"""
|
136
|
+
(Updatable)
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "patch_operations")
|
139
|
+
|
140
|
+
@patch_operations.setter
|
141
|
+
def patch_operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalPatchOperationArgs']]]]):
|
142
|
+
pulumi.set(self, "patch_operations", value)
|
143
|
+
|
144
|
+
|
145
|
+
@pulumi.input_type
|
146
|
+
class _OccDemandSignalState:
|
147
|
+
def __init__(__self__, *,
|
148
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
149
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
150
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
151
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
152
|
+
is_active: Optional[pulumi.Input[bool]] = None,
|
153
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
154
|
+
occ_demand_signal_id: Optional[pulumi.Input[str]] = None,
|
155
|
+
occ_demand_signals: Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalOccDemandSignalArgs']]]] = None,
|
156
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalPatchOperationArgs']]]] = None,
|
157
|
+
state: Optional[pulumi.Input[str]] = None,
|
158
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
159
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
160
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
161
|
+
"""
|
162
|
+
Input properties used for looking up and filtering OccDemandSignal resources.
|
163
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
|
164
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
165
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
166
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
167
|
+
:param pulumi.Input[bool] is_active: (Updatable) Indicator of whether to share the data with Oracle.
|
168
|
+
:param pulumi.Input[str] lifecycle_details: A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
|
169
|
+
:param pulumi.Input[Sequence[pulumi.Input['OccDemandSignalOccDemandSignalArgs']]] occ_demand_signals: The OccDemandSignal data.
|
170
|
+
:param pulumi.Input[Sequence[pulumi.Input['OccDemandSignalPatchOperationArgs']]] patch_operations: (Updatable)
|
171
|
+
:param pulumi.Input[str] state: The current state of the OccDemandSignal.
|
172
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
173
|
+
:param pulumi.Input[str] time_created: The date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
174
|
+
:param pulumi.Input[str] time_updated: The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
175
|
+
"""
|
176
|
+
if compartment_id is not None:
|
177
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
178
|
+
if defined_tags is not None:
|
179
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
180
|
+
if display_name is not None:
|
181
|
+
pulumi.set(__self__, "display_name", display_name)
|
182
|
+
if freeform_tags is not None:
|
183
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
184
|
+
if is_active is not None:
|
185
|
+
pulumi.set(__self__, "is_active", is_active)
|
186
|
+
if lifecycle_details is not None:
|
187
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
188
|
+
if occ_demand_signal_id is not None:
|
189
|
+
pulumi.set(__self__, "occ_demand_signal_id", occ_demand_signal_id)
|
190
|
+
if occ_demand_signals is not None:
|
191
|
+
pulumi.set(__self__, "occ_demand_signals", occ_demand_signals)
|
192
|
+
if patch_operations is not None:
|
193
|
+
pulumi.set(__self__, "patch_operations", patch_operations)
|
194
|
+
if state is not None:
|
195
|
+
pulumi.set(__self__, "state", state)
|
196
|
+
if system_tags is not None:
|
197
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
198
|
+
if time_created is not None:
|
199
|
+
pulumi.set(__self__, "time_created", time_created)
|
200
|
+
if time_updated is not None:
|
201
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="compartmentId")
|
205
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
206
|
+
"""
|
207
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "compartment_id")
|
210
|
+
|
211
|
+
@compartment_id.setter
|
212
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
213
|
+
pulumi.set(self, "compartment_id", value)
|
214
|
+
|
215
|
+
@property
|
216
|
+
@pulumi.getter(name="definedTags")
|
217
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
218
|
+
"""
|
219
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
220
|
+
"""
|
221
|
+
return pulumi.get(self, "defined_tags")
|
222
|
+
|
223
|
+
@defined_tags.setter
|
224
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
225
|
+
pulumi.set(self, "defined_tags", value)
|
226
|
+
|
227
|
+
@property
|
228
|
+
@pulumi.getter(name="displayName")
|
229
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
230
|
+
"""
|
231
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
232
|
+
"""
|
233
|
+
return pulumi.get(self, "display_name")
|
234
|
+
|
235
|
+
@display_name.setter
|
236
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
237
|
+
pulumi.set(self, "display_name", value)
|
238
|
+
|
239
|
+
@property
|
240
|
+
@pulumi.getter(name="freeformTags")
|
241
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
242
|
+
"""
|
243
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
244
|
+
"""
|
245
|
+
return pulumi.get(self, "freeform_tags")
|
246
|
+
|
247
|
+
@freeform_tags.setter
|
248
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
249
|
+
pulumi.set(self, "freeform_tags", value)
|
250
|
+
|
251
|
+
@property
|
252
|
+
@pulumi.getter(name="isActive")
|
253
|
+
def is_active(self) -> Optional[pulumi.Input[bool]]:
|
254
|
+
"""
|
255
|
+
(Updatable) Indicator of whether to share the data with Oracle.
|
256
|
+
"""
|
257
|
+
return pulumi.get(self, "is_active")
|
258
|
+
|
259
|
+
@is_active.setter
|
260
|
+
def is_active(self, value: Optional[pulumi.Input[bool]]):
|
261
|
+
pulumi.set(self, "is_active", value)
|
262
|
+
|
263
|
+
@property
|
264
|
+
@pulumi.getter(name="lifecycleDetails")
|
265
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
266
|
+
"""
|
267
|
+
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
|
268
|
+
"""
|
269
|
+
return pulumi.get(self, "lifecycle_details")
|
270
|
+
|
271
|
+
@lifecycle_details.setter
|
272
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
273
|
+
pulumi.set(self, "lifecycle_details", value)
|
274
|
+
|
275
|
+
@property
|
276
|
+
@pulumi.getter(name="occDemandSignalId")
|
277
|
+
def occ_demand_signal_id(self) -> Optional[pulumi.Input[str]]:
|
278
|
+
return pulumi.get(self, "occ_demand_signal_id")
|
279
|
+
|
280
|
+
@occ_demand_signal_id.setter
|
281
|
+
def occ_demand_signal_id(self, value: Optional[pulumi.Input[str]]):
|
282
|
+
pulumi.set(self, "occ_demand_signal_id", value)
|
283
|
+
|
284
|
+
@property
|
285
|
+
@pulumi.getter(name="occDemandSignals")
|
286
|
+
def occ_demand_signals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalOccDemandSignalArgs']]]]:
|
287
|
+
"""
|
288
|
+
The OccDemandSignal data.
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "occ_demand_signals")
|
291
|
+
|
292
|
+
@occ_demand_signals.setter
|
293
|
+
def occ_demand_signals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalOccDemandSignalArgs']]]]):
|
294
|
+
pulumi.set(self, "occ_demand_signals", value)
|
295
|
+
|
296
|
+
@property
|
297
|
+
@pulumi.getter(name="patchOperations")
|
298
|
+
def patch_operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalPatchOperationArgs']]]]:
|
299
|
+
"""
|
300
|
+
(Updatable)
|
301
|
+
"""
|
302
|
+
return pulumi.get(self, "patch_operations")
|
303
|
+
|
304
|
+
@patch_operations.setter
|
305
|
+
def patch_operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OccDemandSignalPatchOperationArgs']]]]):
|
306
|
+
pulumi.set(self, "patch_operations", value)
|
307
|
+
|
308
|
+
@property
|
309
|
+
@pulumi.getter
|
310
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
311
|
+
"""
|
312
|
+
The current state of the OccDemandSignal.
|
313
|
+
"""
|
314
|
+
return pulumi.get(self, "state")
|
315
|
+
|
316
|
+
@state.setter
|
317
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
318
|
+
pulumi.set(self, "state", value)
|
319
|
+
|
320
|
+
@property
|
321
|
+
@pulumi.getter(name="systemTags")
|
322
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
323
|
+
"""
|
324
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
325
|
+
"""
|
326
|
+
return pulumi.get(self, "system_tags")
|
327
|
+
|
328
|
+
@system_tags.setter
|
329
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
330
|
+
pulumi.set(self, "system_tags", value)
|
331
|
+
|
332
|
+
@property
|
333
|
+
@pulumi.getter(name="timeCreated")
|
334
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
335
|
+
"""
|
336
|
+
The date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
337
|
+
"""
|
338
|
+
return pulumi.get(self, "time_created")
|
339
|
+
|
340
|
+
@time_created.setter
|
341
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
342
|
+
pulumi.set(self, "time_created", value)
|
343
|
+
|
344
|
+
@property
|
345
|
+
@pulumi.getter(name="timeUpdated")
|
346
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
347
|
+
"""
|
348
|
+
The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
349
|
+
"""
|
350
|
+
return pulumi.get(self, "time_updated")
|
351
|
+
|
352
|
+
@time_updated.setter
|
353
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
354
|
+
pulumi.set(self, "time_updated", value)
|
355
|
+
|
356
|
+
|
357
|
+
class OccDemandSignal(pulumi.CustomResource):
|
358
|
+
@overload
|
359
|
+
def __init__(__self__,
|
360
|
+
resource_name: str,
|
361
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
362
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
363
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
364
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
365
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
366
|
+
is_active: Optional[pulumi.Input[bool]] = None,
|
367
|
+
occ_demand_signal_id: Optional[pulumi.Input[str]] = None,
|
368
|
+
occ_demand_signals: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalOccDemandSignalArgs']]]]] = None,
|
369
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalPatchOperationArgs']]]]] = None,
|
370
|
+
__props__=None):
|
371
|
+
"""
|
372
|
+
This resource provides the Occ Demand Signal resource in Oracle Cloud Infrastructure Demand Signal service.
|
373
|
+
|
374
|
+
Creates a OccDemandSignal.
|
375
|
+
|
376
|
+
Updates the data of an OccDemandSignal.
|
377
|
+
|
378
|
+
## Import
|
379
|
+
|
380
|
+
OccDemandSignals can be imported using the `id`, e.g.
|
381
|
+
|
382
|
+
```sh
|
383
|
+
$ pulumi import oci:DemandSignal/occDemandSignal:OccDemandSignal test_occ_demand_signal "id"
|
384
|
+
```
|
385
|
+
|
386
|
+
:param str resource_name: The name of the resource.
|
387
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
388
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
|
389
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
390
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
391
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
392
|
+
:param pulumi.Input[bool] is_active: (Updatable) Indicator of whether to share the data with Oracle.
|
393
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalOccDemandSignalArgs']]]] occ_demand_signals: The OccDemandSignal data.
|
394
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalPatchOperationArgs']]]] patch_operations: (Updatable)
|
395
|
+
"""
|
396
|
+
...
|
397
|
+
@overload
|
398
|
+
def __init__(__self__,
|
399
|
+
resource_name: str,
|
400
|
+
args: OccDemandSignalArgs,
|
401
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
402
|
+
"""
|
403
|
+
This resource provides the Occ Demand Signal resource in Oracle Cloud Infrastructure Demand Signal service.
|
404
|
+
|
405
|
+
Creates a OccDemandSignal.
|
406
|
+
|
407
|
+
Updates the data of an OccDemandSignal.
|
408
|
+
|
409
|
+
## Import
|
410
|
+
|
411
|
+
OccDemandSignals can be imported using the `id`, e.g.
|
412
|
+
|
413
|
+
```sh
|
414
|
+
$ pulumi import oci:DemandSignal/occDemandSignal:OccDemandSignal test_occ_demand_signal "id"
|
415
|
+
```
|
416
|
+
|
417
|
+
:param str resource_name: The name of the resource.
|
418
|
+
:param OccDemandSignalArgs args: The arguments to use to populate this resource's properties.
|
419
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
420
|
+
"""
|
421
|
+
...
|
422
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
423
|
+
resource_args, opts = _utilities.get_resource_args_opts(OccDemandSignalArgs, pulumi.ResourceOptions, *args, **kwargs)
|
424
|
+
if resource_args is not None:
|
425
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
426
|
+
else:
|
427
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
428
|
+
|
429
|
+
def _internal_init(__self__,
|
430
|
+
resource_name: str,
|
431
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
432
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
433
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
434
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
435
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
436
|
+
is_active: Optional[pulumi.Input[bool]] = None,
|
437
|
+
occ_demand_signal_id: Optional[pulumi.Input[str]] = None,
|
438
|
+
occ_demand_signals: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalOccDemandSignalArgs']]]]] = None,
|
439
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalPatchOperationArgs']]]]] = None,
|
440
|
+
__props__=None):
|
441
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
442
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
443
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
444
|
+
if opts.id is None:
|
445
|
+
if __props__ is not None:
|
446
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
447
|
+
__props__ = OccDemandSignalArgs.__new__(OccDemandSignalArgs)
|
448
|
+
|
449
|
+
if compartment_id is None and not opts.urn:
|
450
|
+
raise TypeError("Missing required property 'compartment_id'")
|
451
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
452
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
453
|
+
__props__.__dict__["display_name"] = display_name
|
454
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
455
|
+
if is_active is None and not opts.urn:
|
456
|
+
raise TypeError("Missing required property 'is_active'")
|
457
|
+
__props__.__dict__["is_active"] = is_active
|
458
|
+
__props__.__dict__["occ_demand_signal_id"] = occ_demand_signal_id
|
459
|
+
if occ_demand_signals is None and not opts.urn:
|
460
|
+
raise TypeError("Missing required property 'occ_demand_signals'")
|
461
|
+
__props__.__dict__["occ_demand_signals"] = occ_demand_signals
|
462
|
+
__props__.__dict__["patch_operations"] = patch_operations
|
463
|
+
__props__.__dict__["lifecycle_details"] = None
|
464
|
+
__props__.__dict__["state"] = None
|
465
|
+
__props__.__dict__["system_tags"] = None
|
466
|
+
__props__.__dict__["time_created"] = None
|
467
|
+
__props__.__dict__["time_updated"] = None
|
468
|
+
super(OccDemandSignal, __self__).__init__(
|
469
|
+
'oci:DemandSignal/occDemandSignal:OccDemandSignal',
|
470
|
+
resource_name,
|
471
|
+
__props__,
|
472
|
+
opts)
|
473
|
+
|
474
|
+
@staticmethod
|
475
|
+
def get(resource_name: str,
|
476
|
+
id: pulumi.Input[str],
|
477
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
478
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
479
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
480
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
481
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
482
|
+
is_active: Optional[pulumi.Input[bool]] = None,
|
483
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
484
|
+
occ_demand_signal_id: Optional[pulumi.Input[str]] = None,
|
485
|
+
occ_demand_signals: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalOccDemandSignalArgs']]]]] = None,
|
486
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalPatchOperationArgs']]]]] = None,
|
487
|
+
state: Optional[pulumi.Input[str]] = None,
|
488
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
489
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
490
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'OccDemandSignal':
|
491
|
+
"""
|
492
|
+
Get an existing OccDemandSignal resource's state with the given name, id, and optional extra
|
493
|
+
properties used to qualify the lookup.
|
494
|
+
|
495
|
+
:param str resource_name: The unique name of the resulting resource.
|
496
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
497
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
498
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
|
499
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
500
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
501
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
502
|
+
:param pulumi.Input[bool] is_active: (Updatable) Indicator of whether to share the data with Oracle.
|
503
|
+
:param pulumi.Input[str] lifecycle_details: A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
|
504
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalOccDemandSignalArgs']]]] occ_demand_signals: The OccDemandSignal data.
|
505
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OccDemandSignalPatchOperationArgs']]]] patch_operations: (Updatable)
|
506
|
+
:param pulumi.Input[str] state: The current state of the OccDemandSignal.
|
507
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
508
|
+
:param pulumi.Input[str] time_created: The date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
509
|
+
:param pulumi.Input[str] time_updated: The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
510
|
+
"""
|
511
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
512
|
+
|
513
|
+
__props__ = _OccDemandSignalState.__new__(_OccDemandSignalState)
|
514
|
+
|
515
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
516
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
517
|
+
__props__.__dict__["display_name"] = display_name
|
518
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
519
|
+
__props__.__dict__["is_active"] = is_active
|
520
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
521
|
+
__props__.__dict__["occ_demand_signal_id"] = occ_demand_signal_id
|
522
|
+
__props__.__dict__["occ_demand_signals"] = occ_demand_signals
|
523
|
+
__props__.__dict__["patch_operations"] = patch_operations
|
524
|
+
__props__.__dict__["state"] = state
|
525
|
+
__props__.__dict__["system_tags"] = system_tags
|
526
|
+
__props__.__dict__["time_created"] = time_created
|
527
|
+
__props__.__dict__["time_updated"] = time_updated
|
528
|
+
return OccDemandSignal(resource_name, opts=opts, __props__=__props__)
|
529
|
+
|
530
|
+
@property
|
531
|
+
@pulumi.getter(name="compartmentId")
|
532
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
533
|
+
"""
|
534
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
|
535
|
+
"""
|
536
|
+
return pulumi.get(self, "compartment_id")
|
537
|
+
|
538
|
+
@property
|
539
|
+
@pulumi.getter(name="definedTags")
|
540
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
541
|
+
"""
|
542
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
543
|
+
"""
|
544
|
+
return pulumi.get(self, "defined_tags")
|
545
|
+
|
546
|
+
@property
|
547
|
+
@pulumi.getter(name="displayName")
|
548
|
+
def display_name(self) -> pulumi.Output[str]:
|
549
|
+
"""
|
550
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
551
|
+
"""
|
552
|
+
return pulumi.get(self, "display_name")
|
553
|
+
|
554
|
+
@property
|
555
|
+
@pulumi.getter(name="freeformTags")
|
556
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
557
|
+
"""
|
558
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
559
|
+
"""
|
560
|
+
return pulumi.get(self, "freeform_tags")
|
561
|
+
|
562
|
+
@property
|
563
|
+
@pulumi.getter(name="isActive")
|
564
|
+
def is_active(self) -> pulumi.Output[bool]:
|
565
|
+
"""
|
566
|
+
(Updatable) Indicator of whether to share the data with Oracle.
|
567
|
+
"""
|
568
|
+
return pulumi.get(self, "is_active")
|
569
|
+
|
570
|
+
@property
|
571
|
+
@pulumi.getter(name="lifecycleDetails")
|
572
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
573
|
+
"""
|
574
|
+
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
|
575
|
+
"""
|
576
|
+
return pulumi.get(self, "lifecycle_details")
|
577
|
+
|
578
|
+
@property
|
579
|
+
@pulumi.getter(name="occDemandSignalId")
|
580
|
+
def occ_demand_signal_id(self) -> pulumi.Output[Optional[str]]:
|
581
|
+
return pulumi.get(self, "occ_demand_signal_id")
|
582
|
+
|
583
|
+
@property
|
584
|
+
@pulumi.getter(name="occDemandSignals")
|
585
|
+
def occ_demand_signals(self) -> pulumi.Output[Sequence['outputs.OccDemandSignalOccDemandSignal']]:
|
586
|
+
"""
|
587
|
+
The OccDemandSignal data.
|
588
|
+
"""
|
589
|
+
return pulumi.get(self, "occ_demand_signals")
|
590
|
+
|
591
|
+
@property
|
592
|
+
@pulumi.getter(name="patchOperations")
|
593
|
+
def patch_operations(self) -> pulumi.Output[Optional[Sequence['outputs.OccDemandSignalPatchOperation']]]:
|
594
|
+
"""
|
595
|
+
(Updatable)
|
596
|
+
"""
|
597
|
+
return pulumi.get(self, "patch_operations")
|
598
|
+
|
599
|
+
@property
|
600
|
+
@pulumi.getter
|
601
|
+
def state(self) -> pulumi.Output[str]:
|
602
|
+
"""
|
603
|
+
The current state of the OccDemandSignal.
|
604
|
+
"""
|
605
|
+
return pulumi.get(self, "state")
|
606
|
+
|
607
|
+
@property
|
608
|
+
@pulumi.getter(name="systemTags")
|
609
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
610
|
+
"""
|
611
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
612
|
+
"""
|
613
|
+
return pulumi.get(self, "system_tags")
|
614
|
+
|
615
|
+
@property
|
616
|
+
@pulumi.getter(name="timeCreated")
|
617
|
+
def time_created(self) -> pulumi.Output[str]:
|
618
|
+
"""
|
619
|
+
The date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
620
|
+
"""
|
621
|
+
return pulumi.get(self, "time_created")
|
622
|
+
|
623
|
+
@property
|
624
|
+
@pulumi.getter(name="timeUpdated")
|
625
|
+
def time_updated(self) -> pulumi.Output[str]:
|
626
|
+
"""
|
627
|
+
The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
628
|
+
"""
|
629
|
+
return pulumi.get(self, "time_updated")
|
630
|
+
|