pulumi-oci 2.1.0a1719958917__py3-none-any.whl → 2.1.0a1720054142__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 +43 -0
- pulumi_oci/database/__init__.py +11 -0
- pulumi_oci/database/_inputs.py +607 -0
- pulumi_oci/database/db_node.py +28 -0
- pulumi_oci/database/exadb_vm_cluster.py +1761 -0
- pulumi_oci/database/exascale_db_storage_vault.py +787 -0
- pulumi_oci/database/get_backups.py +22 -5
- pulumi_oci/database/get_db_node.py +14 -1
- pulumi_oci/database/get_db_nodes.py +2 -2
- pulumi_oci/database/get_exadb_vm_cluster.py +614 -0
- pulumi_oci/database/get_exadb_vm_cluster_update.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entries.py +153 -0
- pulumi_oci/database/get_exadb_vm_cluster_update_history_entry.py +226 -0
- pulumi_oci/database/get_exadb_vm_cluster_updates.py +173 -0
- pulumi_oci/database/get_exadb_vm_clusters.py +196 -0
- pulumi_oci/database/get_exascale_db_storage_vault.py +301 -0
- pulumi_oci/database/get_exascale_db_storage_vaults.py +176 -0
- pulumi_oci/database/get_gi_version_minor_versions.py +221 -0
- pulumi_oci/database/get_gi_versions.py +22 -5
- pulumi_oci/database/outputs.py +2050 -0
- pulumi_oci/database/pluggable_database.py +7 -7
- pulumi_oci/databasemigration/__init__.py +6 -0
- pulumi_oci/databasemigration/_inputs.py +1577 -0
- pulumi_oci/databasemigration/connection.py +2019 -0
- pulumi_oci/databasemigration/get_connection.py +616 -0
- pulumi_oci/databasemigration/get_connections.py +225 -0
- pulumi_oci/databasemigration/get_job_advisor_report.py +2 -10
- pulumi_oci/databasemigration/get_migration.py +427 -0
- pulumi_oci/databasemigration/get_migration_object_types.py +24 -13
- pulumi_oci/databasemigration/get_migrations.py +407 -0
- pulumi_oci/databasemigration/job.py +16 -20
- pulumi_oci/databasemigration/migration.py +1471 -0
- pulumi_oci/databasemigration/outputs.py +4301 -73
- pulumi_oci/filestorage/_inputs.py +10 -18
- pulumi_oci/filestorage/export.py +28 -7
- pulumi_oci/filestorage/file_system.py +159 -35
- pulumi_oci/filestorage/outputs.py +55 -34
- pulumi_oci/generativeai/_inputs.py +50 -2
- pulumi_oci/generativeai/dedicated_ai_cluster.py +30 -2
- pulumi_oci/generativeai/endpoint.py +2 -2
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +2 -47
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +2 -14
- pulumi_oci/generativeai/get_endpoint.py +2 -26
- pulumi_oci/generativeai/get_endpoints.py +2 -8
- pulumi_oci/generativeai/get_model.py +2 -38
- pulumi_oci/generativeai/get_models.py +2 -8
- pulumi_oci/generativeai/model.py +2 -2
- pulumi_oci/generativeai/outputs.py +86 -310
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/resourcescheduler/__init__.py +12 -0
- pulumi_oci/resourcescheduler/_inputs.py +224 -0
- pulumi_oci/resourcescheduler/get_schedule.py +340 -0
- pulumi_oci/resourcescheduler/get_schedules.py +193 -0
- pulumi_oci/resourcescheduler/outputs.py +687 -0
- pulumi_oci/resourcescheduler/schedule.py +977 -0
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/METADATA +1 -1
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/RECORD +59 -36
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.1.0a1720054142.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,173 @@
|
|
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
|
+
'GetExadbVmClusterUpdatesResult',
|
16
|
+
'AwaitableGetExadbVmClusterUpdatesResult',
|
17
|
+
'get_exadb_vm_cluster_updates',
|
18
|
+
'get_exadb_vm_cluster_updates_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetExadbVmClusterUpdatesResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getExadbVmClusterUpdates.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, exadb_vm_cluster_id=None, exadb_vm_cluster_updates=None, filters=None, id=None, update_type=None, version=None):
|
27
|
+
if exadb_vm_cluster_id and not isinstance(exadb_vm_cluster_id, str):
|
28
|
+
raise TypeError("Expected argument 'exadb_vm_cluster_id' to be a str")
|
29
|
+
pulumi.set(__self__, "exadb_vm_cluster_id", exadb_vm_cluster_id)
|
30
|
+
if exadb_vm_cluster_updates and not isinstance(exadb_vm_cluster_updates, list):
|
31
|
+
raise TypeError("Expected argument 'exadb_vm_cluster_updates' to be a list")
|
32
|
+
pulumi.set(__self__, "exadb_vm_cluster_updates", exadb_vm_cluster_updates)
|
33
|
+
if filters and not isinstance(filters, list):
|
34
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
35
|
+
pulumi.set(__self__, "filters", filters)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if update_type and not isinstance(update_type, str):
|
40
|
+
raise TypeError("Expected argument 'update_type' to be a str")
|
41
|
+
pulumi.set(__self__, "update_type", update_type)
|
42
|
+
if version and not isinstance(version, str):
|
43
|
+
raise TypeError("Expected argument 'version' to be a str")
|
44
|
+
pulumi.set(__self__, "version", version)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter(name="exadbVmClusterId")
|
48
|
+
def exadb_vm_cluster_id(self) -> str:
|
49
|
+
return pulumi.get(self, "exadb_vm_cluster_id")
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="exadbVmClusterUpdates")
|
53
|
+
def exadb_vm_cluster_updates(self) -> Sequence['outputs.GetExadbVmClusterUpdatesExadbVmClusterUpdateResult']:
|
54
|
+
"""
|
55
|
+
The list of exadb_vm_cluster_updates.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "exadb_vm_cluster_updates")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def filters(self) -> Optional[Sequence['outputs.GetExadbVmClusterUpdatesFilterResult']]:
|
62
|
+
return pulumi.get(self, "filters")
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter
|
66
|
+
def id(self) -> str:
|
67
|
+
"""
|
68
|
+
The provider-assigned unique ID for this managed resource.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "id")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="updateType")
|
74
|
+
def update_type(self) -> Optional[str]:
|
75
|
+
"""
|
76
|
+
The type of cloud VM cluster maintenance update.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "update_type")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def version(self) -> Optional[str]:
|
83
|
+
"""
|
84
|
+
The version of the maintenance update package.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "version")
|
87
|
+
|
88
|
+
|
89
|
+
class AwaitableGetExadbVmClusterUpdatesResult(GetExadbVmClusterUpdatesResult):
|
90
|
+
# pylint: disable=using-constant-test
|
91
|
+
def __await__(self):
|
92
|
+
if False:
|
93
|
+
yield self
|
94
|
+
return GetExadbVmClusterUpdatesResult(
|
95
|
+
exadb_vm_cluster_id=self.exadb_vm_cluster_id,
|
96
|
+
exadb_vm_cluster_updates=self.exadb_vm_cluster_updates,
|
97
|
+
filters=self.filters,
|
98
|
+
id=self.id,
|
99
|
+
update_type=self.update_type,
|
100
|
+
version=self.version)
|
101
|
+
|
102
|
+
|
103
|
+
def get_exadb_vm_cluster_updates(exadb_vm_cluster_id: Optional[str] = None,
|
104
|
+
filters: Optional[Sequence[pulumi.InputType['GetExadbVmClusterUpdatesFilterArgs']]] = None,
|
105
|
+
update_type: Optional[str] = None,
|
106
|
+
version: Optional[str] = None,
|
107
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExadbVmClusterUpdatesResult:
|
108
|
+
"""
|
109
|
+
This data source provides the list of Exadb Vm Cluster Updates in Oracle Cloud Infrastructure Database service.
|
110
|
+
|
111
|
+
Lists the maintenance updates that can be applied to the specified Exadata VM cluster on Exascale Infrastructure.
|
112
|
+
|
113
|
+
## Example Usage
|
114
|
+
|
115
|
+
```python
|
116
|
+
import pulumi
|
117
|
+
import pulumi_oci as oci
|
118
|
+
|
119
|
+
test_exadb_vm_cluster_updates = oci.Database.get_exadb_vm_cluster_updates(exadb_vm_cluster_id=test_exadb_vm_cluster["id"],
|
120
|
+
update_type=exadb_vm_cluster_update_update_type,
|
121
|
+
version=exadb_vm_cluster_update_version)
|
122
|
+
```
|
123
|
+
|
124
|
+
|
125
|
+
:param str exadb_vm_cluster_id: The Exadata VM cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure.
|
126
|
+
:param str update_type: A filter to return only resources that match the given update type exactly.
|
127
|
+
:param str version: A filter to return only resources that match the given update version exactly.
|
128
|
+
"""
|
129
|
+
__args__ = dict()
|
130
|
+
__args__['exadbVmClusterId'] = exadb_vm_cluster_id
|
131
|
+
__args__['filters'] = filters
|
132
|
+
__args__['updateType'] = update_type
|
133
|
+
__args__['version'] = version
|
134
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
135
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getExadbVmClusterUpdates:getExadbVmClusterUpdates', __args__, opts=opts, typ=GetExadbVmClusterUpdatesResult).value
|
136
|
+
|
137
|
+
return AwaitableGetExadbVmClusterUpdatesResult(
|
138
|
+
exadb_vm_cluster_id=pulumi.get(__ret__, 'exadb_vm_cluster_id'),
|
139
|
+
exadb_vm_cluster_updates=pulumi.get(__ret__, 'exadb_vm_cluster_updates'),
|
140
|
+
filters=pulumi.get(__ret__, 'filters'),
|
141
|
+
id=pulumi.get(__ret__, 'id'),
|
142
|
+
update_type=pulumi.get(__ret__, 'update_type'),
|
143
|
+
version=pulumi.get(__ret__, 'version'))
|
144
|
+
|
145
|
+
|
146
|
+
@_utilities.lift_output_func(get_exadb_vm_cluster_updates)
|
147
|
+
def get_exadb_vm_cluster_updates_output(exadb_vm_cluster_id: Optional[pulumi.Input[str]] = None,
|
148
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetExadbVmClusterUpdatesFilterArgs']]]]] = None,
|
149
|
+
update_type: Optional[pulumi.Input[Optional[str]]] = None,
|
150
|
+
version: Optional[pulumi.Input[Optional[str]]] = None,
|
151
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExadbVmClusterUpdatesResult]:
|
152
|
+
"""
|
153
|
+
This data source provides the list of Exadb Vm Cluster Updates in Oracle Cloud Infrastructure Database service.
|
154
|
+
|
155
|
+
Lists the maintenance updates that can be applied to the specified Exadata VM cluster on Exascale Infrastructure.
|
156
|
+
|
157
|
+
## Example Usage
|
158
|
+
|
159
|
+
```python
|
160
|
+
import pulumi
|
161
|
+
import pulumi_oci as oci
|
162
|
+
|
163
|
+
test_exadb_vm_cluster_updates = oci.Database.get_exadb_vm_cluster_updates(exadb_vm_cluster_id=test_exadb_vm_cluster["id"],
|
164
|
+
update_type=exadb_vm_cluster_update_update_type,
|
165
|
+
version=exadb_vm_cluster_update_version)
|
166
|
+
```
|
167
|
+
|
168
|
+
|
169
|
+
:param str exadb_vm_cluster_id: The Exadata VM cluster [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure.
|
170
|
+
:param str update_type: A filter to return only resources that match the given update type exactly.
|
171
|
+
:param str version: A filter to return only resources that match the given update version exactly.
|
172
|
+
"""
|
173
|
+
...
|
@@ -0,0 +1,196 @@
|
|
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
|
+
'GetExadbVmClustersResult',
|
16
|
+
'AwaitableGetExadbVmClustersResult',
|
17
|
+
'get_exadb_vm_clusters',
|
18
|
+
'get_exadb_vm_clusters_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetExadbVmClustersResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getExadbVmClusters.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, display_name=None, exadb_vm_clusters=None, exascale_db_storage_vault_id=None, filters=None, id=None, state=None):
|
27
|
+
if compartment_id and not isinstance(compartment_id, str):
|
28
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
30
|
+
if display_name and not isinstance(display_name, str):
|
31
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
32
|
+
pulumi.set(__self__, "display_name", display_name)
|
33
|
+
if exadb_vm_clusters and not isinstance(exadb_vm_clusters, list):
|
34
|
+
raise TypeError("Expected argument 'exadb_vm_clusters' to be a list")
|
35
|
+
pulumi.set(__self__, "exadb_vm_clusters", exadb_vm_clusters)
|
36
|
+
if exascale_db_storage_vault_id and not isinstance(exascale_db_storage_vault_id, str):
|
37
|
+
raise TypeError("Expected argument 'exascale_db_storage_vault_id' to be a str")
|
38
|
+
pulumi.set(__self__, "exascale_db_storage_vault_id", exascale_db_storage_vault_id)
|
39
|
+
if filters and not isinstance(filters, list):
|
40
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
41
|
+
pulumi.set(__self__, "filters", filters)
|
42
|
+
if id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
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="compartmentId")
|
51
|
+
def compartment_id(self) -> str:
|
52
|
+
"""
|
53
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "compartment_id")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="displayName")
|
59
|
+
def display_name(self) -> Optional[str]:
|
60
|
+
"""
|
61
|
+
The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "display_name")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="exadbVmClusters")
|
67
|
+
def exadb_vm_clusters(self) -> Sequence['outputs.GetExadbVmClustersExadbVmClusterResult']:
|
68
|
+
"""
|
69
|
+
The list of exadb_vm_clusters.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "exadb_vm_clusters")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="exascaleDbStorageVaultId")
|
75
|
+
def exascale_db_storage_vault_id(self) -> Optional[str]:
|
76
|
+
"""
|
77
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "exascale_db_storage_vault_id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def filters(self) -> Optional[Sequence['outputs.GetExadbVmClustersFilterResult']]:
|
84
|
+
return pulumi.get(self, "filters")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def id(self) -> str:
|
89
|
+
"""
|
90
|
+
The provider-assigned unique ID for this managed resource.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "id")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def state(self) -> Optional[str]:
|
97
|
+
"""
|
98
|
+
The current state of the Exadata VM cluster on Exascale Infrastructure.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "state")
|
101
|
+
|
102
|
+
|
103
|
+
class AwaitableGetExadbVmClustersResult(GetExadbVmClustersResult):
|
104
|
+
# pylint: disable=using-constant-test
|
105
|
+
def __await__(self):
|
106
|
+
if False:
|
107
|
+
yield self
|
108
|
+
return GetExadbVmClustersResult(
|
109
|
+
compartment_id=self.compartment_id,
|
110
|
+
display_name=self.display_name,
|
111
|
+
exadb_vm_clusters=self.exadb_vm_clusters,
|
112
|
+
exascale_db_storage_vault_id=self.exascale_db_storage_vault_id,
|
113
|
+
filters=self.filters,
|
114
|
+
id=self.id,
|
115
|
+
state=self.state)
|
116
|
+
|
117
|
+
|
118
|
+
def get_exadb_vm_clusters(compartment_id: Optional[str] = None,
|
119
|
+
display_name: Optional[str] = None,
|
120
|
+
exascale_db_storage_vault_id: Optional[str] = None,
|
121
|
+
filters: Optional[Sequence[pulumi.InputType['GetExadbVmClustersFilterArgs']]] = None,
|
122
|
+
state: Optional[str] = None,
|
123
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExadbVmClustersResult:
|
124
|
+
"""
|
125
|
+
This data source provides the list of Exadb Vm Clusters in Oracle Cloud Infrastructure Database service.
|
126
|
+
|
127
|
+
Gets a list of the Exadata VM clusters on Exascale Infrastructure in the specified compartment. Applies to Exadata Database Service on Exascale Infrastructure only.
|
128
|
+
|
129
|
+
## Example Usage
|
130
|
+
|
131
|
+
```python
|
132
|
+
import pulumi
|
133
|
+
import pulumi_oci as oci
|
134
|
+
|
135
|
+
test_exadb_vm_clusters = oci.Database.get_exadb_vm_clusters(compartment_id=compartment_id,
|
136
|
+
display_name=exadb_vm_cluster_display_name,
|
137
|
+
exascale_db_storage_vault_id=test_exascale_db_storage_vault["id"],
|
138
|
+
state=exadb_vm_cluster_state)
|
139
|
+
```
|
140
|
+
|
141
|
+
|
142
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
143
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
144
|
+
:param str exascale_db_storage_vault_id: A filter to return only Exadata VM clusters on Exascale Infrastructure that match the given Exascale Database Storage Vault ID.
|
145
|
+
:param str state: A filter to return only Exadata VM clusters on Exascale Infrastructure that match the given lifecycle state exactly.
|
146
|
+
"""
|
147
|
+
__args__ = dict()
|
148
|
+
__args__['compartmentId'] = compartment_id
|
149
|
+
__args__['displayName'] = display_name
|
150
|
+
__args__['exascaleDbStorageVaultId'] = exascale_db_storage_vault_id
|
151
|
+
__args__['filters'] = filters
|
152
|
+
__args__['state'] = state
|
153
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
154
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getExadbVmClusters:getExadbVmClusters', __args__, opts=opts, typ=GetExadbVmClustersResult).value
|
155
|
+
|
156
|
+
return AwaitableGetExadbVmClustersResult(
|
157
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
158
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
159
|
+
exadb_vm_clusters=pulumi.get(__ret__, 'exadb_vm_clusters'),
|
160
|
+
exascale_db_storage_vault_id=pulumi.get(__ret__, 'exascale_db_storage_vault_id'),
|
161
|
+
filters=pulumi.get(__ret__, 'filters'),
|
162
|
+
id=pulumi.get(__ret__, 'id'),
|
163
|
+
state=pulumi.get(__ret__, 'state'))
|
164
|
+
|
165
|
+
|
166
|
+
@_utilities.lift_output_func(get_exadb_vm_clusters)
|
167
|
+
def get_exadb_vm_clusters_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
168
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
169
|
+
exascale_db_storage_vault_id: Optional[pulumi.Input[Optional[str]]] = None,
|
170
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetExadbVmClustersFilterArgs']]]]] = None,
|
171
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExadbVmClustersResult]:
|
173
|
+
"""
|
174
|
+
This data source provides the list of Exadb Vm Clusters in Oracle Cloud Infrastructure Database service.
|
175
|
+
|
176
|
+
Gets a list of the Exadata VM clusters on Exascale Infrastructure in the specified compartment. Applies to Exadata Database Service on Exascale Infrastructure only.
|
177
|
+
|
178
|
+
## Example Usage
|
179
|
+
|
180
|
+
```python
|
181
|
+
import pulumi
|
182
|
+
import pulumi_oci as oci
|
183
|
+
|
184
|
+
test_exadb_vm_clusters = oci.Database.get_exadb_vm_clusters(compartment_id=compartment_id,
|
185
|
+
display_name=exadb_vm_cluster_display_name,
|
186
|
+
exascale_db_storage_vault_id=test_exascale_db_storage_vault["id"],
|
187
|
+
state=exadb_vm_cluster_state)
|
188
|
+
```
|
189
|
+
|
190
|
+
|
191
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
192
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
193
|
+
:param str exascale_db_storage_vault_id: A filter to return only Exadata VM clusters on Exascale Infrastructure that match the given Exascale Database Storage Vault ID.
|
194
|
+
:param str state: A filter to return only Exadata VM clusters on Exascale Infrastructure that match the given lifecycle state exactly.
|
195
|
+
"""
|
196
|
+
...
|
@@ -0,0 +1,301 @@
|
|
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
|
+
'GetExascaleDbStorageVaultResult',
|
15
|
+
'AwaitableGetExascaleDbStorageVaultResult',
|
16
|
+
'get_exascale_db_storage_vault',
|
17
|
+
'get_exascale_db_storage_vault_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetExascaleDbStorageVaultResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getExascaleDbStorageVault.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, additional_flash_cache_in_percent=None, availability_domain=None, compartment_id=None, defined_tags=None, description=None, display_name=None, exascale_db_storage_vault_id=None, freeform_tags=None, high_capacity_database_storages=None, id=None, lifecycle_details=None, state=None, system_tags=None, time_created=None, time_zone=None, vm_cluster_count=None, vm_cluster_ids=None):
|
26
|
+
if additional_flash_cache_in_percent and not isinstance(additional_flash_cache_in_percent, int):
|
27
|
+
raise TypeError("Expected argument 'additional_flash_cache_in_percent' to be a int")
|
28
|
+
pulumi.set(__self__, "additional_flash_cache_in_percent", additional_flash_cache_in_percent)
|
29
|
+
if availability_domain and not isinstance(availability_domain, str):
|
30
|
+
raise TypeError("Expected argument 'availability_domain' to be a str")
|
31
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
36
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
37
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
38
|
+
if description and not isinstance(description, str):
|
39
|
+
raise TypeError("Expected argument 'description' to be a str")
|
40
|
+
pulumi.set(__self__, "description", description)
|
41
|
+
if display_name and not isinstance(display_name, str):
|
42
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if exascale_db_storage_vault_id and not isinstance(exascale_db_storage_vault_id, str):
|
45
|
+
raise TypeError("Expected argument 'exascale_db_storage_vault_id' to be a str")
|
46
|
+
pulumi.set(__self__, "exascale_db_storage_vault_id", exascale_db_storage_vault_id)
|
47
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
48
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
49
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
50
|
+
if high_capacity_database_storages and not isinstance(high_capacity_database_storages, list):
|
51
|
+
raise TypeError("Expected argument 'high_capacity_database_storages' to be a list")
|
52
|
+
pulumi.set(__self__, "high_capacity_database_storages", high_capacity_database_storages)
|
53
|
+
if id and not isinstance(id, str):
|
54
|
+
raise TypeError("Expected argument 'id' to be a str")
|
55
|
+
pulumi.set(__self__, "id", id)
|
56
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
57
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
58
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
59
|
+
if state and not isinstance(state, str):
|
60
|
+
raise TypeError("Expected argument 'state' to be a str")
|
61
|
+
pulumi.set(__self__, "state", state)
|
62
|
+
if system_tags and not isinstance(system_tags, dict):
|
63
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
64
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
65
|
+
if time_created and not isinstance(time_created, str):
|
66
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
67
|
+
pulumi.set(__self__, "time_created", time_created)
|
68
|
+
if time_zone and not isinstance(time_zone, str):
|
69
|
+
raise TypeError("Expected argument 'time_zone' to be a str")
|
70
|
+
pulumi.set(__self__, "time_zone", time_zone)
|
71
|
+
if vm_cluster_count and not isinstance(vm_cluster_count, int):
|
72
|
+
raise TypeError("Expected argument 'vm_cluster_count' to be a int")
|
73
|
+
pulumi.set(__self__, "vm_cluster_count", vm_cluster_count)
|
74
|
+
if vm_cluster_ids and not isinstance(vm_cluster_ids, list):
|
75
|
+
raise TypeError("Expected argument 'vm_cluster_ids' to be a list")
|
76
|
+
pulumi.set(__self__, "vm_cluster_ids", vm_cluster_ids)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="additionalFlashCacheInPercent")
|
80
|
+
def additional_flash_cache_in_percent(self) -> int:
|
81
|
+
"""
|
82
|
+
The size of additional Flash Cache in percentage of High Capacity database storage.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "additional_flash_cache_in_percent")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="availabilityDomain")
|
88
|
+
def availability_domain(self) -> str:
|
89
|
+
"""
|
90
|
+
The name of the availability domain in which the Exadata Database Storage Vault is located.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "availability_domain")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="compartmentId")
|
96
|
+
def compartment_id(self) -> str:
|
97
|
+
"""
|
98
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "compartment_id")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="definedTags")
|
104
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
105
|
+
"""
|
106
|
+
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).
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "defined_tags")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def description(self) -> str:
|
113
|
+
"""
|
114
|
+
Exadata Database Storage Vault description.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "description")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="displayName")
|
120
|
+
def display_name(self) -> str:
|
121
|
+
"""
|
122
|
+
The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "display_name")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="exascaleDbStorageVaultId")
|
128
|
+
def exascale_db_storage_vault_id(self) -> str:
|
129
|
+
return pulumi.get(self, "exascale_db_storage_vault_id")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="freeformTags")
|
133
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
134
|
+
"""
|
135
|
+
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"}`
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "freeform_tags")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="highCapacityDatabaseStorages")
|
141
|
+
def high_capacity_database_storages(self) -> Sequence['outputs.GetExascaleDbStorageVaultHighCapacityDatabaseStorageResult']:
|
142
|
+
"""
|
143
|
+
Exadata Database Storage Details
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "high_capacity_database_storages")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter
|
149
|
+
def id(self) -> str:
|
150
|
+
"""
|
151
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "id")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="lifecycleDetails")
|
157
|
+
def lifecycle_details(self) -> str:
|
158
|
+
"""
|
159
|
+
Additional information about the current lifecycle state.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "lifecycle_details")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter
|
165
|
+
def state(self) -> str:
|
166
|
+
"""
|
167
|
+
The current state of the Exadata Database Storage Vault.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "state")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="systemTags")
|
173
|
+
def system_tags(self) -> Mapping[str, Any]:
|
174
|
+
"""
|
175
|
+
System 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).
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "system_tags")
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter(name="timeCreated")
|
181
|
+
def time_created(self) -> str:
|
182
|
+
"""
|
183
|
+
The date and time that the Exadata Database Storage Vault was created.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "time_created")
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter(name="timeZone")
|
189
|
+
def time_zone(self) -> str:
|
190
|
+
"""
|
191
|
+
The time zone that you want to use for the Exadata Database Storage Vault. For details, see [Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm).
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "time_zone")
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter(name="vmClusterCount")
|
197
|
+
def vm_cluster_count(self) -> int:
|
198
|
+
"""
|
199
|
+
The number of Exadata VM clusters used the Exadata Database Storage Vault.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "vm_cluster_count")
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="vmClusterIds")
|
205
|
+
def vm_cluster_ids(self) -> Sequence[str]:
|
206
|
+
"""
|
207
|
+
The List of Exadata VM cluster on Exascale Infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) **Note:** If Exadata Database Storage Vault is not used for any Exadata VM cluster on Exascale Infrastructure, this list is empty.
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "vm_cluster_ids")
|
210
|
+
|
211
|
+
|
212
|
+
class AwaitableGetExascaleDbStorageVaultResult(GetExascaleDbStorageVaultResult):
|
213
|
+
# pylint: disable=using-constant-test
|
214
|
+
def __await__(self):
|
215
|
+
if False:
|
216
|
+
yield self
|
217
|
+
return GetExascaleDbStorageVaultResult(
|
218
|
+
additional_flash_cache_in_percent=self.additional_flash_cache_in_percent,
|
219
|
+
availability_domain=self.availability_domain,
|
220
|
+
compartment_id=self.compartment_id,
|
221
|
+
defined_tags=self.defined_tags,
|
222
|
+
description=self.description,
|
223
|
+
display_name=self.display_name,
|
224
|
+
exascale_db_storage_vault_id=self.exascale_db_storage_vault_id,
|
225
|
+
freeform_tags=self.freeform_tags,
|
226
|
+
high_capacity_database_storages=self.high_capacity_database_storages,
|
227
|
+
id=self.id,
|
228
|
+
lifecycle_details=self.lifecycle_details,
|
229
|
+
state=self.state,
|
230
|
+
system_tags=self.system_tags,
|
231
|
+
time_created=self.time_created,
|
232
|
+
time_zone=self.time_zone,
|
233
|
+
vm_cluster_count=self.vm_cluster_count,
|
234
|
+
vm_cluster_ids=self.vm_cluster_ids)
|
235
|
+
|
236
|
+
|
237
|
+
def get_exascale_db_storage_vault(exascale_db_storage_vault_id: Optional[str] = None,
|
238
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExascaleDbStorageVaultResult:
|
239
|
+
"""
|
240
|
+
This data source provides details about a specific Exascale Db Storage Vault resource in Oracle Cloud Infrastructure Database service.
|
241
|
+
|
242
|
+
Gets information about the specified Exadata Database Storage Vaults in the specified compartment.
|
243
|
+
|
244
|
+
## Example Usage
|
245
|
+
|
246
|
+
```python
|
247
|
+
import pulumi
|
248
|
+
import pulumi_oci as oci
|
249
|
+
|
250
|
+
test_exascale_db_storage_vault = oci.Database.get_exascale_db_storage_vault(exascale_db_storage_vault_id=test_exascale_db_storage_vault_oci_database_exascale_db_storage_vault["id"])
|
251
|
+
```
|
252
|
+
|
253
|
+
|
254
|
+
:param str exascale_db_storage_vault_id: The Exadata Database Storage Vault [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
255
|
+
"""
|
256
|
+
__args__ = dict()
|
257
|
+
__args__['exascaleDbStorageVaultId'] = exascale_db_storage_vault_id
|
258
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
259
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getExascaleDbStorageVault:getExascaleDbStorageVault', __args__, opts=opts, typ=GetExascaleDbStorageVaultResult).value
|
260
|
+
|
261
|
+
return AwaitableGetExascaleDbStorageVaultResult(
|
262
|
+
additional_flash_cache_in_percent=pulumi.get(__ret__, 'additional_flash_cache_in_percent'),
|
263
|
+
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
264
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
265
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
266
|
+
description=pulumi.get(__ret__, 'description'),
|
267
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
268
|
+
exascale_db_storage_vault_id=pulumi.get(__ret__, 'exascale_db_storage_vault_id'),
|
269
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
270
|
+
high_capacity_database_storages=pulumi.get(__ret__, 'high_capacity_database_storages'),
|
271
|
+
id=pulumi.get(__ret__, 'id'),
|
272
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
273
|
+
state=pulumi.get(__ret__, 'state'),
|
274
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
275
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
276
|
+
time_zone=pulumi.get(__ret__, 'time_zone'),
|
277
|
+
vm_cluster_count=pulumi.get(__ret__, 'vm_cluster_count'),
|
278
|
+
vm_cluster_ids=pulumi.get(__ret__, 'vm_cluster_ids'))
|
279
|
+
|
280
|
+
|
281
|
+
@_utilities.lift_output_func(get_exascale_db_storage_vault)
|
282
|
+
def get_exascale_db_storage_vault_output(exascale_db_storage_vault_id: Optional[pulumi.Input[str]] = None,
|
283
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExascaleDbStorageVaultResult]:
|
284
|
+
"""
|
285
|
+
This data source provides details about a specific Exascale Db Storage Vault resource in Oracle Cloud Infrastructure Database service.
|
286
|
+
|
287
|
+
Gets information about the specified Exadata Database Storage Vaults in the specified compartment.
|
288
|
+
|
289
|
+
## Example Usage
|
290
|
+
|
291
|
+
```python
|
292
|
+
import pulumi
|
293
|
+
import pulumi_oci as oci
|
294
|
+
|
295
|
+
test_exascale_db_storage_vault = oci.Database.get_exascale_db_storage_vault(exascale_db_storage_vault_id=test_exascale_db_storage_vault_oci_database_exascale_db_storage_vault["id"])
|
296
|
+
```
|
297
|
+
|
298
|
+
|
299
|
+
:param str exascale_db_storage_vault_id: The Exadata Database Storage Vault [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
300
|
+
"""
|
301
|
+
...
|