Class: OCI::Database::Models::CloudExadataInfrastructure

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

Overview

Details of the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only.

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ CloudExadataInfrastructure

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash

Options Hash (attributes):



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

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

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

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

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

  self.subscription_id = attributes[:'subscriptionId'] if attributes[:'subscriptionId']

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

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

  self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']

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

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

  self.display_name = attributes[:'displayName'] if attributes[:'displayName']

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

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

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

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

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

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

  self.storage_count = attributes[:'storageCount'] if attributes[:'storageCount']

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

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

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

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

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

  self.cpu_count = attributes[:'cpuCount'] if attributes[:'cpuCount']

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

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

  self.max_cpu_count = attributes[:'maxCpuCount'] if attributes[:'maxCpuCount']

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

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

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

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

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

  self.max_memory_in_gbs = attributes[:'maxMemoryInGBs'] if attributes[:'maxMemoryInGBs']

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

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

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

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

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

  self.max_db_node_storage_in_gbs = attributes[:'maxDbNodeStorageInGBs'] if attributes[:'maxDbNodeStorageInGBs']

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

  self.max_db_node_storage_in_gbs = attributes[:'max_db_node_storage_in_gbs'] if attributes[:'max_db_node_storage_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.max_data_storage_in_tbs = attributes[:'maxDataStorageInTBs'] if attributes[:'maxDataStorageInTBs']

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

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

  self.additional_storage_count = attributes[:'additionalStorageCount'] if attributes[:'additionalStorageCount']

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

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

  self.activated_storage_count = attributes[:'activatedStorageCount'] if attributes[:'activatedStorageCount']

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

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

  self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']

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

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

  self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails']

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

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

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

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

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

  self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']

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

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

  self.system_tags = attributes[:'systemTags'] if attributes[:'systemTags']

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

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

  self.customer_contacts = attributes[:'customerContacts'] if attributes[:'customerContacts']

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

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

  self.storage_server_version = attributes[:'storageServerVersion'] if attributes[:'storageServerVersion']

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

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

  self.db_server_version = attributes[:'dbServerVersion'] if attributes[:'dbServerVersion']

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

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

  self.monthly_storage_server_version = attributes[:'monthlyStorageServerVersion'] if attributes[:'monthlyStorageServerVersion']

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

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

  self.monthly_db_server_version = attributes[:'monthlyDbServerVersion'] if attributes[:'monthlyDbServerVersion']

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

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

  self.defined_file_system_configurations = attributes[:'definedFileSystemConfigurations'] if attributes[:'definedFileSystemConfigurations']

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

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

  self.is_scheduling_policy_associated = attributes[:'isSchedulingPolicyAssociated'] unless attributes[:'isSchedulingPolicyAssociated'].nil?

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

  self.is_scheduling_policy_associated = attributes[:'is_scheduling_policy_associated'] unless attributes[:'is_scheduling_policy_associated'].nil?

  self.database_server_type = attributes[:'databaseServerType'] if attributes[:'databaseServerType']

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

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

  self.storage_server_type = attributes[:'storageServerType'] if attributes[:'storageServerType']

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

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

  self.compute_model = attributes[:'computeModel'] if attributes[:'computeModel']

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

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

Instance Attribute Details

#activated_storage_countInteger

The requested number of additional storage servers activated for the Exadata infrastructure.

Returns:

  • (Integer)


118
119
120
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 118

def activated_storage_count
  @activated_storage_count
end

#additional_storage_countInteger

The requested number of additional storage servers for the Exadata infrastructure.

Returns:

  • (Integer)


114
115
116
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 114

def additional_storage_count
  @additional_storage_count
end

#availability_domainString

[Required] The name of the availability domain that the cloud Exadata infrastructure resource is located in.

Returns:

  • (String)


61
62
63
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 61

def availability_domain
  @availability_domain
end

#available_storage_size_in_gbsInteger

The available storage can be allocated to the cloud Exadata infrastructure resource, in gigabytes (GB).

Returns:

  • (Integer)


77
78
79
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 77

def available_storage_size_in_gbs
  @available_storage_size_in_gbs
end

#cluster_placement_group_idString

The OCID of the cluster placement group of the Exadata Infrastructure.

Returns:

  • (String)


40
41
42
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 40

def cluster_placement_group_id
  @cluster_placement_group_id
end

#compartment_idString

[Required] The OCID of the compartment.

Returns:

  • (String)


36
37
38
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 36

def compartment_id
  @compartment_id
end

#compute_countInteger

The number of compute servers for the cloud Exadata infrastructure.

Returns:

  • (Integer)


65
66
67
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 65

def compute_count
  @compute_count
end

#compute_modelString

The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.

Returns:

  • (String)


208
209
210
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 208

def compute_model
  @compute_model
end

#cpu_countInteger

The total number of CPU cores allocated.

Returns:

  • (Integer)


81
82
83
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 81

def cpu_count
  @cpu_count
end

#customer_contactsArray<OCI::Database::Models::CustomerContact>

The list of customer email addresses that receive information from Oracle about the specified OCI Database service resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a cloud Exadata infrastructure instance.



164
165
166
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 164

def customer_contacts
  @customer_contacts
end

#data_storage_size_in_tbsFloat

Size, in terabytes, of the DATA disk group.

Returns:

  • (Float)


106
107
108
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 106

def data_storage_size_in_tbs
  @data_storage_size_in_tbs
end

#database_server_typeString

The database server type of the Exadata infrastructure.

Returns:

  • (String)


200
201
202
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 200

def database_server_type
  @database_server_type
end

#db_node_storage_size_in_gbsInteger

The local node storage allocated in GBs.

Returns:

  • (Integer)


97
98
99
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 97

def db_node_storage_size_in_gbs
  @db_node_storage_size_in_gbs
end

#db_server_versionString

The software version of the database servers (dom0) in the cloud Exadata infrastructure. Example: 20.1.15

Returns:

  • (String)


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

def db_server_version
  @db_server_version
end

#defined_file_system_configurationsArray<OCI::Database::Models::DefinedFileSystemConfiguration>

Details of the file system configuration of the Exadata infrastructure.



192
193
194
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 192

def defined_file_system_configurations
  @defined_file_system_configurations
end

#defined_tagsHash<String, Hash<String, Object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:

  • (Hash<String, Hash<String, Object>>)


151
152
153
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 151

def defined_tags
  @defined_tags
end

#display_nameString

[Required] The user-friendly name for the cloud Exadata infrastructure resource. The name does not need to be unique.

Returns:

  • (String)


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

def display_name
  @display_name
end

#freeform_tagsHash<String, String>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {\"Department\": \"Finance\"}

Returns:

  • (Hash<String, String>)


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

def freeform_tags
  @freeform_tags
end

#idString

[Required] The OCID of the cloud Exadata infrastructure resource.

Returns:

  • (String)


32
33
34
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 32

def id
  @id
end

#is_scheduling_policy_associatedBOOLEAN

If true, the infrastructure is using granular maintenance scheduling preference.

Returns:

  • (BOOLEAN)


196
197
198
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 196

def is_scheduling_policy_associated
  @is_scheduling_policy_associated
end

#last_maintenance_run_idString

The OCID of the last maintenance run.

Returns:

  • (String)


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

def last_maintenance_run_id
  @last_maintenance_run_id
end

#lifecycle_detailsString

Additional information about the current lifecycle state.

Returns:

  • (String)


126
127
128
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 126

def lifecycle_details
  @lifecycle_details
end

#lifecycle_stateString

[Required] The current lifecycle state of the cloud Exadata infrastructure resource.

Returns:

  • (String)


48
49
50
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 48

def lifecycle_state
  @lifecycle_state
end

#maintenance_windowOCI::Database::Models::MaintenanceWindow



129
130
131
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 129

def maintenance_window
  @maintenance_window
end

#max_cpu_countInteger

The total number of CPU cores available.

Returns:

  • (Integer)


85
86
87
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 85

def max_cpu_count
  @max_cpu_count
end

#max_data_storage_in_tbsFloat

The total available DATA disk group size.

Returns:

  • (Float)


110
111
112
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 110

def max_data_storage_in_tbs
  @max_data_storage_in_tbs
end

#max_db_node_storage_in_gbsInteger

The total local node storage available in GBs.

Returns:

  • (Integer)


101
102
103
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 101

def max_db_node_storage_in_gbs
  @max_db_node_storage_in_gbs
end

#max_memory_in_gbsInteger

The total memory available in GBs.

Returns:

  • (Integer)


93
94
95
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 93

def max_memory_in_gbs
  @max_memory_in_gbs
end

#memory_size_in_gbsInteger

The memory allocated in GBs.

Returns:

  • (Integer)


89
90
91
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 89

def memory_size_in_gbs
  @memory_size_in_gbs
end

#monthly_db_server_versionString

The monthly software version of the database servers (dom0) in the cloud Exadata infrastructure. Example: 20.1.15

Returns:

  • (String)


188
189
190
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 188

def monthly_db_server_version
  @monthly_db_server_version
end

#monthly_storage_server_versionString

The monthly software version of the storage servers (cells) in the cloud Exadata infrastructure. Example: 20.1.15

Returns:

  • (String)


182
183
184
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 182

def monthly_storage_server_version
  @monthly_storage_server_version
end

#next_maintenance_run_idString

The OCID of the next maintenance run.

Returns:

  • (String)


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

def next_maintenance_run_id
  @next_maintenance_run_id
end

#shapeString

[Required] The model name of the cloud Exadata infrastructure resource.

Returns:

  • (String)


57
58
59
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 57

def shape
  @shape
end

#storage_countInteger

The number of storage servers for the cloud Exadata infrastructure.

Returns:

  • (Integer)


69
70
71
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 69

def storage_count
  @storage_count
end

#storage_server_typeString

The storage server type of the Exadata infrastructure.

Returns:

  • (String)


204
205
206
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 204

def storage_server_type
  @storage_server_type
end

#storage_server_versionString

The software version of the storage servers (cells) in the cloud Exadata infrastructure. Example: 20.1.15

Returns:

  • (String)


170
171
172
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 170

def storage_server_version
  @storage_server_version
end

#subscription_idString

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

Returns:

  • (String)


44
45
46
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 44

def subscription_id
  @subscription_id
end

#system_tagsHash<String, Hash<String, Object>>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:

  • (Hash<String, Hash<String, Object>>)


157
158
159
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 157

def system_tags
  @system_tags
end

#time_createdDateTime

The date and time the cloud Exadata infrastructure resource was created.

Returns:

  • (DateTime)


122
123
124
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 122

def time_created
  @time_created
end

#total_storage_size_in_gbsInteger

The total storage allocated to the cloud Exadata infrastructure resource, in gigabytes (GB).

Returns:

  • (Integer)


73
74
75
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 73

def total_storage_size_in_gbs
  @total_storage_size_in_gbs
end

Class Method Details

.attribute_mapObject

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



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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 211

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'id',
    'compartment_id': :'compartmentId',
    'cluster_placement_group_id': :'clusterPlacementGroupId',
    'subscription_id': :'subscriptionId',
    'lifecycle_state': :'lifecycleState',
    'display_name': :'displayName',
    'shape': :'shape',
    'availability_domain': :'availabilityDomain',
    'compute_count': :'computeCount',
    'storage_count': :'storageCount',
    'total_storage_size_in_gbs': :'totalStorageSizeInGBs',
    'available_storage_size_in_gbs': :'availableStorageSizeInGBs',
    'cpu_count': :'cpuCount',
    'max_cpu_count': :'maxCpuCount',
    'memory_size_in_gbs': :'memorySizeInGBs',
    'max_memory_in_gbs': :'maxMemoryInGBs',
    'db_node_storage_size_in_gbs': :'dbNodeStorageSizeInGBs',
    'max_db_node_storage_in_gbs': :'maxDbNodeStorageInGBs',
    'data_storage_size_in_tbs': :'dataStorageSizeInTBs',
    'max_data_storage_in_tbs': :'maxDataStorageInTBs',
    'additional_storage_count': :'additionalStorageCount',
    'activated_storage_count': :'activatedStorageCount',
    'time_created': :'timeCreated',
    'lifecycle_details': :'lifecycleDetails',
    'maintenance_window': :'maintenanceWindow',
    'last_maintenance_run_id': :'lastMaintenanceRunId',
    'next_maintenance_run_id': :'nextMaintenanceRunId',
    'freeform_tags': :'freeformTags',
    'defined_tags': :'definedTags',
    'system_tags': :'systemTags',
    'customer_contacts': :'customerContacts',
    'storage_server_version': :'storageServerVersion',
    'db_server_version': :'dbServerVersion',
    'monthly_storage_server_version': :'monthlyStorageServerVersion',
    'monthly_db_server_version': :'monthlyDbServerVersion',
    'defined_file_system_configurations': :'definedFileSystemConfigurations',
    'is_scheduling_policy_associated': :'isSchedulingPolicyAssociated',
    'database_server_type': :'databaseServerType',
    'storage_server_type': :'storageServerType',
    'compute_model': :'computeModel'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



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

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'String',
    'compartment_id': :'String',
    'cluster_placement_group_id': :'String',
    'subscription_id': :'String',
    'lifecycle_state': :'String',
    'display_name': :'String',
    'shape': :'String',
    'availability_domain': :'String',
    'compute_count': :'Integer',
    'storage_count': :'Integer',
    'total_storage_size_in_gbs': :'Integer',
    'available_storage_size_in_gbs': :'Integer',
    'cpu_count': :'Integer',
    'max_cpu_count': :'Integer',
    'memory_size_in_gbs': :'Integer',
    'max_memory_in_gbs': :'Integer',
    'db_node_storage_size_in_gbs': :'Integer',
    'max_db_node_storage_in_gbs': :'Integer',
    'data_storage_size_in_tbs': :'Float',
    'max_data_storage_in_tbs': :'Float',
    'additional_storage_count': :'Integer',
    'activated_storage_count': :'Integer',
    'time_created': :'DateTime',
    'lifecycle_details': :'String',
    'maintenance_window': :'OCI::Database::Models::MaintenanceWindow',
    'last_maintenance_run_id': :'String',
    'next_maintenance_run_id': :'String',
    'freeform_tags': :'Hash<String, String>',
    'defined_tags': :'Hash<String, Hash<String, Object>>',
    'system_tags': :'Hash<String, Hash<String, Object>>',
    'customer_contacts': :'Array<OCI::Database::Models::CustomerContact>',
    'storage_server_version': :'String',
    'db_server_version': :'String',
    'monthly_storage_server_version': :'String',
    'monthly_db_server_version': :'String',
    'defined_file_system_configurations': :'Array<OCI::Database::Models::DefinedFileSystemConfiguration>',
    'is_scheduling_policy_associated': :'BOOLEAN',
    'database_server_type': :'String',
    'storage_server_type': :'String',
    'compute_model': :'String'
    # rubocop:enable Style/SymbolLiteral
  }
