Class: OCI::Database::Models::CloudAutonomousVmClusterSummary

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

Overview

Details of the cloud Autonomous VM cluster.

Constant Summary collapse

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_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'.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
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
TDE_KEY_STORE_TYPE_ENUM =
[
  TDE_KEY_STORE_TYPE_AZURE = 'AZURE'.freeze,
  TDE_KEY_STORE_TYPE_OCI = 'OCI'.freeze,
  TDE_KEY_STORE_TYPE_GCP = 'GCP'.freeze,
  TDE_KEY_STORE_TYPE_AWS = 'AWS'.freeze,
  TDE_KEY_STORE_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
DISTRIBUTION_ALGORITHM_ENUM =
[
  DISTRIBUTION_ALGORITHM_RESOURCE_OPTIMIZED = 'RESOURCE_OPTIMIZED'.freeze,
  DISTRIBUTION_ALGORITHM_DISTRIBUTION_OPTIMIZED = 'DISTRIBUTION_OPTIMIZED'.freeze,
  DISTRIBUTION_ALGORITHM_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ CloudAutonomousVmClusterSummary

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
927
928
929
930
931
932
933
934
935
936
937
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 560

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

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

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

  self.last_update_history_entry_id = attributes[:'last_update_history_entry_id'] if attributes[:'last_update_history_entry_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.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.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_updated = attributes[:'timeUpdated'] if attributes[:'timeUpdated']

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

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

  self.cluster_time_zone = attributes[:'clusterTimeZone'] if attributes[:'clusterTimeZone']

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

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

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

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

  self.cloud_exadata_infrastructure_id = attributes[:'cloudExadataInfrastructureId'] if attributes[:'cloudExadataInfrastructureId']

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

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

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

  self.node_count = attributes[:'nodeCount'] if attributes[:'nodeCount']

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

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

  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.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.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.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.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.is_mtls_enabled_vm_cluster = attributes[:'isMtlsEnabledVmCluster'] unless attributes[:'isMtlsEnabledVmCluster'].nil?
  self.is_mtls_enabled_vm_cluster = false if is_mtls_enabled_vm_cluster.nil? && !attributes.key?(:'isMtlsEnabledVmCluster') # rubocop:disable Style/StringLiterals

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

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

  self.cpu_core_count_per_node = attributes[:'cpuCoreCountPerNode'] if attributes[:'cpuCoreCountPerNode']

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

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

  self.memory_size_in_gbs = attributes[:'memorySizeInGBs'] if attributes[:'memorySizeInGBs']

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

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

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

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

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

  self.scan_listener_port_non_tls = attributes[:'scanListenerPortNonTls'] if attributes[:'scanListenerPortNonTls']

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

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

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

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

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

  self.time_ords_certificate_expires = attributes[:'timeOrdsCertificateExpires'] if attributes[:'timeOrdsCertificateExpires']

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

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

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

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

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

  self.total_container_databases = attributes[:'totalContainerDatabases'] if attributes[:'totalContainerDatabases']

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

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

  self.available_autonomous_data_storage_size_in_tbs = attributes[:'availableAutonomousDataStorageSizeInTBs'] if attributes[:'availableAutonomousDataStorageSizeInTBs']

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

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

  self.autonomous_data_storage_size_in_tbs = attributes[:'autonomousDataStorageSizeInTBs'] if attributes[:'autonomousDataStorageSizeInTBs']

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

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

  self.db_node_storage_size_in_gbs = attributes[:'dbNodeStorageSizeInGBs'] if attributes[:'dbNodeStorageSizeInGBs']

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

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

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

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

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

  self.cpu_percentage = attributes[:'cpuPercentage'] if attributes[:'cpuPercentage']

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

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

  self.autonomous_data_storage_percentage = attributes[:'autonomousDataStoragePercentage'] if attributes[:'autonomousDataStoragePercentage']

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

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

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

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

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

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

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

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

  self.provisioned_autonomous_container_databases = attributes[:'provisionedAutonomousContainerDatabases'] if attributes[:'provisionedAutonomousContainerDatabases']

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

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

  self.non_provisionable_autonomous_container_databases = attributes[:'nonProvisionableAutonomousContainerDatabases'] if attributes[:'nonProvisionableAutonomousContainerDatabases']

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

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

  self.exadata_storage_in_tbs_lowest_scaled_value = attributes[:'exadataStorageInTBsLowestScaledValue'] if attributes[:'exadataStorageInTBsLowestScaledValue']

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

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

  self.ocpus_lowest_scaled_value = attributes[:'ocpusLowestScaledValue'] if attributes[:'ocpusLowestScaledValue']

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

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

  self.max_acds_lowest_scaled_value = attributes[:'maxAcdsLowestScaledValue'] if attributes[:'maxAcdsLowestScaledValue']

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

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

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

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

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

  self.tde_key_store_type = attributes[:'tdeKeyStoreType'] if attributes[:'tdeKeyStoreType']

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

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

  self.distribution_algorithm = attributes[:'distributionAlgorithm'] if attributes[:'distributionAlgorithm']

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

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

  self.sga_percentage = attributes[:'sgaPercentage'] if attributes[:'sgaPercentage']

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

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

Instance Attribute Details

#autonomous_data_storage_percentageFloat

The percentage of the data storage used for the Autonomous AI Databases in an Autonomous VM Cluster.

Returns:

  • (Float)


275
276
277
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 275

def autonomous_data_storage_percentage
  @autonomous_data_storage_percentage
end

#autonomous_data_storage_size_in_tbsFloat

The data disk group size allocated for Autonomous AI Databases, in TBs.

Returns:

  • (Float)


249
250
251
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 249

def autonomous_data_storage_size_in_tbs
  @autonomous_data_storage_size_in_tbs
end

#availability_domainString

[Required] The name of the availability domain that the cloud Autonomous VM cluster is located in.

Returns:

  • (String)


64
65
66
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 64

def availability_domain
  @availability_domain
end

#available_autonomous_data_storage_size_in_tbsFloat

The data disk group size available for Autonomous AI Databases, in TBs.

Returns:

  • (Float)


245
246
247
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 245

def available_autonomous_data_storage_size_in_tbs
  @available_autonomous_data_storage_size_in_tbs
end

#available_container_databasesInteger

The number of Autonomous Container Databases that can be created with the currently available local storage.

Returns:

  • (Integer)


237
238
239
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 237

def available_container_databases
  @available_container_databases
end

#available_cpusFloat

CPU cores available for allocation to Autonomous AI Databases.

Returns:

  • (Float)


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

def available_cpus
  @available_cpus
end

#cloud_exadata_infrastructure_idString

[Required] The OCID of the cloud Exadata infrastructure.

Returns:

  • (String)


123
124
125
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 123

def cloud_exadata_infrastructure_id
  @cloud_exadata_infrastructure_id
end

#cluster_time_zoneString

The time zone of the Cloud Autonomous VM Cluster.

Returns:

  • (String)


107
108
109
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 107

def cluster_time_zone
  @cluster_time_zone
end

#compartment_idString

[Required] The OCID of the compartment.

Returns:

  • (String)


56
57
58
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 56

def compartment_id
  @compartment_id
end

#compute_modelString

The compute model of the Cloud Autonomous VM Cluster. 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)


154
155
156
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 154

def compute_model
  @compute_model
end

#cpu_core_countInteger

The number of CPU cores on the cloud Autonomous VM cluster.

Returns:

  • (Integer)


145
146
147
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 145

def cpu_core_count
  @cpu_core_count
end

#cpu_core_count_per_nodeInteger

The number of CPU cores enabled per VM cluster node.

Returns:

  • (Integer)


162
163
164
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 162

def cpu_core_count_per_node
  @cpu_core_count_per_node
end

#cpu_percentageFloat

The percentage of total number of CPUs used in an Autonomous VM Cluster.

Returns:

  • (Float)


271
272
273
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 271

def cpu_percentage
  @cpu_percentage
end

#data_storage_size_in_gbsFloat

The total data storage allocated, in gigabytes (GB).

Returns:

  • (Float)


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

def data_storage_size_in_gbs
  @data_storage_size_in_gbs
end

#data_storage_size_in_tbsFloat

The total data storage allocated, in terabytes (TB).

Returns:

  • (Float)


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

def data_storage_size_in_tbs
  @data_storage_size_in_tbs
end

#db_node_storage_size_in_gbsInteger

The local node storage allocated in GBs.

Returns:

  • (Integer)


253
254
255
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 253

def db_node_storage_size_in_gbs
  @db_node_storage_size_in_gbs
end

#db_serversArray<String>

The list of OCIDs of the Db servers.

Returns:

  • (Array<String>)


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

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


209
210
211
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 209

def defined_tags
  @defined_tags
end

#descriptionString

User defined description of the cloud Autonomous VM cluster.

Returns:

  • (String)


60
61
62
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 60

def description
  @description
end

#display_nameString

[Required] The user-friendly name for the cloud Autonomous VM cluster. The name does not need to be unique.

Returns:

  • (String)


95
96
97
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 95

def display_name
  @display_name
end

#distribution_algorithmString

The distribution algorithm used for the Autonomous VM cluster.

Returns:

  • (String)


337
338
339
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 337

def distribution_algorithm
  @distribution_algorithm
end

#domainString

The domain name for the cloud Autonomous VM cluster.

Returns:

  • (String)


119
120
121
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 119

def domain
  @domain
end

#exadata_storage_in_tbs_lowest_scaled_valueFloat

The lowest value to which exadataStorage (in TBs) can be scaled down.

Returns:

  • (Float)


307
308
309
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 307

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


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

def freeform_tags
  @freeform_tags
end

#hostnameString

The hostname for the cloud Autonomous VM cluster.

Returns:

  • (String)


115
116
117
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 115

def hostname
  @hostname
end

#idString

[Required] The OCID of the Cloud Autonomous VM cluster.

Returns:

  • (String)


52
53
54
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 52

def id
  @id
end

#is_mtls_enabled_vm_clusterBOOLEAN

Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This is applicable to database TLS Certificates only. Default is TLS

Returns:

  • (BOOLEAN)


158
159
160
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 158

def is_mtls_enabled_vm_cluster
  @is_mtls_enabled_vm_cluster
end

#last_maintenance_run_idString

The OCID of the last maintenance run.

Returns:

  • (String)


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

def last_maintenance_run_id
  @last_maintenance_run_id
end

#last_update_history_entry_idString

The OCID of the last maintenance update history. This value is updated when a maintenance update starts.

Returns:

  • (String)


87
88
89
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 87

def last_update_history_entry_id
  @last_update_history_entry_id
end

#license_modelString

The Oracle license model that applies to the Oracle Autonomous AI 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 AI Database software licenses and the Oracle AI Database service. Note that when provisioning an Autonomous AI Database on dedicated Exadata infrastructure, this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an [Autonomous AI 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)


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

def license_model
  @license_model
end

#lifecycle_detailsString

Additional information about the current lifecycle state.

Returns:

  • (String)


111
112
113
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 111

def lifecycle_details
  @lifecycle_details
end

#lifecycle_stateString

[Required] The current state of the cloud Autonomous VM cluster.

Returns:

  • (String)


91
92
93
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 91

def lifecycle_state
  @lifecycle_state
end

#maintenance_windowOCI::Database::Models::MaintenanceWindow



187
188
189
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 187

def maintenance_window
  @maintenance_window
end

#max_acds_lowest_scaled_valueInteger

The lowest value to which maximum number of ACDs can be scaled down.

Returns:

  • (Integer)


315
316
317
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 315

def max_acds_lowest_scaled_value
  @max_acds_lowest_scaled_value
end

#memory_per_compute_unit_in_gbsFloat

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

Returns:

  • (Float)


263
264
265
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 263

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. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value.

Returns:

  • (Integer)


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

def memory_per_oracle_compute_unit_in_gbs
  @memory_per_oracle_compute_unit_in_gbs
end

#memory_size_in_gbsInteger

The memory allocated in GBs.

Returns:

  • (Integer)


166
167
168
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 166

def memory_size_in_gbs
  @memory_size_in_gbs
end

#multi_cloud_identity_connector_configsArray<OCI::Database::Models::IdentityConnectorDetails>

Details of the multi cloud identity connectors of the VM cluster.



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

def multi_cloud_identity_connector_configs
  @multi_cloud_identity_connector_configs
end

#next_maintenance_run_idString

The OCID of the next maintenance run.

Returns:

  • (String)


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

def next_maintenance_run_id
  @next_maintenance_run_id
end

#node_countInteger

The number of database servers in the cloud VM cluster.

Returns:

  • (Integer)


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

def node_count
  @node_count
end

#non_provisionable_autonomous_container_databasesInteger

The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.

Returns:

  • (Integer)


303
304
305
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 303

def non_provisionable_autonomous_container_databases
  @non_provisionable_autonomous_container_databases
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 AI Databases with private access. The nsgIds list can be empty.

Returns:

  • (Array<String>)


83
84
85
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 83

def nsg_ids
  @nsg_ids
end

#ocpu_countFloat

The number of CPU cores on the cloud Autonomous VM cluster. Only 1 decimal place is allowed for the fractional part.

Returns:

  • (Float)


149
150
151
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 149

def ocpu_count
  @ocpu_count
end

#ocpus_lowest_scaled_valueInteger

The lowest value to which ocpus can be scaled down.

Returns:

  • (Integer)


311
312
313
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 311

def ocpus_lowest_scaled_value
  @ocpus_lowest_scaled_value
end

#provisionable_autonomous_container_databasesInteger

The number of provisionable Autonomous Container Databases in an Autonomous VM Cluster.

Returns:

  • (Integer)


295
296
297
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 295

def provisionable_autonomous_container_databases
  @provisionable_autonomous_container_databases
end

#provisioned_autonomous_container_databasesInteger

The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.

Returns:

  • (Integer)


299
300
301
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 299

def provisioned_autonomous_container_databases
  @provisioned_autonomous_container_databases
end

#provisioned_cpusFloat

The number of CPUs provisioned in an Autonomous VM Cluster.

Returns:

  • (Float)


279
280
281
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 279

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)


233
234
235
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 233

def reclaimable_cpus
  @reclaimable_cpus
end

#reserved_cpusFloat

The number of CPUs reserved in an Autonomous VM Cluster.

Returns:

  • (Float)


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

def reserved_cpus
  @reserved_cpus
end

#scan_listener_port_non_tlsInteger

The SCAN Listener Non TLS port. Default is 1521.

Returns:

  • (Integer)


195
196
197
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 195

def scan_listener_port_non_tls
  @scan_listener_port_non_tls
end

#scan_listener_port_tlsInteger

The SCAN Listenenr TLS port. Default is 2484.

Returns:

  • (Integer)


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

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


216
217
218
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 216

def security_attributes
  @security_attributes
end

#sga_percentageFloat

Percentage of ECPU memory allocated for SGA(System Global Area).

Returns:

  • (Float)


341
342
343
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 341

def sga_percentage
  @sga_percentage
end

#shapeString

The model name of the Exadata hardware running the cloud Autonomous VM cluster.

Returns:

  • (String)


128
129
130
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 128

def shape
  @shape
end

#subnet_idString

[Required] The OCID of the subnet the cloud Autonomous VM Cluster is associated with.

Subnet Restrictions: - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.

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 backup subnet.

Returns:

  • (String)


76
77
78
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 76

def subnet_id
  @subnet_id
end

#subscription_idString

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

Returns:

  • (String)


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

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


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

def system_tags
  @system_tags
end

#tde_key_store_typeString

TDE keystore type

Returns:

  • (String)


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

def tde_key_store_type
  @tde_key_store_type
end

#time_createdDateTime

The date and time that the cloud Autonomous VM cluster was created.

Returns:

  • (DateTime)


99
100
101
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 99

def time_created
  @time_created
end

#time_database_ssl_certificate_expiresDateTime

The date and time of Database SSL certificate expiration.

Returns:

  • (DateTime)


220
221
222
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 220

def time_database_ssl_certificate_expires
  @time_database_ssl_certificate_expires
end

#time_ords_certificate_expiresDateTime

The date and time of ORDS certificate expiration.

Returns:

  • (DateTime)


224
225
226
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 224

def time_ords_certificate_expires
  @time_ords_certificate_expires
end

#time_updatedDateTime

The last date and time that the cloud Autonomous VM cluster was updated.

Returns:

  • (DateTime)


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

def time_updated
  @time_updated
end

#total_autonomous_data_storage_in_tbsFloat

The total data disk group size for Autonomous AI Databases, in TBs.

Returns:

  • (Float)


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

def total_autonomous_data_storage_in_tbs
  @total_autonomous_data_storage_in_tbs
end

#total_container_databasesInteger

The total number of Autonomous Container Databases that can be created with the allocated local storage.

Returns:

  • (Integer)


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

def total_container_databases
  @total_container_databases
end

#total_cpusFloat

The total number of CPUs in an Autonomous VM Cluster.

Returns:

  • (Float)


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

def total_cpus
  @total_cpus
end

Class Method Details

.attribute_mapObject

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



344
345
346
347
348
349
350
351
352
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
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 344

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'id',
    'compartment_id': :'compartmentId',
    'description': :'description',
    'availability_domain': :'availabilityDomain',
    'subnet_id': :'subnetId',
    'nsg_ids': :'nsgIds',
    'last_update_history_entry_id': :'lastUpdateHistoryEntryId',
    'lifecycle_state': :'lifecycleState',
    'display_name': :'displayName',
    'time_created': :'timeCreated',
    'time_updated': :'timeUpdated',
    'cluster_time_zone': :'clusterTimeZone',
    'lifecycle_details': :'lifecycleDetails',
    'hostname': :'hostname',
    'domain': :'domain',
    'cloud_exadata_infrastructure_id': :'cloudExadataInfrastructureId',
    'shape': :'shape',
    'node_count': :'nodeCount',
    'data_storage_size_in_tbs': :'dataStorageSizeInTBs',
    'data_storage_size_in_gbs': :'dataStorageSizeInGBs',
    'cpu_core_count': :'cpuCoreCount',
    'ocpu_count': :'ocpuCount',
    'compute_model': :'computeModel',
    'is_mtls_enabled_vm_cluster': :'isMtlsEnabledVmCluster',
    'cpu_core_count_per_node': :'cpuCoreCountPerNode',
    'memory_size_in_gbs': :'memorySizeInGBs',
    'license_model': :'licenseModel',
    'last_maintenance_run_id': :'lastMaintenanceRunId',
    'next_maintenance_run_id': :'nextMaintenanceRunId',
    'maintenance_window': :'maintenanceWindow',
    'scan_listener_port_tls': :'scanListenerPortTls',
    'scan_listener_port_non_tls': :'scanListenerPortNonTls',
    'freeform_tags': :'freeformTags',
    'defined_tags': :'definedTags',
    'security_attributes': :'securityAttributes',
    'time_database_ssl_certificate_expires': :'timeDatabaseSslCertificateExpires',
    'time_ords_certificate_expires': :'timeOrdsCertificateExpires',
    'available_cpus': :'availableCpus',
    'reclaimable_cpus': :'reclaimableCpus',
    'available_container_databases': :'availableContainerDatabases',
    'total_container_databases': :'totalContainerDatabases',
    'available_autonomous_data_storage_size_in_tbs': :'availableAutonomousDataStorageSizeInTBs',
    'autonomous_data_storage_size_in_tbs': :'autonomousDataStorageSizeInTBs',
    'db_node_storage_size_in_gbs': :'dbNodeStorageSizeInGBs',
    'memory_per_oracle_compute_unit_in_gbs': :'memoryPerOracleComputeUnitInGBs',
    'memory_per_compute_unit_in_gbs': :'memoryPerComputeUnitInGBs',
    'db_servers': :'dbServers',
    'cpu_percentage': :'cpuPercentage',
    'autonomous_data_storage_percentage': :'autonomousDataStoragePercentage',
    'provisioned_cpus': :'provisionedCpus',
    'total_cpus': :'totalCpus',
    'total_autonomous_data_storage_in_tbs': :'totalAutonomousDataStorageInTBs',
    'reserved_cpus': :'reservedCpus',
    'provisionable_autonomous_container_databases': :'provisionableAutonomousContainerDatabases',
    'provisioned_autonomous_container_databases': :'provisionedAutonomousContainerDatabases',
    'non_provisionable_autonomous_container_databases': :'nonProvisionableAutonomousContainerDatabases',
    'exadata_storage_in_tbs_lowest_scaled_value': :'exadataStorageInTBsLowestScaledValue',
    'ocpus_lowest_scaled_value': :'ocpusLowestScaledValue',
    'max_acds_lowest_scaled_value': :'maxAcdsLowestScaledValue',
    'system_tags': :'systemTags',
    'subscription_id': :'subscriptionId',
    'multi_cloud_identity_connector_configs': :'multiCloudIdentityConnectorConfigs',
    'tde_key_store_type': :'tdeKeyStoreType',
    'distribution_algorithm': :'distributionAlgorithm',
    'sga_percentage': :'sgaPercentage'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



417
418
419
420
421
422
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
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 417

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'String',
    'compartment_id': :'String',
    'description': :'String',
    'availability_domain': :'String',
    'subnet_id': :'String',
    'nsg_ids': :'Array<String>',
    'last_update_history_entry_id': :'String',
    'lifecycle_state': :'String',
    'display_name': :'String',
    'time_created': :'DateTime',
    'time_updated': :'DateTime',
    'cluster_time_zone': :'String',
    'lifecycle_details': :'String',
    'hostname': :'String',
    'domain': :'String',
    'cloud_exadata_infrastructure_id': :'String',
    'shape': :'String',
    'node_count': :'Integer',
    'data_storage_size_in_tbs': :'Float',
    'data_storage_size_in_gbs': :'Float',
    'cpu_core_count': :'Integer',
    'ocpu_count': :'Float',
    'compute_model': :'String',
    'is_mtls_enabled_vm_cluster': :'BOOLEAN',
    'cpu_core_count_per_node': :'Integer',
    'memory_size_in_gbs': :'Integer',
    'license_model': :'String',
    'last_maintenance_run_id': :'String',
    'next_maintenance_run_id': :'String',
    'maintenance_window': :'OCI::Database::Models::MaintenanceWindow',
    'scan_listener_port_tls': :'Integer',
    'scan_listener_port_non_tls': :'Integer',
    'freeform_tags': :'Hash<String, String>',
    'defined_tags': :'Hash<String, Hash<String, Object>>',
    'security_attributes': :'Hash<String, Hash<String, Object>>',
    'time_database_ssl_certificate_expires': :'DateTime',
    'time_ords_certificate_expires': :'DateTime',
    'available_cpus': :'Float',
    'reclaimable_cpus': :'Float',
    'available_container_databases': :'Integer',
    'total_container_databases': :'Integer',
    'available_autonomous_data_storage_size_in_tbs': :'Float',
    'autonomous_data_storage_size_in_tbs': :'Float',
    'db_node_storage_size_in_gbs': :'Integer',
    'memory_per_oracle_compute_unit_in_gbs': :'Integer',
    'memory_per_compute_unit_in_gbs': :'Float',
    'db_servers': :'Array<String>',
    'cpu_percentage': :'Float',
    'autonomous_data_storage_percentage': :'Float',
    'provisioned_cpus': :'Float',
    'total_cpus': :'Float',
    'total_autonomous_data_storage_in_tbs': :'Float',
    'reserved_cpus': :'Float',
    'provisionable_autonomous_container_databases': :'Integer',
    'provisioned_autonomous_container_databases': :'Integer',
    'non_provisionable_autonomous_container_databases': :'Integer',
    'exadata_storage_in_tbs_lowest_scaled_value': :'Float',
    'ocpus_lowest_scaled_value': :'Integer',
    'max_acds_lowest_scaled_value': :'Integer',
    'system_tags': :'Hash<String, Hash<String, Object>>',
    'subscription_id': :'String',
    'multi_cloud_identity_connector_configs': :'Array<OCI::Database::Models::IdentityConnectorDetails>',
    'tde_key_store_type': :'String',
    'distribution_algorithm': :'String',
    'sga_percentage': :'Float'
    # 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



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
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 1011

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

  self.class == other.class &&
    id == other.id &&
    compartment_id == other.compartment_id &&
    description == other.description &&
    availability_domain == other.availability_domain &&
    subnet_id == other.subnet_id &&
    nsg_ids == other.nsg_ids &&
    last_update_history_entry_id == other.last_update_history_entry_id &&
    lifecycle_state == other.lifecycle_state &&
    display_name == other.display_name &&
    time_created == other.time_created &&
    time_updated == other.time_updated &&
    cluster_time_zone == other.cluster_time_zone &&
    lifecycle_details == other.lifecycle_details &&
    hostname == other.hostname &&
    domain == other.domain &&
    cloud_exadata_infrastructure_id == other.cloud_exadata_infrastructure_id &&
    shape == other.shape &&
    node_count == other.node_count &&
    data_storage_size_in_tbs == other.data_storage_size_in_tbs &&
    data_storage_size_in_gbs == other.data_storage_size_in_gbs &&
    cpu_core_count == other.cpu_core_count &&
    ocpu_count == other.ocpu_count &&
    compute_model == other.compute_model &&
    is_mtls_enabled_vm_cluster == other.is_mtls_enabled_vm_cluster &&
    cpu_core_count_per_node == other.cpu_core_count_per_node &&
    memory_size_in_gbs == other.memory_size_in_gbs &&
    license_model == other.license_model &&
    last_maintenance_run_id == other.last_maintenance_run_id &&
    next_maintenance_run_id == other.next_maintenance_run_id &&
    maintenance_window == other.maintenance_window &&
    scan_listener_port_tls == other.scan_listener_port_tls &&
    scan_listener_port_non_tls == other.scan_listener_port_non_tls &&
    freeform_tags == other.freeform_tags &&
    defined_tags == other.defined_tags &&
    security_attributes == other.security_attributes &&
    time_database_ssl_certificate_expires == other.time_database_ssl_certificate_expires &&
    time_ords_certificate_expires == other.time_ords_certificate_expires &&
    available_cpus == other.available_cpus &&
    reclaimable_cpus == other.reclaimable_cpus &&
    available_container_databases == other.available_container_databases &&
    total_container_databases == other.total_container_databases &&
    available_autonomous_data_storage_size_in_tbs == other.available_autonomous_data_storage_size_in_tbs &&
    autonomous_data_storage_size_in_tbs == other.autonomous_data_storage_size_in_tbs &&
    db_node_storage_size_in_gbs == other.db_node_storage_size_in_gbs &&
    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 &&
    db_servers == other.db_servers &&
    cpu_percentage == other.cpu_percentage &&
    autonomous_data_storage_percentage == other.autonomous_data_storage_percentage &&
    provisioned_cpus == other.provisioned_cpus &&
    total_cpus == other.total_cpus &&
    total_autonomous_data_storage_in_tbs == other.total_autonomous_data_storage_in_tbs &&
    reserved_cpus == other.reserved_cpus &&
    provisionable_autonomous_container_databases == other.provisionable_autonomous_container_databases &&
    provisioned_autonomous_container_databases == other.provisioned_autonomous_container_databases &&
    non_provisionable_autonomous_container_databases == other.non_provisionable_autonomous_container_databases &&
    exadata_storage_in_tbs_lowest_scaled_value == other.exadata_storage_in_tbs_lowest_scaled_value &&
    ocpus_lowest_scaled_value == other.ocpus_lowest_scaled_value &&
    max_acds_lowest_scaled_value == other.max_acds_lowest_scaled_value &&
    system_tags == other.system_tags &&
    subscription_id == other.subscription_id &&
    multi_cloud_identity_connector_configs == other.multi_cloud_identity_connector_configs &&
    tde_key_store_type == other.tde_key_store_type &&
    distribution_algorithm == other.distribution_algorithm &&
    sga_percentage == other.sga_percentage
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



1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 1105

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


1085
1086
1087
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 1085

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1094
1095
1096
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 1094

def hash
  [id, compartment_id, description, availability_domain, subnet_id, nsg_ids, last_update_history_entry_id, lifecycle_state, display_name, time_created, time_updated, cluster_time_zone, lifecycle_details, hostname, domain, cloud_exadata_infrastructure_id, shape, node_count, data_storage_size_in_tbs, data_storage_size_in_gbs, cpu_core_count, ocpu_count, compute_model, is_mtls_enabled_vm_cluster, cpu_core_count_per_node, memory_size_in_gbs, license_model, last_maintenance_run_id, next_maintenance_run_id, maintenance_window, scan_listener_port_tls, scan_listener_port_non_tls, freeform_tags, defined_tags, security_attributes, time_database_ssl_certificate_expires, time_ords_certificate_expires, available_cpus, reclaimable_cpus, available_container_databases, total_container_databases, available_autonomous_data_storage_size_in_tbs, autonomous_data_storage_size_in_tbs, db_node_storage_size_in_gbs, memory_per_oracle_compute_unit_in_gbs, memory_per_compute_unit_in_gbs, db_servers, cpu_percentage, autonomous_data_storage_percentage, provisioned_cpus, total_cpus, total_autonomous_data_storage_in_tbs, reserved_cpus, provisionable_autonomous_container_databases, provisioned_autonomous_container_databases, non_provisionable_autonomous_container_databases, exadata_storage_in_tbs_lowest_scaled_value, ocpus_lowest_scaled_value, max_acds_lowest_scaled_value, system_tags, subscription_id, multi_cloud_identity_connector_configs, tde_key_store_type, distribution_algorithm, sga_percentage].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb', line 1138

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



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

def to_s
  to_hash.to_s
end