Class: OCI::Database::Models::AutonomousVmClusterSummary
- Inherits:
-
Object
- Object
- OCI::Database::Models::AutonomousVmClusterSummary
- Defined in:
- lib/oci/database/models/autonomous_vm_cluster_summary.rb
Overview
Details of the 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
Instance Attribute Summary collapse
-
#autonomous_data_storage_percentage ⇒ Float
The percentage of the data storage used for the Autonomous Databases in an Autonomous VM Cluster.
-
#autonomous_data_storage_size_in_tbs ⇒ Float
The data disk group size allocated for Autonomous Databases, in TBs.
-
#available_autonomous_data_storage_size_in_tbs ⇒ Float
The data disk group size available for Autonomous Databases, in TBs.
-
#available_container_databases ⇒ Integer
The number of Autonomous Container Databases that can be created with the currently available local storage.
-
#available_cpus ⇒ Integer
The numnber of CPU cores available.
-
#available_data_storage_size_in_tbs ⇒ Float
Deprecated. Use
availableAutonomousDataStorageSizeInTBs
for Autonomous Databases' data storage availability in TBs. -
#compartment_id ⇒ String
[Required] The OCID of the compartment.
-
#compute_model ⇒ String
The compute model of the Autonomous VM Cluster.
-
#cpu_core_count_per_node ⇒ Integer
The number of CPU cores enabled per VM cluster node.
-
#cpu_percentage ⇒ Float
The percentage of total number of CPUs used in an Autonomous VM Cluster.
-
#cpus_enabled ⇒ Integer
The number of enabled CPU cores.
-
#cpus_lowest_scaled_value ⇒ Integer
The lowest value to which cpus can be scaled down.
-
#data_storage_size_in_gbs ⇒ Float
The total data storage allocated in GBs.
-
#data_storage_size_in_tbs ⇒ Float
The total data storage allocated in TBs.
-
#db_node_storage_size_in_gbs ⇒ Integer
The local node storage allocated in GBs.
-
#db_servers ⇒ Array<String>
The list of OCIDs of the Db servers.
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Defined tags for this resource.
-
#display_name ⇒ String
[Required] The user-friendly name for the Autonomous VM cluster.
-
#exadata_infrastructure_id ⇒ String
[Required] The OCID of the Exadata infrastructure.
-
#exadata_storage_in_tbs_lowest_scaled_value ⇒ Float
The lowest value to which exadataStorage(in TBs) can be scaled down.
-
#freeform_tags ⇒ Hash<String, String>
Free-form tags for this resource.
-
#id ⇒ String
[Required] The OCID of the Autonomous VM cluster.
-
#is_local_backup_enabled ⇒ BOOLEAN
If true, database backup on local Exadata storage is configured for the Autonomous VM cluster.
-
#is_mtls_enabled ⇒ BOOLEAN
Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster.
-
#last_maintenance_run_id ⇒ String
The OCID of the last maintenance run.
-
#license_model ⇒ String
The Oracle license model that applies to the Autonomous VM cluster.
-
#lifecycle_details ⇒ String
Additional information about the current lifecycle state.
-
#lifecycle_state ⇒ String
[Required] The current state of the Autonomous VM cluster.
- #maintenance_window ⇒ OCI::Database::Models::MaintenanceWindow
-
#max_acds_lowest_scaled_value ⇒ Integer
The lowest value to which maximum number of ACDs can be scaled down.
-
#memory_per_oracle_compute_unit_in_gbs ⇒ Integer
The amount of memory (in GBs) to be enabled per OCPU or ECPU.
-
#memory_size_in_gbs ⇒ Integer
The memory allocated in GBs.
-
#next_maintenance_run_id ⇒ String
The OCID of the next maintenance run.
-
#node_count ⇒ Integer
The number of nodes in the Autonomous VM Cluster.
-
#non_provisionable_autonomous_container_databases ⇒ Integer
The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.
-
#ocpus_enabled ⇒ Float
The number of enabled OCPU cores.
-
#provisionable_autonomous_container_databases ⇒ Integer
Deprecated. Use field totalContainerDatabases.
-
#provisioned_autonomous_container_databases ⇒ Integer
The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
-
#provisioned_cpus ⇒ Float
The number of CPUs provisioned in an Autonomous VM Cluster.
-
#reclaimable_cpus ⇒ Integer
CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down.
-
#reserved_cpus ⇒ Float
The number of CPUs reserved in an Autonomous VM Cluster.
-
#scan_listener_port_non_tls ⇒ Integer
The SCAN Listener Non TLS port number.
-
#scan_listener_port_tls ⇒ Integer
The SCAN Listener TLS port number.
-
#time_created ⇒ DateTime
The date and time that the Autonomous VM cluster was created.
-
#time_database_ssl_certificate_expires ⇒ DateTime
The date and time of the Database SSL certificate expiration.
-
#time_ords_certificate_expires ⇒ DateTime
The date and time of the ORDS certificate expiration.
-
#time_zone ⇒ String
The time zone to use for the Autonomous VM cluster.
-
#total_autonomous_data_storage_in_tbs ⇒ Float
The total data disk group size for Autonomous Databases, in TBs.
-
#total_container_databases ⇒ Integer
The total number of Autonomous Container Databases that can be created.
-
#vm_cluster_network_id ⇒ String
[Required] The OCID of the VM cluster network.
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 = {}) ⇒ AutonomousVmClusterSummary
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 = {}) ⇒ AutonomousVmClusterSummary
Initializes the object
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 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 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 421 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.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.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState'] raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state') self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state'] self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails'] raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details') self.lifecycle_details = attributes[:'lifecycle_details'] if attributes[:'lifecycle_details'] self.time_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.exadata_infrastructure_id = attributes[:'exadataInfrastructureId'] if attributes[:'exadataInfrastructureId'] raise 'You cannot provide both :exadataInfrastructureId and :exadata_infrastructure_id' if attributes.key?(:'exadataInfrastructureId') && attributes.key?(:'exadata_infrastructure_id') self.exadata_infrastructure_id = attributes[:'exadata_infrastructure_id'] if attributes[:'exadata_infrastructure_id'] self.vm_cluster_network_id = attributes[:'vmClusterNetworkId'] if attributes[:'vmClusterNetworkId'] raise 'You cannot provide both :vmClusterNetworkId and :vm_cluster_network_id' if attributes.key?(:'vmClusterNetworkId') && attributes.key?(:'vm_cluster_network_id') self.vm_cluster_network_id = attributes[:'vm_cluster_network_id'] if attributes[:'vm_cluster_network_id'] self.is_local_backup_enabled = attributes[:'isLocalBackupEnabled'] unless attributes[:'isLocalBackupEnabled'].nil? raise 'You cannot provide both :isLocalBackupEnabled and :is_local_backup_enabled' if attributes.key?(:'isLocalBackupEnabled') && attributes.key?(:'is_local_backup_enabled') self.is_local_backup_enabled = attributes[:'is_local_backup_enabled'] unless attributes[:'is_local_backup_enabled'].nil? 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.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.ocpus_enabled = attributes[:'ocpusEnabled'] if attributes[:'ocpusEnabled'] raise 'You cannot provide both :ocpusEnabled and :ocpus_enabled' if attributes.key?(:'ocpusEnabled') && attributes.key?(:'ocpus_enabled') self.ocpus_enabled = attributes[:'ocpus_enabled'] if attributes[:'ocpus_enabled'] self.available_cpus = attributes[:'availableCpus'] if attributes[:'availableCpus'] raise 'You cannot provide both :availableCpus and :available_cpus' if attributes.key?(:'availableCpus') && attributes.key?(:'available_cpus') self.available_cpus = attributes[:'available_cpus'] if attributes[:'available_cpus'] self.total_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.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.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.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.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.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.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_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.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.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.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.available_data_storage_size_in_tbs = attributes[:'availableDataStorageSizeInTBs'] if attributes[:'availableDataStorageSizeInTBs'] raise 'You cannot provide both :availableDataStorageSizeInTBs and :available_data_storage_size_in_tbs' if attributes.key?(:'availableDataStorageSizeInTBs') && attributes.key?(:'available_data_storage_size_in_tbs') self.available_data_storage_size_in_tbs = attributes[:'available_data_storage_size_in_tbs'] if attributes[:'available_data_storage_size_in_tbs'] 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.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. = 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.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.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.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.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.is_mtls_enabled = attributes[:'isMtlsEnabled'] unless attributes[:'isMtlsEnabled'].nil? self.is_mtls_enabled = false if is_mtls_enabled.nil? && !attributes.key?(:'isMtlsEnabled') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :isMtlsEnabled and :is_mtls_enabled' if attributes.key?(:'isMtlsEnabled') && attributes.key?(:'is_mtls_enabled') self.is_mtls_enabled = attributes[:'is_mtls_enabled'] unless attributes[:'is_mtls_enabled'].nil? self.is_mtls_enabled = false if is_mtls_enabled.nil? && !attributes.key?(:'isMtlsEnabled') && !attributes.key?(:'is_mtls_enabled') # rubocop:disable Style/StringLiterals 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.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.cpus_lowest_scaled_value = attributes[:'cpusLowestScaledValue'] if attributes[:'cpusLowestScaledValue'] raise 'You cannot provide both :cpusLowestScaledValue and :cpus_lowest_scaled_value' if attributes.key?(:'cpusLowestScaledValue') && attributes.key?(:'cpus_lowest_scaled_value') self.cpus_lowest_scaled_value = attributes[:'cpus_lowest_scaled_value'] if attributes[:'cpus_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'] end |
Instance Attribute Details
#autonomous_data_storage_percentage ⇒ Float
The percentage of the data storage used for the Autonomous Databases in an Autonomous VM Cluster.
128 129 130 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 128 def autonomous_data_storage_percentage @autonomous_data_storage_percentage end |
#autonomous_data_storage_size_in_tbs ⇒ Float
The data disk group size allocated for Autonomous Databases, in TBs.
109 110 111 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 109 def autonomous_data_storage_size_in_tbs @autonomous_data_storage_size_in_tbs end |
#available_autonomous_data_storage_size_in_tbs ⇒ Float
The data disk group size available for Autonomous Databases, in TBs.
215 216 217 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 215 def available_autonomous_data_storage_size_in_tbs @available_autonomous_data_storage_size_in_tbs end |
#available_container_databases ⇒ Integer
The number of Autonomous Container Databases that can be created with the currently available local storage.
211 212 213 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 211 def available_container_databases @available_container_databases end |
#available_cpus ⇒ Integer
The numnber of CPU cores available.
92 93 94 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 92 def available_cpus @available_cpus end |
#available_data_storage_size_in_tbs ⇒ Float
Deprecated. Use availableAutonomousDataStorageSizeInTBs
for Autonomous Databases' data storage availability in TBs.
174 175 176 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 174 def available_data_storage_size_in_tbs @available_data_storage_size_in_tbs end |
#compartment_id ⇒ String
[Required] The OCID of the compartment.
42 43 44 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 42 def compartment_id @compartment_id end |
#compute_model ⇒ String
The compute model of the Autonomous VM Cluster. ECPU compute model is the recommended model and OCPU compute model is legacy. See Compute Models in Autonomous Database on Dedicated Exadata #Infrastructure for more details.
84 85 86 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 84 def compute_model @compute_model end |
#cpu_core_count_per_node ⇒ Integer
The number of CPU cores enabled per VM cluster node.
105 106 107 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 105 def cpu_core_count_per_node @cpu_core_count_per_node end |
#cpu_percentage ⇒ Float
The percentage of total number of CPUs used in an Autonomous VM Cluster.
124 125 126 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 124 def cpu_percentage @cpu_percentage end |
#cpus_enabled ⇒ Integer
The number of enabled CPU cores.
79 80 81 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 79 def cpus_enabled @cpus_enabled end |
#cpus_lowest_scaled_value ⇒ Integer
The lowest value to which cpus can be scaled down.
243 244 245 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 243 def cpus_lowest_scaled_value @cpus_lowest_scaled_value end |
#data_storage_size_in_gbs ⇒ Float
The total data storage allocated in GBs.
169 170 171 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 169 def data_storage_size_in_gbs @data_storage_size_in_gbs end |
#data_storage_size_in_tbs ⇒ Float
The total data storage allocated in TBs
165 166 167 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 165 def data_storage_size_in_tbs @data_storage_size_in_tbs end |
#db_node_storage_size_in_gbs ⇒ Integer
The local node storage allocated in GBs.
161 162 163 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 161 def db_node_storage_size_in_gbs @db_node_storage_size_in_gbs end |
#db_servers ⇒ Array<String>
The list of OCIDs of the Db servers.
202 203 204 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 202 def db_servers @db_servers 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.
198 199 200 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 198 def @defined_tags end |
#display_name ⇒ String
[Required] The user-friendly name for the Autonomous VM cluster. The name does not need to be unique.
46 47 48 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 46 def display_name @display_name end |
#exadata_infrastructure_id ⇒ String
[Required] The OCID of the Exadata infrastructure.
66 67 68 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 66 def exadata_infrastructure_id @exadata_infrastructure_id end |
#exadata_storage_in_tbs_lowest_scaled_value ⇒ Float
The lowest value to which exadataStorage(in TBs) can be scaled down.
239 240 241 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 239 def exadata_storage_in_tbs_lowest_scaled_value @exadata_storage_in_tbs_lowest_scaled_value 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\"}
192 193 194 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 192 def @freeform_tags end |
#id ⇒ String
[Required] The OCID of the Autonomous VM cluster.
38 39 40 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 38 def id @id end |
#is_local_backup_enabled ⇒ BOOLEAN
If true, database backup on local Exadata storage is configured for the Autonomous VM cluster. If false, database backup on local Exadata storage is not available in the Autonomous VM cluster.
75 76 77 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 75 def is_local_backup_enabled @is_local_backup_enabled end |
#is_mtls_enabled ⇒ BOOLEAN
Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster. Default is TLS.
227 228 229 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 227 def is_mtls_enabled @is_mtls_enabled end |
#last_maintenance_run_id ⇒ String
The OCID of the last maintenance run.
116 117 118 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 116 def last_maintenance_run_id @last_maintenance_run_id end |
#license_model ⇒ String
The Oracle license model that applies to the Autonomous VM cluster. The default is LICENSE_INCLUDED.
184 185 186 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 184 def license_model @license_model end |
#lifecycle_details ⇒ String
Additional information about the current lifecycle state.
58 59 60 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 58 def lifecycle_details @lifecycle_details end |
#lifecycle_state ⇒ String
[Required] The current state of the Autonomous VM cluster.
54 55 56 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 54 def lifecycle_state @lifecycle_state end |
#maintenance_window ⇒ OCI::Database::Models::MaintenanceWindow
112 113 114 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 112 def maintenance_window @maintenance_window end |
#max_acds_lowest_scaled_value ⇒ Integer
The lowest value to which maximum number of ACDs can be scaled down.
247 248 249 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 247 def max_acds_lowest_scaled_value @max_acds_lowest_scaled_value end |
#memory_per_oracle_compute_unit_in_gbs ⇒ Integer
The amount of memory (in GBs) to be enabled per OCPU or ECPU.
101 102 103 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 101 def memory_per_oracle_compute_unit_in_gbs @memory_per_oracle_compute_unit_in_gbs end |
#memory_size_in_gbs ⇒ Integer
The memory allocated in GBs.
157 158 159 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 157 def memory_size_in_gbs @memory_size_in_gbs end |
#next_maintenance_run_id ⇒ String
The OCID of the next maintenance run.
120 121 122 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 120 def next_maintenance_run_id @next_maintenance_run_id end |
#node_count ⇒ Integer
The number of nodes in the Autonomous VM Cluster.
179 180 181 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 179 def node_count @node_count end |
#non_provisionable_autonomous_container_databases ⇒ Integer
The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.
153 154 155 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 153 def non_provisionable_autonomous_container_databases @non_provisionable_autonomous_container_databases end |
#ocpus_enabled ⇒ Float
The number of enabled OCPU cores.
88 89 90 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 88 def ocpus_enabled @ocpus_enabled end |
#provisionable_autonomous_container_databases ⇒ Integer
Deprecated. Use field totalContainerDatabases.
145 146 147 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 145 def provisionable_autonomous_container_databases @provisionable_autonomous_container_databases end |
#provisioned_autonomous_container_databases ⇒ Integer
The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
149 150 151 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 149 def provisioned_autonomous_container_databases @provisioned_autonomous_container_databases end |
#provisioned_cpus ⇒ Float
The number of CPUs provisioned in an Autonomous VM Cluster.
132 133 134 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 132 def provisioned_cpus @provisioned_cpus end |
#reclaimable_cpus ⇒ Integer
CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous 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.
207 208 209 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 207 def reclaimable_cpus @reclaimable_cpus end |
#reserved_cpus ⇒ Float
The number of CPUs reserved in an Autonomous VM Cluster.
140 141 142 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 140 def reserved_cpus @reserved_cpus end |
#scan_listener_port_non_tls ⇒ Integer
The SCAN Listener Non TLS port number. Default value is 1521.
223 224 225 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 223 def scan_listener_port_non_tls @scan_listener_port_non_tls end |
#scan_listener_port_tls ⇒ Integer
The SCAN Listener TLS port number. Default value is 2484.
219 220 221 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 219 def scan_listener_port_tls @scan_listener_port_tls end |
#time_created ⇒ DateTime
The date and time that the Autonomous VM cluster was created.
50 51 52 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 50 def time_created @time_created end |
#time_database_ssl_certificate_expires ⇒ DateTime
The date and time of the Database SSL certificate expiration.
231 232 233 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 231 def time_database_ssl_certificate_expires @time_database_ssl_certificate_expires end |
#time_ords_certificate_expires ⇒ DateTime
The date and time of the ORDS certificate expiration.
235 236 237 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 235 def time_ords_certificate_expires @time_ords_certificate_expires end |
#time_zone ⇒ String
The time zone to use for the Autonomous VM cluster. For details, see DB System Time Zones.
62 63 64 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 62 def time_zone @time_zone end |
#total_autonomous_data_storage_in_tbs ⇒ Float
The total data disk group size for Autonomous Databases, in TBs.
136 137 138 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 136 def total_autonomous_data_storage_in_tbs @total_autonomous_data_storage_in_tbs end |
#total_container_databases ⇒ Integer
The total number of Autonomous Container Databases that can be created.
96 97 98 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 96 def total_container_databases @total_container_databases end |
#vm_cluster_network_id ⇒ String
[Required] The OCID of the VM cluster network.
70 71 72 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 70 def vm_cluster_network_id @vm_cluster_network_id end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 250 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'compartment_id': :'compartmentId', 'display_name': :'displayName', 'time_created': :'timeCreated', 'lifecycle_state': :'lifecycleState', 'lifecycle_details': :'lifecycleDetails', 'time_zone': :'timeZone', 'exadata_infrastructure_id': :'exadataInfrastructureId', 'vm_cluster_network_id': :'vmClusterNetworkId', 'is_local_backup_enabled': :'isLocalBackupEnabled', 'cpus_enabled': :'cpusEnabled', 'compute_model': :'computeModel', 'ocpus_enabled': :'ocpusEnabled', 'available_cpus': :'availableCpus', 'total_container_databases': :'totalContainerDatabases', 'memory_per_oracle_compute_unit_in_gbs': :'memoryPerOracleComputeUnitInGBs', 'cpu_core_count_per_node': :'cpuCoreCountPerNode', 'autonomous_data_storage_size_in_tbs': :'autonomousDataStorageSizeInTBs', 'maintenance_window': :'maintenanceWindow', 'last_maintenance_run_id': :'lastMaintenanceRunId', 'next_maintenance_run_id': :'nextMaintenanceRunId', 'cpu_percentage': :'cpuPercentage', 'autonomous_data_storage_percentage': :'autonomousDataStoragePercentage', 'provisioned_cpus': :'provisionedCpus', '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', 'memory_size_in_gbs': :'memorySizeInGBs', 'db_node_storage_size_in_gbs': :'dbNodeStorageSizeInGBs', 'data_storage_size_in_tbs': :'dataStorageSizeInTBs', 'data_storage_size_in_gbs': :'dataStorageSizeInGBs', 'available_data_storage_size_in_tbs': :'availableDataStorageSizeInTBs', 'node_count': :'nodeCount', 'license_model': :'licenseModel', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags', 'db_servers': :'dbServers', 'reclaimable_cpus': :'reclaimableCpus', 'available_container_databases': :'availableContainerDatabases', 'available_autonomous_data_storage_size_in_tbs': :'availableAutonomousDataStorageSizeInTBs', 'scan_listener_port_tls': :'scanListenerPortTls', 'scan_listener_port_non_tls': :'scanListenerPortNonTls', 'is_mtls_enabled': :'isMtlsEnabled', 'time_database_ssl_certificate_expires': :'timeDatabaseSslCertificateExpires', 'time_ords_certificate_expires': :'timeOrdsCertificateExpires', 'exadata_storage_in_tbs_lowest_scaled_value': :'exadataStorageInTBsLowestScaledValue', 'cpus_lowest_scaled_value': :'cpusLowestScaledValue', 'max_acds_lowest_scaled_value': :'maxAcdsLowestScaledValue' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
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 351 352 353 354 355 356 357 358 359 360 361 362 363 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 308 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'compartment_id': :'String', 'display_name': :'String', 'time_created': :'DateTime', 'lifecycle_state': :'String', 'lifecycle_details': :'String', 'time_zone': :'String', 'exadata_infrastructure_id': :'String', 'vm_cluster_network_id': :'String', 'is_local_backup_enabled': :'BOOLEAN', 'cpus_enabled': :'Integer', 'compute_model': :'String', 'ocpus_enabled': :'Float', 'available_cpus': :'Integer', 'total_container_databases': :'Integer', 'memory_per_oracle_compute_unit_in_gbs': :'Integer', 'cpu_core_count_per_node': :'Integer', 'autonomous_data_storage_size_in_tbs': :'Float', 'maintenance_window': :'OCI::Database::Models::MaintenanceWindow', 'last_maintenance_run_id': :'String', 'next_maintenance_run_id': :'String', 'cpu_percentage': :'Float', 'autonomous_data_storage_percentage': :'Float', 'provisioned_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', 'memory_size_in_gbs': :'Integer', 'db_node_storage_size_in_gbs': :'Integer', 'data_storage_size_in_tbs': :'Float', 'data_storage_size_in_gbs': :'Float', 'available_data_storage_size_in_tbs': :'Float', 'node_count': :'Integer', 'license_model': :'String', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>', 'db_servers': :'Array<String>', 'reclaimable_cpus': :'Integer', 'available_container_databases': :'Integer', 'available_autonomous_data_storage_size_in_tbs': :'Float', 'scan_listener_port_tls': :'Integer', 'scan_listener_port_non_tls': :'Integer', 'is_mtls_enabled': :'BOOLEAN', 'time_database_ssl_certificate_expires': :'DateTime', 'time_ords_certificate_expires': :'DateTime', 'exadata_storage_in_tbs_lowest_scaled_value': :'Float', 'cpus_lowest_scaled_value': :'Integer', 'max_acds_lowest_scaled_value': :'Integer' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
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 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 772 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && compartment_id == other.compartment_id && display_name == other.display_name && time_created == other.time_created && lifecycle_state == other.lifecycle_state && lifecycle_details == other.lifecycle_details && time_zone == other.time_zone && exadata_infrastructure_id == other.exadata_infrastructure_id && vm_cluster_network_id == other.vm_cluster_network_id && is_local_backup_enabled == other.is_local_backup_enabled && cpus_enabled == other.cpus_enabled && compute_model == other.compute_model && ocpus_enabled == other.ocpus_enabled && available_cpus == other.available_cpus && total_container_databases == other.total_container_databases && memory_per_oracle_compute_unit_in_gbs == other.memory_per_oracle_compute_unit_in_gbs && cpu_core_count_per_node == other.cpu_core_count_per_node && autonomous_data_storage_size_in_tbs == other.autonomous_data_storage_size_in_tbs && maintenance_window == other.maintenance_window && last_maintenance_run_id == other.last_maintenance_run_id && next_maintenance_run_id == other.next_maintenance_run_id && cpu_percentage == other.cpu_percentage && autonomous_data_storage_percentage == other.autonomous_data_storage_percentage && provisioned_cpus == other.provisioned_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 && memory_size_in_gbs == other.memory_size_in_gbs && db_node_storage_size_in_gbs == other.db_node_storage_size_in_gbs && data_storage_size_in_tbs == other.data_storage_size_in_tbs && data_storage_size_in_gbs == other.data_storage_size_in_gbs && available_data_storage_size_in_tbs == other.available_data_storage_size_in_tbs && node_count == other.node_count && license_model == other.license_model && == other. && == other. && db_servers == other.db_servers && reclaimable_cpus == other.reclaimable_cpus && available_container_databases == other.available_container_databases && available_autonomous_data_storage_size_in_tbs == other.available_autonomous_data_storage_size_in_tbs && scan_listener_port_tls == other.scan_listener_port_tls && scan_listener_port_non_tls == other.scan_listener_port_non_tls && is_mtls_enabled == other.is_mtls_enabled && time_database_ssl_certificate_expires == other.time_database_ssl_certificate_expires && time_ords_certificate_expires == other.time_ords_certificate_expires && exadata_storage_in_tbs_lowest_scaled_value == other.exadata_storage_in_tbs_lowest_scaled_value && cpus_lowest_scaled_value == other.cpus_lowest_scaled_value && max_acds_lowest_scaled_value == other.max_acds_lowest_scaled_value end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 851 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
831 832 833 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 831 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
840 841 842 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 840 def hash [id, compartment_id, display_name, time_created, lifecycle_state, lifecycle_details, time_zone, exadata_infrastructure_id, vm_cluster_network_id, is_local_backup_enabled, cpus_enabled, compute_model, ocpus_enabled, available_cpus, total_container_databases, memory_per_oracle_compute_unit_in_gbs, cpu_core_count_per_node, autonomous_data_storage_size_in_tbs, maintenance_window, last_maintenance_run_id, next_maintenance_run_id, cpu_percentage, autonomous_data_storage_percentage, provisioned_cpus, total_autonomous_data_storage_in_tbs, reserved_cpus, provisionable_autonomous_container_databases, provisioned_autonomous_container_databases, non_provisionable_autonomous_container_databases, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, data_storage_size_in_gbs, available_data_storage_size_in_tbs, node_count, license_model, , , db_servers, reclaimable_cpus, available_container_databases, available_autonomous_data_storage_size_in_tbs, scan_listener_port_tls, scan_listener_port_non_tls, is_mtls_enabled, time_database_ssl_certificate_expires, time_ords_certificate_expires, exadata_storage_in_tbs_lowest_scaled_value, cpus_lowest_scaled_value, max_acds_lowest_scaled_value].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
884 885 886 887 888 889 890 891 892 893 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 884 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
878 879 880 |
# File 'lib/oci/database/models/autonomous_vm_cluster_summary.rb', line 878 def to_s to_hash.to_s end |