end

Instance Method Details

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



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

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

  self.class == other.class &&
    id == other.id &&
    compartment_id == other.compartment_id &&
    cluster_placement_group_id == other.cluster_placement_group_id &&
    subscription_id == other.subscription_id &&
    lifecycle_state == other.lifecycle_state &&
    display_name == other.display_name &&
    shape == other.shape &&
    availability_domain == other.availability_domain &&
    compute_count == other.compute_count &&
    storage_count == other.storage_count &&
    total_storage_size_in_gbs == other.total_storage_size_in_gbs &&
    available_storage_size_in_gbs == other.available_storage_size_in_gbs &&
    cpu_count == other.cpu_count &&
    max_cpu_count == other.max_cpu_count &&
    memory_size_in_gbs == other.memory_size_in_gbs &&
    max_memory_in_gbs == other.max_memory_in_gbs &&
    db_node_storage_size_in_gbs == other.db_node_storage_size_in_gbs &&
    max_db_node_storage_in_gbs == other.max_db_node_storage_in_gbs &&
    data_storage_size_in_tbs == other.data_storage_size_in_tbs &&
    max_data_storage_in_tbs == other.max_data_storage_in_tbs &&
    additional_storage_count == other.additional_storage_count &&
    activated_storage_count == other.activated_storage_count &&
    time_created == other.time_created &&
    lifecycle_details == other.lifecycle_details &&
    maintenance_window == other.maintenance_window &&
    last_maintenance_run_id == other.last_maintenance_run_id &&
    next_maintenance_run_id == other.next_maintenance_run_id &&
    freeform_tags == other.freeform_tags &&
    defined_tags == other.defined_tags &&
    system_tags == other.system_tags &&
    customer_contacts == other.customer_contacts &&
    storage_server_version == other.storage_server_version &&
    db_server_version == other.db_server_version &&
    monthly_storage_server_version == other.monthly_storage_server_version &&
    monthly_db_server_version == other.monthly_db_server_version &&
    defined_file_system_configurations == other.defined_file_system_configurations &&
    is_scheduling_policy_associated == other.is_scheduling_policy_associated &&
    database_server_type == other.database_server_type &&
    storage_server_type == other.storage_server_type &&
    compute_model == other.compute_model
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 690

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)

  self.class.swagger_types.each_pair do |key, type|
    if type =~ /^Array<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        public_method("#{key}=").call(
          attributes[self.class.attribute_map[key]]
            .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
        )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      public_method("#{key}=").call(
        OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
      )
    end
    # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(other) ⇒ Boolean

Parameters:

  • other (Object)

    the other object to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


670
671
672
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 670

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



679
680
681
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 679

def hash
  [id, compartment_id, cluster_placement_group_id, subscription_id, lifecycle_state, display_name, shape, availability_domain, compute_count, storage_count, total_storage_size_in_gbs, available_storage_size_in_gbs, cpu_count, max_cpu_count, memory_size_in_gbs, max_memory_in_gbs, db_node_storage_size_in_gbs, max_db_node_storage_in_gbs, data_storage_size_in_tbs, max_data_storage_in_tbs, additional_storage_count, activated_storage_count, time_created, lifecycle_details, maintenance_window, last_maintenance_run_id, next_maintenance_run_id, freeform_tags, defined_tags, system_tags, customer_contacts, storage_server_version, db_server_version, monthly_storage_server_version, monthly_db_server_version, defined_file_system_configurations, is_scheduling_policy_associated, database_server_type, storage_server_type, compute_model].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



723
724
725
726
727
728
729
730
731
732
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 723

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = public_method(attr).call
    next if value.nil? && !instance_variable_defined?("@#{attr}")

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



717
718
719
# File 'lib/oci/database/models/cloud_exadata_infrastructure.rb', line 717

def to_s
  to_hash.to_s
end