Class: OCI::Datacc::Models::InfrastructureSummary
- Inherits:
-
Object
- Object
- OCI::Datacc::Models::InfrastructureSummary
- Defined in:
- lib/oci/datacc/models/infrastructure_summary.rb
Overview
Database Infrastructure resource summary.
Constant Summary collapse
- SYSTEM_MODEL_ENUM =
[ SYSTEM_MODEL_X11_HA_768 = 'X11_HA_768'.freeze, SYSTEM_MODEL_X10_HA_512 = 'X10_HA_512'.freeze, SYSTEM_MODEL_X8_HA_384 = 'X8_HA_384'.freeze, SYSTEM_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- SHAPE_ENUM =
[ SHAPE_SIX_SSDS = 'SIX_SSDS'.freeze, SHAPE_TWELVE_SSDS = 'TWELVE_SSDS'.freeze, SHAPE_EIGHTEEN_SSDS = 'EIGHTEEN_SSDS'.freeze, SHAPE_TWENTY_FOUR_SSDS = 'TWENTY_FOUR_SSDS'.freeze, SHAPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- CLIENT_NETWORK_BONDING_MODE_ENUM =
[ CLIENT_NETWORK_BONDING_MODE_ACTIVE_BACKUP = 'ACTIVE_BACKUP'.freeze, CLIENT_NETWORK_BONDING_MODE_LACP = 'LACP'.freeze, CLIENT_NETWORK_BONDING_MODE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- BACKUP_NETWORK_BONDING_MODE_ENUM =
[ BACKUP_NETWORK_BONDING_MODE_ACTIVE_BACKUP = 'ACTIVE_BACKUP'.freeze, BACKUP_NETWORK_BONDING_MODE_LACP = 'LACP'.freeze, BACKUP_NETWORK_BONDING_MODE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- CPS_NETWORK_BONDING_MODE_ENUM =
[ CPS_NETWORK_BONDING_MODE_ACTIVE_BACKUP = 'ACTIVE_BACKUP'.freeze, CPS_NETWORK_BONDING_MODE_LACP = 'LACP'.freeze, CPS_NETWORK_BONDING_MODE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- CLIENT_NETWORK_BONDING_INTERFACE_ENUM =
[ CLIENT_NETWORK_BONDING_INTERFACE_BTBOND1 = 'BTBOND1'.freeze, CLIENT_NETWORK_BONDING_INTERFACE_BTBOND2 = 'BTBOND2'.freeze, CLIENT_NETWORK_BONDING_INTERFACE_BTBOND3 = 'BTBOND3'.freeze, CLIENT_NETWORK_BONDING_INTERFACE_BTBOND4 = 'BTBOND4'.freeze, CLIENT_NETWORK_BONDING_INTERFACE_BTBOND5 = 'BTBOND5'.freeze, CLIENT_NETWORK_BONDING_INTERFACE_BTBOND6 = 'BTBOND6'.freeze, CLIENT_NETWORK_BONDING_INTERFACE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- BACKUP_NETWORK_BONDING_INTERFACE_ENUM =
[ BACKUP_NETWORK_BONDING_INTERFACE_BTBOND1 = 'BTBOND1'.freeze, BACKUP_NETWORK_BONDING_INTERFACE_BTBOND2 = 'BTBOND2'.freeze, BACKUP_NETWORK_BONDING_INTERFACE_BTBOND3 = 'BTBOND3'.freeze, BACKUP_NETWORK_BONDING_INTERFACE_BTBOND4 = 'BTBOND4'.freeze, BACKUP_NETWORK_BONDING_INTERFACE_BTBOND5 = 'BTBOND5'.freeze, BACKUP_NETWORK_BONDING_INTERFACE_BTBOND6 = 'BTBOND6'.freeze, BACKUP_NETWORK_BONDING_INTERFACE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- CPS_NETWORK_BONDING_INTERFACE_ENUM =
[ CPS_NETWORK_BONDING_INTERFACE_BTBOND1 = 'BTBOND1'.freeze, CPS_NETWORK_BONDING_INTERFACE_BTBOND2 = 'BTBOND2'.freeze, CPS_NETWORK_BONDING_INTERFACE_BTBOND3 = 'BTBOND3'.freeze, CPS_NETWORK_BONDING_INTERFACE_BTBOND4 = 'BTBOND4'.freeze, CPS_NETWORK_BONDING_INTERFACE_BTBOND5 = 'BTBOND5'.freeze, CPS_NETWORK_BONDING_INTERFACE_BTBOND6 = 'BTBOND6'.freeze, CPS_NETWORK_BONDING_INTERFACE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LIFECYCLE_STATE_ENUM =
[ LIFECYCLE_STATE_CREATING = 'CREATING'.freeze, LIFECYCLE_STATE_REQUIRES_VALIDATION = 'REQUIRES_VALIDATION'.freeze, LIFECYCLE_STATE_VALIDATING = 'VALIDATING'.freeze, LIFECYCLE_STATE_VALIDATION_FAILED = 'VALIDATION_FAILED'.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_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- SSD_CONFIGURATION_REQUESTED_ENUM =
[ SSD_CONFIGURATION_REQUESTED_SIX_SSDS = 'SIX_SSDS'.freeze, SSD_CONFIGURATION_REQUESTED_TWELVE_SSDS = 'TWELVE_SSDS'.freeze, SSD_CONFIGURATION_REQUESTED_EIGHTEEN_SSDS = 'EIGHTEEN_SSDS'.freeze, SSD_CONFIGURATION_REQUESTED_TWENTY_FOUR_SSDS = 'TWENTY_FOUR_SSDS'.freeze, SSD_CONFIGURATION_REQUESTED_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#acfs_file_system_storage_in_gbs ⇒ Float
The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.
-
#acfs_file_system_used_storage_in_gbs ⇒ Float
The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs.
-
#admin_networkcidr ⇒ String
[Required] The CIDR block for the system network.
-
#backup_network_bonding_interface ⇒ String
The network bonding interface for backup network for the Database Infrastructure.
-
#backup_network_bonding_mode ⇒ String
The network bonding mode for Backup networks for the Database Infrastructure.
-
#client_network_bonding_interface ⇒ String
The network bonding interface for client network for the Database Infrastructure.
-
#client_network_bonding_mode ⇒ String
The network bonding mode for Client networks for the Database Infrastructure.
-
#cloud_control_plane_server1 ⇒ String
[Required] The IP address for the first control plane server.
-
#cloud_control_plane_server2 ⇒ String
[Required] The IP address for the second control plane server.
-
#compartment_id ⇒ String
[Required] The OCID of the compartment.
- #compute_capacity ⇒ OCI::Datacc::Models::ComputeCapacityDetails
-
#contacts ⇒ Array<OCI::Datacc::Models::InfrastructureContact>
The list of contacts for the Database Infrastructure.
-
#corporate_proxy ⇒ String
The corporate network proxy for access to the control plane network.
-
#cps_network_bonding_interface ⇒ String
The network bonding interface for CPS network for the Database Infrastructure.
-
#cps_network_bonding_mode ⇒ String
The network bonding mode for CPS networks for the Database Infrastructure.
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Defined tags for this resource.
-
#description ⇒ String
Database Infrastructure description.
-
#display_name ⇒ String
[Required] The user-friendly name for the Database Infrastructure.
-
#dns_servers ⇒ Array<String>
[Required] The list of DNS server IP addresses.
-
#freeform_tags ⇒ Hash<String, String>
Simple key-value pair that is applied without any predefined name, type or scope.
-
#gateway ⇒ String
[Required] The gateway for the control plane network.
-
#id ⇒ String
[Required] The OCID of the Database Infrastructure.
-
#lifecycle_state ⇒ String
The current state of the Database Infrastructure.
-
#lifecycle_state_details ⇒ String
Lifecycle state details of the Database Infrastructure.
- #maintenance_window ⇒ OCI::Datacc::Models::MaintenanceWindow
-
#netmask ⇒ String
[Required] The netmask for the control plane network.
-
#ntp_servers ⇒ Array<String>
[Required] The list of NTP server IP addresses.
-
#shape ⇒ String
[Required] The shape of the Database Infrastructure.
-
#ssd_configuration_requested ⇒ String
SSD configuration requested for the infrastructure.
-
#storage_capacity ⇒ Array<OCI::Datacc::Models::StorageCapacityDetails>
Capacity details of the Storage disk group.
-
#subscription_plan_number ⇒ String
The unique identifier for the subscription plan number.
-
#system_model ⇒ String
[Required] Database Infrastructure System Model specification.
- #system_storage_capacity ⇒ OCI::Datacc::Models::SystemStorageCapacityDetails
-
#system_tags ⇒ Hash<String, Hash<String, Object>>
Usage of system tag keys.
-
#time_activated ⇒ DateTime
The time, in RFC3339 format, when the Database Infrastructure was activated.
-
#time_created ⇒ DateTime
The time that the Database Infrastructure cluster was created.
-
#time_last_state_updated ⇒ DateTime
The time, in RFC3339 format, when the lifecycle state was last updated.
-
#time_updated ⇒ DateTime
The time that the Database Infrastructure was last updated.
-
#time_validated ⇒ DateTime
The time, in RFC3339 format, when the Database Infrastructure network was validated.
-
#version ⇒ String
The version of the system software on the Database 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 = {}) ⇒ InfrastructureSummary
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 = {}) ⇒ InfrastructureSummary
Initializes the object
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 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 426 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.description = attributes[:'description'] if attributes[:'description'] 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.system_model = attributes[:'systemModel'] if attributes[:'systemModel'] raise 'You cannot provide both :systemModel and :system_model' if attributes.key?(:'systemModel') && attributes.key?(:'system_model') self.system_model = attributes[:'system_model'] if attributes[:'system_model'] self.version = attributes[:'version'] if attributes[:'version'] self.shape = attributes[:'shape'] if attributes[:'shape'] 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_networkcidr = attributes[:'adminNetworkcidr'] if attributes[:'adminNetworkcidr'] raise 'You cannot provide both :adminNetworkcidr and :admin_networkcidr' if attributes.key?(:'adminNetworkcidr') && attributes.key?(:'admin_networkcidr') self.admin_networkcidr = attributes[:'admin_networkcidr'] if attributes[:'admin_networkcidr'] self.contacts = attributes[:'contacts'] if attributes[:'contacts'] self.dns_servers = attributes[:'dnsServers'] if attributes[:'dnsServers'] raise 'You cannot provide both :dnsServers and :dns_servers' if attributes.key?(:'dnsServers') && attributes.key?(:'dns_servers') self.dns_servers = attributes[:'dns_servers'] if attributes[:'dns_servers'] self.ntp_servers = attributes[:'ntpServers'] if attributes[:'ntpServers'] raise 'You cannot provide both :ntpServers and :ntp_servers' if attributes.key?(:'ntpServers') && attributes.key?(:'ntp_servers') self.ntp_servers = attributes[:'ntp_servers'] if attributes[:'ntp_servers'] self.client_network_bonding_mode = attributes[:'clientNetworkBondingMode'] if attributes[:'clientNetworkBondingMode'] raise 'You cannot provide both :clientNetworkBondingMode and :client_network_bonding_mode' if attributes.key?(:'clientNetworkBondingMode') && attributes.key?(:'client_network_bonding_mode') self.client_network_bonding_mode = attributes[:'client_network_bonding_mode'] if attributes[:'client_network_bonding_mode'] self.backup_network_bonding_mode = attributes[:'backupNetworkBondingMode'] if attributes[:'backupNetworkBondingMode'] raise 'You cannot provide both :backupNetworkBondingMode and :backup_network_bonding_mode' if attributes.key?(:'backupNetworkBondingMode') && attributes.key?(:'backup_network_bonding_mode') self.backup_network_bonding_mode = attributes[:'backup_network_bonding_mode'] if attributes[:'backup_network_bonding_mode'] self.cps_network_bonding_mode = attributes[:'cpsNetworkBondingMode'] if attributes[:'cpsNetworkBondingMode'] raise 'You cannot provide both :cpsNetworkBondingMode and :cps_network_bonding_mode' if attributes.key?(:'cpsNetworkBondingMode') && attributes.key?(:'cps_network_bonding_mode') self.cps_network_bonding_mode = attributes[:'cps_network_bonding_mode'] if attributes[:'cps_network_bonding_mode'] self.client_network_bonding_interface = attributes[:'clientNetworkBondingInterface'] if attributes[:'clientNetworkBondingInterface'] raise 'You cannot provide both :clientNetworkBondingInterface and :client_network_bonding_interface' if attributes.key?(:'clientNetworkBondingInterface') && attributes.key?(:'client_network_bonding_interface') self.client_network_bonding_interface = attributes[:'client_network_bonding_interface'] if attributes[:'client_network_bonding_interface'] self.backup_network_bonding_interface = attributes[:'backupNetworkBondingInterface'] if attributes[:'backupNetworkBondingInterface'] raise 'You cannot provide both :backupNetworkBondingInterface and :backup_network_bonding_interface' if attributes.key?(:'backupNetworkBondingInterface') && attributes.key?(:'backup_network_bonding_interface') self.backup_network_bonding_interface = attributes[:'backup_network_bonding_interface'] if attributes[:'backup_network_bonding_interface'] self.cps_network_bonding_interface = attributes[:'cpsNetworkBondingInterface'] if attributes[:'cpsNetworkBondingInterface'] raise 'You cannot provide both :cpsNetworkBondingInterface and :cps_network_bonding_interface' if attributes.key?(:'cpsNetworkBondingInterface') && attributes.key?(:'cps_network_bonding_interface') self.cps_network_bonding_interface = attributes[:'cps_network_bonding_interface'] if attributes[:'cps_network_bonding_interface'] self.acfs_file_system_storage_in_gbs = attributes[:'acfsFileSystemStorageInGbs'] if attributes[:'acfsFileSystemStorageInGbs'] raise 'You cannot provide both :acfsFileSystemStorageInGbs and :acfs_file_system_storage_in_gbs' if attributes.key?(:'acfsFileSystemStorageInGbs') && attributes.key?(:'acfs_file_system_storage_in_gbs') self.acfs_file_system_storage_in_gbs = attributes[:'acfs_file_system_storage_in_gbs'] if attributes[:'acfs_file_system_storage_in_gbs'] self.acfs_file_system_used_storage_in_gbs = attributes[:'acfsFileSystemUsedStorageInGbs'] if attributes[:'acfsFileSystemUsedStorageInGbs'] raise 'You cannot provide both :acfsFileSystemUsedStorageInGbs and :acfs_file_system_used_storage_in_gbs' if attributes.key?(:'acfsFileSystemUsedStorageInGbs') && attributes.key?(:'acfs_file_system_used_storage_in_gbs') self.acfs_file_system_used_storage_in_gbs = attributes[:'acfs_file_system_used_storage_in_gbs'] if attributes[:'acfs_file_system_used_storage_in_gbs'] 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. = 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.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.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated'] raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created') self.time_created = attributes[:'time_created'] if attributes[:'time_created'] self.time_updated = attributes[:'timeUpdated'] if attributes[:'timeUpdated'] raise 'You cannot provide both :timeUpdated and :time_updated' if attributes.key?(:'timeUpdated') && attributes.key?(:'time_updated') self.time_updated = attributes[:'time_updated'] if attributes[:'time_updated'] self.time_last_state_updated = attributes[:'timeLastStateUpdated'] if attributes[:'timeLastStateUpdated'] raise 'You cannot provide both :timeLastStateUpdated and :time_last_state_updated' if attributes.key?(:'timeLastStateUpdated') && attributes.key?(:'time_last_state_updated') self.time_last_state_updated = attributes[:'time_last_state_updated'] if attributes[:'time_last_state_updated'] self.time_activated = attributes[:'timeActivated'] if attributes[:'timeActivated'] raise 'You cannot provide both :timeActivated and :time_activated' if attributes.key?(:'timeActivated') && attributes.key?(:'time_activated') self.time_activated = attributes[:'time_activated'] if attributes[:'time_activated'] self.time_validated = attributes[:'timeValidated'] if attributes[:'timeValidated'] raise 'You cannot provide both :timeValidated and :time_validated' if attributes.key?(:'timeValidated') && attributes.key?(:'time_validated') self.time_validated = attributes[:'time_validated'] if attributes[:'time_validated'] 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_state_details = attributes[:'lifecycleStateDetails'] if attributes[:'lifecycleStateDetails'] raise 'You cannot provide both :lifecycleStateDetails and :lifecycle_state_details' if attributes.key?(:'lifecycleStateDetails') && attributes.key?(:'lifecycle_state_details') self.lifecycle_state_details = attributes[:'lifecycle_state_details'] if attributes[:'lifecycle_state_details'] self.compute_capacity = attributes[:'computeCapacity'] if attributes[:'computeCapacity'] raise 'You cannot provide both :computeCapacity and :compute_capacity' if attributes.key?(:'computeCapacity') && attributes.key?(:'compute_capacity') self.compute_capacity = attributes[:'compute_capacity'] if attributes[:'compute_capacity'] self.storage_capacity = attributes[:'storageCapacity'] if attributes[:'storageCapacity'] raise 'You cannot provide both :storageCapacity and :storage_capacity' if attributes.key?(:'storageCapacity') && attributes.key?(:'storage_capacity') self.storage_capacity = attributes[:'storage_capacity'] if attributes[:'storage_capacity'] self.system_storage_capacity = attributes[:'systemStorageCapacity'] if attributes[:'systemStorageCapacity'] raise 'You cannot provide both :systemStorageCapacity and :system_storage_capacity' if attributes.key?(:'systemStorageCapacity') && attributes.key?(:'system_storage_capacity') self.system_storage_capacity = attributes[:'system_storage_capacity'] if attributes[:'system_storage_capacity'] self.subscription_plan_number = attributes[:'subscriptionPlanNumber'] if attributes[:'subscriptionPlanNumber'] raise 'You cannot provide both :subscriptionPlanNumber and :subscription_plan_number' if attributes.key?(:'subscriptionPlanNumber') && attributes.key?(:'subscription_plan_number') self.subscription_plan_number = attributes[:'subscription_plan_number'] if attributes[:'subscription_plan_number'] self.ssd_configuration_requested = attributes[:'ssdConfigurationRequested'] if attributes[:'ssdConfigurationRequested'] raise 'You cannot provide both :ssdConfigurationRequested and :ssd_configuration_requested' if attributes.key?(:'ssdConfigurationRequested') && attributes.key?(:'ssd_configuration_requested') self.ssd_configuration_requested = attributes[:'ssd_configuration_requested'] if attributes[:'ssd_configuration_requested'] end |
Instance Attribute Details
#acfs_file_system_storage_in_gbs ⇒ Float
The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.
195 196 197 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 195 def acfs_file_system_storage_in_gbs @acfs_file_system_storage_in_gbs end |
#acfs_file_system_used_storage_in_gbs ⇒ Float
The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs. This attribute is deprecated and will be removed in a subsequent release. Please read from systemStorageCapacity instead.
201 202 203 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 201 def acfs_file_system_used_storage_in_gbs @acfs_file_system_used_storage_in_gbs end |
#admin_networkcidr ⇒ String
[Required] The CIDR block for the system network. The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components.
154 155 156 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 154 def admin_networkcidr @admin_networkcidr end |
#backup_network_bonding_interface ⇒ String
The network bonding interface for backup network for the Database Infrastructure.
186 187 188 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 186 def backup_network_bonding_interface @backup_network_bonding_interface end |
#backup_network_bonding_mode ⇒ String
The network bonding mode for Backup networks for the Database Infrastructure.
174 175 176 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 174 def backup_network_bonding_mode @backup_network_bonding_mode end |
#client_network_bonding_interface ⇒ String
The network bonding interface for client network for the Database Infrastructure.
182 183 184 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 182 def client_network_bonding_interface @client_network_bonding_interface end |
#client_network_bonding_mode ⇒ String
The network bonding mode for Client networks for the Database Infrastructure.
170 171 172 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 170 def client_network_bonding_mode @client_network_bonding_mode end |
#cloud_control_plane_server1 ⇒ String
[Required] The IP address for the first control plane server.
138 139 140 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 138 def cloud_control_plane_server1 @cloud_control_plane_server1 end |
#cloud_control_plane_server2 ⇒ String
[Required] The IP address for the second control plane server.
142 143 144 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 142 def cloud_control_plane_server2 @cloud_control_plane_server2 end |
#compartment_id ⇒ String
[Required] The OCID of the compartment.
114 115 116 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 114 def compartment_id @compartment_id end |
#compute_capacity ⇒ OCI::Datacc::Models::ComputeCapacityDetails
264 265 266 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 264 def compute_capacity @compute_capacity end |
#contacts ⇒ Array<OCI::Datacc::Models::InfrastructureContact>
The list of contacts for the Database Infrastructure.
158 159 160 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 158 def contacts @contacts end |
#corporate_proxy ⇒ String
The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible for enhanced security.
207 208 209 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 207 def corporate_proxy @corporate_proxy end |
#cps_network_bonding_interface ⇒ String
The network bonding interface for CPS network for the Database Infrastructure.
190 191 192 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 190 def cps_network_bonding_interface @cps_network_bonding_interface end |
#cps_network_bonding_mode ⇒ String
The network bonding mode for CPS networks for the Database Infrastructure.
178 179 180 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 178 def cps_network_bonding_mode @cps_network_bonding_mode end |
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
219 220 221 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 219 def @defined_tags end |
#description ⇒ String
Database Infrastructure description.
109 110 111 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 109 def description @description end |
#display_name ⇒ String
[Required] The user-friendly name for the Database Infrastructure. The name does not need to be unique.
119 120 121 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 119 def display_name @display_name end |
#dns_servers ⇒ Array<String>
[Required] The list of DNS server IP addresses. Maximum of 3 allowed.
162 163 164 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 162 def dns_servers @dns_servers end |
#freeform_tags ⇒ Hash<String, String>
Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {\"bar-key\": \"value\"}
213 214 215 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 213 def @freeform_tags end |
#gateway ⇒ String
[Required] The gateway for the control plane network.
150 151 152 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 150 def gateway @gateway end |
#id ⇒ String
[Required] The OCID of the Database Infrastructure.
105 106 107 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 105 def id @id end |
#lifecycle_state ⇒ String
The current state of the Database Infrastructure.
257 258 259 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 257 def lifecycle_state @lifecycle_state end |
#lifecycle_state_details ⇒ String
Lifecycle state details of the Database Infrastructure.
261 262 263 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 261 def lifecycle_state_details @lifecycle_state_details end |
#maintenance_window ⇒ OCI::Datacc::Models::MaintenanceWindow
228 229 230 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 228 def maintenance_window @maintenance_window end |
#netmask ⇒ String
[Required] The netmask for the control plane network.
146 147 148 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 146 def netmask @netmask end |
#ntp_servers ⇒ Array<String>
[Required] The list of NTP server IP addresses. Maximum of 3 allowed.
166 167 168 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 166 def ntp_servers @ntp_servers end |
#shape ⇒ String
[Required] The shape of the Database Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
134 135 136 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 134 def shape @shape end |
#ssd_configuration_requested ⇒ String
SSD configuration requested for the infrastructure.
282 283 284 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 282 def ssd_configuration_requested @ssd_configuration_requested end |
#storage_capacity ⇒ Array<OCI::Datacc::Models::StorageCapacityDetails>
Capacity details of the Storage disk group. This attribute is deprecated and will be removed in a subsequent release. Please use systemStorageCapacity instead.
271 272 273 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 271 def storage_capacity @storage_capacity end |
#subscription_plan_number ⇒ String
The unique identifier for the subscription plan number.
278 279 280 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 278 def subscription_plan_number @subscription_plan_number end |
#system_model ⇒ String
[Required] Database Infrastructure System Model specification. The system model determines the model of the Database Infrastructure hardware to be used.
124 125 126 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 124 def system_model @system_model end |
#system_storage_capacity ⇒ OCI::Datacc::Models::SystemStorageCapacityDetails
274 275 276 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 274 def system_storage_capacity @system_storage_capacity end |
#system_tags ⇒ Hash<String, Hash<String, Object>>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }
225 226 227 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 225 def @system_tags end |
#time_activated ⇒ DateTime
The time, in RFC3339 format, when the Database Infrastructure was activated.
248 249 250 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 248 def time_activated @time_activated end |
#time_created ⇒ DateTime
The time that the Database Infrastructure cluster was created. An RFC3339 formatted datetime string.
233 234 235 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 233 def time_created @time_created end |
#time_last_state_updated ⇒ DateTime
The time, in RFC3339 format, when the lifecycle state was last updated.
243 244 245 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 243 def time_last_state_updated @time_last_state_updated end |
#time_updated ⇒ DateTime
The time that the Database Infrastructure was last updated. An RFC3339 formatted datetime string.
238 239 240 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 238 def time_updated @time_updated end |
#time_validated ⇒ DateTime
The time, in RFC3339 format, when the Database Infrastructure network was validated.
253 254 255 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 253 def time_validated @time_validated end |
#version ⇒ String
The version of the system software on the Database Infrastructure.
129 130 131 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 129 def version @version end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
285 286 287 288 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 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 285 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'description': :'description', 'compartment_id': :'compartmentId', 'display_name': :'displayName', 'system_model': :'systemModel', 'version': :'version', 'shape': :'shape', 'cloud_control_plane_server1': :'cloudControlPlaneServer1', 'cloud_control_plane_server2': :'cloudControlPlaneServer2', 'netmask': :'netmask', 'gateway': :'gateway', 'admin_networkcidr': :'adminNetworkcidr', 'contacts': :'contacts', 'dns_servers': :'dnsServers', 'ntp_servers': :'ntpServers', 'client_network_bonding_mode': :'clientNetworkBondingMode', 'backup_network_bonding_mode': :'backupNetworkBondingMode', 'cps_network_bonding_mode': :'cpsNetworkBondingMode', 'client_network_bonding_interface': :'clientNetworkBondingInterface', 'backup_network_bonding_interface': :'backupNetworkBondingInterface', 'cps_network_bonding_interface': :'cpsNetworkBondingInterface', 'acfs_file_system_storage_in_gbs': :'acfsFileSystemStorageInGbs', 'acfs_file_system_used_storage_in_gbs': :'acfsFileSystemUsedStorageInGbs', 'corporate_proxy': :'corporateProxy', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags', 'system_tags': :'systemTags', 'maintenance_window': :'maintenanceWindow', 'time_created': :'timeCreated', 'time_updated': :'timeUpdated', 'time_last_state_updated': :'timeLastStateUpdated', 'time_activated': :'timeActivated', 'time_validated': :'timeValidated', 'lifecycle_state': :'lifecycleState', 'lifecycle_state_details': :'lifecycleStateDetails', 'compute_capacity': :'computeCapacity', 'storage_capacity': :'storageCapacity', 'system_storage_capacity': :'systemStorageCapacity', 'subscription_plan_number': :'subscriptionPlanNumber', 'ssd_configuration_requested': :'ssdConfigurationRequested' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
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 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 |
# File 'lib/oci/datacc/models/infrastructure_summary.rb', line 333 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'description': :'String', 'compartment_id': :'String', 'display_name': :'String', 'system_model': :'String', 'version': :'String', 'shape': :'String', 'cloud_control_plane_server1': :'String', 'cloud_control_plane_server2': :'String', 'netmask': :'String', 'gateway': :'String', 'admin_networkcidr': :'String', 'contacts': :'Array<OCI::Datacc::Models::InfrastructureContact>', 'dns_servers': :'Array<String>', 'ntp_servers': :'Array<String>', 'client_network_bonding_mode': :'String', 'backup_network_bonding_mode': :'String', 'cps_network_bonding_mode': :'String', 'client_network_bonding_interface': :'String', 'backup_network_bonding_interface': :'String', 'cps_network_bonding_interface': :'String', 'acfs_file_system_storage_in_gbs': :'Float', 'acfs_file_system_used_storage_in_gbs': :'Float', 'corporate_proxy': :'String', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>', 'system_tags': :'Hash<String, Hash<String, Object>>', 'maintenance_window': :'OCI::Datacc::Models::MaintenanceWindow', 'time_created': :'DateTime', 'time_updated': :'DateTime', 'time_last_state_updated': :'DateTime', 'time_activated': :'DateTime', 'time_validated': :'DateTime', 'lifecycle_state': :'String', 'lifecycle_state_details': :'String', 'compute_capacity': :'OCI::Datacc::Models::ComputeCapacityDetails', 'storage_capacity': :'Array<OCI::Datacc::Models::StorageCapacityDetails>', 'system_storage_capacity': :'OCI::Datacc::Models::SystemStorageCapacityDetails', 'subscription_plan_number': :'String', 'ssd_configuration_requested': :'String' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
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/datacc/models/infrastructure_summary.rb', line 782 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && description == other.description && compartment_id == other.compartment_id && display_name == other.display_name && system_model == other.system_model && version == other.version && shape == other.shape && 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_networkcidr == other.admin_networkcidr && contacts == other.contacts && dns_servers == other.dns_servers && ntp_servers == other.ntp_servers && client_network_bonding_mode == other.client_network_bonding_mode && backup_network_bonding_mode == other.backup_network_bonding_mode && cps_network_bonding_mode == other.cps_network_bonding_mode && client_network_bonding_interface == other.client_network_bonding_interface && backup_network_bonding_interface == other.backup_network_bonding_interface && cps_network_bonding_interface == other.cps_network_bonding_interface && acfs_file_system_storage_in_gbs == other.acfs_file_system_storage_in_gbs && acfs_file_system_used_storage_in_gbs == other.acfs_file_system_used_storage_in_gbs && corporate_proxy == other.corporate_proxy && == other. && == other. && == other. && maintenance_window == other.maintenance_window && time_created == other.time_created && time_updated == other.time_updated && time_last_state_updated == other.time_last_state_updated && time_activated == other.time_activated && time_validated == other.time_validated && lifecycle_state == other.lifecycle_state && lifecycle_state_details == other.lifecycle_state_details && compute_capacity == other.compute_capacity && storage_capacity == other.storage_capacity && system_storage_capacity == other.system_storage_capacity && subscription_plan_number == other.subscription_plan_number && ssd_configuration_requested == other.ssd_configuration_requested 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/datacc/models/infrastructure_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/datacc/models/infrastructure_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/datacc/models/infrastructure_summary.rb', line 840 def hash [id, description, compartment_id, display_name, system_model, version, shape, cloud_control_plane_server1, cloud_control_plane_server2, netmask, gateway, admin_networkcidr, contacts, dns_servers, ntp_servers, client_network_bonding_mode, backup_network_bonding_mode, cps_network_bonding_mode, client_network_bonding_interface, backup_network_bonding_interface, cps_network_bonding_interface, acfs_file_system_storage_in_gbs, acfs_file_system_used_storage_in_gbs, corporate_proxy, , , , maintenance_window, time_created, time_updated, time_last_state_updated, time_activated, time_validated, lifecycle_state, lifecycle_state_details, compute_capacity, storage_capacity, system_storage_capacity, subscription_plan_number, ssd_configuration_requested].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/datacc/models/infrastructure_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/datacc/models/infrastructure_summary.rb', line 878 def to_s to_hash.to_s end |