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
|
@@ -23,15 +23,15 @@ module OCI
|
|
|
23
23
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
24
24
|
].freeze
|
|
25
25
|
|
|
26
|
-
# **[Required]** The [OCID](https://docs.
|
|
26
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Database backup.
|
|
27
27
|
# @return [String]
|
|
28
28
|
attr_accessor :id
|
|
29
29
|
|
|
30
|
-
# **[Required]** The [OCID](https://docs.
|
|
30
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :compartment_id
|
|
33
33
|
|
|
34
|
-
# **[Required]** The [OCID](https://docs.
|
|
34
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Database.
|
|
35
35
|
# @return [String]
|
|
36
36
|
attr_accessor :autonomous_database_id
|
|
37
37
|
|
|
@@ -6,7 +6,7 @@ require 'logger'
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
|
7
7
|
module OCI
|
|
8
8
|
# An Autonomous Database backup.
|
|
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. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.
|
|
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. 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).
|
|
10
10
|
#
|
|
11
11
|
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
12
12
|
#
|
|
@@ -26,15 +26,15 @@ 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 Autonomous Database backup.
|
|
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
|
|
|
37
|
-
# **[Required]** The [OCID](https://docs.
|
|
37
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Database.
|
|
38
38
|
# @return [String]
|
|
39
39
|
attr_accessor :autonomous_database_id
|
|
40
40
|
|
|
@@ -33,11 +33,17 @@ module OCI
|
|
|
33
33
|
LICENSE_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
34
34
|
].freeze
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
DB_WORKLOAD_ENUM = [
|
|
37
|
+
DB_WORKLOAD_OLTP = 'OLTP'.freeze,
|
|
38
|
+
DB_WORKLOAD_DW = 'DW'.freeze,
|
|
39
|
+
DB_WORKLOAD_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
40
|
+
].freeze
|
|
41
|
+
|
|
42
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Database.
|
|
37
43
|
# @return [String]
|
|
38
44
|
attr_accessor :id
|
|
39
45
|
|
|
40
|
-
# **[Required]** The [OCID](https://docs.
|
|
46
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
41
47
|
# @return [String]
|
|
42
48
|
attr_accessor :compartment_id
|
|
43
49
|
|
|
@@ -83,7 +89,7 @@ module OCI
|
|
|
83
89
|
attr_reader :license_model
|
|
84
90
|
|
|
85
91
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
86
|
-
# For more information, see [Resource Tags](https://docs.
|
|
92
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
87
93
|
#
|
|
88
94
|
# Example: `{\"Department\": \"Finance\"}`
|
|
89
95
|
#
|
|
@@ -91,7 +97,7 @@ module OCI
|
|
|
91
97
|
attr_accessor :freeform_tags
|
|
92
98
|
|
|
93
99
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
94
|
-
# For more information, see [Resource Tags](https://docs.
|
|
100
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
95
101
|
#
|
|
96
102
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
97
103
|
#
|
|
@@ -102,6 +108,10 @@ module OCI
|
|
|
102
108
|
# @return [String]
|
|
103
109
|
attr_accessor :db_version
|
|
104
110
|
|
|
111
|
+
# The Autonomous Database workload type.
|
|
112
|
+
# @return [String]
|
|
113
|
+
attr_reader :db_workload
|
|
114
|
+
|
|
105
115
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
106
116
|
def self.attribute_map
|
|
107
117
|
{
|
|
@@ -120,7 +130,8 @@ module OCI
|
|
|
120
130
|
'license_model': :'licenseModel',
|
|
121
131
|
'freeform_tags': :'freeformTags',
|
|
122
132
|
'defined_tags': :'definedTags',
|
|
123
|
-
'db_version': :'dbVersion'
|
|
133
|
+
'db_version': :'dbVersion',
|
|
134
|
+
'db_workload': :'dbWorkload'
|
|
124
135
|
# rubocop:enable Style/SymbolLiteral
|
|
125
136
|
}
|
|
126
137
|
end
|
|
@@ -143,7 +154,8 @@ module OCI
|
|
|
143
154
|
'license_model': :'String',
|
|
144
155
|
'freeform_tags': :'Hash<String, String>',
|
|
145
156
|
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
146
|
-
'db_version': :'String'
|
|
157
|
+
'db_version': :'String',
|
|
158
|
+
'db_workload': :'String'
|
|
147
159
|
# rubocop:enable Style/SymbolLiteral
|
|
148
160
|
}
|
|
149
161
|
end
|
|
@@ -169,6 +181,7 @@ module OCI
|
|
|
169
181
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
170
182
|
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
171
183
|
# @option attributes [String] :db_version The value to assign to the {#db_version} property
|
|
184
|
+
# @option attributes [String] :db_workload The value to assign to the {#db_workload} property
|
|
172
185
|
def initialize(attributes = {})
|
|
173
186
|
return unless attributes.is_a?(Hash)
|
|
174
187
|
|
|
@@ -260,6 +273,12 @@ module OCI
|
|
|
260
273
|
raise 'You cannot provide both :dbVersion and :db_version' if attributes.key?(:'dbVersion') && attributes.key?(:'db_version')
|
|
261
274
|
|
|
262
275
|
self.db_version = attributes[:'db_version'] if attributes[:'db_version']
|
|
276
|
+
|
|
277
|
+
self.db_workload = attributes[:'dbWorkload'] if attributes[:'dbWorkload']
|
|
278
|
+
|
|
279
|
+
raise 'You cannot provide both :dbWorkload and :db_workload' if attributes.key?(:'dbWorkload') && attributes.key?(:'db_workload')
|
|
280
|
+
|
|
281
|
+
self.db_workload = attributes[:'db_workload'] if attributes[:'db_workload']
|
|
263
282
|
end
|
|
264
283
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
265
284
|
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -294,6 +313,21 @@ module OCI
|
|
|
294
313
|
# rubocop:enable Style/ConditionalAssignment
|
|
295
314
|
end
|
|
296
315
|
|
|
316
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
317
|
+
# @param [Object] db_workload Object to be assigned
|
|
318
|
+
def db_workload=(db_workload)
|
|
319
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
320
|
+
if db_workload && !DB_WORKLOAD_ENUM.include?(db_workload)
|
|
321
|
+
# rubocop: disable Metrics/LineLength
|
|
322
|
+
OCI.logger.debug("Unknown value for 'db_workload' [" + db_workload + "]. Mapping to 'DB_WORKLOAD_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
323
|
+
# rubocop: enable Metrics/LineLength
|
|
324
|
+
@db_workload = DB_WORKLOAD_UNKNOWN_ENUM_VALUE
|
|
325
|
+
else
|
|
326
|
+
@db_workload = db_workload
|
|
327
|
+
end
|
|
328
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
329
|
+
end
|
|
330
|
+
|
|
297
331
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
298
332
|
|
|
299
333
|
|
|
@@ -317,7 +351,8 @@ module OCI
|
|
|
317
351
|
license_model == other.license_model &&
|
|
318
352
|
freeform_tags == other.freeform_tags &&
|
|
319
353
|
defined_tags == other.defined_tags &&
|
|
320
|
-
db_version == other.db_version
|
|
354
|
+
db_version == other.db_version &&
|
|
355
|
+
db_workload == other.db_workload
|
|
321
356
|
end
|
|
322
357
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
|
323
358
|
|
|
@@ -333,7 +368,7 @@ module OCI
|
|
|
333
368
|
# Calculates hash code according to all attributes.
|
|
334
369
|
# @return [Fixnum] Hash code
|
|
335
370
|
def hash
|
|
336
|
-
[id, compartment_id, lifecycle_state, lifecycle_details, db_name, cpu_core_count, data_storage_size_in_tbs, time_created, display_name, service_console_url, connection_strings, license_model, freeform_tags, defined_tags, db_version].hash
|
|
371
|
+
[id, compartment_id, lifecycle_state, lifecycle_details, db_name, cpu_core_count, data_storage_size_in_tbs, time_created, display_name, service_console_url, connection_strings, license_model, freeform_tags, defined_tags, db_version, db_workload].hash
|
|
337
372
|
end
|
|
338
373
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
339
374
|
|
|
@@ -31,15 +31,15 @@ module OCI
|
|
|
31
31
|
DATABASE_EDITION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
32
32
|
].freeze
|
|
33
33
|
|
|
34
|
-
# The [OCID](https://docs.
|
|
34
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup.
|
|
35
35
|
# @return [String]
|
|
36
36
|
attr_accessor :id
|
|
37
37
|
|
|
38
|
-
# The [OCID](https://docs.
|
|
38
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
39
39
|
# @return [String]
|
|
40
40
|
attr_accessor :compartment_id
|
|
41
41
|
|
|
42
|
-
# The [OCID](https://docs.
|
|
42
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database.
|
|
43
43
|
# @return [String]
|
|
44
44
|
attr_accessor :database_id
|
|
45
45
|
|
|
@@ -6,7 +6,7 @@ require 'logger'
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective
|
|
7
7
|
module OCI
|
|
8
8
|
# A database backup.
|
|
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. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.
|
|
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. 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).
|
|
10
10
|
#
|
|
11
11
|
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
12
12
|
#
|
|
@@ -35,15 +35,15 @@ module OCI
|
|
|
35
35
|
DATABASE_EDITION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
36
36
|
].freeze
|
|
37
37
|
|
|
38
|
-
# The [OCID](https://docs.
|
|
38
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup.
|
|
39
39
|
# @return [String]
|
|
40
40
|
attr_accessor :id
|
|
41
41
|
|
|
42
|
-
# The [OCID](https://docs.
|
|
42
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
43
43
|
# @return [String]
|
|
44
44
|
attr_accessor :compartment_id
|
|
45
45
|
|
|
46
|
-
# The [OCID](https://docs.
|
|
46
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database.
|
|
47
47
|
# @return [String]
|
|
48
48
|
attr_accessor :database_id
|
|
49
49
|
|
|
@@ -13,7 +13,7 @@ module OCI
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :display_name
|
|
15
15
|
|
|
16
|
-
# **[Required]** The [OCID](https://docs.
|
|
16
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Data Warehouse backup.
|
|
17
17
|
# @return [String]
|
|
18
18
|
attr_accessor :autonomous_data_warehouse_id
|
|
19
19
|
|
|
@@ -14,7 +14,7 @@ module OCI
|
|
|
14
14
|
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'.freeze
|
|
15
15
|
].freeze
|
|
16
16
|
|
|
17
|
-
# **[Required]** The [OCID](https://docs.
|
|
17
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment of the Autonomous Data Warehouse.
|
|
18
18
|
# @return [String]
|
|
19
19
|
attr_accessor :compartment_id
|
|
20
20
|
|
|
@@ -45,7 +45,7 @@ module OCI
|
|
|
45
45
|
attr_reader :license_model
|
|
46
46
|
|
|
47
47
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
48
|
-
# For more information, see [Resource Tags](https://docs.
|
|
48
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
49
49
|
#
|
|
50
50
|
# Example: `{\"Department\": \"Finance\"}`
|
|
51
51
|
#
|
|
@@ -53,7 +53,7 @@ module OCI
|
|
|
53
53
|
attr_accessor :freeform_tags
|
|
54
54
|
|
|
55
55
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
56
|
-
# For more information, see [Resource Tags](https://docs.
|
|
56
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
57
57
|
#
|
|
58
58
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
59
59
|
#
|
|
@@ -13,7 +13,7 @@ module OCI
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :display_name
|
|
15
15
|
|
|
16
|
-
# **[Required]** The [OCID](https://docs.
|
|
16
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Database backup.
|
|
17
17
|
# @return [String]
|
|
18
18
|
attr_accessor :autonomous_database_id
|
|
19
19
|
|
|
@@ -9,12 +9,17 @@ module OCI
|
|
|
9
9
|
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
10
10
|
#
|
|
11
11
|
class Database::Models::CreateAutonomousDatabaseDetails # rubocop:disable Metrics/LineLength
|
|
12
|
+
DB_WORKLOAD_ENUM = [
|
|
13
|
+
DB_WORKLOAD_OLTP = 'OLTP'.freeze,
|
|
14
|
+
DB_WORKLOAD_DW = 'DW'.freeze
|
|
15
|
+
].freeze
|
|
16
|
+
|
|
12
17
|
LICENSE_MODEL_ENUM = [
|
|
13
18
|
LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'.freeze,
|
|
14
19
|
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'.freeze
|
|
15
20
|
].freeze
|
|
16
21
|
|
|
17
|
-
# **[Required]** The [OCID](https://docs.
|
|
22
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment of the autonomous database.
|
|
18
23
|
# @return [String]
|
|
19
24
|
attr_accessor :compartment_id
|
|
20
25
|
|
|
@@ -26,6 +31,10 @@ module OCI
|
|
|
26
31
|
# @return [Integer]
|
|
27
32
|
attr_accessor :cpu_core_count
|
|
28
33
|
|
|
34
|
+
# The autonomous database workload type.
|
|
35
|
+
# @return [String]
|
|
36
|
+
attr_reader :db_workload
|
|
37
|
+
|
|
29
38
|
# **[Required]** The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed.
|
|
30
39
|
#
|
|
31
40
|
# @return [Integer]
|
|
@@ -45,7 +54,7 @@ module OCI
|
|
|
45
54
|
attr_reader :license_model
|
|
46
55
|
|
|
47
56
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
48
|
-
# For more information, see [Resource Tags](https://docs.
|
|
57
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
49
58
|
#
|
|
50
59
|
# Example: `{\"Department\": \"Finance\"}`
|
|
51
60
|
#
|
|
@@ -53,7 +62,7 @@ module OCI
|
|
|
53
62
|
attr_accessor :freeform_tags
|
|
54
63
|
|
|
55
64
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
56
|
-
# For more information, see [Resource Tags](https://docs.
|
|
65
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
57
66
|
#
|
|
58
67
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
59
68
|
#
|
|
@@ -67,6 +76,7 @@ module OCI
|
|
|
67
76
|
'compartment_id': :'compartmentId',
|
|
68
77
|
'db_name': :'dbName',
|
|
69
78
|
'cpu_core_count': :'cpuCoreCount',
|
|
79
|
+
'db_workload': :'dbWorkload',
|
|
70
80
|
'data_storage_size_in_tbs': :'dataStorageSizeInTBs',
|
|
71
81
|
'admin_password': :'adminPassword',
|
|
72
82
|
'display_name': :'displayName',
|
|
@@ -84,6 +94,7 @@ module OCI
|
|
|
84
94
|
'compartment_id': :'String',
|
|
85
95
|
'db_name': :'String',
|
|
86
96
|
'cpu_core_count': :'Integer',
|
|
97
|
+
'db_workload': :'String',
|
|
87
98
|
'data_storage_size_in_tbs': :'Integer',
|
|
88
99
|
'admin_password': :'String',
|
|
89
100
|
'display_name': :'String',
|
|
@@ -103,6 +114,7 @@ module OCI
|
|
|
103
114
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
104
115
|
# @option attributes [String] :db_name The value to assign to the {#db_name} property
|
|
105
116
|
# @option attributes [Integer] :cpu_core_count The value to assign to the {#cpu_core_count} property
|
|
117
|
+
# @option attributes [String] :db_workload The value to assign to the {#db_workload} property
|
|
106
118
|
# @option attributes [Integer] :data_storage_size_in_tbs The value to assign to the {#data_storage_size_in_tbs} property
|
|
107
119
|
# @option attributes [String] :admin_password The value to assign to the {#admin_password} property
|
|
108
120
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
@@ -133,6 +145,12 @@ module OCI
|
|
|
133
145
|
|
|
134
146
|
self.cpu_core_count = attributes[:'cpu_core_count'] if attributes[:'cpu_core_count']
|
|
135
147
|
|
|
148
|
+
self.db_workload = attributes[:'dbWorkload'] if attributes[:'dbWorkload']
|
|
149
|
+
|
|
150
|
+
raise 'You cannot provide both :dbWorkload and :db_workload' if attributes.key?(:'dbWorkload') && attributes.key?(:'db_workload')
|
|
151
|
+
|
|
152
|
+
self.db_workload = attributes[:'db_workload'] if attributes[:'db_workload']
|
|
153
|
+
|
|
136
154
|
self.data_storage_size_in_tbs = attributes[:'dataStorageSizeInTBs'] if attributes[:'dataStorageSizeInTBs']
|
|
137
155
|
|
|
138
156
|
raise 'You cannot provide both :dataStorageSizeInTBs and :data_storage_size_in_tbs' if attributes.key?(:'dataStorageSizeInTBs') && attributes.key?(:'data_storage_size_in_tbs')
|
|
@@ -172,6 +190,16 @@ module OCI
|
|
|
172
190
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
173
191
|
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
174
192
|
|
|
193
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
194
|
+
# @param [Object] db_workload Object to be assigned
|
|
195
|
+
def db_workload=(db_workload)
|
|
196
|
+
# rubocop: disable Metrics/LineLength
|
|
197
|
+
raise "Invalid value for 'db_workload': this must be one of the values in DB_WORKLOAD_ENUM." if db_workload && !DB_WORKLOAD_ENUM.include?(db_workload)
|
|
198
|
+
|
|
199
|
+
# rubocop: enable Metrics/LineLength
|
|
200
|
+
@db_workload = db_workload
|
|
201
|
+
end
|
|
202
|
+
|
|
175
203
|
# Custom attribute writer method checking allowed values (enum).
|
|
176
204
|
# @param [Object] license_model Object to be assigned
|
|
177
205
|
def license_model=(license_model)
|
|
@@ -194,6 +222,7 @@ module OCI
|
|
|
194
222
|
compartment_id == other.compartment_id &&
|
|
195
223
|
db_name == other.db_name &&
|
|
196
224
|
cpu_core_count == other.cpu_core_count &&
|
|
225
|
+
db_workload == other.db_workload &&
|
|
197
226
|
data_storage_size_in_tbs == other.data_storage_size_in_tbs &&
|
|
198
227
|
admin_password == other.admin_password &&
|
|
199
228
|
display_name == other.display_name &&
|
|
@@ -215,7 +244,7 @@ module OCI
|
|
|
215
244
|
# Calculates hash code according to all attributes.
|
|
216
245
|
# @return [Fixnum] Hash code
|
|
217
246
|
def hash
|
|
218
|
-
[compartment_id, db_name, cpu_core_count, data_storage_size_in_tbs, admin_password, display_name, license_model, freeform_tags, defined_tags].hash
|
|
247
|
+
[compartment_id, db_name, cpu_core_count, db_workload, data_storage_size_in_tbs, admin_password, display_name, license_model, freeform_tags, defined_tags].hash
|
|
219
248
|
end
|
|
220
249
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
|
221
250
|
|
|
@@ -9,7 +9,7 @@ module OCI
|
|
|
9
9
|
# **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
10
10
|
#
|
|
11
11
|
class Database::Models::CreateBackupDetails # rubocop:disable Metrics/LineLength
|
|
12
|
-
# **[Required]** The [OCID](https://docs.
|
|
12
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database.
|
|
13
13
|
# @return [String]
|
|
14
14
|
attr_accessor :database_id
|
|
15
15
|
|
|
@@ -10,7 +10,7 @@ module OCI
|
|
|
10
10
|
# To create a Data Guard association for a database in a virtual machine DB system, use the {#create_data_guard_association_with_new_db_system_details create_data_guard_association_with_new_db_system_details} subtype.
|
|
11
11
|
#
|
|
12
12
|
class Database::Models::CreateDataGuardAssociationToExistingDbSystemDetails < Database::Models::CreateDataGuardAssociationDetails # rubocop:disable Metrics/LineLength
|
|
13
|
-
# The [OCID](https://docs.
|
|
13
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system in which to create the standby database.
|
|
14
14
|
# You must supply this value if creationType is `ExistingDbSystem`.
|
|
15
15
|
#
|
|
16
16
|
# @return [String]
|
|
@@ -47,7 +47,7 @@ module OCI
|
|
|
47
47
|
attr_accessor :db_backup_config
|
|
48
48
|
|
|
49
49
|
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
50
|
-
# For more information, see [Resource Tags](https://docs.
|
|
50
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
51
51
|
#
|
|
52
52
|
# Example: `{\"Department\": \"Finance\"}`
|
|
53
53
|
#
|
|
@@ -55,7 +55,7 @@ module OCI
|
|
|
55
55
|
attr_accessor :freeform_tags
|
|
56
56
|
|
|
57
57
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
58
|
-
# For more information, see [Resource Tags](https://docs.
|
|
58
|
+
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
59
59
|
#
|
|
60
60
|
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
61
61
|
#
|
|
@@ -6,7 +6,7 @@ require 'date'
|
|
|
6
6
|
module OCI
|
|
7
7
|
# CreateDatabaseFromBackupDetails model.
|
|
8
8
|
class Database::Models::CreateDatabaseFromBackupDetails # rubocop:disable Metrics/LineLength
|
|
9
|
-
# **[Required]** The backup [OCID](https://docs.
|
|
9
|
+
# **[Required]** The backup [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
10
10
|
# @return [String]
|
|
11
11
|
attr_accessor :backup_id
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ module OCI
|
|
|
15
15
|
SOURCE_DB_BACKUP = 'DB_BACKUP'.freeze
|
|
16
16
|
].freeze
|
|
17
17
|
|
|
18
|
-
# **[Required]** The [OCID](https://docs.
|
|
18
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DB system.
|
|
19
19
|
# @return [String]
|
|
20
20
|
attr_accessor :db_system_id
|
|
21
21
|
|