pulumi-oci 2.13.0a1729198151__py3-none-any.whl → 2.13.0a1729613556__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 (65) hide show
  1. pulumi_oci/__init__.py +24 -19
  2. pulumi_oci/containerengine/_inputs.py +341 -0
  3. pulumi_oci/containerengine/cluster.py +64 -0
  4. pulumi_oci/containerengine/get_cluster.py +12 -1
  5. pulumi_oci/containerengine/outputs.py +582 -0
  6. pulumi_oci/core/_inputs.py +299 -37
  7. pulumi_oci/core/boot_volume.py +90 -5
  8. pulumi_oci/core/get_block_volume_replica.py +15 -1
  9. pulumi_oci/core/get_boot_volume.py +15 -4
  10. pulumi_oci/core/get_boot_volume_replica.py +15 -1
  11. pulumi_oci/core/get_volume.py +18 -4
  12. pulumi_oci/core/instance_configuration.py +4 -0
  13. pulumi_oci/core/outputs.py +573 -46
  14. pulumi_oci/core/volume.py +110 -12
  15. pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
  16. pulumi_oci/core/volume_group.py +56 -5
  17. pulumi_oci/datasafe/__init__.py +1 -0
  18. pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -0
  19. pulumi_oci/desktops/_inputs.py +175 -13
  20. pulumi_oci/desktops/desktop_pool.py +67 -0
  21. pulumi_oci/desktops/get_desktop_pool.py +16 -1
  22. pulumi_oci/desktops/outputs.py +339 -18
  23. pulumi_oci/dns/__init__.py +2 -0
  24. pulumi_oci/dns/_inputs.py +1157 -12
  25. pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
  26. pulumi_oci/dns/get_records.py +45 -13
  27. pulumi_oci/dns/get_resolver.py +8 -6
  28. pulumi_oci/dns/get_resolver_endpoint.py +8 -6
  29. pulumi_oci/dns/get_resolver_endpoints.py +2 -2
  30. pulumi_oci/dns/get_resolvers.py +12 -12
  31. pulumi_oci/dns/get_rrset.py +16 -16
  32. pulumi_oci/dns/get_rrsets.py +12 -10
  33. pulumi_oci/dns/get_view.py +8 -4
  34. pulumi_oci/dns/get_views.py +12 -12
  35. pulumi_oci/dns/get_zones.py +33 -13
  36. pulumi_oci/dns/outputs.py +1388 -79
  37. pulumi_oci/dns/record.py +12 -12
  38. pulumi_oci/dns/resolver.py +7 -7
  39. pulumi_oci/dns/resolver_endpoint.py +2 -2
  40. pulumi_oci/dns/rrset.py +50 -41
  41. pulumi_oci/dns/zone.py +176 -17
  42. pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
  43. pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
  44. pulumi_oci/goldengate/__init__.py +1 -0
  45. pulumi_oci/goldengate/_inputs.py +165 -0
  46. pulumi_oci/goldengate/connection.py +49 -35
  47. pulumi_oci/goldengate/database_registration.py +7 -7
  48. pulumi_oci/goldengate/deployment.py +79 -4
  49. pulumi_oci/goldengate/get_deployment.py +30 -2
  50. pulumi_oci/goldengate/get_deployment_environments.py +144 -0
  51. pulumi_oci/goldengate/outputs.py +409 -2
  52. pulumi_oci/pulumi-plugin.json +1 -1
  53. {pulumi_oci-2.13.0a1729198151.dist-info → pulumi_oci-2.13.0a1729613556.dist-info}/METADATA +1 -1
  54. {pulumi_oci-2.13.0a1729198151.dist-info → pulumi_oci-2.13.0a1729613556.dist-info}/RECORD +56 -61
  55. pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
  56. pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
  57. pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
  58. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
  59. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
  60. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
  61. pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
  62. pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
  63. pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
  64. {pulumi_oci-2.13.0a1729198151.dist-info → pulumi_oci-2.13.0a1729613556.dist-info}/WHEEL +0 -0
  65. {pulumi_oci-2.13.0a1729198151.dist-info → pulumi_oci-2.13.0a1729613556.dist-info}/top_level.txt +0 -0
