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
@@ -19,6 +19,7 @@ class ProtectionPolicyArgs:
19
19
  display_name: pulumi.Input[str],
20
20
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
21
21
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
22
+ must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
22
23
  policy_locked_date_time: Optional[pulumi.Input[str]] = None):
23
24
  """
24
25
  The set of arguments for constructing a ProtectionPolicy resource.
@@ -27,6 +28,7 @@ class ProtectionPolicyArgs:
27
28
  :param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
28
29
  :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"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
29
30
  :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"}`
31
+ :param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
30
32
  :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
31
33
  * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
32
34
  * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
@@ -46,6 +48,8 @@ class ProtectionPolicyArgs:
46
48
  pulumi.set(__self__, "defined_tags", defined_tags)
47
49
  if freeform_tags is not None:
48
50
  pulumi.set(__self__, "freeform_tags", freeform_tags)
51
+ if must_enforce_cloud_locality is not None:
52
+ pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality)
49
53
  if policy_locked_date_time is not None:
50
54
  pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
51
55
 
@@ -109,6 +113,18 @@ class ProtectionPolicyArgs:
109
113
  def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
110
114
  pulumi.set(self, "freeform_tags", value)
111
115
 
116
+ @property
117
+ @pulumi.getter(name="mustEnforceCloudLocality")
118
+ def must_enforce_cloud_locality(self) -> Optional[pulumi.Input[bool]]:
119
+ """
120
+ Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
121
+ """
122
+ return pulumi.get(self, "must_enforce_cloud_locality")
123
+
124
+ @must_enforce_cloud_locality.setter
125
+ def must_enforce_cloud_locality(self, value: Optional[pulumi.Input[bool]]):
126
+ pulumi.set(self, "must_enforce_cloud_locality", value)
127
+
112
128
  @property
113
129
  @pulumi.getter(name="policyLockedDateTime")
114
130
  def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]:
@@ -142,6 +158,7 @@ class _ProtectionPolicyState:
142
158
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
143
159
  is_predefined_policy: Optional[pulumi.Input[bool]] = None,
144
160
  lifecycle_details: Optional[pulumi.Input[str]] = None,
161
+ must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
145
162
  policy_locked_date_time: Optional[pulumi.Input[str]] = None,
146
163
  state: Optional[pulumi.Input[str]] = None,
147
164
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -156,6 +173,7 @@ class _ProtectionPolicyState:
156
173
  :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"}`
157
174
  :param pulumi.Input[bool] is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
158
175
  :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
176
+ :param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
159
177
  :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
160
178
  * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
161
179
  * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
@@ -186,6 +204,8 @@ class _ProtectionPolicyState:
186
204
  pulumi.set(__self__, "is_predefined_policy", is_predefined_policy)
187
205
  if lifecycle_details is not None:
188
206
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
207
+ if must_enforce_cloud_locality is not None:
208
+ pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality)
189
209
  if policy_locked_date_time is not None:
190
210
  pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
191
211
  if state is not None:
@@ -281,6 +301,18 @@ class _ProtectionPolicyState:
281
301
  def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
282
302
  pulumi.set(self, "lifecycle_details", value)
283
303
 
304
+ @property
305
+ @pulumi.getter(name="mustEnforceCloudLocality")
306
+ def must_enforce_cloud_locality(self) -> Optional[pulumi.Input[bool]]:
307
+ """
308
+ Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
309
+ """
310
+ return pulumi.get(self, "must_enforce_cloud_locality")
311
+
312
+ @must_enforce_cloud_locality.setter
313
+ def must_enforce_cloud_locality(self, value: Optional[pulumi.Input[bool]]):
314
+ pulumi.set(self, "must_enforce_cloud_locality", value)
315
+
284
316
  @property
285
317
  @pulumi.getter(name="policyLockedDateTime")
286
318
  def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]:
@@ -362,6 +394,7 @@ class ProtectionPolicy(pulumi.CustomResource):
362
394
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
363
395
  display_name: Optional[pulumi.Input[str]] = None,
364
396
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
397
+ must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
365
398
  policy_locked_date_time: Optional[pulumi.Input[str]] = None,
366
399
  __props__=None):
367
400
  """
@@ -385,6 +418,7 @@ class ProtectionPolicy(pulumi.CustomResource):
385
418
  freeform_tags={
386
419
  "bar-key": "value",
387
420
  },
