oci 2.23.0 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/oci/analytics/analytics.rb +5 -0
- data/lib/oci/analytics/analytics_client.rb +422 -52
- data/lib/oci/analytics/analytics_client_composite_operations.rb +188 -27
- data/lib/oci/analytics/models/analytics_instance.rb +32 -15
- data/lib/oci/analytics/models/analytics_instance_summary.rb +9 -8
- data/lib/oci/analytics/models/capacity.rb +2 -2
- data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +8 -6
- data/lib/oci/analytics/models/create_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/create_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/create_vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/feature_bundle.rb +1 -0
- data/lib/oci/analytics/models/instance_resource_group.rb +200 -0
- data/lib/oci/analytics/models/instance_resource_group_summary.rb +200 -0
- data/lib/oci/analytics/models/private_access_channel.rb +13 -13
- data/lib/oci/analytics/models/private_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/private_source_dns_zone.rb +3 -3
- data/lib/oci/analytics/models/private_source_scan_host.rb +4 -4
- data/lib/oci/analytics/models/public_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/resource_group_sort_by.rb +17 -0
- data/lib/oci/analytics/models/set_feature_bundle_details.rb +1 -0
- data/lib/oci/analytics/models/set_kms_key_details.rb +2 -2
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +3 -3
- data/lib/oci/analytics/models/update_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/update_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/update_vanity_url_details.rb +4 -4
- data/lib/oci/analytics/models/vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/work_request.rb +4 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +4 -1
- data/lib/oci/analytics/models/work_request_error.rb +2 -2
- data/lib/oci/analytics/models/work_request_log.rb +1 -1
- data/lib/oci/analytics/models/work_request_operation_type.rb +5 -1
- data/lib/oci/analytics/models/work_request_resource.rb +4 -1
- data/lib/oci/analytics/models/work_request_summary.rb +4 -0
- data/lib/oci/apiaccesscontrol/api_metadata_client.rb +8 -6
- data/lib/oci/apiaccesscontrol/apiaccesscontrol.rb +1 -0
- data/lib/oci/apiaccesscontrol/models/api_metadata.rb +12 -2
- data/lib/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_detail.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_group_level.rb +169 -0
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_control_details.rb +17 -3
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_request_details.rb +1 -1
- data/lib/oci/apiaccesscontrol/models/privileged_api_control.rb +15 -2
- data/lib/oci/apiaccesscontrol/models/privileged_api_control_summary.rb +0 -1
- data/lib/oci/apiaccesscontrol/models/update_privileged_api_control_details.rb +16 -2
- data/lib/oci/apiaccesscontrol/privileged_api_control_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_requests_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_work_request_client.rb +4 -3
- data/lib/oci/core/core.rb +5 -0
- data/lib/oci/core/models/boot_volume_backup.rb +87 -4
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +50 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +71 -4
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +21 -4
- data/lib/oci/core/models/create_virtual_circuit_details.rb +63 -4
- data/lib/oci/core/models/create_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/cross_connect.rb +43 -1
- data/lib/oci/core/models/cross_connect_group.rb +63 -4
- data/lib/oci/core/models/dedicated_vm_host.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +18 -1
- data/lib/oci/core/models/instances.rb +140 -0
- data/lib/oci/core/models/letter_of_authority.rb +31 -4
- data/lib/oci/core/models/loa_extension_data.rb +170 -0
- data/lib/oci/core/models/provider_remote_region_name.rb +174 -0
- data/lib/oci/core/models/retention_duration.rb +189 -0
- data/lib/oci/core/models/supported_capabilities.rb +21 -4
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_cross_connect_details.rb +32 -4
- data/lib/oci/core/models/update_cross_connect_group_details.rb +49 -4
- data/lib/oci/core/models/update_cross_connect_letter_of_authority_details.rb +195 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +30 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/virtual_circuit.rb +80 -1
- data/lib/oci/core/models/volume_backup.rb +87 -4
- data/lib/oci/core/models/volume_backup_schedule.rb +45 -4
- data/lib/oci/core/models/volume_group_backup.rb +73 -4
- data/lib/oci/core/virtual_network_client.rb +136 -2
- data/lib/oci/database/database.rb +13 -0
- data/lib/oci/database/database_client.rb +923 -111
- data/lib/oci/database/database_client_composite_operations.rb +283 -0
- data/lib/oci/database/models/basecc_vm_cluster.rb +713 -0
- data/lib/oci/database/models/basecc_vm_cluster_summary.rb +716 -0
- data/lib/oci/database/models/basecc_vm_cluster_update.rb +342 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_details.rb +198 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry.rb +318 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry_summary.rb +321 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database/models/change_basecc_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/cloud_vm_cluster.rb +28 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/create_basecc_vm_cluster_details.rb +506 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +2 -1
- data/lib/oci/database/models/database_software_image.rb +1 -0
- data/lib/oci/database/models/database_software_image_summary.rb +1 -0
- data/lib/oci/database/models/exadata_live_image_version_details.rb +216 -0
- data/lib/oci/database/models/exadb_vm_cluster.rb +53 -4
- data/lib/oci/database/models/exadb_vm_cluster_summary.rb +53 -4
- data/lib/oci/database/models/register_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/update.rb +94 -1
- data/lib/oci/database/models/update_basecc_vm_cluster_details.rb +345 -0
- data/lib/oci/database/models/update_details.rb +33 -1
- data/lib/oci/database/models/update_history_entry.rb +39 -1
- data/lib/oci/database/models/update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/update_summary.rb +94 -1
- data/lib/oci/database/models/vm_cluster.rb +28 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/vm_cluster_update.rb +94 -1
- data/lib/oci/database/models/vm_cluster_update_details.rb +33 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_summary.rb +94 -1
- data/lib/oci/file_storage/models/file_system.rb +37 -4
- data/lib/oci/file_storage/models/file_system_summary.rb +37 -4
- data/lib/oci/file_storage/models/snapshot.rb +19 -4
- data/lib/oci/file_storage/models/snapshot_summary.rb +19 -4
- data/lib/oci/generative_ai/models/create_dedicated_ai_cluster_details.rb +3 -0
- data/lib/oci/generative_ai/models/dedicated_ai_cluster.rb +2 -0
- data/lib/oci/golden_gate/golden_gate.rb +29 -0
- data/lib/oci/golden_gate/golden_gate_client.rb +185 -6
- data/lib/oci/golden_gate/models/ai_model_auth_details.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_details_summary.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_type.rb +13 -0
- data/lib/oci/golden_gate/models/ai_model_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_model_connection.rb +350 -0
- data/lib/oci/golden_gate/models/ai_model_connection_summary.rb +333 -0
- data/lib/oci/golden_gate/models/ai_model_summary.rb +216 -0
- data/lib/oci/golden_gate/models/ai_provider_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_provider_summary.rb +249 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_connection.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage_summary.rb +1 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details_summary.rb +181 -0
- data/lib/oci/golden_gate/models/connection.rb +43 -6
- data/lib/oci/golden_gate/models/connection_assignment.rb +63 -1
- data/lib/oci/golden_gate/models/connection_assignment_summary.rb +64 -1
- data/lib/oci/golden_gate/models/connection_summary.rb +42 -6
- data/lib/oci/golden_gate/models/connection_type.rb +2 -1
- data/lib/oci/golden_gate/models/create_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/create_ai_model_connection_details.rb +298 -0
- data/lib/oci/golden_gate/models/create_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/create_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/create_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/create_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/create_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_iceberg_connection_details.rb +1 -0
- data/lib/oci/golden_gate/models/create_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/create_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/create_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/create_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/create_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/create_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/create_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/create_snowflake_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/deployment_type_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_storage.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_summary.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_type.rb +3 -1
- data/lib/oci/golden_gate/models/kafka_connection.rb +1 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage.rb +148 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage_summary.rb +148 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details_summary.rb +224 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage.rb +209 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage_summary.rb +209 -0
- data/lib/oci/golden_gate/models/oracle_connection.rb +4 -1
- data/lib/oci/golden_gate/models/oracle_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/technology_type.rb +6 -1
- data/lib/oci/golden_gate/models/update_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/update_ai_model_connection_details.rb +237 -0
- data/lib/oci/golden_gate/models/update_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/update_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/update_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/update_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/update_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/update_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/update_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/update_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/update_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/update_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/update_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/update_snowflake_connection_details.rb +9 -3
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/version.rb +1 -1
- metadata +55 -2
|
@@ -16,6 +16,14 @@ module OCI
|
|
|
16
16
|
UPDATE_ACTION_ROLLBACK = 'ROLLBACK'.freeze
|
|
17
17
|
].freeze
|
|
18
18
|
|
|
19
|
+
UPDATE_MODE_ENUM = [
|
|
20
|
+
UPDATE_MODE_ONLINE_HIGHCVSS = 'ONLINE_HIGHCVSS'.freeze,
|
|
21
|
+
UPDATE_MODE_ONLINE_ALLCVSS = 'ONLINE_ALLCVSS'.freeze,
|
|
22
|
+
UPDATE_MODE_ONLINE_ALL_UPDATES = 'ONLINE_ALL_UPDATES'.freeze,
|
|
23
|
+
UPDATE_MODE_PENDING_UPDATES = 'PENDING_UPDATES'.freeze,
|
|
24
|
+
UPDATE_MODE_FULL_UPDATE = 'FULL_UPDATE'.freeze
|
|
25
|
+
].freeze
|
|
26
|
+
|
|
19
27
|
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update.
|
|
20
28
|
# @return [String]
|
|
21
29
|
attr_accessor :update_id
|
|
@@ -24,6 +32,10 @@ module OCI
|
|
|
24
32
|
# @return [String]
|
|
25
33
|
attr_reader :update_action
|
|
26
34
|
|
|
35
|
+
# The update mode to perform for OS Update.
|
|
36
|
+
# @return [String]
|
|
37
|
+
attr_reader :update_mode
|
|
38
|
+
|
|
27
39
|
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a grid infrastructure software image. This is a database software image of the type `GRID_IMAGE`.
|
|
28
40
|
# @return [String]
|
|
29
41
|
attr_accessor :gi_software_image_id
|
|
@@ -34,6 +46,7 @@ module OCI
|
|
|
34
46
|
# rubocop:disable Style/SymbolLiteral
|
|
35
47
|
'update_id': :'updateId',
|
|
36
48
|
'update_action': :'updateAction',
|
|
49
|
+
'update_mode': :'updateMode',
|
|
37
50
|
'gi_software_image_id': :'giSoftwareImageId'
|
|
38
51
|
# rubocop:enable Style/SymbolLiteral
|
|
39
52
|
}
|
|
@@ -45,6 +58,7 @@ module OCI
|
|
|
45
58
|
# rubocop:disable Style/SymbolLiteral
|
|
46
59
|
'update_id': :'String',
|
|
47
60
|
'update_action': :'String',
|
|
61
|
+
'update_mode': :'String',
|
|
48
62
|
'gi_software_image_id': :'String'
|
|
49
63
|
# rubocop:enable Style/SymbolLiteral
|
|
50
64
|
}
|
|
@@ -58,6 +72,7 @@ module OCI
|
|
|
58
72
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
59
73
|
# @option attributes [String] :update_id The value to assign to the {#update_id} property
|
|
60
74
|
# @option attributes [String] :update_action The value to assign to the {#update_action} property
|
|
75
|
+
# @option attributes [String] :update_mode The value to assign to the {#update_mode} property
|
|
61
76
|
# @option attributes [String] :gi_software_image_id The value to assign to the {#gi_software_image_id} property
|
|
62
77
|
def initialize(attributes = {})
|
|
63
78
|
return unless attributes.is_a?(Hash)
|
|
@@ -77,6 +92,14 @@ module OCI
|
|
|
77
92
|
|
|
78
93
|
self.update_action = attributes[:'update_action'] if attributes[:'update_action']
|
|
79
94
|
|
|
95
|
+
self.update_mode = attributes[:'updateMode'] if attributes[:'updateMode']
|
|
96
|
+
self.update_mode = "FULL_UPDATE" if update_mode.nil? && !attributes.key?(:'updateMode') # rubocop:disable Style/StringLiterals
|
|
97
|
+
|
|
98
|
+
raise 'You cannot provide both :updateMode and :update_mode' if attributes.key?(:'updateMode') && attributes.key?(:'update_mode')
|
|
99
|
+
|
|
100
|
+
self.update_mode = attributes[:'update_mode'] if attributes[:'update_mode']
|
|
101
|
+
self.update_mode = "FULL_UPDATE" if update_mode.nil? && !attributes.key?(:'updateMode') && !attributes.key?(:'update_mode') # rubocop:disable Style/StringLiterals
|
|
102
|
+
|
|
80
103
|
self.gi_software_image_id = attributes[:'giSoftwareImageId'] if attributes[:'giSoftwareImageId']
|
|
81
104
|
|
|
82
105
|
raise 'You cannot provide both :giSoftwareImageId and :gi_software_image_id' if attributes.key?(:'giSoftwareImageId') && attributes.key?(:'gi_software_image_id')
|
|
@@ -94,6 +117,14 @@ module OCI
|
|
|
94
117
|
@update_action = update_action
|
|
95
118
|
end
|
|
96
119
|
|
|
120
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
121
|
+
# @param [Object] update_mode Object to be assigned
|
|
122
|
+
def update_mode=(update_mode)
|
|
123
|
+
raise "Invalid value for 'update_mode': this must be one of the values in UPDATE_MODE_ENUM." if update_mode && !UPDATE_MODE_ENUM.include?(update_mode)
|
|
124
|
+
|
|
125
|
+
@update_mode = update_mode
|
|
126
|
+
end
|
|
127
|
+
|
|
97
128
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
98
129
|
|
|
99
130
|
|
|
@@ -105,6 +136,7 @@ module OCI
|
|
|
105
136
|
self.class == other.class &&
|
|
106
137
|
update_id == other.update_id &&
|
|
107
138
|
update_action == other.update_action &&
|
|
139
|
+
update_mode == other.update_mode &&
|
|
108
140
|
gi_software_image_id == other.gi_software_image_id
|
|
109
141
|
end
|
|
110
142
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
@@ -121,7 +153,7 @@ module OCI
|
|
|
121
153
|
# Calculates hash code according to all attributes.
|
|
122
154
|
# @return [Fixnum] Hash code
|
|
123
155
|
def hash
|
|
124
|
-
[update_id, update_action, gi_software_image_id].hash
|
|
156
|
+
[update_id, update_action, update_mode, gi_software_image_id].hash
|
|
125
157
|
end
|
|
126
158
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
127
159
|
|
|
@@ -17,6 +17,17 @@ module OCI
|
|
|
17
17
|
UPDATE_ACTION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
18
18
|
].freeze
|
|
19
19
|
|
|
20
|
+
UPDATE_MODE_ENUM = [
|
|
21
|
+
UPDATE_MODE_ONLINE_HIGHCVSS = 'ONLINE_HIGHCVSS'.freeze,
|
|
22
|
+
UPDATE_MODE_ONLINE_ALLCVSS = 'ONLINE_ALLCVSS'.freeze,
|
|
23
|
+
UPDATE_MODE_ONLINE_ALL_UPDATES = 'ONLINE_ALL_UPDATES'.freeze,
|
|
24
|
+
UPDATE_MODE_PENDING_UPDATES_HIGHCVSS = 'PENDING_UPDATES_HIGHCVSS'.freeze,
|
|
25
|
+
UPDATE_MODE_PENDING_UPDATES_ALLCVSS = 'PENDING_UPDATES_ALLCVSS'.freeze,
|
|
26
|
+
UPDATE_MODE_PENDING_ALL_UPDATES = 'PENDING_ALL_UPDATES'.freeze,
|
|
27
|
+
UPDATE_MODE_FULL_UPDATE = 'FULL_UPDATE'.freeze,
|
|
28
|
+
UPDATE_MODE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
29
|
+
].freeze
|
|
30
|
+
|
|
20
31
|
UPDATE_TYPE_ENUM = [
|
|
21
32
|
UPDATE_TYPE_GI_UPGRADE = 'GI_UPGRADE'.freeze,
|
|
22
33
|
UPDATE_TYPE_GI_PATCH = 'GI_PATCH'.freeze,
|
|
@@ -43,6 +54,10 @@ module OCI
|
|
|
43
54
|
# @return [String]
|
|
44
55
|
attr_reader :update_action
|
|
45
56
|
|
|
57
|
+
# The OS update mode performed using this maintenance update.
|
|
58
|
+
# @return [String]
|
|
59
|
+
attr_reader :update_mode
|
|
60
|
+
|
|
46
61
|
# **[Required]** The type of cloud VM cluster maintenance update.
|
|
47
62
|
# @return [String]
|
|
48
63
|
attr_reader :update_type
|
|
@@ -71,6 +86,7 @@ module OCI
|
|
|
71
86
|
'id': :'id',
|
|
72
87
|
'update_id': :'updateId',
|
|
73
88
|
'update_action': :'updateAction',
|
|
89
|
+
'update_mode': :'updateMode',
|
|
74
90
|
'update_type': :'updateType',
|
|
75
91
|
'lifecycle_state': :'lifecycleState',
|
|
76
92
|
'lifecycle_details': :'lifecycleDetails',
|
|
@@ -87,6 +103,7 @@ module OCI
|
|
|
87
103
|
'id': :'String',
|
|
88
104
|
'update_id': :'String',
|
|
89
105
|
'update_action': :'String',
|
|
106
|
+
'update_mode': :'String',
|
|
90
107
|
'update_type': :'String',
|
|
91
108
|
'lifecycle_state': :'String',
|
|
92
109
|
'lifecycle_details': :'String',
|
|
@@ -105,6 +122,7 @@ module OCI
|
|
|
105
122
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
106
123
|
# @option attributes [String] :update_id The value to assign to the {#update_id} property
|
|
107
124
|
# @option attributes [String] :update_action The value to assign to the {#update_action} property
|
|
125
|
+
# @option attributes [String] :update_mode The value to assign to the {#update_mode} property
|
|
108
126
|
# @option attributes [String] :update_type The value to assign to the {#update_type} property
|
|
109
127
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
110
128
|
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
|
@@ -127,6 +145,12 @@ module OCI
|
|
|
127
145
|
|
|
128
146
|
self.update_action = attributes[:'update_action'] if attributes[:'update_action']
|
|
129
147
|
|
|
148
|
+
self.update_mode = attributes[:'updateMode'] if attributes[:'updateMode']
|
|
149
|
+
|
|
150
|
+
raise 'You cannot provide both :updateMode and :update_mode' if attributes.key?(:'updateMode') && attributes.key?(:'update_mode')
|
|
151
|
+
|
|
152
|
+
self.update_mode = attributes[:'update_mode'] if attributes[:'update_mode']
|
|
153
|
+
|
|
130
154
|
self.update_type = attributes[:'updateType'] if attributes[:'updateType']
|
|
131
155
|
|
|
132
156
|
raise 'You cannot provide both :updateType and :update_type' if attributes.key?(:'updateType') && attributes.key?(:'update_type')
|
|
@@ -173,6 +197,19 @@ module OCI
|
|
|
173
197
|
# rubocop:enable Style/ConditionalAssignment
|
|
174
198
|
end
|
|
175
199
|
|
|
200
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
201
|
+
# @param [Object] update_mode Object to be assigned
|
|
202
|
+
def update_mode=(update_mode)
|
|
203
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
204
|
+
if update_mode && !UPDATE_MODE_ENUM.include?(update_mode)
|
|
205
|
+
OCI.logger.debug("Unknown value for 'update_mode' [" + update_mode + "]. Mapping to 'UPDATE_MODE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
206
|
+
@update_mode = UPDATE_MODE_UNKNOWN_ENUM_VALUE
|
|
207
|
+
else
|
|
208
|
+
@update_mode = update_mode
|
|
209
|
+
end
|
|
210
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
211
|
+
end
|
|
212
|
+
|
|
176
213
|
# Custom attribute writer method checking allowed values (enum).
|
|
177
214
|
# @param [Object] update_type Object to be assigned
|
|
178
215
|
def update_type=(update_type)
|
|
@@ -211,6 +248,7 @@ module OCI
|
|
|
211
248
|
id == other.id &&
|
|
212
249
|
update_id == other.update_id &&
|
|
213
250
|
update_action == other.update_action &&
|
|
251
|
+
update_mode == other.update_mode &&
|
|
214
252
|
update_type == other.update_type &&
|
|
215
253
|
lifecycle_state == other.lifecycle_state &&
|
|
216
254
|
lifecycle_details == other.lifecycle_details &&
|
|
@@ -231,7 +269,7 @@ module OCI
|
|
|
231
269
|
# Calculates hash code according to all attributes.
|
|
232
270
|
# @return [Fixnum] Hash code
|
|
233
271
|
def hash
|
|
234
|
-
[id, update_id, update_action, update_type, lifecycle_state, lifecycle_details, time_started, time_completed].hash
|
|
272
|
+
[id, update_id, update_action, update_mode, update_type, lifecycle_state, lifecycle_details, time_started, time_completed].hash
|
|
235
273
|
end
|
|
236
274
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
237
275
|
|
|
@@ -18,6 +18,17 @@ module OCI
|
|
|
18
18
|
UPDATE_ACTION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
19
19
|
].freeze
|
|
20
20
|
|
|
21
|
+
UPDATE_MODE_ENUM = [
|
|
22
|
+
UPDATE_MODE_ONLINE_HIGHCVSS = 'ONLINE_HIGHCVSS'.freeze,
|
|
23
|
+
UPDATE_MODE_ONLINE_ALLCVSS = 'ONLINE_ALLCVSS'.freeze,
|
|
24
|
+
UPDATE_MODE_ONLINE_ALL_UPDATES = 'ONLINE_ALL_UPDATES'.freeze,
|
|
25
|
+
UPDATE_MODE_PENDING_UPDATES_HIGHCVSS = 'PENDING_UPDATES_HIGHCVSS'.freeze,
|
|
26
|
+
UPDATE_MODE_PENDING_UPDATES_ALLCVSS = 'PENDING_UPDATES_ALLCVSS'.freeze,
|
|
27
|
+
UPDATE_MODE_PENDING_ALL_UPDATES = 'PENDING_ALL_UPDATES'.freeze,
|
|
28
|
+
UPDATE_MODE_FULL_UPDATE = 'FULL_UPDATE'.freeze,
|
|
29
|
+
UPDATE_MODE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
30
|
+
].freeze
|
|
31
|
+
|
|
21
32
|
UPDATE_TYPE_ENUM = [
|
|
22
33
|
UPDATE_TYPE_GI_UPGRADE = 'GI_UPGRADE'.freeze,
|
|
23
34
|
UPDATE_TYPE_GI_PATCH = 'GI_PATCH'.freeze,
|
|
@@ -44,6 +55,10 @@ module OCI
|
|
|
44
55
|
# @return [String]
|
|
45
56
|
attr_reader :update_action
|
|
46
57
|
|
|
58
|
+
# The OS update mode performed using this maintenance update.
|
|
59
|
+
# @return [String]
|
|
60
|
+
attr_reader :update_mode
|
|
61
|
+
|
|
47
62
|
# **[Required]** The type of cloud VM cluster maintenance update.
|
|
48
63
|
# @return [String]
|
|
49
64
|
attr_reader :update_type
|
|
@@ -72,6 +87,7 @@ module OCI
|
|
|
72
87
|
'id': :'id',
|
|
73
88
|
'update_id': :'updateId',
|
|
74
89
|
'update_action': :'updateAction',
|
|
90
|
+
'update_mode': :'updateMode',
|
|
75
91
|
'update_type': :'updateType',
|
|
76
92
|
'lifecycle_state': :'lifecycleState',
|
|
77
93
|
'lifecycle_details': :'lifecycleDetails',
|
|
@@ -88,6 +104,7 @@ module OCI
|
|
|
88
104
|
'id': :'String',
|
|
89
105
|
'update_id': :'String',
|
|
90
106
|
'update_action': :'String',
|
|
107
|
+
'update_mode': :'String',
|
|
91
108
|
'update_type': :'String',
|
|
92
109
|
'lifecycle_state': :'String',
|
|
93
110
|
'lifecycle_details': :'String',
|
|
@@ -106,6 +123,7 @@ module OCI
|
|
|
106
123
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
107
124
|
# @option attributes [String] :update_id The value to assign to the {#update_id} property
|
|
108
125
|
# @option attributes [String] :update_action The value to assign to the {#update_action} property
|
|
126
|
+
# @option attributes [String] :update_mode The value to assign to the {#update_mode} property
|
|
109
127
|
# @option attributes [String] :update_type The value to assign to the {#update_type} property
|
|
110
128
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
111
129
|
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
|
@@ -131,6 +149,12 @@ module OCI
|
|
|
131
149
|
|
|
132
150
|
self.update_action = attributes[:'update_action'] if attributes[:'update_action']
|
|
133
151
|
|
|
152
|
+
self.update_mode = attributes[:'updateMode'] if attributes[:'updateMode']
|
|
153
|
+
|
|
154
|
+
raise 'You cannot provide both :updateMode and :update_mode' if attributes.key?(:'updateMode') && attributes.key?(:'update_mode')
|
|
155
|
+
|
|
156
|
+
self.update_mode = attributes[:'update_mode'] if attributes[:'update_mode']
|
|
157
|
+
|
|
134
158
|
self.update_type = attributes[:'updateType'] if attributes[:'updateType']
|
|
135
159
|
|
|
136
160
|
raise 'You cannot provide both :updateType and :update_type' if attributes.key?(:'updateType') && attributes.key?(:'update_type')
|
|
@@ -177,6 +201,19 @@ module OCI
|
|
|
177
201
|
# rubocop:enable Style/ConditionalAssignment
|
|
178
202
|
end
|
|
179
203
|
|
|
204
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
205
|
+
# @param [Object] update_mode Object to be assigned
|
|
206
|
+
def update_mode=(update_mode)
|
|
207
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
208
|
+
if update_mode && !UPDATE_MODE_ENUM.include?(update_mode)
|
|
209
|
+
OCI.logger.debug("Unknown value for 'update_mode' [" + update_mode + "]. Mapping to 'UPDATE_MODE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
210
|
+
@update_mode = UPDATE_MODE_UNKNOWN_ENUM_VALUE
|
|
211
|
+
else
|
|
212
|
+
@update_mode = update_mode
|
|
213
|
+
end
|
|
214
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
215
|
+
end
|
|
216
|
+
|
|
180
217
|
# Custom attribute writer method checking allowed values (enum).
|
|
181
218
|
# @param [Object] update_type Object to be assigned
|
|
182
219
|
def update_type=(update_type)
|
|
@@ -215,6 +252,7 @@ module OCI
|
|
|
215
252
|
id == other.id &&
|
|
216
253
|
update_id == other.update_id &&
|
|
217
254
|
update_action == other.update_action &&
|
|
255
|
+
update_mode == other.update_mode &&
|
|
218
256
|
update_type == other.update_type &&
|
|
219
257
|
lifecycle_state == other.lifecycle_state &&
|
|
220
258
|
lifecycle_details == other.lifecycle_details &&
|
|
@@ -235,7 +273,7 @@ module OCI
|
|
|
235
273
|
# Calculates hash code according to all attributes.
|
|
236
274
|
# @return [Fixnum] Hash code
|
|
237
275
|
def hash
|
|
238
|
-
[id, update_id, update_action, update_type, lifecycle_state, lifecycle_details, time_started, time_completed].hash
|
|
276
|
+
[id, update_id, update_action, update_mode, update_type, lifecycle_state, lifecycle_details, time_started, time_completed].hash
|
|
239
277
|
end
|
|
240
278
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
241
279
|
|
|
@@ -30,6 +30,24 @@ module OCI
|
|
|
30
30
|
AVAILABLE_ACTIONS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
31
31
|
].freeze
|
|
32
32
|
|
|
33
|
+
LAST_UPDATE_MODE_ENUM = [
|
|
34
|
+
LAST_UPDATE_MODE_ONLINE_HIGHCVSS = 'ONLINE_HIGHCVSS'.freeze,
|
|
35
|
+
LAST_UPDATE_MODE_ONLINE_ALLCVSS = 'ONLINE_ALLCVSS'.freeze,
|
|
36
|
+
LAST_UPDATE_MODE_ONLINE_ALL_UPDATES = 'ONLINE_ALL_UPDATES'.freeze,
|
|
37
|
+
LAST_UPDATE_MODE_PENDING_UPDATES = 'PENDING_UPDATES'.freeze,
|
|
38
|
+
LAST_UPDATE_MODE_FULL_UPDATE = 'FULL_UPDATE'.freeze,
|
|
39
|
+
LAST_UPDATE_MODE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
40
|
+
].freeze
|
|
41
|
+
|
|
42
|
+
AVAILABLE_UPDATE_MODES_ENUM = [
|
|
43
|
+
AVAILABLE_UPDATE_MODES_ONLINE_HIGHCVSS = 'ONLINE_HIGHCVSS'.freeze,
|
|
44
|
+
AVAILABLE_UPDATE_MODES_ONLINE_ALLCVSS = 'ONLINE_ALLCVSS'.freeze,
|
|
45
|
+
AVAILABLE_UPDATE_MODES_ONLINE_ALL_UPDATES = 'ONLINE_ALL_UPDATES'.freeze,
|
|
46
|
+
AVAILABLE_UPDATE_MODES_PENDING_UPDATES = 'PENDING_UPDATES'.freeze,
|
|
47
|
+
AVAILABLE_UPDATE_MODES_FULL_UPDATE = 'FULL_UPDATE'.freeze,
|
|
48
|
+
AVAILABLE_UPDATE_MODES_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
49
|
+
].freeze
|
|
50
|
+
|
|
33
51
|
UPDATE_TYPE_ENUM = [
|
|
34
52
|
UPDATE_TYPE_GI_UPGRADE = 'GI_UPGRADE'.freeze,
|
|
35
53
|
UPDATE_TYPE_GI_PATCH = 'GI_PATCH'.freeze,
|
|
@@ -61,6 +79,18 @@ module OCI
|
|
|
61
79
|
# @return [Array<String>]
|
|
62
80
|
attr_reader :available_actions
|
|
63
81
|
|
|
82
|
+
# The previous update mode performed (only valid for OS Updates).
|
|
83
|
+
# @return [String]
|
|
84
|
+
attr_reader :last_update_mode
|
|
85
|
+
|
|
86
|
+
# The possible update options available (only valid for OS Update).
|
|
87
|
+
# @return [Array<String>]
|
|
88
|
+
attr_reader :available_update_modes
|
|
89
|
+
|
|
90
|
+
# Oracle Linux version for the respective Exadata Image.
|
|
91
|
+
# @return [String]
|
|
92
|
+
attr_accessor :oracle_linux_version
|
|
93
|
+
|
|
64
94
|
# **[Required]** The type of cloud VM cluster maintenance update.
|
|
65
95
|
# @return [String]
|
|
66
96
|
attr_reader :update_type
|
|
@@ -90,6 +120,9 @@ module OCI
|
|
|
90
120
|
'description': :'description',
|
|
91
121
|
'last_action': :'lastAction',
|
|
92
122
|
'available_actions': :'availableActions',
|
|
123
|
+
'last_update_mode': :'lastUpdateMode',
|
|
124
|
+
'available_update_modes': :'availableUpdateModes',
|
|
125
|
+
'oracle_linux_version': :'oracleLinuxVersion',
|
|
93
126
|
'update_type': :'updateType',
|
|
94
127
|
'lifecycle_details': :'lifecycleDetails',
|
|
95
128
|
'lifecycle_state': :'lifecycleState',
|
|
@@ -107,6 +140,9 @@ module OCI
|
|
|
107
140
|
'description': :'String',
|
|
108
141
|
'last_action': :'String',
|
|
109
142
|
'available_actions': :'Array<String>',
|
|
143
|
+
'last_update_mode': :'String',
|
|
144
|
+
'available_update_modes': :'Array<String>',
|
|
145
|
+
'oracle_linux_version': :'String',
|
|
110
146
|
'update_type': :'String',
|
|
111
147
|
'lifecycle_details': :'String',
|
|
112
148
|
'lifecycle_state': :'String',
|
|
@@ -126,6 +162,9 @@ module OCI
|
|
|
126
162
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
127
163
|
# @option attributes [String] :last_action The value to assign to the {#last_action} property
|
|
128
164
|
# @option attributes [Array<String>] :available_actions The value to assign to the {#available_actions} property
|
|
165
|
+
# @option attributes [String] :last_update_mode The value to assign to the {#last_update_mode} property
|
|
166
|
+
# @option attributes [Array<String>] :available_update_modes The value to assign to the {#available_update_modes} property
|
|
167
|
+
# @option attributes [String] :oracle_linux_version The value to assign to the {#oracle_linux_version} property
|
|
129
168
|
# @option attributes [String] :update_type The value to assign to the {#update_type} property
|
|
130
169
|
# @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
|
|
131
170
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
@@ -153,6 +192,24 @@ module OCI
|
|
|
153
192
|
|
|
154
193
|
self.available_actions = attributes[:'available_actions'] if attributes[:'available_actions']
|
|
155
194
|
|
|
195
|
+
self.last_update_mode = attributes[:'lastUpdateMode'] if attributes[:'lastUpdateMode']
|
|
196
|
+
|
|
197
|
+
raise 'You cannot provide both :lastUpdateMode and :last_update_mode' if attributes.key?(:'lastUpdateMode') && attributes.key?(:'last_update_mode')
|
|
198
|
+
|
|
199
|
+
self.last_update_mode = attributes[:'last_update_mode'] if attributes[:'last_update_mode']
|
|
200
|
+
|
|
201
|
+
self.available_update_modes = attributes[:'availableUpdateModes'] if attributes[:'availableUpdateModes']
|
|
202
|
+
|
|
203
|
+
raise 'You cannot provide both :availableUpdateModes and :available_update_modes' if attributes.key?(:'availableUpdateModes') && attributes.key?(:'available_update_modes')
|
|
204
|
+
|
|
205
|
+
self.available_update_modes = attributes[:'available_update_modes'] if attributes[:'available_update_modes']
|
|
206
|
+
|
|
207
|
+
self.oracle_linux_version = attributes[:'oracleLinuxVersion'] if attributes[:'oracleLinuxVersion']
|
|
208
|
+
|
|
209
|
+
raise 'You cannot provide both :oracleLinuxVersion and :oracle_linux_version' if attributes.key?(:'oracleLinuxVersion') && attributes.key?(:'oracle_linux_version')
|
|
210
|
+
|
|
211
|
+
self.oracle_linux_version = attributes[:'oracle_linux_version'] if attributes[:'oracle_linux_version']
|
|
212
|
+
|
|
156
213
|
self.update_type = attributes[:'updateType'] if attributes[:'updateType']
|
|
157
214
|
|
|
158
215
|
raise 'You cannot provide both :updateType and :update_type' if attributes.key?(:'updateType') && attributes.key?(:'update_type')
|
|
@@ -215,6 +272,39 @@ module OCI
|
|
|
215
272
|
# rubocop:enable Style/ConditionalAssignment
|
|
216
273
|
end
|
|
217
274
|
|
|
275
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
276
|
+
# @param [Object] last_update_mode Object to be assigned
|
|
277
|
+
def last_update_mode=(last_update_mode)
|
|
278
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
279
|
+
if last_update_mode && !LAST_UPDATE_MODE_ENUM.include?(last_update_mode)
|
|
280
|
+
OCI.logger.debug("Unknown value for 'last_update_mode' [" + last_update_mode + "]. Mapping to 'LAST_UPDATE_MODE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
281
|
+
@last_update_mode = LAST_UPDATE_MODE_UNKNOWN_ENUM_VALUE
|
|
282
|
+
else
|
|
283
|
+
@last_update_mode = last_update_mode
|
|
284
|
+
end
|
|
285
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
289
|
+
# @param [Object] available_update_modes Object to be assigned
|
|
290
|
+
def available_update_modes=(available_update_modes)
|
|
291
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
292
|
+
if available_update_modes.nil?
|
|
293
|
+
@available_update_modes = nil
|
|
294
|
+
else
|
|
295
|
+
@available_update_modes =
|
|
296
|
+
available_update_modes.collect do |item|
|
|
297
|
+
if AVAILABLE_UPDATE_MODES_ENUM.include?(item)
|
|
298
|
+
item
|
|
299
|
+
else
|
|
300
|
+
OCI.logger.debug("Unknown value for 'available_update_modes' [#{item}]. Mapping to 'AVAILABLE_UPDATE_MODES_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
301
|
+
AVAILABLE_UPDATE_MODES_UNKNOWN_ENUM_VALUE
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
306
|
+
end
|
|
307
|
+
|
|
218
308
|
# Custom attribute writer method checking allowed values (enum).
|
|
219
309
|
# @param [Object] update_type Object to be assigned
|
|
220
310
|
def update_type=(update_type)
|
|
@@ -254,6 +344,9 @@ module OCI
|
|
|
254
344
|
description == other.description &&
|
|
255
345
|
last_action == other.last_action &&
|
|
256
346
|
available_actions == other.available_actions &&
|
|
347
|
+
last_update_mode == other.last_update_mode &&
|
|
348
|
+
available_update_modes == other.available_update_modes &&
|
|
349
|
+
oracle_linux_version == other.oracle_linux_version &&
|
|
257
350
|
update_type == other.update_type &&
|
|
258
351
|
lifecycle_details == other.lifecycle_details &&
|
|
259
352
|
lifecycle_state == other.lifecycle_state &&
|
|
@@ -274,7 +367,7 @@ module OCI
|
|
|
274
367
|
# Calculates hash code according to all attributes.
|
|
275
368
|
# @return [Fixnum] Hash code
|
|
276
369
|
def hash
|
|
277
|
-
[id, description, last_action, available_actions, update_type, lifecycle_details, lifecycle_state, time_released, version].hash
|
|
370
|
+
[id, description, last_action, available_actions, last_update_mode, available_update_modes, oracle_linux_version, update_type, lifecycle_details, lifecycle_state, time_released, version].hash
|
|
278
371
|
end
|
|
279
372
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
280
373
|
|
|
@@ -118,6 +118,13 @@ module OCI
|
|
|
118
118
|
# @return [Integer]
|
|
119
119
|
attr_accessor :sparse_storage_percentage
|
|
120
120
|
|
|
121
|
+
# @return [OCI::Database::Models::ExadataLiveImageVersionDetails]
|
|
122
|
+
attr_accessor :live_image_version_details
|
|
123
|
+
|
|
124
|
+
# Oracle Linux version for the respective Exadata Image.
|
|
125
|
+
# @return [String]
|
|
126
|
+
attr_accessor :oracle_linux_version
|
|
127
|
+
|
|
121
128
|
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VM cluster network.
|
|
122
129
|
# @return [String]
|
|
123
130
|
attr_accessor :vm_cluster_network_id
|
|
@@ -252,6 +259,8 @@ module OCI
|
|
|
252
259
|
'data_storage_percentage': :'dataStoragePercentage',
|
|
253
260
|
'reco_storage_percentage': :'recoStoragePercentage',
|
|
254
261
|
'sparse_storage_percentage': :'sparseStoragePercentage',
|
|
262
|
+
'live_image_version_details': :'liveImageVersionDetails',
|
|
263
|
+
'oracle_linux_version': :'oracleLinuxVersion',
|
|
255
264
|
'vm_cluster_network_id': :'vmClusterNetworkId',
|
|
256
265
|
'cpus_enabled': :'cpusEnabled',
|
|
257
266
|
'ocpus_enabled': :'ocpusEnabled',
|
|
@@ -301,6 +310,8 @@ module OCI
|
|
|
301
310
|
'data_storage_percentage': :'Integer',
|
|
302
311
|
'reco_storage_percentage': :'Integer',
|
|
303
312
|
'sparse_storage_percentage': :'Integer',
|
|
313
|
+
'live_image_version_details': :'OCI::Database::Models::ExadataLiveImageVersionDetails',
|
|
314
|
+
'oracle_linux_version': :'String',
|
|
304
315
|
'vm_cluster_network_id': :'String',
|
|
305
316
|
'cpus_enabled': :'Integer',
|
|
306
317
|
'ocpus_enabled': :'Float',
|
|
@@ -352,6 +363,8 @@ module OCI
|
|
|
352
363
|
# @option attributes [Integer] :data_storage_percentage The value to assign to the {#data_storage_percentage} property
|
|
353
364
|
# @option attributes [Integer] :reco_storage_percentage The value to assign to the {#reco_storage_percentage} property
|
|
354
365
|
# @option attributes [Integer] :sparse_storage_percentage The value to assign to the {#sparse_storage_percentage} property
|
|
366
|
+
# @option attributes [OCI::Database::Models::ExadataLiveImageVersionDetails] :live_image_version_details The value to assign to the {#live_image_version_details} property
|
|
367
|
+
# @option attributes [String] :oracle_linux_version The value to assign to the {#oracle_linux_version} property
|
|
355
368
|
# @option attributes [String] :vm_cluster_network_id The value to assign to the {#vm_cluster_network_id} property
|
|
356
369
|
# @option attributes [Integer] :cpus_enabled The value to assign to the {#cpus_enabled} property
|
|
357
370
|
# @option attributes [Float] :ocpus_enabled The value to assign to the {#ocpus_enabled} property
|
|
@@ -462,6 +475,18 @@ module OCI
|
|
|
462
475
|
|
|
463
476
|
self.sparse_storage_percentage = attributes[:'sparse_storage_percentage'] if attributes[:'sparse_storage_percentage']
|
|
464
477
|
|
|
478
|
+
self.live_image_version_details = attributes[:'liveImageVersionDetails'] if attributes[:'liveImageVersionDetails']
|
|
479
|
+
|
|
480
|
+
raise 'You cannot provide both :liveImageVersionDetails and :live_image_version_details' if attributes.key?(:'liveImageVersionDetails') && attributes.key?(:'live_image_version_details')
|
|
481
|
+
|
|
482
|
+
self.live_image_version_details = attributes[:'live_image_version_details'] if attributes[:'live_image_version_details']
|
|
483
|
+
|
|
484
|
+
self.oracle_linux_version = attributes[:'oracleLinuxVersion'] if attributes[:'oracleLinuxVersion']
|
|
485
|
+
|
|
486
|
+
raise 'You cannot provide both :oracleLinuxVersion and :oracle_linux_version' if attributes.key?(:'oracleLinuxVersion') && attributes.key?(:'oracle_linux_version')
|
|
487
|
+
|
|
488
|
+
self.oracle_linux_version = attributes[:'oracle_linux_version'] if attributes[:'oracle_linux_version']
|
|
489
|
+
|
|
465
490
|
self.vm_cluster_network_id = attributes[:'vmClusterNetworkId'] if attributes[:'vmClusterNetworkId']
|
|
466
491
|
|
|
467
492
|
raise 'You cannot provide both :vmClusterNetworkId and :vm_cluster_network_id' if attributes.key?(:'vmClusterNetworkId') && attributes.key?(:'vm_cluster_network_id')
|
|
@@ -739,6 +764,8 @@ module OCI
|
|
|
739
764
|
data_storage_percentage == other.data_storage_percentage &&
|
|
740
765
|
reco_storage_percentage == other.reco_storage_percentage &&
|
|
741
766
|
sparse_storage_percentage == other.sparse_storage_percentage &&
|
|
767
|
+
live_image_version_details == other.live_image_version_details &&
|
|
768
|
+
oracle_linux_version == other.oracle_linux_version &&
|
|
742
769
|
vm_cluster_network_id == other.vm_cluster_network_id &&
|
|
743
770
|
cpus_enabled == other.cpus_enabled &&
|
|
744
771
|
ocpus_enabled == other.ocpus_enabled &&
|
|
@@ -781,7 +808,7 @@ module OCI
|
|
|
781
808
|
# Calculates hash code according to all attributes.
|
|
782
809
|
# @return [Fixnum] Hash code
|
|
783
810
|
def hash
|
|
784
|
-
[id, compartment_id, last_patch_history_entry_id, lifecycle_state, display_name, time_created, lifecycle_details, time_zone, is_local_backup_enabled, exadata_infrastructure_id, is_sparse_diskgroup_enabled, data_storage_percentage, reco_storage_percentage, sparse_storage_percentage, vm_cluster_network_id, cpus_enabled, ocpus_enabled, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, data_storage_size_in_gbs, shape, gi_version, system_version, ssh_public_keys, license_model, db_servers, availability_domain, freeform_tags, defined_tags, system_tags, data_collection_options, gi_software_image_id, file_system_configuration_details, vm_cluster_type, cloud_automation_update_details, exascale_db_storage_vault_id, storage_management_type, compute_model, vm_file_system_storage_type, vm_backup_storage_type].hash
|
|
811
|
+
[id, compartment_id, last_patch_history_entry_id, lifecycle_state, display_name, time_created, lifecycle_details, time_zone, is_local_backup_enabled, exadata_infrastructure_id, is_sparse_diskgroup_enabled, data_storage_percentage, reco_storage_percentage, sparse_storage_percentage, live_image_version_details, oracle_linux_version, vm_cluster_network_id, cpus_enabled, ocpus_enabled, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, data_storage_size_in_gbs, shape, gi_version, system_version, ssh_public_keys, license_model, db_servers, availability_domain, freeform_tags, defined_tags, system_tags, data_collection_options, gi_software_image_id, file_system_configuration_details, vm_cluster_type, cloud_automation_update_details, exascale_db_storage_vault_id, storage_management_type, compute_model, vm_file_system_storage_type, vm_backup_storage_type].hash
|
|
785
812
|
end
|
|
786
813
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
787
814
|
|
|
@@ -118,6 +118,13 @@ module OCI
|
|
|
118
118
|
# @return [Integer]
|
|
119
119
|
attr_accessor :sparse_storage_percentage
|
|
120
120
|
|
|
121
|
+
# @return [OCI::Database::Models::ExadataLiveImageVersionDetails]
|
|
122
|
+
attr_accessor :live_image_version_details
|
|
123
|
+
|
|
124
|
+
# Oracle Linux version for the respective Exadata Image.
|
|
125
|
+
# @return [String]
|
|
126
|
+
attr_accessor :oracle_linux_version
|
|
127
|
+
|
|
121
128
|
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VM cluster network.
|
|
122
129
|
# @return [String]
|
|
123
130
|
attr_accessor :vm_cluster_network_id
|
|
@@ -252,6 +259,8 @@ module OCI
|
|
|
252
259
|
'data_storage_percentage': :'dataStoragePercentage',
|
|
253
260
|
'reco_storage_percentage': :'recoStoragePercentage',
|
|
254
261
|
'sparse_storage_percentage': :'sparseStoragePercentage',
|
|
262
|
+
'live_image_version_details': :'liveImageVersionDetails',
|
|
263
|
+
'oracle_linux_version': :'oracleLinuxVersion',
|
|
255
264
|
'vm_cluster_network_id': :'vmClusterNetworkId',
|
|
256
265
|
'cpus_enabled': :'cpusEnabled',
|
|
257
266
|
'ocpus_enabled': :'ocpusEnabled',
|
|
@@ -301,6 +310,8 @@ module OCI
|
|
|
301
310
|
'data_storage_percentage': :'Integer',
|
|
302
311
|
'reco_storage_percentage': :'Integer',
|
|
303
312
|
'sparse_storage_percentage': :'Integer',
|
|
313
|
+
'live_image_version_details': :'OCI::Database::Models::ExadataLiveImageVersionDetails',
|
|
314
|
+
'oracle_linux_version': :'String',
|
|
304
315
|
'vm_cluster_network_id': :'String',
|
|
305
316
|
'cpus_enabled': :'Integer',
|
|
306
317
|
'ocpus_enabled': :'Float',
|
|
@@ -352,6 +363,8 @@ module OCI
|
|
|
352
363
|
# @option attributes [Integer] :data_storage_percentage The value to assign to the {#data_storage_percentage} property
|
|
353
364
|
# @option attributes [Integer] :reco_storage_percentage The value to assign to the {#reco_storage_percentage} property
|
|
354
365
|
# @option attributes [Integer] :sparse_storage_percentage The value to assign to the {#sparse_storage_percentage} property
|
|
366
|
+
# @option attributes [OCI::Database::Models::ExadataLiveImageVersionDetails] :live_image_version_details The value to assign to the {#live_image_version_details} property
|
|
367
|
+
# @option attributes [String] :oracle_linux_version The value to assign to the {#oracle_linux_version} property
|
|
355
368
|
# @option attributes [String] :vm_cluster_network_id The value to assign to the {#vm_cluster_network_id} property
|
|
356
369
|
# @option attributes [Integer] :cpus_enabled The value to assign to the {#cpus_enabled} property
|
|
357
370
|
# @option attributes [Float] :ocpus_enabled The value to assign to the {#ocpus_enabled} property
|
|
@@ -465,6 +478,18 @@ module OCI
|
|
|
465
478
|
|
|
466
479
|
self.sparse_storage_percentage = attributes[:'sparse_storage_percentage'] if attributes[:'sparse_storage_percentage']
|
|
467
480
|
|
|
481
|
+
self.live_image_version_details = attributes[:'liveImageVersionDetails'] if attributes[:'liveImageVersionDetails']
|
|
482
|
+
|
|
483
|
+
raise 'You cannot provide both :liveImageVersionDetails and :live_image_version_details' if attributes.key?(:'liveImageVersionDetails') && attributes.key?(:'live_image_version_details')
|
|
484
|
+
|
|
485
|
+
self.live_image_version_details = attributes[:'live_image_version_details'] if attributes[:'live_image_version_details']
|
|
486
|
+
|
|
487
|
+
self.oracle_linux_version = attributes[:'oracleLinuxVersion'] if attributes[:'oracleLinuxVersion']
|
|
488
|
+
|
|
489
|
+
raise 'You cannot provide both :oracleLinuxVersion and :oracle_linux_version' if attributes.key?(:'oracleLinuxVersion') && attributes.key?(:'oracle_linux_version')
|
|
490
|
+
|
|
491
|
+
self.oracle_linux_version = attributes[:'oracle_linux_version'] if attributes[:'oracle_linux_version']
|
|
492
|
+
|
|
468
493
|
self.vm_cluster_network_id = attributes[:'vmClusterNetworkId'] if attributes[:'vmClusterNetworkId']
|
|
469
494
|
|
|
470
495
|
raise 'You cannot provide both :vmClusterNetworkId and :vm_cluster_network_id' if attributes.key?(:'vmClusterNetworkId') && attributes.key?(:'vm_cluster_network_id')
|
|
@@ -742,6 +767,8 @@ module OCI
|
|
|
742
767
|
data_storage_percentage == other.data_storage_percentage &&
|
|
743
768
|
reco_storage_percentage == other.reco_storage_percentage &&
|
|
744
769
|
sparse_storage_percentage == other.sparse_storage_percentage &&
|
|
770
|
+
live_image_version_details == other.live_image_version_details &&
|
|
771
|
+
oracle_linux_version == other.oracle_linux_version &&
|
|
745
772
|
vm_cluster_network_id == other.vm_cluster_network_id &&
|
|
746
773
|
cpus_enabled == other.cpus_enabled &&
|
|
747
774
|
ocpus_enabled == other.ocpus_enabled &&
|
|
@@ -784,7 +811,7 @@ module OCI
|
|
|
784
811
|
# Calculates hash code according to all attributes.
|
|
785
812
|
# @return [Fixnum] Hash code
|
|
786
813
|
def hash
|
|
787
|
-
[id, compartment_id, last_patch_history_entry_id, lifecycle_state, display_name, time_created, lifecycle_details, time_zone, is_local_backup_enabled, exadata_infrastructure_id, is_sparse_diskgroup_enabled, data_storage_percentage, reco_storage_percentage, sparse_storage_percentage, vm_cluster_network_id, cpus_enabled, ocpus_enabled, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, data_storage_size_in_gbs, shape, gi_version, system_version, ssh_public_keys, license_model, db_servers, availability_domain, freeform_tags, defined_tags, system_tags, data_collection_options, gi_software_image_id, file_system_configuration_details, vm_cluster_type, cloud_automation_update_details, exascale_db_storage_vault_id, storage_management_type, compute_model, vm_file_system_storage_type, vm_backup_storage_type].hash
|
|
814
|
+
[id, compartment_id, last_patch_history_entry_id, lifecycle_state, display_name, time_created, lifecycle_details, time_zone, is_local_backup_enabled, exadata_infrastructure_id, is_sparse_diskgroup_enabled, data_storage_percentage, reco_storage_percentage, sparse_storage_percentage, live_image_version_details, oracle_linux_version, vm_cluster_network_id, cpus_enabled, ocpus_enabled, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, data_storage_size_in_gbs, shape, gi_version, system_version, ssh_public_keys, license_model, db_servers, availability_domain, freeform_tags, defined_tags, system_tags, data_collection_options, gi_software_image_id, file_system_configuration_details, vm_cluster_type, cloud_automation_update_details, exascale_db_storage_vault_id, storage_management_type, compute_model, vm_file_system_storage_type, vm_backup_storage_type].hash
|
|
788
815
|
end
|
|
789
816
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
790
817
|
|