pulumi-oci 2.0.0a1719867547__py3-none-any.whl → 2.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +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.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/RECORD +59 -36
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.0.0a1719867547.dist-info → pulumi_oci-2.1.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,176 @@
|
|
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
|
+
'GetExascaleDbStorageVaultsResult',
|
16
|
+
'AwaitableGetExascaleDbStorageVaultsResult',
|
17
|
+
'get_exascale_db_storage_vaults',
|
18
|
+
'get_exascale_db_storage_vaults_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetExascaleDbStorageVaultsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getExascaleDbStorageVaults.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, display_name=None, exascale_db_storage_vaults=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 exascale_db_storage_vaults and not isinstance(exascale_db_storage_vaults, list):
|
34
|
+
raise TypeError("Expected argument 'exascale_db_storage_vaults' to be a list")
|
35
|
+
pulumi.set(__self__, "exascale_db_storage_vaults", exascale_db_storage_vaults)
|
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 state and not isinstance(state, str):
|
43
|
+
raise TypeError("Expected argument 'state' to be a str")
|
44
|
+
pulumi.set(__self__, "state", state)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter(name="compartmentId")
|
48
|
+
def compartment_id(self) -> str:
|
49
|
+
"""
|
50
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "compartment_id")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="displayName")
|
56
|
+
def display_name(self) -> Optional[str]:
|
57
|
+
"""
|
58
|
+
The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "display_name")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="exascaleDbStorageVaults")
|
64
|
+
def exascale_db_storage_vaults(self) -> Sequence['outputs.GetExascaleDbStorageVaultsExascaleDbStorageVaultResult']:
|
65
|
+
"""
|
66
|
+
The list of exascale_db_storage_vaults.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "exascale_db_storage_vaults")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def filters(self) -> Optional[Sequence['outputs.GetExascaleDbStorageVaultsFilterResult']]:
|
73
|
+
return pulumi.get(self, "filters")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def id(self) -> str:
|
78
|
+
"""
|
79
|
+
The provider-assigned unique ID for this managed resource.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "id")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def state(self) -> Optional[str]:
|
86
|
+
"""
|
87
|
+
The current state of the Exadata Database Storage Vault.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "state")
|
90
|
+
|
91
|
+
|
92
|
+
class AwaitableGetExascaleDbStorageVaultsResult(GetExascaleDbStorageVaultsResult):
|
93
|
+
# pylint: disable=using-constant-test
|
94
|
+
def __await__(self):
|
95
|
+
if False:
|
96
|
+
yield self
|
97
|
+
return GetExascaleDbStorageVaultsResult(
|
98
|
+
compartment_id=self.compartment_id,
|
99
|
+
display_name=self.display_name,
|
100
|
+
exascale_db_storage_vaults=self.exascale_db_storage_vaults,
|
101
|
+
filters=self.filters,
|
102
|
+
id=self.id,
|
103
|
+
state=self.state)
|
104
|
+
|
105
|
+
|
106
|
+
def get_exascale_db_storage_vaults(compartment_id: Optional[str] = None,
|
107
|
+
display_name: Optional[str] = None,
|
108
|
+
filters: Optional[Sequence[pulumi.InputType['GetExascaleDbStorageVaultsFilterArgs']]] = None,
|
109
|
+
state: Optional[str] = None,
|
110
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExascaleDbStorageVaultsResult:
|
111
|
+
"""
|
112
|
+
This data source provides the list of Exascale Db Storage Vaults in Oracle Cloud Infrastructure Database service.
|
113
|
+
|
114
|
+
Gets a list of the Exadata Database Storage Vaults in the specified compartment.
|
115
|
+
|
116
|
+
## Example Usage
|
117
|
+
|
118
|
+
```python
|
119
|
+
import pulumi
|
120
|
+
import pulumi_oci as oci
|
121
|
+
|
122
|
+
test_exascale_db_storage_vaults = oci.Database.get_exascale_db_storage_vaults(compartment_id=compartment_id,
|
123
|
+
display_name=exascale_db_storage_vault_display_name,
|
124
|
+
state=exascale_db_storage_vault_state)
|
125
|
+
```
|
126
|
+
|
127
|
+
|
128
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
129
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
130
|
+
:param str state: A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
|
131
|
+
"""
|
132
|
+
__args__ = dict()
|
133
|
+
__args__['compartmentId'] = compartment_id
|
134
|
+
__args__['displayName'] = display_name
|
135
|
+
__args__['filters'] = filters
|
136
|
+
__args__['state'] = state
|
137
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
138
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getExascaleDbStorageVaults:getExascaleDbStorageVaults', __args__, opts=opts, typ=GetExascaleDbStorageVaultsResult).value
|
139
|
+
|
140
|
+
return AwaitableGetExascaleDbStorageVaultsResult(
|
141
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
142
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
143
|
+
exascale_db_storage_vaults=pulumi.get(__ret__, 'exascale_db_storage_vaults'),
|
144
|
+
filters=pulumi.get(__ret__, 'filters'),
|
145
|
+
id=pulumi.get(__ret__, 'id'),
|
146
|
+
state=pulumi.get(__ret__, 'state'))
|
147
|
+
|
148
|
+
|
149
|
+
@_utilities.lift_output_func(get_exascale_db_storage_vaults)
|
150
|
+
def get_exascale_db_storage_vaults_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
151
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
152
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetExascaleDbStorageVaultsFilterArgs']]]]] = None,
|
153
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
154
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExascaleDbStorageVaultsResult]:
|
155
|
+
"""
|
156
|
+
This data source provides the list of Exascale Db Storage Vaults in Oracle Cloud Infrastructure Database service.
|
157
|
+
|
158
|
+
Gets a list of the Exadata Database Storage Vaults in the specified compartment.
|
159
|
+
|
160
|
+
## Example Usage
|
161
|
+
|
162
|
+
```python
|
163
|
+
import pulumi
|
164
|
+
import pulumi_oci as oci
|
165
|
+
|
166
|
+
test_exascale_db_storage_vaults = oci.Database.get_exascale_db_storage_vaults(compartment_id=compartment_id,
|
167
|
+
display_name=exascale_db_storage_vault_display_name,
|
168
|
+
state=exascale_db_storage_vault_state)
|
169
|
+
```
|
170
|
+
|
171
|
+
|
172
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
173
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
174
|
+
:param str state: A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
|
175
|
+
"""
|
176
|
+
...
|
@@ -0,0 +1,221 @@
|
|
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
|
+
'GetGiVersionMinorVersionsResult',
|
16
|
+
'AwaitableGetGiVersionMinorVersionsResult',
|
17
|
+
'get_gi_version_minor_versions',
|
18
|
+
'get_gi_version_minor_versions_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetGiVersionMinorVersionsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getGiVersionMinorVersions.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, filters=None, gi_minor_versions=None, id=None, is_gi_version_for_provisioning=None, shape=None, shape_family=None, version=None):
|
27
|
+
if availability_domain and not isinstance(availability_domain, str):
|
28
|
+
raise TypeError("Expected argument 'availability_domain' to be a str")
|
29
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
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 filters and not isinstance(filters, list):
|
34
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
35
|
+
pulumi.set(__self__, "filters", filters)
|
36
|
+
if gi_minor_versions and not isinstance(gi_minor_versions, list):
|
37
|
+
raise TypeError("Expected argument 'gi_minor_versions' to be a list")
|
38
|
+
pulumi.set(__self__, "gi_minor_versions", gi_minor_versions)
|
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 is_gi_version_for_provisioning and not isinstance(is_gi_version_for_provisioning, bool):
|
43
|
+
raise TypeError("Expected argument 'is_gi_version_for_provisioning' to be a bool")
|
44
|
+
pulumi.set(__self__, "is_gi_version_for_provisioning", is_gi_version_for_provisioning)
|
45
|
+
if shape and not isinstance(shape, str):
|
46
|
+
raise TypeError("Expected argument 'shape' to be a str")
|
47
|
+
pulumi.set(__self__, "shape", shape)
|
48
|
+
if shape_family and not isinstance(shape_family, str):
|
49
|
+
raise TypeError("Expected argument 'shape_family' to be a str")
|
50
|
+
pulumi.set(__self__, "shape_family", shape_family)
|
51
|
+
if version and not isinstance(version, str):
|
52
|
+
raise TypeError("Expected argument 'version' to be a str")
|
53
|
+
pulumi.set(__self__, "version", version)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="availabilityDomain")
|
57
|
+
def availability_domain(self) -> Optional[str]:
|
58
|
+
return pulumi.get(self, "availability_domain")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="compartmentId")
|
62
|
+
def compartment_id(self) -> Optional[str]:
|
63
|
+
return pulumi.get(self, "compartment_id")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def filters(self) -> Optional[Sequence['outputs.GetGiVersionMinorVersionsFilterResult']]:
|
68
|
+
return pulumi.get(self, "filters")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="giMinorVersions")
|
72
|
+
def gi_minor_versions(self) -> Sequence['outputs.GetGiVersionMinorVersionsGiMinorVersionResult']:
|
73
|
+
"""
|
74
|
+
The list of gi_minor_versions.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "gi_minor_versions")
|
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="isGiVersionForProvisioning")
|
88
|
+
def is_gi_version_for_provisioning(self) -> Optional[bool]:
|
89
|
+
return pulumi.get(self, "is_gi_version_for_provisioning")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def shape(self) -> Optional[str]:
|
94
|
+
return pulumi.get(self, "shape")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="shapeFamily")
|
98
|
+
def shape_family(self) -> Optional[str]:
|
99
|
+
return pulumi.get(self, "shape_family")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter
|
103
|
+
def version(self) -> str:
|
104
|
+
"""
|
105
|
+
A valid Oracle Grid Infrastructure (GI) software version.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "version")
|
108
|
+
|
109
|
+
|
110
|
+
class AwaitableGetGiVersionMinorVersionsResult(GetGiVersionMinorVersionsResult):
|
111
|
+
# pylint: disable=using-constant-test
|
112
|
+
def __await__(self):
|
113
|
+
if False:
|
114
|
+
yield self
|
115
|
+
return GetGiVersionMinorVersionsResult(
|
116
|
+
availability_domain=self.availability_domain,
|
117
|
+
compartment_id=self.compartment_id,
|
118
|
+
filters=self.filters,
|
119
|
+
gi_minor_versions=self.gi_minor_versions,
|
120
|
+
id=self.id,
|
121
|
+
is_gi_version_for_provisioning=self.is_gi_version_for_provisioning,
|
122
|
+
shape=self.shape,
|
123
|
+
shape_family=self.shape_family,
|
124
|
+
version=self.version)
|
125
|
+
|
126
|
+
|
127
|
+
def get_gi_version_minor_versions(availability_domain: Optional[str] = None,
|
128
|
+
compartment_id: Optional[str] = None,
|
129
|
+
filters: Optional[Sequence[pulumi.InputType['GetGiVersionMinorVersionsFilterArgs']]] = None,
|
130
|
+
is_gi_version_for_provisioning: Optional[bool] = None,
|
131
|
+
shape: Optional[str] = None,
|
132
|
+
shape_family: Optional[str] = None,
|
133
|
+
version: Optional[str] = None,
|
134
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGiVersionMinorVersionsResult:
|
135
|
+
"""
|
136
|
+
This data source provides the list of Gi Version Minor Versions in Oracle Cloud Infrastructure Database service.
|
137
|
+
|
138
|
+
Gets a list of supported Oracle Grid Infrastructure minor versions for the given major version and shape family.
|
139
|
+
|
140
|
+
## Example Usage
|
141
|
+
|
142
|
+
```python
|
143
|
+
import pulumi
|
144
|
+
import pulumi_oci as oci
|
145
|
+
|
146
|
+
test_gi_version_minor_versions = oci.Database.get_gi_version_minor_versions(version=gi_version_minor_version_version,
|
147
|
+
availability_domain=gi_version_minor_version_availability_domain,
|
148
|
+
compartment_id=compartment_id,
|
149
|
+
is_gi_version_for_provisioning=gi_version_minor_version_is_gi_version_for_provisioning,
|
150
|
+
shape=gi_version_minor_version_shape,
|
151
|
+
shape_family=gi_version_minor_version_shape_family)
|
152
|
+
```
|
153
|
+
|
154
|
+
|
155
|
+
:param str availability_domain: The target availability domain. Only passed if the limit is AD-specific.
|
156
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
157
|
+
:param bool is_gi_version_for_provisioning: If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster
|
158
|
+
:param str shape: If provided, filters the results for the given shape.
|
159
|
+
:param str shape_family: If provided, filters the results to the set of database versions which are supported for the given shape family.
|
160
|
+
:param str version: The Oracle Grid Infrastructure major version.
|
161
|
+
"""
|
162
|
+
__args__ = dict()
|
163
|
+
__args__['availabilityDomain'] = availability_domain
|
164
|
+
__args__['compartmentId'] = compartment_id
|
165
|
+
__args__['filters'] = filters
|
166
|
+
__args__['isGiVersionForProvisioning'] = is_gi_version_for_provisioning
|
167
|
+
__args__['shape'] = shape
|
168
|
+
__args__['shapeFamily'] = shape_family
|
169
|
+
__args__['version'] = version
|
170
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
171
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getGiVersionMinorVersions:getGiVersionMinorVersions', __args__, opts=opts, typ=GetGiVersionMinorVersionsResult).value
|
172
|
+
|
173
|
+
return AwaitableGetGiVersionMinorVersionsResult(
|
174
|
+
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
175
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
176
|
+
filters=pulumi.get(__ret__, 'filters'),
|
177
|
+
gi_minor_versions=pulumi.get(__ret__, 'gi_minor_versions'),
|
178
|
+
id=pulumi.get(__ret__, 'id'),
|
179
|
+
is_gi_version_for_provisioning=pulumi.get(__ret__, 'is_gi_version_for_provisioning'),
|
180
|
+
shape=pulumi.get(__ret__, 'shape'),
|
181
|
+
shape_family=pulumi.get(__ret__, 'shape_family'),
|
182
|
+
version=pulumi.get(__ret__, 'version'))
|
183
|
+
|
184
|
+
|
185
|
+
@_utilities.lift_output_func(get_gi_version_minor_versions)
|
186
|
+
def get_gi_version_minor_versions_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None,
|
187
|
+
compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
188
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetGiVersionMinorVersionsFilterArgs']]]]] = None,
|
189
|
+
is_gi_version_for_provisioning: Optional[pulumi.Input[Optional[bool]]] = None,
|
190
|
+
shape: Optional[pulumi.Input[Optional[str]]] = None,
|
191
|
+
shape_family: Optional[pulumi.Input[Optional[str]]] = None,
|
192
|
+
version: Optional[pulumi.Input[str]] = None,
|
193
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGiVersionMinorVersionsResult]:
|
194
|
+
"""
|
195
|
+
This data source provides the list of Gi Version Minor Versions in Oracle Cloud Infrastructure Database service.
|
196
|
+
|
197
|
+
Gets a list of supported Oracle Grid Infrastructure minor versions for the given major version and shape family.
|
198
|
+
|
199
|
+
## Example Usage
|
200
|
+
|
201
|
+
```python
|
202
|
+
import pulumi
|
203
|
+
import pulumi_oci as oci
|
204
|
+
|
205
|
+
test_gi_version_minor_versions = oci.Database.get_gi_version_minor_versions(version=gi_version_minor_version_version,
|
206
|
+
availability_domain=gi_version_minor_version_availability_domain,
|
207
|
+
compartment_id=compartment_id,
|
208
|
+
is_gi_version_for_provisioning=gi_version_minor_version_is_gi_version_for_provisioning,
|
209
|
+
shape=gi_version_minor_version_shape,
|
210
|
+
shape_family=gi_version_minor_version_shape_family)
|
211
|
+
```
|
212
|
+
|
213
|
+
|
214
|
+
:param str availability_domain: The target availability domain. Only passed if the limit is AD-specific.
|
215
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
216
|
+
:param bool is_gi_version_for_provisioning: If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster
|
217
|
+
:param str shape: If provided, filters the results for the given shape.
|
218
|
+
:param str shape_family: If provided, filters the results to the set of database versions which are supported for the given shape family.
|
219
|
+
:param str version: The Oracle Grid Infrastructure major version.
|
220
|
+
"""
|
221
|
+
...
|
@@ -23,7 +23,10 @@ class GetGiVersionsResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getGiVersions.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, compartment_id=None, filters=None, gi_versions=None, id=None, shape=None):
|
26
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, filters=None, gi_versions=None, id=None, shape=None):
|
27
|
+
if availability_domain and not isinstance(availability_domain, str):
|
28
|
+
raise TypeError("Expected argument 'availability_domain' to be a str")
|
29
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
27
30
|
if compartment_id and not isinstance(compartment_id, str):
|
28
31
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
32
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -40,6 +43,11 @@ class GetGiVersionsResult:
|
|
40
43
|
raise TypeError("Expected argument 'shape' to be a str")
|
41
44
|
pulumi.set(__self__, "shape", shape)
|
42
45
|
|
46
|
+
@property
|
47
|
+
@pulumi.getter(name="availabilityDomain")
|
48
|
+
def availability_domain(self) -> Optional[str]:
|
49
|
+
return pulumi.get(self, "availability_domain")
|
50
|
+
|
43
51
|
@property
|
44
52
|
@pulumi.getter(name="compartmentId")
|
45
53
|
def compartment_id(self) -> str:
|
@@ -78,6 +86,7 @@ class AwaitableGetGiVersionsResult(GetGiVersionsResult):
|
|
78
86
|
if False:
|
79
87
|
yield self
|
80
88
|
return GetGiVersionsResult(
|
89
|
+
availability_domain=self.availability_domain,
|
81
90
|
compartment_id=self.compartment_id,
|
82
91
|
filters=self.filters,
|
83
92
|
gi_versions=self.gi_versions,
|
@@ -85,14 +94,15 @@ class AwaitableGetGiVersionsResult(GetGiVersionsResult):
|
|
85
94
|
shape=self.shape)
|
86
95
|
|
87
96
|
|
88
|
-
def get_gi_versions(
|
97
|
+
def get_gi_versions(availability_domain: Optional[str] = None,
|
98
|
+
compartment_id: Optional[str] = None,
|
89
99
|
filters: Optional[Sequence[pulumi.InputType['GetGiVersionsFilterArgs']]] = None,
|
90
100
|
shape: Optional[str] = None,
|
91
101
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGiVersionsResult:
|
92
102
|
"""
|
93
103
|
This data source provides the list of Gi Versions in Oracle Cloud Infrastructure Database service.
|
94
104
|
|
95
|
-
Gets a list of supported GI versions
|
105
|
+
Gets a list of supported GI versions.
|
96
106
|
|
97
107
|
## Example Usage
|
98
108
|
|
@@ -101,14 +111,17 @@ def get_gi_versions(compartment_id: Optional[str] = None,
|
|
101
111
|
import pulumi_oci as oci
|
102
112
|
|
103
113
|
test_gi_versions = oci.Database.get_gi_versions(compartment_id=compartment_id,
|
114
|
+
availability_domain=gi_version_availability_domain,
|
104
115
|
shape=gi_version_shape)
|
105
116
|
```
|
106
117
|
|
107
118
|
|
119
|
+
:param str availability_domain: The target availability domain. Only passed if the limit is AD-specific.
|
108
120
|
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
109
121
|
:param str shape: If provided, filters the results for the given shape.
|
110
122
|
"""
|
111
123
|
__args__ = dict()
|
124
|
+
__args__['availabilityDomain'] = availability_domain
|
112
125
|
__args__['compartmentId'] = compartment_id
|
113
126
|
__args__['filters'] = filters
|
114
127
|
__args__['shape'] = shape
|
@@ -116,6 +129,7 @@ def get_gi_versions(compartment_id: Optional[str] = None,
|
|
116
129
|
__ret__ = pulumi.runtime.invoke('oci:Database/getGiVersions:getGiVersions', __args__, opts=opts, typ=GetGiVersionsResult).value
|
117
130
|
|
118
131
|
return AwaitableGetGiVersionsResult(
|
132
|
+
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
119
133
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
120
134
|
filters=pulumi.get(__ret__, 'filters'),
|
121
135
|
gi_versions=pulumi.get(__ret__, 'gi_versions'),
|
@@ -124,14 +138,15 @@ def get_gi_versions(compartment_id: Optional[str] = None,
|
|
124
138
|
|
125
139
|
|
126
140
|
@_utilities.lift_output_func(get_gi_versions)
|
127
|
-
def get_gi_versions_output(
|
141
|
+
def get_gi_versions_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None,
|
142
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
128
143
|
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetGiVersionsFilterArgs']]]]] = None,
|
129
144
|
shape: Optional[pulumi.Input[Optional[str]]] = None,
|
130
145
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGiVersionsResult]:
|
131
146
|
"""
|
132
147
|
This data source provides the list of Gi Versions in Oracle Cloud Infrastructure Database service.
|
133
148
|
|
134
|
-
Gets a list of supported GI versions
|
149
|
+
Gets a list of supported GI versions.
|
135
150
|
|
136
151
|
## Example Usage
|
137
152
|
|
@@ -140,10 +155,12 @@ def get_gi_versions_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
|
140
155
|
import pulumi_oci as oci
|
141
156
|
|
142
157
|
test_gi_versions = oci.Database.get_gi_versions(compartment_id=compartment_id,
|
158
|
+
availability_domain=gi_version_availability_domain,
|
143
159
|
shape=gi_version_shape)
|
144
160
|
```
|
145
161
|
|
146
162
|
|
163
|
+
:param str availability_domain: The target availability domain. Only passed if the limit is AD-specific.
|
147
164
|
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
148
165
|
:param str shape: If provided, filters the results for the given shape.
|
149
166
|
"""
|