pulumi-oci 1.32.0a1713335186__py3-none-any.whl → 1.32.0a1713427052__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 +16 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +192 -0
- pulumi_oci/database/autonomous_container_database.py +83 -8
- pulumi_oci/database/autonomous_database_software_image.py +638 -0
- pulumi_oci/database/autonomous_vm_cluster.py +12 -4
- pulumi_oci/database/get_autonomous_container_database.py +26 -5
- pulumi_oci/database/get_autonomous_container_database_resource_usage.py +3 -3
- pulumi_oci/database/get_autonomous_database_software_image.py +262 -0
- pulumi_oci/database/get_autonomous_database_software_images.py +200 -0
- pulumi_oci/database/get_autonomous_vm_cluster.py +3 -1
- pulumi_oci/database/outputs.py +538 -28
- pulumi_oci/datascience/_inputs.py +17 -1
- pulumi_oci/datascience/model_deployment.py +2 -0
- pulumi_oci/datascience/outputs.py +39 -3
- pulumi_oci/meteringcomputation/__init__.py +3 -0
- pulumi_oci/meteringcomputation/_inputs.py +110 -0
- pulumi_oci/meteringcomputation/get_schedule.py +1 -1
- pulumi_oci/meteringcomputation/get_scheduled_run.py +2 -2
- pulumi_oci/meteringcomputation/get_usage_statement_email_recipients_group.py +173 -0
- pulumi_oci/meteringcomputation/get_usage_statement_email_recipients_groups.py +157 -0
- pulumi_oci/meteringcomputation/outputs.py +292 -2
- pulumi_oci/meteringcomputation/schedule.py +7 -7
- pulumi_oci/meteringcomputation/usage_statement_email_recipients_group.py +392 -0
- pulumi_oci/opa/opa_instance.py +41 -22
- pulumi_oci/psql/_inputs.py +4 -4
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/outputs.py +4 -4
- pulumi_oci/redis/get_redis_cluster.py +14 -1
- pulumi_oci/redis/outputs.py +11 -0
- pulumi_oci/redis/redis_cluster.py +52 -3
- {pulumi_oci-1.32.0a1713335186.dist-info → pulumi_oci-1.32.0a1713427052.dist-info}/METADATA +1 -1
- {pulumi_oci-1.32.0a1713335186.dist-info → pulumi_oci-1.32.0a1713427052.dist-info}/RECORD +35 -29
- {pulumi_oci-1.32.0a1713335186.dist-info → pulumi_oci-1.32.0a1713427052.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.32.0a1713335186.dist-info → pulumi_oci-1.32.0a1713427052.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,392 @@
|
|
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__ = ['UsageStatementEmailRecipientsGroupArgs', 'UsageStatementEmailRecipientsGroup']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class UsageStatementEmailRecipientsGroupArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
compartment_id: pulumi.Input[str],
|
20
|
+
recipients_lists: pulumi.Input[Sequence[pulumi.Input['UsageStatementEmailRecipientsGroupRecipientsListArgs']]],
|
21
|
+
subscription_id: pulumi.Input[str],
|
22
|
+
email_recipients_group_id: Optional[pulumi.Input[str]] = None):
|
23
|
+
"""
|
24
|
+
The set of arguments for constructing a UsageStatementEmailRecipientsGroup resource.
|
25
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The customer tenancy.
|
26
|
+
:param pulumi.Input[Sequence[pulumi.Input['UsageStatementEmailRecipientsGroupRecipientsListArgs']]] recipients_lists: (Updatable) The list of recipient will receive the usage statement email.
|
27
|
+
:param pulumi.Input[str] subscription_id: The UsageStatement Subscription unique OCID.
|
28
|
+
|
29
|
+
|
30
|
+
** IMPORTANT **
|
31
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
+
pulumi.set(__self__, "recipients_lists", recipients_lists)
|
35
|
+
pulumi.set(__self__, "subscription_id", subscription_id)
|
36
|
+
if email_recipients_group_id is not None:
|
37
|
+
pulumi.set(__self__, "email_recipients_group_id", email_recipients_group_id)
|
38
|
+
|
39
|
+
@property
|
40
|
+
@pulumi.getter(name="compartmentId")
|
41
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
42
|
+
"""
|
43
|
+
(Updatable) The customer tenancy.
|
44
|
+
"""
|
45
|
+
return pulumi.get(self, "compartment_id")
|
46
|
+
|
47
|
+
@compartment_id.setter
|
48
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
49
|
+
pulumi.set(self, "compartment_id", value)
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="recipientsLists")
|
53
|
+
def recipients_lists(self) -> pulumi.Input[Sequence[pulumi.Input['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]:
|
54
|
+
"""
|
55
|
+
(Updatable) The list of recipient will receive the usage statement email.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "recipients_lists")
|
58
|
+
|
59
|
+
@recipients_lists.setter
|
60
|
+
def recipients_lists(self, value: pulumi.Input[Sequence[pulumi.Input['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]):
|
61
|
+
pulumi.set(self, "recipients_lists", value)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="subscriptionId")
|
65
|
+
def subscription_id(self) -> pulumi.Input[str]:
|
66
|
+
"""
|
67
|
+
The UsageStatement Subscription unique OCID.
|
68
|
+
|
69
|
+
|
70
|
+
** IMPORTANT **
|
71
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "subscription_id")
|
74
|
+
|
75
|
+
@subscription_id.setter
|
76
|
+
def subscription_id(self, value: pulumi.Input[str]):
|
77
|
+
pulumi.set(self, "subscription_id", value)
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="emailRecipientsGroupId")
|
81
|
+
def email_recipients_group_id(self) -> Optional[pulumi.Input[str]]:
|
82
|
+
return pulumi.get(self, "email_recipients_group_id")
|
83
|
+
|
84
|
+
@email_recipients_group_id.setter
|
85
|
+
def email_recipients_group_id(self, value: Optional[pulumi.Input[str]]):
|
86
|
+
pulumi.set(self, "email_recipients_group_id", value)
|
87
|
+
|
88
|
+
|
89
|
+
@pulumi.input_type
|
90
|
+
class _UsageStatementEmailRecipientsGroupState:
|
91
|
+
def __init__(__self__, *,
|
92
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
93
|
+
email_recipients_group_id: Optional[pulumi.Input[str]] = None,
|
94
|
+
recipients_lists: Optional[pulumi.Input[Sequence[pulumi.Input['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]] = None,
|
95
|
+
state: Optional[pulumi.Input[str]] = None,
|
96
|
+
subscription_id: Optional[pulumi.Input[str]] = None):
|
97
|
+
"""
|
98
|
+
Input properties used for looking up and filtering UsageStatementEmailRecipientsGroup resources.
|
99
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The customer tenancy.
|
100
|
+
:param pulumi.Input[Sequence[pulumi.Input['UsageStatementEmailRecipientsGroupRecipientsListArgs']]] recipients_lists: (Updatable) The list of recipient will receive the usage statement email.
|
101
|
+
:param pulumi.Input[str] state: (Updatable) The email recipient lifecycle state.
|
102
|
+
:param pulumi.Input[str] subscription_id: The UsageStatement Subscription unique OCID.
|
103
|
+
|
104
|
+
|
105
|
+
** IMPORTANT **
|
106
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
107
|
+
"""
|
108
|
+
if compartment_id is not None:
|
109
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
110
|
+
if email_recipients_group_id is not None:
|
111
|
+
pulumi.set(__self__, "email_recipients_group_id", email_recipients_group_id)
|
112
|
+
if recipients_lists is not None:
|
113
|
+
pulumi.set(__self__, "recipients_lists", recipients_lists)
|
114
|
+
if state is not None:
|
115
|
+
pulumi.set(__self__, "state", state)
|
116
|
+
if subscription_id is not None:
|
117
|
+
pulumi.set(__self__, "subscription_id", subscription_id)
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="compartmentId")
|
121
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
122
|
+
"""
|
123
|
+
(Updatable) The customer tenancy.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "compartment_id")
|
126
|
+
|
127
|
+
@compartment_id.setter
|
128
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
129
|
+
pulumi.set(self, "compartment_id", value)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="emailRecipientsGroupId")
|
133
|
+
def email_recipients_group_id(self) -> Optional[pulumi.Input[str]]:
|
134
|
+
return pulumi.get(self, "email_recipients_group_id")
|
135
|
+
|
136
|
+
@email_recipients_group_id.setter
|
137
|
+
def email_recipients_group_id(self, value: Optional[pulumi.Input[str]]):
|
138
|
+
pulumi.set(self, "email_recipients_group_id", value)
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="recipientsLists")
|
142
|
+
def recipients_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]]:
|
143
|
+
"""
|
144
|
+
(Updatable) The list of recipient will receive the usage statement email.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "recipients_lists")
|
147
|
+
|
148
|
+
@recipients_lists.setter
|
149
|
+
def recipients_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]]):
|
150
|
+
pulumi.set(self, "recipients_lists", value)
|
151
|
+
|
152
|
+
@property
|
153
|
+
@pulumi.getter
|
154
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
155
|
+
"""
|
156
|
+
(Updatable) The email recipient lifecycle state.
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "state")
|
159
|
+
|
160
|
+
@state.setter
|
161
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
162
|
+
pulumi.set(self, "state", value)
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="subscriptionId")
|
166
|
+
def subscription_id(self) -> Optional[pulumi.Input[str]]:
|
167
|
+
"""
|
168
|
+
The UsageStatement Subscription unique OCID.
|
169
|
+
|
170
|
+
|
171
|
+
** IMPORTANT **
|
172
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "subscription_id")
|
175
|
+
|
176
|
+
@subscription_id.setter
|
177
|
+
def subscription_id(self, value: Optional[pulumi.Input[str]]):
|
178
|
+
pulumi.set(self, "subscription_id", value)
|
179
|
+
|
180
|
+
|
181
|
+
class UsageStatementEmailRecipientsGroup(pulumi.CustomResource):
|
182
|
+
@overload
|
183
|
+
def __init__(__self__,
|
184
|
+
resource_name: str,
|
185
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
186
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
187
|
+
email_recipients_group_id: Optional[pulumi.Input[str]] = None,
|
188
|
+
recipients_lists: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]]] = None,
|
189
|
+
subscription_id: Optional[pulumi.Input[str]] = None,
|
190
|
+
__props__=None):
|
191
|
+
"""
|
192
|
+
This resource provides the Usage Statement Email Recipients Group resource in Oracle Cloud Infrastructure Metering Computation service.
|
193
|
+
|
194
|
+
Add a list of email recipients that can receive usage statements for the subscription.
|
195
|
+
|
196
|
+
## Example Usage
|
197
|
+
|
198
|
+
<!--Start PulumiCodeChooser -->
|
199
|
+
```python
|
200
|
+
import pulumi
|
201
|
+
import pulumi_oci as oci
|
202
|
+
|
203
|
+
test_usage_statement_email_recipients_group = oci.metering_computation.UsageStatementEmailRecipientsGroup("testUsageStatementEmailRecipientsGroup",
|
204
|
+
compartment_id=var["compartment_id"],
|
205
|
+
recipients_lists=[oci.metering_computation.UsageStatementEmailRecipientsGroupRecipientsListArgs(
|
206
|
+
email_id=oci_metering_computation_email["test_email"]["id"],
|
207
|
+
state=var["usage_statement_email_recipients_group_recipients_list_state"],
|
208
|
+
first_name=var["usage_statement_email_recipients_group_recipients_list_first_name"],
|
209
|
+
last_name=var["usage_statement_email_recipients_group_recipients_list_last_name"],
|
210
|
+
)],
|
211
|
+
subscription_id=oci_onesubscription_subscription["test_subscription"]["id"])
|
212
|
+
```
|
213
|
+
<!--End PulumiCodeChooser -->
|
214
|
+
|
215
|
+
## Import
|
216
|
+
|
217
|
+
UsageStatementEmailRecipientsGroups can be imported using the `id`, e.g.
|
218
|
+
|
219
|
+
```sh
|
220
|
+
$ pulumi import oci:MeteringComputation/usageStatementEmailRecipientsGroup:UsageStatementEmailRecipientsGroup test_usage_statement_email_recipients_group "usageStatements/{subscriptionId}/emailRecipientsGroups/{emailRecipientsGroupId}/compartmentId/{compartmentId}"
|
221
|
+
```
|
222
|
+
|
223
|
+
:param str resource_name: The name of the resource.
|
224
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
225
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The customer tenancy.
|
226
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]] recipients_lists: (Updatable) The list of recipient will receive the usage statement email.
|
227
|
+
:param pulumi.Input[str] subscription_id: The UsageStatement Subscription unique OCID.
|
228
|
+
|
229
|
+
|
230
|
+
** IMPORTANT **
|
231
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
232
|
+
"""
|
233
|
+
...
|
234
|
+
@overload
|
235
|
+
def __init__(__self__,
|
236
|
+
resource_name: str,
|
237
|
+
args: UsageStatementEmailRecipientsGroupArgs,
|
238
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
239
|
+
"""
|
240
|
+
This resource provides the Usage Statement Email Recipients Group resource in Oracle Cloud Infrastructure Metering Computation service.
|
241
|
+
|
242
|
+
Add a list of email recipients that can receive usage statements for the subscription.
|
243
|
+
|
244
|
+
## Example Usage
|
245
|
+
|
246
|
+
<!--Start PulumiCodeChooser -->
|
247
|
+
```python
|
248
|
+
import pulumi
|
249
|
+
import pulumi_oci as oci
|
250
|
+
|
251
|
+
test_usage_statement_email_recipients_group = oci.metering_computation.UsageStatementEmailRecipientsGroup("testUsageStatementEmailRecipientsGroup",
|
252
|
+
compartment_id=var["compartment_id"],
|
253
|
+
recipients_lists=[oci.metering_computation.UsageStatementEmailRecipientsGroupRecipientsListArgs(
|
254
|
+
email_id=oci_metering_computation_email["test_email"]["id"],
|
255
|
+
state=var["usage_statement_email_recipients_group_recipients_list_state"],
|
256
|
+
first_name=var["usage_statement_email_recipients_group_recipients_list_first_name"],
|
257
|
+
last_name=var["usage_statement_email_recipients_group_recipients_list_last_name"],
|
258
|
+
)],
|
259
|
+
subscription_id=oci_onesubscription_subscription["test_subscription"]["id"])
|
260
|
+
```
|
261
|
+
<!--End PulumiCodeChooser -->
|
262
|
+
|
263
|
+
## Import
|
264
|
+
|
265
|
+
UsageStatementEmailRecipientsGroups can be imported using the `id`, e.g.
|
266
|
+
|
267
|
+
```sh
|
268
|
+
$ pulumi import oci:MeteringComputation/usageStatementEmailRecipientsGroup:UsageStatementEmailRecipientsGroup test_usage_statement_email_recipients_group "usageStatements/{subscriptionId}/emailRecipientsGroups/{emailRecipientsGroupId}/compartmentId/{compartmentId}"
|
269
|
+
```
|
270
|
+
|
271
|
+
:param str resource_name: The name of the resource.
|
272
|
+
:param UsageStatementEmailRecipientsGroupArgs args: The arguments to use to populate this resource's properties.
|
273
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
274
|
+
"""
|
275
|
+
...
|
276
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
277
|
+
resource_args, opts = _utilities.get_resource_args_opts(UsageStatementEmailRecipientsGroupArgs, pulumi.ResourceOptions, *args, **kwargs)
|
278
|
+
if resource_args is not None:
|
279
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
280
|
+
else:
|
281
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
282
|
+
|
283
|
+
def _internal_init(__self__,
|
284
|
+
resource_name: str,
|
285
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
286
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
287
|
+
email_recipients_group_id: Optional[pulumi.Input[str]] = None,
|
288
|
+
recipients_lists: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]]] = None,
|
289
|
+
subscription_id: Optional[pulumi.Input[str]] = None,
|
290
|
+
__props__=None):
|
291
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
292
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
293
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
294
|
+
if opts.id is None:
|
295
|
+
if __props__ is not None:
|
296
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
297
|
+
__props__ = UsageStatementEmailRecipientsGroupArgs.__new__(UsageStatementEmailRecipientsGroupArgs)
|
298
|
+
|
299
|
+
if compartment_id is None and not opts.urn:
|
300
|
+
raise TypeError("Missing required property 'compartment_id'")
|
301
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
302
|
+
__props__.__dict__["email_recipients_group_id"] = email_recipients_group_id
|
303
|
+
if recipients_lists is None and not opts.urn:
|
304
|
+
raise TypeError("Missing required property 'recipients_lists'")
|
305
|
+
__props__.__dict__["recipients_lists"] = recipients_lists
|
306
|
+
if subscription_id is None and not opts.urn:
|
307
|
+
raise TypeError("Missing required property 'subscription_id'")
|
308
|
+
__props__.__dict__["subscription_id"] = subscription_id
|
309
|
+
__props__.__dict__["state"] = None
|
310
|
+
super(UsageStatementEmailRecipientsGroup, __self__).__init__(
|
311
|
+
'oci:MeteringComputation/usageStatementEmailRecipientsGroup:UsageStatementEmailRecipientsGroup',
|
312
|
+
resource_name,
|
313
|
+
__props__,
|
314
|
+
opts)
|
315
|
+
|
316
|
+
@staticmethod
|
317
|
+
def get(resource_name: str,
|
318
|
+
id: pulumi.Input[str],
|
319
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
320
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
321
|
+
email_recipients_group_id: Optional[pulumi.Input[str]] = None,
|
322
|
+
recipients_lists: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]]] = None,
|
323
|
+
state: Optional[pulumi.Input[str]] = None,
|
324
|
+
subscription_id: Optional[pulumi.Input[str]] = None) -> 'UsageStatementEmailRecipientsGroup':
|
325
|
+
"""
|
326
|
+
Get an existing UsageStatementEmailRecipientsGroup resource's state with the given name, id, and optional extra
|
327
|
+
properties used to qualify the lookup.
|
328
|
+
|
329
|
+
:param str resource_name: The unique name of the resulting resource.
|
330
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
331
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
332
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The customer tenancy.
|
333
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['UsageStatementEmailRecipientsGroupRecipientsListArgs']]]] recipients_lists: (Updatable) The list of recipient will receive the usage statement email.
|
334
|
+
:param pulumi.Input[str] state: (Updatable) The email recipient lifecycle state.
|
335
|
+
:param pulumi.Input[str] subscription_id: The UsageStatement Subscription unique OCID.
|
336
|
+
|
337
|
+
|
338
|
+
** IMPORTANT **
|
339
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
340
|
+
"""
|
341
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
342
|
+
|
343
|
+
__props__ = _UsageStatementEmailRecipientsGroupState.__new__(_UsageStatementEmailRecipientsGroupState)
|
344
|
+
|
345
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
346
|
+
__props__.__dict__["email_recipients_group_id"] = email_recipients_group_id
|
347
|
+
__props__.__dict__["recipients_lists"] = recipients_lists
|
348
|
+
__props__.__dict__["state"] = state
|
349
|
+
__props__.__dict__["subscription_id"] = subscription_id
|
350
|
+
return UsageStatementEmailRecipientsGroup(resource_name, opts=opts, __props__=__props__)
|
351
|
+
|
352
|
+
@property
|
353
|
+
@pulumi.getter(name="compartmentId")
|
354
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
355
|
+
"""
|
356
|
+
(Updatable) The customer tenancy.
|
357
|
+
"""
|
358
|
+
return pulumi.get(self, "compartment_id")
|
359
|
+
|
360
|
+
@property
|
361
|
+
@pulumi.getter(name="emailRecipientsGroupId")
|
362
|
+
def email_recipients_group_id(self) -> pulumi.Output[str]:
|
363
|
+
return pulumi.get(self, "email_recipients_group_id")
|
364
|
+
|
365
|
+
@property
|
366
|
+
@pulumi.getter(name="recipientsLists")
|
367
|
+
def recipients_lists(self) -> pulumi.Output[Sequence['outputs.UsageStatementEmailRecipientsGroupRecipientsList']]:
|
368
|
+
"""
|
369
|
+
(Updatable) The list of recipient will receive the usage statement email.
|
370
|
+
"""
|
371
|
+
return pulumi.get(self, "recipients_lists")
|
372
|
+
|
373
|
+
@property
|
374
|
+
@pulumi.getter
|
375
|
+
def state(self) -> pulumi.Output[str]:
|
376
|
+
"""
|
377
|
+
(Updatable) The email recipient lifecycle state.
|
378
|
+
"""
|
379
|
+
return pulumi.get(self, "state")
|
380
|
+
|
381
|
+
@property
|
382
|
+
@pulumi.getter(name="subscriptionId")
|
383
|
+
def subscription_id(self) -> pulumi.Output[str]:
|
384
|
+
"""
|
385
|
+
The UsageStatement Subscription unique OCID.
|
386
|
+
|
387
|
+
|
388
|
+
** IMPORTANT **
|
389
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
390
|
+
"""
|
391
|
+
return pulumi.get(self, "subscription_id")
|
392
|
+
|
pulumi_oci/opa/opa_instance.py
CHANGED
@@ -25,16 +25,13 @@ class OpaInstanceArgs:
|
|
25
25
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
26
26
|
idcs_at: Optional[pulumi.Input[str]] = None,
|
27
27
|
is_breakglass_enabled: Optional[pulumi.Input[bool]] = None,
|
28
|
-
metering_type: Optional[pulumi.Input[str]] = None
|
28
|
+
metering_type: Optional[pulumi.Input[str]] = None,
|
29
|
+
state: Optional[pulumi.Input[str]] = None):
|
29
30
|
"""
|
30
31
|
The set of arguments for constructing a OpaInstance resource.
|
31
32
|
:param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier
|
32
33
|
:param pulumi.Input[str] display_name: (Updatable) OpaInstance Identifier. User-friendly name for the instance. Avoid entering confidential information. You can change this value anytime.
|
33
34
|
:param pulumi.Input[str] shape_name: Shape of the instance.
|
34
|
-
|
35
|
-
|
36
|
-
** IMPORTANT **
|
37
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
38
35
|
:param pulumi.Input[str] consumption_model: Parameter specifying which entitlement to use for billing purposes
|
39
36
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
40
37
|
:param pulumi.Input[str] description: (Updatable) Description of the Oracle Process Automation instance.
|
@@ -42,6 +39,11 @@ class OpaInstanceArgs:
|
|
42
39
|
:param pulumi.Input[str] idcs_at: IDCS Authentication token. This is required for all realms with IDCS. This property is optional, as it is not required for non-IDCS realms.
|
43
40
|
:param pulumi.Input[bool] is_breakglass_enabled: indicates if breakGlass is enabled for the opa instance.
|
44
41
|
:param pulumi.Input[str] metering_type: MeteringType Identifier
|
42
|
+
:param pulumi.Input[str] state: (Updatable) The target state for the Opa Instance. Could be set to `ACTIVE` or `INACTIVE`.
|
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
|
45
47
|
"""
|
46
48
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
47
49
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -60,6 +62,8 @@ class OpaInstanceArgs:
|
|
60
62
|
pulumi.set(__self__, "is_breakglass_enabled", is_breakglass_enabled)
|
61
63
|
if metering_type is not None:
|
62
64
|
pulumi.set(__self__, "metering_type", metering_type)
|
65
|
+
if state is not None:
|
66
|
+
pulumi.set(__self__, "state", state)
|
63
67
|
|
64
68
|
@property
|
65
69
|
@pulumi.getter(name="compartmentId")
|
@@ -90,10 +94,6 @@ class OpaInstanceArgs:
|
|
90
94
|
def shape_name(self) -> pulumi.Input[str]:
|
91
95
|
"""
|
92
96
|
Shape of the instance.
|
93
|
-
|
94
|
-
|
95
|
-
** IMPORTANT **
|
96
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
97
97
|
"""
|
98
98
|
return pulumi.get(self, "shape_name")
|
99
99
|
|
@@ -185,6 +185,22 @@ class OpaInstanceArgs:
|
|
185
185
|
def metering_type(self, value: Optional[pulumi.Input[str]]):
|
186
186
|
pulumi.set(self, "metering_type", value)
|
187
187
|
|
188
|
+
@property
|
189
|
+
@pulumi.getter
|
190
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
191
|
+
"""
|
192
|
+
(Updatable) The target state for the Opa Instance. Could be set to `ACTIVE` or `INACTIVE`.
|
193
|
+
|
194
|
+
|
195
|
+
** IMPORTANT **
|
196
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "state")
|
199
|
+
|
200
|
+
@state.setter
|
201
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
202
|
+
pulumi.set(self, "state", value)
|
203
|
+
|
188
204
|
|
189
205
|
@pulumi.input_type
|
190
206
|
class _OpaInstanceState:
|
@@ -227,11 +243,11 @@ class _OpaInstanceState:
|
|
227
243
|
:param pulumi.Input[bool] is_breakglass_enabled: indicates if breakGlass is enabled for the opa instance.
|
228
244
|
:param pulumi.Input[str] metering_type: MeteringType Identifier
|
229
245
|
:param pulumi.Input[str] shape_name: Shape of the instance.
|
246
|
+
:param pulumi.Input[str] state: (Updatable) The target state for the Opa Instance. Could be set to `ACTIVE` or `INACTIVE`.
|
230
247
|
|
231
248
|
|
232
249
|
** IMPORTANT **
|
233
250
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
234
|
-
:param pulumi.Input[str] state: The current state of the OpaInstance.
|
235
251
|
:param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
236
252
|
:param pulumi.Input[str] time_created: The time when OpaInstance was created. An RFC3339 formatted datetime string
|
237
253
|
:param pulumi.Input[str] time_updated: The time the OpaInstance was updated. An RFC3339 formatted datetime string
|
@@ -462,10 +478,6 @@ class _OpaInstanceState:
|
|
462
478
|
def shape_name(self) -> Optional[pulumi.Input[str]]:
|
463
479
|
"""
|
464
480
|
Shape of the instance.
|
465
|
-
|
466
|
-
|
467
|
-
** IMPORTANT **
|
468
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
469
481
|
"""
|
470
482
|
return pulumi.get(self, "shape_name")
|
471
483
|
|
@@ -477,7 +489,11 @@ class _OpaInstanceState:
|
|
477
489
|
@pulumi.getter
|
478
490
|
def state(self) -> Optional[pulumi.Input[str]]:
|
479
491
|
"""
|
480
|
-
The
|
492
|
+
(Updatable) The target state for the Opa Instance. Could be set to `ACTIVE` or `INACTIVE`.
|
493
|
+
|
494
|
+
|
495
|
+
** IMPORTANT **
|
496
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
481
497
|
"""
|
482
498
|
return pulumi.get(self, "state")
|
483
499
|
|
@@ -537,6 +553,7 @@ class OpaInstance(pulumi.CustomResource):
|
|
537
553
|
is_breakglass_enabled: Optional[pulumi.Input[bool]] = None,
|
538
554
|
metering_type: Optional[pulumi.Input[str]] = None,
|
539
555
|
shape_name: Optional[pulumi.Input[str]] = None,
|
556
|
+
state: Optional[pulumi.Input[str]] = None,
|
540
557
|
__props__=None):
|
541
558
|
"""
|
542
559
|
This resource provides the Opa Instance resource in Oracle Cloud Infrastructure Opa service.
|
@@ -588,6 +605,7 @@ class OpaInstance(pulumi.CustomResource):
|
|
588
605
|
:param pulumi.Input[bool] is_breakglass_enabled: indicates if breakGlass is enabled for the opa instance.
|
589
606
|
:param pulumi.Input[str] metering_type: MeteringType Identifier
|
590
607
|
:param pulumi.Input[str] shape_name: Shape of the instance.
|
608
|
+
:param pulumi.Input[str] state: (Updatable) The target state for the Opa Instance. Could be set to `ACTIVE` or `INACTIVE`.
|
591
609
|
|
592
610
|
|
593
611
|
** IMPORTANT **
|
@@ -662,6 +680,7 @@ class OpaInstance(pulumi.CustomResource):
|
|
662
680
|
is_breakglass_enabled: Optional[pulumi.Input[bool]] = None,
|
663
681
|
metering_type: Optional[pulumi.Input[str]] = None,
|
664
682
|
shape_name: Optional[pulumi.Input[str]] = None,
|
683
|
+
state: Optional[pulumi.Input[str]] = None,
|
665
684
|
__props__=None):
|
666
685
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
667
686
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -687,13 +706,13 @@ class OpaInstance(pulumi.CustomResource):
|
|
687
706
|
if shape_name is None and not opts.urn:
|
688
707
|
raise TypeError("Missing required property 'shape_name'")
|
689
708
|
__props__.__dict__["shape_name"] = shape_name
|
709
|
+
__props__.__dict__["state"] = state
|
690
710
|
__props__.__dict__["attachments"] = None
|
691
711
|
__props__.__dict__["identity_app_display_name"] = None
|
692
712
|
__props__.__dict__["identity_app_guid"] = None
|
693
713
|
__props__.__dict__["identity_app_opc_service_instance_guid"] = None
|
694
714
|
__props__.__dict__["identity_domain_url"] = None
|
695
715
|
__props__.__dict__["instance_url"] = None
|
696
|
-
__props__.__dict__["state"] = None
|
697
716
|
__props__.__dict__["system_tags"] = None
|
698
717
|
__props__.__dict__["time_created"] = None
|
699
718
|
__props__.__dict__["time_updated"] = None
|
@@ -750,11 +769,11 @@ class OpaInstance(pulumi.CustomResource):
|
|
750
769
|
:param pulumi.Input[bool] is_breakglass_enabled: indicates if breakGlass is enabled for the opa instance.
|
751
770
|
:param pulumi.Input[str] metering_type: MeteringType Identifier
|
752
771
|
:param pulumi.Input[str] shape_name: Shape of the instance.
|
772
|
+
:param pulumi.Input[str] state: (Updatable) The target state for the Opa Instance. Could be set to `ACTIVE` or `INACTIVE`.
|
753
773
|
|
754
774
|
|
755
775
|
** IMPORTANT **
|
756
776
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
757
|
-
:param pulumi.Input[str] state: The current state of the OpaInstance.
|
758
777
|
:param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
759
778
|
:param pulumi.Input[str] time_created: The time when OpaInstance was created. An RFC3339 formatted datetime string
|
760
779
|
:param pulumi.Input[str] time_updated: The time the OpaInstance was updated. An RFC3339 formatted datetime string
|
@@ -910,10 +929,6 @@ class OpaInstance(pulumi.CustomResource):
|
|
910
929
|
def shape_name(self) -> pulumi.Output[str]:
|
911
930
|
"""
|
912
931
|
Shape of the instance.
|
913
|
-
|
914
|
-
|
915
|
-
** IMPORTANT **
|
916
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
917
932
|
"""
|
918
933
|
return pulumi.get(self, "shape_name")
|
919
934
|
|
@@ -921,7 +936,11 @@ class OpaInstance(pulumi.CustomResource):
|
|
921
936
|
@pulumi.getter
|
922
937
|
def state(self) -> pulumi.Output[str]:
|
923
938
|
"""
|
924
|
-
The
|
939
|
+
(Updatable) The target state for the Opa Instance. Could be set to `ACTIVE` or `INACTIVE`.
|
940
|
+
|
941
|
+
|
942
|
+
** IMPORTANT **
|
943
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
925
944
|
"""
|
926
945
|
return pulumi.get(self, "state")
|
927
946
|
|
pulumi_oci/psql/_inputs.py
CHANGED
@@ -861,7 +861,7 @@ class DbSystemSourceArgs:
|
|
861
861
|
backup_id: Optional[pulumi.Input[str]] = None,
|
862
862
|
is_having_restore_config_overrides: Optional[pulumi.Input[bool]] = None):
|
863
863
|
"""
|
864
|
-
:param pulumi.Input[str] source_type: The source descriminator.
|
864
|
+
:param pulumi.Input[str] source_type: The source descriminator. Example: `{"source_type": "BACKUP"}`.
|
865
865
|
:param pulumi.Input[str] backup_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database system backup.
|
866
866
|
:param pulumi.Input[bool] is_having_restore_config_overrides: Deprecated. Don't use.
|
867
867
|
"""
|
@@ -875,7 +875,7 @@ class DbSystemSourceArgs:
|
|
875
875
|
@pulumi.getter(name="sourceType")
|
876
876
|
def source_type(self) -> pulumi.Input[str]:
|
877
877
|
"""
|
878
|
-
The source descriminator.
|
878
|
+
The source descriminator. Example: `{"source_type": "BACKUP"}`.
|
879
879
|
"""
|
880
880
|
return pulumi.get(self, "source_type")
|
881
881
|
|
@@ -923,7 +923,7 @@ class DbSystemStorageDetailsArgs:
|
|
923
923
|
** IMPORTANT **
|
924
924
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
925
925
|
:param pulumi.Input[str] availability_domain: Specifies the availability domain of AD-local storage. If `isRegionallyDurable` is set to true, `availabilityDomain` should not be specified. If `isRegionallyDurable` is set to false, `availabilityDomain` must be specified.
|
926
|
-
:param pulumi.Input[str] iops: (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system.
|
926
|
+
:param pulumi.Input[str] iops: (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers [here](https://docs.oracle.com/en-us/iaas/Content/postgresql/performance-tiers.htm).
|
927
927
|
"""
|
928
928
|
pulumi.set(__self__, "is_regionally_durable", is_regionally_durable)
|
929
929
|
pulumi.set(__self__, "system_type", system_type)
|
@@ -976,7 +976,7 @@ class DbSystemStorageDetailsArgs:
|
|
976
976
|
@pulumi.getter
|
977
977
|
def iops(self) -> Optional[pulumi.Input[str]]:
|
978
978
|
"""
|
979
|
-
(Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system.
|
979
|
+
(Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers [here](https://docs.oracle.com/en-us/iaas/Content/postgresql/performance-tiers.htm).
|
980
980
|
"""
|
981
981
|
return pulumi.get(self, "iops")
|
982
982
|
|