Class: OCI::Database::Models::AutonomousContainerDatabase

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

Overview

AutonomousContainerDatabase model.

Constant Summary collapse

SERVICE_LEVEL_AGREEMENT_TYPE_ENUM =
[
  SERVICE_LEVEL_AGREEMENT_TYPE_STANDARD = 'STANDARD'.freeze,
  SERVICE_LEVEL_AGREEMENT_TYPE_MISSION_CRITICAL = 'MISSION_CRITICAL'.freeze,
  SERVICE_LEVEL_AGREEMENT_TYPE_AUTONOMOUS_DATAGUARD = 'AUTONOMOUS_DATAGUARD'.freeze,
  SERVICE_LEVEL_AGREEMENT_TYPE_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
LIFECYCLE_STATE_ENUM =
[
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'.freeze,
  LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
  LIFECYCLE_STATE_TERMINATING = 'TERMINATING'.freeze,
  LIFECYCLE_STATE_TERMINATED = 'TERMINATED'.freeze,
  LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
  LIFECYCLE_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'.freeze,
  LIFECYCLE_STATE_RESTORING = 'RESTORING'.freeze,
  LIFECYCLE_STATE_RESTORE_FAILED = 'RESTORE_FAILED'.freeze,
  LIFECYCLE_STATE_RESTARTING = 'RESTARTING'.freeze,
  LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'.freeze,
  LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS = 'ROLE_CHANGE_IN_PROGRESS'.freeze,
  LIFECYCLE_STATE_ENABLING_AUTONOMOUS_DATA_GUARD = 'ENABLING_AUTONOMOUS_DATA_GUARD'.freeze,
  LIFECYCLE_STATE_UNAVAILABLE = 'UNAVAILABLE'.freeze,
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
PATCH_MODEL_ENUM =
[
  PATCH_MODEL_RELEASE_UPDATES = 'RELEASE_UPDATES'.freeze,
  PATCH_MODEL_RELEASE_UPDATE_REVISIONS = 'RELEASE_UPDATE_REVISIONS'.freeze,
  PATCH_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
VERSION_PREFERENCE_ENUM =
[
  VERSION_PREFERENCE_NEXT_RELEASE_UPDATE = 'NEXT_RELEASE_UPDATE'.freeze,
  VERSION_PREFERENCE_LATEST_RELEASE_UPDATE = 'LATEST_RELEASE_UPDATE'.freeze,
  VERSION_PREFERENCE_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
COMPUTE_MODEL_ENUM =
[
  COMPUTE_MODEL_ECPU = 'ECPU'.freeze,
  COMPUTE_MODEL_OCPU = 'OCPU'.freeze,
  COMPUTE_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
DISTRIBUTION_AFFINITY_ENUM =
[
  DISTRIBUTION_AFFINITY_MINIMUM_DISTRIBUTION = 'MINIMUM_DISTRIBUTION'.freeze,
  DISTRIBUTION_AFFINITY_MAXIMUM_DISTRIBUTION = 'MAXIMUM_DISTRIBUTION'.freeze,
  DISTRIBUTION_AFFINITY_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_DRCP = 'DRCP'.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 = {}) ⇒ AutonomousContainerDatabase

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
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
# File 'lib/oci/database/models/autonomous_container_database.rb', line 560

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

  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.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.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.okv_end_point_group_name = attributes[:'okvEndPointGroupName'] if attributes[:'okvEndPointGroupName']

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

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

  self.db_unique_name = attributes[:'dbUniqueName'] if attributes[:'dbUniqueName']

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

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

  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.service_level_agreement_type = attributes[:'serviceLevelAgreementType'] if attributes[:'serviceLevelAgreementType']

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

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

  self.autonomous_exadata_infrastructure_id = attributes[:'autonomousExadataInfrastructureId'] if attributes[:'autonomousExadataInfrastructureId']

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

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

  self.autonomous_vm_cluster_id = attributes[:'autonomousVmClusterId'] if attributes[:'autonomousVmClusterId']

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

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

  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.cloud_autonomous_vm_cluster_id = attributes[:'cloudAutonomousVmClusterId'] if attributes[:'cloudAutonomousVmClusterId']

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

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

  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_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.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_location_details = attributes[:'encryptionKeyLocationDetails'] if attributes[:'encryptionKeyLocationDetails']

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

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

  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.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.time_snapshot_standby_revert = attributes[:'timeSnapshotStandbyRevert'] if attributes[:'timeSnapshotStandbyRevert']

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

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

  self.patch_model = attributes[:'patchModel'] if attributes[:'patchModel']

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

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

  self.patch_id = attributes[:'patchId'] if attributes[:'patchId']

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

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

  self.last_maintenance_run_id = attributes[:'lastMaintenanceRunId'] if attributes[:'lastMaintenanceRunId']

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

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

  self.next_maintenance_run_id = attributes[:'nextMaintenanceRunId'] if attributes[:'nextMaintenanceRunId']

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

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

  self.maintenance_window = attributes[:'maintenanceWindow'] if attributes[:'maintenanceWindow']

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

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

  self.standby_maintenance_buffer_in_days = attributes[:'standbyMaintenanceBufferInDays'] if attributes[:'standbyMaintenanceBufferInDays']

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

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

  self.version_preference = attributes[:'versionPreference'] if attributes[:'versionPreference']
  self.version_preference = "NEXT_RELEASE_UPDATE" if version_preference.nil? && !attributes.key?(:'versionPreference') # rubocop:disable Style/StringLiterals

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

  self.version_preference = attributes[:'version_preference'] if attributes[:'version_preference']
  self.version_preference = "NEXT_RELEASE_UPDATE" if version_preference.nil? && !attributes.key?(:'versionPreference') && !attributes.key?(:'version_preference') # rubocop:disable Style/StringLiterals

  self.is_dst_file_update_enabled = attributes[:'isDstFileUpdateEnabled'] unless attributes[:'isDstFileUpdateEnabled'].nil?

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

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

  self.dst_file_version = attributes[:'dstFileVersion'] if attributes[:'dstFileVersion']

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

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

  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.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.role = attributes[:'role'] if attributes[:'role']

  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.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.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.backup_destination_properties_list = attributes[:'backupDestinationPropertiesList'] if attributes[:'backupDestinationPropertiesList']

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

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

  self.associated_backup_configuration_details = attributes[:'associatedBackupConfigurationDetails'] if attributes[:'associatedBackupConfigurationDetails']

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

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

  self.recovery_appliance_details = attributes[:'recoveryApplianceDetails'] if attributes[:'recoveryApplianceDetails']

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

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

  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.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.memory_per_compute_unit_in_gbs = attributes[:'memoryPerComputeUnitInGBs'] if attributes[:'memoryPerComputeUnitInGBs']

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

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

  self.available_cpus = attributes[:'availableCpus'] if attributes[:'availableCpus']

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

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

  self.total_cpus = attributes[:'totalCpus'] if attributes[:'totalCpus']

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

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

  self.reclaimable_cpus = attributes[:'reclaimableCpus'] if attributes[:'reclaimableCpus']

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

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

  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.list_one_off_patches = attributes[:'listOneOffPatches'] if attributes[:'listOneOffPatches']

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

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

  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.provisioned_cpus = attributes[:'provisionedCpus'] if attributes[:'provisionedCpus']

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

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

  self.reserved_cpus = attributes[:'reservedCpus'] if attributes[:'reservedCpus']

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

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

  self.largest_provisionable_autonomous_database_in_cpus = attributes[:'largestProvisionableAutonomousDatabaseInCpus'] if attributes[:'largestProvisionableAutonomousDatabaseInCpus']

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

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

  self.time_of_last_backup = attributes[:'timeOfLastBackup'] if attributes[:'timeOfLastBackup']

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

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

  self.db_split_threshold = attributes[:'dbSplitThreshold'] if attributes[:'dbSplitThreshold']

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

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

  self.vm_failover_reservation = attributes[:'vmFailoverReservation'] if attributes[:'vmFailoverReservation']

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

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

  self.distribution_affinity = attributes[:'distributionAffinity'] if attributes[:'distributionAffinity']

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

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

  self.net_services_architecture = attributes[:'netServicesArchitecture'] if attributes[:'netServicesArchitecture']
  self.net_services_architecture = "DEDICATED" if net_services_architecture.nil? && !attributes.key?(:'netServicesArchitecture') # rubocop:disable Style/StringLiterals

  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.net_services_architecture = "DEDICATED" if net_services_architecture.nil? && !attributes.key?(:'netServicesArchitecture') && !attributes.key?(:'net_services_architecture') # rubocop:disable Style/StringLiterals

  self.is_multiple_standby = attributes[:'isMultipleStandby'] unless attributes[:'isMultipleStandby'].nil?

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

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

  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.dataguard = attributes[:'dataguard'] if attributes[:'dataguard']

  self.dataguard_group_members = attributes[:'dataguardGroupMembers'] if attributes[:'dataguardGroupMembers']

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

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

Instance Attribute Details

#associated_backup_configuration_detailsArray<OCI::Database::Models::BackupDestinationConfigurationSummary>

A backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups.



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

def associated_backup_configuration_details
  @associated_backup_configuration_details
end

#autonomous_exadata_infrastructure_idString

No longer used. For Autonomous AI Database on dedicated Exadata infrastructure, the container database is created within a specified cloudAutonomousVmCluster.

Returns:

  • (String)


121
122
123
# File 'lib/oci/database/models/autonomous_container_database.rb', line 121

def autonomous_exadata_infrastructure_id
  @autonomous_exadata_infrastructure_id
end

#autonomous_vm_cluster_idString

The OCID of the Autonomous VM Cluster.

Returns:

  • (String)


125
126
127
# File 'lib/oci/database/models/autonomous_container_database.rb', line 125

def autonomous_vm_cluster_id
  @autonomous_vm_cluster_id
end

#availability_domainString

The availability domain of the Autonomous Container Database.

Returns:

  • (String)


236
237
238
# File 'lib/oci/database/models/autonomous_container_database.rb', line 236

def availability_domain
  @availability_domain
end

#available_cpusFloat

Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.

Returns:

  • (Float)


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

def available_cpus
  @available_cpus
end

#backup_configOCI::Database::Models::AutonomousContainerDatabaseBackupConfig



243
244
245
# File 'lib/oci/database/models/autonomous_container_database.rb', line 243

def backup_config
  @backup_config
end

#backup_destination_properties_listArray<OCI::Database::Models::BackupDestinationProperties>

This list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration.



247
248
249
# File 'lib/oci/database/models/autonomous_container_database.rb', line 247

def backup_destination_properties_list
  @backup_destination_properties_list
end

#cloud_autonomous_vm_cluster_idString

The OCID of the cloud Autonomous Exadata VM Cluster.

Returns:

  • (String)


133
134
135
# File 'lib/oci/database/models/autonomous_container_database.rb', line 133

def cloud_autonomous_vm_cluster_id
  @cloud_autonomous_vm_cluster_id
end

#compartment_idString

[Required] The OCID of the compartment.

Returns:

  • (String)


89
90
91
# File 'lib/oci/database/models/autonomous_container_database.rb', line 89

def compartment_id
  @compartment_id
end

#compute_modelString

The compute model of the Autonomous Container Database. For Autonomous AI Database on Dedicated Exadata Infrastructure, the CPU type (ECPUs or OCPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. ECPU compute model is the recommended model and OCPU compute model is legacy. See Compute Models in Autonomous AI Database on Dedicated Exadata Infrastructure for more details.

Returns:

  • (String)


301
302
303
# File 'lib/oci/database/models/autonomous_container_database.rb', line 301

def compute_model
  @compute_model
end

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

Customer Contacts. Setting this to an empty list removes all customer contacts.



98
99
100
# File 'lib/oci/database/models/autonomous_container_database.rb', line 98

def customer_contacts
  @customer_contacts
end

#dataguardOCI::Database::Models::AutonomousContainerDatabaseDataguard



346
347
348
# File 'lib/oci/database/models/autonomous_container_database.rb', line 346

def dataguard
  @dataguard
end

#dataguard_group_membersArray<OCI::Database::Models::AutonomousContainerDatabaseDataguard>

Array of Dg associations.



350
351
352
# File 'lib/oci/database/models/autonomous_container_database.rb', line 350

def dataguard_group_members
  @dataguard_group_members
end

#db_nameString

The Database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, starting with an alphabetic character, followed by 1 to 7 alphanumeric characters.

Returns:

  • (String)


112
113
114
# File 'lib/oci/database/models/autonomous_container_database.rb', line 112

def db_name
  @db_name
end

#db_split_thresholdInteger

The CPU value beyond which an Autonomous AI Database will be opened across multiple nodes. The default value of this attribute is 16 for OCPUs and 64 for ECPUs.

Returns:

  • (Integer)


321
322
323
# File 'lib/oci/database/models/autonomous_container_database.rb', line 321

def db_split_threshold
  @db_split_threshold
end

#db_unique_nameString

Deprecated. The DB_UNIQUE_NAME value is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail.

Returns:

  • (String)


108
109
110
# File 'lib/oci/database/models/autonomous_container_database.rb', line 108

def db_unique_name
  @db_unique_name
end

#db_versionString

Oracle AI Database version of the Autonomous Container Database.

Returns:

  • (String)


240
241
242
# File 'lib/oci/database/models/autonomous_container_database.rb', line 240

def db_version
  @db_version
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>>)


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

def defined_tags
  @defined_tags
end

#display_nameString

[Required] The user-provided name for the Autonomous Container Database.

Returns:

  • (String)


93
94
95
# File 'lib/oci/database/models/autonomous_container_database.rb', line 93

def display_name
  @display_name
end

#distribution_affinityString

Determines whether an Autonomous AI Database must be opened across the maximum number of nodes or the least number of nodes. By default, Minimum nodes is selected.

Returns:

  • (String)


329
330
331
# File 'lib/oci/database/models/autonomous_container_database.rb', line 329

def distribution_affinity
  @distribution_affinity
end

#dst_file_versionString

DST Time-Zone File version of the Autonomous Container Database.

Returns:

  • (String)


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

def dst_file_version
  @dst_file_version
end

#encryption_key_location_detailsOCI::Database::Models::EncryptionKeyLocationDetails



153
154
155
# File 'lib/oci/database/models/autonomous_container_database.rb', line 153

def encryption_key_location_details
  @encryption_key_location_details
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>)


215
216
217
# File 'lib/oci/database/models/autonomous_container_database.rb', line 215

def freeform_tags
  @freeform_tags
end

#idString

[Required] The OCID of the Autonomous Container Database.

Returns:

  • (String)


85
86
87
# File 'lib/oci/database/models/autonomous_container_database.rb', line 85

def id
  @id
end

#infrastructure_typeString

The infrastructure type this resource belongs to.

Returns:

  • (String)


129
130
131
# File 'lib/oci/database/models/autonomous_container_database.rb', line 129

def infrastructure_type
  @infrastructure_type
end

#is_data_guard_enabledBOOLEAN

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

Returns:

  • (BOOLEAN)


343
344
345
# File 'lib/oci/database/models/autonomous_container_database.rb', line 343

def is_data_guard_enabled
  @is_data_guard_enabled
end

#is_dst_file_update_enabledBOOLEAN

Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.

Returns:

  • (BOOLEAN)


203
204
205
# File 'lib/oci/database/models/autonomous_container_database.rb', line 203

def is_dst_file_update_enabled
  @is_dst_file_update_enabled
end

#is_multiple_standbyBOOLEAN

Indicates if it is multiple standby Autonomous Dataguard

Returns:

  • (BOOLEAN)


338
339
340
# File 'lib/oci/database/models/autonomous_container_database.rb', line 338

def is_multiple_standby
  @is_multiple_standby
end

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

Key History Entry.



150
151
152
# File 'lib/oci/database/models/autonomous_container_database.rb', line 150

def key_history_entry
  @key_history_entry
end

#key_store_idString

The OCID of the key store of Oracle Vault.

Returns:

  • (String)


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

def key_store_id
  @key_store_id
end

#key_store_wallet_nameString

The wallet name for Oracle Key Vault.

Returns:

  • (String)


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

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)


137
138
139
# File 'lib/oci/database/models/autonomous_container_database.rb', line 137

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

Returns:

  • (String)


146
147
148
# File 'lib/oci/database/models/autonomous_container_database.rb', line 146

def kms_key_version_id
  @kms_key_version_id
end

#largest_provisionable_autonomous_database_in_cpusFloat

The largest Autonomous AI Database (CPU) that can be created in a new Autonomous Container Database.

Returns:

  • (Float)


313
314
315
# File 'lib/oci/database/models/autonomous_container_database.rb', line 313

def largest_provisionable_autonomous_database_in_cpus
  @largest_provisionable_autonomous_database_in_cpus
end

#last_maintenance_run_idString

The OCID of the last maintenance run.

Returns:

  • (String)


181
182
183
# File 'lib/oci/database/models/autonomous_container_database.rb', line 181

def last_maintenance_run_id
  @last_maintenance_run_id
end

#lifecycle_detailsString

Additional information about the current lifecycle state.

Returns:

  • (String)


161
162
163
# File 'lib/oci/database/models/autonomous_container_database.rb', line 161

def lifecycle_details
  @lifecycle_details
end

#lifecycle_stateString

[Required] The current state of the Autonomous Container Database.

Returns:

  • (String)


157
158
159
# File 'lib/oci/database/models/autonomous_container_database.rb', line 157

def lifecycle_state
  @lifecycle_state
end

#list_one_off_patchesArray<String>

List of One-Off patches that has been successfully applied to Autonomous Container Database

Returns:

  • (Array<String>)


296
297
298
# File 'lib/oci/database/models/autonomous_container_database.rb', line 296

def list_one_off_patches
  @list_one_off_patches
end

#maintenance_windowOCI::Database::Models::MaintenanceWindow



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

def maintenance_window
  @maintenance_window
end

#memory_per_compute_unit_in_gbsFloat

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

Returns:

  • (Float)


272
273
274
# File 'lib/oci/database/models/autonomous_container_database.rb', line 272

def memory_per_compute_unit_in_gbs
  @memory_per_compute_unit_in_gbs
end

#memory_per_oracle_compute_unit_in_gbsInteger

The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU in the Autonomous VM Cluster. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value.

Returns:

  • (Integer)


267
268
269
# File 'lib/oci/database/models/autonomous_container_database.rb', line 267

def memory_per_oracle_compute_unit_in_gbs
  @memory_per_oracle_compute_unit_in_gbs
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)


333
334
335
# File 'lib/oci/database/models/autonomous_container_database.rb', line 333

def net_services_architecture
  @net_services_architecture
end

#next_maintenance_run_idString

The OCID of the next maintenance run.

Returns:

  • (String)


185
186
187
# File 'lib/oci/database/models/autonomous_container_database.rb', line 185

def next_maintenance_run_id
  @next_maintenance_run_id
end

#okv_end_point_group_nameString

The OKV End Point Group name for the Autonomous Container Database.

Returns:

  • (String)


103
104
105
# File 'lib/oci/database/models/autonomous_container_database.rb', line 103

def okv_end_point_group_name
  @okv_end_point_group_name
end

#patch_idString

The OCID of the last patch applied on the system.

Returns:

  • (String)


177
178
179
# File 'lib/oci/database/models/autonomous_container_database.rb', line 177

def patch_id
  @patch_id
end

#patch_modelString

[Required] Database patch model preference.

Returns:

  • (String)


173
174
175
# File 'lib/oci/database/models/autonomous_container_database.rb', line 173

def patch_model
  @patch_model
end

#provisionable_cpusArray<Float>

An array of CPU values that can be used to successfully provision a single Autonomous AI Database.

Returns:

  • (Array<Float>)


292
293
294
# File 'lib/oci/database/models/autonomous_container_database.rb', line 292

def provisionable_cpus
  @provisionable_cpus
end

#provisioned_cpusFloat

The number of CPUs provisioned in an Autonomous Container Database.

Returns:

  • (Float)


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

def provisioned_cpus
  @provisioned_cpus
end

#reclaimable_cpusFloat

CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous AI Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.

Returns:

  • (Float)


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

def reclaimable_cpus
  @reclaimable_cpus
end

#recovery_appliance_detailsOCI::Database::Models::RecoveryApplianceDetails



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

def recovery_appliance_details
  @recovery_appliance_details
end

#reserved_cpusFloat

The number of CPUs reserved in an Autonomous Container Database.

Returns:

  • (Float)


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

def reserved_cpus
  @reserved_cpus
end

#roleString

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

Returns:

  • (String)


232
233
234
# File 'lib/oci/database/models/autonomous_container_database.rb', line 232

def role
  @role
end

#service_level_agreement_typeString

[Required] The service level agreement type of the container database. The default is STANDARD.

Returns:

  • (String)


116
117
118
# File 'lib/oci/database/models/autonomous_container_database.rb', line 116

def service_level_agreement_type
  @service_level_agreement_type
end

#standby_maintenance_buffer_in_daysInteger

The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.

Returns:

  • (Integer)


194
195
196
# File 'lib/oci/database/models/autonomous_container_database.rb', line 194

def standby_maintenance_buffer_in_days
  @standby_maintenance_buffer_in_days
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>>)


227
228
229
# File 'lib/oci/database/models/autonomous_container_database.rb', line 227

def system_tags
  @system_tags
end

#time_createdDateTime

The date and time the Autonomous Container Database was created.

Returns:

  • (DateTime)


165
166
167
# File 'lib/oci/database/models/autonomous_container_database.rb', line 165

def time_created
  @time_created
end

#time_of_last_backupDateTime

The timestamp of last successful backup. Here NULL value represents either there are no successful backups or backups are not configured for this Autonomous Container Database.

Returns:

  • (DateTime)


317
318
319
# File 'lib/oci/database/models/autonomous_container_database.rb', line 317

def time_of_last_backup
  @time_of_last_backup
end

#time_snapshot_standby_revertDateTime

The date and time the Autonomous Container Database will be reverted to Standby from Snapshot Standby.

Returns:

  • (DateTime)


169
170
171
# File 'lib/oci/database/models/autonomous_container_database.rb', line 169

def time_snapshot_standby_revert
  @time_snapshot_standby_revert
end

#total_cpusInteger

The number of CPUs allocated to the Autonomous VM cluster.

Returns:

  • (Integer)


282
283
284
# File 'lib/oci/database/models/autonomous_container_database.rb', line 282

def total_cpus
  @total_cpus
end

#vault_idString

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

Returns:

  • (String)


141
142
143
# File 'lib/oci/database/models/autonomous_container_database.rb', line 141

def vault_id
  @vault_id
end

#version_preferenceString

The next maintenance version preference.

Returns:

  • (String)


199
200
201
# File 'lib/oci/database/models/autonomous_container_database.rb', line 199

def version_preference
  @version_preference
end

#vm_failover_reservationInteger

The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, 25%, 50%, 75%, and 100%, with 50% being the default option.

Returns:

  • (Integer)


325
326
327
# File 'lib/oci/database/models/autonomous_container_database.rb', line 325

def vm_failover_reservation
  @vm_failover_reservation
end

Class Method Details

.attribute_mapObject

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



353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
# File 'lib/oci/database/models/autonomous_container_database.rb', line 353

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'id',
    'compartment_id': :'compartmentId',
    'display_name': :'displayName',
    'customer_contacts': :'customerContacts',
    'okv_end_point_group_name': :'okvEndPointGroupName',
    'db_unique_name': :'dbUniqueName',
    'db_name': :'dbName',
    'service_level_agreement_type': :'serviceLevelAgreementType',
    'autonomous_exadata_infrastructure_id': :'autonomousExadataInfrastructureId',
    'autonomous_vm_cluster_id': :'autonomousVmClusterId',
    'infrastructure_type': :'infrastructureType',
    'cloud_autonomous_vm_cluster_id': :'cloudAutonomousVmClusterId',
    'kms_key_id': :'kmsKeyId',
    'vault_id': :'vaultId',
    'kms_key_version_id': :'kmsKeyVersionId',
    'key_history_entry': :'keyHistoryEntry',
    'encryption_key_location_details': :'encryptionKeyLocationDetails',
    'lifecycle_state': :'lifecycleState',
    'lifecycle_details': :'lifecycleDetails',
    'time_created': :'timeCreated',
    'time_snapshot_standby_revert': :'timeSnapshotStandbyRevert',
    'patch_model': :'patchModel',
    'patch_id': :'patchId',
    'last_maintenance_run_id': :'lastMaintenanceRunId',
    'next_maintenance_run_id': :'nextMaintenanceRunId',
    'maintenance_window': :'maintenanceWindow',
    'standby_maintenance_buffer_in_days': :'standbyMaintenanceBufferInDays',
    'version_preference': :'versionPreference',
    'is_dst_file_update_enabled': :'isDstFileUpdateEnabled',
    'dst_file_version': :'dstFileVersion',
    'freeform_tags': :'freeformTags',
    'defined_tags': :'definedTags',
    'system_tags': :'systemTags',
    'role': :'role',
    'availability_domain': :'availabilityDomain',
    'db_version': :'dbVersion',
    'backup_config': :'backupConfig',
    'backup_destination_properties_list': :'backupDestinationPropertiesList',
    'associated_backup_configuration_details': :'associatedBackupConfigurationDetails',
    'recovery_appliance_details': :'recoveryApplianceDetails',
    'key_store_id': :'keyStoreId',
    'key_store_wallet_name': :'keyStoreWalletName',
    'memory_per_oracle_compute_unit_in_gbs': :'memoryPerOracleComputeUnitInGBs',
    'memory_per_compute_unit_in_gbs': :'memoryPerComputeUnitInGBs',
    'available_cpus': :'availableCpus',
    'total_cpus': :'totalCpus',
    'reclaimable_cpus': :'reclaimableCpus',
    'provisionable_cpus': :'provisionableCpus',
    'list_one_off_patches': :'listOneOffPatches',
    'compute_model': :'computeModel',
    'provisioned_cpus': :'provisionedCpus',
    'reserved_cpus': :'reservedCpus',
    'largest_provisionable_autonomous_database_in_cpus': :'largestProvisionableAutonomousDatabaseInCpus',
    'time_of_last_backup': :'timeOfLastBackup',
    'db_split_threshold': :'dbSplitThreshold',
    'vm_failover_reservation': :'vmFailoverReservation',
    'distribution_affinity': :'distributionAffinity',
    'net_services_architecture': :'netServicesArchitecture',
    'is_multiple_standby': :'isMultipleStandby',
    'is_data_guard_enabled': :'isDataGuardEnabled',
    'dataguard': :'dataguard',
    'dataguard_group_members': :'dataguardGroupMembers'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
# File 'lib/oci/database/models/autonomous_container_database.rb', line 423

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'String',
    'compartment_id': :'String',
    'display_name': :'String',
    'customer_contacts': :'Array<OCI::Database::Models::CustomerContact>',
    'okv_end_point_group_name': :'String',
    'db_unique_name': :'String',
    'db_name': :'String',
    'service_level_agreement_type': :'String',
    'autonomous_exadata_infrastructure_id': :'String',
    'autonomous_vm_cluster_id': :'String',
    'infrastructure_type': :'String',
    'cloud_autonomous_vm_cluster_id': :'String',
    'kms_key_id': :'String',
    'vault_id': :'String',
    'kms_key_version_id': :'String',
    'key_history_entry': :'Array<OCI::Database::Models::AutonomousDatabaseKeyHistoryEntry>',
    'encryption_key_location_details': :'OCI::Database::Models::EncryptionKeyLocationDetails',
    'lifecycle_state': :'String',
    'lifecycle_details': :'String',
    'time_created': :'DateTime',
    'time_snapshot_standby_revert': :'DateTime',
    'patch_model': :'String',
    'patch_id': :'String',
    'last_maintenance_run_id': :'String',
    'next_maintenance_run_id': :'String',
    'maintenance_window': :'OCI::Database::Models::MaintenanceWindow',
    'standby_maintenance_buffer_in_days': :'Integer',
    'version_preference': :'String',
    'is_dst_file_update_enabled': :'BOOLEAN',
    'dst_file_version': :'String',
    'freeform_tags': :'Hash<String, String>',
    'defined_tags': :'Hash<String, Hash<String, Object>>',
    'system_tags': :'Hash<String, Hash<String, Object>>',
    'role': :'String',
    'availability_domain': :'String',
    'db_version': :'String',
    'backup_config': :'OCI::Database::Models::AutonomousContainerDatabaseBackupConfig',
    'backup_destination_properties_list': :'Array<OCI::Database::Models::BackupDestinationProperties>',
    'associated_backup_configuration_details': :'Array<OCI::Database::Models::BackupDestinationConfigurationSummary>',
    'recovery_appliance_details': :'OCI::Database::Models::RecoveryApplianceDetails',
    'key_store_id': :'String',
    'key_store_wallet_name': :'String',
    'memory_per_oracle_compute_unit_in_gbs': :'Integer',
    'memory_per_compute_unit_in_gbs': :'Float',
    'available_cpus': :'Float',
    'total_cpus': :'Integer',
    'reclaimable_cpus': :'Float',
    'provisionable_cpus': :'Array<Float>',
    'list_one_off_patches': :'Array<String>',
    'compute_model': :'String',
    'provisioned_cpus': :'Float',
    'reserved_cpus': :'Float',
    'largest_provisionable_autonomous_database_in_cpus': :'Float',
    'time_of_last_backup': :'DateTime',
    'db_split_threshold': :'Integer',
    'vm_failover_reservation': :'Integer',
    'distribution_affinity': :'String',
    'net_services_architecture': :'String',
    'is_multiple_standby': :'BOOLEAN',
    'is_data_guard_enabled': :'BOOLEAN',
    'dataguard': :'OCI::Database::Models::AutonomousContainerDatabaseDataguard',
    'dataguard_group_members': :'Array<OCI::Database::Models::AutonomousContainerDatabaseDataguard>'
    # 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



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
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'lib/oci/database/models/autonomous_container_database.rb', line 1052

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

  self.class == other.class &&
    id == other.id &&
    compartment_id == other.compartment_id &&
    display_name == other.display_name &&
    customer_contacts == other.customer_contacts &&
    okv_end_point_group_name == other.okv_end_point_group_name &&
    db_unique_name == other.db_unique_name &&
    db_name == other.db_name &&
    service_level_agreement_type == other.service_level_agreement_type &&
    autonomous_exadata_infrastructure_id == other.autonomous_exadata_infrastructure_id &&
    autonomous_vm_cluster_id == other.autonomous_vm_cluster_id &&
    infrastructure_type == other.infrastructure_type &&
    cloud_autonomous_vm_cluster_id == other.cloud_autonomous_vm_cluster_id &&
    kms_key_id == other.kms_key_id &&
    vault_id == other.vault_id &&
    kms_key_version_id == other.kms_key_version_id &&
    key_history_entry == other.key_history_entry &&
    encryption_key_location_details == other.encryption_key_location_details &&
    lifecycle_state == other.lifecycle_state &&
    lifecycle_details == other.lifecycle_details &&
    time_created == other.time_created &&
    time_snapshot_standby_revert == other.time_snapshot_standby_revert &&
    patch_model == other.patch_model &&
    patch_id == other.patch_id &&
    last_maintenance_run_id == other.last_maintenance_run_id &&
    next_maintenance_run_id == other.next_maintenance_run_id &&
    maintenance_window == other.maintenance_window &&
    standby_maintenance_buffer_in_days == other.standby_maintenance_buffer_in_days &&
    version_preference == other.version_preference &&
    is_dst_file_update_enabled == other.is_dst_file_update_enabled &&
    dst_file_version == other.dst_file_version &&
    freeform_tags == other.freeform_tags &&
    defined_tags == other.defined_tags &&
    system_tags == other.system_tags &&
    role == other.role &&
    availability_domain == other.availability_domain &&
    db_version == other.db_version &&
    backup_config == other.backup_config &&
    backup_destination_properties_list == other.backup_destination_properties_list &&
    associated_backup_configuration_details == other.associated_backup_configuration_details &&
    recovery_appliance_details == other.recovery_appliance_details &&
    key_store_id == other.key_store_id &&
    key_store_wallet_name == other.key_store_wallet_name &&
    memory_per_oracle_compute_unit_in_gbs == other.memory_per_oracle_compute_unit_in_gbs &&
    memory_per_compute_unit_in_gbs == other.memory_per_compute_unit_in_gbs &&
    available_cpus == other.available_cpus &&
    total_cpus == other.total_cpus &&
    reclaimable_cpus == other.reclaimable_cpus &&
    provisionable_cpus == other.provisionable_cpus &&
    list_one_off_patches == other.list_one_off_patches &&
    compute_model == other.compute_model &&
    provisioned_cpus == other.provisioned_cpus &&
    reserved_cpus == other.reserved_cpus &&
    largest_provisionable_autonomous_database_in_cpus == other.largest_provisionable_autonomous_database_in_cpus &&
    time_of_last_backup == other.time_of_last_backup &&
    db_split_threshold == other.db_split_threshold &&
    vm_failover_reservation == other.vm_failover_reservation &&
    distribution_affinity == other.distribution_affinity &&
    net_services_architecture == other.net_services_architecture &&
    is_multiple_standby == other.is_multiple_standby &&
    is_data_guard_enabled == other.is_data_guard_enabled &&
    dataguard == other.dataguard &&
    dataguard_group_members == other.dataguard_group_members
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



1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
# File 'lib/oci/database/models/autonomous_container_database.rb', line 1143

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


1123
1124
1125
# File 'lib/oci/database/models/autonomous_container_database.rb', line 1123

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1132
1133
1134
# File 'lib/oci/database/models/autonomous_container_database.rb', line 1132

def hash
  [id, compartment_id, display_name, customer_contacts, okv_end_point_group_name, db_unique_name, db_name, service_level_agreement_type, autonomous_exadata_infrastructure_id, autonomous_vm_cluster_id, infrastructure_type, cloud_autonomous_vm_cluster_id, kms_key_id, vault_id, kms_key_version_id, key_history_entry, encryption_key_location_details, lifecycle_state, lifecycle_details, time_created, time_snapshot_standby_revert, patch_model, patch_id, last_maintenance_run_id, next_maintenance_run_id, maintenance_window, standby_maintenance_buffer_in_days, version_preference, is_dst_file_update_enabled, dst_file_version, freeform_tags, defined_tags, system_tags, role, availability_domain, db_version, backup_config, backup_destination_properties_list, associated_backup_configuration_details, recovery_appliance_details, key_store_id, key_store_wallet_name, memory_per_oracle_compute_unit_in_gbs, memory_per_compute_unit_in_gbs, available_cpus, total_cpus, reclaimable_cpus, provisionable_cpus, list_one_off_patches, compute_model, provisioned_cpus, reserved_cpus, largest_provisionable_autonomous_database_in_cpus, time_of_last_backup, db_split_threshold, vm_failover_reservation, distribution_affinity, net_services_architecture, is_multiple_standby, is_data_guard_enabled, dataguard, dataguard_group_members].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
# File 'lib/oci/database/models/autonomous_container_database.rb', line 1176

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



1170
1171
1172
# File 'lib/oci/database/models/autonomous_container_database.rb', line 1170

def to_s
  to_hash.to_s
end