421
+ must_enforce_cloud_locality=protection_policy_must_enforce_cloud_locality,
388
422
  policy_locked_date_time=protection_policy_policy_locked_date_time)
389
423
  ```
390
424
 
@@ -403,6 +437,7 @@ class ProtectionPolicy(pulumi.CustomResource):
403
437
  :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"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
404
438
  :param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
405
439
  :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"}`
440
+ :param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
406
441
  :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
407
442
  * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
408
443
  * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
@@ -442,6 +477,7 @@ class ProtectionPolicy(pulumi.CustomResource):
442
477
  freeform_tags={
443
478
  "bar-key": "value",
444
479
  },
480
+ must_enforce_cloud_locality=protection_policy_must_enforce_cloud_locality,
445
481
  policy_locked_date_time=protection_policy_policy_locked_date_time)
446
482
  ```
447
483
 
@@ -473,6 +509,7 @@ class ProtectionPolicy(pulumi.CustomResource):
473
509
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
474
510
  display_name: Optional[pulumi.Input[str]] = None,
475
511
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
512
+ must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
476
513
  policy_locked_date_time: Optional[pulumi.Input[str]] = None,
477
514
  __props__=None):
478
515
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -494,6 +531,7 @@ class ProtectionPolicy(pulumi.CustomResource):
494
531
  raise TypeError("Missing required property 'display_name'")
495
532
  __props__.__dict__["display_name"] = display_name
496
533
  __props__.__dict__["freeform_tags"] = freeform_tags
534
+ __props__.__dict__["must_enforce_cloud_locality"] = must_enforce_cloud_locality
497
535
  __props__.__dict__["policy_locked_date_time"] = policy_locked_date_time
498
536
  __props__.__dict__["is_predefined_policy"] = None
499
537
  __props__.__dict__["lifecycle_details"] = None
@@ -518,6 +556,7 @@ class ProtectionPolicy(pulumi.CustomResource):
518
556
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
519
557
  is_predefined_policy: Optional[pulumi.Input[bool]] = None,
520
558
  lifecycle_details: Optional[pulumi.Input[str]] = None,
559
+ must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
521
560
  policy_locked_date_time: Optional[pulumi.Input[str]] = None,
522
561
  state: Optional[pulumi.Input[str]] = None,
523
562
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -537,6 +576,7 @@ class ProtectionPolicy(pulumi.CustomResource):
537
576
  :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"}`
538
577
  :param pulumi.Input[bool] is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
539
578
  :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
579
+ :param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
540
580
  :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
541
581
  * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
542
582
  * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
@@ -564,6 +604,7 @@ class ProtectionPolicy(pulumi.CustomResource):
564
604
  __props__.__dict__["freeform_tags"] = freeform_tags
565
605
  __props__.__dict__["is_predefined_policy"] = is_predefined_policy
566
606
  __props__.__dict__["lifecycle_details"] = lifecycle_details
607
+ __props__.__dict__["must_enforce_cloud_locality"] = must_enforce_cloud_locality
567
608
  __props__.__dict__["policy_locked_date_time"] = policy_locked_date_time
568
609
  __props__.__dict__["state"] = state
569
610
  __props__.__dict__["system_tags"] = system_tags
