Class: OCI::Database::Models::ExadataInfrastructureSummary
- Inherits:
-
Object
- Object
- OCI::Database::Models::ExadataInfrastructureSummary
- Defined in:
- lib/oci/database/models/exadata_infrastructure_summary.rb
Overview
Details of the Exadata Cloud@Customer infrastructure. Applies to Exadata Cloud@Customer instances only. See cloud_exadata_infrastructure_summary for details of the cloud Exadata infrastructure resource used by Exadata Cloud Service instances.
Constant Summary collapse
- LIFECYCLE_STATE_ENUM =
[ LIFECYCLE_STATE_CREATING = 'CREATING'.freeze, LIFECYCLE_STATE_REQUIRES_ACTIVATION = 'REQUIRES_ACTIVATION'.freeze, LIFECYCLE_STATE_ACTIVATING = 'ACTIVATING'.freeze, LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze, LIFECYCLE_STATE_ACTIVATION_FAILED = 'ACTIVATION_FAILED'.freeze, LIFECYCLE_STATE_FAILED = 'FAILED'.freeze, LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze, LIFECYCLE_STATE_DELETING = 'DELETING'.freeze, LIFECYCLE_STATE_DELETED = 'DELETED'.freeze, LIFECYCLE_STATE_DISCONNECTED = 'DISCONNECTED'.freeze, LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'.freeze, LIFECYCLE_STATE_WAITING_FOR_CONNECTIVITY = 'WAITING_FOR_CONNECTIVITY'.freeze, LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- ADDITIONAL_COMPUTE_SYSTEM_MODEL_ENUM =
[ ADDITIONAL_COMPUTE_SYSTEM_MODEL_X7 = 'X7'.freeze, ADDITIONAL_COMPUTE_SYSTEM_MODEL_X8 = 'X8'.freeze, ADDITIONAL_COMPUTE_SYSTEM_MODEL_X8_M = 'X8M'.freeze, ADDITIONAL_COMPUTE_SYSTEM_MODEL_X9_M = 'X9M'.freeze, ADDITIONAL_COMPUTE_SYSTEM_MODEL_X10_M = 'X10M'.freeze, ADDITIONAL_COMPUTE_SYSTEM_MODEL_X11_M = 'X11M'.freeze, ADDITIONAL_COMPUTE_SYSTEM_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- MAINTENANCE_SLO_STATUS_ENUM =
[ MAINTENANCE_SLO_STATUS_OK = 'OK'.freeze, MAINTENANCE_SLO_STATUS_DEGRADED = 'DEGRADED'.freeze, MAINTENANCE_SLO_STATUS_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
Instance Attribute Summary collapse
-
#activated_storage_count ⇒ Integer
The requested number of additional storage servers activated for the Exadata infrastructure.
-
#additional_compute_count ⇒ Integer
The requested number of additional compute servers for the Exadata infrastructure.
-
#additional_compute_system_model ⇒ String
Oracle Exadata System Model specification.
-
#additional_storage_count ⇒ Integer
The requested number of additional storage servers for the Exadata infrastructure.
-
#admin_network_cidr ⇒ String
The CIDR block for the Exadata administration network.
-
#availability_domain ⇒ String
The name of the availability domain that the Exadata infrastructure is located in.
-
#cloud_control_plane_server1 ⇒ String
The IP address for the first control plane server.
-
#cloud_control_plane_server2 ⇒ String
The IP address for the second control plane server.
-
#compartment_id ⇒ String
[Required] The OCID of the compartment.
-
#compute_count ⇒ Integer
The number of compute servers for the Exadata infrastructure.
-
#compute_model ⇒ String
The compute model of the Autonomous AI Database.
-
#contacts ⇒ Array<OCI::Database::Models::ExadataInfrastructureContact>
The list of contacts for the Exadata infrastructure.
-
#corporate_proxy ⇒ String
The corporate network proxy for access to the control plane network.
-
#cpus_enabled ⇒ Integer
The number of enabled CPU cores.
-
#csi_number ⇒ String
The CSI Number of the Exadata infrastructure.
-
#data_storage_size_in_tbs ⇒ Float
Size, in terabytes, of the DATA disk group.
-
#database_server_type ⇒ String
The database server type of the Exadata infrastructure.
-
#db_node_storage_size_in_gbs ⇒ Integer
The local node storage allocated in GBs.
-
#db_server_version ⇒ String
The software version of the database servers (dom0) in the Exadata infrastructure.
-
#defined_file_system_configurations ⇒ Array<OCI::Database::Models::DefinedFileSystemConfiguration>
Details of the file system configuration of the Exadata infrastructure.
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Defined tags for this resource.
-
#display_name ⇒ String
[Required] The user-friendly name for the Exadata Cloud@Customer infrastructure.
-
#dns_server ⇒ Array<String>
The list of DNS server IP addresses.
- #exascale_config ⇒ OCI::Database::Models::ExascaleConfigDetails
-
#freeform_tags ⇒ Hash<String, String>
Free-form tags for this resource.
-
#gateway ⇒ String
The gateway for the control plane network.
-
#id ⇒ String
[Required] The OCID of the Exadata infrastructure.
-
#infini_band_network_cidr ⇒ String
The CIDR block for the Exadata InfiniBand interconnect.
-
#is_cps_offline_report_enabled ⇒ BOOLEAN
Indicates whether cps offline diagnostic report is enabled for this Exadata infrastructure.
-
#is_multi_rack_deployment ⇒ BOOLEAN
Indicates if deployment is Multi-Rack or not.
-
#is_scheduling_policy_associated ⇒ BOOLEAN
If true, the infrastructure is using granular maintenance scheduling preference.
-
#last_maintenance_run_id ⇒ String
The OCID of the last maintenance run.
-
#lifecycle_details ⇒ String
Additional information about the current lifecycle state.
-
#lifecycle_state ⇒ String
[Required] The current lifecycle state of the Exadata infrastructure.
-
#maintenance_slo_status ⇒ String
A field to capture u2018Maintenance SLO Statusu2019 for the Exadata infrastructure with values u2018OKu2019, u2018DEGRADEDu2019.
- #maintenance_version_preferences ⇒ OCI::Database::Models::MaintenanceVersionPreferenceDetails
- #maintenance_window ⇒ OCI::Database::Models::MaintenanceWindow
-
#max_cpu_count ⇒ Integer
The total number of CPU cores available.
-
#max_data_storage_in_t_bs ⇒ Float
The total available DATA disk group size.
-
#max_db_node_storage_in_g_bs ⇒ Integer
The total local node storage available in GBs.
-
#max_memory_in_gbs ⇒ Integer
The total memory available in GBs.
-
#memory_size_in_gbs ⇒ Integer
The memory allocated in GBs.
-
#monthly_db_server_version ⇒ String
The monthly software version of the database servers (dom0) in the Exadata infrastructure.
-
#multi_rack_configuration_file ⇒ String
The base64 encoded Multi-Rack configuration json file.
-
#netmask ⇒ String
The netmask for the control plane network.
- #network_bonding_mode_details ⇒ OCI::Database::Models::NetworkBondingModeDetails
-
#next_maintenance_run_id ⇒ String
The OCID of the next maintenance run.
-
#ntp_server ⇒ Array<String>
The list of NTP server IP addresses.
-
#rack_serial_number ⇒ String
The serial number for the Exadata infrastructure.
-
#shape ⇒ String
[Required] The shape of the Exadata infrastructure.
-
#storage_count ⇒ Integer
The number of Exadata storage servers for the Exadata infrastructure.
-
#storage_server_type ⇒ String
The storage server type of the Exadata infrastructure.
-
#storage_server_version ⇒ String
The software version of the storage servers (cells) in the Exadata infrastructure.
-
#system_tags ⇒ Hash<String, Hash<String, Object>>
System tags for this resource.
-
#time_created ⇒ DateTime
The date and time the Exadata infrastructure was created.
-
#time_zone ⇒ String
The time zone of the Exadata infrastructure.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equality by comparing each attribute.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(other) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ExadataInfrastructureSummary
constructor
Initializes the object.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
Constructor Details
#initialize(attributes = {}) ⇒ ExadataInfrastructureSummary
Initializes the object
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 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 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 478 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.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.shape = attributes[:'shape'] if attributes[:'shape'] self.time_zone = attributes[:'timeZone'] if attributes[:'timeZone'] raise 'You cannot provide both :timeZone and :time_zone' if attributes.key?(:'timeZone') && attributes.key?(:'time_zone') self.time_zone = attributes[:'time_zone'] if attributes[:'time_zone'] self.cpus_enabled = attributes[:'cpusEnabled'] if attributes[:'cpusEnabled'] raise 'You cannot provide both :cpusEnabled and :cpus_enabled' if attributes.key?(:'cpusEnabled') && attributes.key?(:'cpus_enabled') self.cpus_enabled = attributes[:'cpus_enabled'] if attributes[:'cpus_enabled'] self.max_cpu_count = attributes[:'maxCpuCount'] if attributes[:'maxCpuCount'] raise 'You cannot provide both :maxCpuCount and :max_cpu_count' if attributes.key?(:'maxCpuCount') && attributes.key?(:'max_cpu_count') self.max_cpu_count = attributes[:'max_cpu_count'] if attributes[:'max_cpu_count'] 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.max_memory_in_gbs = attributes[:'maxMemoryInGBs'] if attributes[:'maxMemoryInGBs'] raise 'You cannot provide both :maxMemoryInGBs and :max_memory_in_gbs' if attributes.key?(:'maxMemoryInGBs') && attributes.key?(:'max_memory_in_gbs') self.max_memory_in_gbs = attributes[:'max_memory_in_gbs'] if attributes[:'max_memory_in_gbs'] 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.max_db_node_storage_in_g_bs = attributes[:'maxDbNodeStorageInGBs'] if attributes[:'maxDbNodeStorageInGBs'] raise 'You cannot provide both :maxDbNodeStorageInGBs and :max_db_node_storage_in_g_bs' if attributes.key?(:'maxDbNodeStorageInGBs') && attributes.key?(:'max_db_node_storage_in_g_bs') self.max_db_node_storage_in_g_bs = attributes[:'max_db_node_storage_in_g_bs'] if attributes[:'max_db_node_storage_in_g_bs'] 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.max_data_storage_in_t_bs = attributes[:'maxDataStorageInTBs'] if attributes[:'maxDataStorageInTBs'] raise 'You cannot provide both :maxDataStorageInTBs and :max_data_storage_in_t_bs' if attributes.key?(:'maxDataStorageInTBs') && attributes.key?(:'max_data_storage_in_t_bs') self.max_data_storage_in_t_bs = attributes[:'max_data_storage_in_t_bs'] if attributes[:'max_data_storage_in_t_bs'] self.rack_serial_number = attributes[:'rackSerialNumber'] if attributes[:'rackSerialNumber'] raise 'You cannot provide both :rackSerialNumber and :rack_serial_number' if attributes.key?(:'rackSerialNumber') && attributes.key?(:'rack_serial_number') self.rack_serial_number = attributes[:'rack_serial_number'] if attributes[:'rack_serial_number'] self.storage_count = attributes[:'storageCount'] if attributes[:'storageCount'] raise 'You cannot provide both :storageCount and :storage_count' if attributes.key?(:'storageCount') && attributes.key?(:'storage_count') self.storage_count = attributes[:'storage_count'] if attributes[:'storage_count'] self.additional_storage_count = attributes[:'additionalStorageCount'] if attributes[:'additionalStorageCount'] raise 'You cannot provide both :additionalStorageCount and :additional_storage_count' if attributes.key?(:'additionalStorageCount') && attributes.key?(:'additional_storage_count') self.additional_storage_count = attributes[:'additional_storage_count'] if attributes[:'additional_storage_count'] self.activated_storage_count = attributes[:'activatedStorageCount'] if attributes[:'activatedStorageCount'] raise 'You cannot provide both :activatedStorageCount and :activated_storage_count' if attributes.key?(:'activatedStorageCount') && attributes.key?(:'activated_storage_count') self.activated_storage_count = attributes[:'activated_storage_count'] if attributes[:'activated_storage_count'] self.compute_count = attributes[:'computeCount'] if attributes[:'computeCount'] raise 'You cannot provide both :computeCount and :compute_count' if attributes.key?(:'computeCount') && attributes.key?(:'compute_count') self.compute_count = attributes[:'compute_count'] if attributes[:'compute_count'] self.is_multi_rack_deployment = attributes[:'isMultiRackDeployment'] unless attributes[:'isMultiRackDeployment'].nil? raise 'You cannot provide both :isMultiRackDeployment and :is_multi_rack_deployment' if attributes.key?(:'isMultiRackDeployment') && attributes.key?(:'is_multi_rack_deployment') self.is_multi_rack_deployment = attributes[:'is_multi_rack_deployment'] unless attributes[:'is_multi_rack_deployment'].nil? self.multi_rack_configuration_file = attributes[:'multiRackConfigurationFile'] if attributes[:'multiRackConfigurationFile'] raise 'You cannot provide both :multiRackConfigurationFile and :multi_rack_configuration_file' if attributes.key?(:'multiRackConfigurationFile') && attributes.key?(:'multi_rack_configuration_file') self.multi_rack_configuration_file = attributes[:'multi_rack_configuration_file'] if attributes[:'multi_rack_configuration_file'] self.additional_compute_count = attributes[:'additionalComputeCount'] if attributes[:'additionalComputeCount'] raise 'You cannot provide both :additionalComputeCount and :additional_compute_count' if attributes.key?(:'additionalComputeCount') && attributes.key?(:'additional_compute_count') self.additional_compute_count = attributes[:'additional_compute_count'] if attributes[:'additional_compute_count'] self.additional_compute_system_model = attributes[:'additionalComputeSystemModel'] if attributes[:'additionalComputeSystemModel'] raise 'You cannot provide both :additionalComputeSystemModel and :additional_compute_system_model' if attributes.key?(:'additionalComputeSystemModel') && attributes.key?(:'additional_compute_system_model') self.additional_compute_system_model = attributes[:'additional_compute_system_model'] if attributes[:'additional_compute_system_model'] self.cloud_control_plane_server1 = attributes[:'cloudControlPlaneServer1'] if attributes[:'cloudControlPlaneServer1'] raise 'You cannot provide both :cloudControlPlaneServer1 and :cloud_control_plane_server1' if attributes.key?(:'cloudControlPlaneServer1') && attributes.key?(:'cloud_control_plane_server1') self.cloud_control_plane_server1 = attributes[:'cloud_control_plane_server1'] if attributes[:'cloud_control_plane_server1'] self.cloud_control_plane_server2 = attributes[:'cloudControlPlaneServer2'] if attributes[:'cloudControlPlaneServer2'] raise 'You cannot provide both :cloudControlPlaneServer2 and :cloud_control_plane_server2' if attributes.key?(:'cloudControlPlaneServer2') && attributes.key?(:'cloud_control_plane_server2') self.cloud_control_plane_server2 = attributes[:'cloud_control_plane_server2'] if attributes[:'cloud_control_plane_server2'] self.netmask = attributes[:'netmask'] if attributes[:'netmask'] self.gateway = attributes[:'gateway'] if attributes[:'gateway'] self.admin_network_cidr = attributes[:'adminNetworkCIDR'] if attributes[:'adminNetworkCIDR'] raise 'You cannot provide both :adminNetworkCIDR and :admin_network_cidr' if attributes.key?(:'adminNetworkCIDR') && attributes.key?(:'admin_network_cidr') self.admin_network_cidr = attributes[:'admin_network_cidr'] if attributes[:'admin_network_cidr'] self.infini_band_network_cidr = attributes[:'infiniBandNetworkCIDR'] if attributes[:'infiniBandNetworkCIDR'] raise 'You cannot provide both :infiniBandNetworkCIDR and :infini_band_network_cidr' if attributes.key?(:'infiniBandNetworkCIDR') && attributes.key?(:'infini_band_network_cidr') self.infini_band_network_cidr = attributes[:'infini_band_network_cidr'] if attributes[:'infini_band_network_cidr'] self.corporate_proxy = attributes[:'corporateProxy'] if attributes[:'corporateProxy'] raise 'You cannot provide both :corporateProxy and :corporate_proxy' if attributes.key?(:'corporateProxy') && attributes.key?(:'corporate_proxy') self.corporate_proxy = attributes[:'corporate_proxy'] if attributes[:'corporate_proxy'] self.dns_server = attributes[:'dnsServer'] if attributes[:'dnsServer'] raise 'You cannot provide both :dnsServer and :dns_server' if attributes.key?(:'dnsServer') && attributes.key?(:'dns_server') self.dns_server = attributes[:'dns_server'] if attributes[:'dns_server'] self.ntp_server = attributes[:'ntpServer'] if attributes[:'ntpServer'] raise 'You cannot provide both :ntpServer and :ntp_server' if attributes.key?(:'ntpServer') && attributes.key?(:'ntp_server') self.ntp_server = attributes[:'ntp_server'] if attributes[:'ntp_server'] 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.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.csi_number = attributes[:'csiNumber'] if attributes[:'csiNumber'] raise 'You cannot provide both :csiNumber and :csi_number' if attributes.key?(:'csiNumber') && attributes.key?(:'csi_number') self.csi_number = attributes[:'csi_number'] if attributes[:'csi_number'] self.contacts = attributes[:'contacts'] if attributes[:'contacts'] self.maintenance_slo_status = attributes[:'maintenanceSLOStatus'] if attributes[:'maintenanceSLOStatus'] raise 'You cannot provide both :maintenanceSLOStatus and :maintenance_slo_status' if attributes.key?(:'maintenanceSLOStatus') && attributes.key?(:'maintenance_slo_status') self.maintenance_slo_status = attributes[:'maintenance_slo_status'] if attributes[:'maintenance_slo_status'] 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.maintenance_version_preferences = attributes[:'maintenanceVersionPreferences'] if attributes[:'maintenanceVersionPreferences'] raise 'You cannot provide both :maintenanceVersionPreferences and :maintenance_version_preferences' if attributes.key?(:'maintenanceVersionPreferences') && attributes.key?(:'maintenance_version_preferences') self.maintenance_version_preferences = attributes[:'maintenance_version_preferences'] if attributes[:'maintenance_version_preferences'] self.storage_server_version = attributes[:'storageServerVersion'] if attributes[:'storageServerVersion'] raise 'You cannot provide both :storageServerVersion and :storage_server_version' if attributes.key?(:'storageServerVersion') && attributes.key?(:'storage_server_version') self.storage_server_version = attributes[:'storage_server_version'] if attributes[:'storage_server_version'] self.db_server_version = attributes[:'dbServerVersion'] if attributes[:'dbServerVersion'] raise 'You cannot provide both :dbServerVersion and :db_server_version' if attributes.key?(:'dbServerVersion') && attributes.key?(:'db_server_version') self.db_server_version = attributes[:'db_server_version'] if attributes[:'db_server_version'] self.monthly_db_server_version = attributes[:'monthlyDbServerVersion'] if attributes[:'monthlyDbServerVersion'] raise 'You cannot provide both :monthlyDbServerVersion and :monthly_db_server_version' if attributes.key?(:'monthlyDbServerVersion') && attributes.key?(:'monthly_db_server_version') self.monthly_db_server_version = attributes[:'monthly_db_server_version'] if attributes[:'monthly_db_server_version'] 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.is_cps_offline_report_enabled = attributes[:'isCpsOfflineReportEnabled'] unless attributes[:'isCpsOfflineReportEnabled'].nil? raise 'You cannot provide both :isCpsOfflineReportEnabled and :is_cps_offline_report_enabled' if attributes.key?(:'isCpsOfflineReportEnabled') && attributes.key?(:'is_cps_offline_report_enabled') self.is_cps_offline_report_enabled = attributes[:'is_cps_offline_report_enabled'] unless attributes[:'is_cps_offline_report_enabled'].nil? self.network_bonding_mode_details = attributes[:'networkBondingModeDetails'] if attributes[:'networkBondingModeDetails'] raise 'You cannot provide both :networkBondingModeDetails and :network_bonding_mode_details' if attributes.key?(:'networkBondingModeDetails') && attributes.key?(:'network_bonding_mode_details') self.network_bonding_mode_details = attributes[:'network_bonding_mode_details'] if attributes[:'network_bonding_mode_details'] 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.defined_file_system_configurations = attributes[:'definedFileSystemConfigurations'] if attributes[:'definedFileSystemConfigurations'] raise 'You cannot provide both :definedFileSystemConfigurations and :defined_file_system_configurations' if attributes.key?(:'definedFileSystemConfigurations') && attributes.key?(:'defined_file_system_configurations') self.defined_file_system_configurations = attributes[:'defined_file_system_configurations'] if attributes[:'defined_file_system_configurations'] self. = attributes[:'freeformTags'] if attributes[:'freeformTags'] raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags') self. = attributes[:'freeform_tags'] if attributes[:'freeform_tags'] self. = attributes[:'definedTags'] if attributes[:'definedTags'] raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags') self. = attributes[:'defined_tags'] if attributes[:'defined_tags'] self. = attributes[:'systemTags'] if attributes[:'systemTags'] raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags') self. = attributes[:'system_tags'] if attributes[:'system_tags'] self.is_scheduling_policy_associated = attributes[:'isSchedulingPolicyAssociated'] unless attributes[:'isSchedulingPolicyAssociated'].nil? raise 'You cannot provide both :isSchedulingPolicyAssociated and :is_scheduling_policy_associated' if attributes.key?(:'isSchedulingPolicyAssociated') && attributes.key?(:'is_scheduling_policy_associated') self.is_scheduling_policy_associated = attributes[:'is_scheduling_policy_associated'] unless attributes[:'is_scheduling_policy_associated'].nil? self.exascale_config = attributes[:'exascaleConfig'] if attributes[:'exascaleConfig'] raise 'You cannot provide both :exascaleConfig and :exascale_config' if attributes.key?(:'exascaleConfig') && attributes.key?(:'exascale_config') self.exascale_config = attributes[:'exascale_config'] if attributes[:'exascale_config'] self.database_server_type = attributes[:'databaseServerType'] if attributes[:'databaseServerType'] raise 'You cannot provide both :databaseServerType and :database_server_type' if attributes.key?(:'databaseServerType') && attributes.key?(:'database_server_type') self.database_server_type = attributes[:'database_server_type'] if attributes[:'database_server_type'] self.storage_server_type = attributes[:'storageServerType'] if attributes[:'storageServerType'] raise 'You cannot provide both :storageServerType and :storage_server_type' if attributes.key?(:'storageServerType') && attributes.key?(:'storage_server_type') self.storage_server_type = attributes[:'storage_server_type'] if attributes[:'storage_server_type'] 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'] end |
Instance Attribute Details
#activated_storage_count ⇒ Integer
The requested number of additional storage servers activated for the Exadata infrastructure.
124 125 126 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 124 def activated_storage_count @activated_storage_count end |
#additional_compute_count ⇒ Integer
The requested number of additional compute servers for the Exadata infrastructure.
140 141 142 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 140 def additional_compute_count @additional_compute_count end |
#additional_compute_system_model ⇒ String
Oracle Exadata System Model specification. The system model determines the amount of compute or storage server resources available for use. For more information, please see [System and Shape Configuration Options] (docs.oracle.com/en/engineered-systems/exadata-cloud-at-customer/ecccm/ecc-system-config-options.html#GUID-9E090174-5C57-4EB1-9243-B470F9F10D6B)
147 148 149 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 147 def additional_compute_system_model @additional_compute_system_model end |
#additional_storage_count ⇒ Integer
The requested number of additional storage servers for the Exadata infrastructure.
120 121 122 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 120 def additional_storage_count @additional_storage_count end |
#admin_network_cidr ⇒ String
The CIDR block for the Exadata administration network.
167 168 169 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 167 def admin_network_cidr @admin_network_cidr end |
#availability_domain ⇒ String
The name of the availability domain that the Exadata infrastructure is located in.
243 244 245 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 243 def availability_domain @availability_domain end |
#cloud_control_plane_server1 ⇒ String
The IP address for the first control plane server.
151 152 153 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 151 def cloud_control_plane_server1 @cloud_control_plane_server1 end |
#cloud_control_plane_server2 ⇒ String
The IP address for the second control plane server.
155 156 157 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 155 def cloud_control_plane_server2 @cloud_control_plane_server2 end |
#compartment_id ⇒ String
[Required] The OCID of the compartment.
58 59 60 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 58 def compartment_id @compartment_id end |
#compute_count ⇒ Integer
The number of compute servers for the Exadata infrastructure.
128 129 130 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 128 def compute_count @compute_count end |
#compute_model ⇒ String
The compute model of the Autonomous AI Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
286 287 288 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 286 def compute_model @compute_model end |
#contacts ⇒ Array<OCI::Database::Models::ExadataInfrastructureContact>
The list of contacts for the Exadata infrastructure.
199 200 201 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 199 def contacts @contacts end |
#corporate_proxy ⇒ String
The corporate network proxy for access to the control plane network.
175 176 177 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 175 def corporate_proxy @corporate_proxy end |
#cpus_enabled ⇒ Integer
The number of enabled CPU cores.
79 80 81 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 79 def cpus_enabled @cpus_enabled end |
#csi_number ⇒ String
The CSI Number of the Exadata infrastructure.
195 196 197 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 195 def csi_number @csi_number end |
#data_storage_size_in_tbs ⇒ Float
Size, in terabytes, of the DATA disk group.
104 105 106 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 104 def data_storage_size_in_tbs @data_storage_size_in_tbs end |
#database_server_type ⇒ String
The database server type of the Exadata infrastructure.
278 279 280 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 278 def database_server_type @database_server_type end |
#db_node_storage_size_in_gbs ⇒ Integer
The local node storage allocated in GBs.
95 96 97 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 95 def db_node_storage_size_in_gbs @db_node_storage_size_in_gbs end |
#db_server_version ⇒ String
The software version of the database servers (dom0) in the Exadata infrastructure.
217 218 219 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 217 def db_server_version @db_server_version end |
#defined_file_system_configurations ⇒ Array<OCI::Database::Models::DefinedFileSystemConfiguration>
Details of the file system configuration of the Exadata infrastructure.
247 248 249 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 247 def defined_file_system_configurations @defined_file_system_configurations end |
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
261 262 263 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 261 def @defined_tags end |
#display_name ⇒ String
[Required] The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
66 67 68 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 66 def display_name @display_name end |
#dns_server ⇒ Array<String>
The list of DNS server IP addresses. Maximum of 3 allowed.
179 180 181 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 179 def dns_server @dns_server end |
#exascale_config ⇒ OCI::Database::Models::ExascaleConfigDetails
274 275 276 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 274 def exascale_config @exascale_config end |
#freeform_tags ⇒ Hash<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\"}
255 256 257 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 255 def @freeform_tags end |
#gateway ⇒ String
The gateway for the control plane network.
163 164 165 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 163 def gateway @gateway end |
#id ⇒ String
[Required] The OCID of the Exadata infrastructure.
54 55 56 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 54 def id @id end |
#infini_band_network_cidr ⇒ String
The CIDR block for the Exadata InfiniBand interconnect.
171 172 173 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 171 def infini_band_network_cidr @infini_band_network_cidr end |
#is_cps_offline_report_enabled ⇒ BOOLEAN
Indicates whether cps offline diagnostic report is enabled for this Exadata infrastructure. This will allow a customer to quickly check status themselves and fix problems on their end, saving time and frustration for both Oracle and the customer when they find the CPS in a disconnected state.You can enable offline diagnostic report during Exadata infrastructure provisioning. You can also disable or enable it at any time using the UpdateExadatainfrastructure API.
236 237 238 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 236 def is_cps_offline_report_enabled @is_cps_offline_report_enabled end |
#is_multi_rack_deployment ⇒ BOOLEAN
Indicates if deployment is Multi-Rack or not.
132 133 134 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 132 def is_multi_rack_deployment @is_multi_rack_deployment end |
#is_scheduling_policy_associated ⇒ BOOLEAN
If true, the infrastructure is using granular maintenance scheduling preference.
271 272 273 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 271 def is_scheduling_policy_associated @is_scheduling_policy_associated end |
#last_maintenance_run_id ⇒ String
The OCID of the last maintenance run.
225 226 227 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 225 def last_maintenance_run_id @last_maintenance_run_id end |
#lifecycle_details ⇒ String
Additional information about the current lifecycle state.
191 192 193 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 191 def lifecycle_details @lifecycle_details end |
#lifecycle_state ⇒ String
[Required] The current lifecycle state of the Exadata infrastructure.
62 63 64 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 62 def lifecycle_state @lifecycle_state end |
#maintenance_slo_status ⇒ String
A field to capture u2018Maintenance SLO Statusu2019 for the Exadata infrastructure with values u2018OKu2019, u2018DEGRADEDu2019. Default is u2018OKu2019 when the infrastructure is provisioned.
203 204 205 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 203 def maintenance_slo_status @maintenance_slo_status end |
#maintenance_version_preferences ⇒ OCI::Database::Models::MaintenanceVersionPreferenceDetails
209 210 211 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 209 def maintenance_version_preferences @maintenance_version_preferences end |
#maintenance_window ⇒ OCI::Database::Models::MaintenanceWindow
206 207 208 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 206 def maintenance_window @maintenance_window end |
#max_cpu_count ⇒ Integer
The total number of CPU cores available.
83 84 85 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 83 def max_cpu_count @max_cpu_count end |
#max_data_storage_in_t_bs ⇒ Float
The total available DATA disk group size.
108 109 110 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 108 def max_data_storage_in_t_bs @max_data_storage_in_t_bs end |
#max_db_node_storage_in_g_bs ⇒ Integer
The total local node storage available in GBs.
99 100 101 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 99 def max_db_node_storage_in_g_bs @max_db_node_storage_in_g_bs end |
#max_memory_in_gbs ⇒ Integer
The total memory available in GBs.
91 92 93 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 91 def max_memory_in_gbs @max_memory_in_gbs end |
#memory_size_in_gbs ⇒ Integer
The memory allocated in GBs.
87 88 89 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 87 def memory_size_in_gbs @memory_size_in_gbs end |
#monthly_db_server_version ⇒ String
The monthly software version of the database servers (dom0) in the Exadata infrastructure.
221 222 223 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 221 def monthly_db_server_version @monthly_db_server_version end |
#multi_rack_configuration_file ⇒ String
The base64 encoded Multi-Rack configuration json file.
136 137 138 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 136 def multi_rack_configuration_file @multi_rack_configuration_file end |
#netmask ⇒ String
The netmask for the control plane network.
159 160 161 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 159 def netmask @netmask end |
#network_bonding_mode_details ⇒ OCI::Database::Models::NetworkBondingModeDetails
239 240 241 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 239 def network_bonding_mode_details @network_bonding_mode_details end |
#next_maintenance_run_id ⇒ String
The OCID of the next maintenance run.
229 230 231 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 229 def next_maintenance_run_id @next_maintenance_run_id end |
#ntp_server ⇒ Array<String>
The list of NTP server IP addresses. Maximum of 3 allowed.
183 184 185 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 183 def ntp_server @ntp_server end |
#rack_serial_number ⇒ String
The serial number for the Exadata infrastructure.
112 113 114 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 112 def rack_serial_number @rack_serial_number end |
#shape ⇒ String
[Required] The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
71 72 73 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 71 def shape @shape end |
#storage_count ⇒ Integer
The number of Exadata storage servers for the Exadata infrastructure.
116 117 118 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 116 def storage_count @storage_count end |
#storage_server_type ⇒ String
The storage server type of the Exadata infrastructure.
282 283 284 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 282 def storage_server_type @storage_server_type end |
#storage_server_version ⇒ String
The software version of the storage servers (cells) in the Exadata infrastructure.
213 214 215 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 213 def storage_server_version @storage_server_version end |
#system_tags ⇒ Hash<String, Hash<String, Object>>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
267 268 269 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 267 def @system_tags end |
#time_created ⇒ DateTime
The date and time the Exadata infrastructure was created.
187 188 189 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 187 def time_created @time_created end |
#time_zone ⇒ String
The time zone of the Exadata infrastructure. For details, see Exadata Infrastructure Time Zones.
75 76 77 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 75 def time_zone @time_zone end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 289 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'compartment_id': :'compartmentId', 'lifecycle_state': :'lifecycleState', 'display_name': :'displayName', 'shape': :'shape', 'time_zone': :'timeZone', 'cpus_enabled': :'cpusEnabled', 'max_cpu_count': :'maxCpuCount', 'memory_size_in_gbs': :'memorySizeInGBs', 'max_memory_in_gbs': :'maxMemoryInGBs', 'db_node_storage_size_in_gbs': :'dbNodeStorageSizeInGBs', 'max_db_node_storage_in_g_bs': :'maxDbNodeStorageInGBs', 'data_storage_size_in_tbs': :'dataStorageSizeInTBs', 'max_data_storage_in_t_bs': :'maxDataStorageInTBs', 'rack_serial_number': :'rackSerialNumber', 'storage_count': :'storageCount', 'additional_storage_count': :'additionalStorageCount', 'activated_storage_count': :'activatedStorageCount', 'compute_count': :'computeCount', 'is_multi_rack_deployment': :'isMultiRackDeployment', 'multi_rack_configuration_file': :'multiRackConfigurationFile', 'additional_compute_count': :'additionalComputeCount', 'additional_compute_system_model': :'additionalComputeSystemModel', 'cloud_control_plane_server1': :'cloudControlPlaneServer1', 'cloud_control_plane_server2': :'cloudControlPlaneServer2', 'netmask': :'netmask', 'gateway': :'gateway', 'admin_network_cidr': :'adminNetworkCIDR', 'infini_band_network_cidr': :'infiniBandNetworkCIDR', 'corporate_proxy': :'corporateProxy', 'dns_server': :'dnsServer', 'ntp_server': :'ntpServer', 'time_created': :'timeCreated', 'lifecycle_details': :'lifecycleDetails', 'csi_number': :'csiNumber', 'contacts': :'contacts', 'maintenance_slo_status': :'maintenanceSLOStatus', 'maintenance_window': :'maintenanceWindow', 'maintenance_version_preferences': :'maintenanceVersionPreferences', 'storage_server_version': :'storageServerVersion', 'db_server_version': :'dbServerVersion', 'monthly_db_server_version': :'monthlyDbServerVersion', 'last_maintenance_run_id': :'lastMaintenanceRunId', 'next_maintenance_run_id': :'nextMaintenanceRunId', 'is_cps_offline_report_enabled': :'isCpsOfflineReportEnabled', 'network_bonding_mode_details': :'networkBondingModeDetails', 'availability_domain': :'availabilityDomain', 'defined_file_system_configurations': :'definedFileSystemConfigurations', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags', 'system_tags': :'systemTags', 'is_scheduling_policy_associated': :'isSchedulingPolicyAssociated', 'exascale_config': :'exascaleConfig', 'database_server_type': :'databaseServerType', 'storage_server_type': :'storageServerType', 'compute_model': :'computeModel' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
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/exadata_infrastructure_summary.rb', line 353 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'compartment_id': :'String', 'lifecycle_state': :'String', 'display_name': :'String', 'shape': :'String', 'time_zone': :'String', 'cpus_enabled': :'Integer', 'max_cpu_count': :'Integer', 'memory_size_in_gbs': :'Integer', 'max_memory_in_gbs': :'Integer', 'db_node_storage_size_in_gbs': :'Integer', 'max_db_node_storage_in_g_bs': :'Integer', 'data_storage_size_in_tbs': :'Float', 'max_data_storage_in_t_bs': :'Float', 'rack_serial_number': :'String', 'storage_count': :'Integer', 'additional_storage_count': :'Integer', 'activated_storage_count': :'Integer', 'compute_count': :'Integer', 'is_multi_rack_deployment': :'BOOLEAN', 'multi_rack_configuration_file': :'String', 'additional_compute_count': :'Integer', 'additional_compute_system_model': :'String', 'cloud_control_plane_server1': :'String', 'cloud_control_plane_server2': :'String', 'netmask': :'String', 'gateway': :'String', 'admin_network_cidr': :'String', 'infini_band_network_cidr': :'String', 'corporate_proxy': :'String', 'dns_server': :'Array<String>', 'ntp_server': :'Array<String>', 'time_created': :'DateTime', 'lifecycle_details': :'String', 'csi_number': :'String', 'contacts': :'Array<OCI::Database::Models::ExadataInfrastructureContact>', 'maintenance_slo_status': :'String', 'maintenance_window': :'OCI::Database::Models::MaintenanceWindow', 'maintenance_version_preferences': :'OCI::Database::Models::MaintenanceVersionPreferenceDetails', 'storage_server_version': :'String', 'db_server_version': :'String', 'monthly_db_server_version': :'String', 'last_maintenance_run_id': :'String', 'next_maintenance_run_id': :'String', 'is_cps_offline_report_enabled': :'BOOLEAN', 'network_bonding_mode_details': :'OCI::Database::Models::NetworkBondingModeDetails', 'availability_domain': :'String', 'defined_file_system_configurations': :'Array<OCI::Database::Models::DefinedFileSystemConfiguration>', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>', 'system_tags': :'Hash<String, Hash<String, Object>>', 'is_scheduling_policy_associated': :'BOOLEAN', 'exascale_config': :'OCI::Database::Models::ExascaleConfigDetails', 'database_server_type': :'String', 'storage_server_type': :'String', 'compute_model': :'String' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
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 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 860 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && compartment_id == other.compartment_id && lifecycle_state == other.lifecycle_state && display_name == other.display_name && shape == other.shape && time_zone == other.time_zone && cpus_enabled == other.cpus_enabled && max_cpu_count == other.max_cpu_count && memory_size_in_gbs == other.memory_size_in_gbs && max_memory_in_gbs == other.max_memory_in_gbs && db_node_storage_size_in_gbs == other.db_node_storage_size_in_gbs && max_db_node_storage_in_g_bs == other.max_db_node_storage_in_g_bs && data_storage_size_in_tbs == other.data_storage_size_in_tbs && max_data_storage_in_t_bs == other.max_data_storage_in_t_bs && rack_serial_number == other.rack_serial_number && storage_count == other.storage_count && additional_storage_count == other.additional_storage_count && activated_storage_count == other.activated_storage_count && compute_count == other.compute_count && is_multi_rack_deployment == other.is_multi_rack_deployment && multi_rack_configuration_file == other.multi_rack_configuration_file && additional_compute_count == other.additional_compute_count && additional_compute_system_model == other.additional_compute_system_model && cloud_control_plane_server1 == other.cloud_control_plane_server1 && cloud_control_plane_server2 == other.cloud_control_plane_server2 && netmask == other.netmask && gateway == other.gateway && admin_network_cidr == other.admin_network_cidr && infini_band_network_cidr == other.infini_band_network_cidr && corporate_proxy == other.corporate_proxy && dns_server == other.dns_server && ntp_server == other.ntp_server && time_created == other.time_created && lifecycle_details == other.lifecycle_details && csi_number == other.csi_number && contacts == other.contacts && maintenance_slo_status == other.maintenance_slo_status && maintenance_window == other.maintenance_window && maintenance_version_preferences == other.maintenance_version_preferences && storage_server_version == other.storage_server_version && db_server_version == other.db_server_version && monthly_db_server_version == other.monthly_db_server_version && last_maintenance_run_id == other.last_maintenance_run_id && next_maintenance_run_id == other.next_maintenance_run_id && is_cps_offline_report_enabled == other.is_cps_offline_report_enabled && network_bonding_mode_details == other.network_bonding_mode_details && availability_domain == other.availability_domain && defined_file_system_configurations == other.defined_file_system_configurations && == other. && == other. && == other. && is_scheduling_policy_associated == other.is_scheduling_policy_associated && exascale_config == other.exascale_config && database_server_type == other.database_server_type && storage_server_type == other.storage_server_type && compute_model == other.compute_model end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 945 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
925 926 927 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 925 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
934 935 936 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 934 def hash [id, compartment_id, lifecycle_state, display_name, shape, time_zone, cpus_enabled, max_cpu_count, memory_size_in_gbs, max_memory_in_gbs, db_node_storage_size_in_gbs, max_db_node_storage_in_g_bs, data_storage_size_in_tbs, max_data_storage_in_t_bs, rack_serial_number, storage_count, additional_storage_count, activated_storage_count, compute_count, is_multi_rack_deployment, multi_rack_configuration_file, additional_compute_count, additional_compute_system_model, cloud_control_plane_server1, cloud_control_plane_server2, netmask, gateway, admin_network_cidr, infini_band_network_cidr, corporate_proxy, dns_server, ntp_server, time_created, lifecycle_details, csi_number, contacts, maintenance_slo_status, maintenance_window, maintenance_version_preferences, storage_server_version, db_server_version, monthly_db_server_version, last_maintenance_run_id, next_maintenance_run_id, is_cps_offline_report_enabled, network_bonding_mode_details, availability_domain, defined_file_system_configurations, , , , is_scheduling_policy_associated, exascale_config, database_server_type, storage_server_type, compute_model].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
978 979 980 981 982 983 984 985 986 987 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 978 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_s ⇒ String
Returns the string representation of the object
972 973 974 |
# File 'lib/oci/database/models/exadata_infrastructure_summary.rb', line 972 def to_s to_hash.to_s end |