pulumi-oci 2.8.0a1724220787__py3-none-any.whl → 2.9.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.
Files changed (142) hide show
  1. pulumi_oci/__init__.py +86 -38
  2. pulumi_oci/analytics/_inputs.py +4 -4
  3. pulumi_oci/analytics/analytics_instance.py +199 -25
  4. pulumi_oci/analytics/get_analytics_instance.py +51 -2
  5. pulumi_oci/analytics/get_analytics_instances.py +1 -1
  6. pulumi_oci/analytics/outputs.py +52 -12
  7. pulumi_oci/announcementsservice/__init__.py +1 -0
  8. pulumi_oci/announcementsservice/_inputs.py +46 -6
  9. pulumi_oci/announcementsservice/announcement_subscription.py +14 -14
  10. pulumi_oci/announcementsservice/get_announcement_subscription.py +2 -2
  11. pulumi_oci/announcementsservice/get_services.py +173 -0
  12. pulumi_oci/announcementsservice/outputs.py +195 -18
  13. pulumi_oci/bigdataservice/_inputs.py +1 -49
  14. pulumi_oci/bigdataservice/bds_instance.py +0 -128
  15. pulumi_oci/bigdataservice/get_bds_instance.py +1 -31
  16. pulumi_oci/bigdataservice/outputs.py +3 -132
  17. pulumi_oci/database/_inputs.py +32 -0
  18. pulumi_oci/database/autonomous_database.py +28 -0
  19. pulumi_oci/database/data_guard_association.py +49 -0
  20. pulumi_oci/database/get_autonomous_database.py +14 -1
  21. pulumi_oci/database/get_autonomous_databases.py +32 -95
  22. pulumi_oci/database/get_data_guard_association.py +11 -1
  23. pulumi_oci/database/get_maintenance_run.py +14 -1
  24. pulumi_oci/database/maintenance_run.py +56 -7
  25. pulumi_oci/database/outputs.py +196 -42
  26. pulumi_oci/databasemanagement/__init__.py +1 -0
  27. pulumi_oci/databasemanagement/_inputs.py +873 -10
  28. pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py +275 -0
  29. pulumi_oci/databasemanagement/database_dbm_features_management.py +37 -3
  30. pulumi_oci/databasemanagement/db_management_private_endpoint.py +49 -0
  31. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
  32. pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +21 -1
  33. pulumi_oci/databasemanagement/get_managed_database.py +47 -3
  34. pulumi_oci/databasemanagement/managed_database.py +56 -0
  35. pulumi_oci/databasemanagement/outputs.py +3331 -1397
  36. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +35 -1
  37. pulumi_oci/datasafe/__init__.py +6 -0
  38. pulumi_oci/datasafe/_inputs.py +18 -0
  39. pulumi_oci/datasafe/database_security_config_management.py +244 -2
  40. pulumi_oci/datasafe/masking_policy_health_report_management.py +453 -0
  41. pulumi_oci/datasafe/masking_report_management.py +693 -0
  42. pulumi_oci/datasafe/outputs.py +18 -0
  43. pulumi_oci/datasafe/security_policy_deployment_management.py +180 -2
  44. pulumi_oci/datasafe/security_policy_management.py +172 -2
  45. pulumi_oci/datasafe/set_security_assessment_baseline_management.py +304 -0
  46. pulumi_oci/datasafe/set_user_assessment_baseline_management.py +304 -0
  47. pulumi_oci/datasafe/sql_firewall_policy_management.py +354 -2
  48. pulumi_oci/datasafe/unset_security_assessment_baseline_management.py +264 -0
  49. pulumi_oci/datasafe/unset_user_assessment_baseline_management.py +264 -0
  50. pulumi_oci/delegateaccesscontrol/__init__.py +24 -0
  51. pulumi_oci/delegateaccesscontrol/_inputs.py +306 -0
  52. pulumi_oci/delegateaccesscontrol/delegation_control.py +1082 -0
  53. pulumi_oci/{globallydistributeddatabase/private_endpoint.py → delegateaccesscontrol/delegation_subscription.py} +162 -267
  54. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py +535 -0
  55. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py +174 -0
  56. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py +133 -0
  57. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py +250 -0
  58. pulumi_oci/delegateaccesscontrol/get_delegation_control.py +378 -0
  59. pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py +133 -0
  60. pulumi_oci/delegateaccesscontrol/get_delegation_controls.py +213 -0
  61. pulumi_oci/{globallydistributeddatabase/get_private_endpoint.py → delegateaccesscontrol/get_delegation_subscription.py} +66 -105
  62. pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py +176 -0
  63. pulumi_oci/delegateaccesscontrol/get_service_provider.py +274 -0
  64. pulumi_oci/delegateaccesscontrol/get_service_provider_action.py +210 -0
  65. pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py +210 -0
  66. pulumi_oci/delegateaccesscontrol/get_service_providers.py +213 -0
  67. pulumi_oci/delegateaccesscontrol/outputs.py +1679 -0
  68. pulumi_oci/{fleetsoftwareupdate → desktops}/__init__.py +7 -6
  69. pulumi_oci/desktops/_inputs.py +483 -0
  70. pulumi_oci/desktops/desktop_pool.py +1348 -0
  71. pulumi_oci/desktops/get_desktop.py +223 -0
  72. pulumi_oci/desktops/get_desktop_pool.py +418 -0
  73. pulumi_oci/desktops/get_desktop_pool_desktops.py +208 -0
  74. pulumi_oci/desktops/get_desktop_pool_volumes.py +214 -0
  75. pulumi_oci/desktops/get_desktop_pools.py +203 -0
  76. pulumi_oci/desktops/get_desktops.py +214 -0
  77. pulumi_oci/desktops/outputs.py +1738 -0
  78. pulumi_oci/disasterrecovery/_inputs.py +66 -2
  79. pulumi_oci/disasterrecovery/dr_protection_group.py +8 -0
  80. pulumi_oci/disasterrecovery/get_dr_plan_executions.py +24 -0
  81. pulumi_oci/disasterrecovery/outputs.py +150 -10
  82. pulumi_oci/filestorage/mount_target.py +143 -38
  83. pulumi_oci/filestorage/outputs.py +44 -0
  84. pulumi_oci/identity/domains_group.py +34 -0
  85. pulumi_oci/identity/domains_user.py +34 -0
  86. pulumi_oci/identity/get_domains_group.py +11 -1
  87. pulumi_oci/identity/get_domains_user.py +11 -1
  88. pulumi_oci/identity/outputs.py +14 -0
  89. pulumi_oci/integration/get_integration_instance.py +25 -2
  90. pulumi_oci/integration/integration_instance.py +88 -0
  91. pulumi_oci/integration/outputs.py +24 -6
  92. pulumi_oci/kms/_inputs.py +10 -10
  93. pulumi_oci/kms/get_vault.py +14 -1
  94. pulumi_oci/kms/outputs.py +41 -30
  95. pulumi_oci/kms/vault.py +28 -0
  96. pulumi_oci/loadbalancer/load_balancer.py +224 -0
  97. pulumi_oci/loadbalancer/outputs.py +22 -0
  98. pulumi_oci/mysql/_inputs.py +225 -2
  99. pulumi_oci/mysql/get_mysql_backup.py +1 -1
  100. pulumi_oci/mysql/get_mysql_db_system.py +27 -1
  101. pulumi_oci/mysql/mysql_backup.py +4 -4
  102. pulumi_oci/mysql/mysql_db_system.py +108 -0
  103. pulumi_oci/mysql/outputs.py +569 -8
  104. pulumi_oci/ocvp/get_cluster.py +2 -2
  105. pulumi_oci/ocvp/get_exsi_hosts.py +2 -2
  106. pulumi_oci/ocvp/get_supported_vmware_software_versions.py +22 -5
  107. pulumi_oci/ocvp/outputs.py +2 -2
  108. pulumi_oci/pulumi-plugin.json +1 -1
  109. pulumi_oci/recoverymod/_inputs.py +0 -8
  110. pulumi_oci/recoverymod/get_protected_database.py +14 -1
  111. pulumi_oci/recoverymod/get_protection_policy.py +14 -1
  112. pulumi_oci/recoverymod/outputs.py +22 -8
  113. pulumi_oci/recoverymod/protected_database.py +80 -3
  114. pulumi_oci/recoverymod/protection_policy.py +49 -0
  115. pulumi_oci/redis/__init__.py +1 -0
  116. pulumi_oci/redis/_inputs.py +40 -0
  117. pulumi_oci/redis/get_redis_cluster.py +47 -21
  118. pulumi_oci/redis/get_redis_cluster_nodes.py +156 -0
  119. pulumi_oci/redis/get_redis_clusters.py +8 -8
  120. pulumi_oci/redis/outputs.py +160 -28
  121. pulumi_oci/redis/redis_cluster.py +177 -79
  122. pulumi_oci/waf/_inputs.py +29 -16
  123. pulumi_oci/waf/outputs.py +33 -10
  124. {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/METADATA +1 -1
  125. {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/RECORD +127 -108
  126. {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/WHEEL +1 -1
  127. pulumi_oci/fleetsoftwareupdate/_inputs.py +0 -553
  128. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +0 -514
  129. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +0 -812
  130. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +0 -225
  131. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +0 -141
  132. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +0 -325
  133. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +0 -167
  134. pulumi_oci/fleetsoftwareupdate/outputs.py +0 -1481
  135. pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
  136. pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1003
  137. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -176
  138. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -610
  139. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -176
  140. pulumi_oci/globallydistributeddatabase/outputs.py +0 -2058
  141. pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1816
  142. {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/top_level.txt +0 -0
@@ -22,24 +22,28 @@ 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,
25
26
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
26
27
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
27
- nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
28
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
29
+ shard_count: Optional[pulumi.Input[int]] = None):
28
30
  """
29
31
  The set of arguments for constructing a RedisCluster resource.
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.
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.
31
33
  :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.
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.
34
+ :param pulumi.Input[int] node_count: (Updatable) The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
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 Oracle Cloud Infrastructure Cache engine version that the cluster is running.
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.
36
38
 
37
39
 
38
40
  ** IMPORTANT **
39
41
  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.
40
43
  :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"}`
41
44
  :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"}`
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).
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/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
46
+ :param pulumi.Input[int] shard_count: (Updatable) The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
43
47
  """
44
48
  pulumi.set(__self__, "compartment_id", compartment_id)
45
49
  pulumi.set(__self__, "display_name", display_name)
@@ -47,18 +51,22 @@ class RedisClusterArgs:
47
51
  pulumi.set(__self__, "node_memory_in_gbs", node_memory_in_gbs)
48
52
  pulumi.set(__self__, "software_version", software_version)
49
53
  pulumi.set(__self__, "subnet_id", subnet_id)
54
+ if cluster_mode is not None:
55
+ pulumi.set(__self__, "cluster_mode", cluster_mode)
50
56
  if defined_tags is not None:
51
57
  pulumi.set(__self__, "defined_tags", defined_tags)
52
58
  if freeform_tags is not None:
53
59
  pulumi.set(__self__, "freeform_tags", freeform_tags)
54
60
  if nsg_ids is not None:
55
61
  pulumi.set(__self__, "nsg_ids", nsg_ids)
62
+ if shard_count is not None:
63
+ pulumi.set(__self__, "shard_count", shard_count)
56
64
 
57
65
  @property
58
66
  @pulumi.getter(name="compartmentId")
59
67
  def compartment_id(self) -> pulumi.Input[str]:
60
68
  """
61
- (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
69
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
62
70
  """
63
71
  return pulumi.get(self, "compartment_id")
64
72
 
@@ -82,7 +90,7 @@ class RedisClusterArgs:
82
90
  @pulumi.getter(name="nodeCount")
83
91
  def node_count(self) -> pulumi.Input[int]:
84
92
  """
85
- (Updatable) The number of nodes in the Redis cluster.
93
+ (Updatable) The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
86
94
  """
87
95
  return pulumi.get(self, "node_count")
88
96
 
@@ -94,7 +102,7 @@ class RedisClusterArgs:
94
102
  @pulumi.getter(name="nodeMemoryInGbs")
95
103
  def node_memory_in_gbs(self) -> pulumi.Input[float]:
96
104
  """
97
- (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
105
+ (Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
98
106
  """
99
107
  return pulumi.get(self, "node_memory_in_gbs")
100
108
 
@@ -106,7 +114,7 @@ class RedisClusterArgs:
106
114
  @pulumi.getter(name="softwareVersion")
107
115
  def software_version(self) -> pulumi.Input[str]:
108
116
  """
109
- The Redis version that the cluster is running.
117
+ The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
110
118
  """
111
119
  return pulumi.get(self, "software_version")
112
120
 
@@ -118,7 +126,7 @@ class RedisClusterArgs:
118
126
  @pulumi.getter(name="subnetId")
119
127
  def subnet_id(self) -> pulumi.Input[str]:
120
128
  """
121
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
129
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
122
130
 
123
131
 
124
132
  ** IMPORTANT **
@@ -130,6 +138,18 @@ class RedisClusterArgs:
130
138
  def subnet_id(self, value: pulumi.Input[str]):
131
139
  pulumi.set(self, "subnet_id", value)
132
140
 
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
+
133
153
  @property
134
154
  @pulumi.getter(name="definedTags")
135
155
  def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -158,7 +178,7 @@ class RedisClusterArgs:
158
178
  @pulumi.getter(name="nsgIds")
159
179
  def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
160
180
  """
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).
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/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
162
182
  """
163
183
  return pulumi.get(self, "nsg_ids")
164
184
 
@@ -166,10 +186,23 @@ class RedisClusterArgs:
166
186
  def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
167
187
  pulumi.set(self, "nsg_ids", value)
168
188
 
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
+
169
201
 
170
202
  @pulumi.input_type
171
203
  class _RedisClusterState:
172
204
  def __init__(__self__, *,
205
+ cluster_mode: Optional[pulumi.Input[str]] = None,
173
206
  compartment_id: Optional[pulumi.Input[str]] = None,
174
207
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
175
208
  display_name: Optional[pulumi.Input[str]] = None,
@@ -183,6 +216,7 @@ class _RedisClusterState:
183
216
  primary_fqdn: Optional[pulumi.Input[str]] = None,
184
217
  replicas_endpoint_ip_address: Optional[pulumi.Input[str]] = None,
185
218
  replicas_fqdn: Optional[pulumi.Input[str]] = None,
219
+ shard_count: Optional[pulumi.Input[int]] = None,
186
220
  software_version: Optional[pulumi.Input[str]] = None,
187
221
  state: Optional[pulumi.Input[str]] = None,
188
222
  subnet_id: Optional[pulumi.Input[str]] = None,
@@ -191,30 +225,34 @@ class _RedisClusterState:
191
225
  time_updated: Optional[pulumi.Input[str]] = None):
192
226
  """
193
227
  Input properties used for looking up and filtering RedisCluster resources.
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.
228
+ :param pulumi.Input[str] cluster_mode: Specifies whether the cluster is sharded or non-sharded.
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.
195
230
  :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"}`
196
231
  :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.
197
232
  :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"}`
198
233
  :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.
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.
234
+ :param pulumi.Input[Sequence[pulumi.Input['RedisClusterNodeCollectionArgs']]] node_collections: The collection of cluster nodes.
235
+ :param pulumi.Input[int] node_count: (Updatable) The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
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/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
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[int] shard_count: (Updatable) The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
243
+ :param pulumi.Input[str] software_version: The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
244
+ :param pulumi.Input[str] state: The current state of the cluster.
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.
210
246
 
211
247
 
212
248
  ** IMPORTANT **
213
249
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
214
250
  :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"}`
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.
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.
217
253
  """
254
+ if cluster_mode is not None:
255
+ pulumi.set(__self__, "cluster_mode", cluster_mode)
218
256
  if compartment_id is not None:
219
257
  pulumi.set(__self__, "compartment_id", compartment_id)
220
258
  if defined_tags is not None:
@@ -241,6 +279,8 @@ class _RedisClusterState:
241
279
  pulumi.set(__self__, "replicas_endpoint_ip_address", replicas_endpoint_ip_address)
242
280
  if replicas_fqdn is not None:
243
281
  pulumi.set(__self__, "replicas_fqdn", replicas_fqdn)
282
+ if shard_count is not None:
283
+ pulumi.set(__self__, "shard_count", shard_count)
244
284
  if software_version is not None:
245
285
  pulumi.set(__self__, "software_version", software_version)
246
286
  if state is not None:
@@ -254,11 +294,23 @@ class _RedisClusterState:
254
294
  if time_updated is not None:
255
295
  pulumi.set(__self__, "time_updated", time_updated)
256
296
 
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
+
257
309
  @property
258
310
  @pulumi.getter(name="compartmentId")
259
311
  def compartment_id(self) -> Optional[pulumi.Input[str]]:
260
312
  """
261
- (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
313
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
262
314
  """
263
315
  return pulumi.get(self, "compartment_id")
264
316
 
@@ -318,7 +370,7 @@ class _RedisClusterState:
318
370
  @pulumi.getter(name="nodeCollections")
319
371
  def node_collections(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RedisClusterNodeCollectionArgs']]]]:
320
372
  """
321
- The collection of Redis cluster nodes.
373
+ The collection of cluster nodes.
322
374
  """
323
375
  return pulumi.get(self, "node_collections")
324
376
 
@@ -330,7 +382,7 @@ class _RedisClusterState:
330
382
  @pulumi.getter(name="nodeCount")
331
383
  def node_count(self) -> Optional[pulumi.Input[int]]:
332
384
  """
333
- (Updatable) The number of nodes in the Redis cluster.
385
+ (Updatable) The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
334
386
  """
335
387
  return pulumi.get(self, "node_count")
336
388
 
@@ -342,7 +394,7 @@ class _RedisClusterState:
342
394
  @pulumi.getter(name="nodeMemoryInGbs")
343
395
  def node_memory_in_gbs(self) -> Optional[pulumi.Input[float]]:
344
396
  """
345
- (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
397
+ (Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
346
398
  """
347
399
  return pulumi.get(self, "node_memory_in_gbs")
348
400
 
@@ -354,7 +406,7 @@ class _RedisClusterState:
354
406
  @pulumi.getter(name="nsgIds")
355
407
  def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
356
408
  """
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).
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/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
358
410
  """
359
411
  return pulumi.get(self, "nsg_ids")
360
412
 
@@ -366,7 +418,7 @@ class _RedisClusterState:
366
418
  @pulumi.getter(name="primaryEndpointIpAddress")
367
419
  def primary_endpoint_ip_address(self) -> Optional[pulumi.Input[str]]:
368
420
  """
369
- The private IP address of the API endpoint for the Redis cluster's primary node.
421
+ The private IP address of the API endpoint for the cluster's primary node.
370
422
  """
371
423
  return pulumi.get(self, "primary_endpoint_ip_address")
372
424
 
@@ -378,7 +430,7 @@ class _RedisClusterState:
378
430
  @pulumi.getter(name="primaryFqdn")
379
431
  def primary_fqdn(self) -> Optional[pulumi.Input[str]]:
380
432
  """
381
- The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
433
+ The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
382
434
  """
383
435
  return pulumi.get(self, "primary_fqdn")
384
436
 
@@ -390,7 +442,7 @@ class _RedisClusterState:
390
442
  @pulumi.getter(name="replicasEndpointIpAddress")
391
443
  def replicas_endpoint_ip_address(self) -> Optional[pulumi.Input[str]]:
392
444
  """
393
- The private IP address of the API endpoint for the Redis cluster's replica nodes.
445
+ The private IP address of the API endpoint for the cluster's replica nodes.
394
446
  """
395
447
  return pulumi.get(self, "replicas_endpoint_ip_address")
396
448
 
@@ -402,7 +454,7 @@ class _RedisClusterState:
402
454
  @pulumi.getter(name="replicasFqdn")
403
455
  def replicas_fqdn(self) -> Optional[pulumi.Input[str]]:
404
456
  """
405
- The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
457
+ The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
406
458
  """
407
459
  return pulumi.get(self, "replicas_fqdn")
408
460
 
@@ -410,11 +462,23 @@ class _RedisClusterState:
410
462
  def replicas_fqdn(self, value: Optional[pulumi.Input[str]]):
411
463
  pulumi.set(self, "replicas_fqdn", value)
412
464
 
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
+
413
477
  @property
414
478
  @pulumi.getter(name="softwareVersion")
415
479
  def software_version(self) -> Optional[pulumi.Input[str]]:
416
480
  """
417
- The Redis version that the cluster is running.
481
+ The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
418
482
  """
419
483
  return pulumi.get(self, "software_version")
420
484
 
@@ -426,7 +490,7 @@ class _RedisClusterState:
426
490
  @pulumi.getter
427
491
  def state(self) -> Optional[pulumi.Input[str]]:
428
492
  """
429
- The current state of the Redis cluster.
493
+ The current state of the cluster.
430
494
  """
431
495
  return pulumi.get(self, "state")
432
496
 
@@ -438,7 +502,7 @@ class _RedisClusterState:
438
502
  @pulumi.getter(name="subnetId")
439
503
  def subnet_id(self) -> Optional[pulumi.Input[str]]:
440
504
  """
441
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
505
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
442
506
 
443
507
 
444
508
  ** IMPORTANT **
@@ -466,7 +530,7 @@ class _RedisClusterState:
466
530
  @pulumi.getter(name="timeCreated")
467
531
  def time_created(self) -> Optional[pulumi.Input[str]]:
468
532
  """
469
- The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
533
+ The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
470
534
  """
471
535
  return pulumi.get(self, "time_created")
472
536
 
@@ -478,7 +542,7 @@ class _RedisClusterState:
478
542
  @pulumi.getter(name="timeUpdated")
479
543
  def time_updated(self) -> Optional[pulumi.Input[str]]:
480
544
  """
481
- The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
545
+ The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
482
546
  """
483
547
  return pulumi.get(self, "time_updated")
484
548
 
@@ -492,6 +556,7 @@ class RedisCluster(pulumi.CustomResource):
492
556
  def __init__(__self__,
493
557
  resource_name: str,
494
558
  opts: Optional[pulumi.ResourceOptions] = None,
559
+ cluster_mode: Optional[pulumi.Input[str]] = None,
495
560
  compartment_id: Optional[pulumi.Input[str]] = None,
496
561
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
497
562
  display_name: Optional[pulumi.Input[str]] = None,
@@ -499,13 +564,14 @@ class RedisCluster(pulumi.CustomResource):
499
564
  node_count: Optional[pulumi.Input[int]] = None,
500
565
  node_memory_in_gbs: Optional[pulumi.Input[float]] = None,
501
566
  nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
567
+ shard_count: Optional[pulumi.Input[int]] = None,
502
568
  software_version: Optional[pulumi.Input[str]] = None,
503
569
  subnet_id: Optional[pulumi.Input[str]] = None,
504
570
  __props__=None):
505
571
  """
506
572
  This resource provides the Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
507
573
 
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).
574
+ Creates a new 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).
509
575
 
510
576
  ## Example Usage
511
577
 
@@ -520,13 +586,15 @@ class RedisCluster(pulumi.CustomResource):
520
586
  node_memory_in_gbs=redis_cluster_node_memory_in_gbs,
521
587
  software_version=redis_cluster_software_version,
522
588
  subnet_id=test_subnet["id"],
589
+ cluster_mode=redis_cluster_cluster_mode,
523
590
  defined_tags={
524
591
  "foo-namespace.bar-key": "value",
525
592
  },
526
593
  freeform_tags={
527
594
  "bar-key": "value",
528
595
  },
529
- nsg_ids=redis_cluster_nsg_ids)
596
+ nsg_ids=redis_cluster_nsg_ids,
597
+ shard_count=redis_cluster_shard_count)
530
598
  ```
531
599
 
532
600
  ## Import
@@ -539,15 +607,17 @@ class RedisCluster(pulumi.CustomResource):
539
607
 
540
608
  :param str resource_name: The name of the resource.
541
609
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
610
+ :param pulumi.Input[str] cluster_mode: Specifies whether the cluster is sharded or non-sharded.
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.
543
612
  :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"}`
544
613
  :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.
545
614
  :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"}`
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.
615
+ :param pulumi.Input[int] node_count: (Updatable) The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
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/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
618
+ :param pulumi.Input[int] shard_count: (Updatable) The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
619
+ :param pulumi.Input[str] software_version: The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
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.
551
621
 
552
622
 
553
623
  ** IMPORTANT **
@@ -562,7 +632,7 @@ class RedisCluster(pulumi.CustomResource):
562
632
  """
563
633
  This resource provides the Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
564
634
 
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).
635
+ Creates a new 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).
566
636
 
567
637
  ## Example Usage
568
638
 
@@ -577,13 +647,15 @@ class RedisCluster(pulumi.CustomResource):
577
647
  node_memory_in_gbs=redis_cluster_node_memory_in_gbs,
578
648
  software_version=redis_cluster_software_version,
579
649
  subnet_id=test_subnet["id"],
650
+ cluster_mode=redis_cluster_cluster_mode,
580
651
  defined_tags={
581
652
  "foo-namespace.bar-key": "value",
582
653
  },
583
654
  freeform_tags={
584
655
  "bar-key": "value",
585
656
  },
586
- nsg_ids=redis_cluster_nsg_ids)
657
+ nsg_ids=redis_cluster_nsg_ids,
658
+ shard_count=redis_cluster_shard_count)
587
659
  ```
588
660
 
589
661
  ## Import
@@ -609,6 +681,7 @@ class RedisCluster(pulumi.CustomResource):
609
681
  def _internal_init(__self__,
610
682
  resource_name: str,
611
683
  opts: Optional[pulumi.ResourceOptions] = None,
684
+ cluster_mode: Optional[pulumi.Input[str]] = None,
612
685
  compartment_id: Optional[pulumi.Input[str]] = None,
613
686
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
614
687
  display_name: Optional[pulumi.Input[str]] = None,
@@ -616,6 +689,7 @@ class RedisCluster(pulumi.CustomResource):
616
689
  node_count: Optional[pulumi.Input[int]] = None,
617
690
  node_memory_in_gbs: Optional[pulumi.Input[float]] = None,
618
691
  nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
692
+ shard_count: Optional[pulumi.Input[int]] = None,
619
693
  software_version: Optional[pulumi.Input[str]] = None,
620
694
  subnet_id: Optional[pulumi.Input[str]] = None,
621
695
  __props__=None):
@@ -627,6 +701,7 @@ class RedisCluster(pulumi.CustomResource):
627
701
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
628
702
  __props__ = RedisClusterArgs.__new__(RedisClusterArgs)
629
703
 
704
+ __props__.__dict__["cluster_mode"] = cluster_mode
630
705
  if compartment_id is None and not opts.urn:
631
706
  raise TypeError("Missing required property 'compartment_id'")
632
707
  __props__.__dict__["compartment_id"] = compartment_id
@@ -642,6 +717,7 @@ class RedisCluster(pulumi.CustomResource):
642
717
  raise TypeError("Missing required property 'node_memory_in_gbs'")
643
718
  __props__.__dict__["node_memory_in_gbs"] = node_memory_in_gbs
644
719
  __props__.__dict__["nsg_ids"] = nsg_ids
720
+ __props__.__dict__["shard_count"] = shard_count
645
721
  if software_version is None and not opts.urn:
646
722
  raise TypeError("Missing required property 'software_version'")
647
723
  __props__.__dict__["software_version"] = software_version
@@ -668,6 +744,7 @@ class RedisCluster(pulumi.CustomResource):
668
744
  def get(resource_name: str,
669
745
  id: pulumi.Input[str],
670
746
  opts: Optional[pulumi.ResourceOptions] = None,
747
+ cluster_mode: Optional[pulumi.Input[str]] = None,
671
748
  compartment_id: Optional[pulumi.Input[str]] = None,
672
749
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
673
750
  display_name: Optional[pulumi.Input[str]] = None,
@@ -681,6 +758,7 @@ class RedisCluster(pulumi.CustomResource):
681
758
  primary_fqdn: Optional[pulumi.Input[str]] = None,
682
759
  replicas_endpoint_ip_address: Optional[pulumi.Input[str]] = None,
683
760
  replicas_fqdn: Optional[pulumi.Input[str]] = None,
761
+ shard_count: Optional[pulumi.Input[int]] = None,
684
762
  software_version: Optional[pulumi.Input[str]] = None,
685
763
  state: Optional[pulumi.Input[str]] = None,
686
764
  subnet_id: Optional[pulumi.Input[str]] = None,
@@ -694,34 +772,37 @@ class RedisCluster(pulumi.CustomResource):
694
772
  :param str resource_name: The unique name of the resulting resource.
695
773
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
696
774
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
775
+ :param pulumi.Input[str] cluster_mode: Specifies whether the cluster is sharded or non-sharded.
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.
698
777
  :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"}`
