pulumi-oci 1.32.0__py3-none-any.whl → 1.32.0a1712988952__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 +0 -16
- pulumi_oci/database/__init__.py +0 -3
- pulumi_oci/database/_inputs.py +0 -192
- pulumi_oci/database/autonomous_container_database.py +8 -83
- pulumi_oci/database/autonomous_vm_cluster.py +4 -12
- pulumi_oci/database/get_autonomous_container_database.py +5 -26
- pulumi_oci/database/get_autonomous_container_database_resource_usage.py +3 -3
- pulumi_oci/database/get_autonomous_vm_cluster.py +1 -3
- pulumi_oci/database/outputs.py +28 -538
- pulumi_oci/datascience/_inputs.py +1 -17
- pulumi_oci/datascience/model_deployment.py +0 -2
- pulumi_oci/datascience/outputs.py +3 -39
- pulumi_oci/meteringcomputation/__init__.py +0 -3
- pulumi_oci/meteringcomputation/_inputs.py +0 -110
- pulumi_oci/meteringcomputation/get_schedule.py +1 -1
- pulumi_oci/meteringcomputation/get_scheduled_run.py +2 -2
- pulumi_oci/meteringcomputation/outputs.py +2 -292
- pulumi_oci/meteringcomputation/schedule.py +7 -7
- pulumi_oci/opa/opa_instance.py +22 -41
- 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 +1 -14
- pulumi_oci/redis/outputs.py +0 -11
- pulumi_oci/redis/redis_cluster.py +3 -52
- {pulumi_oci-1.32.0.dist-info → pulumi_oci-1.32.0a1712988952.dist-info}/METADATA +1 -1
- {pulumi_oci-1.32.0.dist-info → pulumi_oci-1.32.0a1712988952.dist-info}/RECORD +29 -35
- pulumi_oci/database/autonomous_database_software_image.py +0 -638
- pulumi_oci/database/get_autonomous_database_software_image.py +0 -262
- pulumi_oci/database/get_autonomous_database_software_images.py +0 -200
- pulumi_oci/meteringcomputation/get_usage_statement_email_recipients_group.py +0 -173
- pulumi_oci/meteringcomputation/get_usage_statement_email_recipients_groups.py +0 -157
- pulumi_oci/meteringcomputation/usage_statement_email_recipients_group.py +0 -392
- {pulumi_oci-1.32.0.dist-info → pulumi_oci-1.32.0a1712988952.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.32.0.dist-info → pulumi_oci-1.32.0a1712988952.dist-info}/top_level.txt +0 -0
@@ -1,262 +0,0 @@
|
|
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
|
-
|
12
|
-
__all__ = [
|
13
|
-
'GetAutonomousDatabaseSoftwareImageResult',
|
14
|
-
'AwaitableGetAutonomousDatabaseSoftwareImageResult',
|
15
|
-
'get_autonomous_database_software_image',
|
16
|
-
'get_autonomous_database_software_image_output',
|
17
|
-
]
|
18
|
-
|
19
|
-
@pulumi.output_type
|
20
|
-
class GetAutonomousDatabaseSoftwareImageResult:
|
21
|
-
"""
|
22
|
-
A collection of values returned by getAutonomousDatabaseSoftwareImage.
|
23
|
-
"""
|
24
|
-
def __init__(__self__, autonomous_database_software_image_id=None, autonomous_dsi_one_off_patches=None, compartment_id=None, database_version=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, image_shape_family=None, lifecycle_details=None, release_update=None, source_cdb_id=None, state=None, time_created=None):
|
25
|
-
if autonomous_database_software_image_id and not isinstance(autonomous_database_software_image_id, str):
|
26
|
-
raise TypeError("Expected argument 'autonomous_database_software_image_id' to be a str")
|
27
|
-
pulumi.set(__self__, "autonomous_database_software_image_id", autonomous_database_software_image_id)
|
28
|
-
if autonomous_dsi_one_off_patches and not isinstance(autonomous_dsi_one_off_patches, list):
|
29
|
-
raise TypeError("Expected argument 'autonomous_dsi_one_off_patches' to be a list")
|
30
|
-
pulumi.set(__self__, "autonomous_dsi_one_off_patches", autonomous_dsi_one_off_patches)
|
31
|
-
if compartment_id and not isinstance(compartment_id, str):
|
32
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
-
if database_version and not isinstance(database_version, str):
|
35
|
-
raise TypeError("Expected argument 'database_version' to be a str")
|
36
|
-
pulumi.set(__self__, "database_version", database_version)
|
37
|
-
if defined_tags and not isinstance(defined_tags, dict):
|
38
|
-
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
39
|
-
pulumi.set(__self__, "defined_tags", defined_tags)
|
40
|
-
if display_name and not isinstance(display_name, str):
|
41
|
-
raise TypeError("Expected argument 'display_name' to be a str")
|
42
|
-
pulumi.set(__self__, "display_name", display_name)
|
43
|
-
if freeform_tags and not isinstance(freeform_tags, dict):
|
44
|
-
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
45
|
-
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
46
|
-
if id and not isinstance(id, str):
|
47
|
-
raise TypeError("Expected argument 'id' to be a str")
|
48
|
-
pulumi.set(__self__, "id", id)
|
49
|
-
if image_shape_family and not isinstance(image_shape_family, str):
|
50
|
-
raise TypeError("Expected argument 'image_shape_family' to be a str")
|
51
|
-
pulumi.set(__self__, "image_shape_family", image_shape_family)
|
52
|
-
if lifecycle_details and not isinstance(lifecycle_details, str):
|
53
|
-
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
54
|
-
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
55
|
-
if release_update and not isinstance(release_update, str):
|
56
|
-
raise TypeError("Expected argument 'release_update' to be a str")
|
57
|
-
pulumi.set(__self__, "release_update", release_update)
|
58
|
-
if source_cdb_id and not isinstance(source_cdb_id, str):
|
59
|
-
raise TypeError("Expected argument 'source_cdb_id' to be a str")
|
60
|
-
pulumi.set(__self__, "source_cdb_id", source_cdb_id)
|
61
|
-
if state and not isinstance(state, str):
|
62
|
-
raise TypeError("Expected argument 'state' to be a str")
|
63
|
-
pulumi.set(__self__, "state", state)
|
64
|
-
if time_created and not isinstance(time_created, str):
|
65
|
-
raise TypeError("Expected argument 'time_created' to be a str")
|
66
|
-
pulumi.set(__self__, "time_created", time_created)
|
67
|
-
|
68
|
-
@property
|
69
|
-
@pulumi.getter(name="autonomousDatabaseSoftwareImageId")
|
70
|
-
def autonomous_database_software_image_id(self) -> str:
|
71
|
-
return pulumi.get(self, "autonomous_database_software_image_id")
|
72
|
-
|
73
|
-
@property
|
74
|
-
@pulumi.getter(name="autonomousDsiOneOffPatches")
|
75
|
-
def autonomous_dsi_one_off_patches(self) -> Sequence[str]:
|
76
|
-
"""
|
77
|
-
One-off patches included in the Autonomous Database Software Image
|
78
|
-
"""
|
79
|
-
return pulumi.get(self, "autonomous_dsi_one_off_patches")
|
80
|
-
|
81
|
-
@property
|
82
|
-
@pulumi.getter(name="compartmentId")
|
83
|
-
def compartment_id(self) -> str:
|
84
|
-
"""
|
85
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
86
|
-
"""
|
87
|
-
return pulumi.get(self, "compartment_id")
|
88
|
-
|
89
|
-
@property
|
90
|
-
@pulumi.getter(name="databaseVersion")
|
91
|
-
def database_version(self) -> str:
|
92
|
-
"""
|
93
|
-
The database version with which the Autonomous Database Software Image is to be built.
|
94
|
-
"""
|
95
|
-
return pulumi.get(self, "database_version")
|
96
|
-
|
97
|
-
@property
|
98
|
-
@pulumi.getter(name="definedTags")
|
99
|
-
def defined_tags(self) -> Mapping[str, Any]:
|
100
|
-
"""
|
101
|
-
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).
|
102
|
-
"""
|
103
|
-
return pulumi.get(self, "defined_tags")
|
104
|
-
|
105
|
-
@property
|
106
|
-
@pulumi.getter(name="displayName")
|
107
|
-
def display_name(self) -> str:
|
108
|
-
"""
|
109
|
-
The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
|
110
|
-
"""
|
111
|
-
return pulumi.get(self, "display_name")
|
112
|
-
|
113
|
-
@property
|
114
|
-
@pulumi.getter(name="freeformTags")
|
115
|
-
def freeform_tags(self) -> Mapping[str, Any]:
|
116
|
-
"""
|
117
|
-
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"}`
|
118
|
-
"""
|
119
|
-
return pulumi.get(self, "freeform_tags")
|
120
|
-
|
121
|
-
@property
|
122
|
-
@pulumi.getter
|
123
|
-
def id(self) -> str:
|
124
|
-
"""
|
125
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database Software Image.
|
126
|
-
"""
|
127
|
-
return pulumi.get(self, "id")
|
128
|
-
|
129
|
-
@property
|
130
|
-
@pulumi.getter(name="imageShapeFamily")
|
131
|
-
def image_shape_family(self) -> str:
|
132
|
-
"""
|
133
|
-
To what shape the image is meant for.
|
134
|
-
"""
|
135
|
-
return pulumi.get(self, "image_shape_family")
|
136
|
-
|
137
|
-
@property
|
138
|
-
@pulumi.getter(name="lifecycleDetails")
|
139
|
-
def lifecycle_details(self) -> str:
|
140
|
-
"""
|
141
|
-
Detailed message for the lifecycle state.
|
142
|
-
"""
|
143
|
-
return pulumi.get(self, "lifecycle_details")
|
144
|
-
|
145
|
-
@property
|
146
|
-
@pulumi.getter(name="releaseUpdate")
|
147
|
-
def release_update(self) -> str:
|
148
|
-
"""
|
149
|
-
The Release Updates.
|
150
|
-
"""
|
151
|
-
return pulumi.get(self, "release_update")
|
152
|
-
|
153
|
-
@property
|
154
|
-
@pulumi.getter(name="sourceCdbId")
|
155
|
-
def source_cdb_id(self) -> str:
|
156
|
-
return pulumi.get(self, "source_cdb_id")
|
157
|
-
|
158
|
-
@property
|
159
|
-
@pulumi.getter
|
160
|
-
def state(self) -> str:
|
161
|
-
"""
|
162
|
-
The current state of the Autonomous Database Software Image.
|
163
|
-
"""
|
164
|
-
return pulumi.get(self, "state")
|
165
|
-
|
166
|
-
@property
|
167
|
-
@pulumi.getter(name="timeCreated")
|
168
|
-
def time_created(self) -> str:
|
169
|
-
"""
|
170
|
-
The date and time the Autonomous Database Software Image was created.
|
171
|
-
"""
|
172
|
-
return pulumi.get(self, "time_created")
|
173
|
-
|
174
|
-
|
175
|
-
class AwaitableGetAutonomousDatabaseSoftwareImageResult(GetAutonomousDatabaseSoftwareImageResult):
|
176
|
-
# pylint: disable=using-constant-test
|
177
|
-
def __await__(self):
|
178
|
-
if False:
|
179
|
-
yield self
|
180
|
-
return GetAutonomousDatabaseSoftwareImageResult(
|
181
|
-
autonomous_database_software_image_id=self.autonomous_database_software_image_id,
|
182
|
-
autonomous_dsi_one_off_patches=self.autonomous_dsi_one_off_patches,
|
183
|
-
compartment_id=self.compartment_id,
|
184
|
-
database_version=self.database_version,
|
185
|
-
defined_tags=self.defined_tags,
|
186
|
-
display_name=self.display_name,
|
187
|
-
freeform_tags=self.freeform_tags,
|
188
|
-
id=self.id,
|
189
|
-
image_shape_family=self.image_shape_family,
|
190
|
-
lifecycle_details=self.lifecycle_details,
|
191
|
-
release_update=self.release_update,
|
192
|
-
source_cdb_id=self.source_cdb_id,
|
193
|
-
state=self.state,
|
194
|
-
time_created=self.time_created)
|
195
|
-
|
196
|
-
|
197
|
-
def get_autonomous_database_software_image(autonomous_database_software_image_id: Optional[str] = None,
|
198
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutonomousDatabaseSoftwareImageResult:
|
199
|
-
"""
|
200
|
-
This data source provides details about a specific Autonomous Database Software Image resource in Oracle Cloud Infrastructure Database service.
|
201
|
-
|
202
|
-
Gets information about the specified Autonomous Database Software Image.
|
203
|
-
|
204
|
-
## Example Usage
|
205
|
-
|
206
|
-
<!--Start PulumiCodeChooser -->
|
207
|
-
```python
|
208
|
-
import pulumi
|
209
|
-
import pulumi_oci as oci
|
210
|
-
|
211
|
-
test_autonomous_database_software_image = oci.Database.get_autonomous_database_software_image(autonomous_database_software_image_id=oci_database_autonomous_database_software_image["test_autonomous_database_software_image"]["id"])
|
212
|
-
```
|
213
|
-
<!--End PulumiCodeChooser -->
|
214
|
-
|
215
|
-
|
216
|
-
:param str autonomous_database_software_image_id: The Autonomous Database Software Image [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
217
|
-
"""
|
218
|
-
__args__ = dict()
|
219
|
-
__args__['autonomousDatabaseSoftwareImageId'] = autonomous_database_software_image_id
|
220
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
221
|
-
__ret__ = pulumi.runtime.invoke('oci:Database/getAutonomousDatabaseSoftwareImage:getAutonomousDatabaseSoftwareImage', __args__, opts=opts, typ=GetAutonomousDatabaseSoftwareImageResult).value
|
222
|
-
|
223
|
-
return AwaitableGetAutonomousDatabaseSoftwareImageResult(
|
224
|
-
autonomous_database_software_image_id=pulumi.get(__ret__, 'autonomous_database_software_image_id'),
|
225
|
-
autonomous_dsi_one_off_patches=pulumi.get(__ret__, 'autonomous_dsi_one_off_patches'),
|
226
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
227
|
-
database_version=pulumi.get(__ret__, 'database_version'),
|
228
|
-
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
229
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
230
|
-
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
231
|
-
id=pulumi.get(__ret__, 'id'),
|
232
|
-
image_shape_family=pulumi.get(__ret__, 'image_shape_family'),
|
233
|
-
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
234
|
-
release_update=pulumi.get(__ret__, 'release_update'),
|
235
|
-
source_cdb_id=pulumi.get(__ret__, 'source_cdb_id'),
|
236
|
-
state=pulumi.get(__ret__, 'state'),
|
237
|
-
time_created=pulumi.get(__ret__, 'time_created'))
|
238
|
-
|
239
|
-
|
240
|
-
@_utilities.lift_output_func(get_autonomous_database_software_image)
|
241
|
-
def get_autonomous_database_software_image_output(autonomous_database_software_image_id: Optional[pulumi.Input[str]] = None,
|
242
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutonomousDatabaseSoftwareImageResult]:
|
243
|
-
"""
|
244
|
-
This data source provides details about a specific Autonomous Database Software Image resource in Oracle Cloud Infrastructure Database service.
|
245
|
-
|
246
|
-
Gets information about the specified Autonomous Database Software Image.
|
247
|
-
|
248
|
-
## Example Usage
|
249
|
-
|
250
|
-
<!--Start PulumiCodeChooser -->
|
251
|
-
```python
|
252
|
-
import pulumi
|
253
|
-
import pulumi_oci as oci
|
254
|
-
|
255
|
-
test_autonomous_database_software_image = oci.Database.get_autonomous_database_software_image(autonomous_database_software_image_id=oci_database_autonomous_database_software_image["test_autonomous_database_software_image"]["id"])
|
256
|
-
```
|
257
|
-
<!--End PulumiCodeChooser -->
|
258
|
-
|
259
|
-
|
260
|
-
:param str autonomous_database_software_image_id: The Autonomous Database Software Image [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
261
|
-
"""
|
262
|
-
...
|
@@ -1,200 +0,0 @@
|
|
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__ = [
|
15
|
-
'GetAutonomousDatabaseSoftwareImagesResult',
|
16
|
-
'AwaitableGetAutonomousDatabaseSoftwareImagesResult',
|
17
|
-
'get_autonomous_database_software_images',
|
18
|
-
'get_autonomous_database_software_images_output',
|
19
|
-
]
|
20
|
-
|
21
|
-
@pulumi.output_type
|
22
|
-
class GetAutonomousDatabaseSoftwareImagesResult:
|
23
|
-
"""
|
24
|
-
A collection of values returned by getAutonomousDatabaseSoftwareImages.
|
25
|
-
"""
|
26
|
-
def __init__(__self__, autonomous_database_software_image_collections=None, compartment_id=None, display_name=None, filters=None, id=None, image_shape_family=None, state=None):
|
27
|
-
if autonomous_database_software_image_collections and not isinstance(autonomous_database_software_image_collections, list):
|
28
|
-
raise TypeError("Expected argument 'autonomous_database_software_image_collections' to be a list")
|
29
|
-
pulumi.set(__self__, "autonomous_database_software_image_collections", autonomous_database_software_image_collections)
|
30
|
-
if compartment_id and not isinstance(compartment_id, str):
|
31
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
-
if display_name and not isinstance(display_name, str):
|
34
|
-
raise TypeError("Expected argument 'display_name' to be a str")
|
35
|
-
pulumi.set(__self__, "display_name", display_name)
|
36
|
-
if filters and not isinstance(filters, list):
|
37
|
-
raise TypeError("Expected argument 'filters' to be a list")
|
38
|
-
pulumi.set(__self__, "filters", filters)
|
39
|
-
if id and not isinstance(id, str):
|
40
|
-
raise TypeError("Expected argument 'id' to be a str")
|
41
|
-
pulumi.set(__self__, "id", id)
|
42
|
-
if image_shape_family and not isinstance(image_shape_family, str):
|
43
|
-
raise TypeError("Expected argument 'image_shape_family' to be a str")
|
44
|
-
pulumi.set(__self__, "image_shape_family", image_shape_family)
|
45
|
-
if state and not isinstance(state, str):
|
46
|
-
raise TypeError("Expected argument 'state' to be a str")
|
47
|
-
pulumi.set(__self__, "state", state)
|
48
|
-
|
49
|
-
@property
|
50
|
-
@pulumi.getter(name="autonomousDatabaseSoftwareImageCollections")
|
51
|
-
def autonomous_database_software_image_collections(self) -> Sequence['outputs.GetAutonomousDatabaseSoftwareImagesAutonomousDatabaseSoftwareImageCollectionResult']:
|
52
|
-
"""
|
53
|
-
The list of autonomous_database_software_image_collection.
|
54
|
-
"""
|
55
|
-
return pulumi.get(self, "autonomous_database_software_image_collections")
|
56
|
-
|
57
|
-
@property
|
58
|
-
@pulumi.getter(name="compartmentId")
|
59
|
-
def compartment_id(self) -> str:
|
60
|
-
"""
|
61
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
62
|
-
"""
|
63
|
-
return pulumi.get(self, "compartment_id")
|
64
|
-
|
65
|
-
@property
|
66
|
-
@pulumi.getter(name="displayName")
|
67
|
-
def display_name(self) -> Optional[str]:
|
68
|
-
"""
|
69
|
-
The user-friendly name for the Autonomous Database Software Image. The name does not have to be unique.
|
70
|
-
"""
|
71
|
-
return pulumi.get(self, "display_name")
|
72
|
-
|
73
|
-
@property
|
74
|
-
@pulumi.getter
|
75
|
-
def filters(self) -> Optional[Sequence['outputs.GetAutonomousDatabaseSoftwareImagesFilterResult']]:
|
76
|
-
return pulumi.get(self, "filters")
|
77
|
-
|
78
|
-
@property
|
79
|
-
@pulumi.getter
|
80
|
-
def id(self) -> str:
|
81
|
-
"""
|
82
|
-
The provider-assigned unique ID for this managed resource.
|
83
|
-
"""
|
84
|
-
return pulumi.get(self, "id")
|
85
|
-
|
86
|
-
@property
|
87
|
-
@pulumi.getter(name="imageShapeFamily")
|
88
|
-
def image_shape_family(self) -> str:
|
89
|
-
"""
|
90
|
-
To what shape the image is meant for.
|
91
|
-
"""
|
92
|
-
return pulumi.get(self, "image_shape_family")
|
93
|
-
|
94
|
-
@property
|
95
|
-
@pulumi.getter
|
96
|
-
def state(self) -> Optional[str]:
|
97
|
-
"""
|
98
|
-
The current state of the Autonomous Database Software Image.
|
99
|
-
"""
|
100
|
-
return pulumi.get(self, "state")
|
101
|
-
|
102
|
-
|
103
|
-
class AwaitableGetAutonomousDatabaseSoftwareImagesResult(GetAutonomousDatabaseSoftwareImagesResult):
|
104
|
-
# pylint: disable=using-constant-test
|
105
|
-
def __await__(self):
|
106
|
-
if False:
|
107
|
-
yield self
|
108
|
-
return GetAutonomousDatabaseSoftwareImagesResult(
|
109
|
-
autonomous_database_software_image_collections=self.autonomous_database_software_image_collections,
|
110
|
-
compartment_id=self.compartment_id,
|
111
|
-
display_name=self.display_name,
|
112
|
-
filters=self.filters,
|
113
|
-
id=self.id,
|
114
|
-
image_shape_family=self.image_shape_family,
|
115
|
-
state=self.state)
|
116
|
-
|
117
|
-
|
118
|
-
def get_autonomous_database_software_images(compartment_id: Optional[str] = None,
|
119
|
-
display_name: Optional[str] = None,
|
120
|
-
filters: Optional[Sequence[pulumi.InputType['GetAutonomousDatabaseSoftwareImagesFilterArgs']]] = None,
|
121
|
-
image_shape_family: Optional[str] = None,
|
122
|
-
state: Optional[str] = None,
|
123
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutonomousDatabaseSoftwareImagesResult:
|
124
|
-
"""
|
125
|
-
This data source provides the list of Autonomous Database Software Images in Oracle Cloud Infrastructure Database service.
|
126
|
-
|
127
|
-
Gets a list of the Autonomous Database Software Images in the specified compartment.
|
128
|
-
|
129
|
-
## Example Usage
|
130
|
-
|
131
|
-
<!--Start PulumiCodeChooser -->
|
132
|
-
```python
|
133
|
-
import pulumi
|
134
|
-
import pulumi_oci as oci
|
135
|
-
|
136
|
-
test_autonomous_database_software_images = oci.Database.get_autonomous_database_software_images(compartment_id=var["compartment_id"],
|
137
|
-
image_shape_family=var["autonomous_database_software_image_image_shape_family"],
|
138
|
-
display_name=var["autonomous_database_software_image_display_name"],
|
139
|
-
state=var["autonomous_database_software_image_state"])
|
140
|
-
```
|
141
|
-
<!--End PulumiCodeChooser -->
|
142
|
-
|
143
|
-
|
144
|
-
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
145
|
-
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
146
|
-
:param str image_shape_family: A filter to return only resources that match the given image shape family exactly.
|
147
|
-
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
148
|
-
"""
|
149
|
-
__args__ = dict()
|
150
|
-
__args__['compartmentId'] = compartment_id
|
151
|
-
__args__['displayName'] = display_name
|
152
|
-
__args__['filters'] = filters
|
153
|
-
__args__['imageShapeFamily'] = image_shape_family
|
154
|
-
__args__['state'] = state
|
155
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
156
|
-
__ret__ = pulumi.runtime.invoke('oci:Database/getAutonomousDatabaseSoftwareImages:getAutonomousDatabaseSoftwareImages', __args__, opts=opts, typ=GetAutonomousDatabaseSoftwareImagesResult).value
|
157
|
-
|
158
|
-
return AwaitableGetAutonomousDatabaseSoftwareImagesResult(
|
159
|
-
autonomous_database_software_image_collections=pulumi.get(__ret__, 'autonomous_database_software_image_collections'),
|
160
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
161
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
162
|
-
filters=pulumi.get(__ret__, 'filters'),
|
163
|
-
id=pulumi.get(__ret__, 'id'),
|
164
|
-
image_shape_family=pulumi.get(__ret__, 'image_shape_family'),
|
165
|
-
state=pulumi.get(__ret__, 'state'))
|
166
|
-
|
167
|
-
|
168
|
-
@_utilities.lift_output_func(get_autonomous_database_software_images)
|
169
|
-
def get_autonomous_database_software_images_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
170
|
-
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
-
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAutonomousDatabaseSoftwareImagesFilterArgs']]]]] = None,
|
172
|
-
image_shape_family: Optional[pulumi.Input[str]] = None,
|
173
|
-
state: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutonomousDatabaseSoftwareImagesResult]:
|
175
|
-
"""
|
176
|
-
This data source provides the list of Autonomous Database Software Images in Oracle Cloud Infrastructure Database service.
|
177
|
-
|
178
|
-
Gets a list of the Autonomous Database Software Images in the specified compartment.
|
179
|
-
|
180
|
-
## Example Usage
|
181
|
-
|
182
|
-
<!--Start PulumiCodeChooser -->
|
183
|
-
```python
|
184
|
-
import pulumi
|
185
|
-
import pulumi_oci as oci
|
186
|
-
|
187
|
-
test_autonomous_database_software_images = oci.Database.get_autonomous_database_software_images(compartment_id=var["compartment_id"],
|
188
|
-
image_shape_family=var["autonomous_database_software_image_image_shape_family"],
|
189
|
-
display_name=var["autonomous_database_software_image_display_name"],
|
190
|
-
state=var["autonomous_database_software_image_state"])
|
191
|
-
```
|
192
|
-
<!--End PulumiCodeChooser -->
|
193
|
-
|
194
|
-
|
195
|
-
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
196
|
-
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
197
|
-
:param str image_shape_family: A filter to return only resources that match the given image shape family exactly.
|
198
|
-
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
199
|
-
"""
|
200
|
-
...
|
@@ -1,173 +0,0 @@
|
|
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
|
-
|
13
|
-
__all__ = [
|
14
|
-
'GetUsageStatementEmailRecipientsGroupResult',
|
15
|
-
'AwaitableGetUsageStatementEmailRecipientsGroupResult',
|
16
|
-
'get_usage_statement_email_recipients_group',
|
17
|
-
'get_usage_statement_email_recipients_group_output',
|
18
|
-
]
|
19
|
-
|
20
|
-
@pulumi.output_type
|
21
|
-
class GetUsageStatementEmailRecipientsGroupResult:
|
22
|
-
"""
|
23
|
-
A collection of values returned by getUsageStatementEmailRecipientsGroup.
|
24
|
-
"""
|
25
|
-
def __init__(__self__, compartment_id=None, email_recipients_group_id=None, id=None, recipients_lists=None, state=None, subscription_id=None):
|
26
|
-
if compartment_id and not isinstance(compartment_id, str):
|
27
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
28
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
29
|
-
if email_recipients_group_id and not isinstance(email_recipients_group_id, str):
|
30
|
-
raise TypeError("Expected argument 'email_recipients_group_id' to be a str")
|
31
|
-
pulumi.set(__self__, "email_recipients_group_id", email_recipients_group_id)
|
32
|
-
if id and not isinstance(id, str):
|
33
|
-
raise TypeError("Expected argument 'id' to be a str")
|
34
|
-
pulumi.set(__self__, "id", id)
|
35
|
-
if recipients_lists and not isinstance(recipients_lists, list):
|
36
|
-
raise TypeError("Expected argument 'recipients_lists' to be a list")
|
37
|
-
pulumi.set(__self__, "recipients_lists", recipients_lists)
|
38
|
-
if state and not isinstance(state, str):
|
39
|
-
raise TypeError("Expected argument 'state' to be a str")
|
40
|
-
pulumi.set(__self__, "state", state)
|
41
|
-
if subscription_id and not isinstance(subscription_id, str):
|
42
|
-
raise TypeError("Expected argument 'subscription_id' to be a str")
|
43
|
-
pulumi.set(__self__, "subscription_id", subscription_id)
|
44
|
-
|
45
|
-
@property
|
46
|
-
@pulumi.getter(name="compartmentId")
|
47
|
-
def compartment_id(self) -> str:
|
48
|
-
"""
|
49
|
-
The customer tenancy OCID.
|
50
|
-
"""
|
51
|
-
return pulumi.get(self, "compartment_id")
|
52
|
-
|
53
|
-
@property
|
54
|
-
@pulumi.getter(name="emailRecipientsGroupId")
|
55
|
-
def email_recipients_group_id(self) -> str:
|
56
|
-
return pulumi.get(self, "email_recipients_group_id")
|
57
|
-
|
58
|
-
@property
|
59
|
-
@pulumi.getter
|
60
|
-
def id(self) -> str:
|
61
|
-
"""
|
62
|
-
The usage statement email recipients group OCID.
|
63
|
-
"""
|
64
|
-
return pulumi.get(self, "id")
|
65
|
-
|
66
|
-
@property
|
67
|
-
@pulumi.getter(name="recipientsLists")
|
68
|
-
def recipients_lists(self) -> Sequence['outputs.GetUsageStatementEmailRecipientsGroupRecipientsListResult']:
|
69
|
-
"""
|
70
|
-
The list of recipient will receive the usage statement email.
|
71
|
-
"""
|
72
|
-
return pulumi.get(self, "recipients_lists")
|
73
|
-
|
74
|
-
@property
|
75
|
-
@pulumi.getter
|
76
|
-
def state(self) -> str:
|
77
|
-
"""
|
78
|
-
The email recipient group lifecycle state.
|
79
|
-
"""
|
80
|
-
return pulumi.get(self, "state")
|
81
|
-
|
82
|
-
@property
|
83
|
-
@pulumi.getter(name="subscriptionId")
|
84
|
-
def subscription_id(self) -> str:
|
85
|
-
return pulumi.get(self, "subscription_id")
|
86
|
-
|
87
|
-
|
88
|
-
class AwaitableGetUsageStatementEmailRecipientsGroupResult(GetUsageStatementEmailRecipientsGroupResult):
|
89
|
-
# pylint: disable=using-constant-test
|
90
|
-
def __await__(self):
|
91
|
-
if False:
|
92
|
-
yield self
|
93
|
-
return GetUsageStatementEmailRecipientsGroupResult(
|
94
|
-
compartment_id=self.compartment_id,
|
95
|
-
email_recipients_group_id=self.email_recipients_group_id,
|
96
|
-
id=self.id,
|
97
|
-
recipients_lists=self.recipients_lists,
|
98
|
-
state=self.state,
|
99
|
-
subscription_id=self.subscription_id)
|
100
|
-
|
101
|
-
|
102
|
-
def get_usage_statement_email_recipients_group(compartment_id: Optional[str] = None,
|
103
|
-
email_recipients_group_id: Optional[str] = None,
|
104
|
-
subscription_id: Optional[str] = None,
|
105
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsageStatementEmailRecipientsGroupResult:
|
106
|
-
"""
|
107
|
-
This data source provides details about a specific Usage Statement Email Recipients Group resource in Oracle Cloud Infrastructure Metering Computation service.
|
108
|
-
|
109
|
-
Return the saved usage statement email recipient group.
|
110
|
-
|
111
|
-
## Example Usage
|
112
|
-
|
113
|
-
<!--Start PulumiCodeChooser -->
|
114
|
-
```python
|
115
|
-
import pulumi
|
116
|
-
import pulumi_oci as oci
|
117
|
-
|
118
|
-
test_usage_statement_email_recipients_group = oci.MeteringComputation.get_usage_statement_email_recipients_group(compartment_id=var["compartment_id"],
|
119
|
-
email_recipients_group_id=oci_identity_group["test_group"]["id"],
|
120
|
-
subscription_id=oci_onesubscription_subscription["test_subscription"]["id"])
|
121
|
-
```
|
122
|
-
<!--End PulumiCodeChooser -->
|
123
|
-
|
124
|
-
|
125
|
-
:param str compartment_id: The compartment ID in which to list resources.
|
126
|
-
:param str email_recipients_group_id: The email recipient group OCID.
|
127
|
-
:param str subscription_id: The UsageStatement Subscription unique OCID.
|
128
|
-
"""
|
129
|
-
__args__ = dict()
|
130
|
-
__args__['compartmentId'] = compartment_id
|
131
|
-
__args__['emailRecipientsGroupId'] = email_recipients_group_id
|
132
|
-
__args__['subscriptionId'] = subscription_id
|
133
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
134
|
-
__ret__ = pulumi.runtime.invoke('oci:MeteringComputation/getUsageStatementEmailRecipientsGroup:getUsageStatementEmailRecipientsGroup', __args__, opts=opts, typ=GetUsageStatementEmailRecipientsGroupResult).value
|
135
|
-
|
136
|
-
return AwaitableGetUsageStatementEmailRecipientsGroupResult(
|
137
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
138
|
-
email_recipients_group_id=pulumi.get(__ret__, 'email_recipients_group_id'),
|
139
|
-
id=pulumi.get(__ret__, 'id'),
|
140
|
-
recipients_lists=pulumi.get(__ret__, 'recipients_lists'),
|
141
|
-
state=pulumi.get(__ret__, 'state'),
|
142
|
-
subscription_id=pulumi.get(__ret__, 'subscription_id'))
|
143
|
-
|
144
|
-
|
145
|
-
@_utilities.lift_output_func(get_usage_statement_email_recipients_group)
|
146
|
-
def get_usage_statement_email_recipients_group_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
147
|
-
email_recipients_group_id: Optional[pulumi.Input[str]] = None,
|
148
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
149
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsageStatementEmailRecipientsGroupResult]:
|
150
|
-
"""
|
151
|
-
This data source provides details about a specific Usage Statement Email Recipients Group resource in Oracle Cloud Infrastructure Metering Computation service.
|
152
|
-
|
153
|
-
Return the saved usage statement email recipient group.
|
154
|
-
|
155
|
-
## Example Usage
|
156
|
-
|
157
|
-
<!--Start PulumiCodeChooser -->
|
158
|
-
```python
|
159
|
-
import pulumi
|
160
|
-
import pulumi_oci as oci
|
161
|
-
|
162
|
-
test_usage_statement_email_recipients_group = oci.MeteringComputation.get_usage_statement_email_recipients_group(compartment_id=var["compartment_id"],
|
163
|
-
email_recipients_group_id=oci_identity_group["test_group"]["id"],
|
164
|
-
subscription_id=oci_onesubscription_subscription["test_subscription"]["id"])
|
165
|
-
```
|
166
|
-
<!--End PulumiCodeChooser -->
|
167
|
-
|
168
|
-
|
169
|
-
:param str compartment_id: The compartment ID in which to list resources.
|
170
|
-
:param str email_recipients_group_id: The email recipient group OCID.
|
171
|
-
:param str subscription_id: The UsageStatement Subscription unique OCID.
|
172
|
-
"""
|
173
|
-
...
|