pulumi-oci 2.8.0__py3-none-any.whl → 2.8.0a1724220787__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 +25 -199
- pulumi_oci/analytics/get_analytics_instance.py +2 -51
- pulumi_oci/analytics/get_analytics_instances.py +1 -1
- pulumi_oci/analytics/outputs.py +12 -52
- pulumi_oci/database/get_maintenance_run.py +1 -14
- pulumi_oci/database/maintenance_run.py +7 -56
- pulumi_oci/database/outputs.py +0 -33
- pulumi_oci/disasterrecovery/_inputs.py +2 -66
- pulumi_oci/disasterrecovery/dr_protection_group.py +0 -8
- pulumi_oci/disasterrecovery/get_dr_plan_executions.py +0 -24
- pulumi_oci/disasterrecovery/outputs.py +10 -150
- pulumi_oci/integration/get_integration_instance.py +2 -25
- pulumi_oci/integration/integration_instance.py +0 -88
- pulumi_oci/integration/outputs.py +6 -24
- pulumi_oci/mysql/_inputs.py +2 -202
- pulumi_oci/mysql/get_mysql_backup.py +1 -1
- pulumi_oci/mysql/get_mysql_db_system.py +2 -15
- pulumi_oci/mysql/mysql_backup.py +4 -4
- pulumi_oci/mysql/mysql_db_system.py +0 -55
- pulumi_oci/mysql/outputs.py +10 -503
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +0 -1
- pulumi_oci/redis/_inputs.py +0 -40
- pulumi_oci/redis/get_redis_cluster.py +21 -47
- pulumi_oci/redis/get_redis_clusters.py +8 -8
- pulumi_oci/redis/outputs.py +28 -160
- pulumi_oci/redis/redis_cluster.py +79 -177
- {pulumi_oci-2.8.0.dist-info → pulumi_oci-2.8.0a1724220787.dist-info}/METADATA +1 -1
- {pulumi_oci-2.8.0.dist-info → pulumi_oci-2.8.0a1724220787.dist-info}/RECORD +32 -33
- pulumi_oci/redis/get_redis_cluster_nodes.py +0 -156
- {pulumi_oci-2.8.0.dist-info → pulumi_oci-2.8.0a1724220787.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.8.0.dist-info → pulumi_oci-2.8.0a1724220787.dist-info}/top_level.txt +0 -0
@@ -22,28 +22,24 @@ class RedisClusterArgs:
|
|
22
22
|
node_memory_in_gbs: pulumi.Input[float],
|
23
23
|
software_version: pulumi.Input[str],
|
24
24
|
subnet_id: pulumi.Input[str],
|
25
|
-
cluster_mode: Optional[pulumi.Input[str]] = None,
|
26
25
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
26
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
-
nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
29
|
-
shard_count: Optional[pulumi.Input[int]] = None):
|
27
|
+
nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
30
28
|
"""
|
31
29
|
The set of arguments for constructing a RedisCluster resource.
|
32
|
-
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
30
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
|
33
31
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
34
|
-
:param pulumi.Input[int] node_count: (Updatable) The number of nodes
|
35
|
-
:param pulumi.Input[float] node_memory_in_gbs: (Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
|
36
|
-
:param pulumi.Input[str] software_version: The
|
37
|
-
:param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
|
32
|
+
:param pulumi.Input[int] node_count: (Updatable) The number of nodes in the Redis cluster.
|
33
|
+
:param pulumi.Input[float] node_memory_in_gbs: (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
|
34
|
+
:param pulumi.Input[str] software_version: The Redis version that the cluster is running.
|
35
|
+
:param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
|
38
36
|
|
39
37
|
|
40
38
|
** IMPORTANT **
|
41
39
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
42
|
-
:param pulumi.Input[str] cluster_mode: Specifies whether the cluster is sharded or non-sharded.
|
43
40
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
44
41
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
45
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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/
|
46
|
-
:param pulumi.Input[int] shard_count: (Updatable) The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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 Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
|
47
43
|
"""
|
48
44
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
49
45
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -51,22 +47,18 @@ class RedisClusterArgs:
|
|
51
47
|
pulumi.set(__self__, "node_memory_in_gbs", node_memory_in_gbs)
|
52
48
|
pulumi.set(__self__, "software_version", software_version)
|
53
49
|
pulumi.set(__self__, "subnet_id", subnet_id)
|
54
|
-
if cluster_mode is not None:
|
55
|
-
pulumi.set(__self__, "cluster_mode", cluster_mode)
|
56
50
|
if defined_tags is not None:
|
57
51
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
58
52
|
if freeform_tags is not None:
|
59
53
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
60
54
|
if nsg_ids is not None:
|
61
55
|
pulumi.set(__self__, "nsg_ids", nsg_ids)
|
62
|
-
if shard_count is not None:
|
63
|
-
pulumi.set(__self__, "shard_count", shard_count)
|
64
56
|
|
65
57
|
@property
|
66
58
|
@pulumi.getter(name="compartmentId")
|
67
59
|
def compartment_id(self) -> pulumi.Input[str]:
|
68
60
|
"""
|
69
|
-
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
61
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
|
70
62
|
"""
|
71
63
|
return pulumi.get(self, "compartment_id")
|
72
64
|
|
@@ -90,7 +82,7 @@ class RedisClusterArgs:
|
|
90
82
|
@pulumi.getter(name="nodeCount")
|
91
83
|
def node_count(self) -> pulumi.Input[int]:
|
92
84
|
"""
|
93
|
-
(Updatable) The number of nodes
|
85
|
+
(Updatable) The number of nodes in the Redis cluster.
|
94
86
|
"""
|
95
87
|
return pulumi.get(self, "node_count")
|
96
88
|
|
@@ -102,7 +94,7 @@ class RedisClusterArgs:
|
|
102
94
|
@pulumi.getter(name="nodeMemoryInGbs")
|
103
95
|
def node_memory_in_gbs(self) -> pulumi.Input[float]:
|
104
96
|
"""
|
105
|
-
(Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
|
97
|
+
(Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
|
106
98
|
"""
|
107
99
|
return pulumi.get(self, "node_memory_in_gbs")
|
108
100
|
|
@@ -114,7 +106,7 @@ class RedisClusterArgs:
|
|
114
106
|
@pulumi.getter(name="softwareVersion")
|
115
107
|
def software_version(self) -> pulumi.Input[str]:
|
116
108
|
"""
|
117
|
-
The
|
109
|
+
The Redis version that the cluster is running.
|
118
110
|
"""
|
119
111
|
return pulumi.get(self, "software_version")
|
120
112
|
|
@@ -126,7 +118,7 @@ class RedisClusterArgs:
|
|
126
118
|
@pulumi.getter(name="subnetId")
|
127
119
|
def subnet_id(self) -> pulumi.Input[str]:
|
128
120
|
"""
|
129
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
|
121
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
|
130
122
|
|
131
123
|
|
132
124
|
** IMPORTANT **
|
@@ -138,18 +130,6 @@ class RedisClusterArgs:
|
|
138
130
|
def subnet_id(self, value: pulumi.Input[str]):
|
139
131
|
pulumi.set(self, "subnet_id", value)
|
140
132
|
|
141
|
-
@property
|
142
|
-
@pulumi.getter(name="clusterMode")
|
143
|
-
def cluster_mode(self) -> Optional[pulumi.Input[str]]:
|
144
|
-
"""
|
145
|
-
Specifies whether the cluster is sharded or non-sharded.
|
146
|
-
"""
|
147
|
-
return pulumi.get(self, "cluster_mode")
|
148
|
-
|
149
|
-
@cluster_mode.setter
|
150
|
-
def cluster_mode(self, value: Optional[pulumi.Input[str]]):
|
151
|
-
pulumi.set(self, "cluster_mode", value)
|
152
|
-
|
153
133
|
@property
|
154
134
|
@pulumi.getter(name="definedTags")
|
155
135
|
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -178,7 +158,7 @@ class RedisClusterArgs:
|
|
178
158
|
@pulumi.getter(name="nsgIds")
|
179
159
|
def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
180
160
|
"""
|
181
|
-
(Updatable) 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/
|
161
|
+
(Updatable) 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 Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
|
182
162
|
"""
|
183
163
|
return pulumi.get(self, "nsg_ids")
|
184
164
|
|
@@ -186,23 +166,10 @@ class RedisClusterArgs:
|
|
186
166
|
def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
187
167
|
pulumi.set(self, "nsg_ids", value)
|
188
168
|
|
189
|
-
@property
|
190
|
-
@pulumi.getter(name="shardCount")
|
191
|
-
def shard_count(self) -> Optional[pulumi.Input[int]]:
|
192
|
-
"""
|
193
|
-
(Updatable) The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
|
194
|
-
"""
|
195
|
-
return pulumi.get(self, "shard_count")
|
196
|
-
|
197
|
-
@shard_count.setter
|
198
|
-
def shard_count(self, value: Optional[pulumi.Input[int]]):
|
199
|
-
pulumi.set(self, "shard_count", value)
|
200
|
-
|
201
169
|
|
202
170
|
@pulumi.input_type
|
203
171
|
class _RedisClusterState:
|
204
172
|
def __init__(__self__, *,
|
205
|
-
cluster_mode: Optional[pulumi.Input[str]] = None,
|
206
173
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
207
174
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
208
175
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -216,7 +183,6 @@ class _RedisClusterState:
|
|
216
183
|
primary_fqdn: Optional[pulumi.Input[str]] = None,
|
217
184
|
replicas_endpoint_ip_address: Optional[pulumi.Input[str]] = None,
|
218
185
|
replicas_fqdn: Optional[pulumi.Input[str]] = None,
|
219
|
-
shard_count: Optional[pulumi.Input[int]] = None,
|
220
186
|
software_version: Optional[pulumi.Input[str]] = None,
|
221
187
|
state: Optional[pulumi.Input[str]] = None,
|
222
188
|
subnet_id: Optional[pulumi.Input[str]] = None,
|
@@ -225,34 +191,30 @@ class _RedisClusterState:
|
|
225
191
|
time_updated: Optional[pulumi.Input[str]] = None):
|
226
192
|
"""
|
227
193
|
Input properties used for looking up and filtering RedisCluster resources.
|
228
|
-
:param pulumi.Input[str]
|
229
|
-
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
194
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
|
230
195
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
231
196
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
232
197
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
233
198
|
:param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, the message might provide actionable information for a resource in `FAILED` state.
|
234
|
-
:param pulumi.Input[Sequence[pulumi.Input['RedisClusterNodeCollectionArgs']]] node_collections: The collection of
|
235
|
-
:param pulumi.Input[int] node_count: (Updatable) The number of nodes
|
236
|
-
:param pulumi.Input[float] node_memory_in_gbs: (Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
|
237
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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/
|
238
|
-
:param pulumi.Input[str] primary_endpoint_ip_address: The private IP address of the API endpoint for the cluster's primary node.
|
239
|
-
:param pulumi.Input[str] primary_fqdn: The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
|
240
|
-
:param pulumi.Input[str] replicas_endpoint_ip_address: The private IP address of the API endpoint for the cluster's replica nodes.
|
241
|
-
:param pulumi.Input[str] replicas_fqdn: The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
|
242
|
-
:param pulumi.Input[
|
243
|
-
:param pulumi.Input[str]
|
244
|
-
:param pulumi.Input[str]
|
245
|
-
:param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
|
199
|
+
:param pulumi.Input[Sequence[pulumi.Input['RedisClusterNodeCollectionArgs']]] node_collections: The collection of Redis cluster nodes.
|
200
|
+
:param pulumi.Input[int] node_count: (Updatable) The number of nodes in the Redis cluster.
|
201
|
+
:param pulumi.Input[float] node_memory_in_gbs: (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
|
202
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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 Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
|
203
|
+
:param pulumi.Input[str] primary_endpoint_ip_address: The private IP address of the API endpoint for the Redis cluster's primary node.
|
204
|
+
:param pulumi.Input[str] primary_fqdn: The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
|
205
|
+
:param pulumi.Input[str] replicas_endpoint_ip_address: The private IP address of the API endpoint for the Redis cluster's replica nodes.
|
206
|
+
:param pulumi.Input[str] replicas_fqdn: The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
|
207
|
+
:param pulumi.Input[str] software_version: The Redis version that the cluster is running.
|
208
|
+
:param pulumi.Input[str] state: The current state of the Redis cluster.
|
209
|
+
:param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
|
246
210
|
|
247
211
|
|
248
212
|
** IMPORTANT **
|
249
213
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
250
214
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
251
|
-
:param pulumi.Input[str] time_created: The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
252
|
-
:param pulumi.Input[str] time_updated: The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
215
|
+
:param pulumi.Input[str] time_created: The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
216
|
+
:param pulumi.Input[str] time_updated: The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
253
217
|
"""
|
254
|
-
if cluster_mode is not None:
|
255
|
-
pulumi.set(__self__, "cluster_mode", cluster_mode)
|
256
218
|
if compartment_id is not None:
|
257
219
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
258
220
|
if defined_tags is not None:
|
@@ -279,8 +241,6 @@ class _RedisClusterState:
|
|
279
241
|
pulumi.set(__self__, "replicas_endpoint_ip_address", replicas_endpoint_ip_address)
|
280
242
|
if replicas_fqdn is not None:
|
281
243
|
pulumi.set(__self__, "replicas_fqdn", replicas_fqdn)
|
282
|
-
if shard_count is not None:
|
283
|
-
pulumi.set(__self__, "shard_count", shard_count)
|
284
244
|
if software_version is not None:
|
285
245
|
pulumi.set(__self__, "software_version", software_version)
|
286
246
|
if state is not None:
|
@@ -294,23 +254,11 @@ class _RedisClusterState:
|
|
294
254
|
if time_updated is not None:
|
295
255
|
pulumi.set(__self__, "time_updated", time_updated)
|
296
256
|
|
297
|
-
@property
|
298
|
-
@pulumi.getter(name="clusterMode")
|
299
|
-
def cluster_mode(self) -> Optional[pulumi.Input[str]]:
|
300
|
-
"""
|
301
|
-
Specifies whether the cluster is sharded or non-sharded.
|
302
|
-
"""
|
303
|
-
return pulumi.get(self, "cluster_mode")
|
304
|
-
|
305
|
-
@cluster_mode.setter
|
306
|
-
def cluster_mode(self, value: Optional[pulumi.Input[str]]):
|
307
|
-
pulumi.set(self, "cluster_mode", value)
|
308
|
-
|
309
257
|
@property
|
310
258
|
@pulumi.getter(name="compartmentId")
|
311
259
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
312
260
|
"""
|
313
|
-
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
261
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
|
314
262
|
"""
|
315
263
|
return pulumi.get(self, "compartment_id")
|
316
264
|
|
@@ -370,7 +318,7 @@ class _RedisClusterState:
|
|
370
318
|
@pulumi.getter(name="nodeCollections")
|
371
319
|
def node_collections(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RedisClusterNodeCollectionArgs']]]]:
|
372
320
|
"""
|
373
|
-
The collection of
|
321
|
+
The collection of Redis cluster nodes.
|
374
322
|
"""
|
375
323
|
return pulumi.get(self, "node_collections")
|
376
324
|
|
@@ -382,7 +330,7 @@ class _RedisClusterState:
|
|
382
330
|
@pulumi.getter(name="nodeCount")
|
383
331
|
def node_count(self) -> Optional[pulumi.Input[int]]:
|
384
332
|
"""
|
385
|
-
(Updatable) The number of nodes
|
333
|
+
(Updatable) The number of nodes in the Redis cluster.
|
386
334
|
"""
|
387
335
|
return pulumi.get(self, "node_count")
|
388
336
|
|
@@ -394,7 +342,7 @@ class _RedisClusterState:
|
|
394
342
|
@pulumi.getter(name="nodeMemoryInGbs")
|
395
343
|
def node_memory_in_gbs(self) -> Optional[pulumi.Input[float]]:
|
396
344
|
"""
|
397
|
-
(Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
|
345
|
+
(Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
|
398
346
|
"""
|
399
347
|
return pulumi.get(self, "node_memory_in_gbs")
|
400
348
|
|
@@ -406,7 +354,7 @@ class _RedisClusterState:
|
|
406
354
|
@pulumi.getter(name="nsgIds")
|
407
355
|
def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
408
356
|
"""
|
409
|
-
(Updatable) 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/
|
357
|
+
(Updatable) 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 Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
|
410
358
|
"""
|
411
359
|
return pulumi.get(self, "nsg_ids")
|
412
360
|
|
@@ -418,7 +366,7 @@ class _RedisClusterState:
|
|
418
366
|
@pulumi.getter(name="primaryEndpointIpAddress")
|
419
367
|
def primary_endpoint_ip_address(self) -> Optional[pulumi.Input[str]]:
|
420
368
|
"""
|
421
|
-
The private IP address of the API endpoint for the cluster's primary node.
|
369
|
+
The private IP address of the API endpoint for the Redis cluster's primary node.
|
422
370
|
"""
|
423
371
|
return pulumi.get(self, "primary_endpoint_ip_address")
|
424
372
|
|
@@ -430,7 +378,7 @@ class _RedisClusterState:
|
|
430
378
|
@pulumi.getter(name="primaryFqdn")
|
431
379
|
def primary_fqdn(self) -> Optional[pulumi.Input[str]]:
|
432
380
|
"""
|
433
|
-
The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
|
381
|
+
The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
|
434
382
|
"""
|
435
383
|
return pulumi.get(self, "primary_fqdn")
|
436
384
|
|
@@ -442,7 +390,7 @@ class _RedisClusterState:
|
|
442
390
|
@pulumi.getter(name="replicasEndpointIpAddress")
|
443
391
|
def replicas_endpoint_ip_address(self) -> Optional[pulumi.Input[str]]:
|
444
392
|
"""
|
445
|
-
The private IP address of the API endpoint for the cluster's replica nodes.
|
393
|
+
The private IP address of the API endpoint for the Redis cluster's replica nodes.
|
446
394
|
"""
|
447
395
|
return pulumi.get(self, "replicas_endpoint_ip_address")
|
448
396
|
|
@@ -454,7 +402,7 @@ class _RedisClusterState:
|
|
454
402
|
@pulumi.getter(name="replicasFqdn")
|
455
403
|
def replicas_fqdn(self) -> Optional[pulumi.Input[str]]:
|
456
404
|
"""
|
457
|
-
The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
|
405
|
+
The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
|
458
406
|
"""
|
459
407
|
return pulumi.get(self, "replicas_fqdn")
|
460
408
|
|
@@ -462,23 +410,11 @@ class _RedisClusterState:
|
|
462
410
|
def replicas_fqdn(self, value: Optional[pulumi.Input[str]]):
|
463
411
|
pulumi.set(self, "replicas_fqdn", value)
|
464
412
|
|
465
|
-
@property
|
466
|
-
@pulumi.getter(name="shardCount")
|
467
|
-
def shard_count(self) -> Optional[pulumi.Input[int]]:
|
468
|
-
"""
|
469
|
-
(Updatable) The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
|
470
|
-
"""
|
471
|
-
return pulumi.get(self, "shard_count")
|
472
|
-
|
473
|
-
@shard_count.setter
|
474
|
-
def shard_count(self, value: Optional[pulumi.Input[int]]):
|
475
|
-
pulumi.set(self, "shard_count", value)
|
476
|
-
|
477
413
|
@property
|
478
414
|
@pulumi.getter(name="softwareVersion")
|
479
415
|
def software_version(self) -> Optional[pulumi.Input[str]]:
|
480
416
|
"""
|
481
|
-
The
|
417
|
+
The Redis version that the cluster is running.
|
482
418
|
"""
|
483
419
|
return pulumi.get(self, "software_version")
|
484
420
|
|
@@ -490,7 +426,7 @@ class _RedisClusterState:
|
|
490
426
|
@pulumi.getter
|
491
427
|
def state(self) -> Optional[pulumi.Input[str]]:
|
492
428
|
"""
|
493
|
-
The current state of the cluster.
|
429
|
+
The current state of the Redis cluster.
|
494
430
|
"""
|
495
431
|
return pulumi.get(self, "state")
|
496
432
|
|
@@ -502,7 +438,7 @@ class _RedisClusterState:
|
|
502
438
|
@pulumi.getter(name="subnetId")
|
503
439
|
def subnet_id(self) -> Optional[pulumi.Input[str]]:
|
504
440
|
"""
|
505
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
|
441
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
|
506
442
|
|
507
443
|
|
508
444
|
** IMPORTANT **
|
@@ -530,7 +466,7 @@ class _RedisClusterState:
|
|
530
466
|
@pulumi.getter(name="timeCreated")
|
531
467
|
def time_created(self) -> Optional[pulumi.Input[str]]:
|
532
468
|
"""
|
533
|
-
The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
469
|
+
The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
534
470
|
"""
|
535
471
|
return pulumi.get(self, "time_created")
|
536
472
|
|
@@ -542,7 +478,7 @@ class _RedisClusterState:
|
|
542
478
|
@pulumi.getter(name="timeUpdated")
|
543
479
|
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
544
480
|
"""
|
545
|
-
The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
481
|
+
The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
546
482
|
"""
|
547
483
|
return pulumi.get(self, "time_updated")
|
548
484
|
|
@@ -556,7 +492,6 @@ class RedisCluster(pulumi.CustomResource):
|
|
556
492
|
def __init__(__self__,
|
557
493
|
resource_name: str,
|
558
494
|
opts: Optional[pulumi.ResourceOptions] = None,
|
559
|
-
cluster_mode: Optional[pulumi.Input[str]] = None,
|
560
495
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
561
496
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
562
497
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -564,14 +499,13 @@ class RedisCluster(pulumi.CustomResource):
|
|
564
499
|
node_count: Optional[pulumi.Input[int]] = None,
|
565
500
|
node_memory_in_gbs: Optional[pulumi.Input[float]] = None,
|
566
501
|
nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
567
|
-
shard_count: Optional[pulumi.Input[int]] = None,
|
568
502
|
software_version: Optional[pulumi.Input[str]] = None,
|
569
503
|
subnet_id: Optional[pulumi.Input[str]] = None,
|
570
504
|
__props__=None):
|
571
505
|
"""
|
572
506
|
This resource provides the Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
|
573
507
|
|
574
|
-
Creates a new
|
508
|
+
Creates a new Redis cluster. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](https://docs.cloud.oracle.com/iaas/Content/redis/home.htm).
|
575
509
|
|
576
510
|
## Example Usage
|
577
511
|
|
@@ -586,15 +520,13 @@ class RedisCluster(pulumi.CustomResource):
|
|
586
520
|
node_memory_in_gbs=redis_cluster_node_memory_in_gbs,
|
587
521
|
software_version=redis_cluster_software_version,
|
588
522
|
subnet_id=test_subnet["id"],
|
589
|
-
cluster_mode=redis_cluster_cluster_mode,
|
590
523
|
defined_tags={
|
591
524
|
"foo-namespace.bar-key": "value",
|
592
525
|
},
|
593
526
|
freeform_tags={
|
594
527
|
"bar-key": "value",
|
595
528
|
},
|
596
|
-
nsg_ids=redis_cluster_nsg_ids
|
597
|
-
shard_count=redis_cluster_shard_count)
|
529
|
+
nsg_ids=redis_cluster_nsg_ids)
|
598
530
|
```
|
599
531
|
|
600
532
|
## Import
|
@@ -607,17 +539,15 @@ class RedisCluster(pulumi.CustomResource):
|
|
607
539
|
|
608
540
|
:param str resource_name: The name of the resource.
|
609
541
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
610
|
-
:param pulumi.Input[str]
|
611
|
-
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
542
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
|
612
543
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
613
544
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
614
545
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
615
|
-
:param pulumi.Input[int] node_count: (Updatable) The number of nodes
|
616
|
-
:param pulumi.Input[float] node_memory_in_gbs: (Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
|
617
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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/
|
618
|
-
:param pulumi.Input[
|
619
|
-
:param pulumi.Input[str]
|
620
|
-
:param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
|
546
|
+
:param pulumi.Input[int] node_count: (Updatable) The number of nodes in the Redis cluster.
|
547
|
+
:param pulumi.Input[float] node_memory_in_gbs: (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
|
548
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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 Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
|
549
|
+
:param pulumi.Input[str] software_version: The Redis version that the cluster is running.
|
550
|
+
:param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
|
621
551
|
|
622
552
|
|
623
553
|
** IMPORTANT **
|
@@ -632,7 +562,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
632
562
|
"""
|
633
563
|
This resource provides the Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
|
634
564
|
|
635
|
-
Creates a new
|
565
|
+
Creates a new Redis cluster. A Redis cluster is a memory-based storage solution. For more information, see [OCI Caching Service with Redis](https://docs.cloud.oracle.com/iaas/Content/redis/home.htm).
|
636
566
|
|
637
567
|
## Example Usage
|
638
568
|
|
@@ -647,15 +577,13 @@ class RedisCluster(pulumi.CustomResource):
|
|
647
577
|
node_memory_in_gbs=redis_cluster_node_memory_in_gbs,
|
648
578
|
software_version=redis_cluster_software_version,
|
649
579
|
subnet_id=test_subnet["id"],
|
650
|
-
cluster_mode=redis_cluster_cluster_mode,
|
651
580
|
defined_tags={
|
652
581
|
"foo-namespace.bar-key": "value",
|
653
582
|
},
|
654
583
|
freeform_tags={
|
655
584
|
"bar-key": "value",
|
656
585
|
},
|
657
|
-
nsg_ids=redis_cluster_nsg_ids
|
658
|
-
shard_count=redis_cluster_shard_count)
|
586
|
+
nsg_ids=redis_cluster_nsg_ids)
|
659
587
|
```
|
660
588
|
|
661
589
|
## Import
|
@@ -681,7 +609,6 @@ class RedisCluster(pulumi.CustomResource):
|
|
681
609
|
def _internal_init(__self__,
|
682
610
|
resource_name: str,
|
683
611
|
opts: Optional[pulumi.ResourceOptions] = None,
|
684
|
-
cluster_mode: Optional[pulumi.Input[str]] = None,
|
685
612
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
686
613
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
687
614
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -689,7 +616,6 @@ class RedisCluster(pulumi.CustomResource):
|
|
689
616
|
node_count: Optional[pulumi.Input[int]] = None,
|
690
617
|
node_memory_in_gbs: Optional[pulumi.Input[float]] = None,
|
691
618
|
nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
692
|
-
shard_count: Optional[pulumi.Input[int]] = None,
|
693
619
|
software_version: Optional[pulumi.Input[str]] = None,
|
694
620
|
subnet_id: Optional[pulumi.Input[str]] = None,
|
695
621
|
__props__=None):
|
@@ -701,7 +627,6 @@ class RedisCluster(pulumi.CustomResource):
|
|
701
627
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
702
628
|
__props__ = RedisClusterArgs.__new__(RedisClusterArgs)
|
703
629
|
|
704
|
-
__props__.__dict__["cluster_mode"] = cluster_mode
|
705
630
|
if compartment_id is None and not opts.urn:
|
706
631
|
raise TypeError("Missing required property 'compartment_id'")
|
707
632
|
__props__.__dict__["compartment_id"] = compartment_id
|
@@ -717,7 +642,6 @@ class RedisCluster(pulumi.CustomResource):
|
|
717
642
|
raise TypeError("Missing required property 'node_memory_in_gbs'")
|
718
643
|
__props__.__dict__["node_memory_in_gbs"] = node_memory_in_gbs
|
719
644
|
__props__.__dict__["nsg_ids"] = nsg_ids
|
720
|
-
__props__.__dict__["shard_count"] = shard_count
|
721
645
|
if software_version is None and not opts.urn:
|
722
646
|
raise TypeError("Missing required property 'software_version'")
|
723
647
|
__props__.__dict__["software_version"] = software_version
|
@@ -744,7 +668,6 @@ class RedisCluster(pulumi.CustomResource):
|
|
744
668
|
def get(resource_name: str,
|
745
669
|
id: pulumi.Input[str],
|
746
670
|
opts: Optional[pulumi.ResourceOptions] = None,
|
747
|
-
cluster_mode: Optional[pulumi.Input[str]] = None,
|
748
671
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
749
672
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
750
673
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -758,7 +681,6 @@ class RedisCluster(pulumi.CustomResource):
|
|
758
681
|
primary_fqdn: Optional[pulumi.Input[str]] = None,
|
759
682
|
replicas_endpoint_ip_address: Optional[pulumi.Input[str]] = None,
|
760
683
|
replicas_fqdn: Optional[pulumi.Input[str]] = None,
|
761
|
-
shard_count: Optional[pulumi.Input[int]] = None,
|
762
684
|
software_version: Optional[pulumi.Input[str]] = None,
|
763
685
|
state: Optional[pulumi.Input[str]] = None,
|
764
686
|
subnet_id: Optional[pulumi.Input[str]] = None,
|
@@ -772,37 +694,34 @@ class RedisCluster(pulumi.CustomResource):
|
|
772
694
|
:param str resource_name: The unique name of the resulting resource.
|
773
695
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
774
696
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
775
|
-
:param pulumi.Input[str]
|
776
|
-
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
697
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
|
777
698
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
778
699
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
779
700
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
780
701
|
:param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, the message might provide actionable information for a resource in `FAILED` state.
|
781
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisClusterNodeCollectionArgs', 'RedisClusterNodeCollectionArgsDict']]]] node_collections: The collection of
|
782
|
-
:param pulumi.Input[int] node_count: (Updatable) The number of nodes
|
783
|
-
:param pulumi.Input[float] node_memory_in_gbs: (Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
|
784
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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/
|
785
|
-
:param pulumi.Input[str] primary_endpoint_ip_address: The private IP address of the API endpoint for the cluster's primary node.
|
786
|
-
:param pulumi.Input[str] primary_fqdn: The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
|
787
|
-
:param pulumi.Input[str] replicas_endpoint_ip_address: The private IP address of the API endpoint for the cluster's replica nodes.
|
788
|
-
:param pulumi.Input[str] replicas_fqdn: The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
|
789
|
-
:param pulumi.Input[
|
790
|
-
:param pulumi.Input[str]
|
791
|
-
:param pulumi.Input[str]
|
792
|
-
:param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
|
702
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisClusterNodeCollectionArgs', 'RedisClusterNodeCollectionArgsDict']]]] node_collections: The collection of Redis cluster nodes.
|
703
|
+
:param pulumi.Input[int] node_count: (Updatable) The number of nodes in the Redis cluster.
|
704
|
+
:param pulumi.Input[float] node_memory_in_gbs: (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
|
705
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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 Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
|
706
|
+
:param pulumi.Input[str] primary_endpoint_ip_address: The private IP address of the API endpoint for the Redis cluster's primary node.
|
707
|
+
:param pulumi.Input[str] primary_fqdn: The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
|
708
|
+
:param pulumi.Input[str] replicas_endpoint_ip_address: The private IP address of the API endpoint for the Redis cluster's replica nodes.
|
709
|
+
:param pulumi.Input[str] replicas_fqdn: The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
|
710
|
+
:param pulumi.Input[str] software_version: The Redis version that the cluster is running.
|
711
|
+
:param pulumi.Input[str] state: The current state of the Redis cluster.
|
712
|
+
:param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
|
793
713
|
|
794
714
|
|
795
715
|
** IMPORTANT **
|
796
716
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
797
717
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
798
|
-
:param pulumi.Input[str] time_created: The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
799
|
-
:param pulumi.Input[str] time_updated: The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
718
|
+
:param pulumi.Input[str] time_created: The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
719
|
+
:param pulumi.Input[str] time_updated: The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
800
720
|
"""
|
801
721
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
802
722
|
|
803
723
|
__props__ = _RedisClusterState.__new__(_RedisClusterState)
|
804
724
|
|
805
|
-
__props__.__dict__["cluster_mode"] = cluster_mode
|
806
725
|
__props__.__dict__["compartment_id"] = compartment_id
|
807
726
|
__props__.__dict__["defined_tags"] = defined_tags
|
808
727
|
__props__.__dict__["display_name"] = display_name
|
@@ -816,7 +735,6 @@ class RedisCluster(pulumi.CustomResource):
|
|
816
735
|
__props__.__dict__["primary_fqdn"] = primary_fqdn
|
817
736
|
__props__.__dict__["replicas_endpoint_ip_address"] = replicas_endpoint_ip_address
|
818
737
|
__props__.__dict__["replicas_fqdn"] = replicas_fqdn
|
819
|
-
__props__.__dict__["shard_count"] = shard_count
|
820
738
|
__props__.__dict__["software_version"] = software_version
|
821
739
|
__props__.__dict__["state"] = state
|
822
740
|
__props__.__dict__["subnet_id"] = subnet_id
|
@@ -825,19 +743,11 @@ class RedisCluster(pulumi.CustomResource):
|
|
825
743
|
__props__.__dict__["time_updated"] = time_updated
|
826
744
|
return RedisCluster(resource_name, opts=opts, __props__=__props__)
|
827
745
|
|
828
|
-
@property
|
829
|
-
@pulumi.getter(name="clusterMode")
|
830
|
-
def cluster_mode(self) -> pulumi.Output[str]:
|
831
|
-
"""
|
832
|
-
Specifies whether the cluster is sharded or non-sharded.
|
833
|
-
"""
|
834
|
-
return pulumi.get(self, "cluster_mode")
|
835
|
-
|
836
746
|
@property
|
837
747
|
@pulumi.getter(name="compartmentId")
|
838
748
|
def compartment_id(self) -> pulumi.Output[str]:
|
839
749
|
"""
|
840
|
-
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
|
750
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
|
841
751
|
"""
|
842
752
|
return pulumi.get(self, "compartment_id")
|
843
753
|
|
@@ -877,7 +787,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
877
787
|
@pulumi.getter(name="nodeCollections")
|
878
788
|
def node_collections(self) -> pulumi.Output[Sequence['outputs.RedisClusterNodeCollection']]:
|
879
789
|
"""
|
880
|
-
The collection of
|
790
|
+
The collection of Redis cluster nodes.
|
881
791
|
"""
|
882
792
|
return pulumi.get(self, "node_collections")
|
883
793
|
|
@@ -885,7 +795,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
885
795
|
@pulumi.getter(name="nodeCount")
|
886
796
|
def node_count(self) -> pulumi.Output[int]:
|
887
797
|
"""
|
888
|
-
(Updatable) The number of nodes
|
798
|
+
(Updatable) The number of nodes in the Redis cluster.
|
889
799
|
"""
|
890
800
|
return pulumi.get(self, "node_count")
|
891
801
|
|
@@ -893,7 +803,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
893
803
|
@pulumi.getter(name="nodeMemoryInGbs")
|
894
804
|
def node_memory_in_gbs(self) -> pulumi.Output[float]:
|
895
805
|
"""
|
896
|
-
(Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
|
806
|
+
(Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
|
897
807
|
"""
|
898
808
|
return pulumi.get(self, "node_memory_in_gbs")
|
899
809
|
|
@@ -901,7 +811,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
901
811
|
@pulumi.getter(name="nsgIds")
|
902
812
|
def nsg_ids(self) -> pulumi.Output[Sequence[str]]:
|
903
813
|
"""
|
904
|
-
(Updatable) 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/
|
814
|
+
(Updatable) 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 Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
|
905
815
|
"""
|
906
816
|
return pulumi.get(self, "nsg_ids")
|
907
817
|
|
@@ -909,7 +819,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
909
819
|
@pulumi.getter(name="primaryEndpointIpAddress")
|
910
820
|
def primary_endpoint_ip_address(self) -> pulumi.Output[str]:
|
911
821
|
"""
|
912
|
-
The private IP address of the API endpoint for the cluster's primary node.
|
822
|
+
The private IP address of the API endpoint for the Redis cluster's primary node.
|
913
823
|
"""
|
914
824
|
return pulumi.get(self, "primary_endpoint_ip_address")
|
915
825
|
|
@@ -917,7 +827,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
917
827
|
@pulumi.getter(name="primaryFqdn")
|
918
828
|
def primary_fqdn(self) -> pulumi.Output[str]:
|
919
829
|
"""
|
920
|
-
The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
|
830
|
+
The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
|
921
831
|
"""
|
922
832
|
return pulumi.get(self, "primary_fqdn")
|
923
833
|
|
@@ -925,7 +835,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
925
835
|
@pulumi.getter(name="replicasEndpointIpAddress")
|
926
836
|
def replicas_endpoint_ip_address(self) -> pulumi.Output[str]:
|
927
837
|
"""
|
928
|
-
The private IP address of the API endpoint for the cluster's replica nodes.
|
838
|
+
The private IP address of the API endpoint for the Redis cluster's replica nodes.
|
929
839
|
"""
|
930
840
|
return pulumi.get(self, "replicas_endpoint_ip_address")
|
931
841
|
|
@@ -933,23 +843,15 @@ class RedisCluster(pulumi.CustomResource):
|
|
933
843
|
@pulumi.getter(name="replicasFqdn")
|
934
844
|
def replicas_fqdn(self) -> pulumi.Output[str]:
|
935
845
|
"""
|
936
|
-
The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
|
846
|
+
The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
|
937
847
|
"""
|
938
848
|
return pulumi.get(self, "replicas_fqdn")
|
939
849
|
|
940
|
-
@property
|
941
|
-
@pulumi.getter(name="shardCount")
|
942
|
-
def shard_count(self) -> pulumi.Output[int]:
|
943
|
-
"""
|
944
|
-
(Updatable) The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
|
945
|
-
"""
|
946
|
-
return pulumi.get(self, "shard_count")
|
947
|
-
|
948
850
|
@property
|
949
851
|
@pulumi.getter(name="softwareVersion")
|
950
852
|
def software_version(self) -> pulumi.Output[str]:
|
951
853
|
"""
|
952
|
-
The
|
854
|
+
The Redis version that the cluster is running.
|
953
855
|
"""
|
954
856
|
return pulumi.get(self, "software_version")
|
955
857
|
|
@@ -957,7 +859,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
957
859
|
@pulumi.getter
|
958
860
|
def state(self) -> pulumi.Output[str]:
|
959
861
|
"""
|
960
|
-
The current state of the cluster.
|
862
|
+
The current state of the Redis cluster.
|
961
863
|
"""
|
962
864
|
return pulumi.get(self, "state")
|
963
865
|
|
@@ -965,7 +867,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
965
867
|
@pulumi.getter(name="subnetId")
|
966
868
|
def subnet_id(self) -> pulumi.Output[str]:
|
967
869
|
"""
|
968
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
|
870
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
|
969
871
|
|
970
872
|
|
971
873
|
** IMPORTANT **
|
@@ -985,7 +887,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
985
887
|
@pulumi.getter(name="timeCreated")
|
986
888
|
def time_created(self) -> pulumi.Output[str]:
|
987
889
|
"""
|
988
|
-
The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
890
|
+
The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
989
891
|
"""
|
990
892
|
return pulumi.get(self, "time_created")
|
991
893
|
|
@@ -993,7 +895,7 @@ class RedisCluster(pulumi.CustomResource):
|
|
993
895
|
@pulumi.getter(name="timeUpdated")
|
994
896
|
def time_updated(self) -> pulumi.Output[str]:
|
995
897
|
"""
|
996
|
-
The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
898
|
+
The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
|
997
899
|
"""
|
998
900
|
return pulumi.get(self, "time_updated")
|
999
901
|
|