699
778
  :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.
700
779
  :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"}`
701
780
  :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.
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.
781
+ :param pulumi.Input[Sequence[pulumi.Input[Union['RedisClusterNodeCollectionArgs', 'RedisClusterNodeCollectionArgsDict']]]] node_collections: The collection of cluster nodes.
782
+ :param pulumi.Input[int] node_count: (Updatable) The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
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/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
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[int] shard_count: (Updatable) The number of shards in sharded cluster. Only applicable when clusterMode is SHARDED.
790
+ :param pulumi.Input[str] software_version: The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
791
+ :param pulumi.Input[str] state: The current state of the cluster.
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.
713
793
 
714
794
 
715
795
  ** IMPORTANT **
716
796
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
717
797
  :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"}`
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.
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.
720
800
  """
721
801
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
722
802
 
723
803
  __props__ = _RedisClusterState.__new__(_RedisClusterState)
724
804
 
805
+ __props__.__dict__["cluster_mode"] = cluster_mode
725
806
  __props__.__dict__["compartment_id"] = compartment_id
726
807
  __props__.__dict__["defined_tags"] = defined_tags
727
808
  __props__.__dict__["display_name"] = display_name
@@ -735,6 +816,7 @@ class RedisCluster(pulumi.CustomResource):
735
816
  __props__.__dict__["primary_fqdn"] = primary_fqdn
736
817
  __props__.__dict__["replicas_endpoint_ip_address"] = replicas_endpoint_ip_address
737
818
  __props__.__dict__["replicas_fqdn"] = replicas_fqdn
819
+ __props__.__dict__["shard_count"] = shard_count
738
820
  __props__.__dict__["software_version"] = software_version
739
821
  __props__.__dict__["state"] = state
740
822
  __props__.__dict__["subnet_id"] = subnet_id
@@ -743,11 +825,19 @@ class RedisCluster(pulumi.CustomResource):
743
825
  __props__.__dict__["time_updated"] = time_updated
744
826
  return RedisCluster(resource_name, opts=opts, __props__=__props__)
745
827
 
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
+
746
836
  @property
747
837
  @pulumi.getter(name="compartmentId")
748
838
  def compartment_id(self) -> pulumi.Output[str]:
749
839
  """
