oci 2.5.1 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -0,0 +1,166 @@
|
|
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 request for this database
|
8
|
+
#
|
9
|
+
class Database::Models::DbIormConfigUpdateDetail # rubocop:disable Metrics/LineLength
|
10
|
+
# Database Name. For updating default DbPlan, pass in dbName as `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
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
# rubocop:disable Style/SymbolLiteral
|
24
|
+
'db_name': :'dbName',
|
25
|
+
'share': :'share'
|
26
|
+
# rubocop:enable Style/SymbolLiteral
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Attribute type mapping.
|
31
|
+
def self.swagger_types
|
32
|
+
{
|
33
|
+
# rubocop:disable Style/SymbolLiteral
|
34
|
+
'db_name': :'String',
|
35
|
+
'share': :'Integer'
|
36
|
+
# rubocop:enable Style/SymbolLiteral
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
41
|
+
# rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
42
|
+
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
# @option attributes [String] :db_name The value to assign to the {#db_name} property
|
47
|
+
# @option attributes [Integer] :share The value to assign to the {#share} property
|
48
|
+
def initialize(attributes = {})
|
49
|
+
return unless attributes.is_a?(Hash)
|
50
|
+
|
51
|
+
# convert string to symbol for hash key
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
53
|
+
|
54
|
+
self.db_name = attributes[:'dbName'] if attributes[:'dbName']
|
55
|
+
|
56
|
+
raise 'You cannot provide both :dbName and :db_name' if attributes.key?(:'dbName') && attributes.key?(:'db_name')
|
57
|
+
|
58
|
+
self.db_name = attributes[:'db_name'] if attributes[:'db_name']
|
59
|
+
|
60
|
+
self.share = attributes[:'share'] if attributes[:'share']
|
61
|
+
end
|
62
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
63
|
+
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
64
|
+
|
65
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
66
|
+
|
67
|
+
|
68
|
+
# Checks equality by comparing each attribute.
|
69
|
+
# @param [Object] other the other object to be compared
|
70
|
+
def ==(other)
|
71
|
+
return true if equal?(other)
|
72
|
+
|
73
|
+
self.class == other.class &&
|
74
|
+
db_name == other.db_name &&
|
75
|
+
share == other.share
|
76
|
+
end
|
77
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
78
|
+
|
79
|
+
# @see the `==` method
|
80
|
+
# @param [Object] other the other object to be compared
|
81
|
+
def eql?(other)
|
82
|
+
self == other
|
83
|
+
end
|
84
|
+
|
85
|
+
# rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
86
|
+
|
87
|
+
|
88
|
+
# Calculates hash code according to all attributes.
|
89
|
+
# @return [Fixnum] Hash code
|
90
|
+
def hash
|
91
|
+
[db_name, share].hash
|
92
|
+
end
|
93
|
+
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
94
|
+
|
95
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
96
|
+
|
97
|
+
|
98
|
+
# Builds the object from hash
|
99
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
+
# @return [Object] Returns the model itself
|
101
|
+
def build_from_hash(attributes)
|
102
|
+
return nil unless attributes.is_a?(Hash)
|
103
|
+
|
104
|
+
self.class.swagger_types.each_pair do |key, type|
|
105
|
+
if type =~ /^Array<(.*)>/i
|
106
|
+
# check to ensure the input is an array given that the the attribute
|
107
|
+
# is documented as an array but the input is not
|
108
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
109
|
+
public_method("#{key}=").call(
|
110
|
+
attributes[self.class.attribute_map[key]]
|
111
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
112
|
+
)
|
113
|
+
end
|
114
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
115
|
+
public_method("#{key}=").call(
|
116
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
117
|
+
)
|
118
|
+
end
|
119
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
120
|
+
end
|
121
|
+
|
122
|
+
self
|
123
|
+
end
|
124
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
125
|
+
|
126
|
+
# Returns the string representation of the object
|
127
|
+
# @return [String] String presentation of the object
|
128
|
+
def to_s
|
129
|
+
to_hash.to_s
|
130
|
+
end
|
131
|
+
|
132
|
+
# Returns the object in the form of hash
|
133
|
+
# @return [Hash] Returns the object in the form of hash
|
134
|
+
def to_hash
|
135
|
+
hash = {}
|
136
|
+
self.class.attribute_map.each_pair do |attr, param|
|
137
|
+
value = public_method(attr).call
|
138
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
139
|
+
|
140
|
+
hash[param] = _to_hash(value)
|
141
|
+
end
|
142
|
+
hash
|
143
|
+
end
|
144
|
+
|
145
|
+
private
|
146
|
+
|
147
|
+
# Outputs non-array value in the form of hash
|
148
|
+
# For object, use to_hash. Otherwise, just return the value
|
149
|
+
# @param [Object] value Any valid value
|
150
|
+
# @return [Hash] Returns the value in the form of hash
|
151
|
+
def _to_hash(value)
|
152
|
+
if value.is_a?(Array)
|
153
|
+
value.compact.map { |v| _to_hash(v) }
|
154
|
+
elsif value.is_a?(Hash)
|
155
|
+
{}.tap do |hash|
|
156
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
157
|
+
end
|
158
|
+
elsif value.respond_to? :to_hash
|
159
|
+
value.to_hash
|
160
|
+
else
|
161
|
+
value
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
# rubocop:enable Lint/UnneededCopDisableDirective
|
@@ -20,19 +20,19 @@ module OCI
|
|
20
20
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
21
21
|
].freeze
|
22
22
|
|
23
|
-
# **[Required]** The [OCID](https://docs.
|
23
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database node.
|
24
24
|
# @return [String]
|
25
25
|
attr_accessor :id
|
26
26
|
|
27
|
-
# **[Required]** The [OCID](https://docs.
|
27
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
28
28
|
# @return [String]
|
29
29
|
attr_accessor :db_system_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 VNIC.
|
32
32
|
# @return [String]
|
33
33
|
attr_accessor :vnic_id
|
34
34
|
|
35
|
-
# The [OCID](https://docs.
|
35
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup VNIC.
|
36
36
|
# @return [String]
|
37
37
|
attr_accessor :backup_vnic_id
|
38
38
|
|
@@ -7,7 +7,7 @@ require 'logger'
|
|
7
7
|
module OCI
|
8
8
|
# A server where Oracle Database software is running.
|
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
|
#
|
@@ -25,19 +25,19 @@ module OCI
|
|
25
25
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
26
26
|
].freeze
|
27
27
|
|
28
|
-
# **[Required]** The [OCID](https://docs.
|
28
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database node.
|
29
29
|
# @return [String]
|
30
30
|
attr_accessor :id
|
31
31
|
|
32
|
-
# **[Required]** The [OCID](https://docs.
|
32
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
33
33
|
# @return [String]
|
34
34
|
attr_accessor :db_system_id
|
35
35
|
|
36
|
-
# **[Required]** The [OCID](https://docs.
|
36
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VNIC.
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :vnic_id
|
39
39
|
|
40
|
-
# The [OCID](https://docs.
|
40
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup VNIC.
|
41
41
|
# @return [String]
|
42
42
|
attr_accessor :backup_vnic_id
|
43
43
|
|
@@ -37,11 +37,14 @@ module OCI
|
|
37
37
|
LICENSE_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
38
38
|
].freeze
|
39
39
|
|
40
|
-
#
|
40
|
+
# @return [OCI::Database::Models::ExadataIormConfig]
|
41
|
+
attr_accessor :iorm_config_cache
|
42
|
+
|
43
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
41
44
|
# @return [String]
|
42
45
|
attr_accessor :id
|
43
46
|
|
44
|
-
# **[Required]** The [OCID](https://docs.
|
47
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
45
48
|
# @return [String]
|
46
49
|
attr_accessor :compartment_id
|
47
50
|
|
@@ -57,7 +60,7 @@ module OCI
|
|
57
60
|
# @return [Array<String>]
|
58
61
|
attr_accessor :fault_domains
|
59
62
|
|
60
|
-
# **[Required]** The [OCID](https://docs.
|
63
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the DB system is associated with.
|
61
64
|
#
|
62
65
|
# **Subnet Restrictions:**
|
63
66
|
# - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
|
@@ -70,7 +73,7 @@ module OCI
|
|
70
73
|
# @return [String]
|
71
74
|
attr_accessor :subnet_id
|
72
75
|
|
73
|
-
# The [OCID](https://docs.
|
76
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.
|
74
77
|
#
|
75
78
|
# **Subnet Restriction:** See the subnet restrictions information for **subnetId**.
|
76
79
|
#
|
@@ -88,6 +91,10 @@ module OCI
|
|
88
91
|
# @return [Array<String>]
|
89
92
|
attr_accessor :ssh_public_keys
|
90
93
|
|
94
|
+
# The time zone of the DB system. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm).
|
95
|
+
# @return [String]
|
96
|
+
attr_accessor :time_zone
|
97
|
+
|
91
98
|
# **[Required]** The hostname for the DB system.
|
92
99
|
# @return [String]
|
93
100
|
attr_accessor :hostname
|
@@ -120,7 +127,7 @@ module OCI
|
|
120
127
|
# @return [String]
|
121
128
|
attr_reader :database_edition
|
122
129
|
|
123
|
-
# The [OCID](https://docs.
|
130
|
+
# 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 starts.
|
124
131
|
# @return [String]
|
125
132
|
attr_accessor :last_patch_history_entry_id
|
126
133
|
|
@@ -152,7 +159,7 @@ module OCI
|
|
152
159
|
# @return [BOOLEAN]
|
153
160
|
attr_accessor :sparse_diskgroup
|
154
161
|
|
155
|
-
# The [OCID](https://docs.
|
162
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system.
|
156
163
|
# SCAN IP addresses are typically used for load balancing and are not assigned to any interface.
|
157
164
|
# Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
|
158
165
|
#
|
@@ -161,7 +168,7 @@ module OCI
|
|
161
168
|
# @return [Array<String>]
|
162
169
|
attr_accessor :scan_ip_ids
|
163
170
|
|
164
|
-
# The [OCID](https://docs.
|
171
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system.
|
165
172
|
# The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to
|
166
173
|
# enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
|
167
174
|
#
|
@@ -170,7 +177,7 @@ module OCI
|
|
170
177
|
# @return [Array<String>]
|
171
178
|
attr_accessor :vip_ids
|
172
179
|
|
173
|
-
# The [OCID](https://docs.
|
180
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system.
|
174
181
|
#
|
175
182
|
# @return [String]
|
176
183
|
attr_accessor :scan_dns_record_id
|
@@ -196,7 +203,7 @@ module OCI
|
|
196
203
|
attr_reader :license_model
|
197
204
|
|
198
205
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
199
|
-
# For more information, see [Resource Tags](https://docs.
|
206
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
200
207
|
#
|
201
208
|
# Example: `{\"Department\": \"Finance\"}`
|
202
209
|
#
|
@@ -204,7 +211,7 @@ module OCI
|
|
204
211
|
attr_accessor :freeform_tags
|
205
212
|
|
206
213
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
207
|
-
# For more information, see [Resource Tags](https://docs.
|
214
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
208
215
|
#
|
209
216
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
210
217
|
#
|
@@ -215,6 +222,7 @@ module OCI
|
|
215
222
|
def self.attribute_map
|
216
223
|
{
|
217
224
|
# rubocop:disable Style/SymbolLiteral
|
225
|
+
'iorm_config_cache': :'iormConfigCache',
|
218
226
|
'id': :'id',
|
219
227
|
'compartment_id': :'compartmentId',
|
220
228
|
'display_name': :'displayName',
|
@@ -224,6 +232,7 @@ module OCI
|
|
224
232
|
'backup_subnet_id': :'backupSubnetId',
|
225
233
|
'shape': :'shape',
|
226
234
|
'ssh_public_keys': :'sshPublicKeys',
|
235
|
+
'time_zone': :'timeZone',
|
227
236
|
'hostname': :'hostname',
|
228
237
|
'domain': :'domain',
|
229
238
|
'version': :'version',
|
@@ -255,6 +264,7 @@ module OCI
|
|
255
264
|
def self.swagger_types
|
256
265
|
{
|
257
266
|
# rubocop:disable Style/SymbolLiteral
|
267
|
+
'iorm_config_cache': :'OCI::Database::Models::ExadataIormConfig',
|
258
268
|
'id': :'String',
|
259
269
|
'compartment_id': :'String',
|
260
270
|
'display_name': :'String',
|
@@ -264,6 +274,7 @@ module OCI
|
|
264
274
|
'backup_subnet_id': :'String',
|
265
275
|
'shape': :'String',
|
266
276
|
'ssh_public_keys': :'Array<String>',
|
277
|
+
'time_zone': :'String',
|
267
278
|
'hostname': :'String',
|
268
279
|
'domain': :'String',
|
269
280
|
'version': :'String',
|
@@ -297,6 +308,7 @@ module OCI
|
|
297
308
|
|
298
309
|
# Initializes the object
|
299
310
|
# @param [Hash] attributes Model attributes in the form of hash
|
311
|
+
# @option attributes [OCI::Database::Models::ExadataIormConfig] :iorm_config_cache The value to assign to the {#iorm_config_cache} property
|
300
312
|
# @option attributes [String] :id The value to assign to the {#id} property
|
301
313
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
302
314
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
@@ -306,6 +318,7 @@ module OCI
|
|
306
318
|
# @option attributes [String] :backup_subnet_id The value to assign to the {#backup_subnet_id} property
|
307
319
|
# @option attributes [String] :shape The value to assign to the {#shape} property
|
308
320
|
# @option attributes [Array<String>] :ssh_public_keys The value to assign to the {#ssh_public_keys} property
|
321
|
+
# @option attributes [String] :time_zone The value to assign to the {#time_zone} property
|
309
322
|
# @option attributes [String] :hostname The value to assign to the {#hostname} property
|
310
323
|
# @option attributes [String] :domain The value to assign to the {#domain} property
|
311
324
|
# @option attributes [String] :version The value to assign to the {#version} property
|
@@ -332,6 +345,15 @@ module OCI
|
|
332
345
|
def initialize(attributes = {})
|
333
346
|
return unless attributes.is_a?(Hash)
|
334
347
|
|
348
|
+
# convert string to symbol for hash key
|
349
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
350
|
+
|
351
|
+
self.iorm_config_cache = attributes[:'iormConfigCache'] if attributes[:'iormConfigCache']
|
352
|
+
|
353
|
+
raise 'You cannot provide both :iormConfigCache and :iorm_config_cache' if attributes.key?(:'iormConfigCache') && attributes.key?(:'iorm_config_cache')
|
354
|
+
|
355
|
+
self.iorm_config_cache = attributes[:'iorm_config_cache'] if attributes[:'iorm_config_cache']
|
356
|
+
|
335
357
|
self.id = attributes[:'id'] if attributes[:'id']
|
336
358
|
|
337
359
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
@@ -378,6 +400,12 @@ module OCI
|
|
378
400
|
|
379
401
|
self.ssh_public_keys = attributes[:'ssh_public_keys'] if attributes[:'ssh_public_keys']
|
380
402
|
|
403
|
+
self.time_zone = attributes[:'timeZone'] if attributes[:'timeZone']
|
404
|
+
|
405
|
+
raise 'You cannot provide both :timeZone and :time_zone' if attributes.key?(:'timeZone') && attributes.key?(:'time_zone')
|
406
|
+
|
407
|
+
self.time_zone = attributes[:'time_zone'] if attributes[:'time_zone']
|
408
|
+
|
381
409
|
self.hostname = attributes[:'hostname'] if attributes[:'hostname']
|
382
410
|
|
383
411
|
self.domain = attributes[:'domain'] if attributes[:'domain']
|
@@ -576,6 +604,7 @@ module OCI
|
|
576
604
|
return true if equal?(other)
|
577
605
|
|
578
606
|
self.class == other.class &&
|
607
|
+
iorm_config_cache == other.iorm_config_cache &&
|
579
608
|
id == other.id &&
|
580
609
|
compartment_id == other.compartment_id &&
|
581
610
|
display_name == other.display_name &&
|
@@ -585,6 +614,7 @@ module OCI
|
|
585
614
|
backup_subnet_id == other.backup_subnet_id &&
|
586
615
|
shape == other.shape &&
|
587
616
|
ssh_public_keys == other.ssh_public_keys &&
|
617
|
+
time_zone == other.time_zone &&
|
588
618
|
hostname == other.hostname &&
|
589
619
|
domain == other.domain &&
|
590
620
|
version == other.version &&
|
@@ -623,7 +653,7 @@ module OCI
|
|
623
653
|
# Calculates hash code according to all attributes.
|
624
654
|
# @return [Fixnum] Hash code
|
625
655
|
def hash
|
626
|
-
[id, compartment_id, display_name, availability_domain, fault_domains, subnet_id, backup_subnet_id, shape, ssh_public_keys, hostname, domain, version, cpu_core_count, cluster_name, data_storage_percentage, database_edition, last_patch_history_entry_id, listener_port, lifecycle_state, time_created, lifecycle_details, disk_redundancy, sparse_diskgroup, scan_ip_ids, vip_ids, scan_dns_record_id, data_storage_size_in_gbs, reco_storage_size_in_gb, node_count, license_model, freeform_tags, defined_tags].hash
|
656
|
+
[iorm_config_cache, id, compartment_id, display_name, availability_domain, fault_domains, subnet_id, backup_subnet_id, shape, ssh_public_keys, time_zone, hostname, domain, version, cpu_core_count, cluster_name, data_storage_percentage, database_edition, last_patch_history_entry_id, listener_port, lifecycle_state, time_created, lifecycle_details, disk_redundancy, sparse_diskgroup, scan_ip_ids, vip_ids, scan_dns_record_id, data_storage_size_in_gbs, reco_storage_size_in_gb, node_count, license_model, freeform_tags, defined_tags].hash
|
627
657
|
end
|
628
658
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
629
659
|
|
@@ -5,10 +5,10 @@ require 'date'
|
|
5
5
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
6
6
|
module OCI
|
7
7
|
# The shape of the DB system. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
|
8
|
-
# For a description of shapes, see [DB System Launch Options](https://docs.
|
8
|
+
# For a description of shapes, see [DB System Launch Options](https://docs.cloud.oracle.com/Content/Database/References/launchoptions.htm).
|
9
9
|
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator.
|
10
10
|
# If you're an administrator who needs to write policies to give users access,
|
11
|
-
# see [Getting Started with Policies](https://docs.
|
11
|
+
# see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
12
12
|
#
|
13
13
|
class Database::Models::DbSystemShapeSummary # rubocop:disable Metrics/LineLength
|
14
14
|
# **[Required]** The name of the shape used for the DB system.
|
@@ -7,16 +7,16 @@ require 'logger'
|
|
7
7
|
module OCI
|
8
8
|
# The Database Service supports several types of DB systems, ranging in size, price, and performance. For details about each type of system, see:
|
9
9
|
#
|
10
|
-
# - [Exadata DB Systems](https://docs.
|
11
|
-
# - [Bare Metal and Virtual Machine DB Systems](https://docs.
|
10
|
+
# - [Exadata DB Systems](https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm)
|
11
|
+
# - [Bare Metal and Virtual Machine DB Systems](https://docs.cloud.oracle.com/Content/Database/Concepts/overview.htm)
|
12
12
|
#
|
13
|
-
# To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.
|
13
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are 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).
|
14
14
|
#
|
15
15
|
# For information about access control and compartments, see
|
16
|
-
# [Overview of the Identity Service](https://docs.
|
16
|
+
# [Overview of the Identity Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
|
17
17
|
#
|
18
18
|
# For information about availability domains, see
|
19
|
-
# [Regions and Availability Domains](https://docs.
|
19
|
+
# [Regions and Availability Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm).
|
20
20
|
#
|
21
21
|
# To get a list of availability domains, use the `ListAvailabilityDomains` operation
|
22
22
|
# in the Identity Service API.
|
@@ -54,11 +54,11 @@ module OCI
|
|
54
54
|
LICENSE_MODEL_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 DB system.
|
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 compartment.
|
62
62
|
# @return [String]
|
63
63
|
attr_accessor :compartment_id
|
64
64
|
|
@@ -74,7 +74,7 @@ module OCI
|
|
74
74
|
# @return [Array<String>]
|
75
75
|
attr_accessor :fault_domains
|
76
76
|
|
77
|
-
# **[Required]** The [OCID](https://docs.
|
77
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the DB system is associated with.
|
78
78
|
#
|
79
79
|
# **Subnet Restrictions:**
|
80
80
|
# - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
|
@@ -87,7 +87,7 @@ module OCI
|
|
87
87
|
# @return [String]
|
88
88
|
attr_accessor :subnet_id
|
89
89
|
|
90
|
-
# The [OCID](https://docs.
|
90
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.
|
91
91
|
#
|
92
92
|
# **Subnet Restriction:** See the subnet restrictions information for **subnetId**.
|
93
93
|
#
|
@@ -105,6 +105,10 @@ module OCI
|
|
105
105
|
# @return [Array<String>]
|
106
106
|
attr_accessor :ssh_public_keys
|
107
107
|
|
108
|
+
# The time zone of the DB system. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/Content/Database/References/timezones.htm).
|
109
|
+
# @return [String]
|
110
|
+
attr_accessor :time_zone
|
111
|
+
|
108
112
|
# **[Required]** The hostname for the DB system.
|
109
113
|
# @return [String]
|
110
114
|
attr_accessor :hostname
|
@@ -137,7 +141,7 @@ module OCI
|
|
137
141
|
# @return [String]
|
138
142
|
attr_reader :database_edition
|
139
143
|
|
140
|
-
# The [OCID](https://docs.
|
144
|
+
# 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 starts.
|
141
145
|
# @return [String]
|
142
146
|
attr_accessor :last_patch_history_entry_id
|
143
147
|
|
@@ -169,7 +173,7 @@ module OCI
|
|
169
173
|
# @return [BOOLEAN]
|
170
174
|
attr_accessor :sparse_diskgroup
|
171
175
|
|
172
|
-
# The [OCID](https://docs.
|
176
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the DB system.
|
173
177
|
# SCAN IP addresses are typically used for load balancing and are not assigned to any interface.
|
174
178
|
# Oracle Clusterware directs the requests to the appropriate nodes in the cluster.
|
175
179
|
#
|
@@ -178,7 +182,7 @@ module OCI
|
|
178
182
|
# @return [Array<String>]
|
179
183
|
attr_accessor :scan_ip_ids
|
180
184
|
|
181
|
-
# The [OCID](https://docs.
|
185
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system.
|
182
186
|
# The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to
|
183
187
|
# enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
|
184
188
|
#
|
@@ -187,7 +191,7 @@ module OCI
|
|
187
191
|
# @return [Array<String>]
|
188
192
|
attr_accessor :vip_ids
|
189
193
|
|
190
|
-
# The [OCID](https://docs.
|
194
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the DB system.
|
191
195
|
#
|
192
196
|
# @return [String]
|
193
197
|
attr_accessor :scan_dns_record_id
|
@@ -213,7 +217,7 @@ module OCI
|
|
213
217
|
attr_reader :license_model
|
214
218
|
|
215
219
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
216
|
-
# For more information, see [Resource Tags](https://docs.
|
220
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
217
221
|
#
|
218
222
|
# Example: `{\"Department\": \"Finance\"}`
|
219
223
|
#
|
@@ -221,7 +225,7 @@ module OCI
|
|
221
225
|
attr_accessor :freeform_tags
|
222
226
|
|
223
227
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
224
|
-
# For more information, see [Resource Tags](https://docs.
|
228
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
225
229
|
#
|
226
230
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
227
231
|
#
|
@@ -241,6 +245,7 @@ module OCI
|
|
241
245
|
'backup_subnet_id': :'backupSubnetId',
|
242
246
|
'shape': :'shape',
|
243
247
|
'ssh_public_keys': :'sshPublicKeys',
|
248
|
+
'time_zone': :'timeZone',
|
244
249
|
'hostname': :'hostname',
|
245
250
|
'domain': :'domain',
|
246
251
|
'version': :'version',
|
@@ -281,6 +286,7 @@ module OCI
|
|
281
286
|
'backup_subnet_id': :'String',
|
282
287
|
'shape': :'String',
|
283
288
|
'ssh_public_keys': :'Array<String>',
|
289
|
+
'time_zone': :'String',
|
284
290
|
'hostname': :'String',
|
285
291
|
'domain': :'String',
|
286
292
|
'version': :'String',
|
@@ -323,6 +329,7 @@ module OCI
|
|
323
329
|
# @option attributes [String] :backup_subnet_id The value to assign to the {#backup_subnet_id} property
|
324
330
|
# @option attributes [String] :shape The value to assign to the {#shape} property
|
325
331
|
# @option attributes [Array<String>] :ssh_public_keys The value to assign to the {#ssh_public_keys} property
|
332
|
+
# @option attributes [String] :time_zone The value to assign to the {#time_zone} property
|
326
333
|
# @option attributes [String] :hostname The value to assign to the {#hostname} property
|
327
334
|
# @option attributes [String] :domain The value to assign to the {#domain} property
|
328
335
|
# @option attributes [String] :version The value to assign to the {#version} property
|
@@ -398,6 +405,12 @@ module OCI
|
|
398
405
|
|
399
406
|
self.ssh_public_keys = attributes[:'ssh_public_keys'] if attributes[:'ssh_public_keys']
|
400
407
|
|
408
|
+
self.time_zone = attributes[:'timeZone'] if attributes[:'timeZone']
|
409
|
+
|
410
|
+
raise 'You cannot provide both :timeZone and :time_zone' if attributes.key?(:'timeZone') && attributes.key?(:'time_zone')
|
411
|
+
|
412
|
+
self.time_zone = attributes[:'time_zone'] if attributes[:'time_zone']
|
413
|
+
|
401
414
|
self.hostname = attributes[:'hostname'] if attributes[:'hostname']
|
402
415
|
|
403
416
|
self.domain = attributes[:'domain'] if attributes[:'domain']
|
@@ -605,6 +618,7 @@ module OCI
|
|
605
618
|
backup_subnet_id == other.backup_subnet_id &&
|
606
619
|
shape == other.shape &&
|
607
620
|
ssh_public_keys == other.ssh_public_keys &&
|
621
|
+
time_zone == other.time_zone &&
|
608
622
|
hostname == other.hostname &&
|
609
623
|
domain == other.domain &&
|
610
624
|
version == other.version &&
|
@@ -643,7 +657,7 @@ module OCI
|
|
643
657
|
# Calculates hash code according to all attributes.
|
644
658
|
# @return [Fixnum] Hash code
|
645
659
|
def hash
|
646
|
-
[id, compartment_id, display_name, availability_domain, fault_domains, subnet_id, backup_subnet_id, shape, ssh_public_keys, hostname, domain, version, cpu_core_count, cluster_name, data_storage_percentage, database_edition, last_patch_history_entry_id, listener_port, lifecycle_state, time_created, lifecycle_details, disk_redundancy, sparse_diskgroup, scan_ip_ids, vip_ids, scan_dns_record_id, data_storage_size_in_gbs, reco_storage_size_in_gb, node_count, license_model, freeform_tags, defined_tags].hash
|
660
|
+
[id, compartment_id, display_name, availability_domain, fault_domains, subnet_id, backup_subnet_id, shape, ssh_public_keys, time_zone, hostname, domain, version, cpu_core_count, cluster_name, data_storage_percentage, database_edition, last_patch_history_entry_id, listener_port, lifecycle_state, time_created, lifecycle_details, disk_redundancy, sparse_diskgroup, scan_ip_ids, vip_ids, scan_dns_record_id, data_storage_size_in_gbs, reco_storage_size_in_gb, node_count, license_model, freeform_tags, defined_tags].hash
|
647
661
|
end
|
648
662
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
649
663
|
|