oci 2.5.1 → 2.5.2
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 +17 -2
- data/lib/oci.rb +1 -0
- data/lib/oci/autoscaling/auto_scaling_client.rb +5 -5
- data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +2 -2
- data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -2
- data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -2
- data/lib/oci/budget/budget.rb +33 -0
- data/lib/oci/budget/budget_client.rb +767 -0
- data/lib/oci/budget/budget_client_composite_operations.rb +224 -0
- data/lib/oci/budget/models/alert_rule.rb +398 -0
- data/lib/oci/budget/models/alert_rule_summary.rb +396 -0
- data/lib/oci/budget/models/alert_type.rb +10 -0
- data/lib/oci/budget/models/budget.rb +413 -0
- data/lib/oci/budget/models/budget_summary.rb +413 -0
- data/lib/oci/budget/models/create_alert_rule_details.rb +288 -0
- data/lib/oci/budget/models/create_budget_details.rb +267 -0
- data/lib/oci/budget/models/lifecycle_state.rb +10 -0
- data/lib/oci/budget/models/reset_period.rb +9 -0
- data/lib/oci/budget/models/sort_by.rb +10 -0
- data/lib/oci/budget/models/sort_order.rb +10 -0
- data/lib/oci/budget/models/threshold_type.rb +10 -0
- data/lib/oci/budget/models/update_alert_rule_details.rb +288 -0
- data/lib/oci/budget/models/update_budget_details.rb +239 -0
- data/lib/oci/budget/util.rb +2 -0
- data/lib/oci/core/blockstorage_client.rb +35 -35
- data/lib/oci/core/compute_client.rb +41 -41
- data/lib/oci/core/compute_management_client.rb +6 -6
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +1 -1
- data/lib/oci/core/models/attach_vnic_details.rb +1 -1
- data/lib/oci/core/models/boot_volume.rb +4 -4
- data/lib/oci/core/models/boot_volume_backup.rb +4 -4
- data/lib/oci/core/models/capture_console_history_details.rb +2 -2
- data/lib/oci/core/models/console_history.rb +2 -2
- data/lib/oci/core/models/cpe.rb +4 -4
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/create_boot_volume_details.rb +2 -2
- data/lib/oci/core/models/create_cpe_details.rb +2 -2
- data/lib/oci/core/models/create_dhcp_details.rb +2 -2
- data/lib/oci/core/models/create_drg_attachment_details.rb +1 -1
- data/lib/oci/core/models/create_drg_details.rb +2 -2
- data/lib/oci/core/models/create_image_details.rb +2 -2
- data/lib/oci/core/models/create_instance_configuration_details.rb +2 -2
- data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -2
- data/lib/oci/core/models/create_instance_pool_details.rb +2 -2
- data/lib/oci/core/models/create_internet_gateway_details.rb +2 -2
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +3 -3
- data/lib/oci/core/models/create_nat_gateway_details.rb +4 -4
- data/lib/oci/core/models/create_private_ip_details.rb +3 -3
- data/lib/oci/core/models/create_public_ip_details.rb +3 -3
- data/lib/oci/core/models/create_route_table_details.rb +2 -2
- data/lib/oci/core/models/create_security_list_details.rb +2 -2
- data/lib/oci/core/models/create_service_gateway_details.rb +4 -4
- data/lib/oci/core/models/create_subnet_details.rb +3 -3
- data/lib/oci/core/models/create_vcn_details.rb +3 -3
- data/lib/oci/core/models/create_vnic_details.rb +7 -7
- data/lib/oci/core/models/create_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/create_volume_details.rb +2 -2
- data/lib/oci/core/models/create_volume_group_backup_details.rb +2 -2
- data/lib/oci/core/models/create_volume_group_details.rb +2 -2
- data/lib/oci/core/models/cross_connect.rb +2 -2
- data/lib/oci/core/models/cross_connect_group.rb +2 -2
- data/lib/oci/core/models/dhcp_dns_option.rb +2 -2
- data/lib/oci/core/models/dhcp_option.rb +2 -2
- data/lib/oci/core/models/dhcp_options.rb +5 -5
- data/lib/oci/core/models/dhcp_search_domain_option.rb +1 -1
- data/lib/oci/core/models/drg.rb +4 -4
- data/lib/oci/core/models/drg_attachment.rb +2 -2
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -2
- data/lib/oci/core/models/fast_connect_provider_service.rb +1 -1
- data/lib/oci/core/models/image.rb +4 -4
- data/lib/oci/core/models/instance.rb +5 -5
- data/lib/oci/core/models/instance_configuration.rb +2 -2
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_create_volume_details.rb +2 -2
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +3 -3
- data/lib/oci/core/models/instance_console_connection.rb +3 -3
- data/lib/oci/core/models/instance_pool.rb +2 -2
- data/lib/oci/core/models/internet_gateway.rb +4 -4
- data/lib/oci/core/models/ip_sec_connection.rb +4 -4
- data/lib/oci/core/models/launch_instance_details.rb +3 -3
- data/lib/oci/core/models/local_peering_gateway.rb +5 -5
- data/lib/oci/core/models/nat_gateway.rb +7 -7
- data/lib/oci/core/models/peer_region_for_remote_peering.rb +1 -1
- data/lib/oci/core/models/private_ip.rb +5 -5
- data/lib/oci/core/models/public_ip.rb +4 -4
- data/lib/oci/core/models/remote_peering_connection.rb +2 -2
- data/lib/oci/core/models/route_rule.rb +1 -1
- data/lib/oci/core/models/route_table.rb +4 -4
- data/lib/oci/core/models/security_list.rb +4 -4
- data/lib/oci/core/models/service.rb +1 -1
- data/lib/oci/core/models/service_gateway.rb +7 -7
- data/lib/oci/core/models/service_id_request_details.rb +1 -1
- data/lib/oci/core/models/service_id_response_details.rb +1 -1
- data/lib/oci/core/models/shape.rb +1 -1
- data/lib/oci/core/models/subnet.rb +7 -7
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/update_boot_volume_details.rb +2 -2
- data/lib/oci/core/models/update_console_history_details.rb +2 -2
- data/lib/oci/core/models/update_cpe_details.rb +2 -2
- data/lib/oci/core/models/update_dhcp_details.rb +2 -2
- data/lib/oci/core/models/update_drg_attachment_details.rb +1 -1
- data/lib/oci/core/models/update_drg_details.rb +2 -2
- data/lib/oci/core/models/update_image_details.rb +2 -2
- data/lib/oci/core/models/update_instance_configuration_details.rb +2 -2
- data/lib/oci/core/models/update_instance_details.rb +2 -2
- data/lib/oci/core/models/update_instance_pool_details.rb +2 -2
- data/lib/oci/core/models/update_internet_gateway_details.rb +2 -2
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +3 -3
- data/lib/oci/core/models/update_nat_gateway_details.rb +2 -2
- data/lib/oci/core/models/update_private_ip_details.rb +3 -3
- data/lib/oci/core/models/update_public_ip_details.rb +2 -2
- data/lib/oci/core/models/update_route_table_details.rb +2 -2
- data/lib/oci/core/models/update_security_list_details.rb +2 -2
- data/lib/oci/core/models/update_service_gateway_details.rb +2 -2
- data/lib/oci/core/models/update_subnet_details.rb +2 -2
- data/lib/oci/core/models/update_vcn_details.rb +2 -2
- data/lib/oci/core/models/update_vnic_details.rb +4 -4
- data/lib/oci/core/models/update_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/update_volume_details.rb +2 -2
- data/lib/oci/core/models/update_volume_group_backup_details.rb +2 -2
- data/lib/oci/core/models/update_volume_group_details.rb +2 -2
- data/lib/oci/core/models/vcn.rb +6 -6
- data/lib/oci/core/models/virtual_circuit.rb +4 -4
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +1 -1
- data/lib/oci/core/models/vnic.rb +7 -7
- data/lib/oci/core/models/vnic_attachment.rb +2 -2
- data/lib/oci/core/models/volume.rb +4 -4
- data/lib/oci/core/models/volume_attachment.rb +1 -1
- data/lib/oci/core/models/volume_backup.rb +4 -4
- data/lib/oci/core/models/volume_group.rb +3 -3
- data/lib/oci/core/models/volume_group_backup.rb +4 -4
- data/lib/oci/core/virtual_network_client.rb +121 -121
- data/lib/oci/core/virtual_network_client_composite_operations.rb +6 -6
- data/lib/oci/database/database.rb +4 -0
- data/lib/oci/database/database_client.rb +202 -78
- data/lib/oci/database/database_client_composite_operations.rb +65 -25
- data/lib/oci/database/models/autonomous_data_warehouse.rb +4 -4
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +4 -4
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +4 -4
- data/lib/oci/database/models/autonomous_database.rb +43 -8
- data/lib/oci/database/models/autonomous_database_backup.rb +3 -3
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +4 -4
- data/lib/oci/database/models/autonomous_database_summary.rb +43 -8
- data/lib/oci/database/models/backup.rb +3 -3
- data/lib/oci/database/models/backup_summary.rb +4 -4
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +3 -3
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +33 -4
- data/lib/oci/database/models/create_backup_details.rb +1 -1
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +1 -1
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +1 -1
- data/lib/oci/database/models/create_database_details.rb +2 -2
- data/lib/oci/database/models/create_database_from_backup_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +1 -1
- data/lib/oci/database/models/create_external_backup_job_details.rb +1 -1
- data/lib/oci/database/models/data_guard_association.rb +6 -6
- data/lib/oci/database/models/data_guard_association_summary.rb +9 -9
- data/lib/oci/database/models/database.rb +5 -5
- data/lib/oci/database/models/database_summary.rb +7 -7
- data/lib/oci/database/models/db_backup_config.rb +1 -1
- data/lib/oci/database/models/db_home.rb +4 -4
- data/lib/oci/database/models/db_home_summary.rb +6 -6
- data/lib/oci/database/models/db_iorm_config.rb +181 -0
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +166 -0
- data/lib/oci/database/models/db_node.rb +4 -4
- data/lib/oci/database/models/db_node_summary.rb +5 -5
- data/lib/oci/database/models/db_system.rb +41 -11
- data/lib/oci/database/models/db_system_shape_summary.rb +2 -2
- data/lib/oci/database/models/db_system_summary.rb +30 -16
- data/lib/oci/database/models/db_version_summary.rb +1 -1
- data/lib/oci/database/models/exadata_iorm_config.rb +247 -0
- data/lib/oci/database/models/exadata_iorm_config_update_details.rb +186 -0
- data/lib/oci/database/models/external_backup_job.rb +2 -2
- data/lib/oci/database/models/launch_db_system_base.rb +24 -10
- data/lib/oci/database/models/launch_db_system_details.rb +5 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +5 -1
- data/lib/oci/database/models/patch.rb +1 -1
- data/lib/oci/database/models/patch_details.rb +1 -1
- data/lib/oci/database/models/patch_history_entry.rb +2 -2
- data/lib/oci/database/models/patch_history_entry_summary.rb +2 -2
- data/lib/oci/database/models/patch_summary.rb +2 -2
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -2
- data/lib/oci/database/models/update_autonomous_database_details.rb +2 -2
- data/lib/oci/database/models/update_database_details.rb +2 -2
- data/lib/oci/database/models/update_db_system_details.rb +2 -2
- data/lib/oci/dns/dns_client.rb +1 -1
- data/lib/oci/dns/models/create_steering_policy_details.rb +1 -1
- data/lib/oci/dns/models/create_zone_details.rb +1 -1
- data/lib/oci/dns/models/record.rb +1 -1
- data/lib/oci/dns/models/record_details.rb +1 -1
- data/lib/oci/dns/models/record_operation.rb +1 -1
- data/lib/oci/dns/models/steering_policy.rb +1 -1
- data/lib/oci/dns/models/steering_policy_summary.rb +1 -1
- data/lib/oci/dns/models/update_steering_policy_details.rb +1 -1
- data/lib/oci/dns/models/update_zone_details.rb +1 -1
- data/lib/oci/dns/models/zone.rb +1 -1
- data/lib/oci/dns/models/zone_summary.rb +1 -1
- data/lib/oci/email/email_client.rb +3 -3
- data/lib/oci/email/models/create_sender_details.rb +2 -2
- data/lib/oci/email/models/sender.rb +2 -2
- data/lib/oci/email/models/sender_summary.rb +2 -2
- data/lib/oci/email/models/update_sender_details.rb +2 -2
- data/lib/oci/file_storage/file_storage_client.rb +14 -14
- data/lib/oci/file_storage/models/create_file_system_details.rb +2 -2
- data/lib/oci/file_storage/models/create_mount_target_details.rb +3 -3
- data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -2
- data/lib/oci/file_storage/models/export.rb +1 -1
- data/lib/oci/file_storage/models/file_system.rb +3 -3
- data/lib/oci/file_storage/models/mount_target.rb +2 -2
- data/lib/oci/file_storage/models/snapshot.rb +2 -2
- data/lib/oci/file_storage/models/update_file_system_details.rb +2 -2
- data/lib/oci/file_storage/models/update_mount_target_details.rb +2 -2
- data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -2
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -2
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -2
- data/lib/oci/healthchecks/models/http_monitor.rb +2 -2
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +2 -2
- data/lib/oci/healthchecks/models/ping_monitor.rb +2 -2
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +2 -2
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -2
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -2
- data/lib/oci/identity/identity.rb +7 -0
- data/lib/oci/identity/identity_client.rb +461 -36
- data/lib/oci/identity/identity_client_composite_operations.rb +119 -0
- data/lib/oci/identity/models/api_key.rb +2 -2
- data/lib/oci/identity/models/auth_token.rb +1 -1
- data/lib/oci/identity/models/authentication_policy.rb +168 -0
- data/lib/oci/identity/models/availability_domain.rb +1 -1
- data/lib/oci/identity/models/compartment.rb +5 -5
- data/lib/oci/identity/models/create_compartment_details.rb +2 -2
- data/lib/oci/identity/models/create_dynamic_group_details.rb +1 -1
- data/lib/oci/identity/models/create_group_details.rb +2 -2
- data/lib/oci/identity/models/create_identity_provider_details.rb +2 -2
- data/lib/oci/identity/models/create_policy_details.rb +4 -4
- data/lib/oci/identity/models/create_tag_default_details.rb +180 -0
- data/lib/oci/identity/models/create_tag_details.rb +2 -2
- data/lib/oci/identity/models/create_tag_namespace_details.rb +2 -2
- data/lib/oci/identity/models/create_user_details.rb +13 -3
- data/lib/oci/identity/models/customer_secret_key.rb +2 -2
- data/lib/oci/identity/models/dynamic_group.rb +2 -2
- data/lib/oci/identity/models/group.rb +5 -5
- data/lib/oci/identity/models/identity_provider.rb +4 -4
- data/lib/oci/identity/models/idp_group_mapping.rb +1 -1
- data/lib/oci/identity/models/mfa_totp_device.rb +20 -9
- data/lib/oci/identity/models/mfa_totp_device_summary.rb +7 -1
- data/lib/oci/identity/models/password_policy.rb +234 -0
- data/lib/oci/identity/models/policy.rb +4 -4
- data/lib/oci/identity/models/region.rb +2 -2
- data/lib/oci/identity/models/region_subscription.rb +2 -2
- data/lib/oci/identity/models/saml2_identity_provider.rb +1 -1
- data/lib/oci/identity/models/smtp_credential.rb +1 -1
- data/lib/oci/identity/models/smtp_credential_summary.rb +1 -1
- data/lib/oci/identity/models/swift_password.rb +1 -1
- data/lib/oci/identity/models/tag.rb +4 -4
- data/lib/oci/identity/models/tag_default.rb +280 -0
- data/lib/oci/identity/models/tag_default_summary.rb +274 -0
- data/lib/oci/identity/models/tag_namespace.rb +4 -4
- data/lib/oci/identity/models/tag_namespace_summary.rb +3 -3
- data/lib/oci/identity/models/tag_summary.rb +3 -3
- data/lib/oci/identity/models/tenancy.rb +4 -4
- data/lib/oci/identity/models/ui_password.rb +1 -1
- data/lib/oci/identity/models/update_authentication_policy_details.rb +154 -0
- data/lib/oci/identity/models/update_compartment_details.rb +2 -2
- data/lib/oci/identity/models/update_dynamic_group_details.rb +1 -1
- data/lib/oci/identity/models/update_group_details.rb +2 -2
- data/lib/oci/identity/models/update_identity_provider_details.rb +2 -2
- data/lib/oci/identity/models/update_policy_details.rb +4 -4
- data/lib/oci/identity/models/update_tag_default_details.rb +150 -0
- data/lib/oci/identity/models/update_tag_details.rb +3 -3
- data/lib/oci/identity/models/update_tag_namespace_details.rb +3 -3
- data/lib/oci/identity/models/update_user_details.rb +13 -3
- data/lib/oci/identity/models/user.rb +19 -7
- data/lib/oci/load_balancer/load_balancer_client.rb +64 -64
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +23 -23
- data/lib/oci/load_balancer/models/backend.rb +2 -2
- data/lib/oci/load_balancer/models/backend_details.rb +1 -1
- data/lib/oci/load_balancer/models/backend_set.rb +1 -1
- data/lib/oci/load_balancer/models/backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/certificate.rb +1 -1
- data/lib/oci/load_balancer/models/certificate_details.rb +1 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +2 -2
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_certificate_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_hostname_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +6 -6
- data/lib/oci/load_balancer/models/health_check_result.rb +1 -1
- data/lib/oci/load_balancer/models/health_checker.rb +1 -1
- data/lib/oci/load_balancer/models/hostname.rb +1 -1
- data/lib/oci/load_balancer/models/hostname_details.rb +1 -1
- data/lib/oci/load_balancer/models/listener.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +11 -11
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +1 -1
- data/lib/oci/load_balancer/models/path_match_type.rb +1 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_backend_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -2
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -2
- data/lib/oci/load_balancer/models/work_request.rb +3 -3
- data/lib/oci/monitoring/models/alarm.rb +10 -10
- data/lib/oci/monitoring/models/alarm_history_collection.rb +1 -1
- data/lib/oci/monitoring/models/alarm_status_summary.rb +5 -5
- data/lib/oci/monitoring/models/alarm_summary.rb +10 -10
- data/lib/oci/monitoring/models/create_alarm_details.rb +5 -5
- data/lib/oci/monitoring/models/metric.rb +2 -2
- data/lib/oci/monitoring/models/metric_data.rb +2 -2
- data/lib/oci/monitoring/models/metric_data_details.rb +1 -1
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +2 -2
- data/lib/oci/monitoring/models/suppression.rb +1 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +5 -5
- data/lib/oci/monitoring/monitoring_client.rb +20 -20
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -2
- data/lib/oci/object_storage/models/bucket.rb +4 -4
- data/lib/oci/object_storage/models/bucket_summary.rb +3 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +1 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +1 -1
- data/lib/oci/object_storage/models/copy_object_details.rb +1 -1
- data/lib/oci/object_storage/models/create_bucket_details.rb +3 -3
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +1 -1
- data/lib/oci/object_storage/models/list_objects.rb +1 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +2 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +1 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +1 -1
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +2 -2
- data/lib/oci/object_storage/models/object_summary.rb +1 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +2 -2
- data/lib/oci/object_storage/models/rename_object_details.rb +1 -1
- data/lib/oci/object_storage/models/update_bucket_details.rb +3 -3
- data/lib/oci/object_storage/object_storage_client.rb +3 -3
- data/lib/oci/ons/models/confirmation_result.rb +2 -2
- data/lib/oci/ons/models/create_subscription_details.rb +4 -4
- data/lib/oci/ons/models/create_topic_details.rb +3 -3
- data/lib/oci/ons/models/notification_topic.rb +4 -4
- data/lib/oci/ons/models/notification_topic_summary.rb +4 -4
- data/lib/oci/ons/models/subscription.rb +3 -3
- data/lib/oci/ons/models/subscription_summary.rb +4 -4
- data/lib/oci/ons/models/topic_attributes_details.rb +2 -2
- data/lib/oci/ons/models/update_subscription_details.rb +2 -2
- data/lib/oci/ons/notification_control_plane_client.rb +9 -9
- data/lib/oci/ons/notification_data_plane_client.rb +10 -10
- data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +1 -1
- data/lib/oci/regions.rb +1 -0
- data/lib/oci/resource_manager/models/create_job_details.rb +2 -2
- data/lib/oci/resource_manager/models/create_stack_details.rb +2 -2
- data/lib/oci/resource_manager/models/job.rb +2 -2
- data/lib/oci/resource_manager/models/job_summary.rb +2 -2
- data/lib/oci/resource_manager/models/stack.rb +2 -2
- data/lib/oci/resource_manager/models/stack_summary.rb +2 -2
- data/lib/oci/resource_manager/models/update_job_details.rb +2 -2
- data/lib/oci/resource_manager/models/update_stack_details.rb +2 -2
- data/lib/oci/resource_manager/resource_manager_client.rb +6 -6
- data/lib/oci/streaming/models/create_stream_details.rb +2 -2
- data/lib/oci/streaming/models/stream.rb +2 -2
- data/lib/oci/streaming/models/stream_summary.rb +2 -2
- data/lib/oci/streaming/models/update_stream_details.rb +2 -2
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/certificate.rb +2 -2
- data/lib/oci/waas/models/certificate_summary.rb +2 -2
- data/lib/oci/waas/models/create_certificate_details.rb +1 -1
- data/lib/oci/waas/models/create_waas_policy_details.rb +1 -1
- data/lib/oci/waas/models/update_waas_policy_details.rb +1 -1
- data/lib/oci/waas/models/waas_policy.rb +2 -2
- data/lib/oci/waas/models/waas_policy_summary.rb +2 -2
- data/lib/oci/waas/models/work_request.rb +3 -3
- data/lib/oci/waas/models/work_request_resource.rb +1 -1
- data/lib/oci/waas/models/work_request_summary.rb +2 -2
- data/lib/oci/waas/waas_client.rb +53 -53
- data/lib/oci/waas/waas_client_composite_operations.rb +18 -18
- metadata +31 -2
|
@@ -22,7 +22,7 @@ module OCI
|
|
|
22
22
|
# @return [String]
|
|
23
23
|
attr_accessor :availability_domain
|
|
24
24
|
|
|
25
|
-
# **[Required]** The [OCID](https://docs.
|
|
25
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where this backup should be created.
|
|
26
26
|
# @return [String]
|
|
27
27
|
attr_accessor :compartment_id
|
|
28
28
|
|
|
@@ -45,11 +45,11 @@ module OCI
|
|
|
45
45
|
TRANSPORT_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
46
46
|
].freeze
|
|
47
47
|
|
|
48
|
-
# **[Required]** The [OCID](https://docs.
|
|
48
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Data Guard association.
|
|
49
49
|
# @return [String]
|
|
50
50
|
attr_accessor :id
|
|
51
51
|
|
|
52
|
-
# **[Required]** The [OCID](https://docs.
|
|
52
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the reporting database.
|
|
53
53
|
# @return [String]
|
|
54
54
|
attr_accessor :database_id
|
|
55
55
|
|
|
@@ -66,22 +66,22 @@ module OCI
|
|
|
66
66
|
# @return [String]
|
|
67
67
|
attr_accessor :lifecycle_details
|
|
68
68
|
|
|
69
|
-
# **[Required]** The [OCID](https://docs.
|
|
69
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system containing the associated
|
|
70
70
|
# peer database.
|
|
71
71
|
#
|
|
72
72
|
# @return [String]
|
|
73
73
|
attr_accessor :peer_db_system_id
|
|
74
74
|
|
|
75
|
-
# The [OCID](https://docs.
|
|
75
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database home containing the associated peer database.
|
|
76
76
|
#
|
|
77
77
|
# @return [String]
|
|
78
78
|
attr_accessor :peer_db_home_id
|
|
79
79
|
|
|
80
|
-
# The [OCID](https://docs.
|
|
80
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated peer database.
|
|
81
81
|
# @return [String]
|
|
82
82
|
attr_accessor :peer_database_id
|
|
83
83
|
|
|
84
|
-
# The [OCID](https://docs.
|
|
84
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the peer database's Data Guard association.
|
|
85
85
|
# @return [String]
|
|
86
86
|
attr_accessor :peer_data_guard_association_id
|
|
87
87
|
|
|
@@ -9,11 +9,11 @@ module OCI
|
|
|
9
9
|
#
|
|
10
10
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an
|
|
11
11
|
# administrator. If you're an administrator who needs to write policies to give users access, see
|
|
12
|
-
# [Getting Started with Policies](https://docs.
|
|
12
|
+
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
13
13
|
#
|
|
14
14
|
# For information about endpoints and signing API requests, see
|
|
15
|
-
# [About the API](https://docs.
|
|
16
|
-
# [SDKS and Other Tools](https://docs.
|
|
15
|
+
# [About the API](https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see
|
|
16
|
+
# [SDKS and Other Tools](https://docs.cloud.oracle.com/Content/API/Concepts/sdks.htm).
|
|
17
17
|
#
|
|
18
18
|
class Database::Models::DataGuardAssociationSummary # rubocop:disable Metrics/LineLength
|
|
19
19
|
ROLE_ENUM = [
|
|
@@ -54,11 +54,11 @@ module OCI
|
|
|
54
54
|
TRANSPORT_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
55
55
|
].freeze
|
|
56
56
|
|
|
57
|
-
# **[Required]** The [OCID](https://docs.
|
|
57
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Data Guard association.
|
|
58
58
|
# @return [String]
|
|
59
59
|
attr_accessor :id
|
|
60
60
|
|
|
61
|
-
# **[Required]** The [OCID](https://docs.
|
|
61
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the reporting database.
|
|
62
62
|
# @return [String]
|
|
63
63
|
attr_accessor :database_id
|
|
64
64
|
|
|
@@ -75,22 +75,22 @@ module OCI
|
|
|
75
75
|
# @return [String]
|
|
76
76
|
attr_accessor :lifecycle_details
|
|
77
77
|
|
|
78
|
-
# **[Required]** The [OCID](https://docs.
|
|
78
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system containing the associated
|
|
79
79
|
# peer database.
|
|
80
80
|
#
|
|
81
81
|
# @return [String]
|
|
82
82
|
attr_accessor :peer_db_system_id
|
|
83
83
|
|
|
84
|
-
# The [OCID](https://docs.
|
|
84
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database home containing the associated peer database.
|
|
85
85
|
#
|
|
86
86
|
# @return [String]
|
|
87
87
|
attr_accessor :peer_db_home_id
|
|
88
88
|
|
|
89
|
-
# The [OCID](https://docs.
|
|
89
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated peer database.
|
|
90
90
|
# @return [String]
|
|
91
91
|
attr_accessor :peer_database_id
|
|
92
92
|
|
|
93
|
-
# The [OCID](https://docs.
|
|
93
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the peer database's Data Guard association.
|
|
94
94
|
# @return [String]
|
|
95
95
|
attr_accessor :peer_data_guard_association_id
|
|
96
96
|
|
|
@@ -19,11 +19,11 @@ module OCI
|
|
|
19
19
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
20
20
|
].freeze
|
|
21
21
|
|
|
22
|
-
# **[Required]** The [OCID](https://docs.
|
|
22
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database.
|
|
23
23
|
# @return [String]
|
|
24
24
|
attr_accessor :id
|
|
25
25
|
|
|
26
|
-
# **[Required]** The [OCID](https://docs.
|
|
26
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
27
27
|
# @return [String]
|
|
28
28
|
attr_accessor :compartment_id
|
|
29
29
|
|
|
@@ -35,7 +35,7 @@ module OCI
|
|
|
35
35
|
# @return [String]
|
|
36
36
|
attr_accessor :ncharacter_set
|
|
37
37
|
|
|
38
|
-
# The [OCID](https://docs.
|
|
38
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database home.
|
|
39
39
|
# @return [String]
|
|
40
40
|
attr_accessor :db_home_id
|
|
41
41
|
|
|
@@ -72,7 +72,7 @@ module OCI
|
|
|
72
72
|
attr_accessor :db_backup_config
|
|
73
73
|
|
|
74
74
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
75
|
-
# For more information, see [Resource Tags](https://docs.
|
|
75
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
76
76
|
#
|
|
77
77
|
# Example: `{\"Department\": \"Finance\"}`
|
|
78
78
|
#
|
|
@@ -80,7 +80,7 @@ module OCI
|
|
|
80
80
|
attr_accessor :freeform_tags
|
|
81
81
|
|
|
82
82
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
83
|
-
# For more information, see [Resource Tags](https://docs.
|
|
83
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
84
84
|
#
|
|
85
85
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
86
86
|
#
|
|
@@ -5,9 +5,9 @@ require 'logger'
|
|
|
5
5
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
|
7
7
|
module OCI
|
|
8
|
-
# An Oracle Database on a bare metal or virtual machine DB system. For more information, see [Bare Metal and Virtual Machine DB Systems](https://docs.
|
|
8
|
+
# An Oracle Database on a bare metal or virtual machine DB system. For more information, see [Bare Metal and Virtual Machine DB Systems](https://docs.cloud.oracle.com/Content/Database/Concepts/overview.htm).
|
|
9
9
|
#
|
|
10
|
-
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.
|
|
10
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
11
11
|
#
|
|
12
12
|
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
13
13
|
#
|
|
@@ -24,11 +24,11 @@ module OCI
|
|
|
24
24
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
25
25
|
].freeze
|
|
26
26
|
|
|
27
|
-
# **[Required]** The [OCID](https://docs.
|
|
27
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database.
|
|
28
28
|
# @return [String]
|
|
29
29
|
attr_accessor :id
|
|
30
30
|
|
|
31
|
-
# **[Required]** The [OCID](https://docs.
|
|
31
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
32
32
|
# @return [String]
|
|
33
33
|
attr_accessor :compartment_id
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ module OCI
|
|
|
40
40
|
# @return [String]
|
|
41
41
|
attr_accessor :ncharacter_set
|
|
42
42
|
|
|
43
|
-
# The [OCID](https://docs.
|
|
43
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database home.
|
|
44
44
|
# @return [String]
|
|
45
45
|
attr_accessor :db_home_id
|
|
46
46
|
|
|
@@ -77,7 +77,7 @@ module OCI
|
|
|
77
77
|
attr_accessor :db_backup_config
|
|
78
78
|
|
|
79
79
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
80
|
-
# For more information, see [Resource Tags](https://docs.
|
|
80
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
81
81
|
#
|
|
82
82
|
# Example: `{\"Department\": \"Finance\"}`
|
|
83
83
|
#
|
|
@@ -85,7 +85,7 @@ module OCI
|
|
|
85
85
|
attr_accessor :freeform_tags
|
|
86
86
|
|
|
87
87
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
88
|
-
# For more information, see [Resource Tags](https://docs.
|
|
88
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
89
89
|
#
|
|
90
90
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
91
91
|
#
|
|
@@ -5,7 +5,7 @@ require 'date'
|
|
|
5
5
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
|
6
6
|
module OCI
|
|
7
7
|
# Backup Options
|
|
8
|
-
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.
|
|
8
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
9
9
|
#
|
|
10
10
|
class Database::Models::DbBackupConfig # rubocop:disable Metrics/LineLength
|
|
11
11
|
# If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
|
|
@@ -17,11 +17,11 @@ module OCI
|
|
|
17
17
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
18
18
|
].freeze
|
|
19
19
|
|
|
20
|
-
# **[Required]** The [OCID](https://docs.
|
|
20
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database home.
|
|
21
21
|
# @return [String]
|
|
22
22
|
attr_accessor :id
|
|
23
23
|
|
|
24
|
-
# **[Required]** The [OCID](https://docs.
|
|
24
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
25
25
|
# @return [String]
|
|
26
26
|
attr_accessor :compartment_id
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ module OCI
|
|
|
29
29
|
# @return [String]
|
|
30
30
|
attr_accessor :display_name
|
|
31
31
|
|
|
32
|
-
# The [OCID](https://docs.
|
|
32
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation is started.
|
|
33
33
|
# @return [String]
|
|
34
34
|
attr_accessor :last_patch_history_entry_id
|
|
35
35
|
|
|
@@ -37,7 +37,7 @@ module OCI
|
|
|
37
37
|
# @return [String]
|
|
38
38
|
attr_reader :lifecycle_state
|
|
39
39
|
|
|
40
|
-
# The [OCID](https://docs.
|
|
40
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
|
41
41
|
# @return [String]
|
|
42
42
|
attr_accessor :db_system_id
|
|
43
43
|
|
|
@@ -7,11 +7,11 @@ require 'logger'
|
|
|
7
7
|
module OCI
|
|
8
8
|
# A directory where Oracle Database software is installed. A bare metal DB system can have multiple database homes
|
|
9
9
|
# and each database home can run a different supported version of Oracle Database. A virtual machine DB system can have only one database home.
|
|
10
|
-
# For more information, see [Bare Metal and Virtual Machine DB Systems](https://docs.
|
|
10
|
+
# For more information, see [Bare Metal and Virtual Machine DB Systems](https://docs.cloud.oracle.com/Content/Database/Concepts/overview.htm).
|
|
11
11
|
#
|
|
12
12
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an
|
|
13
13
|
# administrator. If you're an administrator who needs to write policies to give users access,
|
|
14
|
-
# see [Getting Started with Policies](https://docs.
|
|
14
|
+
# see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
15
15
|
#
|
|
16
16
|
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
17
17
|
#
|
|
@@ -26,11 +26,11 @@ module OCI
|
|
|
26
26
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
27
27
|
].freeze
|
|
28
28
|
|
|
29
|
-
# **[Required]** The [OCID](https://docs.
|
|
29
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database home.
|
|
30
30
|
# @return [String]
|
|
31
31
|
attr_accessor :id
|
|
32
32
|
|
|
33
|
-
# **[Required]** The [OCID](https://docs.
|
|
33
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
34
34
|
# @return [String]
|
|
35
35
|
attr_accessor :compartment_id
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ module OCI
|
|
|
38
38
|
# @return [String]
|
|
39
39
|
attr_accessor :display_name
|
|
40
40
|
|
|
41
|
-
# The [OCID](https://docs.
|
|
41
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation is started.
|
|
42
42
|
# @return [String]
|
|
43
43
|
attr_accessor :last_patch_history_entry_id
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ module OCI
|
|
|
46
46
|
# @return [String]
|
|
47
47
|
attr_reader :lifecycle_state
|
|
48
48
|
|
|
49
|
-
# The [OCID](https://docs.
|
|
49
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
|
50
50
|
# @return [String]
|
|
51
51
|
attr_accessor :db_system_id
|
|
52
52
|
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
require 'date'
|
|
4
|
+
|
|
5
|
+
# rubocop:disable Lint/UnneededCopDisableDirective
|
|
6
|
+
module OCI
|
|
7
|
+
# IORM Config setting response for this database
|
|
8
|
+
#
|
|
9
|
+
class Database::Models::DbIormConfig # rubocop:disable Metrics/LineLength
|
|
10
|
+
# Database Name. For default DbPlan, the dbName will always be `default`
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
attr_accessor :db_name
|
|
14
|
+
|
|
15
|
+
# Relative priority of a database
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
attr_accessor :share
|
|
19
|
+
|
|
20
|
+
# Flash Cache limit, internally configured based on shares
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :flash_cache_limit
|
|
24
|
+
|
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
|
+
def self.attribute_map
|
|
27
|
+
{
|
|
28
|
+
# rubocop:disable Style/SymbolLiteral
|
|
29
|
+
'db_name': :'dbName',
|
|
30
|
+
'share': :'share',
|
|
31
|
+
'flash_cache_limit': :'flashCacheLimit'
|
|
32
|
+
# rubocop:enable Style/SymbolLiteral
|
|
33
|
+
}
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Attribute type mapping.
|
|
37
|
+
def self.swagger_types
|
|
38
|
+
{
|
|
39
|
+
# rubocop:disable Style/SymbolLiteral
|
|
40
|
+
'db_name': :'String',
|
|
41
|
+
'share': :'Integer',
|
|
42
|
+
'flash_cache_limit': :'String'
|
|
43
|
+
# rubocop:enable Style/SymbolLiteral
|
|
44
|
+
}
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
48
|
+
# rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
# Initializes the object
|
|
52
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
53
|
+
# @option attributes [String] :db_name The value to assign to the {#db_name} property
|
|
54
|
+
# @option attributes [Integer] :share The value to assign to the {#share} property
|
|
55
|
+
# @option attributes [String] :flash_cache_limit The value to assign to the {#flash_cache_limit} property
|
|
56
|
+
def initialize(attributes = {})
|
|
57
|
+
return unless attributes.is_a?(Hash)
|
|
58
|
+
|
|
59
|
+
# convert string to symbol for hash key
|
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
61
|
+
|
|
62
|
+
self.db_name = attributes[:'dbName'] if attributes[:'dbName']
|
|
63
|
+
|
|
64
|
+
raise 'You cannot provide both :dbName and :db_name' if attributes.key?(:'dbName') && attributes.key?(:'db_name')
|
|
65
|
+
|
|
66
|
+
self.db_name = attributes[:'db_name'] if attributes[:'db_name']
|
|
67
|
+
|
|
68
|
+
self.share = attributes[:'share'] if attributes[:'share']
|
|
69
|
+
|
|
70
|
+
self.flash_cache_limit = attributes[:'flashCacheLimit'] if attributes[:'flashCacheLimit']
|
|
71
|
+
|
|
72
|
+
raise 'You cannot provide both :flashCacheLimit and :flash_cache_limit' if attributes.key?(:'flashCacheLimit') && attributes.key?(:'flash_cache_limit')
|
|
73
|
+
|
|
74
|
+
self.flash_cache_limit = attributes[:'flash_cache_limit'] if attributes[:'flash_cache_limit']
|
|
75
|
+
end
|
|
76
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
77
|
+
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
78
|
+
|
|
79
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# Checks equality by comparing each attribute.
|
|
83
|
+
# @param [Object] other the other object to be compared
|
|
84
|
+
def ==(other)
|
|
85
|
+
return true if equal?(other)
|
|
86
|
+
|
|
87
|
+
self.class == other.class &&
|
|
88
|
+
db_name == other.db_name &&
|
|
89
|
+
share == other.share &&
|
|
90
|
+
flash_cache_limit == other.flash_cache_limit
|
|
91
|
+
end
|
|
92
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
93
|
+
|
|
94
|
+
# @see the `==` method
|
|
95
|
+
# @param [Object] other the other object to be compared
|
|
96
|
+
def eql?(other)
|
|
97
|
+
self == other
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
# Calculates hash code according to all attributes.
|
|
104
|
+
# @return [Fixnum] Hash code
|
|
105
|
+
def hash
|
|
106
|
+
[db_name, share, flash_cache_limit].hash
|
|
107
|
+
end
|
|
108
|
+
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
109
|
+
|
|
110
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
# Builds the object from hash
|
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
115
|
+
# @return [Object] Returns the model itself
|
|
116
|
+
def build_from_hash(attributes)
|
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
|
118
|
+
|
|
119
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
120
|
+
if type =~ /^Array<(.*)>/i
|
|
121
|
+
# check to ensure the input is an array given that the the attribute
|
|
122
|
+
# is documented as an array but the input is not
|
|
123
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
124
|
+
public_method("#{key}=").call(
|
|
125
|
+
attributes[self.class.attribute_map[key]]
|
|
126
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
127
|
+
)
|
|
128
|
+
end
|
|
129
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
130
|
+
public_method("#{key}=").call(
|
|
131
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
132
|
+
)
|
|
133
|
+
end
|
|
134
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
self
|
|
138
|
+
end
|
|
139
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
140
|
+
|
|
141
|
+
# Returns the string representation of the object
|
|
142
|
+
# @return [String] String presentation of the object
|
|
143
|
+
def to_s
|
|
144
|
+
to_hash.to_s
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Returns the object in the form of hash
|
|
148
|
+
# @return [Hash] Returns the object in the form of hash
|
|
149
|
+
def to_hash
|
|
150
|
+
hash = {}
|
|
151
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
152
|
+
value = public_method(attr).call
|
|
153
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
154
|
+
|
|
155
|
+
hash[param] = _to_hash(value)
|
|
156
|
+
end
|
|
157
|
+
hash
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
private
|
|
161
|
+
|
|
162
|
+
# Outputs non-array value in the form of hash
|
|
163
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
164
|
+
# @param [Object] value Any valid value
|
|
165
|
+
# @return [Hash] Returns the value in the form of hash
|
|
166
|
+
def _to_hash(value)
|
|
167
|
+
if value.is_a?(Array)
|
|
168
|
+
value.compact.map { |v| _to_hash(v) }
|
|
169
|
+
elsif value.is_a?(Hash)
|
|
170
|
+
{}.tap do |hash|
|
|
171
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
172
|
+
end
|
|
173
|
+
elsif value.respond_to? :to_hash
|
|
174
|
+
value.to_hash
|
|
175
|
+
else
|
|
176
|
+
value
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
# rubocop:enable Lint/UnneededCopDisableDirective
|