pulumi-oci 2.8.0a1724220787__py3-none-any.whl → 2.8.0a1724316519__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/analytics/_inputs.py +4 -4
- pulumi_oci/analytics/analytics_instance.py +199 -25
- pulumi_oci/analytics/get_analytics_instance.py +51 -2
- pulumi_oci/analytics/get_analytics_instances.py +1 -1
- pulumi_oci/analytics/outputs.py +52 -12
- pulumi_oci/database/get_maintenance_run.py +14 -1
- pulumi_oci/database/maintenance_run.py +56 -7
- pulumi_oci/database/outputs.py +33 -0
- pulumi_oci/disasterrecovery/_inputs.py +66 -2
- pulumi_oci/disasterrecovery/dr_protection_group.py +8 -0
- pulumi_oci/disasterrecovery/get_dr_plan_executions.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +150 -10
- pulumi_oci/integration/get_integration_instance.py +25 -2
- pulumi_oci/integration/integration_instance.py +88 -0
- pulumi_oci/integration/outputs.py +24 -6
- pulumi_oci/mysql/_inputs.py +202 -2
- pulumi_oci/mysql/get_mysql_backup.py +1 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -2
- pulumi_oci/mysql/mysql_backup.py +4 -4
- pulumi_oci/mysql/mysql_db_system.py +55 -0
- pulumi_oci/mysql/outputs.py +503 -10
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +1 -0
- pulumi_oci/redis/_inputs.py +40 -0
- pulumi_oci/redis/get_redis_cluster.py +47 -21
- pulumi_oci/redis/get_redis_cluster_nodes.py +156 -0
- pulumi_oci/redis/get_redis_clusters.py +8 -8
- pulumi_oci/redis/outputs.py +160 -28
- pulumi_oci/redis/redis_cluster.py +177 -79
- {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.8.0a1724316519.dist-info}/METADATA +1 -1
- {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.8.0a1724316519.dist-info}/RECORD +33 -32
- {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.8.0a1724316519.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.8.0a1724316519.dist-info}/top_level.txt +0 -0
pulumi_oci/pulumi-plugin.json
CHANGED
pulumi_oci/redis/__init__.py
CHANGED
pulumi_oci/redis/_inputs.py
CHANGED
@@ -12,6 +12,7 @@ from .. import _utilities
|
|
12
12
|
__all__ = [
|
13
13
|
'RedisClusterNodeCollectionArgs',
|
14
14
|
'RedisClusterNodeCollectionItemArgs',
|
15
|
+
'GetRedisClusterNodesFilterArgs',
|
15
16
|
'GetRedisClustersFilterArgs',
|
16
17
|
]
|
17
18
|
|
@@ -93,6 +94,45 @@ class RedisClusterNodeCollectionItemArgs:
|
|
93
94
|
pulumi.set(self, "private_endpoint_ip_address", value)
|
94
95
|
|
95
96
|
|
97
|
+
@pulumi.input_type
|
98
|
+
class GetRedisClusterNodesFilterArgs:
|
99
|
+
def __init__(__self__, *,
|
100
|
+
name: str,
|
101
|
+
values: Sequence[str],
|
102
|
+
regex: Optional[bool] = None):
|
103
|
+
pulumi.set(__self__, "name", name)
|
104
|
+
pulumi.set(__self__, "values", values)
|
105
|
+
if regex is not None:
|
106
|
+
pulumi.set(__self__, "regex", regex)
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def name(self) -> str:
|
111
|
+
return pulumi.get(self, "name")
|
112
|
+
|
113
|
+
@name.setter
|
114
|
+
def name(self, value: str):
|
115
|
+
pulumi.set(self, "name", value)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter
|
119
|
+
def values(self) -> Sequence[str]:
|
120
|
+
return pulumi.get(self, "values")
|
121
|
+
|
122
|
+
@values.setter
|
123
|
+
def values(self, value: Sequence[str]):
|
124
|
+
pulumi.set(self, "values", value)
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter
|
128
|
+
def regex(self) -> Optional[bool]:
|
129
|
+
return pulumi.get(self, "regex")
|
130
|
+
|
131
|
+
@regex.setter
|
132
|
+
def regex(self, value: Optional[bool]):
|
133
|
+
pulumi.set(self, "regex", value)
|
134
|
+
|
135
|
+
|
96
136
|
@pulumi.input_type
|
97
137
|
class GetRedisClustersFilterArgs:
|
98
138
|
def __init__(__self__, *,
|
@@ -22,7 +22,10 @@ class GetRedisClusterResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getRedisCluster.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, node_collections=None, node_count=None, node_memory_in_gbs=None, nsg_ids=None, primary_endpoint_ip_address=None, primary_fqdn=None, redis_cluster_id=None, replicas_endpoint_ip_address=None, replicas_fqdn=None, software_version=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None):
|
25
|
+
def __init__(__self__, cluster_mode=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, node_collections=None, node_count=None, node_memory_in_gbs=None, nsg_ids=None, primary_endpoint_ip_address=None, primary_fqdn=None, redis_cluster_id=None, replicas_endpoint_ip_address=None, replicas_fqdn=None, shard_count=None, software_version=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None):
|
26
|
+
if cluster_mode and not isinstance(cluster_mode, str):
|
27
|
+
raise TypeError("Expected argument 'cluster_mode' to be a str")
|
28
|
+
pulumi.set(__self__, "cluster_mode", cluster_mode)
|
26
29
|
if compartment_id and not isinstance(compartment_id, str):
|
27
30
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
28
31
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -68,6 +71,9 @@ class GetRedisClusterResult:
|
|
68
71
|
if replicas_fqdn and not isinstance(replicas_fqdn, str):
|
69
72
|
raise TypeError("Expected argument 'replicas_fqdn' to be a str")
|
70
73
|
pulumi.set(__self__, "replicas_fqdn", replicas_fqdn)
|
74
|
+
if shard_count and not isinstance(shard_count, int):
|
75
|
+
raise TypeError("Expected argument 'shard_count' to be a int")
|
76
|
+
pulumi.set(__self__, "shard_count", shard_count)
|
71
77
|
if software_version and not isinstance(software_version, str):
|
72
78
|
raise TypeError("Expected argument 'software_version' to be a str")
|
73
79
|
pulumi.set(__self__, "software_version", software_version)
|
@@ -87,11 +93,19 @@ class GetRedisClusterResult:
|
|
87
93
|
raise TypeError("Expected argument 'time_updated' to be a str")
|
88
94
|
pulumi.set(__self__, "time_updated", time_updated)
|
89
95
|
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="clusterMode")
|
98
|
+
def cluster_mode(self) -> str:
|
99
|
+
"""
|
100
|
+
Specifies whether the cluster is sharded or non-sharded.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "cluster_mode")
|
103
|
+
|
90
104
|
@property
|
91
105
|
@pulumi.getter(name="compartmentId")
|
92
106
|
def compartment_id(self) -> str:
|
93
107
|
"""
|
94
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the
|
108
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
95
109
|
"""
|
96
110
|
return pulumi.get(self, "compartment_id")
|
97
111
|
|
@@ -107,7 +121,7 @@ class GetRedisClusterResult:
|
|
107
121
|
@pulumi.getter(name="displayName")
|
108
122
|
def display_name(self) -> str:
|
109
123
|
"""
|
110
|
-
A user-friendly name of a
|
124
|
+
A user-friendly name of a cluster node.
|
111
125
|
"""
|
112
126
|
return pulumi.get(self, "display_name")
|
113
127
|
|
@@ -123,7 +137,7 @@ class GetRedisClusterResult:
|
|
123
137
|
@pulumi.getter
|
124
138
|
def id(self) -> str:
|
125
139
|
"""
|
126
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the
|
140
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
127
141
|
"""
|
128
142
|
return pulumi.get(self, "id")
|
129
143
|
|
@@ -139,7 +153,7 @@ class GetRedisClusterResult:
|
|
139
153
|
@pulumi.getter(name="nodeCollections")
|
140
154
|
def node_collections(self) -> Sequence['outputs.GetRedisClusterNodeCollectionResult']:
|
141
155
|
"""
|
142
|
-
The collection of
|
156
|
+
The collection of cluster nodes.
|
143
157
|
"""
|
144
158
|
return pulumi.get(self, "node_collections")
|
145
159
|
|
@@ -147,7 +161,7 @@ class GetRedisClusterResult:
|
|
147
161
|
@pulumi.getter(name="nodeCount")
|
148
162
|
def node_count(self) -> int:
|
149
163
|
"""
|
150
|
-
The number of nodes in the
|
164
|
+
The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
|
151
165
|
"""
|
152
166
|
return pulumi.get(self, "node_count")
|
153
167
|
|
@@ -155,7 +169,7 @@ class GetRedisClusterResult:
|
|
155
169
|
@pulumi.getter(name="nodeMemoryInGbs")
|
156
170
|
def node_memory_in_gbs(self) -> float:
|
157
171
|
"""
|
158
|
-
The amount of memory allocated to the
|
172
|
+
The amount of memory allocated to the cluster's nodes, in gigabytes.
|
159
173
|
"""
|
160
174
|
return pulumi.get(self, "node_memory_in_gbs")
|
161
175
|
|
@@ -163,7 +177,7 @@ class GetRedisClusterResult:
|
|
163
177
|
@pulumi.getter(name="nsgIds")
|
164
178
|
def nsg_ids(self) -> Sequence[str]:
|
165
179
|
"""
|
166
|
-
A list of Network Security Group (NSG) [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this cluster. For more information, see [Using an NSG for
|
180
|
+
A list of Network Security Group (NSG) [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this cluster. For more information, see [Using an NSG for Clusters](https://docs.cloud.oracle.com/iaas/Content/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
|
167
181
|
"""
|
168
182
|
return pulumi.get(self, "nsg_ids")
|
169
183
|
|
@@ -171,7 +185,7 @@ class GetRedisClusterResult:
|
|
171
185
|
@pulumi.getter(name="primaryEndpointIpAddress")
|
172
186
|
def primary_endpoint_ip_address(self) -> str:
|
173
187
|
"""
|
174
|
-
The private IP address of the API endpoint for the
|
188
|
+
The private IP address of the API endpoint for the cluster's primary node.
|
175
189
|
"""
|
176
190
|
return pulumi.get(self, "primary_endpoint_ip_address")
|
177
191
|
|
@@ -179,7 +193,7 @@ class GetRedisClusterResult:
|
|
179
193
|
@pulumi.getter(name="primaryFqdn")
|
180
194
|
def primary_fqdn(self) -> str:
|
181
195
|
"""
|
182
|
-
The fully qualified domain name (FQDN) of the API endpoint for the
|
196
|
+
The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
|
183
197
|
"""
|
184
198
|
return pulumi.get(self, "primary_fqdn")
|
185
199
|
|
@@ -192,7 +206,7 @@ class GetRedisClusterResult:
|
|
192
206
|
@pulumi.getter(name="replicasEndpointIpAddress")
|
193
207
|
def replicas_endpoint_ip_address(self) -> str:
|
194
208
|
"""
|
195
|
-
The private IP address of the API endpoint for the
|
209
|
+
The private IP address of the API endpoint for the cluster's replica nodes.
|
196
210
|
"""
|
197
211
|
return pulumi.get(self, "replicas_endpoint_ip_address")
|
198
212
|
|
@@ -200,15 +214,23 @@ class GetRedisClusterResult:
|
|
200
214
|
@pulumi.getter(name="replicasFqdn")
|
201
215
|
def replicas_fqdn(self) -> str:
|
202
216
|
"""
|
203
|
-
The fully qualified domain name (FQDN) of the API endpoint for the
|
217
|
+
The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
|
204
218
|
"""
|
205
219
|
return pulumi.get(self, "replicas_fqdn")
|
206
220
|
|
221
|
+
@property
|
222
|
+
@pulumi.getter(name="shardCount")
|
223
|
+
def shard_count(self) -> int:
|
224
|
+
"""
|
225
|
+
The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED.
|
226
|
+
"""
|
227
|
+
return pulumi.get(self, "shard_count")
|
228
|
+
|
207
229
|
@property
|
208
230
|
@pulumi.getter(name="softwareVersion")
|
209
231
|
def software_version(self) -> str:
|
210
232
|
"""
|
211
|
-
The
|
233
|
+
The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
|
212
234
|
"""
|
213
235
|
return pulumi.get(self, "software_version")
|
214
236
|
|
@@ -216,7 +238,7 @@ class GetRedisClusterResult:
|
|
216
238
|
@pulumi.getter
|
217
239
|
def state(self) -> str:
|
218
240
|
"""
|
219
|
-
The current state of the
|
241
|
+
The current state of the cluster.
|
220
242
|
"""
|
221
243
|
return pulumi.get(self, "state")
|
222
244
|
|
@@ -224,7 +246,7 @@ class GetRedisClusterResult:
|
|
224
246
|
@pulumi.getter(name="subnetId")
|
225
247
|
def subnet_id(self) -> str:
|
226
248
|
"""
|
227
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the
|
249
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
|
228
250
|
"""
|
229
251
|
return pulumi.get(self, "subnet_id")
|
230
252
|
|
@@ -240,7 +262,7 @@ class GetRedisClusterResult:
|
|
240
262
|
@pulumi.getter(name="timeCreated")
|
241
263
|
def time_created(self) -> str:
|
242
264
|
"""
|
243
|
-
The date and time the
|
265
|
+
The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
244
266
|
"""
|
245
267
|
return pulumi.get(self, "time_created")
|
246
268
|
|
@@ -248,7 +270,7 @@ class GetRedisClusterResult:
|
|
248
270
|
@pulumi.getter(name="timeUpdated")
|
249
271
|
def time_updated(self) -> str:
|
250
272
|
"""
|
251
|
-
The date and time the
|
273
|
+
The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
252
274
|
"""
|
253
275
|
return pulumi.get(self, "time_updated")
|
254
276
|
|
@@ -259,6 +281,7 @@ class AwaitableGetRedisClusterResult(GetRedisClusterResult):
|
|
259
281
|
if False:
|
260
282
|
yield self
|
261
283
|
return GetRedisClusterResult(
|
284
|
+
cluster_mode=self.cluster_mode,
|
262
285
|
compartment_id=self.compartment_id,
|
263
286
|
defined_tags=self.defined_tags,
|
264
287
|
display_name=self.display_name,
|
@@ -274,6 +297,7 @@ class AwaitableGetRedisClusterResult(GetRedisClusterResult):
|
|
274
297
|
redis_cluster_id=self.redis_cluster_id,
|
275
298
|
replicas_endpoint_ip_address=self.replicas_endpoint_ip_address,
|
276
299
|
replicas_fqdn=self.replicas_fqdn,
|
300
|
+
shard_count=self.shard_count,
|
277
301
|
software_version=self.software_version,
|
278
302
|
state=self.state,
|
279
303
|
subnet_id=self.subnet_id,
|
@@ -287,7 +311,7 @@ def get_redis_cluster(redis_cluster_id: Optional[str] = None,
|
|
287
311
|
"""
|
288
312
|
This data source provides details about a specific Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
|
289
313
|
|
290
|
-
Retrieves the specified
|
314
|
+
Retrieves the specified Oracle Cloud Infrastructure Cache cluster. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
|
291
315
|
|
292
316
|
## Example Usage
|
293
317
|
|
@@ -299,7 +323,7 @@ def get_redis_cluster(redis_cluster_id: Optional[str] = None,
|
|
299
323
|
```
|
300
324
|
|
301
325
|
|
302
|
-
:param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the
|
326
|
+
:param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
303
327
|
"""
|
304
328
|
__args__ = dict()
|
305
329
|
__args__['redisClusterId'] = redis_cluster_id
|
@@ -307,6 +331,7 @@ def get_redis_cluster(redis_cluster_id: Optional[str] = None,
|
|
307
331
|
__ret__ = pulumi.runtime.invoke('oci:Redis/getRedisCluster:getRedisCluster', __args__, opts=opts, typ=GetRedisClusterResult).value
|
308
332
|
|
309
333
|
return AwaitableGetRedisClusterResult(
|
334
|
+
cluster_mode=pulumi.get(__ret__, 'cluster_mode'),
|
310
335
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
311
336
|
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
312
337
|
display_name=pulumi.get(__ret__, 'display_name'),
|
@@ -322,6 +347,7 @@ def get_redis_cluster(redis_cluster_id: Optional[str] = None,
|
|
322
347
|
redis_cluster_id=pulumi.get(__ret__, 'redis_cluster_id'),
|
323
348
|
replicas_endpoint_ip_address=pulumi.get(__ret__, 'replicas_endpoint_ip_address'),
|
324
349
|
replicas_fqdn=pulumi.get(__ret__, 'replicas_fqdn'),
|
350
|
+
shard_count=pulumi.get(__ret__, 'shard_count'),
|
325
351
|
software_version=pulumi.get(__ret__, 'software_version'),
|
326
352
|
state=pulumi.get(__ret__, 'state'),
|
327
353
|
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
@@ -336,7 +362,7 @@ def get_redis_cluster_output(redis_cluster_id: Optional[pulumi.Input[str]] = Non
|
|
336
362
|
"""
|
337
363
|
This data source provides details about a specific Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
|
338
364
|
|
339
|
-
Retrieves the specified
|
365
|
+
Retrieves the specified Oracle Cloud Infrastructure Cache cluster. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
|
340
366
|
|
341
367
|
## Example Usage
|
342
368
|
|
@@ -348,6 +374,6 @@ def get_redis_cluster_output(redis_cluster_id: Optional[pulumi.Input[str]] = Non
|
|
348
374
|
```
|
349
375
|
|
350
376
|
|
351
|
-
:param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the
|
377
|
+
:param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
352
378
|
"""
|
353
379
|
...
|
@@ -0,0 +1,156 @@
|
|
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
|
+
'GetRedisClusterNodesResult',
|
16
|
+
'AwaitableGetRedisClusterNodesResult',
|
17
|
+
'get_redis_cluster_nodes',
|
18
|
+
'get_redis_cluster_nodes_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetRedisClusterNodesResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getRedisClusterNodes.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, display_name=None, filters=None, id=None, redis_cluster_id=None, redis_node_collections=None):
|
27
|
+
if display_name and not isinstance(display_name, str):
|
28
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
29
|
+
pulumi.set(__self__, "display_name", display_name)
|
30
|
+
if filters and not isinstance(filters, list):
|
31
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
32
|
+
pulumi.set(__self__, "filters", filters)
|
33
|
+
if id and not isinstance(id, str):
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
35
|
+
pulumi.set(__self__, "id", id)
|
36
|
+
if redis_cluster_id and not isinstance(redis_cluster_id, str):
|
37
|
+
raise TypeError("Expected argument 'redis_cluster_id' to be a str")
|
38
|
+
pulumi.set(__self__, "redis_cluster_id", redis_cluster_id)
|
39
|
+
if redis_node_collections and not isinstance(redis_node_collections, list):
|
40
|
+
raise TypeError("Expected argument 'redis_node_collections' to be a list")
|
41
|
+
pulumi.set(__self__, "redis_node_collections", redis_node_collections)
|
42
|
+
|
43
|
+
@property
|
44
|
+
@pulumi.getter(name="displayName")
|
45
|
+
def display_name(self) -> Optional[str]:
|
46
|
+
"""
|
47
|
+
A user-friendly name of a cluster node.
|
48
|
+
"""
|
49
|
+
return pulumi.get(self, "display_name")
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter
|
53
|
+
def filters(self) -> Optional[Sequence['outputs.GetRedisClusterNodesFilterResult']]:
|
54
|
+
return pulumi.get(self, "filters")
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter
|
58
|
+
def id(self) -> str:
|
59
|
+
"""
|
60
|
+
The provider-assigned unique ID for this managed resource.
|
61
|
+
"""
|
62
|
+
return pulumi.get(self, "id")
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter(name="redisClusterId")
|
66
|
+
def redis_cluster_id(self) -> str:
|
67
|
+
"""
|
68
|
+
The OCID of the cluster
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "redis_cluster_id")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="redisNodeCollections")
|
74
|
+
def redis_node_collections(self) -> Sequence['outputs.GetRedisClusterNodesRedisNodeCollectionResult']:
|
75
|
+
"""
|
76
|
+
The list of redis_node_collection.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "redis_node_collections")
|
79
|
+
|
80
|
+
|
81
|
+
class AwaitableGetRedisClusterNodesResult(GetRedisClusterNodesResult):
|
82
|
+
# pylint: disable=using-constant-test
|
83
|
+
def __await__(self):
|
84
|
+
if False:
|
85
|
+
yield self
|
86
|
+
return GetRedisClusterNodesResult(
|
87
|
+
display_name=self.display_name,
|
88
|
+
filters=self.filters,
|
89
|
+
id=self.id,
|
90
|
+
redis_cluster_id=self.redis_cluster_id,
|
91
|
+
redis_node_collections=self.redis_node_collections)
|
92
|
+
|
93
|
+
|
94
|
+
def get_redis_cluster_nodes(display_name: Optional[str] = None,
|
95
|
+
filters: Optional[Sequence[Union['GetRedisClusterNodesFilterArgs', 'GetRedisClusterNodesFilterArgsDict']]] = None,
|
96
|
+
redis_cluster_id: Optional[str] = None,
|
97
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisClusterNodesResult:
|
98
|
+
"""
|
99
|
+
This data source provides the list of Redis Cluster Nodes in Oracle Cloud Infrastructure Redis service.
|
100
|
+
|
101
|
+
Gets the list of all nodes in a cluster.
|
102
|
+
|
103
|
+
## Example Usage
|
104
|
+
|
105
|
+
```python
|
106
|
+
import pulumi
|
107
|
+
import pulumi_oci as oci
|
108
|
+
|
109
|
+
test_redis_cluster_nodes = oci.Redis.get_redis_cluster_nodes(redis_cluster_id=test_redis_cluster["id"],
|
110
|
+
display_name=redis_cluster_node_display_name)
|
111
|
+
```
|
112
|
+
|
113
|
+
|
114
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
115
|
+
:param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
116
|
+
"""
|
117
|
+
__args__ = dict()
|
118
|
+
__args__['displayName'] = display_name
|
119
|
+
__args__['filters'] = filters
|
120
|
+
__args__['redisClusterId'] = redis_cluster_id
|
121
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
122
|
+
__ret__ = pulumi.runtime.invoke('oci:Redis/getRedisClusterNodes:getRedisClusterNodes', __args__, opts=opts, typ=GetRedisClusterNodesResult).value
|
123
|
+
|
124
|
+
return AwaitableGetRedisClusterNodesResult(
|
125
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
126
|
+
filters=pulumi.get(__ret__, 'filters'),
|
127
|
+
id=pulumi.get(__ret__, 'id'),
|
128
|
+
redis_cluster_id=pulumi.get(__ret__, 'redis_cluster_id'),
|
129
|
+
redis_node_collections=pulumi.get(__ret__, 'redis_node_collections'))
|
130
|
+
|
131
|
+
|
132
|
+
@_utilities.lift_output_func(get_redis_cluster_nodes)
|
133
|
+
def get_redis_cluster_nodes_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
134
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetRedisClusterNodesFilterArgs', 'GetRedisClusterNodesFilterArgsDict']]]]] = None,
|
135
|
+
redis_cluster_id: Optional[pulumi.Input[str]] = None,
|
136
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisClusterNodesResult]:
|
137
|
+
"""
|
138
|
+
This data source provides the list of Redis Cluster Nodes in Oracle Cloud Infrastructure Redis service.
|
139
|
+
|
140
|
+
Gets the list of all nodes in a cluster.
|
141
|
+
|
142
|
+
## Example Usage
|
143
|
+
|
144
|
+
```python
|
145
|
+
import pulumi
|
146
|
+
import pulumi_oci as oci
|
147
|
+
|
148
|
+
test_redis_cluster_nodes = oci.Redis.get_redis_cluster_nodes(redis_cluster_id=test_redis_cluster["id"],
|
149
|
+
display_name=redis_cluster_node_display_name)
|
150
|
+
```
|
151
|
+
|
152
|
+
|
153
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
154
|
+
:param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
155
|
+
"""
|
156
|
+
...
|
@@ -47,7 +47,7 @@ class GetRedisClustersResult:
|
|
47
47
|
@pulumi.getter(name="compartmentId")
|
48
48
|
def compartment_id(self) -> Optional[str]:
|
49
49
|
"""
|
50
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the
|
50
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
51
51
|
"""
|
52
52
|
return pulumi.get(self, "compartment_id")
|
53
53
|
|
@@ -55,7 +55,7 @@ class GetRedisClustersResult:
|
|
55
55
|
@pulumi.getter(name="displayName")
|
56
56
|
def display_name(self) -> Optional[str]:
|
57
57
|
"""
|
58
|
-
A user-friendly name of a
|
58
|
+
A user-friendly name of a cluster node.
|
59
59
|
"""
|
60
60
|
return pulumi.get(self, "display_name")
|
61
61
|
|
@@ -68,7 +68,7 @@ class GetRedisClustersResult:
|
|
68
68
|
@pulumi.getter
|
69
69
|
def id(self) -> Optional[str]:
|
70
70
|
"""
|
71
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the
|
71
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
72
72
|
"""
|
73
73
|
return pulumi.get(self, "id")
|
74
74
|
|
@@ -84,7 +84,7 @@ class GetRedisClustersResult:
|
|
84
84
|
@pulumi.getter
|
85
85
|
def state(self) -> Optional[str]:
|
86
86
|
"""
|
87
|
-
The current state of the
|
87
|
+
The current state of the cluster.
|
88
88
|
"""
|
89
89
|
return pulumi.get(self, "state")
|
90
90
|
|
@@ -112,7 +112,7 @@ def get_redis_clusters(compartment_id: Optional[str] = None,
|
|
112
112
|
"""
|
113
113
|
This data source provides the list of Redis Clusters in Oracle Cloud Infrastructure Redis service.
|
114
114
|
|
115
|
-
Lists the
|
115
|
+
Lists the Oracle Cloud Infrastructure Cache clusters in the specified compartment. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
|
116
116
|
|
117
117
|
## Example Usage
|
118
118
|
|
@@ -129,7 +129,7 @@ def get_redis_clusters(compartment_id: Optional[str] = None,
|
|
129
129
|
|
130
130
|
:param str compartment_id: The ID of the compartment in which to list resources.
|
131
131
|
:param str display_name: A filter to return only resources that match the entire display name given.
|
132
|
-
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the
|
132
|
+
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
133
133
|
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
134
134
|
"""
|
135
135
|
__args__ = dict()
|
@@ -160,7 +160,7 @@ def get_redis_clusters_output(compartment_id: Optional[pulumi.Input[Optional[str
|
|
160
160
|
"""
|
161
161
|
This data source provides the list of Redis Clusters in Oracle Cloud Infrastructure Redis service.
|
162
162
|
|
163
|
-
Lists the
|
163
|
+
Lists the Oracle Cloud Infrastructure Cache clusters in the specified compartment. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
|
164
164
|
|
165
165
|
## Example Usage
|
166
166
|
|
@@ -177,7 +177,7 @@ def get_redis_clusters_output(compartment_id: Optional[pulumi.Input[Optional[str
|
|
177
177
|
|
178
178
|
:param str compartment_id: The ID of the compartment in which to list resources.
|
179
179
|
:param str display_name: A filter to return only resources that match the entire display name given.
|
180
|
-
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the
|
180
|
+
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
|
181
181
|
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
182
182
|
"""
|
183
183
|
...
|