pulumi-oci 2.22.0a1737613119__py3-none-any.whl → 2.23.0a1737786272__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 (39) hide show
  1. pulumi_oci/__init__.py +8 -0
  2. pulumi_oci/bigdataservice/bds_instance_api_key.py +0 -14
  3. pulumi_oci/bigdataservice/get_bds_instance_api_key.py +0 -2
  4. pulumi_oci/bigdataservice/outputs.py +0 -4
  5. pulumi_oci/core/__init__.py +3 -0
  6. pulumi_oci/core/_inputs.py +143 -0
  7. pulumi_oci/core/byoasn.py +595 -0
  8. pulumi_oci/core/get_byoasn.py +268 -0
  9. pulumi_oci/core/get_byoasns.py +131 -0
  10. pulumi_oci/core/get_byoip_range.py +15 -1
  11. pulumi_oci/core/instance.py +7 -7
  12. pulumi_oci/core/outputs.py +457 -0
  13. pulumi_oci/database/_inputs.py +696 -89
  14. pulumi_oci/database/autonomous_database.py +98 -4
  15. pulumi_oci/database/autonomous_exadata_infrastructure.py +0 -2
  16. pulumi_oci/database/autonomous_vm_cluster.py +0 -2
  17. pulumi_oci/database/cloud_exadata_infrastructure.py +0 -2
  18. pulumi_oci/database/data_guard_association.py +75 -28
  19. pulumi_oci/database/database.py +147 -32
  20. pulumi_oci/database/database_upgrade.py +28 -0
  21. pulumi_oci/database/exadata_infrastructure.py +0 -2
  22. pulumi_oci/database/get_autonomous_database.py +30 -2
  23. pulumi_oci/database/get_data_guard_association.py +12 -1
  24. pulumi_oci/database/get_database.py +40 -1
  25. pulumi_oci/database/outputs.py +994 -114
  26. pulumi_oci/networkloadbalancer/__init__.py +1 -0
  27. pulumi_oci/networkloadbalancer/_inputs.py +6 -6
  28. pulumi_oci/networkloadbalancer/backend.py +7 -7
  29. pulumi_oci/networkloadbalancer/backend_set.py +105 -7
  30. pulumi_oci/networkloadbalancer/get_backend_set.py +30 -2
  31. pulumi_oci/networkloadbalancer/get_network_load_balancer_backend_set_backend_operational_status.py +165 -0
  32. pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -7
  33. pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +105 -7
  34. pulumi_oci/networkloadbalancer/outputs.py +34 -12
  35. pulumi_oci/pulumi-plugin.json +1 -1
  36. {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/METADATA +1 -1
  37. {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/RECORD +39 -35
  38. {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/WHEEL +0 -0
  39. {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/top_level.txt +0 -0
@@ -44,6 +44,7 @@ class DataGuardAssociationArgs:
44
44
  hostname: Optional[pulumi.Input[str]] = None,
45
45
  is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None,
46
46
  license_model: Optional[pulumi.Input[str]] = None,
47
+ migrate_trigger: Optional[pulumi.Input[int]] = None,
47
48
  node_count: Optional[pulumi.Input[int]] = None,
48
49
  nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
49
50
  peer_db_home_id: Optional[pulumi.Input[str]] = None,
@@ -80,10 +81,6 @@ class DataGuardAssociationArgs:
80
81
  For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
81
82
 
82
83
  **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
83
-
84
-
85
- ** IMPORTANT **
86
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
87
84
  :param pulumi.Input[str] availability_domain: The name of the availability domain that the standby database DB system will be located in. For example- "Uocm:PHX-AD-1".
88
85
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_network_nsg_ids: A list of the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems.
89
86
  :param pulumi.Input[int] cpu_core_count: The number of CPU cores available for AMD-based virtual machine DB systems.
@@ -108,6 +105,11 @@ class DataGuardAssociationArgs:
108
105
  :param pulumi.Input[str] hostname: The hostname for the DB node.
109
106
  :param pulumi.Input[bool] is_active_data_guard_enabled: (Updatable) True if active Data Guard is enabled.
110
107
  :param pulumi.Input[str] license_model: The Oracle license model that applies to all the databases on the dataguard standby DB system. The default is LICENSE_INCLUDED. Bring your own license (BYOL) allows you to select the DB edition using the optional parameter, for Autonomous Database Serverless.
108
+ :param pulumi.Input[int] migrate_trigger: (Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
109
+
110
+
111
+ ** IMPORTANT **
112
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
111
113
  :param pulumi.Input[int] node_count: The number of nodes to launch for the DB system of the standby in the Data Guard association. For a 2-node RAC virtual machine DB system, specify either 1 or 2. If you do not supply this parameter, the default is the node count of the primary DB system.
112
114
  :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:**
113
115
  * A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
@@ -167,6 +169,8 @@ class DataGuardAssociationArgs:
167
169
  pulumi.set(__self__, "is_active_data_guard_enabled", is_active_data_guard_enabled)
168
170
  if license_model is not None:
169
171
  pulumi.set(__self__, "license_model", license_model)
172
+ if migrate_trigger is not None:
173
+ pulumi.set(__self__, "migrate_trigger", migrate_trigger)
170
174
  if node_count is not None:
171
175
  pulumi.set(__self__, "node_count", node_count)
172
176
  if nsg_ids is not None:
@@ -271,10 +275,6 @@ class DataGuardAssociationArgs:
271
275
  For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
272
276
 
273
277
  **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
274
-
275
-
276
- ** IMPORTANT **
277
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
278
278
  """
279
279
  return pulumi.get(self, "transport_type")
280
280
 
@@ -491,6 +491,22 @@ class DataGuardAssociationArgs:
491
491
  def license_model(self, value: Optional[pulumi.Input[str]]):
492
492
  pulumi.set(self, "license_model", value)
493
493
 
494
+ @property
495
+ @pulumi.getter(name="migrateTrigger")
496
+ def migrate_trigger(self) -> Optional[pulumi.Input[int]]:
497
+ """
498
+ (Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
499
+
500
+
501
+ ** IMPORTANT **
502
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
503
+ """
504
+ return pulumi.get(self, "migrate_trigger")
505
+
506
+ @migrate_trigger.setter
507
+ def migrate_trigger(self, value: Optional[pulumi.Input[int]]):
508
+ pulumi.set(self, "migrate_trigger", value)
509
+
494
510
  @property
495
511
  @pulumi.getter(name="nodeCount")
496
512
  def node_count(self) -> Optional[pulumi.Input[int]]:
@@ -669,6 +685,7 @@ class _DataGuardAssociationState:
669
685
  is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None,
670
686
  license_model: Optional[pulumi.Input[str]] = None,
671
687
  lifecycle_details: Optional[pulumi.Input[str]] = None,
688
+ migrate_trigger: Optional[pulumi.Input[int]] = None,
672
689
  node_count: Optional[pulumi.Input[int]] = None,
673
690
  nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
674
691
  peer_data_guard_association_id: Optional[pulumi.Input[str]] = None,
@@ -729,6 +746,11 @@ class _DataGuardAssociationState:
729
746
  :param pulumi.Input[bool] is_active_data_guard_enabled: (Updatable) True if active Data Guard is enabled.
730
747
  :param pulumi.Input[str] license_model: The Oracle license model that applies to all the databases on the dataguard standby DB system. The default is LICENSE_INCLUDED. Bring your own license (BYOL) allows you to select the DB edition using the optional parameter, for Autonomous Database Serverless.
731
748
  :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycleState, if available.
749
+ :param pulumi.Input[int] migrate_trigger: (Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
750
+
751
+
752
+ ** IMPORTANT **
753
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
732
754
  :param pulumi.Input[int] node_count: The number of nodes to launch for the DB system of the standby in the Data Guard association. For a 2-node RAC virtual machine DB system, specify either 1 or 2. If you do not supply this parameter, the default is the node count of the primary DB system.
733
755
  :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:**
734
756
  * A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
@@ -764,10 +786,6 @@ class _DataGuardAssociationState:
764
786
  For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
765
787
 
766
788
  **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
767
-
768
-
769
- ** IMPORTANT **
770
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
771
789
  """
772
790
  if apply_lag is not None:
773
791
  pulumi.set(__self__, "apply_lag", apply_lag)
@@ -817,6 +835,8 @@ class _DataGuardAssociationState:
817
835
  pulumi.set(__self__, "license_model", license_model)
818
836
  if lifecycle_details is not None:
819
837
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
838
+ if migrate_trigger is not None:
839
+ pulumi.set(__self__, "migrate_trigger", migrate_trigger)
820
840
  if node_count is not None:
821
841
  pulumi.set(__self__, "node_count", node_count)
822
842
  if nsg_ids is not None:
@@ -1156,6 +1176,22 @@ class _DataGuardAssociationState:
1156
1176
  def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
1157
1177
  pulumi.set(self, "lifecycle_details", value)
1158
1178
 
1179
+ @property
1180
+ @pulumi.getter(name="migrateTrigger")
1181
+ def migrate_trigger(self) -> Optional[pulumi.Input[int]]:
1182
+ """
1183
+ (Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
1184
+
1185
+
1186
+ ** IMPORTANT **
1187
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1188
+ """
1189
+ return pulumi.get(self, "migrate_trigger")
1190
+
1191
+ @migrate_trigger.setter
1192
+ def migrate_trigger(self, value: Optional[pulumi.Input[int]]):
1193
+ pulumi.set(self, "migrate_trigger", value)
1194
+
1159
1195
  @property
1160
1196
  @pulumi.getter(name="nodeCount")
1161
1197
  def node_count(self) -> Optional[pulumi.Input[int]]:
@@ -1404,10 +1440,6 @@ class _DataGuardAssociationState:
1404
1440
  For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
1405
1441
 
1406
1442
  **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
1407
-
1408
-
1409
- ** IMPORTANT **
1410
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1411
1443
  """
1412
1444
  return pulumi.get(self, "transport_type")
1413
1445
 
@@ -1442,6 +1474,7 @@ class DataGuardAssociation(pulumi.CustomResource):
1442
1474
  hostname: Optional[pulumi.Input[str]] = None,
1443
1475
  is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None,
1444
1476
  license_model: Optional[pulumi.Input[str]] = None,
1477
+ migrate_trigger: Optional[pulumi.Input[int]] = None,
1445
1478
  node_count: Optional[pulumi.Input[int]] = None,
1446
1479
  nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1447
1480
  peer_db_home_id: Optional[pulumi.Input[str]] = None,
@@ -1557,6 +1590,11 @@ class DataGuardAssociation(pulumi.CustomResource):
1557
1590
  :param pulumi.Input[str] hostname: The hostname for the DB node.
1558
1591
  :param pulumi.Input[bool] is_active_data_guard_enabled: (Updatable) True if active Data Guard is enabled.
1559
1592
  :param pulumi.Input[str] license_model: The Oracle license model that applies to all the databases on the dataguard standby DB system. The default is LICENSE_INCLUDED. Bring your own license (BYOL) allows you to select the DB edition using the optional parameter, for Autonomous Database Serverless.
1593
+ :param pulumi.Input[int] migrate_trigger: (Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
1594
+
1595
+
1596
+ ** IMPORTANT **
1597
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1560
1598
  :param pulumi.Input[int] node_count: The number of nodes to launch for the DB system of the standby in the Data Guard association. For a 2-node RAC virtual machine DB system, specify either 1 or 2. If you do not supply this parameter, the default is the node count of the primary DB system.
1561
1599
  :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:**
1562
1600
  * A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
@@ -1586,10 +1624,6 @@ class DataGuardAssociation(pulumi.CustomResource):
1586
1624
  For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
1587
1625
 
1588
1626
  **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
1589
-
1590
-
1591
- ** IMPORTANT **
1592
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1593
1627
  """
1594
1628
  ...
1595
1629
  @overload
@@ -1696,6 +1730,7 @@ class DataGuardAssociation(pulumi.CustomResource):
1696
1730
  hostname: Optional[pulumi.Input[str]] = None,
1697
1731
  is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None,
1698
1732
  license_model: Optional[pulumi.Input[str]] = None,
1733
+ migrate_trigger: Optional[pulumi.Input[int]] = None,
1699
1734
  node_count: Optional[pulumi.Input[int]] = None,
1700
1735
  nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1701
1736
  peer_db_home_id: Optional[pulumi.Input[str]] = None,
@@ -1748,6 +1783,7 @@ class DataGuardAssociation(pulumi.CustomResource):
1748
1783
  __props__.__dict__["hostname"] = hostname
1749
1784
  __props__.__dict__["is_active_data_guard_enabled"] = is_active_data_guard_enabled
1750
1785
  __props__.__dict__["license_model"] = license_model
1786
+ __props__.__dict__["migrate_trigger"] = migrate_trigger
1751
1787
  __props__.__dict__["node_count"] = node_count
1752
1788
  __props__.__dict__["nsg_ids"] = nsg_ids
1753
1789
  __props__.__dict__["peer_db_home_id"] = peer_db_home_id
@@ -1811,6 +1847,7 @@ class DataGuardAssociation(pulumi.CustomResource):
1811
1847
  is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None,
1812
1848
  license_model: Optional[pulumi.Input[str]] = None,
1813
1849
  lifecycle_details: Optional[pulumi.Input[str]] = None,
1850
+ migrate_trigger: Optional[pulumi.Input[int]] = None,
1814
1851
  node_count: Optional[pulumi.Input[int]] = None,
1815
1852
  nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1816
1853
  peer_data_guard_association_id: Optional[pulumi.Input[str]] = None,
@@ -1876,6 +1913,11 @@ class DataGuardAssociation(pulumi.CustomResource):
1876
1913
  :param pulumi.Input[bool] is_active_data_guard_enabled: (Updatable) True if active Data Guard is enabled.
1877
1914
  :param pulumi.Input[str] license_model: The Oracle license model that applies to all the databases on the dataguard standby DB system. The default is LICENSE_INCLUDED. Bring your own license (BYOL) allows you to select the DB edition using the optional parameter, for Autonomous Database Serverless.
1878
1915
  :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycleState, if available.
1916
+ :param pulumi.Input[int] migrate_trigger: (Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
1917
+
1918
+
1919
+ ** IMPORTANT **
1920
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1879
1921
  :param pulumi.Input[int] node_count: The number of nodes to launch for the DB system of the standby in the Data Guard association. For a 2-node RAC virtual machine DB system, specify either 1 or 2. If you do not supply this parameter, the default is the node count of the primary DB system.
1880
1922
  :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:**
1881
1923
  * A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.
@@ -1911,10 +1953,6 @@ class DataGuardAssociation(pulumi.CustomResource):
1911
1953
  For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
1912
1954
 
1913
1955
  **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
1914
-
1915
-
1916
- ** IMPORTANT **
1917
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1918
1956
  """
1919
1957
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1920
1958
 
@@ -1944,6 +1982,7 @@ class DataGuardAssociation(pulumi.CustomResource):
1944
1982
  __props__.__dict__["is_active_data_guard_enabled"] = is_active_data_guard_enabled
1945
1983
  __props__.__dict__["license_model"] = license_model
1946
1984
  __props__.__dict__["lifecycle_details"] = lifecycle_details
1985
+ __props__.__dict__["migrate_trigger"] = migrate_trigger
1947
1986
  __props__.__dict__["node_count"] = node_count
1948
1987
  __props__.__dict__["nsg_ids"] = nsg_ids
1949
1988
  __props__.__dict__["peer_data_guard_association_id"] = peer_data_guard_association_id
@@ -2168,6 +2207,18 @@ class DataGuardAssociation(pulumi.CustomResource):
2168
2207
  """
2169
2208
  return pulumi.get(self, "lifecycle_details")
2170
2209
 
2210
+ @property
2211
+ @pulumi.getter(name="migrateTrigger")
2212
+ def migrate_trigger(self) -> pulumi.Output[Optional[int]]:
2213
+ """
2214
+ (Updatable) An optional property when incremented triggers Migrate. Could be set to any integer value.
2215
+
2216
+
2217
+ ** IMPORTANT **
2218
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
2219
+ """
2220
+ return pulumi.get(self, "migrate_trigger")
2221
+
2171
2222
  @property
2172
2223
  @pulumi.getter(name="nodeCount")
2173
2224
  def node_count(self) -> pulumi.Output[Optional[int]]:
@@ -2340,10 +2391,6 @@ class DataGuardAssociation(pulumi.CustomResource):
2340
2391
  For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
2341
2392
 
2342
2393
  **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
2343
-
2344
-
2345
- ** IMPORTANT **
2346
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
2347
2394
  """
2348
2395
  return pulumi.get(self, "transport_type")
2349
2396
 
@@ -24,6 +24,8 @@ class DatabaseArgs:
24
24
  database: pulumi.Input['DatabaseDatabaseArgs'],
25
25
  db_home_id: pulumi.Input[str],
26
26
  source: pulumi.Input[str],
27
+ action_trigger: Optional[pulumi.Input[int]] = None,
28
+ data_guard_action: Optional[pulumi.Input[str]] = None,
27
29
  db_version: Optional[pulumi.Input[str]] = None,
28
30
  key_store_id: Optional[pulumi.Input[str]] = None,
29
31
  kms_key_id: Optional[pulumi.Input[str]] = None,
@@ -37,8 +39,9 @@ class DatabaseArgs:
37
39
 
38
40
  **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
39
41
  :param pulumi.Input[str] db_home_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
40
- :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. The default is `NONE`.
41
-
42
+ :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATAGUARD` for creating a new STANDBY database for a Data Guard setup. The default is `NONE`.
43
+ :param pulumi.Input[int] action_trigger: (Applicable when source=DATAGUARD) An optional property when incremented triggers Data Guard operations such as Failover, Switchover, Reinstate, Data Guard Configuration Update and Convert Standby Database to Standalone . Could be set to any integer value.
44
+ :param pulumi.Input[str] data_guard_action: Describes the Data Guard operation to be triggered. Could be set to a string value ('Switchover', 'Failover', 'Reinstate', 'DgConfig', "ConvertToStandalone').
42
45
 
43
46
  ** IMPORTANT **
44
47
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
@@ -55,6 +58,10 @@ class DatabaseArgs:
55
58
  pulumi.set(__self__, "database", database)
56
59
  pulumi.set(__self__, "db_home_id", db_home_id)
57
60
  pulumi.set(__self__, "source", source)
61
+ if action_trigger is not None:
62
+ pulumi.set(__self__, "action_trigger", action_trigger)
63
+ if data_guard_action is not None:
64
+ pulumi.set(__self__, "data_guard_action", data_guard_action)
58
65
  if db_version is not None:
59
66
  pulumi.set(__self__, "db_version", db_version)
60
67
  if key_store_id is not None:
@@ -100,11 +107,7 @@ class DatabaseArgs:
100
107
  @pulumi.getter
101
108
  def source(self) -> pulumi.Input[str]:
102
109
  """
103
- The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. The default is `NONE`.
104
-
105
-
106
- ** IMPORTANT **
107
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
110
+ The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATAGUARD` for creating a new STANDBY database for a Data Guard setup. The default is `NONE`.
108
111
  """
109
112
  return pulumi.get(self, "source")
110
113
 
@@ -112,6 +115,33 @@ class DatabaseArgs:
112
115
  def source(self, value: pulumi.Input[str]):
113
116
  pulumi.set(self, "source", value)
114
117
 
118
+ @property
119
+ @pulumi.getter(name="actionTrigger")
120
+ def action_trigger(self) -> Optional[pulumi.Input[int]]:
121
+ """
122
+ (Applicable when source=DATAGUARD) An optional property when incremented triggers Data Guard operations such as Failover, Switchover, Reinstate, Data Guard Configuration Update and Convert Standby Database to Standalone . Could be set to any integer value.
123
+ """
124
+ return pulumi.get(self, "action_trigger")
125
+
126
+ @action_trigger.setter
127
+ def action_trigger(self, value: Optional[pulumi.Input[int]]):
128
+ pulumi.set(self, "action_trigger", value)
129
+
130
+ @property
131
+ @pulumi.getter(name="dataGuardAction")
132
+ def data_guard_action(self) -> Optional[pulumi.Input[str]]:
133
+ """
134
+ Describes the Data Guard operation to be triggered. Could be set to a string value ('Switchover', 'Failover', 'Reinstate', 'DgConfig', "ConvertToStandalone').
135
+
136
+ ** IMPORTANT **
137
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
138
+ """
139
+ return pulumi.get(self, "data_guard_action")
140
+
141
+ @data_guard_action.setter
142
+ def data_guard_action(self, value: Optional[pulumi.Input[str]]):
143
+ pulumi.set(self, "data_guard_action", value)
144
+
115
145
  @property
116
146
  @pulumi.getter(name="dbVersion")
117
147
  def db_version(self) -> Optional[pulumi.Input[str]]:
@@ -202,9 +232,12 @@ class DatabaseArgs:
202
232
  @pulumi.input_type
203
233
  class _DatabaseState:
204
234
  def __init__(__self__, *,
235
+ action_trigger: Optional[pulumi.Input[int]] = None,
205
236
  character_set: Optional[pulumi.Input[str]] = None,
206
237
  compartment_id: Optional[pulumi.Input[str]] = None,
207
238
  connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseConnectionStringArgs']]]] = None,
239
+ data_guard_action: Optional[pulumi.Input[str]] = None,
240
+ data_guard_groups: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseDataGuardGroupArgs']]]] = None,
208
241
  database: Optional[pulumi.Input['DatabaseDatabaseArgs']] = None,
209
242
  database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseDatabaseManagementConfigArgs']]]] = None,
210
243
  database_software_image_id: Optional[pulumi.Input[str]] = None,
@@ -239,9 +272,15 @@ class _DatabaseState:
239
272
  vm_cluster_id: Optional[pulumi.Input[str]] = None):
240
273
  """
241
274
  Input properties used for looking up and filtering Database resources.
275
+ :param pulumi.Input[int] action_trigger: (Applicable when source=DATAGUARD) An optional property when incremented triggers Data Guard operations such as Failover, Switchover, Reinstate, Data Guard Configuration Update and Convert Standby Database to Standalone . Could be set to any integer value.
242
276
  :param pulumi.Input[str] character_set: The character set for the database.
243
277
  :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
244
278
  :param pulumi.Input[Sequence[pulumi.Input['DatabaseConnectionStringArgs']]] connection_strings: The Connection strings used to connect to the Oracle Database.
279
+ :param pulumi.Input[str] data_guard_action: Describes the Data Guard operation to be triggered. Could be set to a string value ('Switchover', 'Failover', 'Reinstate', 'DgConfig', "ConvertToStandalone').
280
+
281
+ ** IMPORTANT **
282
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
283
+ :param pulumi.Input[Sequence[pulumi.Input['DatabaseDataGuardGroupArgs']]] data_guard_groups: Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
245
284
  :param pulumi.Input['DatabaseDatabaseArgs'] database: (Updatable) Details for creating a database.
246
285
 
247
286
  **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
@@ -272,23 +311,25 @@ class _DatabaseState:
272
311
  :param pulumi.Input[str] ncharacter_set: The national character set for the database.
273
312
  :param pulumi.Input[str] pdb_name: The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
274
313
  :param pulumi.Input[str] sid_prefix: Specifies a prefix for the `Oracle SID` of the database to be created.
275
- :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. The default is `NONE`.
276
-
277
-
278
- ** IMPORTANT **
279
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
314
+ :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATAGUARD` for creating a new STANDBY database for a Data Guard setup. The default is `NONE`.
280
315
  :param pulumi.Input[str] source_database_point_in_time_recovery_timestamp: Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339)
281
316
  :param pulumi.Input[str] state: The current state of the database.
282
317
  :param pulumi.Input[str] time_created: The date and time the database was created.
283
318
  :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and `secretId` are required for Customer Managed Keys.
284
319
  :param pulumi.Input[str] vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster.
285
320
  """
321
+ if action_trigger is not None:
322
+ pulumi.set(__self__, "action_trigger", action_trigger)
286
323
  if character_set is not None:
287
324
  pulumi.set(__self__, "character_set", character_set)
288
325
  if compartment_id is not None:
289
326
  pulumi.set(__self__, "compartment_id", compartment_id)
290
327
  if connection_strings is not None:
291
328
  pulumi.set(__self__, "connection_strings", connection_strings)
329
+ if data_guard_action is not None:
330
+ pulumi.set(__self__, "data_guard_action", data_guard_action)
331
+ if data_guard_groups is not None:
332
+ pulumi.set(__self__, "data_guard_groups", data_guard_groups)
292
333
  if database is not None:
293
334
  pulumi.set(__self__, "database", database)
294
335
  if database_management_configs is not None:
@@ -354,6 +395,18 @@ class _DatabaseState:
354
395
  if vm_cluster_id is not None:
355
396
  pulumi.set(__self__, "vm_cluster_id", vm_cluster_id)
356
397
 
398
+ @property
399
+ @pulumi.getter(name="actionTrigger")
400
+ def action_trigger(self) -> Optional[pulumi.Input[int]]:
401
+ """
402
+ (Applicable when source=DATAGUARD) An optional property when incremented triggers Data Guard operations such as Failover, Switchover, Reinstate, Data Guard Configuration Update and Convert Standby Database to Standalone . Could be set to any integer value.
403
+ """
404
+ return pulumi.get(self, "action_trigger")
405
+
406
+ @action_trigger.setter
407
+ def action_trigger(self, value: Optional[pulumi.Input[int]]):
408
+ pulumi.set(self, "action_trigger", value)
409
+
357
410
  @property
358
411
  @pulumi.getter(name="characterSet")
359
412
  def character_set(self) -> Optional[pulumi.Input[str]]:
@@ -390,6 +443,33 @@ class _DatabaseState:
390
443
  def connection_strings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseConnectionStringArgs']]]]):
391
444
  pulumi.set(self, "connection_strings", value)
392
445
 
446
+ @property
447
+ @pulumi.getter(name="dataGuardAction")
448
+ def data_guard_action(self) -> Optional[pulumi.Input[str]]:
449
+ """
450
+ Describes the Data Guard operation to be triggered. Could be set to a string value ('Switchover', 'Failover', 'Reinstate', 'DgConfig', "ConvertToStandalone').
451
+
452
+ ** IMPORTANT **
453
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
454
+ """
455
+ return pulumi.get(self, "data_guard_action")
456
+
457
+ @data_guard_action.setter
458
+ def data_guard_action(self, value: Optional[pulumi.Input[str]]):
459
+ pulumi.set(self, "data_guard_action", value)
460
+
461
+ @property
462
+ @pulumi.getter(name="dataGuardGroups")
463
+ def data_guard_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseDataGuardGroupArgs']]]]:
464
+ """
465
+ Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
466
+ """
467
+ return pulumi.get(self, "data_guard_groups")
468
+
469
+ @data_guard_groups.setter
470
+ def data_guard_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseDataGuardGroupArgs']]]]):
471
+ pulumi.set(self, "data_guard_groups", value)
472
+
393
473
  @property
394
474
  @pulumi.getter
395
475
  def database(self) -> Optional[pulumi.Input['DatabaseDatabaseArgs']]:
@@ -710,11 +790,7 @@ class _DatabaseState:
710
790
  @pulumi.getter
711
791
  def source(self) -> Optional[pulumi.Input[str]]:
712
792
  """
713
- The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. The default is `NONE`.
714
-
715
-
716
- ** IMPORTANT **
717
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
793
+ The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATAGUARD` for creating a new STANDBY database for a Data Guard setup. The default is `NONE`.
718
794
  """
719
795
  return pulumi.get(self, "source")
720
796
 
@@ -788,6 +864,8 @@ class Database(pulumi.CustomResource):
788
864
  def __init__(__self__,
789
865
  resource_name: str,
790
866
  opts: Optional[pulumi.ResourceOptions] = None,
867
+ action_trigger: Optional[pulumi.Input[int]] = None,
868
+ data_guard_action: Optional[pulumi.Input[str]] = None,
791
869
  database: Optional[pulumi.Input[Union['DatabaseDatabaseArgs', 'DatabaseDatabaseArgsDict']]] = None,
792
870
  db_home_id: Optional[pulumi.Input[str]] = None,
793
871
  db_version: Optional[pulumi.Input[str]] = None,
@@ -816,6 +894,11 @@ class Database(pulumi.CustomResource):
816
894
 
817
895
  :param str resource_name: The name of the resource.
818
896
  :param pulumi.ResourceOptions opts: Options for the resource.
897
+ :param pulumi.Input[int] action_trigger: (Applicable when source=DATAGUARD) An optional property when incremented triggers Data Guard operations such as Failover, Switchover, Reinstate, Data Guard Configuration Update and Convert Standby Database to Standalone . Could be set to any integer value.
898
+ :param pulumi.Input[str] data_guard_action: Describes the Data Guard operation to be triggered. Could be set to a string value ('Switchover', 'Failover', 'Reinstate', 'DgConfig', "ConvertToStandalone').
899
+
900
+ ** IMPORTANT **
901
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
819
902
  :param pulumi.Input[Union['DatabaseDatabaseArgs', 'DatabaseDatabaseArgsDict']] database: (Updatable) Details for creating a database.
820
903
 
821
904
  **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
@@ -828,11 +911,7 @@ class Database(pulumi.CustomResource):
828
911
  :param pulumi.Input[bool] kms_key_migration: The value to migrate to the kms version from none. Can only use once by setting value to true. You can not switch back to non-kms once you created or migrated.(https://www.oracle.com/security/cloud-security/key-management/faq/)
829
912
  :param pulumi.Input[int] kms_key_rotation: The value to rotate the key version of current kms_key. Just change this value will trigger the rotation.
830
913
  :param pulumi.Input[str] kms_key_version_id: The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.
831
- :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. The default is `NONE`.
832
-
833
-
834
- ** IMPORTANT **
835
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
914
+ :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATAGUARD` for creating a new STANDBY database for a Data Guard setup. The default is `NONE`.
836
915
  :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and `secretId` are required for Customer Managed Keys.
837
916
  """
838
917
  ...
@@ -871,6 +950,8 @@ class Database(pulumi.CustomResource):
871
950
  def _internal_init(__self__,
872
951
  resource_name: str,
873
952
  opts: Optional[pulumi.ResourceOptions] = None,
953
+ action_trigger: Optional[pulumi.Input[int]] = None,
954
+ data_guard_action: Optional[pulumi.Input[str]] = None,
874
955
  database: Optional[pulumi.Input[Union['DatabaseDatabaseArgs', 'DatabaseDatabaseArgsDict']]] = None,
875
956
  db_home_id: Optional[pulumi.Input[str]] = None,
876
957
  db_version: Optional[pulumi.Input[str]] = None,
@@ -890,6 +971,8 @@ class Database(pulumi.CustomResource):
890
971
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
891
972
  __props__ = DatabaseArgs.__new__(DatabaseArgs)
892
973
 
974
+ __props__.__dict__["action_trigger"] = action_trigger
975
+ __props__.__dict__["data_guard_action"] = data_guard_action
893
976
  if database is None and not opts.urn:
894
977
  raise TypeError("Missing required property 'database'")
895
978
  __props__.__dict__["database"] = database
@@ -909,6 +992,7 @@ class Database(pulumi.CustomResource):
909
992
  __props__.__dict__["character_set"] = None
910
993
  __props__.__dict__["compartment_id"] = None
911
994
  __props__.__dict__["connection_strings"] = None
995
+ __props__.__dict__["data_guard_groups"] = None
912
996
  __props__.__dict__["database_management_configs"] = None
913
997
  __props__.__dict__["database_software_image_id"] = None
914
998
  __props__.__dict__["db_backup_configs"] = None
@@ -941,9 +1025,12 @@ class Database(pulumi.CustomResource):
941
1025
  def get(resource_name: str,
942
1026
  id: pulumi.Input[str],
943
1027
  opts: Optional[pulumi.ResourceOptions] = None,
1028
+ action_trigger: Optional[pulumi.Input[int]] = None,
944
1029
  character_set: Optional[pulumi.Input[str]] = None,
945
1030
  compartment_id: Optional[pulumi.Input[str]] = None,
946
1031
  connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseConnectionStringArgs', 'DatabaseConnectionStringArgsDict']]]]] = None,
1032
+ data_guard_action: Optional[pulumi.Input[str]] = None,
1033
+ data_guard_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseDataGuardGroupArgs', 'DatabaseDataGuardGroupArgsDict']]]]] = None,
947
1034
  database: Optional[pulumi.Input[Union['DatabaseDatabaseArgs', 'DatabaseDatabaseArgsDict']]] = None,
948
1035
  database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseDatabaseManagementConfigArgs', 'DatabaseDatabaseManagementConfigArgsDict']]]]] = None,
949
1036
  database_software_image_id: Optional[pulumi.Input[str]] = None,
@@ -983,9 +1070,15 @@ class Database(pulumi.CustomResource):
983
1070
  :param str resource_name: The unique name of the resulting resource.
984
1071
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
985
1072
  :param pulumi.ResourceOptions opts: Options for the resource.
1073
+ :param pulumi.Input[int] action_trigger: (Applicable when source=DATAGUARD) An optional property when incremented triggers Data Guard operations such as Failover, Switchover, Reinstate, Data Guard Configuration Update and Convert Standby Database to Standalone . Could be set to any integer value.
986
1074
  :param pulumi.Input[str] character_set: The character set for the database.
987
1075
  :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
988
1076
  :param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseConnectionStringArgs', 'DatabaseConnectionStringArgsDict']]]] connection_strings: The Connection strings used to connect to the Oracle Database.
1077
+ :param pulumi.Input[str] data_guard_action: Describes the Data Guard operation to be triggered. Could be set to a string value ('Switchover', 'Failover', 'Reinstate', 'DgConfig', "ConvertToStandalone').
1078
+
1079
+ ** IMPORTANT **
1080
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1081
+ :param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseDataGuardGroupArgs', 'DatabaseDataGuardGroupArgsDict']]]] data_guard_groups: Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
989
1082
  :param pulumi.Input[Union['DatabaseDatabaseArgs', 'DatabaseDatabaseArgsDict']] database: (Updatable) Details for creating a database.
990
1083
 
991
1084
  **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
@@ -1016,11 +1109,7 @@ class Database(pulumi.CustomResource):
1016
1109
  :param pulumi.Input[str] ncharacter_set: The national character set for the database.
1017
1110
  :param pulumi.Input[str] pdb_name: The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
1018
1111
  :param pulumi.Input[str] sid_prefix: Specifies a prefix for the `Oracle SID` of the database to be created.
1019
- :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. The default is `NONE`.
1020
-
1021
-
1022
- ** IMPORTANT **
1023
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1112
+ :param pulumi.Input[str] source: The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATAGUARD` for creating a new STANDBY database for a Data Guard setup. The default is `NONE`.
1024
1113
  :param pulumi.Input[str] source_database_point_in_time_recovery_timestamp: Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339)
1025
1114
  :param pulumi.Input[str] state: The current state of the database.
1026
1115
  :param pulumi.Input[str] time_created: The date and time the database was created.
@@ -1031,9 +1120,12 @@ class Database(pulumi.CustomResource):
1031
1120
 
1032
1121
  __props__ = _DatabaseState.__new__(_DatabaseState)
1033
1122
 
1123
+ __props__.__dict__["action_trigger"] = action_trigger
1034
1124
  __props__.__dict__["character_set"] = character_set
1035
1125
  __props__.__dict__["compartment_id"] = compartment_id
1036
1126
  __props__.__dict__["connection_strings"] = connection_strings
1127
+ __props__.__dict__["data_guard_action"] = data_guard_action
1128
+ __props__.__dict__["data_guard_groups"] = data_guard_groups
1037
1129
  __props__.__dict__["database"] = database
1038
1130
  __props__.__dict__["database_management_configs"] = database_management_configs
1039
1131
  __props__.__dict__["database_software_image_id"] = database_software_image_id
@@ -1068,6 +1160,14 @@ class Database(pulumi.CustomResource):
1068
1160
  __props__.__dict__["vm_cluster_id"] = vm_cluster_id
1069
1161
  return Database(resource_name, opts=opts, __props__=__props__)
1070
1162
 
1163
+ @property
1164
+ @pulumi.getter(name="actionTrigger")
1165
+ def action_trigger(self) -> pulumi.Output[Optional[int]]:
1166
+ """
1167
+ (Applicable when source=DATAGUARD) An optional property when incremented triggers Data Guard operations such as Failover, Switchover, Reinstate, Data Guard Configuration Update and Convert Standby Database to Standalone . Could be set to any integer value.
1168
+ """
1169
+ return pulumi.get(self, "action_trigger")
1170
+
1071
1171
  @property
1072
1172
  @pulumi.getter(name="characterSet")
1073
1173
  def character_set(self) -> pulumi.Output[str]:
@@ -1092,6 +1192,25 @@ class Database(pulumi.CustomResource):
1092
1192
  """
1093
1193
  return pulumi.get(self, "connection_strings")
1094
1194
 
1195
+ @property
1196
+ @pulumi.getter(name="dataGuardAction")
1197
+ def data_guard_action(self) -> pulumi.Output[Optional[str]]:
1198
+ """
1199
+ Describes the Data Guard operation to be triggered. Could be set to a string value ('Switchover', 'Failover', 'Reinstate', 'DgConfig', "ConvertToStandalone').
1200
+
1201
+ ** IMPORTANT **
1202
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1203
+ """
1204
+ return pulumi.get(self, "data_guard_action")
1205
+
1206
+ @property
1207
+ @pulumi.getter(name="dataGuardGroups")
1208
+ def data_guard_groups(self) -> pulumi.Output[Sequence['outputs.DatabaseDataGuardGroup']]:
1209
+ """
1210
+ Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
1211
+ """
1212
+ return pulumi.get(self, "data_guard_groups")
1213
+
1095
1214
  @property
1096
1215
  @pulumi.getter
1097
1216
  def database(self) -> pulumi.Output['outputs.DatabaseDatabase']:
@@ -1308,11 +1427,7 @@ class Database(pulumi.CustomResource):
1308
1427
  @pulumi.getter
1309
1428
  def source(self) -> pulumi.Output[str]:
1310
1429
  """
1311
- The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. The default is `NONE`.
1312
-
1313
-
1314
- ** IMPORTANT **
1315
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1430
+ The source of the database: Use `NONE` for creating a new database. Use `DB_BACKUP` for creating a new database by restoring from a backup. Use `DATAGUARD` for creating a new STANDBY database for a Data Guard setup. The default is `NONE`.
1316
1431
  """
1317
1432
  return pulumi.get(self, "source")
1318
1433