@@ -1,1821 +0,0 @@
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 sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from .. import _utilities
16
- from . import outputs
17
- from ._inputs import *
18
-
19
- __all__ = ['ShardedDatabaseArgs', 'ShardedDatabase']
20
-
21
- @pulumi.input_type
22
- class ShardedDatabaseArgs:
23
- def __init__(__self__, *,
24
- catalog_details: pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]],
25
- character_set: pulumi.Input[str],
26
- compartment_id: pulumi.Input[str],
27
- db_deployment_type: pulumi.Input[str],
28
- db_version: pulumi.Input[str],
29
- db_workload: pulumi.Input[str],
30
- display_name: pulumi.Input[str],
31
- listener_port: pulumi.Input[int],
32
- listener_port_tls: pulumi.Input[int],
33
- ncharacter_set: pulumi.Input[str],
34
- ons_port_local: pulumi.Input[int],
35
- ons_port_remote: pulumi.Input[int],
36
- prefix: pulumi.Input[str],
37
- shard_details: pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]],
38
- sharding_method: pulumi.Input[str],
39
- chunks: Optional[pulumi.Input[int]] = None,
40
- cluster_certificate_common_name: Optional[pulumi.Input[str]] = None,
41
- configure_sharding_trigger: Optional[pulumi.Input[int]] = None,
42
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
43
- download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
44
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
45
- generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
46
- get_connection_string_trigger: Optional[pulumi.Input[int]] = None,
47
- patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]] = None,
48
- start_database_trigger: Optional[pulumi.Input[int]] = None,
49
- stop_database_trigger: Optional[pulumi.Input[int]] = None,
50
- validate_network_trigger: Optional[pulumi.Input[int]] = None):
51
- """
52
- The set of arguments for constructing a ShardedDatabase resource.
53
- :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]] catalog_details: Collection of ATP-Dedicated catalogs that needs to be created.
54
- :param pulumi.Input[str] character_set: The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
55
- :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where sharded database is to be created.
56
- :param pulumi.Input[str] db_deployment_type: The database deployment type.
57
- :param pulumi.Input[str] db_version: Oracle Database version of the Autonomous Container Database.
58
- :param pulumi.Input[str] db_workload: Possible workload types.
59
- :param pulumi.Input[str] display_name: (Updatable) Oracle sharded database display name.
60
- :param pulumi.Input[int] listener_port: The listener port number for sharded database.
61
- :param pulumi.Input[int] listener_port_tls: The TLS listener port number for sharded database.
62
- :param pulumi.Input[str] ncharacter_set: The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
63
- :param pulumi.Input[int] ons_port_local: Ons port local for sharded database.
64
- :param pulumi.Input[int] ons_port_remote: Ons remote port for sharded database.
65
- :param pulumi.Input[str] prefix: Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
66
- :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]] shard_details: Collection of ATP-Dedicated shards that needs to be created.
67
- :param pulumi.Input[str] sharding_method: Sharding Method.
68
- :param pulumi.Input[int] chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
69
- :param pulumi.Input[str] cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.
70
- :param pulumi.Input[int] configure_sharding_trigger: (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.
71
- :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"}`
72
- :param pulumi.Input[int] download_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.
73
- :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"}`
74
- :param pulumi.Input[int] generate_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.
75
- :param pulumi.Input[int] get_connection_string_trigger: (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.
76
- :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]] patch_operations: (Updatable)
77
- :param pulumi.Input[int] start_database_trigger: (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.
78
- :param pulumi.Input[int] stop_database_trigger: (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.
79
- :param pulumi.Input[int] validate_network_trigger: (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer value.
80
-
81
-
82
- ** IMPORTANT **
83
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
84
- """
85
- pulumi.set(__self__, "catalog_details", catalog_details)
86
- pulumi.set(__self__, "character_set", character_set)
87
- pulumi.set(__self__, "compartment_id", compartment_id)
88
- pulumi.set(__self__, "db_deployment_type", db_deployment_type)
89
- pulumi.set(__self__, "db_version", db_version)
90
- pulumi.set(__self__, "db_workload", db_workload)
91
- pulumi.set(__self__, "display_name", display_name)
92
- pulumi.set(__self__, "listener_port", listener_port)
93
- pulumi.set(__self__, "listener_port_tls", listener_port_tls)
94
- pulumi.set(__self__, "ncharacter_set", ncharacter_set)
95
- pulumi.set(__self__, "ons_port_local", ons_port_local)
96
- pulumi.set(__self__, "ons_port_remote", ons_port_remote)
97
- pulumi.set(__self__, "prefix", prefix)
98
- pulumi.set(__self__, "shard_details", shard_details)
99
- pulumi.set(__self__, "sharding_method", sharding_method)
100
- if chunks is not None:
101
- pulumi.set(__self__, "chunks", chunks)
102
- if cluster_certificate_common_name is not None:
103
- pulumi.set(__self__, "cluster_certificate_common_name", cluster_certificate_common_name)
104
- if configure_sharding_trigger is not None:
105
- pulumi.set(__self__, "configure_sharding_trigger", configure_sharding_trigger)
106
- if defined_tags is not None:
107
- pulumi.set(__self__, "defined_tags", defined_tags)
108
- if download_gsm_certificate_signing_request_trigger is not None:
109
- pulumi.set(__self__, "download_gsm_certificate_signing_request_trigger", download_gsm_certificate_signing_request_trigger)
110
- if freeform_tags is not None:
111
- pulumi.set(__self__, "freeform_tags", freeform_tags)
112
- if generate_gsm_certificate_signing_request_trigger is not None:
113
- pulumi.set(__self__, "generate_gsm_certificate_signing_request_trigger", generate_gsm_certificate_signing_request_trigger)
114
- if get_connection_string_trigger is not None:
115
- pulumi.set(__self__, "get_connection_string_trigger", get_connection_string_trigger)
116
- if patch_operations is not None:
117
- pulumi.set(__self__, "patch_operations", patch_operations)
118
- if start_database_trigger is not None:
119
- pulumi.set(__self__, "start_database_trigger", start_database_trigger)
120
- if stop_database_trigger is not None:
121
- pulumi.set(__self__, "stop_database_trigger", stop_database_trigger)
122
- if validate_network_trigger is not None:
123
- pulumi.set(__self__, "validate_network_trigger", validate_network_trigger)
124
-
125
- @property
126
- @pulumi.getter(name="catalogDetails")
127
- def catalog_details(self) -> pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]:
128
- """
129
- Collection of ATP-Dedicated catalogs that needs to be created.
130
- """
131
- return pulumi.get(self, "catalog_details")
132
-
133
- @catalog_details.setter
134
- def catalog_details(self, value: pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]):
135
- pulumi.set(self, "catalog_details", value)
136
-
137
- @property
138
- @pulumi.getter(name="characterSet")
139
- def character_set(self) -> pulumi.Input[str]:
140
- """
141
- The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
142
- """
143
- return pulumi.get(self, "character_set")
144
-
145
- @character_set.setter
146
- def character_set(self, value: pulumi.Input[str]):
147
- pulumi.set(self, "character_set", value)
148
-
149
- @property
150
- @pulumi.getter(name="compartmentId")
151
- def compartment_id(self) -> pulumi.Input[str]:
152
- """
153
- (Updatable) Identifier of the compartment where sharded database is to be created.
154
- """
155
- return pulumi.get(self, "compartment_id")
156
-
157
- @compartment_id.setter
158
- def compartment_id(self, value: pulumi.Input[str]):
159
- pulumi.set(self, "compartment_id", value)
160
-
161
- @property
162
- @pulumi.getter(name="dbDeploymentType")
163
- def db_deployment_type(self) -> pulumi.Input[str]:
164
- """
165
- The database deployment type.
166
- """
167
- return pulumi.get(self, "db_deployment_type")
168
-
169
- @db_deployment_type.setter
170
- def db_deployment_type(self, value: pulumi.Input[str]):
171
- pulumi.set(self, "db_deployment_type", value)
172
-
173
- @property
174
- @pulumi.getter(name="dbVersion")
175
- def db_version(self) -> pulumi.Input[str]:
176
- """
177
- Oracle Database version of the Autonomous Container Database.
178
- """
179
- return pulumi.get(self, "db_version")
180
-
181
- @db_version.setter
182
- def db_version(self, value: pulumi.Input[str]):
183
- pulumi.set(self, "db_version", value)
184
-
185
- @property
186
- @pulumi.getter(name="dbWorkload")
187
- def db_workload(self) -> pulumi.Input[str]:
188
- """
189
- Possible workload types.
190
- """
191
- return pulumi.get(self, "db_workload")
192
-
193
- @db_workload.setter
194
- def db_workload(self, value: pulumi.Input[str]):
195
- pulumi.set(self, "db_workload", value)
196
-
197
- @property
198
- @pulumi.getter(name="displayName")
199
- def display_name(self) -> pulumi.Input[str]:
200
- """
201
- (Updatable) Oracle sharded database display name.
202
- """
203
- return pulumi.get(self, "display_name")
204
-
205
- @display_name.setter
206
- def display_name(self, value: pulumi.Input[str]):
207
- pulumi.set(self, "display_name", value)
208
-
209
- @property
210
- @pulumi.getter(name="listenerPort")
211
- def listener_port(self) -> pulumi.Input[int]:
212
- """
213
- The listener port number for sharded database.
214
- """
215
- return pulumi.get(self, "listener_port")
216
-
217
- @listener_port.setter
218
- def listener_port(self, value: pulumi.Input[int]):
219
- pulumi.set(self, "listener_port", value)
220
-
221
- @property
222
- @pulumi.getter(name="listenerPortTls")
223
- def listener_port_tls(self) -> pulumi.Input[int]:
224
- """
225
- The TLS listener port number for sharded database.
226
- """
227
- return pulumi.get(self, "listener_port_tls")
228
-
229
- @listener_port_tls.setter
230
- def listener_port_tls(self, value: pulumi.Input[int]):
231
- pulumi.set(self, "listener_port_tls", value)
232
-
233
- @property
234
- @pulumi.getter(name="ncharacterSet")
235
- def ncharacter_set(self) -> pulumi.Input[str]:
236
- """
237
- The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
238
- """
239
- return pulumi.get(self, "ncharacter_set")
240
-
241
- @ncharacter_set.setter
242
- def ncharacter_set(self, value: pulumi.Input[str]):
243
- pulumi.set(self, "ncharacter_set", value)
244
-
245
- @property
246
- @pulumi.getter(name="onsPortLocal")
247
- def ons_port_local(self) -> pulumi.Input[int]:
248
- """
249
- Ons port local for sharded database.
250
- """
251
- return pulumi.get(self, "ons_port_local")
252
-
253
- @ons_port_local.setter
254
- def ons_port_local(self, value: pulumi.Input[int]):
255
- pulumi.set(self, "ons_port_local", value)
256
-
257
- @property
258
- @pulumi.getter(name="onsPortRemote")
259
- def ons_port_remote(self) -> pulumi.Input[int]:
260
- """
261
- Ons remote port for sharded database.
262
- """
263
- return pulumi.get(self, "ons_port_remote")
264
-
265
- @ons_port_remote.setter
266
- def ons_port_remote(self, value: pulumi.Input[int]):
267
- pulumi.set(self, "ons_port_remote", value)
268
-
269
- @property
270
- @pulumi.getter
271
- def prefix(self) -> pulumi.Input[str]:
272
- """
273
- Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
274
- """
275
- return pulumi.get(self, "prefix")
276
-
277
- @prefix.setter
278
- def prefix(self, value: pulumi.Input[str]):
279
- pulumi.set(self, "prefix", value)
280
-
281
- @property
282
- @pulumi.getter(name="shardDetails")
283
- def shard_details(self) -> pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]:
284
- """
285
- Collection of ATP-Dedicated shards that needs to be created.
286
- """
287
- return pulumi.get(self, "shard_details")
288
-
289
- @shard_details.setter
290
- def shard_details(self, value: pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]):
291
- pulumi.set(self, "shard_details", value)
292
-
293
- @property
294
- @pulumi.getter(name="shardingMethod")
295
- def sharding_method(self) -> pulumi.Input[str]:
296
- """
297
- Sharding Method.
298
- """
299
- return pulumi.get(self, "sharding_method")
300
-
301
- @sharding_method.setter
302
- def sharding_method(self, value: pulumi.Input[str]):
303
- pulumi.set(self, "sharding_method", value)
304
-
305
- @property
306
- @pulumi.getter
307
- def chunks(self) -> Optional[pulumi.Input[int]]:
308
- """
309
- The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
310
- """
311
- return pulumi.get(self, "chunks")
312
-
313
- @chunks.setter
314
- def chunks(self, value: Optional[pulumi.Input[int]]):
315
- pulumi.set(self, "chunks", value)
316
-
317
- @property
318
- @pulumi.getter(name="clusterCertificateCommonName")
319
- def cluster_certificate_common_name(self) -> Optional[pulumi.Input[str]]:
320
- """
321
- The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.
322
- """
323
- return pulumi.get(self, "cluster_certificate_common_name")
324
-
325
- @cluster_certificate_common_name.setter
326
- def cluster_certificate_common_name(self, value: Optional[pulumi.Input[str]]):
327
- pulumi.set(self, "cluster_certificate_common_name", value)
328
-
329
- @property
330
- @pulumi.getter(name="configureShardingTrigger")
331
- def configure_sharding_trigger(self) -> Optional[pulumi.Input[int]]:
332
- """
333
- (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.
334
- """
335
- return pulumi.get(self, "configure_sharding_trigger")
336
-
337
- @configure_sharding_trigger.setter
338
- def configure_sharding_trigger(self, value: Optional[pulumi.Input[int]]):
339
- pulumi.set(self, "configure_sharding_trigger", value)
340
-
341
- @property
342
- @pulumi.getter(name="definedTags")
343
- def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
344
- """
345
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
346
- """
347
- return pulumi.get(self, "defined_tags")
348
-
349
- @defined_tags.setter
350
- def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
351
- pulumi.set(self, "defined_tags", value)
352
-
353
- @property
354
- @pulumi.getter(name="downloadGsmCertificateSigningRequestTrigger")
355
- def download_gsm_certificate_signing_request_trigger(self) -> Optional[pulumi.Input[int]]:
356
- """
357
- (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.
358
- """
359
- return pulumi.get(self, "download_gsm_certificate_signing_request_trigger")
360
-
361
- @download_gsm_certificate_signing_request_trigger.setter
362
- def download_gsm_certificate_signing_request_trigger(self, value: Optional[pulumi.Input[int]]):
363
- pulumi.set(self, "download_gsm_certificate_signing_request_trigger", value)
364
-
365
- @property
366
- @pulumi.getter(name="freeformTags")
367
- def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
368
- """
369
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
370
- """
371
- return pulumi.get(self, "freeform_tags")
372
-
373
- @freeform_tags.setter
374
- def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
375
- pulumi.set(self, "freeform_tags", value)
376
-
377
- @property
378
- @pulumi.getter(name="generateGsmCertificateSigningRequestTrigger")
379
- def generate_gsm_certificate_signing_request_trigger(self) -> Optional[pulumi.Input[int]]:
380
- """
381
- (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.
382
- """
383
- return pulumi.get(self, "generate_gsm_certificate_signing_request_trigger")
384
-
385
- @generate_gsm_certificate_signing_request_trigger.setter
386
- def generate_gsm_certificate_signing_request_trigger(self, value: Optional[pulumi.Input[int]]):
387
- pulumi.set(self, "generate_gsm_certificate_signing_request_trigger", value)
388
-
389
- @property
390
- @pulumi.getter(name="getConnectionStringTrigger")
391
- def get_connection_string_trigger(self) -> Optional[pulumi.Input[int]]:
392
- """
393
- (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.
394
- """
395
- return pulumi.get(self, "get_connection_string_trigger")
396
-
397
- @get_connection_string_trigger.setter
398
- def get_connection_string_trigger(self, value: Optional[pulumi.Input[int]]):
399
- pulumi.set(self, "get_connection_string_trigger", value)
400
-
401
- @property
402
- @pulumi.getter(name="patchOperations")
403
- def patch_operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]]:
404
- """
405
- (Updatable)
406
- """
407
- return pulumi.get(self, "patch_operations")
408
-
409
- @patch_operations.setter
410
- def patch_operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]]):
411
- pulumi.set(self, "patch_operations", value)
412
-
413
- @property
414
- @pulumi.getter(name="startDatabaseTrigger")
415
- def start_database_trigger(self) -> Optional[pulumi.Input[int]]:
416
- """
417
- (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.
418
- """
419
- return pulumi.get(self, "start_database_trigger")
420
-
421
- @start_database_trigger.setter
422
- def start_database_trigger(self, value: Optional[pulumi.Input[int]]):
423
- pulumi.set(self, "start_database_trigger", value)
424
-
425
- @property
426
- @pulumi.getter(name="stopDatabaseTrigger")
427
- def stop_database_trigger(self) -> Optional[pulumi.Input[int]]:
428
- """
429
- (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.
430
- """
431
- return pulumi.get(self, "stop_database_trigger")
432
-
433
- @stop_database_trigger.setter
434
- def stop_database_trigger(self, value: Optional[pulumi.Input[int]]):
435
- pulumi.set(self, "stop_database_trigger", value)
436
-
437
- @property
438
- @pulumi.getter(name="validateNetworkTrigger")
439
- def validate_network_trigger(self) -> Optional[pulumi.Input[int]]:
440
- """
441
- (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer value.
442
-
443
-
444
- ** IMPORTANT **
445
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
446
- """
447
- return pulumi.get(self, "validate_network_trigger")
448
-
449
- @validate_network_trigger.setter
450
- def validate_network_trigger(self, value: Optional[pulumi.Input[int]]):
451
- pulumi.set(self, "validate_network_trigger", value)
452
-
453
-
454
- @pulumi.input_type
455
- class _ShardedDatabaseState:
456
- def __init__(__self__, *,
457
- catalog_details: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]] = None,
458
- character_set: Optional[pulumi.Input[str]] = None,
459
- chunks: Optional[pulumi.Input[int]] = None,
460
- cluster_certificate_common_name: Optional[pulumi.Input[str]] = None,
461
- compartment_id: Optional[pulumi.Input[str]] = None,
462
- configure_gsms_trigger: Optional[pulumi.Input[int]] = None,
463
- configure_sharding_trigger: Optional[pulumi.Input[int]] = None,
464
- connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseConnectionStringArgs']]]] = None,
465
- db_deployment_type: Optional[pulumi.Input[str]] = None,
466
- db_version: Optional[pulumi.Input[str]] = None,
467
- db_workload: Optional[pulumi.Input[str]] = None,
468
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
469
- display_name: Optional[pulumi.Input[str]] = None,
470
- download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
471
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
472
- generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
473
- generate_wallet_trigger: Optional[pulumi.Input[int]] = None,
474
- get_connection_string_trigger: Optional[pulumi.Input[int]] = None,
475
- gsms: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseGsmArgs']]]] = None,
476
- lifecycle_state: Optional[pulumi.Input[str]] = None,
477
- lifecycle_state_details: Optional[pulumi.Input[str]] = None,
478
- listener_port: Optional[pulumi.Input[int]] = None,
479
- listener_port_tls: Optional[pulumi.Input[int]] = None,
480
- ncharacter_set: Optional[pulumi.Input[str]] = None,
481
- ons_port_local: Optional[pulumi.Input[int]] = None,
482
- ons_port_remote: Optional[pulumi.Input[int]] = None,
483
- patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]] = None,
484
- prefix: Optional[pulumi.Input[str]] = None,
485
- private_endpoint: Optional[pulumi.Input[str]] = None,
486
- shard_details: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]] = None,
487
- sharded_database_id: Optional[pulumi.Input[str]] = None,
488
- sharding_method: Optional[pulumi.Input[str]] = None,
489
- start_database_trigger: Optional[pulumi.Input[int]] = None,
490
- state: Optional[pulumi.Input[str]] = None,
491
- stop_database_trigger: Optional[pulumi.Input[int]] = None,
492
- system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
493
- time_created: Optional[pulumi.Input[str]] = None,
494
- time_updated: Optional[pulumi.Input[str]] = None,
495
- time_zone: Optional[pulumi.Input[str]] = None,
496
- upload_signed_certificate_and_generate_wallet_trigger: Optional[pulumi.Input[int]] = None,
497
- validate_network_trigger: Optional[pulumi.Input[int]] = None):
498
- """
499
- Input properties used for looking up and filtering ShardedDatabase resources.
500
- :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]] catalog_details: Collection of ATP-Dedicated catalogs that needs to be created.
501
- :param pulumi.Input[str] character_set: The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
502
- :param pulumi.Input[int] chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
503
- :param pulumi.Input[str] cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.
504
- :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where sharded database is to be created.
505
- :param pulumi.Input[int] configure_gsms_trigger: (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value.
506
- :param pulumi.Input[int] configure_sharding_trigger: (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.
507
- :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseConnectionStringArgs']]] connection_strings: Details of sharded database connection String.
508
- :param pulumi.Input[str] db_deployment_type: The database deployment type.
509
- :param pulumi.Input[str] db_version: Oracle Database version of the Autonomous Container Database.
510
- :param pulumi.Input[str] db_workload: Possible workload types.
511
- :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"}`
512
- :param pulumi.Input[str] display_name: (Updatable) Oracle sharded database display name.
513
- :param pulumi.Input[int] download_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.
514
- :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"}`
515
- :param pulumi.Input[int] generate_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.
516
- :param pulumi.Input[int] generate_wallet_trigger: (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value.
517
- :param pulumi.Input[int] get_connection_string_trigger: (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.
518
- :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseGsmArgs']]] gsms: Details of GSM instances for the sharded database.
519
- :param pulumi.Input[str] lifecycle_state_details: Detailed message for the lifecycle state.
520
- :param pulumi.Input[int] listener_port: The listener port number for sharded database.
521
- :param pulumi.Input[int] listener_port_tls: The TLS listener port number for sharded database.
522
- :param pulumi.Input[str] ncharacter_set: The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
523
- :param pulumi.Input[int] ons_port_local: Ons port local for sharded database.
524
- :param pulumi.Input[int] ons_port_remote: Ons remote port for sharded database.
525
- :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]] patch_operations: (Updatable)
526
- :param pulumi.Input[str] prefix: Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
527
- :param pulumi.Input[str] private_endpoint: The OCID of private endpoint being used by the sharded database.
528
- :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]] shard_details: Collection of ATP-Dedicated shards that needs to be created.
529
- :param pulumi.Input[str] sharding_method: Sharding Method.
530
- :param pulumi.Input[int] start_database_trigger: (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.
531
- :param pulumi.Input[str] state: Lifecycle states for sharded databases.
532
- :param pulumi.Input[int] stop_database_trigger: (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.
533
- :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"}`
534
- :param pulumi.Input[str] time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string
535
- :param pulumi.Input[str] time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string
536
- :param pulumi.Input[str] time_zone: Timezone associated with the sharded database.
537
- :param pulumi.Input[int] upload_signed_certificate_and_generate_wallet_trigger: (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value.
538
- :param pulumi.Input[int] validate_network_trigger: (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer value.
539
-
540
-
541
- ** IMPORTANT **
542
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
543
- """
544
- if catalog_details is not None:
545
- pulumi.set(__self__, "catalog_details", catalog_details)
546
- if character_set is not None:
547
- pulumi.set(__self__, "character_set", character_set)
548
- if chunks is not None:
549
- pulumi.set(__self__, "chunks", chunks)
550
- if cluster_certificate_common_name is not None:
551
- pulumi.set(__self__, "cluster_certificate_common_name", cluster_certificate_common_name)
552
- if compartment_id is not None:
553
- pulumi.set(__self__, "compartment_id", compartment_id)
554
- if configure_gsms_trigger is not None:
555
- pulumi.set(__self__, "configure_gsms_trigger", configure_gsms_trigger)
556
- if configure_sharding_trigger is not None:
557
- pulumi.set(__self__, "configure_sharding_trigger", configure_sharding_trigger)
558
- if connection_strings is not None:
559
- pulumi.set(__self__, "connection_strings", connection_strings)
560
- if db_deployment_type is not None:
561
- pulumi.set(__self__, "db_deployment_type", db_deployment_type)
562
- if db_version is not None:
563
- pulumi.set(__self__, "db_version", db_version)
564
- if db_workload is not None:
565
- pulumi.set(__self__, "db_workload", db_workload)
566
- if defined_tags is not None:
567
- pulumi.set(__self__, "defined_tags", defined_tags)
568
- if display_name is not None:
569
- pulumi.set(__self__, "display_name", display_name)
570
- if download_gsm_certificate_signing_request_trigger is not None:
571
- pulumi.set(__self__, "download_gsm_certificate_signing_request_trigger", download_gsm_certificate_signing_request_trigger)
572
- if freeform_tags is not None:
573
- pulumi.set(__self__, "freeform_tags", freeform_tags)
574
- if generate_gsm_certificate_signing_request_trigger is not None:
575
- pulumi.set(__self__, "generate_gsm_certificate_signing_request_trigger", generate_gsm_certificate_signing_request_trigger)
576
- if generate_wallet_trigger is not None:
577
- pulumi.set(__self__, "generate_wallet_trigger", generate_wallet_trigger)
578
- if get_connection_string_trigger is not None:
579
- pulumi.set(__self__, "get_connection_string_trigger", get_connection_string_trigger)
580
- if gsms is not None:
581
- pulumi.set(__self__, "gsms", gsms)
582
- if lifecycle_state is not None:
583
- pulumi.set(__self__, "lifecycle_state", lifecycle_state)
584
- if lifecycle_state_details is not None:
585
- pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details)
586
- if listener_port is not None:
587
- pulumi.set(__self__, "listener_port", listener_port)
588
- if listener_port_tls is not None:
589
- pulumi.set(__self__, "listener_port_tls", listener_port_tls)
590
- if ncharacter_set is not None:
591
- pulumi.set(__self__, "ncharacter_set", ncharacter_set)
592
- if ons_port_local is not None:
593
- pulumi.set(__self__, "ons_port_local", ons_port_local)
594
- if ons_port_remote is not None:
595
- pulumi.set(__self__, "ons_port_remote", ons_port_remote)
596
- if patch_operations is not None:
597
- pulumi.set(__self__, "patch_operations", patch_operations)
598
- if prefix is not None:
599
- pulumi.set(__self__, "prefix", prefix)
600
- if private_endpoint is not None:
601
- pulumi.set(__self__, "private_endpoint", private_endpoint)
602
- if shard_details is not None:
603
- pulumi.set(__self__, "shard_details", shard_details)
604
- if sharded_database_id is not None:
605
- pulumi.set(__self__, "sharded_database_id", sharded_database_id)
606
- if sharding_method is not None:
607
- pulumi.set(__self__, "sharding_method", sharding_method)
608
- if start_database_trigger is not None:
609
- pulumi.set(__self__, "start_database_trigger", start_database_trigger)
610
- if state is not None:
611
- pulumi.set(__self__, "state", state)
612
- if stop_database_trigger is not None:
613
- pulumi.set(__self__, "stop_database_trigger", stop_database_trigger)
614
- if system_tags is not None:
615
- pulumi.set(__self__, "system_tags", system_tags)
616
- if time_created is not None:
617
- pulumi.set(__self__, "time_created", time_created)
618
- if time_updated is not None:
619
- pulumi.set(__self__, "time_updated", time_updated)
620
- if time_zone is not None:
621
- pulumi.set(__self__, "time_zone", time_zone)
622
- if upload_signed_certificate_and_generate_wallet_trigger is not None:
623
- pulumi.set(__self__, "upload_signed_certificate_and_generate_wallet_trigger", upload_signed_certificate_and_generate_wallet_trigger)
624
- if validate_network_trigger is not None:
625
- pulumi.set(__self__, "validate_network_trigger", validate_network_trigger)
626
-
627
- @property
628
- @pulumi.getter(name="catalogDetails")
629
- def catalog_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]]:
630
- """
631
- Collection of ATP-Dedicated catalogs that needs to be created.
632
- """
633
- return pulumi.get(self, "catalog_details")
634
-
635
- @catalog_details.setter
636
- def catalog_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]]):
637
- pulumi.set(self, "catalog_details", value)
638
-
639
- @property
640
- @pulumi.getter(name="characterSet")
641
- def character_set(self) -> Optional[pulumi.Input[str]]:
642
- """
643
- The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
644
- """
645
- return pulumi.get(self, "character_set")
646
-
647
- @character_set.setter
648
- def character_set(self, value: Optional[pulumi.Input[str]]):
649
- pulumi.set(self, "character_set", value)
650
-
651
- @property
652
- @pulumi.getter
653
- def chunks(self) -> Optional[pulumi.Input[int]]:
654
- """
655
- The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
656
- """
657
- return pulumi.get(self, "chunks")
658
-
659
- @chunks.setter
660
- def chunks(self, value: Optional[pulumi.Input[int]]):
661
- pulumi.set(self, "chunks", value)
662
-
663
- @property
664
- @pulumi.getter(name="clusterCertificateCommonName")
665
- def cluster_certificate_common_name(self) -> Optional[pulumi.Input[str]]:
666
- """
667
- The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.
668
- """
669
- return pulumi.get(self, "cluster_certificate_common_name")
670
-
671
- @cluster_certificate_common_name.setter
672
- def cluster_certificate_common_name(self, value: Optional[pulumi.Input[str]]):
673
- pulumi.set(self, "cluster_certificate_common_name", value)
674
-
675
- @property
676
- @pulumi.getter(name="compartmentId")
677
- def compartment_id(self) -> Optional[pulumi.Input[str]]:
678
- """
679
- (Updatable) Identifier of the compartment where sharded database is to be created.
680
- """
681
- return pulumi.get(self, "compartment_id")
682
-
683
- @compartment_id.setter
684
- def compartment_id(self, value: Optional[pulumi.Input[str]]):
685
- pulumi.set(self, "compartment_id", value)
686
-
687
- @property
688
- @pulumi.getter(name="configureGsmsTrigger")
689
- def configure_gsms_trigger(self) -> Optional[pulumi.Input[int]]:
690
- """
691
- (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value.
692
- """
693
- return pulumi.get(self, "configure_gsms_trigger")
694
-
695
- @configure_gsms_trigger.setter
696
- def configure_gsms_trigger(self, value: Optional[pulumi.Input[int]]):
697
- pulumi.set(self, "configure_gsms_trigger", value)
698
-
699
- @property
700
- @pulumi.getter(name="configureShardingTrigger")
701
- def configure_sharding_trigger(self) -> Optional[pulumi.Input[int]]:
702
- """
703
- (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.
704
- """
705
- return pulumi.get(self, "configure_sharding_trigger")
706
-
707
- @configure_sharding_trigger.setter
708
- def configure_sharding_trigger(self, value: Optional[pulumi.Input[int]]):
709
- pulumi.set(self, "configure_sharding_trigger", value)
710
-
711
- @property
712
- @pulumi.getter(name="connectionStrings")
713
- def connection_strings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseConnectionStringArgs']]]]:
714
- """
715
- Details of sharded database connection String.
716
- """
717
- return pulumi.get(self, "connection_strings")
718
-
719
- @connection_strings.setter
720
- def connection_strings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseConnectionStringArgs']]]]):
721
- pulumi.set(self, "connection_strings", value)
722
-
723
- @property
724
- @pulumi.getter(name="dbDeploymentType")
725
- def db_deployment_type(self) -> Optional[pulumi.Input[str]]:
726
- """
727
- The database deployment type.
728
- """
729
- return pulumi.get(self, "db_deployment_type")
730
-
731
- @db_deployment_type.setter
732
- def db_deployment_type(self, value: Optional[pulumi.Input[str]]):
733
- pulumi.set(self, "db_deployment_type", value)
734
-
735
- @property
736
- @pulumi.getter(name="dbVersion")
737
- def db_version(self) -> Optional[pulumi.Input[str]]:
738
- """
739
- Oracle Database version of the Autonomous Container Database.
740
- """
741
- return pulumi.get(self, "db_version")
742
-
743
- @db_version.setter
744
- def db_version(self, value: Optional[pulumi.Input[str]]):
745
- pulumi.set(self, "db_version", value)
746
-
747
- @property
748
- @pulumi.getter(name="dbWorkload")
749
- def db_workload(self) -> Optional[pulumi.Input[str]]:
750
- """
751
- Possible workload types.
752
- """
753
- return pulumi.get(self, "db_workload")
754
-
755
- @db_workload.setter
756
- def db_workload(self, value: Optional[pulumi.Input[str]]):
757
- pulumi.set(self, "db_workload", value)
758
-
759
- @property
760
- @pulumi.getter(name="definedTags")
761
- def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
762
- """
763
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
764
- """
765
- return pulumi.get(self, "defined_tags")
766
-
767
- @defined_tags.setter
768
- def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
769
- pulumi.set(self, "defined_tags", value)
770
-
771
- @property
772
- @pulumi.getter(name="displayName")
773
- def display_name(self) -> Optional[pulumi.Input[str]]:
774
- """
775
- (Updatable) Oracle sharded database display name.
776
- """
777
- return pulumi.get(self, "display_name")
778
-
779
- @display_name.setter
780
- def display_name(self, value: Optional[pulumi.Input[str]]):
781
- pulumi.set(self, "display_name", value)
782
-
783
- @property
784
- @pulumi.getter(name="downloadGsmCertificateSigningRequestTrigger")
785
- def download_gsm_certificate_signing_request_trigger(self) -> Optional[pulumi.Input[int]]:
786
- """
787
- (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.
788
- """
789
- return pulumi.get(self, "download_gsm_certificate_signing_request_trigger")
790
-
791
- @download_gsm_certificate_signing_request_trigger.setter
792
- def download_gsm_certificate_signing_request_trigger(self, value: Optional[pulumi.Input[int]]):
793
- pulumi.set(self, "download_gsm_certificate_signing_request_trigger", value)
794
-
795
- @property
796
- @pulumi.getter(name="freeformTags")
797
- def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
798
- """
799
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
800
- """
801
- return pulumi.get(self, "freeform_tags")
802
-
803
- @freeform_tags.setter
804
- def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
805
- pulumi.set(self, "freeform_tags", value)
806
-
807
- @property
808
- @pulumi.getter(name="generateGsmCertificateSigningRequestTrigger")
809
- def generate_gsm_certificate_signing_request_trigger(self) -> Optional[pulumi.Input[int]]:
810
- """
811
- (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.
812
- """
813
- return pulumi.get(self, "generate_gsm_certificate_signing_request_trigger")
814
-
815
- @generate_gsm_certificate_signing_request_trigger.setter
816
- def generate_gsm_certificate_signing_request_trigger(self, value: Optional[pulumi.Input[int]]):
817
- pulumi.set(self, "generate_gsm_certificate_signing_request_trigger", value)
818
-
819
- @property
820
- @pulumi.getter(name="generateWalletTrigger")
821
- def generate_wallet_trigger(self) -> Optional[pulumi.Input[int]]:
822
- """
823
- (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value.
824
- """
825
- return pulumi.get(self, "generate_wallet_trigger")
826
-
827
- @generate_wallet_trigger.setter
828
- def generate_wallet_trigger(self, value: Optional[pulumi.Input[int]]):
829
- pulumi.set(self, "generate_wallet_trigger", value)
830
-
831
- @property
832
- @pulumi.getter(name="getConnectionStringTrigger")
833
- def get_connection_string_trigger(self) -> Optional[pulumi.Input[int]]:
834
- """
835
- (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.
836
- """
837
- return pulumi.get(self, "get_connection_string_trigger")
838
-
839
- @get_connection_string_trigger.setter
840
- def get_connection_string_trigger(self, value: Optional[pulumi.Input[int]]):
841
- pulumi.set(self, "get_connection_string_trigger", value)
842
-
843
- @property
844
- @pulumi.getter
845
- def gsms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseGsmArgs']]]]:
846
- """
847
- Details of GSM instances for the sharded database.
848
- """
849
- return pulumi.get(self, "gsms")
850
-
851
- @gsms.setter
852
- def gsms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseGsmArgs']]]]):
853
- pulumi.set(self, "gsms", value)
854
-
855
- @property
856
- @pulumi.getter(name="lifecycleState")
857
- def lifecycle_state(self) -> Optional[pulumi.Input[str]]:
858
- return pulumi.get(self, "lifecycle_state")
859
-
860
- @lifecycle_state.setter
861
- def lifecycle_state(self, value: Optional[pulumi.Input[str]]):
862
- pulumi.set(self, "lifecycle_state", value)
863
-
864
- @property
865
- @pulumi.getter(name="lifecycleStateDetails")
866
- def lifecycle_state_details(self) -> Optional[pulumi.Input[str]]:
867
- """
868
- Detailed message for the lifecycle state.
869
- """
870
- return pulumi.get(self, "lifecycle_state_details")
871
-
872
- @lifecycle_state_details.setter
873
- def lifecycle_state_details(self, value: Optional[pulumi.Input[str]]):
874
- pulumi.set(self, "lifecycle_state_details", value)
875
-
876
- @property
877
- @pulumi.getter(name="listenerPort")
878
- def listener_port(self) -> Optional[pulumi.Input[int]]:
879
- """
880
- The listener port number for sharded database.
881
- """
882
- return pulumi.get(self, "listener_port")
883
-
884
- @listener_port.setter
885
- def listener_port(self, value: Optional[pulumi.Input[int]]):
886
- pulumi.set(self, "listener_port", value)
887
-
888
- @property
889
- @pulumi.getter(name="listenerPortTls")
890
- def listener_port_tls(self) -> Optional[pulumi.Input[int]]:
891
- """
892
- The TLS listener port number for sharded database.
893
- """
894
- return pulumi.get(self, "listener_port_tls")
895
-
896
- @listener_port_tls.setter
897
- def listener_port_tls(self, value: Optional[pulumi.Input[int]]):
898
- pulumi.set(self, "listener_port_tls", value)
899
-
900
- @property
901
- @pulumi.getter(name="ncharacterSet")
902
- def ncharacter_set(self) -> Optional[pulumi.Input[str]]:
903
- """
904
- The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
905
- """
906
- return pulumi.get(self, "ncharacter_set")
907
-
908
- @ncharacter_set.setter
909
- def ncharacter_set(self, value: Optional[pulumi.Input[str]]):
910
- pulumi.set(self, "ncharacter_set", value)
911
-
912
- @property
913
- @pulumi.getter(name="onsPortLocal")
914
- def ons_port_local(self) -> Optional[pulumi.Input[int]]:
915
- """
916
- Ons port local for sharded database.
917
- """
918
- return pulumi.get(self, "ons_port_local")
919
-
920
- @ons_port_local.setter
921
- def ons_port_local(self, value: Optional[pulumi.Input[int]]):
922
- pulumi.set(self, "ons_port_local", value)
923
-
924
- @property
925
- @pulumi.getter(name="onsPortRemote")
926
- def ons_port_remote(self) -> Optional[pulumi.Input[int]]:
927
- """
928
- Ons remote port for sharded database.
929
- """
930
- return pulumi.get(self, "ons_port_remote")
931
-
932
- @ons_port_remote.setter
933
- def ons_port_remote(self, value: Optional[pulumi.Input[int]]):
934
- pulumi.set(self, "ons_port_remote", value)
935
-
936
- @property
937
- @pulumi.getter(name="patchOperations")
938
- def patch_operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]]:
939
- """
940
- (Updatable)
941
- """
942
- return pulumi.get(self, "patch_operations")
943
-
944
- @patch_operations.setter
945
- def patch_operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]]):
946
- pulumi.set(self, "patch_operations", value)
947
-
948
- @property
949
- @pulumi.getter
950
- def prefix(self) -> Optional[pulumi.Input[str]]:
951
- """
952
- Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
953
- """
954
- return pulumi.get(self, "prefix")
955
-
956
- @prefix.setter
957
- def prefix(self, value: Optional[pulumi.Input[str]]):
958
- pulumi.set(self, "prefix", value)
959
-
960
- @property
961
- @pulumi.getter(name="privateEndpoint")
962
- def private_endpoint(self) -> Optional[pulumi.Input[str]]:
963
- """
964
- The OCID of private endpoint being used by the sharded database.
965
- """
966
- return pulumi.get(self, "private_endpoint")
967
-
968
- @private_endpoint.setter
969
- def private_endpoint(self, value: Optional[pulumi.Input[str]]):
970
- pulumi.set(self, "private_endpoint", value)
971
-
972
- @property
973
- @pulumi.getter(name="shardDetails")
974
- def shard_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]]:
975
- """
976
- Collection of ATP-Dedicated shards that needs to be created.
977
- """
978
- return pulumi.get(self, "shard_details")
979
-
980
- @shard_details.setter
981
- def shard_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]]):
982
- pulumi.set(self, "shard_details", value)
983
-
984
- @property
985
- @pulumi.getter(name="shardedDatabaseId")
986
- def sharded_database_id(self) -> Optional[pulumi.Input[str]]:
987
- return pulumi.get(self, "sharded_database_id")
988
-
989
- @sharded_database_id.setter
990
- def sharded_database_id(self, value: Optional[pulumi.Input[str]]):
991
- pulumi.set(self, "sharded_database_id", value)
992
-
993
- @property
994
- @pulumi.getter(name="shardingMethod")
995
- def sharding_method(self) -> Optional[pulumi.Input[str]]:
996
- """
997
- Sharding Method.
998
- """
999
- return pulumi.get(self, "sharding_method")
1000
-
1001
- @sharding_method.setter
1002
- def sharding_method(self, value: Optional[pulumi.Input[str]]):
1003
- pulumi.set(self, "sharding_method", value)
1004
-
1005
- @property
1006
- @pulumi.getter(name="startDatabaseTrigger")
1007
- def start_database_trigger(self) -> Optional[pulumi.Input[int]]:
1008
- """
1009
- (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.
1010
- """
1011
- return pulumi.get(self, "start_database_trigger")
1012
-
1013
- @start_database_trigger.setter
1014
- def start_database_trigger(self, value: Optional[pulumi.Input[int]]):
1015
- pulumi.set(self, "start_database_trigger", value)
1016
-
1017
- @property
1018
- @pulumi.getter
1019
- def state(self) -> Optional[pulumi.Input[str]]:
1020
- """
1021
- Lifecycle states for sharded databases.
1022
- """
1023
- return pulumi.get(self, "state")
1024
-
1025
- @state.setter
1026
- def state(self, value: Optional[pulumi.Input[str]]):
1027
- pulumi.set(self, "state", value)
1028
-
1029
- @property
1030
- @pulumi.getter(name="stopDatabaseTrigger")
1031
- def stop_database_trigger(self) -> Optional[pulumi.Input[int]]:
1032
- """
1033
- (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.
1034
- """
1035
- return pulumi.get(self, "stop_database_trigger")
1036
-
1037
- @stop_database_trigger.setter
1038
- def stop_database_trigger(self, value: Optional[pulumi.Input[int]]):
1039
- pulumi.set(self, "stop_database_trigger", value)
1040
-
1041
- @property
1042
- @pulumi.getter(name="systemTags")
1043
- def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
1044
- """
1045
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
1046
- """
1047
- return pulumi.get(self, "system_tags")
1048
-
1049
- @system_tags.setter
1050
- def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
1051
- pulumi.set(self, "system_tags", value)
1052
-
1053
- @property
1054
- @pulumi.getter(name="timeCreated")
1055
- def time_created(self) -> Optional[pulumi.Input[str]]:
1056
- """
1057
- The time the the Sharded Database was created. An RFC3339 formatted datetime string
1058
- """
1059
- return pulumi.get(self, "time_created")
1060
-
1061
- @time_created.setter
1062
- def time_created(self, value: Optional[pulumi.Input[str]]):
1063
- pulumi.set(self, "time_created", value)
1064
-
1065
- @property
1066
- @pulumi.getter(name="timeUpdated")
1067
- def time_updated(self) -> Optional[pulumi.Input[str]]:
1068
- """
1069
- The time the Sharded Database was last updated. An RFC3339 formatted datetime string
1070
- """
1071
- return pulumi.get(self, "time_updated")
1072
-
1073
- @time_updated.setter
1074
- def time_updated(self, value: Optional[pulumi.Input[str]]):
1075
- pulumi.set(self, "time_updated", value)
1076
-
1077
- @property
1078
- @pulumi.getter(name="timeZone")
1079
- def time_zone(self) -> Optional[pulumi.Input[str]]:
1080
- """
1081
- Timezone associated with the sharded database.
1082
- """
1083
- return pulumi.get(self, "time_zone")
1084
-
1085
- @time_zone.setter
1086
- def time_zone(self, value: Optional[pulumi.Input[str]]):
1087
- pulumi.set(self, "time_zone", value)
1088
-
1089
- @property
1090
- @pulumi.getter(name="uploadSignedCertificateAndGenerateWalletTrigger")
1091
- def upload_signed_certificate_and_generate_wallet_trigger(self) -> Optional[pulumi.Input[int]]:
1092
- """
1093
- (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value.
1094
- """
1095
- return pulumi.get(self, "upload_signed_certificate_and_generate_wallet_trigger")
1096
-
1097
- @upload_signed_certificate_and_generate_wallet_trigger.setter
1098
- def upload_signed_certificate_and_generate_wallet_trigger(self, value: Optional[pulumi.Input[int]]):
1099
- pulumi.set(self, "upload_signed_certificate_and_generate_wallet_trigger", value)
1100
-
1101
- @property
1102
- @pulumi.getter(name="validateNetworkTrigger")
1103
- def validate_network_trigger(self) -> Optional[pulumi.Input[int]]:
1104
- """
1105
- (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer value.
1106
-
1107
-
1108
- ** IMPORTANT **
1109
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1110
- """
1111
- return pulumi.get(self, "validate_network_trigger")
1112
-
1113
- @validate_network_trigger.setter
1114
- def validate_network_trigger(self, value: Optional[pulumi.Input[int]]):
1115
- pulumi.set(self, "validate_network_trigger", value)
1116
-
1117
-
1118
- class ShardedDatabase(pulumi.CustomResource):
1119
- @overload
1120
- def __init__(__self__,
1121
- resource_name: str,
1122
- opts: Optional[pulumi.ResourceOptions] = None,
1123
- catalog_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]]] = None,
1124
- character_set: Optional[pulumi.Input[str]] = None,
1125
- chunks: Optional[pulumi.Input[int]] = None,
1126
- cluster_certificate_common_name: Optional[pulumi.Input[str]] = None,
1127
- compartment_id: Optional[pulumi.Input[str]] = None,
1128
- configure_sharding_trigger: Optional[pulumi.Input[int]] = None,
1129
- db_deployment_type: Optional[pulumi.Input[str]] = None,
1130
- db_version: Optional[pulumi.Input[str]] = None,
1131
- db_workload: Optional[pulumi.Input[str]] = None,
1132
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1133
- display_name: Optional[pulumi.Input[str]] = None,
1134
- download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
1135
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1136
- generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
1137
- get_connection_string_trigger: Optional[pulumi.Input[int]] = None,
1138
- listener_port: Optional[pulumi.Input[int]] = None,
1139
- listener_port_tls: Optional[pulumi.Input[int]] = None,
1140
- ncharacter_set: Optional[pulumi.Input[str]] = None,
1141
- ons_port_local: Optional[pulumi.Input[int]] = None,
1142
- ons_port_remote: Optional[pulumi.Input[int]] = None,
1143
- patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]]] = None,
1144
- prefix: Optional[pulumi.Input[str]] = None,
1145
- shard_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]]] = None,
1146
- sharding_method: Optional[pulumi.Input[str]] = None,
1147
- start_database_trigger: Optional[pulumi.Input[int]] = None,
1148
- stop_database_trigger: Optional[pulumi.Input[int]] = None,
1149
- validate_network_trigger: Optional[pulumi.Input[int]] = None,
1150
- __props__=None):
1151
- """
1152
- This resource provides the Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service.
1153
-
1154
- Creates a Sharded Database.
1155
-
1156
- Patch operation to add, remove or update shards to the sharded database topology. In single patch
1157
- operation, multiple shards can be either added, or removed or updated. Combination of inserts, update
1158
- and remove in single operation is not allowed.
1159
-
1160
- ## Import
1161
-
1162
- ShardedDatabases can be imported using the `id`, e.g.
1163
-
1164
- ```sh
1165
- $ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database "id"
1166
- ```
1167
-
1168
- :param str resource_name: The name of the resource.
1169
- :param pulumi.ResourceOptions opts: Options for the resource.
1170
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]] catalog_details: Collection of ATP-Dedicated catalogs that needs to be created.
1171
- :param pulumi.Input[str] character_set: The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
1172
- :param pulumi.Input[int] chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
1173
- :param pulumi.Input[str] cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.
1174
- :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where sharded database is to be created.
1175
- :param pulumi.Input[int] configure_sharding_trigger: (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.
1176
- :param pulumi.Input[str] db_deployment_type: The database deployment type.
1177
- :param pulumi.Input[str] db_version: Oracle Database version of the Autonomous Container Database.
1178
- :param pulumi.Input[str] db_workload: Possible workload types.
1179
- :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"}`
1180
- :param pulumi.Input[str] display_name: (Updatable) Oracle sharded database display name.
1181
- :param pulumi.Input[int] download_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.
1182
- :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"}`
1183
- :param pulumi.Input[int] generate_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.
1184
- :param pulumi.Input[int] get_connection_string_trigger: (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.
1185
- :param pulumi.Input[int] listener_port: The listener port number for sharded database.
1186
- :param pulumi.Input[int] listener_port_tls: The TLS listener port number for sharded database.
1187
- :param pulumi.Input[str] ncharacter_set: The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
1188
- :param pulumi.Input[int] ons_port_local: Ons port local for sharded database.
1189
- :param pulumi.Input[int] ons_port_remote: Ons remote port for sharded database.
1190
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]] patch_operations: (Updatable)
1191
- :param pulumi.Input[str] prefix: Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
1192
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]] shard_details: Collection of ATP-Dedicated shards that needs to be created.
1193
- :param pulumi.Input[str] sharding_method: Sharding Method.
1194
- :param pulumi.Input[int] start_database_trigger: (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.
1195
- :param pulumi.Input[int] stop_database_trigger: (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.
1196
- :param pulumi.Input[int] validate_network_trigger: (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer value.
1197
-
1198
-
1199
- ** IMPORTANT **
1200
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1201
- """
1202
- ...
1203
- @overload
1204
- def __init__(__self__,
1205
- resource_name: str,
1206
- args: ShardedDatabaseArgs,
1207
- opts: Optional[pulumi.ResourceOptions] = None):
1208
- """
1209
- This resource provides the Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service.
1210
-
1211
- Creates a Sharded Database.
1212
-
1213
- Patch operation to add, remove or update shards to the sharded database topology. In single patch
1214
- operation, multiple shards can be either added, or removed or updated. Combination of inserts, update
1215
- and remove in single operation is not allowed.
1216
-
1217
- ## Import
1218
-
1219
- ShardedDatabases can be imported using the `id`, e.g.
1220
-
1221
- ```sh
1222
- $ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database "id"
1223
- ```
1224
-
1225
- :param str resource_name: The name of the resource.
1226
- :param ShardedDatabaseArgs args: The arguments to use to populate this resource's properties.
1227
- :param pulumi.ResourceOptions opts: Options for the resource.
1228
- """
1229
- ...
1230
- def __init__(__self__, resource_name: str, *args, **kwargs):
1231
- resource_args, opts = _utilities.get_resource_args_opts(ShardedDatabaseArgs, pulumi.ResourceOptions, *args, **kwargs)
1232
- if resource_args is not None:
1233
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
1234
- else:
1235
- __self__._internal_init(resource_name, *args, **kwargs)
1236
-
1237
- def _internal_init(__self__,
1238
- resource_name: str,
1239
- opts: Optional[pulumi.ResourceOptions] = None,
1240
- catalog_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]]] = None,
1241
- character_set: Optional[pulumi.Input[str]] = None,
1242
- chunks: Optional[pulumi.Input[int]] = None,
1243
- cluster_certificate_common_name: Optional[pulumi.Input[str]] = None,
1244
- compartment_id: Optional[pulumi.Input[str]] = None,
1245
- configure_sharding_trigger: Optional[pulumi.Input[int]] = None,
1246
- db_deployment_type: Optional[pulumi.Input[str]] = None,
1247
- db_version: Optional[pulumi.Input[str]] = None,
1248
- db_workload: Optional[pulumi.Input[str]] = None,
1249
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1250
- display_name: Optional[pulumi.Input[str]] = None,
1251
- download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
1252
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1253
- generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
1254
- get_connection_string_trigger: Optional[pulumi.Input[int]] = None,
1255
- listener_port: Optional[pulumi.Input[int]] = None,
1256
- listener_port_tls: Optional[pulumi.Input[int]] = None,
1257
- ncharacter_set: Optional[pulumi.Input[str]] = None,
1258
- ons_port_local: Optional[pulumi.Input[int]] = None,
1259
- ons_port_remote: Optional[pulumi.Input[int]] = None,
1260
- patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]]] = None,
1261
- prefix: Optional[pulumi.Input[str]] = None,
1262
- shard_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]]] = None,
1263
- sharding_method: Optional[pulumi.Input[str]] = None,
1264
- start_database_trigger: Optional[pulumi.Input[int]] = None,
1265
- stop_database_trigger: Optional[pulumi.Input[int]] = None,
1266
- validate_network_trigger: Optional[pulumi.Input[int]] = None,
1267
- __props__=None):
1268
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1269
- if not isinstance(opts, pulumi.ResourceOptions):
1270
- raise TypeError('Expected resource options to be a ResourceOptions instance')
1271
- if opts.id is None:
1272
- if __props__ is not None:
1273
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
1274
- __props__ = ShardedDatabaseArgs.__new__(ShardedDatabaseArgs)
1275
-
1276
- if catalog_details is None and not opts.urn:
1277
- raise TypeError("Missing required property 'catalog_details'")
1278
- __props__.__dict__["catalog_details"] = catalog_details
1279
- if character_set is None and not opts.urn:
1280
- raise TypeError("Missing required property 'character_set'")
1281
- __props__.__dict__["character_set"] = character_set
1282
- __props__.__dict__["chunks"] = chunks
1283
- __props__.__dict__["cluster_certificate_common_name"] = cluster_certificate_common_name
1284
- if compartment_id is None and not opts.urn:
1285
- raise TypeError("Missing required property 'compartment_id'")
1286
- __props__.__dict__["compartment_id"] = compartment_id
1287
- __props__.__dict__["configure_sharding_trigger"] = configure_sharding_trigger
1288
- if db_deployment_type is None and not opts.urn:
1289
- raise TypeError("Missing required property 'db_deployment_type'")
1290
- __props__.__dict__["db_deployment_type"] = db_deployment_type
1291
- if db_version is None and not opts.urn:
1292
- raise TypeError("Missing required property 'db_version'")
1293
- __props__.__dict__["db_version"] = db_version
1294
- if db_workload is None and not opts.urn:
1295
- raise TypeError("Missing required property 'db_workload'")
1296
- __props__.__dict__["db_workload"] = db_workload
1297
- __props__.__dict__["defined_tags"] = defined_tags
1298
- if display_name is None and not opts.urn:
1299
- raise TypeError("Missing required property 'display_name'")
1300
- __props__.__dict__["display_name"] = display_name
1301
- __props__.__dict__["download_gsm_certificate_signing_request_trigger"] = download_gsm_certificate_signing_request_trigger
1302
- __props__.__dict__["freeform_tags"] = freeform_tags
1303
- __props__.__dict__["generate_gsm_certificate_signing_request_trigger"] = generate_gsm_certificate_signing_request_trigger
1304
- __props__.__dict__["get_connection_string_trigger"] = get_connection_string_trigger
1305
- if listener_port is None and not opts.urn:
1306
- raise TypeError("Missing required property 'listener_port'")
1307
- __props__.__dict__["listener_port"] = listener_port
1308
- if listener_port_tls is None and not opts.urn:
1309
- raise TypeError("Missing required property 'listener_port_tls'")
1310
- __props__.__dict__["listener_port_tls"] = listener_port_tls
1311
- if ncharacter_set is None and not opts.urn:
1312
- raise TypeError("Missing required property 'ncharacter_set'")
1313
- __props__.__dict__["ncharacter_set"] = ncharacter_set
1314
- if ons_port_local is None and not opts.urn:
1315
- raise TypeError("Missing required property 'ons_port_local'")
1316
- __props__.__dict__["ons_port_local"] = ons_port_local
1317
- if ons_port_remote is None and not opts.urn:
1318
- raise TypeError("Missing required property 'ons_port_remote'")
1319
- __props__.__dict__["ons_port_remote"] = ons_port_remote
1320
- __props__.__dict__["patch_operations"] = patch_operations
1321
- if prefix is None and not opts.urn:
1322
- raise TypeError("Missing required property 'prefix'")
1323
- __props__.__dict__["prefix"] = prefix
1324
- if shard_details is None and not opts.urn:
1325
- raise TypeError("Missing required property 'shard_details'")
1326
- __props__.__dict__["shard_details"] = shard_details
1327
- if sharding_method is None and not opts.urn:
1328
- raise TypeError("Missing required property 'sharding_method'")
1329
- __props__.__dict__["sharding_method"] = sharding_method
1330
- __props__.__dict__["start_database_trigger"] = start_database_trigger
1331
- __props__.__dict__["stop_database_trigger"] = stop_database_trigger
1332
- __props__.__dict__["validate_network_trigger"] = validate_network_trigger
1333
- __props__.__dict__["configure_gsms_trigger"] = None
1334
- __props__.__dict__["connection_strings"] = None
1335
- __props__.__dict__["generate_wallet_trigger"] = None
1336
- __props__.__dict__["gsms"] = None
1337
- __props__.__dict__["lifecycle_state"] = None
1338
- __props__.__dict__["lifecycle_state_details"] = None
1339
- __props__.__dict__["private_endpoint"] = None
1340
- __props__.__dict__["sharded_database_id"] = None
1341
- __props__.__dict__["state"] = None
1342
- __props__.__dict__["system_tags"] = None
1343
- __props__.__dict__["time_created"] = None
1344
- __props__.__dict__["time_updated"] = None
1345
- __props__.__dict__["time_zone"] = None
1346
- __props__.__dict__["upload_signed_certificate_and_generate_wallet_trigger"] = None
1347
- super(ShardedDatabase, __self__).__init__(
1348
- 'oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase',
1349
- resource_name,
1350
- __props__,
1351
- opts)
1352
-
1353
- @staticmethod
1354
- def get(resource_name: str,
1355
- id: pulumi.Input[str],
1356
- opts: Optional[pulumi.ResourceOptions] = None,
1357
- catalog_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]]] = None,
1358
- character_set: Optional[pulumi.Input[str]] = None,
1359
- chunks: Optional[pulumi.Input[int]] = None,
1360
- cluster_certificate_common_name: Optional[pulumi.Input[str]] = None,
1361
- compartment_id: Optional[pulumi.Input[str]] = None,
1362
- configure_gsms_trigger: Optional[pulumi.Input[int]] = None,
1363
- configure_sharding_trigger: Optional[pulumi.Input[int]] = None,
1364
- connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseConnectionStringArgs', 'ShardedDatabaseConnectionStringArgsDict']]]]] = None,
1365
- db_deployment_type: Optional[pulumi.Input[str]] = None,
1366
- db_version: Optional[pulumi.Input[str]] = None,
1367
- db_workload: Optional[pulumi.Input[str]] = None,
1368
- defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1369
- display_name: Optional[pulumi.Input[str]] = None,
1370
- download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
1371
- freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1372
- generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None,
1373
- generate_wallet_trigger: Optional[pulumi.Input[int]] = None,
1374
- get_connection_string_trigger: Optional[pulumi.Input[int]] = None,
1375
- gsms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseGsmArgs', 'ShardedDatabaseGsmArgsDict']]]]] = None,
1376
- lifecycle_state: Optional[pulumi.Input[str]] = None,
1377
- lifecycle_state_details: Optional[pulumi.Input[str]] = None,
1378
- listener_port: Optional[pulumi.Input[int]] = None,
1379
- listener_port_tls: Optional[pulumi.Input[int]] = None,
1380
- ncharacter_set: Optional[pulumi.Input[str]] = None,
1381
- ons_port_local: Optional[pulumi.Input[int]] = None,
1382
- ons_port_remote: Optional[pulumi.Input[int]] = None,
1383
- patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]]] = None,
1384
- prefix: Optional[pulumi.Input[str]] = None,
1385
- private_endpoint: Optional[pulumi.Input[str]] = None,
1386
- shard_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]]] = None,
1387
- sharded_database_id: Optional[pulumi.Input[str]] = None,
1388
- sharding_method: Optional[pulumi.Input[str]] = None,
1389
- start_database_trigger: Optional[pulumi.Input[int]] = None,
1390
- state: Optional[pulumi.Input[str]] = None,
1391
- stop_database_trigger: Optional[pulumi.Input[int]] = None,
1392
- system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1393
- time_created: Optional[pulumi.Input[str]] = None,
1394
- time_updated: Optional[pulumi.Input[str]] = None,
1395
- time_zone: Optional[pulumi.Input[str]] = None,
1396
- upload_signed_certificate_and_generate_wallet_trigger: Optional[pulumi.Input[int]] = None,
1397
- validate_network_trigger: Optional[pulumi.Input[int]] = None) -> 'ShardedDatabase':
1398
- """
1399
- Get an existing ShardedDatabase resource's state with the given name, id, and optional extra
1400
- properties used to qualify the lookup.
1401
-
1402
- :param str resource_name: The unique name of the resulting resource.
1403
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1404
- :param pulumi.ResourceOptions opts: Options for the resource.
1405
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]] catalog_details: Collection of ATP-Dedicated catalogs that needs to be created.
1406
- :param pulumi.Input[str] character_set: The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
1407
- :param pulumi.Input[int] chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
1408
- :param pulumi.Input[str] cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.
1409
- :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where sharded database is to be created.
1410
- :param pulumi.Input[int] configure_gsms_trigger: (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value.
1411
- :param pulumi.Input[int] configure_sharding_trigger: (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.
1412
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseConnectionStringArgs', 'ShardedDatabaseConnectionStringArgsDict']]]] connection_strings: Details of sharded database connection String.
1413
- :param pulumi.Input[str] db_deployment_type: The database deployment type.
1414
- :param pulumi.Input[str] db_version: Oracle Database version of the Autonomous Container Database.
1415
- :param pulumi.Input[str] db_workload: Possible workload types.
1416
- :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"}`
1417
- :param pulumi.Input[str] display_name: (Updatable) Oracle sharded database display name.
1418
- :param pulumi.Input[int] download_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.
1419
- :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"}`
1420
- :param pulumi.Input[int] generate_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.
1421
- :param pulumi.Input[int] generate_wallet_trigger: (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value.
1422
- :param pulumi.Input[int] get_connection_string_trigger: (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.
1423
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseGsmArgs', 'ShardedDatabaseGsmArgsDict']]]] gsms: Details of GSM instances for the sharded database.
1424
- :param pulumi.Input[str] lifecycle_state_details: Detailed message for the lifecycle state.
1425
- :param pulumi.Input[int] listener_port: The listener port number for sharded database.
1426
- :param pulumi.Input[int] listener_port_tls: The TLS listener port number for sharded database.
1427
- :param pulumi.Input[str] ncharacter_set: The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
1428
- :param pulumi.Input[int] ons_port_local: Ons port local for sharded database.
1429
- :param pulumi.Input[int] ons_port_remote: Ons remote port for sharded database.
1430
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]] patch_operations: (Updatable)
1431
- :param pulumi.Input[str] prefix: Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
1432
- :param pulumi.Input[str] private_endpoint: The OCID of private endpoint being used by the sharded database.
1433
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]] shard_details: Collection of ATP-Dedicated shards that needs to be created.
1434
- :param pulumi.Input[str] sharding_method: Sharding Method.
1435
- :param pulumi.Input[int] start_database_trigger: (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.
1436
- :param pulumi.Input[str] state: Lifecycle states for sharded databases.
1437
- :param pulumi.Input[int] stop_database_trigger: (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.
1438
- :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"}`
1439
- :param pulumi.Input[str] time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string
1440
- :param pulumi.Input[str] time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string
1441
- :param pulumi.Input[str] time_zone: Timezone associated with the sharded database.
1442
- :param pulumi.Input[int] upload_signed_certificate_and_generate_wallet_trigger: (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value.
1443
- :param pulumi.Input[int] validate_network_trigger: (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer value.
1444
-
1445
-
1446
- ** IMPORTANT **
1447
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1448
- """
1449
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1450
-
1451
- __props__ = _ShardedDatabaseState.__new__(_ShardedDatabaseState)
1452
-
1453
- __props__.__dict__["catalog_details"] = catalog_details
1454
- __props__.__dict__["character_set"] = character_set
1455
- __props__.__dict__["chunks"] = chunks
1456
- __props__.__dict__["cluster_certificate_common_name"] = cluster_certificate_common_name
1457
- __props__.__dict__["compartment_id"] = compartment_id
1458
- __props__.__dict__["configure_gsms_trigger"] = configure_gsms_trigger
1459
- __props__.__dict__["configure_sharding_trigger"] = configure_sharding_trigger
1460
- __props__.__dict__["connection_strings"] = connection_strings
1461
- __props__.__dict__["db_deployment_type"] = db_deployment_type
1462
- __props__.__dict__["db_version"] = db_version
1463
- __props__.__dict__["db_workload"] = db_workload
1464
- __props__.__dict__["defined_tags"] = defined_tags
1465
- __props__.__dict__["display_name"] = display_name
1466
- __props__.__dict__["download_gsm_certificate_signing_request_trigger"] = download_gsm_certificate_signing_request_trigger
1467
- __props__.__dict__["freeform_tags"] = freeform_tags
1468
- __props__.__dict__["generate_gsm_certificate_signing_request_trigger"] = generate_gsm_certificate_signing_request_trigger
1469
- __props__.__dict__["generate_wallet_trigger"] = generate_wallet_trigger
1470
- __props__.__dict__["get_connection_string_trigger"] = get_connection_string_trigger
1471
- __props__.__dict__["gsms"] = gsms
1472
- __props__.__dict__["lifecycle_state"] = lifecycle_state
1473
- __props__.__dict__["lifecycle_state_details"] = lifecycle_state_details
1474
- __props__.__dict__["listener_port"] = listener_port
1475
- __props__.__dict__["listener_port_tls"] = listener_port_tls
1476
- __props__.__dict__["ncharacter_set"] = ncharacter_set
1477
- __props__.__dict__["ons_port_local"] = ons_port_local
1478
- __props__.__dict__["ons_port_remote"] = ons_port_remote
1479
- __props__.__dict__["patch_operations"] = patch_operations
1480
- __props__.__dict__["prefix"] = prefix
1481
- __props__.__dict__["private_endpoint"] = private_endpoint
1482
- __props__.__dict__["shard_details"] = shard_details
1483
- __props__.__dict__["sharded_database_id"] = sharded_database_id
1484
- __props__.__dict__["sharding_method"] = sharding_method
1485
- __props__.__dict__["start_database_trigger"] = start_database_trigger
1486
- __props__.__dict__["state"] = state
1487
- __props__.__dict__["stop_database_trigger"] = stop_database_trigger
1488
- __props__.__dict__["system_tags"] = system_tags
1489
- __props__.__dict__["time_created"] = time_created
1490
- __props__.__dict__["time_updated"] = time_updated
1491
- __props__.__dict__["time_zone"] = time_zone
1492
- __props__.__dict__["upload_signed_certificate_and_generate_wallet_trigger"] = upload_signed_certificate_and_generate_wallet_trigger
1493
- __props__.__dict__["validate_network_trigger"] = validate_network_trigger
1494
- return ShardedDatabase(resource_name, opts=opts, __props__=__props__)
1495
-
1496
- @property
1497
- @pulumi.getter(name="catalogDetails")
1498
- def catalog_details(self) -> pulumi.Output[Sequence['outputs.ShardedDatabaseCatalogDetail']]:
1499
- """
1500
- Collection of ATP-Dedicated catalogs that needs to be created.
1501
- """
1502
- return pulumi.get(self, "catalog_details")
1503
-
1504
- @property
1505
- @pulumi.getter(name="characterSet")
1506
- def character_set(self) -> pulumi.Output[str]:
1507
- """
1508
- The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
1509
- """
1510
- return pulumi.get(self, "character_set")
1511
-
1512
- @property
1513
- @pulumi.getter
1514
- def chunks(self) -> pulumi.Output[int]:
1515
- """
1516
- The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
1517
- """
1518
- return pulumi.get(self, "chunks")
1519
-
1520
- @property
1521
- @pulumi.getter(name="clusterCertificateCommonName")
1522
- def cluster_certificate_common_name(self) -> pulumi.Output[str]:
1523
- """
1524
- The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.
1525
- """
1526
- return pulumi.get(self, "cluster_certificate_common_name")
1527
-
1528
- @property
1529
- @pulumi.getter(name="compartmentId")
1530
- def compartment_id(self) -> pulumi.Output[str]:
1531
- """
1532
- (Updatable) Identifier of the compartment where sharded database is to be created.
1533
- """
1534
- return pulumi.get(self, "compartment_id")
1535
-
1536
- @property
1537
- @pulumi.getter(name="configureGsmsTrigger")
1538
- def configure_gsms_trigger(self) -> pulumi.Output[int]:
1539
- """
1540
- (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value.
1541
- """
1542
- return pulumi.get(self, "configure_gsms_trigger")
1543
-
1544
- @property
1545
- @pulumi.getter(name="configureShardingTrigger")
1546
- def configure_sharding_trigger(self) -> pulumi.Output[Optional[int]]:
1547
- """
1548
- (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.
1549
- """
1550
- return pulumi.get(self, "configure_sharding_trigger")
1551
-
1552
- @property
1553
- @pulumi.getter(name="connectionStrings")
1554
- def connection_strings(self) -> pulumi.Output[Sequence['outputs.ShardedDatabaseConnectionString']]:
1555
- """
1556
- Details of sharded database connection String.
1557
- """
1558
- return pulumi.get(self, "connection_strings")
1559
-
1560
- @property
1561
- @pulumi.getter(name="dbDeploymentType")
1562
- def db_deployment_type(self) -> pulumi.Output[str]:
1563
- """
1564
- The database deployment type.
1565
- """
1566
- return pulumi.get(self, "db_deployment_type")
1567
-
1568
- @property
1569
- @pulumi.getter(name="dbVersion")
1570
- def db_version(self) -> pulumi.Output[str]:
1571
- """
1572
- Oracle Database version of the Autonomous Container Database.
1573
- """
1574
- return pulumi.get(self, "db_version")
1575
-
1576
- @property
1577
- @pulumi.getter(name="dbWorkload")
1578
- def db_workload(self) -> pulumi.Output[str]:
1579
- """
1580
- Possible workload types.
1581
- """
1582
- return pulumi.get(self, "db_workload")
1583
-
1584
- @property
1585
- @pulumi.getter(name="definedTags")
1586
- def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
1587
- """
1588
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
1589
- """
1590
- return pulumi.get(self, "defined_tags")
1591
-
1592
- @property
1593
- @pulumi.getter(name="displayName")
1594
- def display_name(self) -> pulumi.Output[str]:
1595
- """
1596
- (Updatable) Oracle sharded database display name.
1597
- """
1598
- return pulumi.get(self, "display_name")
1599
-
1600
- @property
1601
- @pulumi.getter(name="downloadGsmCertificateSigningRequestTrigger")
1602
- def download_gsm_certificate_signing_request_trigger(self) -> pulumi.Output[Optional[int]]:
1603
- """
1604
- (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.
1605
- """
1606
- return pulumi.get(self, "download_gsm_certificate_signing_request_trigger")
1607
-
1608
- @property
1609
- @pulumi.getter(name="freeformTags")
1610
- def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
1611
- """
1612
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
1613
- """
1614
- return pulumi.get(self, "freeform_tags")
1615
-
1616
- @property
1617
- @pulumi.getter(name="generateGsmCertificateSigningRequestTrigger")
1618
- def generate_gsm_certificate_signing_request_trigger(self) -> pulumi.Output[Optional[int]]:
1619
- """
1620
- (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.
1621
- """
1622
- return pulumi.get(self, "generate_gsm_certificate_signing_request_trigger")
1623
-
1624
- @property
1625
- @pulumi.getter(name="generateWalletTrigger")
1626
- def generate_wallet_trigger(self) -> pulumi.Output[int]:
1627
- """
1628
- (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value.
1629
- """
1630
- return pulumi.get(self, "generate_wallet_trigger")
1631
-
1632
- @property
1633
- @pulumi.getter(name="getConnectionStringTrigger")
1634
- def get_connection_string_trigger(self) -> pulumi.Output[Optional[int]]:
1635
- """
1636
- (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.
1637
- """
1638
- return pulumi.get(self, "get_connection_string_trigger")
1639
-
1640
- @property
1641
- @pulumi.getter
1642
- def gsms(self) -> pulumi.Output[Sequence['outputs.ShardedDatabaseGsm']]:
1643
- """
1644
- Details of GSM instances for the sharded database.
1645
- """
1646
- return pulumi.get(self, "gsms")
1647
-
1648
- @property
1649
- @pulumi.getter(name="lifecycleState")
1650
- def lifecycle_state(self) -> pulumi.Output[str]:
1651
- return pulumi.get(self, "lifecycle_state")
1652
-
1653
- @property
1654
- @pulumi.getter(name="lifecycleStateDetails")
1655
- def lifecycle_state_details(self) -> pulumi.Output[str]:
1656
- """
1657
- Detailed message for the lifecycle state.
1658
- """
1659
- return pulumi.get(self, "lifecycle_state_details")
1660
-
1661
- @property
1662
- @pulumi.getter(name="listenerPort")
1663
- def listener_port(self) -> pulumi.Output[int]:
1664
- """
1665
- The listener port number for sharded database.
1666
- """
1667
- return pulumi.get(self, "listener_port")
1668
-
1669
- @property
1670
- @pulumi.getter(name="listenerPortTls")
1671
- def listener_port_tls(self) -> pulumi.Output[int]:
1672
- """
1673
- The TLS listener port number for sharded database.
1674
- """
1675
- return pulumi.get(self, "listener_port_tls")
1676
-
1677
- @property
1678
- @pulumi.getter(name="ncharacterSet")
1679
- def ncharacter_set(self) -> pulumi.Output[str]:
1680
- """
1681
- The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
1682
- """
1683
- return pulumi.get(self, "ncharacter_set")
1684
-
1685
- @property
1686
- @pulumi.getter(name="onsPortLocal")
1687
- def ons_port_local(self) -> pulumi.Output[int]:
1688
- """
1689
- Ons port local for sharded database.
1690
- """
1691
- return pulumi.get(self, "ons_port_local")
1692
-
1693
- @property
1694
- @pulumi.getter(name="onsPortRemote")
1695
- def ons_port_remote(self) -> pulumi.Output[int]:
1696
- """
1697
- Ons remote port for sharded database.
1698
- """
1699
- return pulumi.get(self, "ons_port_remote")
1700
-
1701
- @property
1702
- @pulumi.getter(name="patchOperations")
1703
- def patch_operations(self) -> pulumi.Output[Optional[Sequence['outputs.ShardedDatabasePatchOperation']]]:
1704
- """
1705
- (Updatable)
1706
- """
1707
- return pulumi.get(self, "patch_operations")
1708
-
1709
- @property
1710
- @pulumi.getter
1711
- def prefix(self) -> pulumi.Output[str]:
1712
- """
1713
- Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
1714
- """
1715
- return pulumi.get(self, "prefix")
1716
-
1717
- @property
1718
- @pulumi.getter(name="privateEndpoint")
1719
- def private_endpoint(self) -> pulumi.Output[str]:
1720
- """
1721
- The OCID of private endpoint being used by the sharded database.
1722
- """
1723
- return pulumi.get(self, "private_endpoint")
1724
-
1725
- @property
1726
- @pulumi.getter(name="shardDetails")
1727
- def shard_details(self) -> pulumi.Output[Sequence['outputs.ShardedDatabaseShardDetail']]:
1728
- """
1729
- Collection of ATP-Dedicated shards that needs to be created.
1730
- """
1731
- return pulumi.get(self, "shard_details")
1732
-
1733
- @property
1734
- @pulumi.getter(name="shardedDatabaseId")
1735
- def sharded_database_id(self) -> pulumi.Output[str]:
1736
- return pulumi.get(self, "sharded_database_id")
1737
-
1738
- @property
1739
- @pulumi.getter(name="shardingMethod")
1740
- def sharding_method(self) -> pulumi.Output[str]:
1741
- """
1742
- Sharding Method.
1743
- """
1744
- return pulumi.get(self, "sharding_method")
1745
-
1746
- @property
1747
- @pulumi.getter(name="startDatabaseTrigger")
1748
- def start_database_trigger(self) -> pulumi.Output[Optional[int]]:
1749
- """
1750
- (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.
1751
- """
1752
- return pulumi.get(self, "start_database_trigger")
1753
-
1754
- @property
1755
- @pulumi.getter
1756
- def state(self) -> pulumi.Output[str]:
1757
- """
1758
- Lifecycle states for sharded databases.
1759
- """
1760
- return pulumi.get(self, "state")
1761
-
1762
- @property
1763
- @pulumi.getter(name="stopDatabaseTrigger")
1764
- def stop_database_trigger(self) -> pulumi.Output[Optional[int]]:
1765
- """
1766
- (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.
1767
- """
1768
- return pulumi.get(self, "stop_database_trigger")
1769
-
1770
- @property
1771
- @pulumi.getter(name="systemTags")
1772
- def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
1773
- """
1774
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
1775
- """
1776
- return pulumi.get(self, "system_tags")
1777
-
1778
- @property
1779
- @pulumi.getter(name="timeCreated")
1780
- def time_created(self) -> pulumi.Output[str]:
1781
- """
1782
- The time the the Sharded Database was created. An RFC3339 formatted datetime string
1783
- """
1784
- return pulumi.get(self, "time_created")
1785
-
1786
- @property
1787
- @pulumi.getter(name="timeUpdated")
1788
- def time_updated(self) -> pulumi.Output[str]:
1789
- """
1790
- The time the Sharded Database was last updated. An RFC3339 formatted datetime string
1791
- """
1792
- return pulumi.get(self, "time_updated")
1793
-
1794
- @property
1795
- @pulumi.getter(name="timeZone")
1796
- def time_zone(self) -> pulumi.Output[str]:
1797
- """
1798
- Timezone associated with the sharded database.
1799
- """
1800
- return pulumi.get(self, "time_zone")
1801
-
1802
- @property
1803
- @pulumi.getter(name="uploadSignedCertificateAndGenerateWalletTrigger")
1804
- def upload_signed_certificate_and_generate_wallet_trigger(self) -> pulumi.Output[int]:
1805
- """
1806
- (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value.
1807
- """
1808
- return pulumi.get(self, "upload_signed_certificate_and_generate_wallet_trigger")
1809
-
1810
- @property
1811
- @pulumi.getter(name="validateNetworkTrigger")
1812
- def validate_network_trigger(self) -> pulumi.Output[Optional[int]]:
1813
- """
1814
- (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer value.
1815
-
1816
-
1817
- ** IMPORTANT **
1818
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1819
- """
1820
- return pulumi.get(self, "validate_network_trigger")
1821
-