Class: OCI::Database::Models::AutonomousDatabaseSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/oci/database/models/autonomous_database_summary.rb

Overview

An Oracle Autonomous Database.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Constant Summary collapse

LIFECYCLE_STATE_ENUM =
[
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'.freeze,
  LIFECYCLE_STATE_STOPPING = 'STOPPING'.freeze,
  LIFECYCLE_STATE_STOPPED = 'STOPPED'.freeze,
  LIFECYCLE_STATE_STARTING = 'STARTING'.freeze,
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING'.freeze,
  LIFECYCLE_STATE_TERMINATED = 'TERMINATED'.freeze,
  LIFECYCLE_STATE_UNAVAILABLE = 'UNAVAILABLE'.freeze,
  LIFECYCLE_STATE_RESTORE_IN_PROGRESS = 'RESTORE_IN_PROGRESS'.freeze,
  LIFECYCLE_STATE_RESTORE_FAILED = 'RESTORE_FAILED'.freeze,
  LIFECYCLE_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'.freeze,
  LIFECYCLE_STATE_SCALE_IN_PROGRESS = 'SCALE_IN_PROGRESS'.freeze,
  LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTION = 'AVAILABLE_NEEDS_ATTENTION'.freeze,
  LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
  LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'.freeze,
  LIFECYCLE_STATE_RESTARTING = 'RESTARTING'.freeze,
  LIFECYCLE_STATE_RECREATING = 'RECREATING'.freeze,
  LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS = 'ROLE_CHANGE_IN_PROGRESS'.freeze,
  LIFECYCLE_STATE_UPGRADING = 'UPGRADING'.freeze,
  LIFECYCLE_STATE_INACCESSIBLE = 'INACCESSIBLE'.freeze,
  LIFECYCLE_STATE_STANDBY = 'STANDBY'.freeze,
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
COMPUTE_MODEL_ENUM =
[
  COMPUTE_MODEL_ECPU = 'ECPU'.freeze,
  COMPUTE_MODEL_OCPU = 'OCPU'.freeze,
  COMPUTE_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
INFRASTRUCTURE_TYPE_ENUM =
[
  INFRASTRUCTURE_TYPE_CLOUD = 'CLOUD'.freeze,
  INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'.freeze,
  INFRASTRUCTURE_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
LICENSE_MODEL_ENUM =
[
  LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'.freeze,
  LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'.freeze,
  LICENSE_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
DB_WORKLOAD_ENUM =
[
  DB_WORKLOAD_OLTP = 'OLTP'.freeze,
  DB_WORKLOAD_DW = 'DW'.freeze,
  DB_WORKLOAD_AJD = 'AJD'.freeze,
  DB_WORKLOAD_APEX = 'APEX'.freeze,
  DB_WORKLOAD_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
DATA_SAFE_STATUS_ENUM =
[
  DATA_SAFE_STATUS_REGISTERING = 'REGISTERING'.freeze,
  DATA_SAFE_STATUS_REGISTERED = 'REGISTERED'.freeze,
  DATA_SAFE_STATUS_DEREGISTERING = 'DEREGISTERING'.freeze,
  DATA_SAFE_STATUS_NOT_REGISTERED = 'NOT_REGISTERED'.freeze,
  DATA_SAFE_STATUS_FAILED = 'FAILED'.freeze,
  DATA_SAFE_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
OPERATIONS_INSIGHTS_STATUS_ENUM =
[
  OPERATIONS_INSIGHTS_STATUS_ENABLING = 'ENABLING'.freeze,
  OPERATIONS_INSIGHTS_STATUS_ENABLED = 'ENABLED'.freeze,
  OPERATIONS_INSIGHTS_STATUS_DISABLING = 'DISABLING'.freeze,
  OPERATIONS_INSIGHTS_STATUS_NOT_ENABLED = 'NOT_ENABLED'.freeze,
  OPERATIONS_INSIGHTS_STATUS_FAILED_ENABLING = 'FAILED_ENABLING'.freeze,
  OPERATIONS_INSIGHTS_STATUS_FAILED_DISABLING = 'FAILED_DISABLING'.freeze,
  OPERATIONS_INSIGHTS_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
DATABASE_MANAGEMENT_STATUS_ENUM =
[
  DATABASE_MANAGEMENT_STATUS_ENABLING = 'ENABLING'.freeze,
  DATABASE_MANAGEMENT_STATUS_ENABLED = 'ENABLED'.freeze,
  DATABASE_MANAGEMENT_STATUS_DISABLING = 'DISABLING'.freeze,
  DATABASE_MANAGEMENT_STATUS_NOT_ENABLED = 'NOT_ENABLED'.freeze,
  DATABASE_MANAGEMENT_STATUS_FAILED_ENABLING = 'FAILED_ENABLING'.freeze,
  DATABASE_MANAGEMENT_STATUS_FAILED_DISABLING = 'FAILED_DISABLING'.freeze,
  DATABASE_MANAGEMENT_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
OPEN_MODE_ENUM =
[
  OPEN_MODE_READ_ONLY = 'READ_ONLY'.freeze,
  OPEN_MODE_READ_WRITE = 'READ_WRITE'.freeze,
  OPEN_MODE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
REFRESHABLE_STATUS_ENUM =
[
  REFRESHABLE_STATUS_REFRESHING = 'REFRESHING'.freeze,
  REFRESHABLE_STATUS_NOT_REFRESHING = 'NOT_REFRESHING'.freeze,
  REFRESHABLE_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
REFRESHABLE_MODE_ENUM =
[
  REFRESHABLE_MODE_AUTOMATIC = 'AUTOMATIC'.freeze,
  REFRESHABLE_MODE_MANUAL = 'MANUAL'.freeze,
  REFRESHABLE_MODE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
PERMISSION_LEVEL_ENUM =
[
  PERMISSION_LEVEL_RESTRICTED = 'RESTRICTED'.freeze,
  PERMISSION_LEVEL_UNRESTRICTED = 'UNRESTRICTED'.freeze,
  PERMISSION_LEVEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
ROLE_ENUM =
[
  ROLE_PRIMARY = 'PRIMARY'.freeze,
  ROLE_STANDBY = 'STANDBY'.freeze,
  ROLE_DISABLED_STANDBY = 'DISABLED_STANDBY'.freeze,
  ROLE_BACKUP_COPY = 'BACKUP_COPY'.freeze,
  ROLE_SNAPSHOT_STANDBY = 'SNAPSHOT_STANDBY'.freeze,
  ROLE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
DATAGUARD_REGION_TYPE_ENUM =
[
  DATAGUARD_REGION_TYPE_PRIMARY_DG_REGION = 'PRIMARY_DG_REGION'.freeze,
  DATAGUARD_REGION_TYPE_REMOTE_STANDBY_DG_REGION = 'REMOTE_STANDBY_DG_REGION'.freeze,
  DATAGUARD_REGION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
AUTONOMOUS_MAINTENANCE_SCHEDULE_TYPE_ENUM =
[
  AUTONOMOUS_MAINTENANCE_SCHEDULE_TYPE_EARLY = 'EARLY'.freeze,
  AUTONOMOUS_MAINTENANCE_SCHEDULE_TYPE_REGULAR = 'REGULAR'.freeze,
  AUTONOMOUS_MAINTENANCE_SCHEDULE_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
DATABASE_EDITION_ENUM =
[
  DATABASE_EDITION_STANDARD_EDITION = 'STANDARD_EDITION'.freeze,
  DATABASE_EDITION_ENTERPRISE_EDITION = 'ENTERPRISE_EDITION'.freeze,
  DATABASE_EDITION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
DISASTER_RECOVERY_REGION_TYPE_ENUM =
[
  DISASTER_RECOVERY_REGION_TYPE_PRIMARY = 'PRIMARY'.freeze,
  DISASTER_RECOVERY_REGION_TYPE_REMOTE = 'REMOTE'.freeze,
  DISASTER_RECOVERY_REGION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
NET_SERVICES_ARCHITECTURE_ENUM =
[
  NET_SERVICES_ARCHITECTURE_DEDICATED = 'DEDICATED'.freeze,
  NET_SERVICES_ARCHITECTURE_SHARED = 'SHARED'.freeze,
  NET_SERVICES_ARCHITECTURE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ AutonomousDatabaseSummary

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash

Options Hash (attributes):



1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 1219

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  self.id = attributes[:'id'] if attributes[:'id']

  self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']

  raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')

  self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']

  self.subscription_id = attributes[:'subscriptionId'] if attributes[:'subscriptionId']

  raise 'You cannot provide both :subscriptionId and :subscription_id' if attributes.key?(:'subscriptionId') && attributes.key?(:'subscription_id')

  self.subscription_id = attributes[:'subscription_id'] if attributes[:'subscription_id']

  self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']

  raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')

  self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']

  self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails']

  raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')

  self.lifecycle_details = attributes[:'lifecycle_details'] if attributes[:'lifecycle_details']

  self.kms_key_id = attributes[:'kmsKeyId'] if attributes[:'kmsKeyId']

  raise 'You cannot provide both :kmsKeyId and :kms_key_id' if attributes.key?(:'kmsKeyId') && attributes.key?(:'kms_key_id')

  self.kms_key_id = attributes[:'kms_key_id'] if attributes[:'kms_key_id']

  self.vault_id = attributes[:'vaultId'] if attributes[:'vaultId']

  raise 'You cannot provide both :vaultId and :vault_id' if attributes.key?(:'vaultId') && attributes.key?(:'vault_id')

  self.vault_id = attributes[:'vault_id'] if attributes[:'vault_id']

  self.kms_key_lifecycle_details = attributes[:'kmsKeyLifecycleDetails'] if attributes[:'kmsKeyLifecycleDetails']

  raise 'You cannot provide both :kmsKeyLifecycleDetails and :kms_key_lifecycle_details' if attributes.key?(:'kmsKeyLifecycleDetails') && attributes.key?(:'kms_key_lifecycle_details')

  self.kms_key_lifecycle_details = attributes[:'kms_key_lifecycle_details'] if attributes[:'kms_key_lifecycle_details']

  self.encryption_key = attributes[:'encryptionKey'] if attributes[:'encryptionKey']

  raise 'You cannot provide both :encryptionKey and :encryption_key' if attributes.key?(:'encryptionKey') && attributes.key?(:'encryption_key')

  self.encryption_key = attributes[:'encryption_key'] if attributes[:'encryption_key']

  self.kms_key_version_id = attributes[:'kmsKeyVersionId'] if attributes[:'kmsKeyVersionId']

  raise 'You cannot provide both :kmsKeyVersionId and :kms_key_version_id' if attributes.key?(:'kmsKeyVersionId') && attributes.key?(:'kms_key_version_id')

  self.kms_key_version_id = attributes[:'kms_key_version_id'] if attributes[:'kms_key_version_id']

  self.db_name = attributes[:'dbName'] if attributes[:'dbName']

  raise 'You cannot provide both :dbName and :db_name' if attributes.key?(:'dbName') && attributes.key?(:'db_name')

  self.db_name = attributes[:'db_name'] if attributes[:'db_name']

  self.character_set = attributes[:'characterSet'] if attributes[:'characterSet']

  raise 'You cannot provide both :characterSet and :character_set' if attributes.key?(:'characterSet') && attributes.key?(:'character_set')

  self.character_set = attributes[:'character_set'] if attributes[:'character_set']

  self.ncharacter_set = attributes[:'ncharacterSet'] if attributes[:'ncharacterSet']

  raise 'You cannot provide both :ncharacterSet and :ncharacter_set' if attributes.key?(:'ncharacterSet') && attributes.key?(:'ncharacter_set')

  self.ncharacter_set = attributes[:'ncharacter_set'] if attributes[:'ncharacter_set']

  self.in_memory_percentage = attributes[:'inMemoryPercentage'] if attributes[:'inMemoryPercentage']

  raise 'You cannot provide both :inMemoryPercentage and :in_memory_percentage' if attributes.key?(:'inMemoryPercentage') && attributes.key?(:'in_memory_percentage')

  self.in_memory_percentage = attributes[:'in_memory_percentage'] if attributes[:'in_memory_percentage']

  self.in_memory_area_in_gbs = attributes[:'inMemoryAreaInGBs'] if attributes[:'inMemoryAreaInGBs']

  raise 'You cannot provide both :inMemoryAreaInGBs and :in_memory_area_in_gbs' if attributes.key?(:'inMemoryAreaInGBs') && attributes.key?(:'in_memory_area_in_gbs')

  self.in_memory_area_in_gbs = attributes[:'in_memory_area_in_gbs'] if attributes[:'in_memory_area_in_gbs']

  self.next_long_term_backup_time_stamp = attributes[:'nextLongTermBackupTimeStamp'] if attributes[:'nextLongTermBackupTimeStamp']

  raise 'You cannot provide both :nextLongTermBackupTimeStamp and :next_long_term_backup_time_stamp' if attributes.key?(:'nextLongTermBackupTimeStamp') && attributes.key?(:'next_long_term_backup_time_stamp')

  self.next_long_term_backup_time_stamp = attributes[:'next_long_term_backup_time_stamp'] if attributes[:'next_long_term_backup_time_stamp']

  self.long_term_backup_schedule = attributes[:'longTermBackupSchedule'] if attributes[:'longTermBackupSchedule']

  raise 'You cannot provide both :longTermBackupSchedule and :long_term_backup_schedule' if attributes.key?(:'longTermBackupSchedule') && attributes.key?(:'long_term_backup_schedule')

  self.long_term_backup_schedule = attributes[:'long_term_backup_schedule'] if attributes[:'long_term_backup_schedule']

  self.is_free_tier = attributes[:'isFreeTier'] unless attributes[:'isFreeTier'].nil?
  self.is_free_tier = false if is_free_tier.nil? && !attributes.key?(:'isFreeTier') # rubocop:disable Style/StringLiterals

  raise 'You cannot provide both :isFreeTier and :is_free_tier' if attributes.key?(:'isFreeTier') && attributes.key?(:'is_free_tier')

  self.is_free_tier = attributes[:'is_free_tier'] unless attributes[:'is_free_tier'].nil?
  self.is_free_tier = false if is_free_tier.nil? && !attributes.key?(:'isFreeTier') && !attributes.key?(:'is_free_tier') # rubocop:disable Style/StringLiterals

  self.system_tags = attributes[:'systemTags'] if attributes[:'systemTags']

  raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags')

  self.system_tags = attributes[:'system_tags'] if attributes[:'system_tags']

  self.time_reclamation_of_free_autonomous_database = attributes[:'timeReclamationOfFreeAutonomousDatabase'] if attributes[:'timeReclamationOfFreeAutonomousDatabase']

  raise 'You cannot provide both :timeReclamationOfFreeAutonomousDatabase and :time_reclamation_of_free_autonomous_database' if attributes.key?(:'timeReclamationOfFreeAutonomousDatabase') && attributes.key?(:'time_reclamation_of_free_autonomous_database')

  self.time_reclamation_of_free_autonomous_database = attributes[:'time_reclamation_of_free_autonomous_database'] if attributes[:'time_reclamation_of_free_autonomous_database']

  self.time_deletion_of_free_autonomous_database = attributes[:'timeDeletionOfFreeAutonomousDatabase'] if attributes[:'timeDeletionOfFreeAutonomousDatabase']

  raise 'You cannot provide both :timeDeletionOfFreeAutonomousDatabase and :time_deletion_of_free_autonomous_database' if attributes.key?(:'timeDeletionOfFreeAutonomousDatabase') && attributes.key?(:'time_deletion_of_free_autonomous_database')

  self.time_deletion_of_free_autonomous_database = attributes[:'time_deletion_of_free_autonomous_database'] if attributes[:'time_deletion_of_free_autonomous_database']

  self.backup_config = attributes[:'backupConfig'] if attributes[:'backupConfig']

  raise 'You cannot provide both :backupConfig and :backup_config' if attributes.key?(:'backupConfig') && attributes.key?(:'backup_config')

  self.backup_config = attributes[:'backup_config'] if attributes[:'backup_config']

  self.key_history_entry = attributes[:'keyHistoryEntry'] if attributes[:'keyHistoryEntry']

  raise 'You cannot provide both :keyHistoryEntry and :key_history_entry' if attributes.key?(:'keyHistoryEntry') && attributes.key?(:'key_history_entry')

  self.key_history_entry = attributes[:'key_history_entry'] if attributes[:'key_history_entry']

  self.encryption_key_history_entry = attributes[:'encryptionKeyHistoryEntry'] if attributes[:'encryptionKeyHistoryEntry']

  raise 'You cannot provide both :encryptionKeyHistoryEntry and :encryption_key_history_entry' if attributes.key?(:'encryptionKeyHistoryEntry') && attributes.key?(:'encryption_key_history_entry')

  self.encryption_key_history_entry = attributes[:'encryption_key_history_entry'] if attributes[:'encryption_key_history_entry']

  self.cpu_core_count = attributes[:'cpuCoreCount'] if attributes[:'cpuCoreCount']

  raise 'You cannot provide both :cpuCoreCount and :cpu_core_count' if attributes.key?(:'cpuCoreCount') && attributes.key?(:'cpu_core_count')

  self.cpu_core_count = attributes[:'cpu_core_count'] if attributes[:'cpu_core_count']

  self.local_adg_auto_failover_max_data_loss_limit = attributes[:'localAdgAutoFailoverMaxDataLossLimit'] if attributes[:'localAdgAutoFailoverMaxDataLossLimit']

  raise 'You cannot provide both :localAdgAutoFailoverMaxDataLossLimit and :local_adg_auto_failover_max_data_loss_limit' if attributes.key?(:'localAdgAutoFailoverMaxDataLossLimit') && attributes.key?(:'local_adg_auto_failover_max_data_loss_limit')

  self.local_adg_auto_failover_max_data_loss_limit = attributes[:'local_adg_auto_failover_max_data_loss_limit'] if attributes[:'local_adg_auto_failover_max_data_loss_limit']

  self.compute_model = attributes[:'computeModel'] if attributes[:'computeModel']

  raise 'You cannot provide both :computeModel and :compute_model' if attributes.key?(:'computeModel') && attributes.key?(:'compute_model')

  self.compute_model = attributes[:'compute_model'] if attributes[:'compute_model']

  self.compute_count = attributes[:'computeCount'] if attributes[:'computeCount']

  raise 'You cannot provide both :computeCount and :compute_count' if attributes.key?(:'computeCount') && attributes.key?(:'compute_count')

  self.compute_count = attributes[:'compute_count'] if attributes[:'compute_count']

  self.backup_retention_period_in_days = attributes[:'backupRetentionPeriodInDays'] if attributes[:'backupRetentionPeriodInDays']

  raise 'You cannot provide both :backupRetentionPeriodInDays and :backup_retention_period_in_days' if attributes.key?(:'backupRetentionPeriodInDays') && attributes.key?(:'backup_retention_period_in_days')

  self.backup_retention_period_in_days = attributes[:'backup_retention_period_in_days'] if attributes[:'backup_retention_period_in_days']

  self.total_backup_storage_size_in_gbs = attributes[:'totalBackupStorageSizeInGBs'] if attributes[:'totalBackupStorageSizeInGBs']

  raise 'You cannot provide both :totalBackupStorageSizeInGBs and :total_backup_storage_size_in_gbs' if attributes.key?(:'totalBackupStorageSizeInGBs') && attributes.key?(:'total_backup_storage_size_in_gbs')

  self.total_backup_storage_size_in_gbs = attributes[:'total_backup_storage_size_in_gbs'] if attributes[:'total_backup_storage_size_in_gbs']

  self.ocpu_count = attributes[:'ocpuCount'] if attributes[:'ocpuCount']

  raise 'You cannot provide both :ocpuCount and :ocpu_count' if attributes.key?(:'ocpuCount') && attributes.key?(:'ocpu_count')

  self.ocpu_count = attributes[:'ocpu_count'] if attributes[:'ocpu_count']

  self.provisionable_cpus = attributes[:'provisionableCpus'] if attributes[:'provisionableCpus']

  raise 'You cannot provide both :provisionableCpus and :provisionable_cpus' if attributes.key?(:'provisionableCpus') && attributes.key?(:'provisionable_cpus')

  self.provisionable_cpus = attributes[:'provisionable_cpus'] if attributes[:'provisionable_cpus']

  self.data_storage_size_in_tbs = attributes[:'dataStorageSizeInTBs'] if attributes[:'dataStorageSizeInTBs']

  raise 'You cannot provide both :dataStorageSizeInTBs and :data_storage_size_in_tbs' if attributes.key?(:'dataStorageSizeInTBs') && attributes.key?(:'data_storage_size_in_tbs')

  self.data_storage_size_in_tbs = attributes[:'data_storage_size_in_tbs'] if attributes[:'data_storage_size_in_tbs']

  self.memory_per_oracle_compute_unit_in_gbs = attributes[:'memoryPerOracleComputeUnitInGBs'] if attributes[:'memoryPerOracleComputeUnitInGBs']

  raise 'You cannot provide both :memoryPerOracleComputeUnitInGBs and :memory_per_oracle_compute_unit_in_gbs' if attributes.key?(:'memoryPerOracleComputeUnitInGBs') && attributes.key?(:'memory_per_oracle_compute_unit_in_gbs')

  self.memory_per_oracle_compute_unit_in_gbs = attributes[:'memory_per_oracle_compute_unit_in_gbs'] if attributes[:'memory_per_oracle_compute_unit_in_gbs']

  self.data_storage_size_in_gbs = attributes[:'dataStorageSizeInGBs'] if attributes[:'dataStorageSizeInGBs']

  raise 'You cannot provide both :dataStorageSizeInGBs and :data_storage_size_in_gbs' if attributes.key?(:'dataStorageSizeInGBs') && attributes.key?(:'data_storage_size_in_gbs')

  self.data_storage_size_in_gbs = attributes[:'data_storage_size_in_gbs'] if attributes[:'data_storage_size_in_gbs']

  self.used_data_storage_size_in_gbs = attributes[:'usedDataStorageSizeInGBs'] if attributes[:'usedDataStorageSizeInGBs']

  raise 'You cannot provide both :usedDataStorageSizeInGBs and :used_data_storage_size_in_gbs' if attributes.key?(:'usedDataStorageSizeInGBs') && attributes.key?(:'used_data_storage_size_in_gbs')

  self.used_data_storage_size_in_gbs = attributes[:'used_data_storage_size_in_gbs'] if attributes[:'used_data_storage_size_in_gbs']

  self.infrastructure_type = attributes[:'infrastructureType'] if attributes[:'infrastructureType']

  raise 'You cannot provide both :infrastructureType and :infrastructure_type' if attributes.key?(:'infrastructureType') && attributes.key?(:'infrastructure_type')

  self.infrastructure_type = attributes[:'infrastructure_type'] if attributes[:'infrastructure_type']

  self.is_dedicated = attributes[:'isDedicated'] unless attributes[:'isDedicated'].nil?

  raise 'You cannot provide both :isDedicated and :is_dedicated' if attributes.key?(:'isDedicated') && attributes.key?(:'is_dedicated')

  self.is_dedicated = attributes[:'is_dedicated'] unless attributes[:'is_dedicated'].nil?

  self.autonomous_container_database_id = attributes[:'autonomousContainerDatabaseId'] if attributes[:'autonomousContainerDatabaseId']

  raise 'You cannot provide both :autonomousContainerDatabaseId and :autonomous_container_database_id' if attributes.key?(:'autonomousContainerDatabaseId') && attributes.key?(:'autonomous_container_database_id')

  self.autonomous_container_database_id = attributes[:'autonomous_container_database_id'] if attributes[:'autonomous_container_database_id']

  self.is_backup_retention_locked = attributes[:'isBackupRetentionLocked'] unless attributes[:'isBackupRetentionLocked'].nil?

  raise 'You cannot provide both :isBackupRetentionLocked and :is_backup_retention_locked' if attributes.key?(:'isBackupRetentionLocked') && attributes.key?(:'is_backup_retention_locked')

  self.is_backup_retention_locked = attributes[:'is_backup_retention_locked'] unless attributes[:'is_backup_retention_locked'].nil?

  self.time_undeleted = attributes[:'timeUndeleted'] if attributes[:'timeUndeleted']

  raise 'You cannot provide both :timeUndeleted and :time_undeleted' if attributes.key?(:'timeUndeleted') && attributes.key?(:'time_undeleted')

  self.time_undeleted = attributes[:'time_undeleted'] if attributes[:'time_undeleted']

  self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']

  raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')

  self.time_created = attributes[:'time_created'] if attributes[:'time_created']

  self.display_name = attributes[:'displayName'] if attributes[:'displayName']

  raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')

  self.display_name = attributes[:'display_name'] if attributes[:'display_name']

  self.service_console_url = attributes[:'serviceConsoleUrl'] if attributes[:'serviceConsoleUrl']

  raise 'You cannot provide both :serviceConsoleUrl and :service_console_url' if attributes.key?(:'serviceConsoleUrl') && attributes.key?(:'service_console_url')

  self.service_console_url = attributes[:'service_console_url'] if attributes[:'service_console_url']

  self.connection_strings = attributes[:'connectionStrings'] if attributes[:'connectionStrings']

  raise 'You cannot provide both :connectionStrings and :connection_strings' if attributes.key?(:'connectionStrings') && attributes.key?(:'connection_strings')

  self.connection_strings = attributes[:'connection_strings'] if attributes[:'connection_strings']

  self.connection_urls = attributes[:'connectionUrls'] if attributes[:'connectionUrls']

  raise 'You cannot provide both :connectionUrls and :connection_urls' if attributes.key?(:'connectionUrls') && attributes.key?(:'connection_urls')

  self.connection_urls = attributes[:'connection_urls'] if attributes[:'connection_urls']

  self.public_connection_urls = attributes[:'publicConnectionUrls'] if attributes[:'publicConnectionUrls']

  raise 'You cannot provide both :publicConnectionUrls and :public_connection_urls' if attributes.key?(:'publicConnectionUrls') && attributes.key?(:'public_connection_urls')

  self.public_connection_urls = attributes[:'public_connection_urls'] if attributes[:'public_connection_urls']

  self.license_model = attributes[:'licenseModel'] if attributes[:'licenseModel']

  raise 'You cannot provide both :licenseModel and :license_model' if attributes.key?(:'licenseModel') && attributes.key?(:'license_model')

  self.license_model = attributes[:'license_model'] if attributes[:'license_model']

  self.byol_compute_count_limit = attributes[:'byolComputeCountLimit'] if attributes[:'byolComputeCountLimit']

  raise 'You cannot provide both :byolComputeCountLimit and :byol_compute_count_limit' if attributes.key?(:'byolComputeCountLimit') && attributes.key?(:'byol_compute_count_limit')

  self.byol_compute_count_limit = attributes[:'byol_compute_count_limit'] if attributes[:'byol_compute_count_limit']

  self.used_data_storage_size_in_tbs = attributes[:'usedDataStorageSizeInTBs'] if attributes[:'usedDataStorageSizeInTBs']

  raise 'You cannot provide both :usedDataStorageSizeInTBs and :used_data_storage_size_in_tbs' if attributes.key?(:'usedDataStorageSizeInTBs') && attributes.key?(:'used_data_storage_size_in_tbs')

  self.used_data_storage_size_in_tbs = attributes[:'used_data_storage_size_in_tbs'] if attributes[:'used_data_storage_size_in_tbs']

  self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']

  raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')

  self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']

  self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']

  raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')

  self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']

  self.security_attributes = attributes[:'securityAttributes'] if attributes[:'securityAttributes']

  raise 'You cannot provide both :securityAttributes and :security_attributes' if attributes.key?(:'securityAttributes') && attributes.key?(:'security_attributes')

  self.security_attributes = attributes[:'security_attributes'] if attributes[:'security_attributes']

  self.subnet_id = attributes[:'subnetId'] if attributes[:'subnetId']

  raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id')

  self.subnet_id = attributes[:'subnet_id'] if attributes[:'subnet_id']

  self.nsg_ids = attributes[:'nsgIds'] if attributes[:'nsgIds']

  raise 'You cannot provide both :nsgIds and :nsg_ids' if attributes.key?(:'nsgIds') && attributes.key?(:'nsg_ids')

  self.nsg_ids = attributes[:'nsg_ids'] if attributes[:'nsg_ids']

  self.private_endpoint = attributes[:'privateEndpoint'] if attributes[:'privateEndpoint']

  raise 'You cannot provide both :privateEndpoint and :private_endpoint' if attributes.key?(:'privateEndpoint') && attributes.key?(:'private_endpoint')

  self.private_endpoint = attributes[:'private_endpoint'] if attributes[:'private_endpoint']

  self.public_endpoint = attributes[:'publicEndpoint'] if attributes[:'publicEndpoint']

  raise 'You cannot provide both :publicEndpoint and :public_endpoint' if attributes.key?(:'publicEndpoint') && attributes.key?(:'public_endpoint')

  self.public_endpoint = attributes[:'public_endpoint'] if attributes[:'public_endpoint']

  self.private_endpoint_label = attributes[:'privateEndpointLabel'] if attributes[:'privateEndpointLabel']

  raise 'You cannot provide both :privateEndpointLabel and :private_endpoint_label' if attributes.key?(:'privateEndpointLabel') && attributes.key?(:'private_endpoint_label')

  self.private_endpoint_label = attributes[:'private_endpoint_label'] if attributes[:'private_endpoint_label']

  self.private_endpoint_ip = attributes[:'privateEndpointIp'] if attributes[:'privateEndpointIp']

  raise 'You cannot provide both :privateEndpointIp and :private_endpoint_ip' if attributes.key?(:'privateEndpointIp') && attributes.key?(:'private_endpoint_ip')

  self.private_endpoint_ip = attributes[:'private_endpoint_ip'] if attributes[:'private_endpoint_ip']

  self.db_version = attributes[:'dbVersion'] if attributes[:'dbVersion']

  raise 'You cannot provide both :dbVersion and :db_version' if attributes.key?(:'dbVersion') && attributes.key?(:'db_version')

  self.db_version = attributes[:'db_version'] if attributes[:'db_version']

  self.is_preview = attributes[:'isPreview'] unless attributes[:'isPreview'].nil?

  raise 'You cannot provide both :isPreview and :is_preview' if attributes.key?(:'isPreview') && attributes.key?(:'is_preview')

  self.is_preview = attributes[:'is_preview'] unless attributes[:'is_preview'].nil?

  self.db_workload = attributes[:'dbWorkload'] if attributes[:'dbWorkload']

  raise 'You cannot provide both :dbWorkload and :db_workload' if attributes.key?(:'dbWorkload') && attributes.key?(:'db_workload')

  self.db_workload = attributes[:'db_workload'] if attributes[:'db_workload']

  self.is_dev_tier = attributes[:'isDevTier'] unless attributes[:'isDevTier'].nil?
  self.is_dev_tier = false if is_dev_tier.nil? && !attributes.key?(:'isDevTier') # rubocop:disable Style/StringLiterals

  raise 'You cannot provide both :isDevTier and :is_dev_tier' if attributes.key?(:'isDevTier') && attributes.key?(:'is_dev_tier')

  self.is_dev_tier = attributes[:'is_dev_tier'] unless attributes[:'is_dev_tier'].nil?
  self.is_dev_tier = false if is_dev_tier.nil? && !attributes.key?(:'isDevTier') && !attributes.key?(:'is_dev_tier') # rubocop:disable Style/StringLiterals

  self.is_access_control_enabled = attributes[:'isAccessControlEnabled'] unless attributes[:'isAccessControlEnabled'].nil?

  raise 'You cannot provide both :isAccessControlEnabled and :is_access_control_enabled' if attributes.key?(:'isAccessControlEnabled') && attributes.key?(:'is_access_control_enabled')

  self.is_access_control_enabled = attributes[:'is_access_control_enabled'] unless attributes[:'is_access_control_enabled'].nil?

  self.whitelisted_ips = attributes[:'whitelistedIps'] if attributes[:'whitelistedIps']

  raise 'You cannot provide both :whitelistedIps and :whitelisted_ips' if attributes.key?(:'whitelistedIps') && attributes.key?(:'whitelisted_ips')

  self.whitelisted_ips = attributes[:'whitelisted_ips'] if attributes[:'whitelisted_ips']

  self.are_primary_whitelisted_ips_used = attributes[:'arePrimaryWhitelistedIpsUsed'] unless attributes[:'arePrimaryWhitelistedIpsUsed'].nil?

  raise 'You cannot provide both :arePrimaryWhitelistedIpsUsed and :are_primary_whitelisted_ips_used' if attributes.key?(:'arePrimaryWhitelistedIpsUsed') && attributes.key?(:'are_primary_whitelisted_ips_used')

  self.are_primary_whitelisted_ips_used = attributes[:'are_primary_whitelisted_ips_used'] unless attributes[:'are_primary_whitelisted_ips_used'].nil?

  self.standby_whitelisted_ips = attributes[:'standbyWhitelistedIps'] if attributes[:'standbyWhitelistedIps']

  raise 'You cannot provide both :standbyWhitelistedIps and :standby_whitelisted_ips' if attributes.key?(:'standbyWhitelistedIps') && attributes.key?(:'standby_whitelisted_ips')

  self.standby_whitelisted_ips = attributes[:'standby_whitelisted_ips'] if attributes[:'standby_whitelisted_ips']

  self.apex_details = attributes[:'apexDetails'] if attributes[:'apexDetails']

  raise 'You cannot provide both :apexDetails and :apex_details' if attributes.key?(:'apexDetails') && attributes.key?(:'apex_details')

  self.apex_details = attributes[:'apex_details'] if attributes[:'apex_details']

  self.is_auto_scaling_enabled = attributes[:'isAutoScalingEnabled'] unless attributes[:'isAutoScalingEnabled'].nil?

  raise 'You cannot provide both :isAutoScalingEnabled and :is_auto_scaling_enabled' if attributes.key?(:'isAutoScalingEnabled') && attributes.key?(:'is_auto_scaling_enabled')

  self.is_auto_scaling_enabled = attributes[:'is_auto_scaling_enabled'] unless attributes[:'is_auto_scaling_enabled'].nil?

  self.data_safe_status = attributes[:'dataSafeStatus'] if attributes[:'dataSafeStatus']

  raise 'You cannot provide both :dataSafeStatus and :data_safe_status' if attributes.key?(:'dataSafeStatus') && attributes.key?(:'data_safe_status')

  self.data_safe_status = attributes[:'data_safe_status'] if attributes[:'data_safe_status']

  self.operations_insights_status = attributes[:'operationsInsightsStatus'] if attributes[:'operationsInsightsStatus']

  raise 'You cannot provide both :operationsInsightsStatus and :operations_insights_status' if attributes.key?(:'operationsInsightsStatus') && attributes.key?(:'operations_insights_status')

  self.operations_insights_status = attributes[:'operations_insights_status'] if attributes[:'operations_insights_status']

  self.database_management_status = attributes[:'databaseManagementStatus'] if attributes[:'databaseManagementStatus']

  raise 'You cannot provide both :databaseManagementStatus and :database_management_status' if attributes.key?(:'databaseManagementStatus') && attributes.key?(:'database_management_status')

  self.database_management_status = attributes[:'database_management_status'] if attributes[:'database_management_status']

  self.time_maintenance_begin = attributes[:'timeMaintenanceBegin'] if attributes[:'timeMaintenanceBegin']

  raise 'You cannot provide both :timeMaintenanceBegin and :time_maintenance_begin' if attributes.key?(:'timeMaintenanceBegin') && attributes.key?(:'time_maintenance_begin')

  self.time_maintenance_begin = attributes[:'time_maintenance_begin'] if attributes[:'time_maintenance_begin']

  self.time_maintenance_end = attributes[:'timeMaintenanceEnd'] if attributes[:'timeMaintenanceEnd']

  raise 'You cannot provide both :timeMaintenanceEnd and :time_maintenance_end' if attributes.key?(:'timeMaintenanceEnd') && attributes.key?(:'time_maintenance_end')

  self.time_maintenance_end = attributes[:'time_maintenance_end'] if attributes[:'time_maintenance_end']

  self.maintenance_target_component = attributes[:'maintenanceTargetComponent'] if attributes[:'maintenanceTargetComponent']

  raise 'You cannot provide both :maintenanceTargetComponent and :maintenance_target_component' if attributes.key?(:'maintenanceTargetComponent') && attributes.key?(:'maintenance_target_component')

  self.maintenance_target_component = attributes[:'maintenance_target_component'] if attributes[:'maintenance_target_component']

  self.is_refreshable_clone = attributes[:'isRefreshableClone'] unless attributes[:'isRefreshableClone'].nil?

  raise 'You cannot provide both :isRefreshableClone and :is_refreshable_clone' if attributes.key?(:'isRefreshableClone') && attributes.key?(:'is_refreshable_clone')

  self.is_refreshable_clone = attributes[:'is_refreshable_clone'] unless attributes[:'is_refreshable_clone'].nil?

  self.time_of_last_refresh = attributes[:'timeOfLastRefresh'] if attributes[:'timeOfLastRefresh']

  raise 'You cannot provide both :timeOfLastRefresh and :time_of_last_refresh' if attributes.key?(:'timeOfLastRefresh') && attributes.key?(:'time_of_last_refresh')

  self.time_of_last_refresh = attributes[:'time_of_last_refresh'] if attributes[:'time_of_last_refresh']

  self.time_of_last_refresh_point = attributes[:'timeOfLastRefreshPoint'] if attributes[:'timeOfLastRefreshPoint']

  raise 'You cannot provide both :timeOfLastRefreshPoint and :time_of_last_refresh_point' if attributes.key?(:'timeOfLastRefreshPoint') && attributes.key?(:'time_of_last_refresh_point')

  self.time_of_last_refresh_point = attributes[:'time_of_last_refresh_point'] if attributes[:'time_of_last_refresh_point']

  self.time_of_next_refresh = attributes[:'timeOfNextRefresh'] if attributes[:'timeOfNextRefresh']

  raise 'You cannot provide both :timeOfNextRefresh and :time_of_next_refresh' if attributes.key?(:'timeOfNextRefresh') && attributes.key?(:'time_of_next_refresh')

  self.time_of_next_refresh = attributes[:'time_of_next_refresh'] if attributes[:'time_of_next_refresh']

  self.open_mode = attributes[:'openMode'] if attributes[:'openMode']

  raise 'You cannot provide both :openMode and :open_mode' if attributes.key?(:'openMode') && attributes.key?(:'open_mode')

  self.open_mode = attributes[:'open_mode'] if attributes[:'open_mode']

  self.refreshable_status = attributes[:'refreshableStatus'] if attributes[:'refreshableStatus']

  raise 'You cannot provide both :refreshableStatus and :refreshable_status' if attributes.key?(:'refreshableStatus') && attributes.key?(:'refreshable_status')

  self.refreshable_status = attributes[:'refreshable_status'] if attributes[:'refreshable_status']

  self.refreshable_mode = attributes[:'refreshableMode'] if attributes[:'refreshableMode']

  raise 'You cannot provide both :refreshableMode and :refreshable_mode' if attributes.key?(:'refreshableMode') && attributes.key?(:'refreshable_mode')

  self.refreshable_mode = attributes[:'refreshable_mode'] if attributes[:'refreshable_mode']

  self.source_id = attributes[:'sourceId'] if attributes[:'sourceId']

  raise 'You cannot provide both :sourceId and :source_id' if attributes.key?(:'sourceId') && attributes.key?(:'source_id')

  self.source_id = attributes[:'source_id'] if attributes[:'source_id']

  self.permission_level = attributes[:'permissionLevel'] if attributes[:'permissionLevel']

  raise 'You cannot provide both :permissionLevel and :permission_level' if attributes.key?(:'permissionLevel') && attributes.key?(:'permission_level')

  self.permission_level = attributes[:'permission_level'] if attributes[:'permission_level']

  self.time_of_last_switchover = attributes[:'timeOfLastSwitchover'] if attributes[:'timeOfLastSwitchover']

  raise 'You cannot provide both :timeOfLastSwitchover and :time_of_last_switchover' if attributes.key?(:'timeOfLastSwitchover') && attributes.key?(:'time_of_last_switchover')

  self.time_of_last_switchover = attributes[:'time_of_last_switchover'] if attributes[:'time_of_last_switchover']

  self.time_of_last_failover = attributes[:'timeOfLastFailover'] if attributes[:'timeOfLastFailover']

  raise 'You cannot provide both :timeOfLastFailover and :time_of_last_failover' if attributes.key?(:'timeOfLastFailover') && attributes.key?(:'time_of_last_failover')

  self.time_of_last_failover = attributes[:'time_of_last_failover'] if attributes[:'time_of_last_failover']

  self.is_data_guard_enabled = attributes[:'isDataGuardEnabled'] unless attributes[:'isDataGuardEnabled'].nil?

  raise 'You cannot provide both :isDataGuardEnabled and :is_data_guard_enabled' if attributes.key?(:'isDataGuardEnabled') && attributes.key?(:'is_data_guard_enabled')

  self.is_data_guard_enabled = attributes[:'is_data_guard_enabled'] unless attributes[:'is_data_guard_enabled'].nil?

  self.failed_data_recovery_in_seconds = attributes[:'failedDataRecoveryInSeconds'] if attributes[:'failedDataRecoveryInSeconds']

  raise 'You cannot provide both :failedDataRecoveryInSeconds and :failed_data_recovery_in_seconds' if attributes.key?(:'failedDataRecoveryInSeconds') && attributes.key?(:'failed_data_recovery_in_seconds')

  self.failed_data_recovery_in_seconds = attributes[:'failed_data_recovery_in_seconds'] if attributes[:'failed_data_recovery_in_seconds']

  self.standby_db = attributes[:'standbyDb'] if attributes[:'standbyDb']

  raise 'You cannot provide both :standbyDb and :standby_db' if attributes.key?(:'standbyDb') && attributes.key?(:'standby_db')

  self.standby_db = attributes[:'standby_db'] if attributes[:'standby_db']

  self.is_local_data_guard_enabled = attributes[:'isLocalDataGuardEnabled'] unless attributes[:'isLocalDataGuardEnabled'].nil?

  raise 'You cannot provide both :isLocalDataGuardEnabled and :is_local_data_guard_enabled' if attributes.key?(:'isLocalDataGuardEnabled') && attributes.key?(:'is_local_data_guard_enabled')

  self.is_local_data_guard_enabled = attributes[:'is_local_data_guard_enabled'] unless attributes[:'is_local_data_guard_enabled'].nil?

  self.is_remote_data_guard_enabled = attributes[:'isRemoteDataGuardEnabled'] unless attributes[:'isRemoteDataGuardEnabled'].nil?

  raise 'You cannot provide both :isRemoteDataGuardEnabled and :is_remote_data_guard_enabled' if attributes.key?(:'isRemoteDataGuardEnabled') && attributes.key?(:'is_remote_data_guard_enabled')

  self.is_remote_data_guard_enabled = attributes[:'is_remote_data_guard_enabled'] unless attributes[:'is_remote_data_guard_enabled'].nil?

  self.local_standby_db = attributes[:'localStandbyDb'] if attributes[:'localStandbyDb']

  raise 'You cannot provide both :localStandbyDb and :local_standby_db' if attributes.key?(:'localStandbyDb') && attributes.key?(:'local_standby_db')

  self.local_standby_db = attributes[:'local_standby_db'] if attributes[:'local_standby_db']

  self.role = attributes[:'role'] if attributes[:'role']

  self.available_upgrade_versions = attributes[:'availableUpgradeVersions'] if attributes[:'availableUpgradeVersions']

  raise 'You cannot provide both :availableUpgradeVersions and :available_upgrade_versions' if attributes.key?(:'availableUpgradeVersions') && attributes.key?(:'available_upgrade_versions')

  self.available_upgrade_versions = attributes[:'available_upgrade_versions'] if attributes[:'available_upgrade_versions']

  self.key_store_id = attributes[:'keyStoreId'] if attributes[:'keyStoreId']

  raise 'You cannot provide both :keyStoreId and :key_store_id' if attributes.key?(:'keyStoreId') && attributes.key?(:'key_store_id')

  self.key_store_id = attributes[:'key_store_id'] if attributes[:'key_store_id']

  self.key_store_wallet_name = attributes[:'keyStoreWalletName'] if attributes[:'keyStoreWalletName']

  raise 'You cannot provide both :keyStoreWalletName and :key_store_wallet_name' if attributes.key?(:'keyStoreWalletName') && attributes.key?(:'key_store_wallet_name')

  self.key_store_wallet_name = attributes[:'key_store_wallet_name'] if attributes[:'key_store_wallet_name']

  self.auto_refresh_frequency_in_seconds = attributes[:'autoRefreshFrequencyInSeconds'] if attributes[:'autoRefreshFrequencyInSeconds']

  raise 'You cannot provide both :autoRefreshFrequencyInSeconds and :auto_refresh_frequency_in_seconds' if attributes.key?(:'autoRefreshFrequencyInSeconds') && attributes.key?(:'auto_refresh_frequency_in_seconds')

  self.auto_refresh_frequency_in_seconds = attributes[:'auto_refresh_frequency_in_seconds'] if attributes[:'auto_refresh_frequency_in_seconds']

  self.auto_refresh_point_lag_in_seconds = attributes[:'autoRefreshPointLagInSeconds'] if attributes[:'autoRefreshPointLagInSeconds']

  raise 'You cannot provide both :autoRefreshPointLagInSeconds and :auto_refresh_point_lag_in_seconds' if attributes.key?(:'autoRefreshPointLagInSeconds') && attributes.key?(:'auto_refresh_point_lag_in_seconds')

  self.auto_refresh_point_lag_in_seconds = attributes[:'auto_refresh_point_lag_in_seconds'] if attributes[:'auto_refresh_point_lag_in_seconds']

  self.time_of_auto_refresh_start = attributes[:'timeOfAutoRefreshStart'] if attributes[:'timeOfAutoRefreshStart']

  raise 'You cannot provide both :timeOfAutoRefreshStart and :time_of_auto_refresh_start' if attributes.key?(:'timeOfAutoRefreshStart') && attributes.key?(:'time_of_auto_refresh_start')

  self.time_of_auto_refresh_start = attributes[:'time_of_auto_refresh_start'] if attributes[:'time_of_auto_refresh_start']

  self.supported_regions_to_clone_to = attributes[:'supportedRegionsToCloneTo'] if attributes[:'supportedRegionsToCloneTo']

  raise 'You cannot provide both :supportedRegionsToCloneTo and :supported_regions_to_clone_to' if attributes.key?(:'supportedRegionsToCloneTo') && attributes.key?(:'supported_regions_to_clone_to')

  self.supported_regions_to_clone_to = attributes[:'supported_regions_to_clone_to'] if attributes[:'supported_regions_to_clone_to']

  self.customer_contacts = attributes[:'customerContacts'] if attributes[:'customerContacts']

  raise 'You cannot provide both :customerContacts and :customer_contacts' if attributes.key?(:'customerContacts') && attributes.key?(:'customer_contacts')

  self.customer_contacts = attributes[:'customer_contacts'] if attributes[:'customer_contacts']

  self.time_local_data_guard_enabled = attributes[:'timeLocalDataGuardEnabled'] if attributes[:'timeLocalDataGuardEnabled']

  raise 'You cannot provide both :timeLocalDataGuardEnabled and :time_local_data_guard_enabled' if attributes.key?(:'timeLocalDataGuardEnabled') && attributes.key?(:'time_local_data_guard_enabled')

  self.time_local_data_guard_enabled = attributes[:'time_local_data_guard_enabled'] if attributes[:'time_local_data_guard_enabled']

  self.dataguard_region_type = attributes[:'dataguardRegionType'] if attributes[:'dataguardRegionType']

  raise 'You cannot provide both :dataguardRegionType and :dataguard_region_type' if attributes.key?(:'dataguardRegionType') && attributes.key?(:'dataguard_region_type')

  self.dataguard_region_type = attributes[:'dataguard_region_type'] if attributes[:'dataguard_region_type']

  self.time_data_guard_role_changed = attributes[:'timeDataGuardRoleChanged'] if attributes[:'timeDataGuardRoleChanged']

  raise 'You cannot provide both :timeDataGuardRoleChanged and :time_data_guard_role_changed' if attributes.key?(:'timeDataGuardRoleChanged') && attributes.key?(:'time_data_guard_role_changed')

  self.time_data_guard_role_changed = attributes[:'time_data_guard_role_changed'] if attributes[:'time_data_guard_role_changed']

  self.peer_db_ids = attributes[:'peerDbIds'] if attributes[:'peerDbIds']

  raise 'You cannot provide both :peerDbIds and :peer_db_ids' if attributes.key?(:'peerDbIds') && attributes.key?(:'peer_db_ids')

  self.peer_db_ids = attributes[:'peer_db_ids'] if attributes[:'peer_db_ids']

  self.is_mtls_connection_required = attributes[:'isMtlsConnectionRequired'] unless attributes[:'isMtlsConnectionRequired'].nil?

  raise 'You cannot provide both :isMtlsConnectionRequired and :is_mtls_connection_required' if attributes.key?(:'isMtlsConnectionRequired') && attributes.key?(:'is_mtls_connection_required')

  self.is_mtls_connection_required = attributes[:'is_mtls_connection_required'] unless attributes[:'is_mtls_connection_required'].nil?

  self.time_of_joining_resource_pool = attributes[:'timeOfJoiningResourcePool'] if attributes[:'timeOfJoiningResourcePool']

  raise 'You cannot provide both :timeOfJoiningResourcePool and :time_of_joining_resource_pool' if attributes.key?(:'timeOfJoiningResourcePool') && attributes.key?(:'time_of_joining_resource_pool')

  self.time_of_joining_resource_pool = attributes[:'time_of_joining_resource_pool'] if attributes[:'time_of_joining_resource_pool']

  self.resource_pool_leader_id = attributes[:'resourcePoolLeaderId'] if attributes[:'resourcePoolLeaderId']

  raise 'You cannot provide both :resourcePoolLeaderId and :resource_pool_leader_id' if attributes.key?(:'resourcePoolLeaderId') && attributes.key?(:'resource_pool_leader_id')

  self.resource_pool_leader_id = attributes[:'resource_pool_leader_id'] if attributes[:'resource_pool_leader_id']

  self.resource_pool_summary = attributes[:'resourcePoolSummary'] if attributes[:'resourcePoolSummary']

  raise 'You cannot provide both :resourcePoolSummary and :resource_pool_summary' if attributes.key?(:'resourcePoolSummary') && attributes.key?(:'resource_pool_summary')

  self.resource_pool_summary = attributes[:'resource_pool_summary'] if attributes[:'resource_pool_summary']

  self.is_reconnect_clone_enabled = attributes[:'isReconnectCloneEnabled'] unless attributes[:'isReconnectCloneEnabled'].nil?

  raise 'You cannot provide both :isReconnectCloneEnabled and :is_reconnect_clone_enabled' if attributes.key?(:'isReconnectCloneEnabled') && attributes.key?(:'is_reconnect_clone_enabled')

  self.is_reconnect_clone_enabled = attributes[:'is_reconnect_clone_enabled'] unless attributes[:'is_reconnect_clone_enabled'].nil?

  self.time_until_reconnect_clone_enabled = attributes[:'timeUntilReconnectCloneEnabled'] if attributes[:'timeUntilReconnectCloneEnabled']

  raise 'You cannot provide both :timeUntilReconnectCloneEnabled and :time_until_reconnect_clone_enabled' if attributes.key?(:'timeUntilReconnectCloneEnabled') && attributes.key?(:'time_until_reconnect_clone_enabled')

  self.time_until_reconnect_clone_enabled = attributes[:'time_until_reconnect_clone_enabled'] if attributes[:'time_until_reconnect_clone_enabled']

  self.autonomous_maintenance_schedule_type = attributes[:'autonomousMaintenanceScheduleType'] if attributes[:'autonomousMaintenanceScheduleType']

  raise 'You cannot provide both :autonomousMaintenanceScheduleType and :autonomous_maintenance_schedule_type' if attributes.key?(:'autonomousMaintenanceScheduleType') && attributes.key?(:'autonomous_maintenance_schedule_type')

  self.autonomous_maintenance_schedule_type = attributes[:'autonomous_maintenance_schedule_type'] if attributes[:'autonomous_maintenance_schedule_type']

  self.scheduled_operations = attributes[:'scheduledOperations'] if attributes[:'scheduledOperations']

  raise 'You cannot provide both :scheduledOperations and :scheduled_operations' if attributes.key?(:'scheduledOperations') && attributes.key?(:'scheduled_operations')

  self.scheduled_operations = attributes[:'scheduled_operations'] if attributes[:'scheduled_operations']

  self.is_auto_scaling_for_storage_enabled = attributes[:'isAutoScalingForStorageEnabled'] unless attributes[:'isAutoScalingForStorageEnabled'].nil?

  raise 'You cannot provide both :isAutoScalingForStorageEnabled and :is_auto_scaling_for_storage_enabled' if attributes.key?(:'isAutoScalingForStorageEnabled') && attributes.key?(:'is_auto_scaling_for_storage_enabled')

  self.is_auto_scaling_for_storage_enabled = attributes[:'is_auto_scaling_for_storage_enabled'] unless attributes[:'is_auto_scaling_for_storage_enabled'].nil?

  self.allocated_storage_size_in_tbs = attributes[:'allocatedStorageSizeInTBs'] if attributes[:'allocatedStorageSizeInTBs']

  raise 'You cannot provide both :allocatedStorageSizeInTBs and :allocated_storage_size_in_tbs' if attributes.key?(:'allocatedStorageSizeInTBs') && attributes.key?(:'allocated_storage_size_in_tbs')

  self.allocated_storage_size_in_tbs = attributes[:'allocated_storage_size_in_tbs'] if attributes[:'allocated_storage_size_in_tbs']

  self.actual_used_data_storage_size_in_tbs = attributes[:'actualUsedDataStorageSizeInTBs'] if attributes[:'actualUsedDataStorageSizeInTBs']

  raise 'You cannot provide both :actualUsedDataStorageSizeInTBs and :actual_used_data_storage_size_in_tbs' if attributes.key?(:'actualUsedDataStorageSizeInTBs') && attributes.key?(:'actual_used_data_storage_size_in_tbs')

  self.actual_used_data_storage_size_in_tbs = attributes[:'actual_used_data_storage_size_in_tbs'] if attributes[:'actual_used_data_storage_size_in_tbs']

  self.database_edition = attributes[:'databaseEdition'] if attributes[:'databaseEdition']

  raise 'You cannot provide both :databaseEdition and :database_edition' if attributes.key?(:'databaseEdition') && attributes.key?(:'database_edition')

  self.database_edition = attributes[:'database_edition'] if attributes[:'database_edition']

  self.db_tools_details = attributes[:'dbToolsDetails'] if attributes[:'dbToolsDetails']

  raise 'You cannot provide both :dbToolsDetails and :db_tools_details' if attributes.key?(:'dbToolsDetails') && attributes.key?(:'db_tools_details')

  self.db_tools_details = attributes[:'db_tools_details'] if attributes[:'db_tools_details']

  self.local_disaster_recovery_type = attributes[:'localDisasterRecoveryType'] if attributes[:'localDisasterRecoveryType']

  raise 'You cannot provide both :localDisasterRecoveryType and :local_disaster_recovery_type' if attributes.key?(:'localDisasterRecoveryType') && attributes.key?(:'local_disaster_recovery_type')

  self.local_disaster_recovery_type = attributes[:'local_disaster_recovery_type'] if attributes[:'local_disaster_recovery_type']

  self.disaster_recovery_region_type = attributes[:'disasterRecoveryRegionType'] if attributes[:'disasterRecoveryRegionType']

  raise 'You cannot provide both :disasterRecoveryRegionType and :disaster_recovery_region_type' if attributes.key?(:'disasterRecoveryRegionType') && attributes.key?(:'disaster_recovery_region_type')

  self.disaster_recovery_region_type = attributes[:'disaster_recovery_region_type'] if attributes[:'disaster_recovery_region_type']

  self.time_disaster_recovery_role_changed = attributes[:'timeDisasterRecoveryRoleChanged'] if attributes[:'timeDisasterRecoveryRoleChanged']

  raise 'You cannot provide both :timeDisasterRecoveryRoleChanged and :time_disaster_recovery_role_changed' if attributes.key?(:'timeDisasterRecoveryRoleChanged') && attributes.key?(:'time_disaster_recovery_role_changed')

  self.time_disaster_recovery_role_changed = attributes[:'time_disaster_recovery_role_changed'] if attributes[:'time_disaster_recovery_role_changed']

  self.remote_disaster_recovery_configuration = attributes[:'remoteDisasterRecoveryConfiguration'] if attributes[:'remoteDisasterRecoveryConfiguration']

  raise 'You cannot provide both :remoteDisasterRecoveryConfiguration and :remote_disaster_recovery_configuration' if attributes.key?(:'remoteDisasterRecoveryConfiguration') && attributes.key?(:'remote_disaster_recovery_configuration')

  self.remote_disaster_recovery_configuration = attributes[:'remote_disaster_recovery_configuration'] if attributes[:'remote_disaster_recovery_configuration']

  self.net_services_architecture = attributes[:'netServicesArchitecture'] if attributes[:'netServicesArchitecture']

  raise 'You cannot provide both :netServicesArchitecture and :net_services_architecture' if attributes.key?(:'netServicesArchitecture') && attributes.key?(:'net_services_architecture')

  self.net_services_architecture = attributes[:'net_services_architecture'] if attributes[:'net_services_architecture']

  self.availability_domain = attributes[:'availabilityDomain'] if attributes[:'availabilityDomain']

  raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')

  self.availability_domain = attributes[:'availability_domain'] if attributes[:'availability_domain']

  self.cluster_placement_group_id = attributes[:'clusterPlacementGroupId'] if attributes[:'clusterPlacementGroupId']

  raise 'You cannot provide both :clusterPlacementGroupId and :cluster_placement_group_id' if attributes.key?(:'clusterPlacementGroupId') && attributes.key?(:'cluster_placement_group_id')

  self.cluster_placement_group_id = attributes[:'cluster_placement_group_id'] if attributes[:'cluster_placement_group_id']

  self.clone_table_space_list = attributes[:'cloneTableSpaceList'] if attributes[:'cloneTableSpaceList']

  raise 'You cannot provide both :cloneTableSpaceList and :clone_table_space_list' if attributes.key?(:'cloneTableSpaceList') && attributes.key?(:'clone_table_space_list')

  self.clone_table_space_list = attributes[:'clone_table_space_list'] if attributes[:'clone_table_space_list']
end

Instance Attribute Details

#actual_used_data_storage_size_in_tbsFloat

The current amount of storage in use for user and system data, in terabytes (TB).

Returns:

  • (Float)


769
770
771
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 769

def actual_used_data_storage_size_in_tbs
  @actual_used_data_storage_size_in_tbs
end

#allocated_storage_size_in_tbsFloat

The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage.

Note: Auto-scaling does not automatically decrease allocated storage when data is deleted from the database.

Returns:

  • (Float)


764
765
766
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 764

def allocated_storage_size_in_tbs
  @allocated_storage_size_in_tbs
end

#apex_detailsOCI::Database::Models::AutonomousDatabaseApex

Information about Oracle APEX Application Development.



543
544
545
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 543

def apex_details
  @apex_details
end

#are_primary_whitelisted_ips_usedBOOLEAN

This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.

Returns:

  • (BOOLEAN)


522
523
524
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 522

def are_primary_whitelisted_ips_used
  @are_primary_whitelisted_ips_used
end

#auto_refresh_frequency_in_secondsInteger

The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.

Returns:

  • (Integer)


671
672
673
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 671

def auto_refresh_frequency_in_seconds
  @auto_refresh_frequency_in_seconds
end

#auto_refresh_point_lag_in_secondsInteger

The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.

Returns:

  • (Integer)


675
676
677
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 675

def auto_refresh_point_lag_in_seconds
  @auto_refresh_point_lag_in_seconds
end

#autonomous_container_database_idString

The Autonomous Container Database OCID. Used only by Autonomous Database on Dedicated Exadata Infrastructure.

Returns:

  • (String)


348
349
350
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 348

def autonomous_container_database_id
  @autonomous_container_database_id
end

#autonomous_maintenance_schedule_typeString

The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle

Returns:

  • (String)


745
746
747
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 745

def autonomous_maintenance_schedule_type
  @autonomous_maintenance_schedule_type
end

#availability_domainString

The availability domain where the Autonomous Database Serverless instance is located.

Returns:

  • (String)


809
810
811
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 809

def availability_domain
  @availability_domain
end

#available_upgrade_versionsArray<String>

List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.

Returns:

  • (Array<String>)


659
660
661
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 659

def available_upgrade_versions
  @available_upgrade_versions
end

#backup_configOCI::Database::Models::AutonomousDatabaseBackupConfig



254
255
256
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 254

def backup_config
  @backup_config
end

#backup_retention_period_in_daysInteger

Retention period, in days, for long-term backups

Returns:

  • (Integer)


287
288
289
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 287

def backup_retention_period_in_days
  @backup_retention_period_in_days
end

#byol_compute_count_limitFloat

The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered as License Included and billed.

Returns:

  • (Float)


394
395
396
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 394

def byol_compute_count_limit
  @byol_compute_count_limit
end

#character_setString

The character set for the autonomous database. The default is AL32UTF8. Allowed values are:

AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

Returns:

  • (String)


207
208
209
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 207

def character_set
  @character_set
end

#clone_table_space_listArray<Integer>

A list of the source Autonomous Database's table space number(s) used to create this partial clone from the backup.

Returns:

  • (Array<Integer>)


817
818
819
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 817

def clone_table_space_list
  @clone_table_space_list
end

#cluster_placement_group_idString

The OCID of the cluster placement group of the Autonomous Serverless Database.

Returns:

  • (String)


813
814
815
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 813

def cluster_placement_group_id
  @cluster_placement_group_id
end

#compartment_idString

[Required] The OCID of the compartment.

Returns:

  • (String)


164
165
166
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 164

def compartment_id
  @compartment_id
end

#compute_countFloat

The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the computeModel parameter. When using cpuCoreCount parameter, it is an error to specify computeCount to a non-null value. Providing computeModel and computeCount is the preferred method for both OCPU and ECPU.

Returns:

  • (Float)


283
284
285
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 283

def compute_count
  @compute_count
end

#compute_modelString

The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.

Returns:

  • (String)


277
278
279
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 277

def compute_model
  @compute_model
end

#connection_stringsOCI::Database::Models::AutonomousDatabaseConnectionStrings

The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.



373
374
375
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 373

def connection_strings
  @connection_strings
end

#connection_urlsOCI::Database::Models::AutonomousDatabaseConnectionUrls



376
377
378
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 376

def connection_urls
  @connection_urls
end

#cpu_core_countInteger

The number of CPU cores to be made available to the database. When the ECPU is selected, the value for cpuCoreCount is 0. For Autonomous Database on Dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

Note: This parameter cannot be used with the ocpuCount parameter.

Returns:

  • (Integer)


269
270
271
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 269

def cpu_core_count
  @cpu_core_count
end

#customer_contactsArray<OCI::Database::Models::CustomerContact>

Customer Contacts.



688
689
690
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 688

def customer_contacts
  @customer_contacts
end

#data_safe_statusString

Status of the Data Safe registration for this Autonomous Database.

Returns:

  • (String)


552
553
554
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 552

def data_safe_status
  @data_safe_status
end

#data_storage_size_in_gbsInteger

The quantity of data in the database, in gigabytes.

For Autonomous Transaction Processing databases using ECPUs on Serverless Infrastructure, this value is always populated. In all the other cases, this value will be null and dataStorageSizeInTBs will be populated instead.

Returns:

  • (Integer)


330
331
332
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 330

def data_storage_size_in_gbs
  @data_storage_size_in_gbs
end

#data_storage_size_in_tbsInteger

[Required] The quantity of data in the database, in terabytes.

The following points apply to Autonomous Databases on Serverless Infrastructure: - This is an integer field whose value remains null when the data size is in GBs and cannot be converted to TBs (by dividing the GB value by 1024) without rounding error. - To get the exact value of data storage size without rounding error, please see dataStorageSizeInGBs of Autonomous Database.

Returns:

  • (Integer)


318
319
320
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 318

def data_storage_size_in_tbs
  @data_storage_size_in_tbs
end

#database_editionString

The Oracle Database Edition that applies to the Autonomous databases.

Returns:

  • (String)


774
775
776
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 774

def database_edition
  @database_edition
end

#database_management_statusString

Status of Database Management for this Autonomous Database.

Returns:

  • (String)


560
561
562
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 560

def database_management_status
  @database_management_status
end

#dataguard_region_typeString

Deprecated. The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless, Autonomous Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. The standby regions in Autonomous Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Autonomous Data Guard association, and cannot be performed when the database using the primary role is operating in a remote Autonomous Data Guard standby region.

Returns:

  • (String)


697
698
699
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 697

def dataguard_region_type
  @dataguard_region_type
end

#db_nameString

[Required] The database name.

Returns:

  • (String)


200
201
202
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 200

def db_name
  @db_name
end

#db_tools_detailsArray<OCI::Database::Models::DatabaseTool>

The list of database tools details.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.



781
782
783
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 781

def db_tools_details
  @db_tools_details
end

#db_versionString

A valid Oracle Database version for Autonomous Database.

Returns:

  • (String)


466
467
468
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 466

def db_version
  @db_version
end

#db_workloadString

The Autonomous Database workload type. The following values are valid:

  • OLTP - indicates an Autonomous Transaction Processing database

  • DW - indicates an Autonomous Data Warehouse database

  • AJD - indicates an Autonomous JSON Database

  • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Returns:

  • (String)


482
483
484
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 482

def db_workload
  @db_workload
end

#defined_tagsHash<String, Hash<String, Object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:

  • (Hash<String, Hash<String, Object>>)


412
413
414
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 412

def defined_tags
  @defined_tags
end

#disaster_recovery_region_typeString

Deprecated. The disaster recovery (DR) region type of the Autonomous Database. For Autonomous Database Serverless instances, DR associations have designated primary and standby regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.

Returns:

  • (String)


793
794
795
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 793

def disaster_recovery_region_type
  @disaster_recovery_region_type
end

#display_nameString

The user-friendly name for the Autonomous Database. The name does not have to be unique.

Returns:

  • (String)


365
366
367
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 365

def display_name
  @display_name
end

#encryption_keyOCI::Database::Models::AutonomousDatabaseEncryptionKeyDetails



191
192
193
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 191

def encryption_key
  @encryption_key
end

#encryption_key_history_entryArray<OCI::Database::Models::AutonomousDatabaseEncryptionKeyHistoryEntry>

Key History Entry.



262
263
264
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 262

def encryption_key_history_entry
  @encryption_key_history_entry
end

#failed_data_recovery_in_secondsInteger

Indicates the number of seconds of data loss for a Data Guard failover.

Returns:

  • (Integer)


634
635
636
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 634

def failed_data_recovery_in_seconds
  @failed_data_recovery_in_seconds
end

#freeform_tagsHash<String, String>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {\"Department\": \"Finance\"}

Returns:

  • (Hash<String, String>)


406
407
408
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 406

def freeform_tags
  @freeform_tags
end

#idString

[Required] The OCID of the Autonomous Database.

Returns:

  • (String)


160
161
162
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 160

def id
  @id
end

#in_memory_area_in_gbsInteger

The area assigned to In-Memory tables in Autonomous Database.

Returns:

  • (Integer)


221
222
223
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 221

def in_memory_area_in_gbs
  @in_memory_area_in_gbs
end

#in_memory_percentageInteger

The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform.

Returns:

  • (Integer)


217
218
219
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 217

def in_memory_percentage
  @in_memory_percentage
end

#infrastructure_typeString

The infrastructure type this resource belongs to.

Returns:

  • (String)


339
340
341
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 339

def infrastructure_type
  @infrastructure_type
end

#is_access_control_enabledBOOLEAN

Indicates if the database-level access control is enabled. If disabled, database access is defined by the network security rules. If enabled, database access is restricted to the IP addresses defined by the rules specified with the whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

Returns:

  • (BOOLEAN)


498
499
500
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 498

def is_access_control_enabled
  @is_access_control_enabled
end

#is_auto_scaling_enabledBOOLEAN

Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.

Returns:

  • (BOOLEAN)


548
549
550
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 548

def is_auto_scaling_enabled
  @is_auto_scaling_enabled
end

#is_auto_scaling_for_storage_enabledBOOLEAN

Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.

Returns:

  • (BOOLEAN)


757
758
759
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 757

def is_auto_scaling_for_storage_enabled
  @is_auto_scaling_for_storage_enabled
end

#is_backup_retention_lockedBOOLEAN

Indicates if the Autonomous Database is backup retention locked.

Returns:

  • (BOOLEAN)


352
353
354
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 352

def is_backup_retention_locked
  @is_backup_retention_locked
end

#is_data_guard_enabledBOOLEAN

Deprecated. Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.

Returns:

  • (BOOLEAN)


630
631
632
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 630

def is_data_guard_enabled
  @is_data_guard_enabled
end

#is_dedicatedBOOLEAN

True if the database uses dedicated Exadata infrastructure.

Returns:

  • (BOOLEAN)


344
345
346
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 344

def is_dedicated
  @is_dedicated
end

#is_dev_tierBOOLEAN

Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.

Returns:

  • (BOOLEAN)


487
488
489
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 487

def is_dev_tier
  @is_dev_tier
end

#is_free_tierBOOLEAN

Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isLocalDataGuardEnabled

Returns:

  • (BOOLEAN)


235
236
237
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 235

def is_free_tier
  @is_free_tier
end

#is_local_data_guard_enabledBOOLEAN

Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.

Returns:

  • (BOOLEAN)


643
644
645
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 643

def is_local_data_guard_enabled
  @is_local_data_guard_enabled
end

#is_mtls_connection_requiredBOOLEAN

Specifies if the Autonomous Database requires mTLS connections.

This may not be updated in parallel with any of the following: licenseModel, databaseEdition, cpuCoreCount, computeCount, dataStorageSizeInTBs, whitelistedIps, openMode, permissionLevel, db-workload, privateEndpointLabel, nsgIds, customerContacts, dbVersion, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Service Change: The default value of the isMTLSConnectionRequired attribute will change from true to false on July 1, 2023 in the following APIs: - CreateAutonomousDatabase - GetAutonomousDatabase - UpdateAutonomousDatabase Details: Prior to the July 1, 2023 change, the isMTLSConnectionRequired attribute default value was true. This applies to Autonomous Database Serverless. Does this impact me? If you use or maintain custom scripts or Terraform scripts referencing the CreateAutonomousDatabase, GetAutonomousDatabase, or UpdateAutonomousDatabase APIs, you want to check, and possibly modify, the scripts for the changed default value of the attribute. Should you choose not to leave your scripts unchanged, the API calls containing this attribute will continue to work, but the default value will switch from true to false. How do I make this change? Using either OCI SDKs or command line tools, update your custom scripts to explicitly set the isMTLSConnectionRequired attribute to true.

Returns:

  • (BOOLEAN)


720
721
722
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 720

def is_mtls_connection_required
  @is_mtls_connection_required
end

#is_previewBOOLEAN

Indicates if the Autonomous Database version is a preview version.

Returns:

  • (BOOLEAN)


470
471
472
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 470

def is_preview
  @is_preview
end

#is_reconnect_clone_enabledBOOLEAN

Indicates if the refreshable clone can be reconnected to its source database.

Returns:

  • (BOOLEAN)


735
736
737
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 735

def is_reconnect_clone_enabled
  @is_reconnect_clone_enabled
end

#is_refreshable_cloneBOOLEAN

Indicates if the Autonomous Database is a refreshable clone.

This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Returns:

  • (BOOLEAN)


579
580
581
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 579

def is_refreshable_clone
  @is_refreshable_clone
end

#is_remote_data_guard_enabledBOOLEAN

Indicates whether the Autonomous Database has Cross Region Data Guard enabled. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.

Returns:

  • (BOOLEAN)


647
648
649
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 647

def is_remote_data_guard_enabled
  @is_remote_data_guard_enabled
end

#key_history_entryArray<OCI::Database::Models::AutonomousDatabaseKeyHistoryEntry>

Key History Entry.



258
259
260
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 258

def key_history_entry
  @key_history_entry
end

#key_store_idString

The OCID of the key store of Oracle Vault.

Returns:

  • (String)


663
664
665
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 663

def key_store_id
  @key_store_id
end

#key_store_wallet_nameString

The wallet name for Oracle Key Vault.

Returns:

  • (String)


667
668
669
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 667

def key_store_wallet_name
  @key_store_wallet_name
end

#kms_key_idString

The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

Returns:

  • (String)


180
181
182
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 180

def kms_key_id
  @kms_key_id
end

#kms_key_lifecycle_detailsString

KMS key lifecycle details.

Returns:

  • (String)


188
189
190
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 188

def kms_key_lifecycle_details
  @kms_key_lifecycle_details
end

#kms_key_version_idString

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. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.

Returns:

  • (String)


196
197
198
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 196

def kms_key_version_id
  @kms_key_version_id
end

#license_modelString

The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Oracle Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an [Autonomous Database Serverless] (docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value is not specified, the system defaults the value to BRING_YOUR_OWN_LICENSE. Bring your own license (BYOL) also allows you to select the DB edition using the optional parameter.

This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.

Returns:

  • (String)


390
391
392
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 390

def license_model
  @license_model
end

#lifecycle_detailsString

Information about the current lifecycle state.

Returns:

  • (String)


176
177
178
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 176

def lifecycle_details
  @lifecycle_details
end

#lifecycle_stateString

[Required] The current state of the Autonomous Database.

Returns:

  • (String)


172
173
174
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 172

def lifecycle_state
  @lifecycle_state
end

#local_adg_auto_failover_max_data_loss_limitInteger

Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard

Returns:

  • (Integer)


273
274
275
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 273

def local_adg_auto_failover_max_data_loss_limit
  @local_adg_auto_failover_max_data_loss_limit
end

#local_disaster_recovery_typeString

Indicates the local disaster recovery (DR) type of the Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.

Returns:

  • (String)


788
789
790
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 788

def local_disaster_recovery_type
  @local_disaster_recovery_type
end

#local_standby_dbOCI::Database::Models::AutonomousDatabaseStandbySummary



650
651
652
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 650

def local_standby_db
  @local_standby_db
end

#long_term_backup_scheduleOCI::Database::Models::LongTermBackUpScheduleDetails



228
229
230
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 228

def long_term_backup_schedule
  @long_term_backup_schedule
end

#maintenance_target_componentString

The component chosen for maintenance.

Returns:

  • (String)


572
573
574
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 572

def maintenance_target_component
  @maintenance_target_component
end

#memory_per_oracle_compute_unit_in_gbsInteger

The amount of memory (in GBs) enabled per ECPU or OCPU.

Returns:

  • (Integer)


323
324
325
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 323

def memory_per_oracle_compute_unit_in_gbs
  @memory_per_oracle_compute_unit_in_gbs
end

#ncharacter_setString

The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.

Returns:

  • (String)


213
214
215
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 213

def ncharacter_set
  @ncharacter_set
end

#net_services_architectureString

Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.

Returns:

  • (String)


805
806
807
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 805

def net_services_architecture
  @net_services_architecture
end

#next_long_term_backup_time_stampDateTime

The date and time when the next long-term backup would be created.

Returns:

  • (DateTime)


225
226
227
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 225

def next_long_term_backup_time_stamp
  @next_long_term_backup_time_stamp
end

#nsg_idsArray<String>

The list of OCIDs 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. NsgIds restrictions: - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.

Returns:

  • (Array<String>)


440
441
442
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 440

def nsg_ids
  @nsg_ids
end

#ocpu_countFloat

The number of OCPU cores to be made available to the database.

The following points apply: - For Autonomous Databases on Dedicated Exadata Infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.) - To provision cores, enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to Autonomous Databases on both serverless and dedicated Exadata infrastructure. - For Autonomous Database Serverless instances, this parameter is not used.

For Autonomous Databases on Dedicated Exadata Infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

Note: This parameter cannot be used with the cpuCoreCount parameter.

Returns:

  • (Float)


305
306
307
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 305

def ocpu_count
  @ocpu_count
end

#open_modeString

Indicates the Autonomous Database mode. The database can be opened in READ_ONLY or READ_WRITE mode.

This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.

Returns:

  • (String)


598
599
600
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 598

def open_mode
  @open_mode
end

#operations_insights_statusString

Status of Operations Insights for this Autonomous Database.

Returns:

  • (String)


556
557
558
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 556

def operations_insights_status
  @operations_insights_status
end

#peer_db_idsArray<String>

The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.

Returns:

  • (Array<String>)


705
706
707
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 705

def peer_db_ids
  @peer_db_ids
end

#permission_levelString

The Autonomous Database permission level. Restricted mode allows access only by admin users.

This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.

Returns:

  • (String)


617
618
619
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 617

def permission_level
  @permission_level
end

#private_endpointString

The private endpoint for the resource.

Returns:

  • (String)


444
445
446
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 444

def private_endpoint
  @private_endpoint
end

#private_endpoint_ipString

The private endpoint Ip address for the resource.

Returns:

  • (String)


462
463
464
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 462

def private_endpoint_ip
  @private_endpoint_ip
end

#private_endpoint_labelString

The resource's private endpoint label. - Setting the endpoint label to a non-empty string creates a private endpoint database. - Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database. - Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.

This setting cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.

Returns:

  • (String)


458
459
460
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 458

def private_endpoint_label
  @private_endpoint_label
end

#provisionable_cpusArray<Float>

An array of CPU values that an Autonomous Database can be scaled to.

Returns:

  • (Array<Float>)


309
310
311
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 309

def provisionable_cpus
  @provisionable_cpus
end

#public_connection_urlsOCI::Database::Models::AutonomousDatabaseConnectionUrls

The Public URLs of Private Endpoint database for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN.



380
381
382
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 380

def public_connection_urls
  @public_connection_urls
end

#public_endpointString

The public endpoint for the private endpoint enabled resource.

Returns:

  • (String)


448
449
450
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 448

def public_endpoint
  @public_endpoint
end

#refreshable_modeString

The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.

Returns:

  • (String)


606
607
608
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 606

def refreshable_mode
  @refreshable_mode
end

#refreshable_statusString

The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.

Returns:

  • (String)


602
603
604
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 602

def refreshable_status
  @refreshable_status
end

#remote_disaster_recovery_configurationOCI::Database::Models::DisasterRecoveryConfiguration



800
801
802
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 800

def remote_disaster_recovery_configuration
  @remote_disaster_recovery_configuration
end

#resource_pool_leader_idString

The unique identifier for leader autonomous database OCID OCID.

Returns:

  • (String)


728
729
730
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 728

def resource_pool_leader_id
  @resource_pool_leader_id
end

#resource_pool_summaryOCI::Database::Models::ResourcePoolSummary



731
732
733
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 731

def resource_pool_summary
  @resource_pool_summary
end

#roleString

The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.

Returns:

  • (String)


655
656
657
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 655

def role
  @role
end

#scheduled_operationsArray<OCI::Database::Models::ScheduledOperationDetails>

The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.



752
753
754
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 752

def scheduled_operations
  @scheduled_operations
end

#security_attributesHash<String, Hash<String, Object>>

Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}

Returns:

  • (Hash<String, Hash<String, Object>>)


419
420
421
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 419

def security_attributes
  @security_attributes
end

#service_console_urlString

The URL of the Service Console for the Autonomous Database.

Returns:

  • (String)


369
370
371
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 369

def service_console_url
  @service_console_url
end

#source_idString

The OCID of the source Autonomous Database that was cloned to create the current Autonomous Database.

Returns:

  • (String)


610
611
612
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 610

def source_id
  @source_id
end

#standby_dbOCI::Database::Models::AutonomousDatabaseStandbySummary

Deprecated Autonomous Data Guard standby database details.



639
640
641
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 639

def standby_db
  @standby_db
end

#standby_whitelisted_ipsArray<String>

The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if itu2019s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. Example: [\"1.1.1.1\",\"1.1.1.0/24\",\"ocid1.vcn.oc1.sea.<unique_id>\",\"ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1\",\"ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16\"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: [\"1.1.1.1\",\"1.1.1.0/24\",\"1.1.2.25\"]

For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Returns:

  • (Array<String>)


539
540
541
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 539

def standby_whitelisted_ips
  @standby_whitelisted_ips
end

#subnet_idString

The OCID of the subnet the resource is associated with.

Subnet Restrictions: - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28. - For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20. - For Autonomous Database, setting this will disable public secure access to the database.

These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

Returns:

  • (String)


433
434
435
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 433

def subnet_id
  @subnet_id
end

#subscription_idString

The OCID of the subscription with which resource needs to be associated with.

Returns:

  • (String)


168
169
170
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 168

def subscription_id
  @subscription_id
end

#supported_regions_to_clone_toArray<String>

The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.

Returns:

  • (Array<String>)


684
685
686
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 684

def supported_regions_to_clone_to
  @supported_regions_to_clone_to
end

#system_tagsHash<String, Hash<String, Object>>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:

  • (Hash<String, Hash<String, Object>>)


241
242
243
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 241

def system_tags
  @system_tags
end

#time_createdDateTime

The date and time the Autonomous Database was created.

Returns:

  • (DateTime)


361
362
363
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 361

def time_created
  @time_created
end

#time_data_guard_role_changedDateTime

The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.

Returns:

  • (DateTime)


701
702
703
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 701

def time_data_guard_role_changed
  @time_data_guard_role_changed
end

#time_deletion_of_free_autonomous_databaseDateTime

The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.

Returns:

  • (DateTime)


251
252
253
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 251

def time_deletion_of_free_autonomous_database
  @time_deletion_of_free_autonomous_database
end

#time_disaster_recovery_role_changedDateTime

The date and time the Disaster Recovery role was switched for the standby Autonomous Database.

Returns:

  • (DateTime)


797
798
799
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 797

def time_disaster_recovery_role_changed
  @time_disaster_recovery_role_changed
end

#time_local_data_guard_enabledDateTime

The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.

Returns:

  • (DateTime)


692
693
694
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 692

def time_local_data_guard_enabled
  @time_local_data_guard_enabled
end

#time_maintenance_beginDateTime

The date and time when maintenance will begin.

Returns:

  • (DateTime)


564
565
566
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 564

def time_maintenance_begin
  @time_maintenance_begin
end

#time_maintenance_endDateTime

The date and time when maintenance will end.

Returns:

  • (DateTime)


568
569
570
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 568

def time_maintenance_end
  @time_maintenance_end
end

#time_of_auto_refresh_startDateTime

The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.

Returns:

  • (DateTime)


679
680
681
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 679

def time_of_auto_refresh_start
  @time_of_auto_refresh_start
end

#time_of_joining_resource_poolDateTime

The time the member joined the resource pool.

Returns:

  • (DateTime)


724
725
726
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 724

def time_of_joining_resource_pool
  @time_of_joining_resource_pool
end

#time_of_last_failoverDateTime

The timestamp of the last failover operation.

Returns:

  • (DateTime)


625
626
627
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 625

def time_of_last_failover
  @time_of_last_failover
end

#time_of_last_refreshDateTime

The date and time when last refresh happened.

Returns:

  • (DateTime)


583
584
585
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 583

def time_of_last_refresh
  @time_of_last_refresh
end

#time_of_last_refresh_pointDateTime

The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.

Returns:

  • (DateTime)


587
588
589
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 587

def time_of_last_refresh_point
  @time_of_last_refresh_point
end

#time_of_last_switchoverDateTime

The timestamp of the last switchover operation for the Autonomous Database.

Returns:

  • (DateTime)


621
622
623
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 621

def time_of_last_switchover
  @time_of_last_switchover
end

#time_of_next_refreshDateTime

The date and time of next refresh.

Returns:

  • (DateTime)


591
592
593
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 591

def time_of_next_refresh
  @time_of_next_refresh
end

#time_reclamation_of_free_autonomous_databaseDateTime

The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.

Returns:

  • (DateTime)


246
247
248
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 246

def time_reclamation_of_free_autonomous_database
  @time_reclamation_of_free_autonomous_database
end

#time_undeletedDateTime

The date and time the Autonomous Database was most recently undeleted.

Returns:

  • (DateTime)


357
358
359
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 357

def time_undeleted
  @time_undeleted
end

#time_until_reconnect_clone_enabledDateTime

The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.

Returns:

  • (DateTime)


739
740
741
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 739

def time_until_reconnect_clone_enabled
  @time_until_reconnect_clone_enabled
end

#total_backup_storage_size_in_gbsFloat

The backup storage to the database.

Returns:

  • (Float)


291
292
293
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 291

def total_backup_storage_size_in_gbs
  @total_backup_storage_size_in_gbs
end

#used_data_storage_size_in_gbsInteger

The storage space consumed by Autonomous Database in GBs.

Returns:

  • (Integer)


334
335
336
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 334

def used_data_storage_size_in_gbs
  @used_data_storage_size_in_gbs
end

#used_data_storage_size_in_tbsInteger

The amount of storage that has been used for Autonomous Databases in dedicated infrastructure, in terabytes.

Returns:

  • (Integer)


398
399
400
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 398

def used_data_storage_size_in_tbs
  @used_data_storage_size_in_tbs
end

#vault_idString

The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.

Returns:

  • (String)


184
185
186
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 184

def vault_id
  @vault_id
end

#whitelisted_ipsArray<String>

The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if itu2019s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. Example: [\"1.1.1.1\",\"1.1.1.0/24\",\"ocid1.vcn.oc1.sea.<unique_id>\",\"ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1\",\"ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16\"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: [\"1.1.1.1\",\"1.1.1.0/24\",\"1.1.2.25\"]

For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Returns:

  • (Array<String>)


515
516
517
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 515

def whitelisted_ips
  @whitelisted_ips
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 820

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'id',
    'compartment_id': :'compartmentId',
    'subscription_id': :'subscriptionId',
    'lifecycle_state': :'lifecycleState',
    'lifecycle_details': :'lifecycleDetails',
    'kms_key_id': :'kmsKeyId',
    'vault_id': :'vaultId',
    'kms_key_lifecycle_details': :'kmsKeyLifecycleDetails',
    'encryption_key': :'encryptionKey',
    'kms_key_version_id': :'kmsKeyVersionId',
    'db_name': :'dbName',
    'character_set': :'characterSet',
    'ncharacter_set': :'ncharacterSet',
    'in_memory_percentage': :'inMemoryPercentage',
    'in_memory_area_in_gbs': :'inMemoryAreaInGBs',
    'next_long_term_backup_time_stamp': :'nextLongTermBackupTimeStamp',
    'long_term_backup_schedule': :'longTermBackupSchedule',
    'is_free_tier': :'isFreeTier',
    'system_tags': :'systemTags',
    'time_reclamation_of_free_autonomous_database': :'timeReclamationOfFreeAutonomousDatabase',
    'time_deletion_of_free_autonomous_database': :'timeDeletionOfFreeAutonomousDatabase',
    'backup_config': :'backupConfig',
    'key_history_entry': :'keyHistoryEntry',
    'encryption_key_history_entry': :'encryptionKeyHistoryEntry',
    'cpu_core_count': :'cpuCoreCount',
    'local_adg_auto_failover_max_data_loss_limit': :'localAdgAutoFailoverMaxDataLossLimit',
    'compute_model': :'computeModel',
    'compute_count': :'computeCount',
    'backup_retention_period_in_days': :'backupRetentionPeriodInDays',
    'total_backup_storage_size_in_gbs': :'totalBackupStorageSizeInGBs',
    'ocpu_count': :'ocpuCount',
    'provisionable_cpus': :'provisionableCpus',
    'data_storage_size_in_tbs': :'dataStorageSizeInTBs',
    'memory_per_oracle_compute_unit_in_gbs': :'memoryPerOracleComputeUnitInGBs',
    'data_storage_size_in_gbs': :'dataStorageSizeInGBs',
    'used_data_storage_size_in_gbs': :'usedDataStorageSizeInGBs',
    'infrastructure_type': :'infrastructureType',
    'is_dedicated': :'isDedicated',
    'autonomous_container_database_id': :'autonomousContainerDatabaseId',
    'is_backup_retention_locked': :'isBackupRetentionLocked',
    'time_undeleted': :'timeUndeleted',
    'time_created': :'timeCreated',
    'display_name': :'displayName',
    'service_console_url': :'serviceConsoleUrl',
    'connection_strings': :'connectionStrings',
    'connection_urls': :'connectionUrls',
    'public_connection_urls': :'publicConnectionUrls',
    'license_model': :'licenseModel',
    'byol_compute_count_limit': :'byolComputeCountLimit',
    'used_data_storage_size_in_tbs': :'usedDataStorageSizeInTBs',
    'freeform_tags': :'freeformTags',
    'defined_tags': :'definedTags',
    'security_attributes': :'securityAttributes',
    'subnet_id': :'subnetId',
    'nsg_ids': :'nsgIds',
    'private_endpoint': :'privateEndpoint',
    'public_endpoint': :'publicEndpoint',
    'private_endpoint_label': :'privateEndpointLabel',
    'private_endpoint_ip': :'privateEndpointIp',
    'db_version': :'dbVersion',
    'is_preview': :'isPreview',
    'db_workload': :'dbWorkload',
    'is_dev_tier': :'isDevTier',
    'is_access_control_enabled': :'isAccessControlEnabled',
    'whitelisted_ips': :'whitelistedIps',
    'are_primary_whitelisted_ips_used': :'arePrimaryWhitelistedIpsUsed',
    'standby_whitelisted_ips': :'standbyWhitelistedIps',
    'apex_details': :'apexDetails',
    'is_auto_scaling_enabled': :'isAutoScalingEnabled',
    'data_safe_status': :'dataSafeStatus',
    'operations_insights_status': :'operationsInsightsStatus',
    'database_management_status': :'databaseManagementStatus',
    'time_maintenance_begin': :'timeMaintenanceBegin',
    'time_maintenance_end': :'timeMaintenanceEnd',
    'maintenance_target_component': :'maintenanceTargetComponent',
    'is_refreshable_clone': :'isRefreshableClone',
    'time_of_last_refresh': :'timeOfLastRefresh',
    'time_of_last_refresh_point': :'timeOfLastRefreshPoint',
    'time_of_next_refresh': :'timeOfNextRefresh',
    'open_mode': :'openMode',
    'refreshable_status': :'refreshableStatus',
    'refreshable_mode': :'refreshableMode',
    'source_id': :'sourceId',
    'permission_level': :'permissionLevel',
    'time_of_last_switchover': :'timeOfLastSwitchover',
    'time_of_last_failover': :'timeOfLastFailover',
    'is_data_guard_enabled': :'isDataGuardEnabled',
    'failed_data_recovery_in_seconds': :'failedDataRecoveryInSeconds',
    'standby_db': :'standbyDb',
    'is_local_data_guard_enabled': :'isLocalDataGuardEnabled',
    'is_remote_data_guard_enabled': :'isRemoteDataGuardEnabled',
    'local_standby_db': :'localStandbyDb',
    'role': :'role',
    'available_upgrade_versions': :'availableUpgradeVersions',
    'key_store_id': :'keyStoreId',
    'key_store_wallet_name': :'keyStoreWalletName',
    'auto_refresh_frequency_in_seconds': :'autoRefreshFrequencyInSeconds',
    'auto_refresh_point_lag_in_seconds': :'autoRefreshPointLagInSeconds',
    'time_of_auto_refresh_start': :'timeOfAutoRefreshStart',
    'supported_regions_to_clone_to': :'supportedRegionsToCloneTo',
    'customer_contacts': :'customerContacts',
    'time_local_data_guard_enabled': :'timeLocalDataGuardEnabled',
    'dataguard_region_type': :'dataguardRegionType',
    'time_data_guard_role_changed': :'timeDataGuardRoleChanged',
    'peer_db_ids': :'peerDbIds',
    'is_mtls_connection_required': :'isMtlsConnectionRequired',
    'time_of_joining_resource_pool': :'timeOfJoiningResourcePool',
    'resource_pool_leader_id': :'resourcePoolLeaderId',
    'resource_pool_summary': :'resourcePoolSummary',
    'is_reconnect_clone_enabled': :'isReconnectCloneEnabled',
    'time_until_reconnect_clone_enabled': :'timeUntilReconnectCloneEnabled',
    'autonomous_maintenance_schedule_type': :'autonomousMaintenanceScheduleType',
    'scheduled_operations': :'scheduledOperations',
    'is_auto_scaling_for_storage_enabled': :'isAutoScalingForStorageEnabled',
    'allocated_storage_size_in_tbs': :'allocatedStorageSizeInTBs',
    'actual_used_data_storage_size_in_tbs': :'actualUsedDataStorageSizeInTBs',
    'database_edition': :'databaseEdition',
    'db_tools_details': :'dbToolsDetails',
    'local_disaster_recovery_type': :'localDisasterRecoveryType',
    'disaster_recovery_region_type': :'disasterRecoveryRegionType',
    'time_disaster_recovery_role_changed': :'timeDisasterRecoveryRoleChanged',
    'remote_disaster_recovery_configuration': :'remoteDisasterRecoveryConfiguration',
    'net_services_architecture': :'netServicesArchitecture',
    'availability_domain': :'availabilityDomain',
    'cluster_placement_group_id': :'clusterPlacementGroupId',
    'clone_table_space_list': :'cloneTableSpaceList'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 954

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'String',
    'compartment_id': :'String',
    'subscription_id': :'String',
    'lifecycle_state': :'String',
    'lifecycle_details': :'String',
    'kms_key_id': :'String',
    'vault_id': :'String',
    'kms_key_lifecycle_details': :'String',
    'encryption_key': :'OCI::Database::Models::AutonomousDatabaseEncryptionKeyDetails',
    'kms_key_version_id': :'String',
    'db_name': :'String',
    'character_set': :'String',
    'ncharacter_set': :'String',
    'in_memory_percentage': :'Integer',
    'in_memory_area_in_gbs': :'Integer',
    'next_long_term_backup_time_stamp': :'DateTime',
    'long_term_backup_schedule': :'OCI::Database::Models::LongTermBackUpScheduleDetails',
    'is_free_tier': :'BOOLEAN',
    'system_tags': :'Hash<String, Hash<String, Object>>',
    'time_reclamation_of_free_autonomous_database': :'DateTime',
    'time_deletion_of_free_autonomous_database': :'DateTime',
    'backup_config': :'OCI::Database::Models::AutonomousDatabaseBackupConfig',
    'key_history_entry': :'Array<OCI::Database::Models::AutonomousDatabaseKeyHistoryEntry>',
    'encryption_key_history_entry': :'Array<OCI::Database::Models::AutonomousDatabaseEncryptionKeyHistoryEntry>',
    'cpu_core_count': :'Integer',
    'local_adg_auto_failover_max_data_loss_limit': :'Integer',
    'compute_model': :'String',
    'compute_count': :'Float',
    'backup_retention_period_in_days': :'Integer',
    'total_backup_storage_size_in_gbs': :'Float',
    'ocpu_count': :'Float',
    'provisionable_cpus': :'Array<Float>',
    'data_storage_size_in_tbs': :'Integer',
    'memory_per_oracle_compute_unit_in_gbs': :'Integer',
    'data_storage_size_in_gbs': :'Integer',
    'used_data_storage_size_in_gbs': :'Integer',
    'infrastructure_type': :'String',
    'is_dedicated': :'BOOLEAN',
    'autonomous_container_database_id': :'String',
    'is_backup_retention_locked': :'BOOLEAN',
    'time_undeleted': :'DateTime',
    'time_created': :'DateTime',
    'display_name': :'String',
    'service_console_url': :'String',
    'connection_strings': :'OCI::Database::Models::AutonomousDatabaseConnectionStrings',
    'connection_urls': :'OCI::Database::Models::AutonomousDatabaseConnectionUrls',
    'public_connection_urls': :'OCI::Database::Models::AutonomousDatabaseConnectionUrls',
    'license_model': :'String',
    'byol_compute_count_limit': :'Float',
    'used_data_storage_size_in_tbs': :'Integer',
    'freeform_tags': :'Hash<String, String>',
    'defined_tags': :'Hash<String, Hash<String, Object>>',
    'security_attributes': :'Hash<String, Hash<String, Object>>',
    'subnet_id': :'String',
    'nsg_ids': :'Array<String>',
    'private_endpoint': :'String',
    'public_endpoint': :'String',
    'private_endpoint_label': :'String',
    'private_endpoint_ip': :'String',
    'db_version': :'String',
    'is_preview': :'BOOLEAN',
    'db_workload': :'String',
    'is_dev_tier': :'BOOLEAN',
    'is_access_control_enabled': :'BOOLEAN',
    'whitelisted_ips': :'Array<String>',
    'are_primary_whitelisted_ips_used': :'BOOLEAN',
    'standby_whitelisted_ips': :'Array<String>',
    'apex_details': :'OCI::Database::Models::AutonomousDatabaseApex',
    'is_auto_scaling_enabled': :'BOOLEAN',
    'data_safe_status': :'String',
    'operations_insights_status': :'String',
    'database_management_status': :'String',
    'time_maintenance_begin': :'DateTime',
    'time_maintenance_end': :'DateTime',
    'maintenance_target_component': :'String',
    'is_refreshable_clone': :'BOOLEAN',
    'time_of_last_refresh': :'DateTime',
    'time_of_last_refresh_point': :'DateTime',
    'time_of_next_refresh': :'DateTime',
    'open_mode': :'String',
    'refreshable_status': :'String',
    'refreshable_mode': :'String',
    'source_id': :'String',
    'permission_level': :'String',
    'time_of_last_switchover': :'DateTime',
    'time_of_last_failover': :'DateTime',
    'is_data_guard_enabled': :'BOOLEAN',
    'failed_data_recovery_in_seconds': :'Integer',
    'standby_db': :'OCI::Database::Models::AutonomousDatabaseStandbySummary',
    'is_local_data_guard_enabled': :'BOOLEAN',
    'is_remote_data_guard_enabled': :'BOOLEAN',
    'local_standby_db': :'OCI::Database::Models::AutonomousDatabaseStandbySummary',
    'role': :'String',
    'available_upgrade_versions': :'Array<String>',
    'key_store_id': :'String',
    'key_store_wallet_name': :'String',
    'auto_refresh_frequency_in_seconds': :'Integer',
    'auto_refresh_point_lag_in_seconds': :'Integer',
    'time_of_auto_refresh_start': :'DateTime',
    'supported_regions_to_clone_to': :'Array<String>',
    'customer_contacts': :'Array<OCI::Database::Models::CustomerContact>',
    'time_local_data_guard_enabled': :'DateTime',
    'dataguard_region_type': :'String',
    'time_data_guard_role_changed': :'DateTime',
    'peer_db_ids': :'Array<String>',
    'is_mtls_connection_required': :'BOOLEAN',
    'time_of_joining_resource_pool': :'DateTime',
    'resource_pool_leader_id': :'String',
    'resource_pool_summary': :'OCI::Database::Models::ResourcePoolSummary',
    'is_reconnect_clone_enabled': :'BOOLEAN',
    'time_until_reconnect_clone_enabled': :'DateTime',
    'autonomous_maintenance_schedule_type': :'String',
    'scheduled_operations': :'Array<OCI::Database::Models::ScheduledOperationDetails>',
    'is_auto_scaling_for_storage_enabled': :'BOOLEAN',
    'allocated_storage_size_in_tbs': :'Float',
    'actual_used_data_storage_size_in_tbs': :'Float',
    'database_edition': :'String',
    'db_tools_details': :'Array<OCI::Database::Models::DatabaseTool>',
    'local_disaster_recovery_type': :'String',
    'disaster_recovery_region_type': :'String',
    'time_disaster_recovery_role_changed': :'DateTime',
    'remote_disaster_recovery_configuration': :'OCI::Database::Models::DisasterRecoveryConfiguration',
    'net_services_architecture': :'String',
    'availability_domain': :'String',
    'cluster_placement_group_id': :'String',
    'clone_table_space_list': :'Array<Integer>'
    # rubocop:enable Style/SymbolLiteral
  }
end

Instance Method Details

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 2219

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    id == other.id &&
    compartment_id == other.compartment_id &&
    subscription_id == other.subscription_id &&
    lifecycle_state == other.lifecycle_state &&
    lifecycle_details == other.lifecycle_details &&
    kms_key_id == other.kms_key_id &&
    vault_id == other.vault_id &&
    kms_key_lifecycle_details == other.kms_key_lifecycle_details &&
    encryption_key == other.encryption_key &&
    kms_key_version_id == other.kms_key_version_id &&
    db_name == other.db_name &&
    character_set == other.character_set &&
    ncharacter_set == other.ncharacter_set &&
    in_memory_percentage == other.in_memory_percentage &&
    in_memory_area_in_gbs == other.in_memory_area_in_gbs &&
    next_long_term_backup_time_stamp == other.next_long_term_backup_time_stamp &&
    long_term_backup_schedule == other.long_term_backup_schedule &&
    is_free_tier == other.is_free_tier &&
    system_tags == other.system_tags &&
    time_reclamation_of_free_autonomous_database == other.time_reclamation_of_free_autonomous_database &&
    time_deletion_of_free_autonomous_database == other.time_deletion_of_free_autonomous_database &&
    backup_config == other.backup_config &&
    key_history_entry == other.key_history_entry &&
    encryption_key_history_entry == other.encryption_key_history_entry &&
    cpu_core_count == other.cpu_core_count &&
    local_adg_auto_failover_max_data_loss_limit == other.local_adg_auto_failover_max_data_loss_limit &&
    compute_model == other.compute_model &&
    compute_count == other.compute_count &&
    backup_retention_period_in_days == other.backup_retention_period_in_days &&
    total_backup_storage_size_in_gbs == other.total_backup_storage_size_in_gbs &&
    ocpu_count == other.ocpu_count &&
    provisionable_cpus == other.provisionable_cpus &&
    data_storage_size_in_tbs == other.data_storage_size_in_tbs &&
    memory_per_oracle_compute_unit_in_gbs == other.memory_per_oracle_compute_unit_in_gbs &&
    data_storage_size_in_gbs == other.data_storage_size_in_gbs &&
    used_data_storage_size_in_gbs == other.used_data_storage_size_in_gbs &&
    infrastructure_type == other.infrastructure_type &&
    is_dedicated == other.is_dedicated &&
    autonomous_container_database_id == other.autonomous_container_database_id &&
    is_backup_retention_locked == other.is_backup_retention_locked &&
    time_undeleted == other.time_undeleted &&
    time_created == other.time_created &&
    display_name == other.display_name &&
    service_console_url == other.service_console_url &&
    connection_strings == other.connection_strings &&
    connection_urls == other.connection_urls &&
    public_connection_urls == other.public_connection_urls &&
    license_model == other.license_model &&
    byol_compute_count_limit == other.byol_compute_count_limit &&
    used_data_storage_size_in_tbs == other.used_data_storage_size_in_tbs &&
    freeform_tags == other.freeform_tags &&
    defined_tags == other.defined_tags &&
    security_attributes == other.security_attributes &&
    subnet_id == other.subnet_id &&
    nsg_ids == other.nsg_ids &&
    private_endpoint == other.private_endpoint &&
    public_endpoint == other.public_endpoint &&
    private_endpoint_label == other.private_endpoint_label &&
    private_endpoint_ip == other.private_endpoint_ip &&
    db_version == other.db_version &&
    is_preview == other.is_preview &&
    db_workload == other.db_workload &&
    is_dev_tier == other.is_dev_tier &&
    is_access_control_enabled == other.is_access_control_enabled &&
    whitelisted_ips == other.whitelisted_ips &&
    are_primary_whitelisted_ips_used == other.are_primary_whitelisted_ips_used &&
    standby_whitelisted_ips == other.standby_whitelisted_ips &&
    apex_details == other.apex_details &&
    is_auto_scaling_enabled == other.is_auto_scaling_enabled &&
    data_safe_status == other.data_safe_status &&
    operations_insights_status == other.operations_insights_status &&
    database_management_status == other.database_management_status &&
    time_maintenance_begin == other.time_maintenance_begin &&
    time_maintenance_end == other.time_maintenance_end &&
    maintenance_target_component == other.maintenance_target_component &&
    is_refreshable_clone == other.is_refreshable_clone &&
    time_of_last_refresh == other.time_of_last_refresh &&
    time_of_last_refresh_point == other.time_of_last_refresh_point &&
    time_of_next_refresh == other.time_of_next_refresh &&
    open_mode == other.open_mode &&
    refreshable_status == other.refreshable_status &&
    refreshable_mode == other.refreshable_mode &&
    source_id == other.source_id &&
    permission_level == other.permission_level &&
    time_of_last_switchover == other.time_of_last_switchover &&
    time_of_last_failover == other.time_of_last_failover &&
    is_data_guard_enabled == other.is_data_guard_enabled &&
    failed_data_recovery_in_seconds == other.failed_data_recovery_in_seconds &&
    standby_db == other.standby_db &&
    is_local_data_guard_enabled == other.is_local_data_guard_enabled &&
    is_remote_data_guard_enabled == other.is_remote_data_guard_enabled &&
    local_standby_db == other.local_standby_db &&
    role == other.role &&
    available_upgrade_versions == other.available_upgrade_versions &&
    key_store_id == other.key_store_id &&
    key_store_wallet_name == other.key_store_wallet_name &&
    auto_refresh_frequency_in_seconds == other.auto_refresh_frequency_in_seconds &&
    auto_refresh_point_lag_in_seconds == other.auto_refresh_point_lag_in_seconds &&
    time_of_auto_refresh_start == other.time_of_auto_refresh_start &&
    supported_regions_to_clone_to == other.supported_regions_to_clone_to &&
    customer_contacts == other.customer_contacts &&
    time_local_data_guard_enabled == other.time_local_data_guard_enabled &&
    dataguard_region_type == other.dataguard_region_type &&
    time_data_guard_role_changed == other.time_data_guard_role_changed &&
    peer_db_ids == other.peer_db_ids &&
    is_mtls_connection_required == other.is_mtls_connection_required &&
    time_of_joining_resource_pool == other.time_of_joining_resource_pool &&
    resource_pool_leader_id == other.resource_pool_leader_id &&
    resource_pool_summary == other.resource_pool_summary &&
    is_reconnect_clone_enabled == other.is_reconnect_clone_enabled &&
    time_until_reconnect_clone_enabled == other.time_until_reconnect_clone_enabled &&
    autonomous_maintenance_schedule_type == other.autonomous_maintenance_schedule_type &&
    scheduled_operations == other.scheduled_operations &&
    is_auto_scaling_for_storage_enabled == other.is_auto_scaling_for_storage_enabled &&
    allocated_storage_size_in_tbs == other.allocated_storage_size_in_tbs &&
    actual_used_data_storage_size_in_tbs == other.actual_used_data_storage_size_in_tbs &&
    database_edition == other.database_edition &&
    db_tools_details == other.db_tools_details &&
    local_disaster_recovery_type == other.local_disaster_recovery_type &&
    disaster_recovery_region_type == other.disaster_recovery_region_type &&
    time_disaster_recovery_role_changed == other.time_disaster_recovery_role_changed &&
    remote_disaster_recovery_configuration == other.remote_disaster_recovery_configuration &&
    net_services_architecture == other.net_services_architecture &&
    availability_domain == other.availability_domain &&
    cluster_placement_group_id == other.cluster_placement_group_id &&
    clone_table_space_list == other.clone_table_space_list
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 2374

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)

  self.class.swagger_types.each_pair do |key, type|
    if type =~ /^Array<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        public_method("#{key}=").call(
          attributes[self.class.attribute_map[key]]
            .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
        )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      public_method("#{key}=").call(
        OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
      )
    end
    # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(other) ⇒ Boolean

Parameters:

  • other (Object)

    the other object to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


2354
2355
2356
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 2354

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



2363
2364
2365
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 2363

def hash
  [id, compartment_id, subscription_id, lifecycle_state, lifecycle_details, kms_key_id, vault_id, kms_key_lifecycle_details, encryption_key, kms_key_version_id, db_name, character_set, ncharacter_set, in_memory_percentage, in_memory_area_in_gbs, next_long_term_backup_time_stamp, long_term_backup_schedule, is_free_tier, system_tags, time_reclamation_of_free_autonomous_database, time_deletion_of_free_autonomous_database, backup_config, key_history_entry, encryption_key_history_entry, cpu_core_count, local_adg_auto_failover_max_data_loss_limit, compute_model, compute_count, backup_retention_period_in_days, total_backup_storage_size_in_gbs, ocpu_count, provisionable_cpus, data_storage_size_in_tbs, memory_per_oracle_compute_unit_in_gbs, data_storage_size_in_gbs, used_data_storage_size_in_gbs, infrastructure_type, is_dedicated, autonomous_container_database_id, is_backup_retention_locked, time_undeleted, time_created, display_name, service_console_url, connection_strings, connection_urls, public_connection_urls, license_model, byol_compute_count_limit, used_data_storage_size_in_tbs, freeform_tags, defined_tags, security_attributes, subnet_id, nsg_ids, private_endpoint, public_endpoint, private_endpoint_label, private_endpoint_ip, db_version, is_preview, db_workload, is_dev_tier, is_access_control_enabled, whitelisted_ips, are_primary_whitelisted_ips_used, standby_whitelisted_ips, apex_details, is_auto_scaling_enabled, data_safe_status, operations_insights_status, database_management_status, time_maintenance_begin, time_maintenance_end, maintenance_target_component, is_refreshable_clone, time_of_last_refresh, time_of_last_refresh_point, time_of_next_refresh, open_mode, refreshable_status, refreshable_mode, source_id, permission_level, time_of_last_switchover, time_of_last_failover, is_data_guard_enabled, failed_data_recovery_in_seconds, standby_db, is_local_data_guard_enabled, is_remote_data_guard_enabled, local_standby_db, role, available_upgrade_versions, key_store_id, key_store_wallet_name, auto_refresh_frequency_in_seconds, auto_refresh_point_lag_in_seconds, time_of_auto_refresh_start, supported_regions_to_clone_to, customer_contacts, time_local_data_guard_enabled, dataguard_region_type, time_data_guard_role_changed, peer_db_ids, is_mtls_connection_required, time_of_joining_resource_pool, resource_pool_leader_id, resource_pool_summary, is_reconnect_clone_enabled, time_until_reconnect_clone_enabled, autonomous_maintenance_schedule_type, scheduled_operations, is_auto_scaling_for_storage_enabled, allocated_storage_size_in_tbs, actual_used_data_storage_size_in_tbs, database_edition, db_tools_details, local_disaster_recovery_type, disaster_recovery_region_type, time_disaster_recovery_role_changed, remote_disaster_recovery_configuration, net_services_architecture, availability_domain, cluster_placement_group_id, clone_table_space_list].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 2407

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = public_method(attr).call
    next if value.nil? && !instance_variable_defined?("@#{attr}")

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



2401
2402
2403
# File 'lib/oci/database/models/autonomous_database_summary.rb', line 2401

def to_s
  to_hash.to_s
end