@@ -627,6 +668,14 @@ class ProtectionPolicy(pulumi.CustomResource):
627
668
  """
628
669
  return pulumi.get(self, "lifecycle_details")
629
670
 
671
+ @property
672
+ @pulumi.getter(name="mustEnforceCloudLocality")
673
+ def must_enforce_cloud_locality(self) -> pulumi.Output[bool]:
674
+ """
675
+ Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
676
+ """
677
+ return pulumi.get(self, "must_enforce_cloud_locality")
678
+
630
679
  @property
631
680
  @pulumi.getter(name="policyLockedDateTime")
632
681
  def policy_locked_date_time(self) -> pulumi.Output[str]:
@@ -6,6 +6,7 @@ from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
8
  from .get_redis_cluster import *
9
+ from .get_redis_cluster_nodes import *
9
10
  from .get_redis_clusters import *
10
11
  from .redis_cluster import *
11
12
  from ._inputs import *
@@ -12,6 +12,7 @@ from .. import _utilities
12
12
  __all__ = [
13
13
  'RedisClusterNodeCollectionArgs',
14
14
  'RedisClusterNodeCollectionItemArgs',
15
+ 'GetRedisClusterNodesFilterArgs',
15
16
  'GetRedisClustersFilterArgs',
16
17
  ]
17
18
 
@@ -93,6 +94,45 @@ class RedisClusterNodeCollectionItemArgs:
93
94
  pulumi.set(self, "private_endpoint_ip_address", value)
94
95
 
95
96
 
97
+ @pulumi.input_type
98
+ class GetRedisClusterNodesFilterArgs:
99
+ def __init__(__self__, *,
100
+ name: str,
101
+ values: Sequence[str],
102
+ regex: Optional[bool] = None):
103
+ pulumi.set(__self__, "name", name)
104
+ pulumi.set(__self__, "values", values)
105
+ if regex is not None:
106
+ pulumi.set(__self__, "regex", regex)
107
+
108
+ @property
109
+ @pulumi.getter
110
+ def name(self) -> str:
111
+ return pulumi.get(self, "name")
112
+
113
+ @name.setter
114
+ def name(self, value: str):
115
+ pulumi.set(self, "name", value)
116
+
117
+ @property
118
+ @pulumi.getter
119
+ def values(self) -> Sequence[str]:
120
+ return pulumi.get(self, "values")
121
+
122
+ @values.setter
123
+ def values(self, value: Sequence[str]):
124
+ pulumi.set(self, "values", value)
125
+
126
+ @property
127
+ @pulumi.getter
128
+ def regex(self) -> Optional[bool]:
129
+ return pulumi.get(self, "regex")
130
+
131
+ @regex.setter
132
+ def regex(self, value: Optional[bool]):
133
+ pulumi.set(self, "regex", value)
134
+
135
+
96
136
  @pulumi.input_type
97
137
  class GetRedisClustersFilterArgs:
98
138
  def __init__(__self__, *,
@@ -22,7 +22,10 @@ class GetRedisClusterResult:
22
22
  """
23
23
  A collection of values returned by getRedisCluster.
24
24
  """
25
- def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, node_collections=None, node_count=None, node_memory_in_gbs=None, nsg_ids=None, primary_endpoint_ip_address=None, primary_fqdn=None, redis_cluster_id=None, replicas_endpoint_ip_address=None, replicas_fqdn=None, software_version=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None):
25
+ def __init__(__self__, cluster_mode=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, node_collections=None, node_count=None, node_memory_in_gbs=None, nsg_ids=None, primary_endpoint_ip_address=None, primary_fqdn=None, redis_cluster_id=None, replicas_endpoint_ip_address=None, replicas_fqdn=None, shard_count=None, software_version=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None):
26
+ if cluster_mode and not isinstance(cluster_mode, str):
27
+ raise TypeError("Expected argument 'cluster_mode' to be a str")
28
+ pulumi.set(__self__, "cluster_mode", cluster_mode)
26
29
  if compartment_id and not isinstance(compartment_id, str):
27
30
  raise TypeError("Expected argument 'compartment_id' to be a str")
28
31
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -68,6 +71,9 @@ class GetRedisClusterResult:
68
71
  if replicas_fqdn and not isinstance(replicas_fqdn, str):
69
72
  raise TypeError("Expected argument 'replicas_fqdn' to be a str")
70
73
  pulumi.set(__self__, "replicas_fqdn", replicas_fqdn)
74
+ if shard_count and not isinstance(shard_count, int):
75
+ raise TypeError("Expected argument 'shard_count' to be a int")
76
+ pulumi.set(__self__, "shard_count", shard_count)
71
77
  if software_version and not isinstance(software_version, str):
72
78
  raise TypeError("Expected argument 'software_version' to be a str")
73
79
  pulumi.set(__self__, "software_version", software_version)
@@ -87,11 +93,19 @@ class GetRedisClusterResult:
87
93
  raise TypeError("Expected argument 'time_updated' to be a str")
88
94
  pulumi.set(__self__, "time_updated", time_updated)
89
95
 
96
+ @property
97
+ @pulumi.getter(name="clusterMode")
98
+ def cluster_mode(self) -> str:
99
+ """
100
+ Specifies whether the cluster is sharded or non-sharded.
101
+ """
102
+ return pulumi.get(self, "cluster_mode")
103
+
90
104
  @property
91
105
  @pulumi.getter(name="compartmentId")
92
106
  def compartment_id(self) -> str:
93
107
  """