750
- (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
840
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
751
841
  """
752
842
  return pulumi.get(self, "compartment_id")
753
843
 
@@ -787,7 +877,7 @@ class RedisCluster(pulumi.CustomResource):
787
877
  @pulumi.getter(name="nodeCollections")
788
878
  def node_collections(self) -> pulumi.Output[Sequence['outputs.RedisClusterNodeCollection']]:
789
879
  """
790
- The collection of Redis cluster nodes.
880
+ The collection of cluster nodes.
791
881
  """
792
882
  return pulumi.get(self, "node_collections")
793
883
 
@@ -795,7 +885,7 @@ class RedisCluster(pulumi.CustomResource):
795
885
  @pulumi.getter(name="nodeCount")
796
886
  def node_count(self) -> pulumi.Output[int]:
797
887
  """
798
- (Updatable) The number of nodes in the Redis cluster.
888
+ (Updatable) The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
799
889
  """
800
890
  return pulumi.get(self, "node_count")
801
891
 
@@ -803,7 +893,7 @@ class RedisCluster(pulumi.CustomResource):
803
893
  @pulumi.getter(name="nodeMemoryInGbs")
804
894
  def node_memory_in_gbs(self) -> pulumi.Output[float]:
805
895
  """
806
- (Updatable) The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
896
+ (Updatable) The amount of memory allocated to the cluster's nodes, in gigabytes.
807
897
  """
808
898
  return pulumi.get(self, "node_memory_in_gbs")
809
899
 
@@ -811,7 +901,7 @@ class RedisCluster(pulumi.CustomResource):
811
901
  @pulumi.getter(name="nsgIds")
812
902
  def nsg_ids(self) -> pulumi.Output[Sequence[str]]:
813
903
  """
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).
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/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
815
905
  """
816
906
  return pulumi.get(self, "nsg_ids")
817
907
 
@@ -819,7 +909,7 @@ class RedisCluster(pulumi.CustomResource):
819
909
  @pulumi.getter(name="primaryEndpointIpAddress")
820
910
  def primary_endpoint_ip_address(self) -> pulumi.Output[str]:
821
911
  """
