Class: OCI::Database::Models::BaseccVmClusterSummary
- Inherits:
-
Object
- Object
- OCI::Database::Models::BaseccVmClusterSummary
- Defined in:
- lib/oci/database/models/basecc_vm_cluster_summary.rb
Overview
Details of the Base Cloud@Customer 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
- DATABASE_EDITION_ENUM =
[ DATABASE_EDITION_STANDARD_EDITION = 'STANDARD_EDITION'.freeze, DATABASE_EDITION_ENTERPRISE_EDITION = 'ENTERPRISE_EDITION'.freeze, DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE = 'ENTERPRISE_EDITION_HIGH_PERFORMANCE'.freeze, DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE = 'ENTERPRISE_EDITION_EXTREME_PERFORMANCE'.freeze, DATABASE_EDITION_ENTERPRISE_EDITION_DEVELOPER = 'ENTERPRISE_EDITION_DEVELOPER'.freeze, DATABASE_EDITION_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
- VM_CLUSTER_TYPE_ENUM =
[ VM_CLUSTER_TYPE_REGULAR = 'REGULAR'.freeze, VM_CLUSTER_TYPE_DEVELOPER = 'DEVELOPER'.freeze, VM_CLUSTER_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#additional_vm_storage_size_in_gbs ⇒ Integer
Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#availability_domain ⇒ String
[Required] The name of the availability domain in which the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster is located.
-
#base_infrastructure_id ⇒ String
[Required] The OCID of Oracle Data Cloud@Customer Infrastructure.
-
#base_vm_cluster_network_id ⇒ String
[Required] The OCID of BaseDB-C@C VM Cluster Network.
-
#boot_storage_size_in_gbs ⇒ Integer
Total boot partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
- #cloud_automation_update_details ⇒ OCI::Database::Models::CloudAutomationUpdateDetails
-
#cluster_name ⇒ String
The cluster name for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#compartment_id ⇒ String
[Required] The OCID of the compartment.
-
#cpus_enabled ⇒ Integer
[Required] Total CPU cores for the BaseDB C@C VM cluster.
- #data_collection_options ⇒ OCI::Database::Models::DataCollectionOptions
-
#data_storage_size_in_gbs ⇒ Integer
The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#database_edition ⇒ String
The Oracle Database Edition that applies to all the databases on the DB system.
-
#db_servers ⇒ Array<String>
List of Base server OCIDs.
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
[Required] Defined tags for this resource.
-
#description ⇒ String
The description for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#display_name ⇒ String
[Required] The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#freeform_tags ⇒ Hash<String, String>
[Required] Free-form tags for this resource.
-
#gi_version ⇒ String
[Required] A valid Oracle Grid Infrastructure (GI) software version.
-
#id ⇒ String
[Required] The OCID of the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#last_patch_history_entry_id ⇒ String
The OCID of the last patch history.
-
#license_model ⇒ String
The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#lifecycle_details ⇒ String
Additional information about the current lifecycle state of the the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#lifecycle_state ⇒ String
[Required] The current state of the VM Cluster.
-
#memory_size_in_gbs ⇒ Integer
The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#node_count ⇒ Integer
The number of nodes in the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#reco_storage_size_in_gbs ⇒ Integer
The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#ssh_public_keys ⇒ Array<String>
[Required] The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#system_tags ⇒ Hash<String, Hash<String, Object>>
[Required] System tags for this resource.
-
#system_version ⇒ String
Operating system version of the image.
-
#time_created ⇒ DateTime
[Required] The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was created.
-
#time_updated ⇒ DateTime
The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was updated.
-
#time_zone ⇒ String
The time zone to use for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
-
#total_storage_size_in_gbs ⇒ Integer
The total storage allocated in GBs.
-
#vm_cluster_type ⇒ String
The cluster type for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
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 = {}) ⇒ BaseccVmClusterSummary
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 = {}) ⇒ BaseccVmClusterSummary
Initializes the object
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 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 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 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 322 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.last_patch_history_entry_id = attributes[:'lastPatchHistoryEntryId'] if attributes[:'lastPatchHistoryEntryId'] raise 'You cannot provide both :lastPatchHistoryEntryId and :last_patch_history_entry_id' if attributes.key?(:'lastPatchHistoryEntryId') && attributes.key?(:'last_patch_history_entry_id') self.last_patch_history_entry_id = attributes[:'last_patch_history_entry_id'] if attributes[:'last_patch_history_entry_id'] self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState'] raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state') self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state'] self.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.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.availability_domain = attributes[:'availabilityDomain'] if attributes[:'availabilityDomain'] raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain') self.availability_domain = attributes[:'availability_domain'] if attributes[:'availability_domain'] self.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.database_edition = attributes[:'databaseEdition'] if attributes[:'databaseEdition'] raise 'You cannot provide both :databaseEdition and :database_edition' if attributes.key?(:'databaseEdition') && attributes.key?(:'database_edition') self.database_edition = attributes[:'database_edition'] if attributes[:'database_edition'] self.node_count = attributes[:'nodeCount'] if attributes[:'nodeCount'] self.node_count = 2 if node_count.nil? && !attributes.key?(:'nodeCount') # rubocop:disable Style/StringLiterals 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.node_count = 2 if node_count.nil? && !attributes.key?(:'nodeCount') && !attributes.key?(:'node_count') # rubocop:disable Style/StringLiterals 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.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.base_infrastructure_id = attributes[:'baseInfrastructureId'] if attributes[:'baseInfrastructureId'] raise 'You cannot provide both :baseInfrastructureId and :base_infrastructure_id' if attributes.key?(:'baseInfrastructureId') && attributes.key?(:'base_infrastructure_id') self.base_infrastructure_id = attributes[:'base_infrastructure_id'] if attributes[:'base_infrastructure_id'] self.base_vm_cluster_network_id = attributes[:'baseVmClusterNetworkId'] if attributes[:'baseVmClusterNetworkId'] raise 'You cannot provide both :baseVmClusterNetworkId and :base_vm_cluster_network_id' if attributes.key?(:'baseVmClusterNetworkId') && attributes.key?(:'base_vm_cluster_network_id') self.base_vm_cluster_network_id = attributes[:'base_vm_cluster_network_id'] if attributes[:'base_vm_cluster_network_id'] self.gi_version = attributes[:'giVersion'] if attributes[:'giVersion'] raise 'You cannot provide both :giVersion and :gi_version' if attributes.key?(:'giVersion') && attributes.key?(:'gi_version') self.gi_version = attributes[:'gi_version'] if attributes[:'gi_version'] self. = attributes[:'dataCollectionOptions'] if attributes[:'dataCollectionOptions'] raise 'You cannot provide both :dataCollectionOptions and :data_collection_options' if attributes.key?(:'dataCollectionOptions') && attributes.key?(:'data_collection_options') self. = attributes[:'data_collection_options'] if attributes[:'data_collection_options'] self.description = attributes[:'description'] if attributes[:'description'] 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.ssh_public_keys = attributes[:'sshPublicKeys'] if attributes[:'sshPublicKeys'] raise 'You cannot provide both :sshPublicKeys and :ssh_public_keys' if attributes.key?(:'sshPublicKeys') && attributes.key?(:'ssh_public_keys') self.ssh_public_keys = attributes[:'ssh_public_keys'] if attributes[:'ssh_public_keys'] 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.cluster_name = attributes[:'clusterName'] if attributes[:'clusterName'] raise 'You cannot provide both :clusterName and :cluster_name' if attributes.key?(:'clusterName') && attributes.key?(:'cluster_name') self.cluster_name = attributes[:'cluster_name'] if attributes[:'cluster_name'] self.boot_storage_size_in_gbs = attributes[:'bootStorageSizeInGBs'] if attributes[:'bootStorageSizeInGBs'] raise 'You cannot provide both :bootStorageSizeInGBs and :boot_storage_size_in_gbs' if attributes.key?(:'bootStorageSizeInGBs') && attributes.key?(:'boot_storage_size_in_gbs') self.boot_storage_size_in_gbs = attributes[:'boot_storage_size_in_gbs'] if attributes[:'boot_storage_size_in_gbs'] self.additional_vm_storage_size_in_gbs = attributes[:'additionalVmStorageSizeInGBs'] if attributes[:'additionalVmStorageSizeInGBs'] raise 'You cannot provide both :additionalVmStorageSizeInGBs and :additional_vm_storage_size_in_gbs' if attributes.key?(:'additionalVmStorageSizeInGBs') && attributes.key?(:'additional_vm_storage_size_in_gbs') self.additional_vm_storage_size_in_gbs = attributes[:'additional_vm_storage_size_in_gbs'] if attributes[:'additional_vm_storage_size_in_gbs'] self.total_storage_size_in_gbs = attributes[:'totalStorageSizeInGBs'] if attributes[:'totalStorageSizeInGBs'] raise 'You cannot provide both :totalStorageSizeInGBs and :total_storage_size_in_gbs' if attributes.key?(:'totalStorageSizeInGBs') && attributes.key?(:'total_storage_size_in_gbs') self.total_storage_size_in_gbs = attributes[:'total_storage_size_in_gbs'] if attributes[:'total_storage_size_in_gbs'] 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.reco_storage_size_in_gbs = attributes[:'recoStorageSizeInGBs'] if attributes[:'recoStorageSizeInGBs'] raise 'You cannot provide both :recoStorageSizeInGBs and :reco_storage_size_in_gbs' if attributes.key?(:'recoStorageSizeInGBs') && attributes.key?(:'reco_storage_size_in_gbs') self.reco_storage_size_in_gbs = attributes[:'reco_storage_size_in_gbs'] if attributes[:'reco_storage_size_in_gbs'] self.memory_size_in_gbs = attributes[:'memorySizeInGBs'] if attributes[:'memorySizeInGBs'] raise 'You cannot provide both :memorySizeInGBs and :memory_size_in_gbs' if attributes.key?(:'memorySizeInGBs') && attributes.key?(:'memory_size_in_gbs') self.memory_size_in_gbs = attributes[:'memory_size_in_gbs'] if attributes[:'memory_size_in_gbs'] self.license_model = attributes[:'licenseModel'] if attributes[:'licenseModel'] raise 'You cannot provide both :licenseModel and :license_model' if attributes.key?(:'licenseModel') && attributes.key?(:'license_model') self.license_model = attributes[:'license_model'] if attributes[:'license_model'] self. = 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.system_version = attributes[:'systemVersion'] if attributes[:'systemVersion'] raise 'You cannot provide both :systemVersion and :system_version' if attributes.key?(:'systemVersion') && attributes.key?(:'system_version') self.system_version = attributes[:'system_version'] if attributes[:'system_version'] self.vm_cluster_type = attributes[:'vmClusterType'] if attributes[:'vmClusterType'] self.vm_cluster_type = "" if vm_cluster_type.nil? && !attributes.key?(:'vmClusterType') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :vmClusterType and :vm_cluster_type' if attributes.key?(:'vmClusterType') && attributes.key?(:'vm_cluster_type') self.vm_cluster_type = attributes[:'vm_cluster_type'] if attributes[:'vm_cluster_type'] self.vm_cluster_type = "" if vm_cluster_type.nil? && !attributes.key?(:'vmClusterType') && !attributes.key?(:'vm_cluster_type') # rubocop:disable Style/StringLiterals self.cloud_automation_update_details = attributes[:'cloudAutomationUpdateDetails'] if attributes[:'cloudAutomationUpdateDetails'] raise 'You cannot provide both :cloudAutomationUpdateDetails and :cloud_automation_update_details' if attributes.key?(:'cloudAutomationUpdateDetails') && attributes.key?(:'cloud_automation_update_details') self.cloud_automation_update_details = attributes[:'cloud_automation_update_details'] if attributes[:'cloud_automation_update_details'] end |
Instance Attribute Details
#additional_vm_storage_size_in_gbs ⇒ Integer
Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
141 142 143 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 141 def additional_vm_storage_size_in_gbs @additional_vm_storage_size_in_gbs end |
#availability_domain ⇒ String
[Required] The name of the availability domain in which the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster is located.
72 73 74 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 72 def availability_domain @availability_domain end |
#base_infrastructure_id ⇒ String
[Required] The OCID of Oracle Data Cloud@Customer Infrastructure.
98 99 100 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 98 def base_infrastructure_id @base_infrastructure_id end |
#base_vm_cluster_network_id ⇒ String
[Required] The OCID of BaseDB-C@C VM Cluster Network.
102 103 104 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 102 def base_vm_cluster_network_id @base_vm_cluster_network_id end |
#boot_storage_size_in_gbs ⇒ Integer
Total boot partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
136 137 138 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 136 def boot_storage_size_in_gbs @boot_storage_size_in_gbs end |
#cloud_automation_update_details ⇒ OCI::Database::Models::CloudAutomationUpdateDetails
196 197 198 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 196 def cloud_automation_update_details @cloud_automation_update_details end |
#cluster_name ⇒ String
The cluster name for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
131 132 133 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 131 def cluster_name @cluster_name end |
#compartment_id ⇒ String
[Required] The OCID of the compartment.
76 77 78 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 76 def compartment_id @compartment_id end |
#cpus_enabled ⇒ Integer
[Required] Total CPU cores for the BaseDB C@C VM cluster.
94 95 96 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 94 def cpus_enabled @cpus_enabled end |
#data_collection_options ⇒ OCI::Database::Models::DataCollectionOptions
109 110 111 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 109 def @data_collection_options end |
#data_storage_size_in_gbs ⇒ Integer
The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
150 151 152 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 150 def data_storage_size_in_gbs @data_storage_size_in_gbs end |
#database_edition ⇒ String
The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
82 83 84 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 82 def database_edition @database_edition end |
#db_servers ⇒ Array<String>
List of Base server OCIDs.
90 91 92 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 90 def db_servers @db_servers end |
#defined_tags ⇒ Hash<String, Hash<String, Object>>
[Required] Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
179 180 181 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 179 def @defined_tags end |
#description ⇒ String
The description for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
113 114 115 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 113 def description @description end |
#display_name ⇒ String
[Required] The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
117 118 119 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 117 def display_name @display_name end |
#freeform_tags ⇒ Hash<String, String>
[Required] 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\"}
173 174 175 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 173 def @freeform_tags end |
#gi_version ⇒ String
[Required] A valid Oracle Grid Infrastructure (GI) software version.
106 107 108 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 106 def gi_version @gi_version end |
#id ⇒ String
[Required] The OCID of the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
47 48 49 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 47 def id @id end |
#last_patch_history_entry_id ⇒ String
The OCID of the last patch history. This value is updated as soon as a patch operation starts.
51 52 53 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 51 def last_patch_history_entry_id @last_patch_history_entry_id end |
#license_model ⇒ String
The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
165 166 167 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 165 def license_model @license_model end |
#lifecycle_details ⇒ String
Additional information about the current lifecycle state of the the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
67 68 69 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 67 def lifecycle_details @lifecycle_details end |
#lifecycle_state ⇒ String
[Required] The current state of the VM Cluster.
55 56 57 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 55 def lifecycle_state @lifecycle_state end |
#memory_size_in_gbs ⇒ Integer
The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
160 161 162 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 160 def memory_size_in_gbs @memory_size_in_gbs end |
#node_count ⇒ Integer
The number of nodes in the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
86 87 88 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 86 def node_count @node_count end |
#reco_storage_size_in_gbs ⇒ Integer
The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
155 156 157 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 155 def reco_storage_size_in_gbs @reco_storage_size_in_gbs end |
#ssh_public_keys ⇒ Array<String>
[Required] The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
121 122 123 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 121 def ssh_public_keys @ssh_public_keys end |
#system_tags ⇒ Hash<String, Hash<String, Object>>
[Required] System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
185 186 187 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 185 def @system_tags end |
#system_version ⇒ String
Operating system version of the image.
189 190 191 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 189 def system_version @system_version end |
#time_created ⇒ DateTime
[Required] The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was created.
59 60 61 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 59 def time_created @time_created end |
#time_updated ⇒ DateTime
The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was updated.
63 64 65 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 63 def time_updated @time_updated end |
#time_zone ⇒ String
The time zone to use for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. For details, see Time Zones.
126 127 128 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 126 def time_zone @time_zone end |
#total_storage_size_in_gbs ⇒ Integer
The total storage allocated in GBs.
145 146 147 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 145 def total_storage_size_in_gbs @total_storage_size_in_gbs end |
#vm_cluster_type ⇒ String
The cluster type for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
193 194 195 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 193 def vm_cluster_type @vm_cluster_type end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 199 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'last_patch_history_entry_id': :'lastPatchHistoryEntryId', 'lifecycle_state': :'lifecycleState', 'time_created': :'timeCreated', 'time_updated': :'timeUpdated', 'lifecycle_details': :'lifecycleDetails', 'availability_domain': :'availabilityDomain', 'compartment_id': :'compartmentId', 'database_edition': :'databaseEdition', 'node_count': :'nodeCount', 'db_servers': :'dbServers', 'cpus_enabled': :'cpusEnabled', 'base_infrastructure_id': :'baseInfrastructureId', 'base_vm_cluster_network_id': :'baseVmClusterNetworkId', 'gi_version': :'giVersion', 'data_collection_options': :'dataCollectionOptions', 'description': :'description', 'display_name': :'displayName', 'ssh_public_keys': :'sshPublicKeys', 'time_zone': :'timeZone', 'cluster_name': :'clusterName', 'boot_storage_size_in_gbs': :'bootStorageSizeInGBs', 'additional_vm_storage_size_in_gbs': :'additionalVmStorageSizeInGBs', 'total_storage_size_in_gbs': :'totalStorageSizeInGBs', 'data_storage_size_in_gbs': :'dataStorageSizeInGBs', 'reco_storage_size_in_gbs': :'recoStorageSizeInGBs', 'memory_size_in_gbs': :'memorySizeInGBs', 'license_model': :'licenseModel', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags', 'system_tags': :'systemTags', 'system_version': :'systemVersion', 'vm_cluster_type': :'vmClusterType', 'cloud_automation_update_details': :'cloudAutomationUpdateDetails' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
241 242 243 244 245 246 247 248 249 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 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 241 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'last_patch_history_entry_id': :'String', 'lifecycle_state': :'String', 'time_created': :'DateTime', 'time_updated': :'DateTime', 'lifecycle_details': :'String', 'availability_domain': :'String', 'compartment_id': :'String', 'database_edition': :'String', 'node_count': :'Integer', 'db_servers': :'Array<String>', 'cpus_enabled': :'Integer', 'base_infrastructure_id': :'String', 'base_vm_cluster_network_id': :'String', 'gi_version': :'String', 'data_collection_options': :'OCI::Database::Models::DataCollectionOptions', 'description': :'String', 'display_name': :'String', 'ssh_public_keys': :'Array<String>', 'time_zone': :'String', 'cluster_name': :'String', 'boot_storage_size_in_gbs': :'Integer', 'additional_vm_storage_size_in_gbs': :'Integer', 'total_storage_size_in_gbs': :'Integer', 'data_storage_size_in_gbs': :'Integer', 'reco_storage_size_in_gbs': :'Integer', 'memory_size_in_gbs': :'Integer', 'license_model': :'String', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>', 'system_tags': :'Hash<String, Hash<String, Object>>', 'system_version': :'String', 'vm_cluster_type': :'String', 'cloud_automation_update_details': :'OCI::Database::Models::CloudAutomationUpdateDetails' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
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 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 588 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && last_patch_history_entry_id == other.last_patch_history_entry_id && lifecycle_state == other.lifecycle_state && time_created == other.time_created && time_updated == other.time_updated && lifecycle_details == other.lifecycle_details && availability_domain == other.availability_domain && compartment_id == other.compartment_id && database_edition == other.database_edition && node_count == other.node_count && db_servers == other.db_servers && cpus_enabled == other.cpus_enabled && base_infrastructure_id == other.base_infrastructure_id && base_vm_cluster_network_id == other.base_vm_cluster_network_id && gi_version == other.gi_version && == other. && description == other.description && display_name == other.display_name && ssh_public_keys == other.ssh_public_keys && time_zone == other.time_zone && cluster_name == other.cluster_name && boot_storage_size_in_gbs == other.boot_storage_size_in_gbs && additional_vm_storage_size_in_gbs == other.additional_vm_storage_size_in_gbs && total_storage_size_in_gbs == other.total_storage_size_in_gbs && data_storage_size_in_gbs == other.data_storage_size_in_gbs && reco_storage_size_in_gbs == other.reco_storage_size_in_gbs && memory_size_in_gbs == other.memory_size_in_gbs && license_model == other.license_model && == other. && == other. && == other. && system_version == other.system_version && vm_cluster_type == other.vm_cluster_type && cloud_automation_update_details == other.cloud_automation_update_details end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 651 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
631 632 633 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 631 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
640 641 642 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 640 def hash [id, last_patch_history_entry_id, lifecycle_state, time_created, time_updated, lifecycle_details, availability_domain, compartment_id, database_edition, node_count, db_servers, cpus_enabled, base_infrastructure_id, base_vm_cluster_network_id, gi_version, , description, display_name, ssh_public_keys, time_zone, cluster_name, boot_storage_size_in_gbs, additional_vm_storage_size_in_gbs, total_storage_size_in_gbs, data_storage_size_in_gbs, reco_storage_size_in_gbs, memory_size_in_gbs, license_model, , , , system_version, vm_cluster_type, cloud_automation_update_details].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
684 685 686 687 688 689 690 691 692 693 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 684 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
678 679 680 |
# File 'lib/oci/database/models/basecc_vm_cluster_summary.rb', line 678 def to_s to_hash.to_s end |