94
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the Redis cluster.
108
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster.
95
109
  """
96
110
  return pulumi.get(self, "compartment_id")
97
111
 
@@ -107,7 +121,7 @@ class GetRedisClusterResult:
107
121
  @pulumi.getter(name="displayName")
108
122
  def display_name(self) -> str:
109
123
  """
110
- A user-friendly name of a Redis cluster node.
124
+ A user-friendly name of a cluster node.
111
125
  """
112
126
  return pulumi.get(self, "display_name")
113
127
 
@@ -123,7 +137,7 @@ class GetRedisClusterResult:
123
137
  @pulumi.getter
124
138
  def id(self) -> str:
125
139
  """
126
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster.
140
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
127
141
  """
128
142
  return pulumi.get(self, "id")
129
143
 
@@ -139,7 +153,7 @@ class GetRedisClusterResult:
139
153
  @pulumi.getter(name="nodeCollections")
140
154
  def node_collections(self) -> Sequence['outputs.GetRedisClusterNodeCollectionResult']:
141
155
  """
142
- The collection of Redis cluster nodes.
156
+ The collection of cluster nodes.
143
157
  """
144
158
  return pulumi.get(self, "node_collections")
145
159
 
@@ -147,7 +161,7 @@ class GetRedisClusterResult:
147
161
  @pulumi.getter(name="nodeCount")
148
162
  def node_count(self) -> int:
149
163
  """
150
- The number of nodes in the Redis cluster.
164
+ The number of nodes per shard in the cluster when clusterMode is SHARDED. This is the total number of nodes when clusterMode is NONSHARDED.
151
165
  """
152
166
  return pulumi.get(self, "node_count")
153
167
 
@@ -155,7 +169,7 @@ class GetRedisClusterResult:
155
169
  @pulumi.getter(name="nodeMemoryInGbs")
156
170
  def node_memory_in_gbs(self) -> float:
157
171
  """
158
- The amount of memory allocated to the Redis cluster's nodes, in gigabytes.
172
+ The amount of memory allocated to the cluster's nodes, in gigabytes.
159
173
  """
160
174
  return pulumi.get(self, "node_memory_in_gbs")
161
175
 
@@ -163,7 +177,7 @@ class GetRedisClusterResult:
163
177
  @pulumi.getter(name="nsgIds")
164
178
  def nsg_ids(self) -> Sequence[str]:
165
179
  """