822
- The private IP address of the API endpoint for the Redis cluster's primary node.
912
+ The private IP address of the API endpoint for the cluster's primary node.
823
913
  """
824
914
  return pulumi.get(self, "primary_endpoint_ip_address")
825
915
 
@@ -827,7 +917,7 @@ class RedisCluster(pulumi.CustomResource):
827
917
  @pulumi.getter(name="primaryFqdn")
828
918
  def primary_fqdn(self) -> pulumi.Output[str]:
829
919
  """
830
- The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
920
+ The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
831
921
  """
832
922
  return pulumi.get(self, "primary_fqdn")
833
923
 
@@ -835,7 +925,7 @@ class RedisCluster(pulumi.CustomResource):
835
925
  @pulumi.getter(name="replicasEndpointIpAddress")
836
926
  def replicas_endpoint_ip_address(self) -> pulumi.Output[str]:
837
927
  """
838
- The private IP address of the API endpoint for the Redis cluster's replica nodes.
928
+ The private IP address of the API endpoint for the cluster's replica nodes.
839
929
  """
840
930
  return pulumi.get(self, "replicas_endpoint_ip_address")
841
931
 
@@ -843,15 +933,23 @@ class RedisCluster(pulumi.CustomResource):
843
933
  @pulumi.getter(name="replicasFqdn")
844
934
  def replicas_fqdn(self) -> pulumi.Output[str]:
845
935
  """