166
- A list of Network Security Group (NSG) [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this cluster. For more information, see [Using an NSG for Redis Clusters](https://docs.cloud.oracle.com/iaas/Content/redis/connecttorediscluster.htm#connecttorediscluster__networksecuritygroup).
180
+ A list of Network Security Group (NSG) [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this cluster. For more information, see [Using an NSG for Clusters](https://docs.cloud.oracle.com/iaas/Content/ocicache/connecttocluster.htm#connecttocluster__networksecuritygroup).
167
181
  """
168
182
  return pulumi.get(self, "nsg_ids")
169
183
 
@@ -171,7 +185,7 @@ class GetRedisClusterResult:
171
185
  @pulumi.getter(name="primaryEndpointIpAddress")
172
186
  def primary_endpoint_ip_address(self) -> str:
173
187
  """
174
- The private IP address of the API endpoint for the Redis cluster's primary node.
188
+ The private IP address of the API endpoint for the cluster's primary node.
175
189
  """
176
190
  return pulumi.get(self, "primary_endpoint_ip_address")
177
191
 
@@ -179,7 +193,7 @@ class GetRedisClusterResult:
179
193
  @pulumi.getter(name="primaryFqdn")
180
194
  def primary_fqdn(self) -> str:
181
195
  """
182
- The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's primary node.
196
+ The fully qualified domain name (FQDN) of the API endpoint for the cluster's primary node.
183
197
  """
184
198
  return pulumi.get(self, "primary_fqdn")
185
199
 
@@ -192,7 +206,7 @@ class GetRedisClusterResult:
192
206
  @pulumi.getter(name="replicasEndpointIpAddress")
193
207
  def replicas_endpoint_ip_address(self) -> str:
194
208
  """
195
- The private IP address of the API endpoint for the Redis cluster's replica nodes.
209
+ The private IP address of the API endpoint for the cluster's replica nodes.
196
210
  """
197
211
  return pulumi.get(self, "replicas_endpoint_ip_address")
198
212
 
@@ -200,15 +214,23 @@ class GetRedisClusterResult:
200
214
  @pulumi.getter(name="replicasFqdn")
201
215
  def replicas_fqdn(self) -> str:
202
216
  """
203
- The fully qualified domain name (FQDN) of the API endpoint for the Redis cluster's replica nodes.
217
+ The fully qualified domain name (FQDN) of the API endpoint for the cluster's replica nodes.
204
218
  """
205
219
  return pulumi.get(self, "replicas_fqdn")
206
220
 
221
+ @property
222
+ @pulumi.getter(name="shardCount")
223
+ def shard_count(self) -> int:
224
+ """
225
+ The number of shards in a sharded cluster. Only applicable when clusterMode is SHARDED.
226
+ """
227
+ return pulumi.get(self, "shard_count")
228
+
207
229
  @property
208
230
  @pulumi.getter(name="softwareVersion")
209
231
  def software_version(self) -> str:
210
232
  """
211
- The Redis version that the cluster is running.
233
+ The Oracle Cloud Infrastructure Cache engine version that the cluster is running.
212
234
  """
213
235
  return pulumi.get(self, "software_version")
214
236
 
@@ -216,7 +238,7 @@ class GetRedisClusterResult:
216
238
  @pulumi.getter
217
239
  def state(self) -> str:
218
240
  """
219
- The current state of the Redis cluster.
241
+ The current state of the cluster.
220
242
  """
221
243
  return pulumi.get(self, "state")
222
244
 
@@ -224,7 +246,7 @@ class GetRedisClusterResult:
224
246
  @pulumi.getter(name="subnetId")
225
247
  def subnet_id(self) -> str:
226
248
  """
227
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster's subnet.
249
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster's subnet.
228
250
  """
229
251
  return pulumi.get(self, "subnet_id")
230
252
 
@@ -240,7 +262,7 @@ class GetRedisClusterResult:
240
262
  @pulumi.getter(name="timeCreated")
241
263
  def time_created(self) -> str:
242
264
  """
243
- The date and time the Redis cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
265
+ The date and time the cluster was created. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
244
266
  """
245
267
  return pulumi.get(self, "time_created")
246
268
 
@@ -248,7 +270,7 @@ class GetRedisClusterResult:
248
270
  @pulumi.getter(name="timeUpdated")
249
271
  def time_updated(self) -> str:
250
272
  """
251
- The date and time the Redis cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
273
+ The date and time the cluster was updated. An [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted datetime string.
252
274
  """
253
275
  return pulumi.get(self, "time_updated")
254
276
 
@@ -259,6 +281,7 @@ class AwaitableGetRedisClusterResult(GetRedisClusterResult):
259
281
  if False:
260
282
  yield self
261
283
  return GetRedisClusterResult(
284
+ cluster_mode=self.cluster_mode,
262
285
  compartment_id=self.compartment_id,
263
286
  defined_tags=self.defined_tags,
264
287
  display_name=self.display_name,
@@ -274,6 +297,7 @@ class AwaitableGetRedisClusterResult(GetRedisClusterResult):
274
297
  redis_cluster_id=self.redis_cluster_id,
275
298
  replicas_endpoint_ip_address=self.replicas_endpoint_ip_address,
276
299
  replicas_fqdn=self.replicas_fqdn,
300
+ shard_count=self.shard_count,
277
301
  software_version=self.software_version,
278
302
  state=self.state,
279
303
  subnet_id=self.subnet_id,
@@ -287,7 +311,7 @@ def get_redis_cluster(redis_cluster_id: Optional[str] = None,
287
311
  """
288
312
  This data source provides details about a specific Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
289
313
 
290
- Retrieves the specified 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).
314
+ Retrieves the specified Oracle Cloud Infrastructure Cache cluster. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
291
315
 
292
316
  ## Example Usage
293
317
 
@@ -299,7 +323,7 @@ def get_redis_cluster(redis_cluster_id: Optional[str] = None,
299
323
  ```
300
324
 
301
325
 
302
- :param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster.
326
+ :param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
303
327
  """
304
328
  __args__ = dict()
305
329
  __args__['redisClusterId'] = redis_cluster_id
@@ -307,6 +331,7 @@ def get_redis_cluster(redis_cluster_id: Optional[str] = None,
307
331
  __ret__ = pulumi.runtime.invoke('oci:Redis/getRedisCluster:getRedisCluster', __args__, opts=opts, typ=GetRedisClusterResult).value
308
332
 
309
333
  return AwaitableGetRedisClusterResult(
334
+ cluster_mode=pulumi.get(__ret__, 'cluster_mode'),
310
335
  compartment_id=pulumi.get(__ret__, 'compartment_id'),
311
336
  defined_tags=pulumi.get(__ret__, 'defined_tags'),
312
337
  display_name=pulumi.get(__ret__, 'display_name'),
@@ -322,6 +347,7 @@ def get_redis_cluster(redis_cluster_id: Optional[str] = None,
322
347
  redis_cluster_id=pulumi.get(__ret__, 'redis_cluster_id'),
323
348
  replicas_endpoint_ip_address=pulumi.get(__ret__, 'replicas_endpoint_ip_address'),
324
349
  replicas_fqdn=pulumi.get(__ret__, 'replicas_fqdn'),
350
+ shard_count=pulumi.get(__ret__, 'shard_count'),
325
351
  software_version=pulumi.get(__ret__, 'software_version'),
326
352
  state=pulumi.get(__ret__, 'state'),
327
353
  subnet_id=pulumi.get(__ret__, 'subnet_id'),
@@ -336,7 +362,7 @@ def get_redis_cluster_output(redis_cluster_id: Optional[pulumi.Input[str]] = Non
336
362
  """
337
363
  This data source provides details about a specific Redis Cluster resource in Oracle Cloud Infrastructure Redis service.
338
364
 
339
- Retrieves the specified 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).
365
+ Retrieves the specified Oracle Cloud Infrastructure Cache cluster. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm).
340
366
 
341
367
  ## Example Usage
342
368
 
@@ -348,6 +374,6 @@ def get_redis_cluster_output(redis_cluster_id: Optional[pulumi.Input[str]] = Non
348
374
  ```
349
375
 
350
376
 
351
- :param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the Redis cluster.
377
+ :param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
352
378
  """
353
379
  ...
@@ -0,0 +1,156 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = [
15
+ 'GetRedisClusterNodesResult',
16
+ 'AwaitableGetRedisClusterNodesResult',
17
+ 'get_redis_cluster_nodes',
18
+ 'get_redis_cluster_nodes_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetRedisClusterNodesResult:
23
+ """
24
+ A collection of values returned by getRedisClusterNodes.
25
+ """
26
+ def __init__(__self__, display_name=None, filters=None, id=None, redis_cluster_id=None, redis_node_collections=None):
27
+ if display_name and not isinstance(display_name, str):
28
+ raise TypeError("Expected argument 'display_name' to be a str")
29
+ pulumi.set(__self__, "display_name", display_name)
30
+ if filters and not isinstance(filters, list):
31
+ raise TypeError("Expected argument 'filters' to be a list")
32
+ pulumi.set(__self__, "filters", filters)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if redis_cluster_id and not isinstance(redis_cluster_id, str):
37
+ raise TypeError("Expected argument 'redis_cluster_id' to be a str")
38
+ pulumi.set(__self__, "redis_cluster_id", redis_cluster_id)
39
+ if redis_node_collections and not isinstance(redis_node_collections, list):
40
+ raise TypeError("Expected argument 'redis_node_collections' to be a list")
41
+ pulumi.set(__self__, "redis_node_collections", redis_node_collections)
42
+
43
+ @property
44
+ @pulumi.getter(name="displayName")
45
+ def display_name(self) -> Optional[str]:
46
+ """
47
+ A user-friendly name of a cluster node.
48
+ """
49
+ return pulumi.get(self, "display_name")
50
+
51
+ @property
52
+ @pulumi.getter
53
+ def filters(self) -> Optional[Sequence['outputs.GetRedisClusterNodesFilterResult']]:
54
+ return pulumi.get(self, "filters")
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def id(self) -> str:
59
+ """
60
+ The provider-assigned unique ID for this managed resource.
61
+ """
62
+ return pulumi.get(self, "id")
63
+
64
+ @property
65
+ @pulumi.getter(name="redisClusterId")
66
+ def redis_cluster_id(self) -> str:
67
+ """
68
+ The OCID of the cluster
69
+ """
70
+ return pulumi.get(self, "redis_cluster_id")
71
+
72
+ @property
73
+ @pulumi.getter(name="redisNodeCollections")
74
+ def redis_node_collections(self) -> Sequence['outputs.GetRedisClusterNodesRedisNodeCollectionResult']:
75
+ """
76
+ The list of redis_node_collection.
77
+ """
78
+ return pulumi.get(self, "redis_node_collections")
79
+
80
+
81
+ class AwaitableGetRedisClusterNodesResult(GetRedisClusterNodesResult):
82
+ # pylint: disable=using-constant-test
83
+ def __await__(self):
84
+ if False:
85
+ yield self
86
+ return GetRedisClusterNodesResult(
87
+ display_name=self.display_name,
88
+ filters=self.filters,
89
+ id=self.id,
90
+ redis_cluster_id=self.redis_cluster_id,
91
+ redis_node_collections=self.redis_node_collections)
92
+
93
+
94
+ def get_redis_cluster_nodes(display_name: Optional[str] = None,
95
+ filters: Optional[Sequence[Union['GetRedisClusterNodesFilterArgs', 'GetRedisClusterNodesFilterArgsDict']]] = None,
96
+ redis_cluster_id: Optional[str] = None,
97
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisClusterNodesResult:
98
+ """
99
+ This data source provides the list of Redis Cluster Nodes in Oracle Cloud Infrastructure Redis service.
100
+
101
+ Gets the list of all nodes in a cluster.
102
+
103
+ ## Example Usage
104
+
105
+ ```python
106
+ import pulumi
107
+ import pulumi_oci as oci
108
+
109
+ test_redis_cluster_nodes = oci.Redis.get_redis_cluster_nodes(redis_cluster_id=test_redis_cluster["id"],
110
+ display_name=redis_cluster_node_display_name)
111
+ ```
112
+
113
+
114
+ :param str display_name: A filter to return only resources that match the entire display name given.
115
+ :param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
116
+ """
117
+ __args__ = dict()
118
+ __args__['displayName'] = display_name
119
+ __args__['filters'] = filters
120
+ __args__['redisClusterId'] = redis_cluster_id
121
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
122
+ __ret__ = pulumi.runtime.invoke('oci:Redis/getRedisClusterNodes:getRedisClusterNodes', __args__, opts=opts, typ=GetRedisClusterNodesResult).value
123
+
124
+ return AwaitableGetRedisClusterNodesResult(
125
+ display_name=pulumi.get(__ret__, 'display_name'),
126
+ filters=pulumi.get(__ret__, 'filters'),
127
+ id=pulumi.get(__ret__, 'id'),
128
+ redis_cluster_id=pulumi.get(__ret__, 'redis_cluster_id'),
129
+ redis_node_collections=pulumi.get(__ret__, 'redis_node_collections'))
130
+
131
+
132
+ @_utilities.lift_output_func(get_redis_cluster_nodes)
133
+ def get_redis_cluster_nodes_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
134
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetRedisClusterNodesFilterArgs', 'GetRedisClusterNodesFilterArgsDict']]]]] = None,
135
+ redis_cluster_id: Optional[pulumi.Input[str]] = None,
136
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisClusterNodesResult]:
137
+ """
138
+ This data source provides the list of Redis Cluster Nodes in Oracle Cloud Infrastructure Redis service.
139
+
140
+ Gets the list of all nodes in a cluster.
141
+
142
+ ## Example Usage
143
+
144
+ ```python
145
+ import pulumi
146
+ import pulumi_oci as oci
147
+
148
+ test_redis_cluster_nodes = oci.Redis.get_redis_cluster_nodes(redis_cluster_id=test_redis_cluster["id"],
149
+ display_name=redis_cluster_node_display_name)
150
+ ```
151
+
152
+
153
+ :param str display_name: A filter to return only resources that match the entire display name given.
154
+ :param str redis_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster.
155
+ """
156
+ ...