846
- The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
936
+ The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
847
937
  """
848
938
  return pulumi.get(self, "replicas_fqdn")
849
939
 
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
+
850
948
  @property
851
949
  @pulumi.getter(name="softwareVersion")
852
950
  def software_version(self) -> pulumi.Output[str]:
853
951
  """
854
- The Redis version that the cluster is running.
952
+ The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
855
953
  """
856
954
  return pulumi.get(self, "software_version")
857
955
 
@@ -859,7 +957,7 @@ class RedisCluster(pulumi.CustomResource):
859
957
  @pulumi.getter
860
958
  def state(self) -> pulumi.Output[str]:
861
959
  """
862
- The current state of the Redis cluster.
960
+ The current state of the cluster.
863
961
  """
864
962
  return pulumi.get(self, "state")
865
963
 
@@ -867,7 +965,7 @@ class RedisCluster(pulumi.CustomResource):
867
965
  @pulumi.getter(name="subnetId")
868
966
  def subnet_id(self) -> pulumi.Output[str]:
869
967
  """
870
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
968
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
871
969
 
872
970
 
873
971
  ** IMPORTANT **
@@ -887,7 +985,7 @@ class RedisCluster(pulumi.CustomResource):
887
985
  @pulumi.getter(name="timeCreated")
888
986
  def time_created(self) -> pulumi.Output[str]:
889
987
  """
890
- The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
988
+ The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
891
989
  """
892
990
  return pulumi.get(self, "time_created")
893
991
 
@@ -895,7 +993,7 @@ class RedisCluster(pulumi.CustomResource):
895
993
  @pulumi.getter(name="timeUpdated")
896
994
  def time_updated(self) -> pulumi.Output[str]:
897
995
  """
898
- The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
996
+ The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
899
997
  """
900
998
  return pulumi.get(self, "time_updated")
901
999