oci 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +21 -9
- data/lib/oci.rb +12 -1
- data/lib/oci/analytics/analytics.rb +1 -1
- data/lib/oci/analytics/analytics_client.rb +1 -1
- data/lib/oci/analytics/analytics_client_composite_operations.rb +1 -1
- data/lib/oci/analytics/models/analytics_instance.rb +1 -1
- data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +1 -1
- data/lib/oci/analytics/models/analytics_instance_summary.rb +1 -1
- data/lib/oci/analytics/models/capacity.rb +1 -1
- data/lib/oci/analytics/models/capacity_type.rb +1 -1
- data/lib/oci/analytics/models/change_compartment_details.rb +1 -1
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +1 -1
- data/lib/oci/analytics/models/feature_set.rb +1 -1
- data/lib/oci/analytics/models/license_type.rb +1 -1
- data/lib/oci/analytics/models/scale_analytics_instance_details.rb +1 -1
- data/lib/oci/analytics/models/sort_by.rb +1 -1
- data/lib/oci/analytics/models/sort_order.rb +1 -1
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +1 -1
- data/lib/oci/analytics/models/work_request.rb +1 -1
- data/lib/oci/analytics/models/work_request_action_result.rb +1 -1
- data/lib/oci/analytics/models/work_request_error.rb +1 -1
- data/lib/oci/analytics/models/work_request_log.rb +1 -1
- data/lib/oci/analytics/models/work_request_operation_type.rb +1 -1
- data/lib/oci/analytics/models/work_request_resource.rb +1 -1
- data/lib/oci/analytics/models/work_request_resource_type.rb +1 -1
- data/lib/oci/analytics/models/work_request_sort_by.rb +1 -1
- data/lib/oci/analytics/models/work_request_status.rb +1 -1
- data/lib/oci/analytics/models/work_request_summary.rb +1 -1
- data/lib/oci/announcements_service/announcement_client.rb +1 -1
- data/lib/oci/announcements_service/announcement_client_composite_operations.rb +1 -1
- data/lib/oci/announcements_service/announcements_service.rb +1 -1
- data/lib/oci/announcements_service/models/affected_resource.rb +1 -1
- data/lib/oci/announcements_service/models/announcement.rb +1 -1
- data/lib/oci/announcements_service/models/announcement_summary.rb +1 -1
- data/lib/oci/announcements_service/models/announcement_user_status_details.rb +1 -1
- data/lib/oci/announcements_service/models/announcements_collection.rb +1 -1
- data/lib/oci/announcements_service/models/base_announcement.rb +1 -1
- data/lib/oci/api_client.rb +3 -3
- data/lib/oci/api_client_proxy_settings.rb +1 -1
- data/lib/oci/apigateway/apigateway.rb +62 -0
- data/lib/oci/apigateway/deployment_client.rb +512 -0
- data/lib/oci/apigateway/deployment_client_composite_operations.rb +222 -0
- data/lib/oci/apigateway/gateway_client.rb +510 -0
- data/lib/oci/apigateway/gateway_client_composite_operations.rb +222 -0
- data/lib/oci/apigateway/models/access_log_policy.rb +156 -0
- data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +146 -0
- data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +164 -0
- data/lib/oci/apigateway/models/api_specification.rb +175 -0
- data/lib/oci/apigateway/models/api_specification_logging_policies.rb +166 -0
- data/lib/oci/apigateway/models/api_specification_request_policies.rb +170 -0
- data/lib/oci/apigateway/models/api_specification_route.rb +232 -0
- data/lib/oci/apigateway/models/api_specification_route_backend.rb +189 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +158 -0
- data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +145 -0
- data/lib/oci/apigateway/models/authentication_policy.rb +202 -0
- data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +155 -0
- data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +155 -0
- data/lib/oci/apigateway/models/cors_policy.rb +239 -0
- data/lib/oci/apigateway/models/create_deployment_details.rb +254 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +241 -0
- data/lib/oci/apigateway/models/custom_authentication_policy.rb +196 -0
- data/lib/oci/apigateway/models/deployment.rb +361 -0
- data/lib/oci/apigateway/models/deployment_collection.rb +149 -0
- data/lib/oci/apigateway/models/deployment_summary.rb +324 -0
- data/lib/oci/apigateway/models/execution_log_policy.rb +195 -0
- data/lib/oci/apigateway/models/gateway.rb +366 -0
- data/lib/oci/apigateway/models/gateway_collection.rb +149 -0
- data/lib/oci/apigateway/models/gateway_summary.rb +321 -0
- data/lib/oci/{oce/models/delete_oce_instance_details.rb → apigateway/models/header_field_specification.rb} +20 -14
- data/lib/oci/apigateway/models/http_backend.rb +226 -0
- data/lib/oci/apigateway/models/oracle_function_backend.rb +163 -0
- data/lib/oci/apigateway/models/rate_limiting_policy.rb +187 -0
- data/lib/oci/apigateway/models/route_authorization_policy.rb +195 -0
- data/lib/oci/apigateway/models/stock_response_backend.rb +178 -0
- data/lib/oci/apigateway/models/update_deployment_details.rb +204 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +195 -0
- data/lib/oci/apigateway/models/work_request.rb +308 -0
- data/lib/oci/apigateway/models/work_request_collection.rb +149 -0
- data/lib/oci/apigateway/models/work_request_error.rb +172 -0
- data/lib/oci/apigateway/models/work_request_error_collection.rb +149 -0
- data/lib/oci/apigateway/models/work_request_log.rb +159 -0
- data/lib/oci/apigateway/models/work_request_log_collection.rb +149 -0
- data/lib/oci/apigateway/models/work_request_resource.rb +219 -0
- data/lib/oci/apigateway/models/work_request_summary.rb +256 -0
- data/lib/oci/apigateway/util.rb +2 -0
- data/lib/oci/apigateway/work_requests_client.rb +467 -0
- data/lib/oci/apigateway/work_requests_client_composite_operations.rb +24 -0
- data/lib/oci/application_migration/application_migration.rb +56 -0
- data/lib/oci/application_migration/application_migration_client.rb +1388 -0
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +24 -0
- data/lib/oci/application_migration/models/authorization_details.rb +179 -0
- data/lib/oci/application_migration/models/change_compartment_details.rb +155 -0
- data/lib/oci/application_migration/models/configuration_field.rb +224 -0
- data/lib/oci/application_migration/models/create_migration_details.rb +283 -0
- data/lib/oci/application_migration/models/create_source_details.rb +239 -0
- data/lib/oci/application_migration/models/discovery_details.rb +187 -0
- data/lib/oci/application_migration/models/ics_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/internal_authorization_details.rb +168 -0
- data/lib/oci/application_migration/models/internal_source_details.rb +162 -0
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/migration.rb +373 -0
- data/lib/oci/application_migration/models/migration_lifecycle_states.rb +15 -0
- data/lib/oci/application_migration/models/migration_states.rb +15 -0
- data/lib/oci/application_migration/models/migration_summary.rb +343 -0
- data/lib/oci/application_migration/models/migration_types.rb +14 -0
- data/lib/oci/application_migration/models/oac_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +168 -0
- data/lib/oci/application_migration/models/ocic_source_details.rb +172 -0
- data/lib/oci/application_migration/models/oic_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/operation_status.rb +14 -0
- data/lib/oci/application_migration/models/operation_types.rb +19 -0
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/sort_orders.rb +10 -0
- data/lib/oci/application_migration/models/source.rb +277 -0
- data/lib/oci/application_migration/models/source_application.rb +211 -0
- data/lib/oci/application_migration/models/source_application_summary.rb +218 -0
- data/lib/oci/application_migration/models/source_details.rb +186 -0
- data/lib/oci/application_migration/models/source_lifecycle_states.rb +14 -0
- data/lib/oci/application_migration/models/source_summary.rb +294 -0
- data/lib/oci/application_migration/models/source_types.rb +10 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +239 -0
- data/lib/oci/application_migration/models/update_source_details.rb +223 -0
- data/lib/oci/application_migration/models/work_request.rb +257 -0
- data/lib/oci/application_migration/models/work_request_error.rb +170 -0
- data/lib/oci/application_migration/models/work_request_log_entry.rb +159 -0
- data/lib/oci/application_migration/models/work_request_resource.rb +217 -0
- data/lib/oci/application_migration/models/work_request_summary.rb +250 -0
- data/lib/oci/application_migration/util.rb +1 -0
- data/lib/oci/audit/audit.rb +1 -1
- data/lib/oci/audit/audit_client.rb +1 -1
- data/lib/oci/audit/audit_client_composite_operations.rb +1 -1
- data/lib/oci/audit/models/audit_event.rb +1 -1
- data/lib/oci/audit/models/configuration.rb +1 -1
- data/lib/oci/audit/models/data.rb +1 -1
- data/lib/oci/audit/models/identity.rb +1 -1
- data/lib/oci/audit/models/request.rb +1 -1
- data/lib/oci/audit/models/response.rb +1 -1
- data/lib/oci/audit/models/state_change.rb +1 -1
- data/lib/oci/audit/models/update_configuration_details.rb +1 -1
- data/lib/oci/auth/federation_client.rb +4 -2
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +6 -2
- data/lib/oci/autoscaling/auto_scaling_client.rb +1 -1
- data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +1 -1
- data/lib/oci/autoscaling/autoscaling.rb +1 -1
- data/lib/oci/autoscaling/models/action.rb +1 -1
- data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +1 -1
- data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +1 -1
- data/lib/oci/autoscaling/models/auto_scaling_policy.rb +1 -1
- data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +1 -1
- data/lib/oci/autoscaling/models/capacity.rb +1 -1
- data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +1 -1
- data/lib/oci/autoscaling/models/condition.rb +1 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +1 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +1 -1
- data/lib/oci/autoscaling/models/create_condition_details.rb +1 -1
- data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +1 -1
- data/lib/oci/autoscaling/models/instance_pool_resource.rb +1 -1
- data/lib/oci/autoscaling/models/metric.rb +1 -1
- data/lib/oci/autoscaling/models/resource.rb +1 -1
- data/lib/oci/autoscaling/models/threshold.rb +1 -1
- data/lib/oci/autoscaling/models/threshold_policy.rb +1 -1
- data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +1 -1
- data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +1 -1
- data/lib/oci/autoscaling/models/update_condition_details.rb +1 -1
- data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +1 -1
- data/lib/oci/base_signer.rb +1 -1
- data/lib/oci/bds/bds.rb +44 -0
- data/lib/oci/bds/bds_client.rb +1046 -0
- data/lib/oci/bds/bds_client_composite_operations.rb +422 -0
- data/lib/oci/bds/models/action_types.rb +13 -0
- data/lib/oci/bds/models/add_block_storage_details.rb +169 -0
- data/lib/oci/bds/models/add_cloud_sql_details.rb +179 -0
- data/lib/oci/bds/models/add_worker_nodes_details.rb +167 -0
- data/lib/oci/bds/models/bds_instance.rb +435 -0
- data/lib/oci/bds/models/bds_instance_summary.rb +309 -0
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +153 -0
- data/lib/oci/bds/models/cloud_sql_details.rb +211 -0
- data/lib/oci/bds/models/cluster_details.rb +239 -0
- data/lib/oci/bds/models/create_bds_instance_details.rb +297 -0
- data/lib/oci/bds/models/create_node_details.rb +193 -0
- data/lib/oci/bds/models/default_error.rb +159 -0
- data/lib/oci/bds/models/kerberos_details.rb +167 -0
- data/lib/oci/bds/models/network_config.rb +167 -0
- data/lib/oci/bds/models/node.rb +389 -0
- data/lib/oci/bds/models/operation_status.rb +14 -0
- data/lib/oci/bds/models/operation_types.rb +16 -0
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +153 -0
- data/lib/oci/bds/models/sort_orders.rb +10 -0
- data/lib/oci/bds/models/update_bds_instance_details.rb +185 -0
- data/lib/oci/bds/models/volume_attachment_detail.rb +167 -0
- data/lib/oci/bds/models/work_request.rb +311 -0
- data/lib/oci/bds/models/work_request_error.rb +172 -0
- data/lib/oci/bds/models/work_request_log_entry.rb +159 -0
- data/lib/oci/bds/models/work_request_resource.rb +218 -0
- data/lib/oci/bds/util.rb +2 -0
- data/lib/oci/budget/budget.rb +1 -1
- data/lib/oci/budget/budget_client.rb +10 -12
- data/lib/oci/budget/budget_client_composite_operations.rb +1 -1
- data/lib/oci/budget/models/alert_rule.rb +1 -1
- data/lib/oci/budget/models/alert_rule_summary.rb +2 -2
- data/lib/oci/budget/models/alert_type.rb +1 -1
- data/lib/oci/budget/models/budget.rb +2 -2
- data/lib/oci/budget/models/budget_summary.rb +2 -2
- data/lib/oci/budget/models/create_alert_rule_details.rb +2 -2
- data/lib/oci/budget/models/create_budget_details.rb +2 -2
- data/lib/oci/budget/models/lifecycle_state.rb +1 -1
- data/lib/oci/budget/models/reset_period.rb +1 -1
- data/lib/oci/budget/models/sort_by.rb +1 -1
- data/lib/oci/budget/models/sort_order.rb +1 -1
- data/lib/oci/budget/models/target_type.rb +1 -1
- data/lib/oci/budget/models/threshold_type.rb +1 -1
- data/lib/oci/budget/models/update_alert_rule_details.rb +2 -2
- data/lib/oci/budget/models/update_budget_details.rb +1 -1
- data/lib/oci/config.rb +1 -1
- data/lib/oci/config_file_loader.rb +1 -1
- data/lib/oci/container_engine/container_engine.rb +8 -1
- data/lib/oci/container_engine/container_engine_client.rb +6 -2
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +1 -1
- data/lib/oci/container_engine/models/add_on_options.rb +1 -1
- data/lib/oci/container_engine/models/admission_controller_options.rb +155 -0
- data/lib/oci/container_engine/models/cluster.rb +1 -1
- data/lib/oci/container_engine/models/cluster_create_options.rb +19 -5
- data/lib/oci/container_engine/models/cluster_endpoints.rb +1 -1
- data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +1 -1
- data/lib/oci/container_engine/models/cluster_metadata.rb +1 -1
- data/lib/oci/container_engine/models/cluster_options.rb +1 -1
- data/lib/oci/container_engine/models/cluster_summary.rb +1 -1
- data/lib/oci/container_engine/models/create_cluster_details.rb +1 -1
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +5 -6
- data/lib/oci/container_engine/models/create_node_pool_details.rb +21 -3
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +1 -1
- data/lib/oci/container_engine/models/key_value.rb +1 -1
- data/lib/oci/container_engine/models/kubernetes_network_config.rb +1 -1
- data/lib/oci/container_engine/models/node.rb +30 -2
- data/lib/oci/container_engine/models/node_error.rb +1 -1
- data/lib/oci/container_engine/models/node_pool.rb +20 -4
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +1 -1
- data/lib/oci/container_engine/models/node_pool_options.rb +24 -11
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +1 -1
- data/lib/oci/container_engine/models/node_pool_summary.rb +20 -4
- data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → container_engine/models/node_source_details.rb} +37 -40
- data/lib/oci/container_engine/models/node_source_option.rb +205 -0
- data/lib/oci/container_engine/models/node_source_type.rb +9 -0
- data/lib/oci/container_engine/models/node_source_via_image_details.rb +161 -0
- data/lib/oci/container_engine/models/node_source_via_image_option.rb +166 -0
- data/lib/oci/container_engine/models/sort_order.rb +1 -1
- data/lib/oci/container_engine/models/update_cluster_details.rb +14 -5
- data/lib/oci/container_engine/models/update_cluster_options_details.rb +153 -0
- data/lib/oci/container_engine/models/update_node_pool_details.rb +1 -1
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +1 -1
- data/lib/oci/container_engine/models/work_request.rb +1 -1
- data/lib/oci/container_engine/models/work_request_error.rb +1 -1
- data/lib/oci/container_engine/models/work_request_log_entry.rb +1 -1
- data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -1
- data/lib/oci/container_engine/models/work_request_resource.rb +1 -1
- data/lib/oci/container_engine/models/work_request_status.rb +1 -1
- data/lib/oci/container_engine/models/work_request_summary.rb +1 -1
- data/lib/oci/core/blockstorage_client.rb +110 -24
- data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -1
- data/lib/oci/core/compute_client.rb +12 -11
- data/lib/oci/core/compute_client_composite_operations.rb +1 -1
- data/lib/oci/core/compute_management_client.rb +39 -26
- data/lib/oci/core/compute_management_client_composite_operations.rb +11 -11
- data/lib/oci/core/core.rb +10 -1
- data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +1 -1
- data/lib/oci/core/models/add_security_rule_details.rb +5 -3
- data/lib/oci/core/models/added_network_security_group_security_rules.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing_summary.rb +1 -1
- data/lib/oci/core/models/app_catalog_subscription.rb +1 -1
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +1 -1
- data/lib/oci/core/models/attach_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/attach_emulated_volume_details.rb +6 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +6 -2
- data/lib/oci/core/models/attach_load_balancer_details.rb +3 -2
- data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +6 -2
- data/lib/oci/core/models/attach_service_determined_volume_details.rb +6 -2
- data/lib/oci/core/models/attach_vnic_details.rb +1 -1
- data/lib/oci/core/models/attach_volume_details.rb +20 -2
- data/lib/oci/core/models/bgp_session_info.rb +1 -1
- data/lib/oci/core/models/boot_volume.rb +26 -3
- data/lib/oci/core/models/boot_volume_attachment.rb +1 -1
- data/lib/oci/core/models/boot_volume_backup.rb +17 -3
- data/lib/oci/core/models/boot_volume_kms_key.rb +3 -3
- data/lib/oci/core/models/boot_volume_source_details.rb +1 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +1 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +1 -1
- data/lib/oci/core/models/capture_console_history_details.rb +1 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_cluster_network_compartment_details.rb +3 -3
- data/lib/oci/core/models/change_cpe_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_drg_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_image_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_instance_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_instance_pool_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_network_security_group_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_public_ip_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_route_table_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_security_list_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_service_gateway_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_subnet_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_vcn_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_volume_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +1 -1
- data/lib/oci/core/models/cluster_network.rb +16 -7
- data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +5 -2
- data/lib/oci/core/models/cluster_network_summary.rb +10 -5
- data/lib/oci/core/models/compute_instance_details.rb +1 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +1 -1
- data/lib/oci/core/models/connect_remote_peering_connections_details.rb +1 -1
- data/lib/oci/core/models/console_history.rb +1 -1
- data/lib/oci/core/models/copy_boot_volume_backup_details.rb +194 -0
- data/lib/oci/core/models/copy_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/cpe.rb +30 -2
- data/lib/oci/core/models/cpe_device_config_answer.rb +165 -0
- data/lib/oci/core/models/cpe_device_config_question.rb +180 -0
- data/lib/oci/core/models/cpe_device_info.rb +163 -0
- data/lib/oci/core/models/cpe_device_shape_detail.rb +203 -0
- data/lib/oci/core/models/cpe_device_shape_summary.rb +167 -0
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +7 -7
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/create_boot_volume_details.rb +28 -3
- data/lib/oci/core/models/create_cluster_network_details.rb +13 -6
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +10 -3
- data/lib/oci/core/models/create_cpe_details.rb +31 -5
- data/lib/oci/core/models/create_cross_connect_details.rb +1 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +1 -1
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +1 -1
- data/lib/oci/core/models/create_dhcp_details.rb +1 -1
- data/lib/oci/core/models/create_drg_attachment_details.rb +1 -1
- data/lib/oci/core/models/create_drg_details.rb +1 -1
- data/lib/oci/core/models/create_image_details.rb +1 -1
- data/lib/oci/core/models/create_instance_configuration_base.rb +1 -1
- data/lib/oci/core/models/create_instance_configuration_details.rb +1 -1
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +1 -1
- data/lib/oci/core/models/create_instance_console_connection_details.rb +1 -1
- data/lib/oci/core/models/create_instance_pool_details.rb +6 -3
- data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +33 -3
- data/lib/oci/core/models/create_internet_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +1 -1
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +1 -1
- data/lib/oci/core/models/create_ipv6_details.rb +1 -1
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_nat_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_network_security_group_details.rb +1 -1
- data/lib/oci/core/models/create_private_ip_details.rb +1 -1
- data/lib/oci/core/models/create_public_ip_details.rb +1 -1
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +1 -1
- data/lib/oci/core/models/create_route_table_details.rb +1 -1
- data/lib/oci/core/models/create_security_list_details.rb +1 -1
- data/lib/oci/core/models/create_service_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_subnet_details.rb +1 -1
- data/lib/oci/core/models/create_vcn_details.rb +1 -1
- data/lib/oci/core/models/create_virtual_circuit_details.rb +22 -3
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -2
- data/lib/oci/core/models/create_vnic_details.rb +11 -8
- data/lib/oci/core/models/create_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +3 -3
- data/lib/oci/core/models/create_volume_backup_policy_details.rb +11 -4
- data/lib/oci/core/models/create_volume_details.rb +30 -3
- data/lib/oci/core/models/create_volume_group_backup_details.rb +1 -1
- data/lib/oci/core/models/create_volume_group_details.rb +1 -1
- data/lib/oci/core/models/cross_connect.rb +1 -1
- data/lib/oci/core/models/cross_connect_group.rb +1 -1
- data/lib/oci/core/models/cross_connect_location.rb +1 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +5 -3
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +1 -1
- data/lib/oci/core/models/cross_connect_status.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +1 -1
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +1 -1
- data/lib/oci/core/models/detach_load_balancer_details.rb +1 -1
- data/lib/oci/core/models/device.rb +1 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +1 -1
- data/lib/oci/core/models/dhcp_option.rb +1 -1
- data/lib/oci/core/models/dhcp_options.rb +1 -1
- data/lib/oci/core/models/dhcp_search_domain_option.rb +1 -1
- data/lib/oci/core/models/drg.rb +1 -1
- data/lib/oci/core/models/drg_attachment.rb +1 -1
- data/lib/oci/core/models/drg_redundancy_status.rb +187 -0
- data/lib/oci/core/models/egress_security_rule.rb +18 -6
- data/lib/oci/core/models/emulated_volume_attachment.rb +6 -2
- data/lib/oci/core/models/export_image_details.rb +1 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +1 -1
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +1 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +1 -1
- data/lib/oci/core/models/fast_connect_provider_service_key.rb +2 -2
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +1 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +1 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +6 -2
- data/lib/oci/core/models/icmp_options.rb +1 -1
- data/lib/oci/core/models/image.rb +1 -1
- data/lib/oci/core/models/image_shape_compatibility_entry.rb +1 -1
- data/lib/oci/core/models/image_source_details.rb +1 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +1 -1
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +1 -1
- data/lib/oci/core/models/ingress_security_rule.rb +18 -6
- data/lib/oci/core/models/instance.rb +1 -1
- data/lib/oci/core/models/instance_agent_config.rb +22 -5
- data/lib/oci/core/models/instance_agent_features.rb +20 -5
- data/lib/oci/core/models/instance_configuration.rb +1 -1
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_block_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_create_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_instance_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_instance_source_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_summary.rb +1 -1
- data/lib/oci/core/models/instance_configuration_volume_source_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_console_connection.rb +2 -2
- data/lib/oci/core/models/instance_credentials.rb +1 -1
- data/lib/oci/core/models/instance_pool.rb +9 -5
- data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +1 -1
- data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +6 -4
- data/lib/oci/core/models/instance_pool_placement_configuration.rb +33 -3
- data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +4 -4
- data/lib/oci/core/models/instance_pool_summary.rb +1 -1
- data/lib/oci/core/models/instance_source_details.rb +1 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +2 -2
- data/lib/oci/core/models/instance_summary.rb +1 -1
- data/lib/oci/core/models/internet_gateway.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection.rb +2 -2
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection_tunnel.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +1 -1
- data/lib/oci/core/models/ipv6.rb +3 -4
- data/lib/oci/core/models/launch_instance_agent_config_details.rb +23 -5
- data/lib/oci/core/models/launch_instance_details.rb +1 -1
- data/lib/oci/core/models/launch_options.rb +1 -1
- data/lib/oci/core/models/letter_of_authority.rb +1 -1
- data/lib/oci/core/models/local_peering_gateway.rb +1 -1
- data/lib/oci/core/models/nat_gateway.rb +1 -1
- data/lib/oci/core/models/network_security_group.rb +1 -1
- data/lib/oci/core/models/network_security_group_vnic.rb +1 -1
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +6 -2
- data/lib/oci/core/models/peer_region_for_remote_peering.rb +1 -1
- data/lib/oci/core/models/port_range.rb +1 -1
- data/lib/oci/core/models/private_ip.rb +1 -1
- data/lib/oci/core/models/public_ip.rb +1 -1
- data/lib/oci/core/models/remote_peering_connection.rb +1 -1
- data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +1 -1
- data/lib/oci/core/models/route_rule.rb +18 -7
- data/lib/oci/core/models/route_table.rb +1 -1
- data/lib/oci/core/models/security_list.rb +1 -2
- data/lib/oci/core/models/security_rule.rb +5 -3
- data/lib/oci/core/models/service.rb +1 -1
- data/lib/oci/core/models/service_gateway.rb +1 -1
- 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 +3 -3
- data/lib/oci/core/models/tcp_options.rb +1 -1
- data/lib/oci/core/models/tunnel_config.rb +1 -1
- data/lib/oci/core/models/tunnel_cpe_device_config.rb +163 -0
- data/lib/oci/core/models/tunnel_status.rb +1 -1
- data/lib/oci/core/models/udp_options.rb +1 -1
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/update_boot_volume_details.rb +28 -5
- data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +4 -4
- data/lib/oci/core/models/update_cluster_network_details.rb +5 -3
- data/lib/oci/core/models/update_console_history_details.rb +1 -1
- data/lib/oci/core/models/update_cpe_details.rb +30 -5
- data/lib/oci/core/models/update_cross_connect_details.rb +1 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -1
- data/lib/oci/core/models/update_dedicated_vm_host_details.rb +1 -1
- data/lib/oci/core/models/update_dhcp_details.rb +1 -1
- data/lib/oci/core/models/update_drg_attachment_details.rb +1 -1
- data/lib/oci/core/models/update_drg_details.rb +1 -1
- data/lib/oci/core/models/update_image_details.rb +1 -1
- data/lib/oci/core/models/update_instance_agent_config_details.rb +22 -5
- data/lib/oci/core/models/update_instance_configuration_details.rb +1 -1
- data/lib/oci/core/models/update_instance_details.rb +20 -37
- data/lib/oci/core/models/update_instance_pool_details.rb +4 -2
- data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +31 -2
- data/lib/oci/core/models/update_internet_gateway_details.rb +1 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +1 -1
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +1 -1
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +1 -1
- data/lib/oci/core/models/update_ipv6_details.rb +1 -1
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -1
- data/lib/oci/core/models/update_nat_gateway_details.rb +1 -1
- data/lib/oci/core/models/update_network_security_group_details.rb +1 -1
- data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +1 -1
- data/lib/oci/core/models/update_private_ip_details.rb +1 -1
- data/lib/oci/core/models/update_public_ip_details.rb +1 -1
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +1 -1
- data/lib/oci/core/models/update_route_table_details.rb +1 -1
- data/lib/oci/core/models/update_security_list_details.rb +1 -1
- data/lib/oci/core/models/update_security_rule_details.rb +5 -3
- data/lib/oci/core/models/update_service_gateway_details.rb +1 -1
- data/lib/oci/core/models/update_subnet_details.rb +1 -1
- data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +154 -0
- data/lib/oci/core/models/update_vcn_details.rb +1 -1
- data/lib/oci/core/models/update_virtual_circuit_details.rb +21 -3
- data/lib/oci/core/models/update_vnic_details.rb +7 -4
- data/lib/oci/core/models/update_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/update_volume_backup_policy_details.rb +10 -3
- data/lib/oci/core/models/update_volume_details.rb +27 -2
- data/lib/oci/core/models/update_volume_group_backup_details.rb +1 -1
- data/lib/oci/core/models/update_volume_group_details.rb +1 -1
- data/lib/oci/core/models/update_volume_kms_key_details.rb +4 -4
- data/lib/oci/core/models/updated_network_security_group_security_rules.rb +1 -1
- data/lib/oci/core/models/vcn.rb +3 -2
- data/lib/oci/core/models/virtual_circuit.rb +21 -4
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +1 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +1 -1
- data/lib/oci/core/models/vnic.rb +1 -1
- data/lib/oci/core/models/vnic_attachment.rb +2 -2
- data/lib/oci/core/models/volume.rb +28 -3
- data/lib/oci/core/models/volume_attachment.rb +16 -2
- data/lib/oci/core/models/volume_backup.rb +2 -2
- data/lib/oci/core/models/volume_backup_policy.rb +1 -1
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +9 -5
- data/lib/oci/core/models/volume_backup_schedule.rb +27 -11
- data/lib/oci/core/models/volume_group.rb +2 -2
- data/lib/oci/core/models/volume_group_backup.rb +1 -1
- data/lib/oci/core/models/volume_group_source_details.rb +1 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +1 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +1 -1
- data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +1 -1
- data/lib/oci/core/models/volume_kms_key.rb +3 -3
- data/lib/oci/core/models/volume_source_details.rb +1 -1
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +1 -1
- data/lib/oci/core/virtual_network_client.rb +699 -1
- data/lib/oci/core/virtual_network_client_composite_operations.rb +1 -1
- data/lib/oci/data_catalog/data_catalog.rb +135 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +7577 -0
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +172 -0
- data/lib/oci/data_catalog/models/attribute.rb +403 -0
- data/lib/oci/data_catalog/models/attribute_collection.rb +150 -0
- data/lib/oci/data_catalog/models/attribute_summary.rb +281 -0
- data/lib/oci/data_catalog/models/attribute_tag.rb +269 -0
- data/lib/oci/data_catalog/models/attribute_tag_collection.rb +150 -0
- data/lib/oci/data_catalog/models/attribute_tag_summary.rb +269 -0
- data/lib/oci/data_catalog/models/base_permissions_summary.rb +153 -0
- data/lib/oci/data_catalog/models/base_tag.rb +255 -0
- data/lib/oci/data_catalog/models/base_tag_summary.rb +255 -0
- data/lib/oci/data_catalog/models/catalog.rb +311 -0
- data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +167 -0
- data/lib/oci/data_catalog/models/catalog_summary.rb +279 -0
- data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +153 -0
- data/lib/oci/data_catalog/models/connection.rb +343 -0
- data/lib/oci/data_catalog/models/connection_alias_summary.rb +170 -0
- data/lib/oci/data_catalog/models/connection_collection.rb +150 -0
- data/lib/oci/data_catalog/models/connection_result.rb +10 -0
- data/lib/oci/data_catalog/models/connection_summary.rb +271 -0
- data/lib/oci/data_catalog/models/create_attribute_details.rb +283 -0
- data/lib/oci/data_catalog/models/create_catalog_details.rb +199 -0
- data/lib/oci/data_catalog/models/create_connection_details.rb +237 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +197 -0
- data/lib/oci/data_catalog/models/create_entity_details.rb +275 -0
- data/lib/oci/data_catalog/models/create_folder_details.rb +239 -0
- data/lib/oci/data_catalog/models/create_glossary_details.rb +189 -0
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +271 -0
- data/lib/oci/data_catalog/models/create_job_details.rb +240 -0
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +342 -0
- data/lib/oci/data_catalog/models/create_tag_details.rb +165 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +219 -0
- data/lib/oci/data_catalog/models/create_term_relationship_details.rb +179 -0
- data/lib/oci/data_catalog/models/data_asset.rb +319 -0
- data/lib/oci/data_catalog/models/data_asset_collection.rb +150 -0
- data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +167 -0
- data/lib/oci/data_catalog/models/data_asset_summary.rb +261 -0
- data/lib/oci/data_catalog/models/data_asset_tag.rb +269 -0
- data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +150 -0
- data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +269 -0
- data/lib/oci/data_catalog/models/entity.rb +428 -0
- data/lib/oci/data_catalog/models/entity_collection.rb +150 -0
- data/lib/oci/data_catalog/models/entity_summary.rb +299 -0
- data/lib/oci/data_catalog/models/entity_tag.rb +269 -0
- data/lib/oci/data_catalog/models/entity_tag_collection.rb +150 -0
- data/lib/oci/data_catalog/models/entity_tag_summary.rb +269 -0
- data/lib/oci/data_catalog/models/folder.rb +371 -0
- data/lib/oci/data_catalog/models/folder_collection.rb +150 -0
- data/lib/oci/data_catalog/models/folder_summary.rb +286 -0
- data/lib/oci/data_catalog/models/folder_tag.rb +269 -0
- data/lib/oci/data_catalog/models/folder_tag_collection.rb +150 -0
- data/lib/oci/data_catalog/models/folder_tag_summary.rb +269 -0
- data/lib/oci/data_catalog/models/glossary.rb +304 -0
- data/lib/oci/data_catalog/models/glossary_collection.rb +150 -0
- data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +167 -0
- data/lib/oci/data_catalog/models/glossary_summary.rb +251 -0
- data/lib/oci/data_catalog/models/glossary_tree_element.rb +311 -0
- data/lib/oci/data_catalog/models/harvest_status.rb +12 -0
- data/lib/oci/data_catalog/models/import_connection_details.rb +166 -0
- data/lib/oci/data_catalog/models/import_glossary_details.rb +153 -0
- data/lib/oci/data_catalog/models/job.rb +420 -0
- data/lib/oci/data_catalog/models/job_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_definition.rb +391 -0
- data/lib/oci/data_catalog/models/job_definition_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +167 -0
- data/lib/oci/data_catalog/models/job_definition_scope.rb +229 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +262 -0
- data/lib/oci/data_catalog/models/job_execution.rb +420 -0
- data/lib/oci/data_catalog/models/job_execution_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_execution_state.rb +14 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +275 -0
- data/lib/oci/data_catalog/models/job_lifecycle_state.rb +11 -0
- data/lib/oci/data_catalog/models/job_log.rb +258 -0
- data/lib/oci/data_catalog/models/job_log_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_log_summary.rb +216 -0
- data/lib/oci/data_catalog/models/job_metric.rb +336 -0
- data/lib/oci/data_catalog/models/job_metric_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_metric_summary.rb +289 -0
- data/lib/oci/data_catalog/models/job_schedule_type.rb +10 -0
- data/lib/oci/data_catalog/models/job_summary.rb +386 -0
- data/lib/oci/data_catalog/models/job_type.rb +21 -0
- data/lib/oci/data_catalog/models/lifecycle_state.rb +16 -0
- data/lib/oci/data_catalog/models/parse_connection_details.rb +166 -0
- data/lib/oci/data_catalog/models/property_definition.rb +187 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +150 -0
- data/lib/oci/data_catalog/models/search_result.rb +490 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +161 -0
- data/lib/oci/data_catalog/models/search_tag_summary.rb +163 -0
- data/lib/oci/data_catalog/models/search_term_summary.rb +222 -0
- data/lib/oci/data_catalog/models/term.rb +367 -0
- data/lib/oci/data_catalog/models/term_associated_object.rb +169 -0
- data/lib/oci/data_catalog/models/term_collection.rb +150 -0
- data/lib/oci/data_catalog/models/term_relationship.rb +300 -0
- data/lib/oci/data_catalog/models/term_relationship_collection.rb +150 -0
- data/lib/oci/data_catalog/models/term_relationship_summary.rb +300 -0
- data/lib/oci/data_catalog/models/term_summary.rb +300 -0
- data/lib/oci/data_catalog/models/term_workflow_status.rb +12 -0
- data/lib/oci/data_catalog/models/type.rb +308 -0
- data/lib/oci/data_catalog/models/type_collection.rb +150 -0
- data/lib/oci/data_catalog/models/type_summary.rb +223 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +279 -0
- data/lib/oci/data_catalog/models/update_catalog_details.rb +185 -0
- data/lib/oci/data_catalog/models/update_connection_details.rb +219 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +180 -0
- data/lib/oci/data_catalog/models/update_entity_details.rb +271 -0
- data/lib/oci/data_catalog/models/update_folder_details.rb +239 -0
- data/lib/oci/data_catalog/models/update_glossary_details.rb +189 -0
- data/lib/oci/data_catalog/models/update_job_definition_details.rb +252 -0
- data/lib/oci/data_catalog/models/update_job_details.rb +224 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +203 -0
- data/lib/oci/data_catalog/models/update_term_relationship_details.rb +165 -0
- data/lib/oci/data_catalog/models/upload_credentials_details.rb +166 -0
- data/lib/oci/data_catalog/models/validate_connection_details.rb +166 -0
- data/lib/oci/data_catalog/models/validate_connection_result.rb +159 -0
- data/lib/oci/data_catalog/models/work_request.rb +307 -0
- data/lib/oci/data_catalog/models/work_request_error.rb +172 -0
- data/lib/oci/data_catalog/models/work_request_log.rb +159 -0
- data/lib/oci/data_catalog/models/work_request_resource.rb +218 -0
- data/lib/oci/data_catalog/util.rb +1 -0
- data/lib/oci/data_flow/data_flow.rb +34 -0
- data/lib/oci/data_flow/data_flow_client.rb +1116 -0
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +270 -0
- data/lib/oci/data_flow/models/application.rb +527 -0
- data/lib/oci/data_flow/models/application_language.rb +12 -0
- data/lib/oci/data_flow/models/application_lifecycle_state.rb +11 -0
- data/lib/oci/data_flow/models/application_parameter.rb +165 -0
- data/lib/oci/data_flow/models/application_summary.rb +345 -0
- data/lib/oci/data_flow/models/change_application_compartment_details.rb +155 -0
- data/lib/oci/data_flow/models/change_run_compartment_details.rb +155 -0
- data/lib/oci/data_flow/models/create_application_details.rb +411 -0
- data/lib/oci/data_flow/models/create_run_details.rb +358 -0
- data/lib/oci/data_flow/models/run.rb +625 -0
- data/lib/oci/data_flow/models/run_lifecycle_state.rb +14 -0
- data/lib/oci/data_flow/models/run_log_summary.rb +259 -0
- data/lib/oci/data_flow/models/run_summary.rb +454 -0
- data/lib/oci/data_flow/models/update_application_details.rb +396 -0
- data/lib/oci/data_flow/models/update_run_details.rb +173 -0
- data/lib/oci/data_flow/util.rb +1 -0
- data/lib/oci/data_science/data_science.rb +49 -0
- data/lib/oci/data_science/data_science_client.rb +2359 -0
- data/lib/oci/data_science/data_science_client_composite_operations.rb +587 -0
- data/lib/oci/data_science/models/change_model_compartment_details.rb +154 -0
- data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +154 -0
- data/lib/oci/data_science/models/change_project_compartment_details.rb +154 -0
- data/lib/oci/data_science/models/create_model_details.rb +225 -0
- data/lib/oci/data_science/models/create_model_provenance_details.rb +210 -0
- data/lib/oci/data_science/models/create_notebook_session_details.rb +230 -0
- data/lib/oci/data_science/models/create_project_details.rb +210 -0
- data/lib/oci/data_science/models/model.rb +299 -0
- data/lib/oci/data_science/models/model_lifecycle_state.rb +12 -0
- data/lib/oci/data_science/models/model_provenance.rb +210 -0
- data/lib/oci/data_science/models/model_summary.rb +289 -0
- data/lib/oci/data_science/models/notebook_session.rb +336 -0
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +180 -0
- data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +15 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +181 -0
- data/lib/oci/data_science/models/notebook_session_summary.rb +321 -0
- data/lib/oci/data_science/models/project.rb +285 -0
- data/lib/oci/data_science/models/project_lifecycle_state.rb +11 -0
- data/lib/oci/data_science/models/project_summary.rb +284 -0
- data/lib/oci/data_science/models/update_model_details.rb +198 -0
- data/lib/oci/data_science/models/update_model_provenance_details.rb +210 -0
- data/lib/oci/data_science/models/update_notebook_session_details.rb +202 -0
- data/lib/oci/data_science/models/update_project_details.rb +195 -0
- data/lib/oci/data_science/models/work_request.rb +300 -0
- data/lib/oci/data_science/models/work_request_error.rb +170 -0
- data/lib/oci/data_science/models/work_request_log_entry.rb +159 -0
- data/lib/oci/data_science/models/work_request_operation_type.rb +14 -0
- data/lib/oci/data_science/models/work_request_resource.rb +214 -0
- data/lib/oci/data_science/models/work_request_status.rb +14 -0
- data/lib/oci/data_science/models/work_request_summary.rb +300 -0
- data/lib/oci/data_science/util.rb +1 -0
- data/lib/oci/database/database.rb +12 -3
- data/lib/oci/database/database_client.rb +730 -50
- data/lib/oci/database/database_client_composite_operations.rb +162 -4
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/associated_database_details.rb +1 -1
- data/lib/oci/database/models/autonomous_container_database.rb +17 -4
- data/lib/oci/database/models/autonomous_container_database_backup_config.rb +1 -1
- data/lib/oci/database/models/autonomous_container_database_summary.rb +17 -4
- data/lib/oci/database/models/autonomous_data_warehouse.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +1 -1
- data/lib/oci/database/models/autonomous_database.rb +157 -15
- data/lib/oci/database/models/autonomous_database_backup.rb +21 -5
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +21 -5
- data/lib/oci/database/models/autonomous_database_connection_strings.rb +1 -1
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +20 -6
- data/lib/oci/database/models/autonomous_database_console_token_details.rb +2 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +157 -15
- data/lib/oci/database/models/autonomous_database_wallet.rb +1 -1
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +7 -3
- data/lib/oci/database/models/autonomous_db_version_summary.rb +213 -0
- data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +4 -2
- data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +1 -1
- data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +4 -2
- data/lib/oci/database/models/backup.rb +15 -5
- data/lib/oci/database/models/backup_destination.rb +1 -1
- data/lib/oci/database/models/backup_destination_details.rb +5 -39
- data/lib/oci/database/models/backup_destination_summary.rb +1 -1
- data/lib/oci/database/models/backup_summary.rb +15 -5
- data/lib/oci/database/models/change_compartment_details.rb +1 -1
- data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +1 -1
- data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +1 -1
- data/lib/oci/database/models/complete_external_backup_job_details.rb +1 -1
- data/lib/oci/database/models/console_connection.rb +235 -0
- data/lib/oci/database/models/console_connection_summary.rb +240 -0
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +16 -3
- 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 +1 -1
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +110 -12
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +22 -2
- data/lib/oci/database/models/create_autonomous_database_details.rb +22 -2
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +269 -0
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +279 -0
- data/lib/oci/database/models/create_backup_destination_details.rb +1 -1
- data/lib/oci/database/models/create_backup_details.rb +1 -1
- data/lib/oci/database/models/create_console_connection_details.rb +155 -0
- data/lib/oci/database/models/create_data_guard_association_details.rb +2 -2
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +3 -3
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +21 -5
- data/lib/oci/database/models/create_database_base.rb +215 -0
- data/lib/oci/database/models/create_database_details.rb +1 -1
- data/lib/oci/database/models/{create_db_home_with_vm_cluster_id_from_backup_details.rb → create_database_from_backup.rb} +16 -24
- data/lib/oci/database/models/create_database_from_backup_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_base.rb +4 -6
- data/lib/oci/database/models/create_db_home_details.rb +3 -3
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +3 -3
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +1 -2
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +4 -2
- data/lib/oci/database/models/create_external_backup_job_details.rb +1 -1
- data/lib/oci/database/models/create_new_database_details.rb +168 -0
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +1 -1
- data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +1 -1
- data/lib/oci/database/models/create_vm_cluster_details.rb +1 -1
- data/lib/oci/database/models/data_guard_association.rb +2 -2
- data/lib/oci/database/models/data_guard_association_summary.rb +2 -2
- data/lib/oci/database/models/database.rb +31 -3
- data/lib/oci/database/models/database_connection_strings.rb +1 -1
- data/lib/oci/database/models/database_summary.rb +31 -3
- data/lib/oci/database/models/day_of_week.rb +1 -1
- data/lib/oci/database/models/db_backup_config.rb +1 -1
- data/lib/oci/database/models/db_home.rb +34 -6
- data/lib/oci/database/models/db_home_summary.rb +37 -9
- data/lib/oci/database/models/db_iorm_config.rb +1 -1
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +1 -1
- data/lib/oci/database/models/db_node.rb +79 -5
- data/lib/oci/database/models/db_node_summary.rb +79 -5
- data/lib/oci/database/models/db_system.rb +4 -2
- data/lib/oci/database/models/db_system_options.rb +7 -2
- data/lib/oci/database/models/db_system_shape_summary.rb +1 -1
- data/lib/oci/database/models/db_system_summary.rb +4 -2
- data/lib/oci/database/models/db_version_summary.rb +19 -5
- data/lib/oci/database/models/exadata_infrastructure.rb +1 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +1 -1
- data/lib/oci/database/models/exadata_iorm_config.rb +1 -1
- data/lib/oci/database/models/exadata_iorm_config_update_details.rb +1 -1
- data/lib/oci/database/models/external_backup_job.rb +1 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +1 -1
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +1 -1
- data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
- data/lib/oci/database/models/gi_version_summary.rb +1 -1
- data/lib/oci/database/models/info_for_network_gen_details.rb +1 -1
- data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +4 -2
- data/lib/oci/database/models/launch_db_system_base.rb +6 -4
- data/lib/oci/database/models/launch_db_system_details.rb +1 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +1 -1
- data/lib/oci/database/models/maintenance_run.rb +5 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +5 -1
- data/lib/oci/database/models/maintenance_window.rb +1 -1
- data/lib/oci/database/models/month.rb +1 -1
- data/lib/oci/database/models/node_details.rb +2 -2
- data/lib/oci/database/models/ocp_us.rb +181 -0
- data/lib/oci/database/models/patch.rb +1 -1
- data/lib/oci/database/models/patch_details.rb +2 -2
- data/lib/oci/database/models/patch_history_entry.rb +1 -1
- data/lib/oci/database/models/patch_history_entry_summary.rb +1 -1
- data/lib/oci/database/models/patch_summary.rb +1 -1
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +1 -1
- data/lib/oci/database/models/restore_autonomous_database_details.rb +1 -1
- data/lib/oci/database/models/restore_database_details.rb +1 -1
- data/lib/oci/database/models/scan_details.rb +1 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +15 -2
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +30 -10
- data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +4 -2
- data/lib/oci/database/models/update_backup_destination_details.rb +1 -1
- data/lib/oci/database/models/update_database_details.rb +1 -1
- data/lib/oci/database/models/update_db_home_details.rb +2 -2
- data/lib/oci/database/models/update_db_system_details.rb +19 -3
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/update_maintenance_run_details.rb +1 -1
- data/lib/oci/database/models/update_vm_cluster_details.rb +1 -1
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network_summary.rb +1 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +1 -1
- data/lib/oci/database/models/vm_network_details.rb +1 -1
- data/lib/oci/database/models/workload_type.rb +160 -0
- data/lib/oci/dns/dns.rb +6 -1
- data/lib/oci/dns/dns_client.rb +572 -3
- data/lib/oci/dns/dns_client_composite_operations.rb +120 -1
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +1 -1
- data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +155 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +1 -1
- data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +1 -1
- data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +1 -1
- data/lib/oci/dns/models/create_steering_policy_details.rb +1 -1
- data/lib/oci/dns/models/create_tsig_key_details.rb +228 -0
- data/lib/oci/dns/models/create_zone_base_details.rb +1 -1
- data/lib/oci/dns/models/create_zone_details.rb +1 -1
- data/lib/oci/dns/models/dynect_migration_details.rb +1 -1
- data/lib/oci/dns/models/external_master.rb +22 -5
- data/lib/oci/dns/models/migration_replacement.rb +1 -1
- data/lib/oci/dns/models/nameserver.rb +1 -1
- data/lib/oci/dns/models/patch_domain_records_details.rb +1 -1
- data/lib/oci/dns/models/patch_rr_set_details.rb +1 -1
- data/lib/oci/dns/models/patch_zone_records_details.rb +1 -1
- data/lib/oci/dns/models/record.rb +1 -1
- data/lib/oci/dns/models/record_collection.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/rr_set.rb +1 -1
- data/lib/oci/dns/models/sort_order.rb +1 -1
- data/lib/oci/dns/models/steering_policy.rb +1 -1
- data/lib/oci/dns/models/steering_policy_answer.rb +1 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +1 -1
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +1 -1
- data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +1 -1
- data/lib/oci/dns/models/steering_policy_filter_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +1 -1
- data/lib/oci/dns/models/steering_policy_health_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_health_rule_case.rb +1 -1
- data/lib/oci/dns/models/steering_policy_limit_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +1 -1
- data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +1 -1
- data/lib/oci/dns/models/steering_policy_priority_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +1 -1
- data/lib/oci/dns/models/steering_policy_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_summary.rb +1 -1
- data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +1 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +1 -1
- data/lib/oci/dns/models/tsig.rb +1 -1
- data/lib/oci/dns/models/tsig_key.rb +320 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +290 -0
- data/lib/oci/dns/models/update_domain_records_details.rb +1 -1
- data/lib/oci/dns/models/update_rr_set_details.rb +1 -1
- data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +1 -1
- data/lib/oci/dns/models/update_steering_policy_details.rb +1 -1
- data/lib/oci/dns/models/update_tsig_key_details.rb +180 -0
- data/lib/oci/dns/models/update_zone_details.rb +1 -1
- data/lib/oci/dns/models/update_zone_records_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/dts/appliance_export_job_client.rb +495 -0
- data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +143 -0
- data/lib/oci/dts/dts.rb +8 -1
- data/lib/oci/dts/models/appliance_export_job.rb +550 -0
- data/lib/oci/dts/models/appliance_export_job_summary.rb +275 -0
- data/lib/oci/dts/models/attach_devices_details.rb +1 -1
- data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +154 -0
- data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +1 -1
- data/lib/oci/dts/models/create_appliance_export_job_details.rb +269 -0
- data/lib/oci/dts/models/create_transfer_appliance_details.rb +1 -1
- data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +9 -5
- data/lib/oci/dts/models/create_transfer_device_details.rb +1 -1
- data/lib/oci/dts/models/create_transfer_job_details.rb +9 -5
- data/lib/oci/dts/models/create_transfer_package_details.rb +1 -1
- data/lib/oci/dts/models/detach_devices_details.rb +1 -1
- data/lib/oci/dts/models/multiple_transfer_appliances.rb +1 -1
- data/lib/oci/dts/models/multiple_transfer_devices.rb +1 -1
- data/lib/oci/dts/models/multiple_transfer_packages.rb +1 -1
- data/lib/oci/dts/models/new_transfer_device.rb +1 -1
- data/lib/oci/dts/models/shipping_address.rb +1 -1
- data/lib/oci/dts/models/shipping_vendors.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance_certificate.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance_entitlement.rb +9 -5
- data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +9 -5
- data/lib/oci/dts/models/transfer_appliance_public_key.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance_summary.rb +1 -1
- data/lib/oci/dts/models/transfer_device.rb +1 -1
- data/lib/oci/dts/models/transfer_device_summary.rb +1 -1
- data/lib/oci/dts/models/transfer_job.rb +9 -5
- data/lib/oci/dts/models/transfer_job_summary.rb +9 -5
- data/lib/oci/dts/models/transfer_package.rb +1 -1
- data/lib/oci/dts/models/transfer_package_summary.rb +1 -1
- data/lib/oci/dts/models/update_appliance_export_job_details.rb +395 -0
- data/lib/oci/dts/models/update_transfer_appliance_details.rb +1 -1
- data/lib/oci/dts/models/update_transfer_device_details.rb +1 -1
- data/lib/oci/dts/models/update_transfer_job_details.rb +9 -5
- data/lib/oci/dts/models/update_transfer_package_details.rb +1 -1
- data/lib/oci/dts/shipping_vendors_client.rb +1 -1
- data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_appliance_client.rb +1 -1
- data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +1 -1
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_device_client.rb +1 -1
- data/lib/oci/dts/transfer_device_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_job_client.rb +33 -5
- data/lib/oci/dts/transfer_job_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_package_client.rb +1 -1
- data/lib/oci/dts/transfer_package_client_composite_operations.rb +1 -1
- data/lib/oci/email/email.rb +1 -1
- data/lib/oci/email/email_client.rb +1 -1
- data/lib/oci/email/email_client_composite_operations.rb +1 -1
- data/lib/oci/email/models/change_sender_compartment_details.rb +1 -1
- data/lib/oci/email/models/create_sender_details.rb +1 -1
- data/lib/oci/email/models/create_suppression_details.rb +1 -1
- data/lib/oci/email/models/sender.rb +1 -1
- data/lib/oci/email/models/sender_summary.rb +1 -1
- data/lib/oci/email/models/suppression.rb +1 -1
- data/lib/oci/email/models/suppression_summary.rb +1 -1
- data/lib/oci/email/models/update_sender_details.rb +1 -1
- data/lib/oci/errors.rb +1 -1
- data/lib/oci/events/events.rb +1 -1
- data/lib/oci/events/events_client.rb +2 -2
- data/lib/oci/events/events_client_composite_operations.rb +1 -1
- data/lib/oci/events/models/action.rb +22 -3
- data/lib/oci/events/models/action_details.rb +1 -1
- data/lib/oci/events/models/action_details_list.rb +1 -1
- data/lib/oci/events/models/action_list.rb +1 -1
- data/lib/oci/events/models/change_rule_compartment_details.rb +1 -1
- data/lib/oci/events/models/create_faa_s_action_details.rb +1 -1
- data/lib/oci/events/models/create_notification_service_action_details.rb +1 -1
- data/lib/oci/events/models/create_rule_details.rb +2 -7
- data/lib/oci/events/models/create_streaming_service_action_details.rb +1 -1
- data/lib/oci/events/models/faa_s_action.rb +6 -2
- data/lib/oci/events/models/notification_service_action.rb +6 -2
- data/lib/oci/events/models/rule.rb +3 -8
- data/lib/oci/events/models/rule_summary.rb +3 -8
- data/lib/oci/events/models/streaming_service_action.rb +6 -2
- data/lib/oci/events/models/update_rule_details.rb +2 -7
- data/lib/oci/file_storage/file_storage.rb +1 -1
- data/lib/oci/file_storage/file_storage_client.rb +68 -60
- data/lib/oci/file_storage/file_storage_client_composite_operations.rb +1 -1
- data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +1 -1
- data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +1 -1
- data/lib/oci/file_storage/models/client_options.rb +1 -1
- data/lib/oci/file_storage/models/create_export_details.rb +1 -1
- data/lib/oci/file_storage/models/create_file_system_details.rb +1 -1
- data/lib/oci/file_storage/models/create_mount_target_details.rb +20 -2
- data/lib/oci/file_storage/models/create_snapshot_details.rb +1 -1
- data/lib/oci/file_storage/models/export.rb +1 -1
- data/lib/oci/file_storage/models/export_set.rb +1 -1
- data/lib/oci/file_storage/models/export_set_summary.rb +1 -1
- data/lib/oci/file_storage/models/export_summary.rb +1 -1
- data/lib/oci/file_storage/models/file_system.rb +2 -2
- data/lib/oci/file_storage/models/file_system_summary.rb +1 -1
- data/lib/oci/file_storage/models/mount_target.rb +20 -2
- data/lib/oci/file_storage/models/mount_target_summary.rb +20 -2
- data/lib/oci/file_storage/models/snapshot.rb +1 -1
- data/lib/oci/file_storage/models/snapshot_summary.rb +1 -1
- data/lib/oci/file_storage/models/update_export_details.rb +1 -1
- data/lib/oci/file_storage/models/update_export_set_details.rb +1 -1
- data/lib/oci/file_storage/models/update_file_system_details.rb +6 -5
- data/lib/oci/file_storage/models/update_mount_target_details.rb +20 -2
- data/lib/oci/file_storage/models/update_snapshot_details.rb +1 -1
- data/lib/oci/functions/functions.rb +1 -1
- data/lib/oci/functions/functions_invoke_client.rb +1 -1
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +1 -1
- data/lib/oci/functions/functions_management_client.rb +1 -1
- data/lib/oci/functions/functions_management_client_composite_operations.rb +1 -1
- data/lib/oci/functions/models/application.rb +1 -1
- data/lib/oci/functions/models/application_summary.rb +1 -1
- data/lib/oci/functions/models/change_application_compartment_details.rb +1 -1
- data/lib/oci/functions/models/create_application_details.rb +1 -1
- data/lib/oci/functions/models/create_function_details.rb +1 -1
- data/lib/oci/functions/models/function.rb +1 -1
- data/lib/oci/functions/models/function_summary.rb +1 -1
- data/lib/oci/functions/models/update_application_details.rb +1 -1
- data/lib/oci/functions/models/update_function_details.rb +1 -1
- data/lib/oci/global_context.rb +1 -1
- data/lib/oci/healthchecks/health_checks_client.rb +1 -1
- data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +1 -1
- data/lib/oci/healthchecks/healthchecks.rb +1 -1
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +1 -1
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +1 -1
- data/lib/oci/healthchecks/models/connection.rb +1 -1
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +1 -1
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +1 -1
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +1 -1
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +1 -1
- data/lib/oci/healthchecks/models/dns.rb +1 -1
- data/lib/oci/healthchecks/models/geolocation.rb +1 -1
- data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +1 -1
- data/lib/oci/healthchecks/models/http_monitor.rb +1 -1
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +1 -1
- data/lib/oci/healthchecks/models/http_probe.rb +1 -1
- data/lib/oci/healthchecks/models/http_probe_method.rb +1 -1
- data/lib/oci/healthchecks/models/http_probe_protocol.rb +1 -1
- data/lib/oci/healthchecks/models/http_probe_result_summary.rb +1 -1
- data/lib/oci/healthchecks/models/ping_monitor.rb +1 -1
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +1 -1
- data/lib/oci/healthchecks/models/ping_probe.rb +1 -1
- data/lib/oci/healthchecks/models/ping_probe_protocol.rb +1 -1
- data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +1 -1
- data/lib/oci/healthchecks/models/routing.rb +1 -1
- data/lib/oci/healthchecks/models/tcp_connection.rb +1 -1
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +1 -1
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +1 -1
- data/lib/oci/identity/identity.rb +11 -1
- data/lib/oci/identity/identity_client.rb +637 -13
- data/lib/oci/identity/identity_client_composite_operations.rb +40 -1
- data/lib/oci/identity/models/add_user_to_group_details.rb +1 -1
- data/lib/oci/identity/models/api_key.rb +1 -1
- data/lib/oci/identity/models/auth_token.rb +1 -1
- data/lib/oci/identity/models/authentication_policy.rb +1 -1
- data/lib/oci/identity/models/availability_domain.rb +1 -1
- data/lib/oci/identity/models/base_tag_definition_validator.rb +11 -9
- data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +1 -1
- data/lib/oci/identity/models/compartment.rb +1 -1
- data/lib/oci/identity/models/create_api_key_details.rb +1 -1
- data/lib/oci/identity/models/create_auth_token_details.rb +1 -1
- data/lib/oci/identity/models/create_compartment_details.rb +1 -1
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +1 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +1 -1
- data/lib/oci/identity/models/create_group_details.rb +1 -1
- data/lib/oci/identity/models/create_identity_provider_details.rb +1 -1
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +1 -1
- data/lib/oci/identity/models/create_network_source_details.rb +251 -0
- data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +169 -0
- data/lib/oci/identity/models/create_policy_details.rb +1 -1
- data/lib/oci/identity/models/create_region_subscription_details.rb +1 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +1 -1
- data/lib/oci/identity/models/create_smtp_credential_details.rb +1 -1
- data/lib/oci/identity/models/create_swift_password_details.rb +1 -1
- data/lib/oci/identity/models/create_tag_default_details.rb +1 -1
- data/lib/oci/identity/models/create_tag_details.rb +11 -4
- data/lib/oci/identity/models/create_tag_namespace_details.rb +3 -1
- data/lib/oci/identity/models/create_user_details.rb +1 -1
- data/lib/oci/identity/models/customer_secret_key.rb +1 -1
- data/lib/oci/identity/models/customer_secret_key_summary.rb +1 -1
- data/lib/oci/identity/models/default_tag_definition_validator.rb +4 -3
- data/lib/oci/identity/models/dynamic_group.rb +1 -1
- data/lib/oci/identity/models/enum_tag_definition_validator.rb +4 -3
- data/lib/oci/identity/models/fault_domain.rb +1 -1
- data/lib/oci/identity/models/fully_qualified_scope.rb +159 -0
- data/lib/oci/identity/models/group.rb +1 -1
- data/lib/oci/identity/models/identity_provider.rb +1 -1
- data/lib/oci/identity/models/identity_provider_group_summary.rb +1 -1
- data/lib/oci/identity/models/idp_group_mapping.rb +1 -1
- data/lib/oci/identity/models/mfa_totp_device.rb +1 -1
- data/lib/oci/identity/models/mfa_totp_device_summary.rb +1 -1
- data/lib/oci/identity/models/mfa_totp_token.rb +1 -1
- data/lib/oci/identity/models/move_compartment_details.rb +1 -1
- data/lib/oci/identity/models/network_sources.rb +333 -0
- data/lib/oci/identity/models/network_sources_summary.rb +246 -0
- data/lib/oci/identity/models/network_sources_virtual_source_list.rb +165 -0
- data/lib/oci/identity/models/o_auth2_client_credential.rb +292 -0
- data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +282 -0
- data/lib/oci/identity/models/password_policy.rb +1 -1
- data/lib/oci/identity/models/policy.rb +1 -1
- data/lib/oci/identity/models/region.rb +1 -1
- data/lib/oci/identity/models/region_subscription.rb +1 -1
- data/lib/oci/identity/models/saml2_identity_provider.rb +1 -1
- data/lib/oci/identity/models/scim_client_credentials.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 +13 -5
- data/lib/oci/identity/models/tag_default.rb +1 -1
- data/lib/oci/identity/models/tag_default_summary.rb +1 -1
- data/lib/oci/identity/models/tag_namespace.rb +1 -1
- data/lib/oci/identity/models/tag_namespace_summary.rb +1 -1
- data/lib/oci/identity/models/tag_summary.rb +1 -1
- data/lib/oci/identity/models/tagging_work_request.rb +1 -1
- data/lib/oci/identity/models/tagging_work_request_error_summary.rb +1 -1
- data/lib/oci/identity/models/tagging_work_request_log_summary.rb +1 -1
- data/lib/oci/identity/models/tagging_work_request_summary.rb +1 -1
- data/lib/oci/identity/models/tenancy.rb +16 -2
- data/lib/oci/identity/models/ui_password.rb +1 -1
- data/lib/oci/identity/models/ui_password_information.rb +1 -1
- data/lib/oci/identity/models/update_auth_token_details.rb +1 -1
- data/lib/oci/identity/models/update_authentication_policy_details.rb +1 -1
- data/lib/oci/identity/models/update_compartment_details.rb +1 -1
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +1 -1
- data/lib/oci/identity/models/update_group_details.rb +1 -1
- data/lib/oci/identity/models/update_identity_provider_details.rb +1 -1
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +1 -1
- data/lib/oci/identity/models/update_network_source_details.rb +225 -0
- data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +173 -0
- data/lib/oci/identity/models/update_policy_details.rb +1 -1
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +1 -1
- data/lib/oci/identity/models/update_smtp_credential_details.rb +1 -1
- data/lib/oci/identity/models/update_state_details.rb +1 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +1 -1
- data/lib/oci/identity/models/update_tag_default_details.rb +1 -1
- data/lib/oci/identity/models/update_tag_details.rb +11 -4
- data/lib/oci/identity/models/update_tag_namespace_details.rb +1 -1
- data/lib/oci/identity/models/update_user_capabilities_details.rb +20 -5
- data/lib/oci/identity/models/update_user_details.rb +1 -1
- data/lib/oci/identity/models/user.rb +2 -1
- data/lib/oci/identity/models/user_capabilities.rb +20 -5
- data/lib/oci/identity/models/user_group_membership.rb +1 -1
- data/lib/oci/identity/models/work_request.rb +1 -1
- data/lib/oci/identity/models/work_request_error.rb +1 -1
- data/lib/oci/identity/models/work_request_log_entry.rb +1 -1
- data/lib/oci/identity/models/work_request_resource.rb +1 -1
- data/lib/oci/identity/models/work_request_summary.rb +1 -1
- data/lib/oci/integration/integration.rb +1 -1
- data/lib/oci/integration/integration_instance_client.rb +1 -1
- data/lib/oci/integration/integration_instance_client_composite_operations.rb +1 -1
- data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +1 -1
- data/lib/oci/integration/models/create_integration_instance_details.rb +1 -1
- data/lib/oci/integration/models/integration_instance.rb +1 -1
- data/lib/oci/integration/models/integration_instance_summary.rb +1 -1
- data/lib/oci/integration/models/update_integration_instance_details.rb +1 -1
- data/lib/oci/integration/models/work_request.rb +1 -1
- data/lib/oci/integration/models/work_request_error.rb +1 -1
- data/lib/oci/integration/models/work_request_log_entry.rb +1 -1
- data/lib/oci/integration/models/work_request_resource.rb +1 -1
- data/lib/oci/integration/models/work_request_summary.rb +1 -1
- data/lib/oci/key_management/key_management.rb +7 -1
- data/lib/oci/key_management/kms_crypto_client.rb +4 -5
- data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +1 -1
- data/lib/oci/key_management/kms_management_client.rb +438 -20
- data/lib/oci/key_management/kms_management_client_composite_operations.rb +121 -1
- data/lib/oci/key_management/kms_vault_client.rb +113 -18
- data/lib/oci/key_management/kms_vault_client_composite_operations.rb +1 -1
- data/lib/oci/key_management/models/change_key_compartment_details.rb +2 -2
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +2 -2
- data/lib/oci/key_management/models/create_key_details.rb +8 -7
- data/lib/oci/key_management/models/create_vault_details.rb +9 -7
- data/lib/oci/key_management/models/decrypt_data_details.rb +5 -6
- data/lib/oci/key_management/models/decrypted_data.rb +1 -1
- data/lib/oci/key_management/models/encrypt_data_details.rb +4 -4
- data/lib/oci/key_management/models/encrypted_data.rb +1 -1
- data/lib/oci/key_management/models/generate_key_details.rb +6 -6
- data/lib/oci/key_management/models/generated_key.rb +8 -9
- data/lib/oci/key_management/models/import_key_details.rb +230 -0
- data/lib/oci/key_management/models/import_key_version_details.rb +186 -0
- data/lib/oci/key_management/models/key.rb +12 -11
- data/lib/oci/key_management/models/key_shape.rb +3 -2
- data/lib/oci/key_management/models/key_summary.rb +7 -6
- data/lib/oci/key_management/models/key_version.rb +92 -2
- data/lib/oci/key_management/models/key_version_summary.rb +93 -3
- data/lib/oci/key_management/models/schedule_key_deletion_details.rb +7 -5
- data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +156 -0
- data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +7 -5
- data/lib/oci/key_management/models/update_key_details.rb +7 -6
- data/lib/oci/key_management/models/update_vault_details.rb +7 -6
- data/lib/oci/key_management/models/vault.rb +34 -14
- data/lib/oci/key_management/models/vault_summary.rb +15 -9
- data/lib/oci/key_management/models/vault_usage.rb +167 -0
- data/lib/oci/key_management/models/wrapped_import_key.rb +179 -0
- data/lib/oci/key_management/models/wrapping_key.rb +248 -0
- data/lib/oci/limits/limits.rb +1 -1
- data/lib/oci/limits/limits_client.rb +1 -1
- data/lib/oci/limits/limits_client_composite_operations.rb +1 -1
- data/lib/oci/limits/models/create_quota_details.rb +1 -1
- data/lib/oci/limits/models/limit_definition_summary.rb +1 -1
- data/lib/oci/limits/models/limit_value_summary.rb +1 -1
- data/lib/oci/limits/models/quota.rb +1 -1
- data/lib/oci/limits/models/quota_summary.rb +1 -1
- data/lib/oci/limits/models/resource_availability.rb +1 -1
- data/lib/oci/limits/models/service_summary.rb +1 -1
- data/lib/oci/limits/models/update_quota_details.rb +1 -1
- data/lib/oci/limits/quotas_client.rb +1 -1
- data/lib/oci/limits/quotas_client_composite_operations.rb +1 -1
- data/lib/oci/load_balancer/load_balancer.rb +4 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +1 -1
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +1 -1
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +1 -1
- data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +1 -1
- data/lib/oci/load_balancer/models/allow_rule.rb +1 -1
- data/lib/oci/load_balancer/models/backend.rb +1 -1
- data/lib/oci/load_balancer/models/backend_details.rb +1 -1
- data/lib/oci/load_balancer/models/backend_health.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/backend_set_health.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/change_load_balancer_compartment_details.rb +1 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +22 -5
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +1 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +1 -1
- 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 +1 -1
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_rule_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +1 -1
- data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +1 -1
- 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/health_checker_details.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/ip_address.rb +1 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/listener.rb +1 -1
- data/lib/oci/load_balancer/models/listener_details.rb +1 -1
- data/lib/oci/load_balancer/models/listener_rule_summary.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_health.rb +1 -1
- 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/load_balancer_protocol.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +1 -1
- data/lib/oci/load_balancer/models/path_match_condition.rb +210 -0
- data/lib/oci/load_balancer/models/path_match_type.rb +1 -1
- data/lib/oci/load_balancer/models/path_route.rb +1 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/redirect_rule.rb +212 -0
- data/lib/oci/load_balancer/models/redirect_uri.rb +323 -0
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +1 -1
- data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +1 -1
- data/lib/oci/load_balancer/models/rule.rb +3 -1
- data/lib/oci/load_balancer/models/rule_condition.rb +3 -1
- data/lib/oci/load_balancer/models/rule_set.rb +1 -1
- data/lib/oci/load_balancer/models/rule_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +1 -1
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +1 -1
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_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_health_checker_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_hostname_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_listener_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_rule_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/work_request.rb +1 -1
- data/lib/oci/load_balancer/models/work_request_error.rb +1 -1
- data/lib/oci/marketplace/marketplace.rb +50 -0
- data/lib/oci/marketplace/marketplace_client.rb +1009 -0
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +24 -0
- data/lib/oci/marketplace/models/accepted_agreement.rb +270 -0
- data/lib/oci/marketplace/models/accepted_agreement_summary.rb +233 -0
- data/lib/oci/marketplace/models/agreement.rb +229 -0
- data/lib/oci/marketplace/models/agreement_summary.rb +204 -0
- data/lib/oci/marketplace/models/category_summary.rb +149 -0
- data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +258 -0
- data/lib/oci/marketplace/models/documentation_link.rb +173 -0
- data/lib/oci/marketplace/models/error_entity.rb +159 -0
- data/lib/oci/marketplace/models/image_listing_package.rb +209 -0
- data/lib/oci/marketplace/models/item.rb +159 -0
- data/lib/oci/marketplace/models/link.rb +182 -0
- data/lib/oci/marketplace/models/link_enum.rb +13 -0
- data/lib/oci/marketplace/models/listing.rb +478 -0
- data/lib/oci/marketplace/models/listing_package.rb +265 -0
- data/lib/oci/marketplace/models/listing_package_summary.rb +233 -0
- data/lib/oci/marketplace/models/listing_summary.rb +300 -0
- data/lib/oci/marketplace/models/named_link.rb +159 -0
- data/lib/oci/marketplace/models/orchestration_listing_package.rb +195 -0
- data/lib/oci/marketplace/models/orchestration_variable.rb +237 -0
- data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +10 -0
- data/lib/oci/marketplace/models/package_type_enum.rb +10 -0
- data/lib/oci/marketplace/models/pricing_currency_enum.rb +9 -0
- data/lib/oci/marketplace/models/pricing_model.rb +243 -0
- data/lib/oci/marketplace/models/pricing_strategy_enum.rb +12 -0
- data/lib/oci/marketplace/models/pricing_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/publisher.rb +258 -0
- data/lib/oci/marketplace/models/publisher_summary.rb +169 -0
- data/lib/oci/marketplace/models/region.rb +169 -0
- data/lib/oci/marketplace/models/screenshot.rb +201 -0
- data/lib/oci/marketplace/models/support_contact.rb +179 -0
- data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +190 -0
- data/lib/oci/marketplace/models/upload_data.rb +191 -0
- data/lib/oci/marketplace/util.rb +2 -0
- data/lib/oci/monitoring/models/aggregated_datapoint.rb +1 -1
- data/lib/oci/monitoring/models/alarm.rb +1 -1
- data/lib/oci/monitoring/models/alarm_history_collection.rb +1 -1
- data/lib/oci/monitoring/models/alarm_history_entry.rb +1 -1
- data/lib/oci/monitoring/models/alarm_status_summary.rb +1 -1
- data/lib/oci/monitoring/models/alarm_summary.rb +1 -1
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +1 -1
- data/lib/oci/monitoring/models/create_alarm_details.rb +1 -1
- data/lib/oci/monitoring/models/datapoint.rb +1 -1
- data/lib/oci/monitoring/models/failed_metric_record.rb +1 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +1 -1
- data/lib/oci/monitoring/models/metric.rb +1 -1
- data/lib/oci/monitoring/models/metric_data.rb +1 -1
- data/lib/oci/monitoring/models/metric_data_details.rb +1 -1
- data/lib/oci/monitoring/models/post_metric_data_details.rb +1 -1
- data/lib/oci/monitoring/models/post_metric_data_response_details.rb +1 -1
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +1 -1
- data/lib/oci/monitoring/models/suppression.rb +1 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +1 -1
- data/lib/oci/monitoring/monitoring.rb +1 -1
- data/lib/oci/monitoring/monitoring_client.rb +1 -1
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +1 -1
- data/lib/oci/nosql/models/change_table_compartment_details.rb +172 -0
- data/lib/oci/nosql/models/column.rb +187 -0
- data/lib/oci/nosql/models/create_index_details.rb +195 -0
- data/lib/oci/nosql/models/create_table_details.rb +225 -0
- data/lib/oci/nosql/models/delete_row_result.rb +193 -0
- data/lib/oci/nosql/models/index.rb +254 -0
- data/lib/oci/nosql/models/index_collection.rb +149 -0
- data/lib/oci/nosql/models/index_key.rb +186 -0
- data/lib/oci/nosql/models/index_summary.rb +188 -0
- data/lib/oci/nosql/models/prepared_statement.rb +160 -0
- data/lib/oci/nosql/models/query_details.rb +245 -0
- data/lib/oci/nosql/models/query_result_collection.rb +158 -0
- data/lib/oci/nosql/models/request_usage.rb +167 -0
- data/lib/oci/nosql/models/row.rb +175 -0
- data/lib/oci/nosql/models/schema.rb +187 -0
- data/lib/oci/nosql/models/statement_summary.rb +247 -0
- data/lib/oci/nosql/models/table.rb +328 -0
- data/lib/oci/nosql/models/table_collection.rb +149 -0
- data/lib/oci/nosql/models/table_limits.rb +181 -0
- data/lib/oci/nosql/models/table_summary.rb +281 -0
- data/lib/oci/nosql/models/table_usage_collection.rb +149 -0
- data/lib/oci/nosql/models/table_usage_summary.rb +247 -0
- data/lib/oci/nosql/models/update_row_details.rb +284 -0
- data/lib/oci/nosql/models/update_row_result.rb +207 -0
- data/lib/oci/nosql/models/update_table_details.rb +219 -0
- data/lib/oci/nosql/models/work_request.rb +305 -0
- data/lib/oci/nosql/models/work_request_collection.rb +149 -0
- data/lib/oci/nosql/models/work_request_error.rb +173 -0
- data/lib/oci/nosql/models/work_request_error_collection.rb +149 -0
- data/lib/oci/nosql/models/work_request_log_entry.rb +159 -0
- data/lib/oci/nosql/models/work_request_log_entry_collection.rb +149 -0
- data/lib/oci/nosql/models/work_request_resource.rb +219 -0
- data/lib/oci/nosql/models/work_request_summary.rb +305 -0
- data/lib/oci/nosql/nosql.rb +52 -0
- data/lib/oci/nosql/nosql_client.rb +1559 -0
- data/lib/oci/nosql/nosql_client_composite_operations.rb +371 -0
- data/lib/oci/nosql/util.rb +2 -0
- data/lib/oci/object_storage/models/bucket.rb +55 -10
- 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 +8 -5
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +54 -5
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +2 -2
- data/lib/oci/object_storage/models/create_replication_policy_details.rb +179 -0
- data/lib/oci/object_storage/models/create_retention_rule_details.rb +177 -0
- data/lib/oci/object_storage/models/duration.rb +192 -0
- data/lib/oci/object_storage/models/list_objects.rb +2 -2
- 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/namespace_metadata.rb +1 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +2 -2
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +2 -3
- data/lib/oci/object_storage/models/object_name_filter.rb +1 -1
- data/lib/oci/object_storage/models/object_summary.rb +16 -6
- data/lib/oci/object_storage/models/pattern_details.rb +1 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +4 -3
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +3 -3
- data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +1 -1
- data/lib/oci/object_storage/models/rename_object_details.rb +1 -1
- data/lib/oci/object_storage/models/replication_policy.rb +262 -0
- data/lib/oci/object_storage/models/replication_policy_summary.rb +265 -0
- data/lib/oci/object_storage/models/replication_source.rb +181 -0
- data/lib/oci/object_storage/models/restore_objects_details.rb +1 -1
- data/lib/oci/object_storage/models/retention_rule.rb +226 -0
- data/lib/oci/object_storage/models/retention_rule_collection.rb +150 -0
- data/lib/oci/object_storage/models/retention_rule_details.rb +180 -0
- data/lib/oci/object_storage/models/retention_rule_summary.rb +223 -0
- data/lib/oci/object_storage/models/update_bucket_details.rb +10 -8
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +1 -1
- data/lib/oci/object_storage/models/update_retention_rule_details.rb +177 -0
- data/lib/oci/object_storage/models/work_request.rb +6 -6
- data/lib/oci/object_storage/models/work_request_error.rb +1 -1
- data/lib/oci/object_storage/models/work_request_log_entry.rb +2 -2
- data/lib/oci/object_storage/models/work_request_resource.rb +1 -1
- data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +1 -1
- data/lib/oci/object_storage/models/work_request_summary.rb +6 -6
- data/lib/oci/object_storage/object_storage.rb +12 -1
- data/lib/oci/object_storage/object_storage_client.rb +893 -170
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +1 -1
- data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +1 -1
- data/lib/oci/oce/models/create_oce_instance_details.rb +99 -2
- data/lib/oci/oce/models/identity_stripe_details.rb +167 -0
- data/lib/oci/oce/models/oce_instance.rb +130 -2
- data/lib/oci/oce/models/oce_instance_summary.rb +98 -2
- data/lib/oci/oce/models/update_oce_instance_details.rb +16 -2
- data/lib/oci/oce/models/work_request.rb +1 -1
- data/lib/oci/oce/models/work_request_error.rb +1 -1
- data/lib/oci/oce/models/work_request_log_entry.rb +1 -1
- data/lib/oci/oce/models/work_request_resource.rb +2 -1
- data/lib/oci/oce/models/workflow_monitor.rb +1 -1
- data/lib/oci/oce/models/workflow_step.rb +1 -1
- data/lib/oci/oce/oce.rb +2 -2
- data/lib/oci/oce/oce_instance_client.rb +3 -5
- data/lib/oci/oce/oce_instance_client_composite_operations.rb +3 -4
- data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +1 -1
- data/lib/oci/oda/models/create_oda_instance_details.rb +1 -1
- data/lib/oci/oda/models/error_body.rb +1 -1
- data/lib/oci/oda/models/oda_instance.rb +1 -1
- data/lib/oci/oda/models/oda_instance_summary.rb +1 -1
- data/lib/oci/oda/models/update_oda_instance_details.rb +1 -1
- data/lib/oci/oda/models/work_request.rb +3 -1
- data/lib/oci/oda/models/work_request_error.rb +1 -1
- data/lib/oci/oda/models/work_request_log_entry.rb +1 -1
- data/lib/oci/oda/models/work_request_resource.rb +3 -1
- data/lib/oci/oda/models/work_request_summary.rb +3 -1
- data/lib/oci/oda/oda.rb +1 -1
- data/lib/oci/oda/oda_client.rb +144 -1
- data/lib/oci/oda/oda_client_composite_operations.rb +99 -1
- data/lib/oci/ons/models/backoff_retry_policy.rb +1 -1
- data/lib/oci/ons/models/change_compartment_details.rb +1 -1
- data/lib/oci/ons/models/confirmation_result.rb +1 -1
- data/lib/oci/ons/models/create_subscription_details.rb +2 -1
- data/lib/oci/ons/models/create_topic_details.rb +1 -1
- data/lib/oci/ons/models/delivery_policy.rb +1 -1
- data/lib/oci/ons/models/message_details.rb +1 -1
- data/lib/oci/ons/models/notification_topic.rb +2 -2
- data/lib/oci/ons/models/notification_topic_summary.rb +2 -2
- data/lib/oci/ons/models/publish_result.rb +1 -1
- data/lib/oci/ons/models/subscription.rb +1 -1
- data/lib/oci/ons/models/subscription_summary.rb +1 -1
- data/lib/oci/ons/models/topic_attributes_details.rb +1 -1
- data/lib/oci/ons/models/update_subscription_details.rb +1 -1
- data/lib/oci/ons/notification_control_plane_client.rb +2 -2
- data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +1 -1
- data/lib/oci/ons/notification_data_plane_client.rb +11 -3
- data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +1 -1
- data/lib/oci/ons/ons.rb +1 -1
- data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +153 -0
- data/lib/oci/os_management/models/api_error.rb +161 -0
- data/lib/oci/os_management/models/arch_types.rb +13 -0
- data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +153 -0
- data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +153 -0
- data/lib/oci/os_management/models/available_software_source_summary.rb +205 -0
- data/lib/oci/os_management/models/available_update_summary.rb +284 -0
- data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +155 -0
- data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +155 -0
- data/lib/oci/os_management/models/change_software_source_compartment_details.rb +155 -0
- data/lib/oci/os_management/models/checksum_types.rb +12 -0
- data/lib/oci/os_management/models/create_managed_instance_group_details.rb +209 -0
- data/lib/oci/os_management/models/create_scheduled_job_details.rb +399 -0
- data/lib/oci/os_management/models/create_software_source_details.rb +324 -0
- data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +153 -0
- data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +153 -0
- data/lib/oci/os_management/models/errata_id.rb +159 -0
- data/lib/oci/os_management/models/erratum.rb +330 -0
- data/lib/oci/os_management/models/erratum_summary.rb +245 -0
- data/lib/oci/os_management/models/id.rb +163 -0
- data/lib/oci/os_management/models/installable_package_summary.rb +207 -0
- data/lib/oci/os_management/models/installed_package_summary.rb +221 -0
- data/lib/oci/os_management/models/interval_types.rb +12 -0
- data/lib/oci/os_management/models/lifecycle_states.rb +14 -0
- data/lib/oci/os_management/models/managed_instance.rb +347 -0
- data/lib/oci/os_management/models/managed_instance_group.rb +271 -0
- data/lib/oci/os_management/models/managed_instance_group_summary.rb +271 -0
- data/lib/oci/os_management/models/managed_instance_summary.rb +261 -0
- data/lib/oci/os_management/models/managed_instance_update_details.rb +163 -0
- data/lib/oci/os_management/models/operation_status.rb +14 -0
- data/lib/oci/os_management/models/operation_types.rb +12 -0
- data/lib/oci/os_management/models/package_name.rb +149 -0
- data/lib/oci/os_management/models/package_update_types.rb +12 -0
- data/lib/oci/os_management/models/recurrence.rb +182 -0
- data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +153 -0
- data/lib/oci/os_management/models/schedule_types.rb +10 -0
- data/lib/oci/os_management/models/scheduled_job.rb +493 -0
- data/lib/oci/os_management/models/scheduled_job_summary.rb +371 -0
- data/lib/oci/os_management/models/software_package.rb +289 -0
- data/lib/oci/os_management/models/software_package_dependency.rb +177 -0
- data/lib/oci/os_management/models/software_package_file.rb +213 -0
- data/lib/oci/os_management/models/software_package_search_summary.rb +262 -0
- data/lib/oci/os_management/models/software_package_summary.rb +217 -0
- data/lib/oci/os_management/models/software_source.rb +519 -0
- data/lib/oci/os_management/models/software_source_id.rb +159 -0
- data/lib/oci/os_management/models/software_source_summary.rb +340 -0
- data/lib/oci/os_management/models/updatable_package_summary.rb +239 -0
- data/lib/oci/os_management/models/update_managed_instance_group_details.rb +195 -0
- data/lib/oci/os_management/models/update_scheduled_job_details.rb +351 -0
- data/lib/oci/os_management/models/update_software_source_details.rb +266 -0
- data/lib/oci/os_management/models/update_types.rb +11 -0
- data/lib/oci/os_management/models/work_request.rb +327 -0
- data/lib/oci/os_management/models/work_request_error.rb +172 -0
- data/lib/oci/os_management/models/work_request_log_entry.rb +161 -0
- data/lib/oci/os_management/models/work_request_resource.rb +231 -0
- data/lib/oci/os_management/models/work_request_summary.rb +286 -0
- data/lib/oci/os_management/os_management.rb +75 -0
- data/lib/oci/os_management/os_management_client.rb +3298 -0
- data/lib/oci/os_management/os_management_client_composite_operations.rb +580 -0
- data/lib/oci/os_management/util.rb +2 -0
- data/lib/oci/regions.rb +21 -2
- data/lib/oci/resource_manager/models/apply_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +1 -1
- data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +1 -1
- data/lib/oci/resource_manager/models/config_source.rb +1 -1
- data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_config_source_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_job_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_stack_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +1 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/failure_details.rb +1 -1
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/job.rb +1 -1
- data/lib/oci/resource_manager/models/job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/job_summary.rb +1 -1
- data/lib/oci/resource_manager/models/log_entry.rb +1 -1
- data/lib/oci/resource_manager/models/plan_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/stack.rb +1 -1
- data/lib/oci/resource_manager/models/stack_summary.rb +1 -1
- data/lib/oci/resource_manager/models/terraform_version_collection.rb +1 -1
- data/lib/oci/resource_manager/models/terraform_version_summary.rb +1 -1
- data/lib/oci/resource_manager/models/update_config_source_details.rb +1 -1
- data/lib/oci/resource_manager/models/update_job_details.rb +1 -1
- data/lib/oci/resource_manager/models/update_stack_details.rb +1 -1
- data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +1 -1
- data/lib/oci/resource_manager/models/work_request.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_error.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_log_entry.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_resource.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_summary.rb +1 -1
- data/lib/oci/resource_manager/models/zip_upload_config_source.rb +1 -1
- data/lib/oci/resource_manager/resource_manager.rb +1 -1
- data/lib/oci/resource_manager/resource_manager_client.rb +1 -1
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +1 -1
- data/lib/oci/resource_search/models/free_text_search_details.rb +1 -1
- data/lib/oci/resource_search/models/queryable_field_description.rb +3 -3
- data/lib/oci/resource_search/models/resource_summary.rb +49 -11
- data/lib/oci/resource_search/models/resource_summary_collection.rb +2 -2
- data/lib/oci/resource_search/models/resource_type.rb +1 -1
- data/lib/oci/resource_search/models/search_context.rb +2 -2
- data/lib/oci/resource_search/models/search_details.rb +3 -3
- data/lib/oci/resource_search/models/structured_search_details.rb +4 -2
- data/lib/oci/resource_search/resource_search.rb +1 -1
- data/lib/oci/resource_search/resource_search_client.rb +3 -3
- data/lib/oci/resource_search/resource_search_client_composite_operations.rb +1 -1
- data/lib/oci/response.rb +1 -1
- data/lib/oci/response_headers.rb +1 -1
- data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +157 -0
- data/lib/oci/secrets/models/secret_bundle.rb +293 -0
- data/lib/oci/secrets/models/secret_bundle_content_details.rb +188 -0
- data/lib/oci/secrets/models/secret_bundle_version_summary.rb +269 -0
- data/lib/oci/secrets/secrets.rb +22 -0
- data/lib/oci/secrets/secrets_client.rb +259 -0
- data/lib/oci/secrets/secrets_client_composite_operations.rb +24 -0
- data/lib/oci/secrets/util.rb +2 -0
- data/lib/oci/signer.rb +1 -1
- data/lib/oci/streaming/models/archiver.rb +4 -5
- data/lib/oci/streaming/models/archiver_error.rb +1 -1
- data/lib/oci/streaming/models/archiver_start_position.rb +1 -1
- data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +155 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +1 -1
- data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +155 -0
- data/lib/oci/streaming/models/connect_harness.rb +280 -0
- data/lib/oci/streaming/models/connect_harness_summary.rb +266 -0
- data/lib/oci/streaming/models/create_archiver_details.rb +1 -1
- data/lib/oci/streaming/models/create_connect_harness_details.rb +201 -0
- data/lib/oci/streaming/models/create_cursor_details.rb +1 -1
- data/lib/oci/streaming/models/create_group_cursor_details.rb +1 -1
- data/lib/oci/streaming/models/create_stream_details.rb +17 -3
- data/lib/oci/streaming/models/create_stream_pool_details.rb +240 -0
- data/lib/oci/streaming/models/cursor.rb +1 -1
- data/lib/oci/streaming/models/custom_encryption_key.rb +191 -0
- data/lib/oci/streaming/models/custom_encryption_key_details.rb +153 -0
- data/lib/oci/streaming/models/group.rb +3 -3
- data/lib/oci/streaming/models/kafka_settings.rb +195 -0
- data/lib/oci/streaming/models/message.rb +1 -1
- data/lib/oci/streaming/models/partition_reservation.rb +1 -1
- data/lib/oci/streaming/models/private_endpoint_details.rb +192 -0
- data/lib/oci/streaming/models/private_endpoint_settings.rb +185 -0
- data/lib/oci/streaming/models/put_messages_details.rb +1 -1
- data/lib/oci/streaming/models/put_messages_details_entry.rb +1 -1
- data/lib/oci/streaming/models/put_messages_result.rb +2 -2
- data/lib/oci/streaming/models/put_messages_result_entry.rb +1 -1
- data/lib/oci/streaming/models/stream.rb +19 -2
- data/lib/oci/streaming/models/stream_pool.rb +351 -0
- data/lib/oci/streaming/models/stream_pool_summary.rb +279 -0
- data/lib/oci/streaming/models/stream_summary.rb +19 -2
- data/lib/oci/streaming/models/update_archiver_details.rb +1 -1
- data/lib/oci/streaming/models/update_connect_harness_details.rb +174 -0
- data/lib/oci/streaming/models/update_group_details.rb +1 -1
- data/lib/oci/streaming/models/update_stream_details.rb +17 -2
- data/lib/oci/streaming/models/update_stream_pool_details.rb +209 -0
- data/lib/oci/streaming/stream_admin_client.rb +865 -83
- data/lib/oci/streaming/stream_admin_client_composite_operations.rb +248 -4
- data/lib/oci/streaming/stream_client.rb +22 -40
- data/lib/oci/streaming/stream_client_composite_operations.rb +1 -1
- data/lib/oci/streaming/streaming.rb +16 -2
- data/lib/oci/vault/models/base64_secret_content_details.rb +165 -0
- data/lib/oci/vault/models/change_secret_compartment_details.rb +155 -0
- data/lib/oci/vault/models/create_secret_details.rb +281 -0
- data/lib/oci/vault/models/schedule_secret_deletion_details.rb +154 -0
- data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +155 -0
- data/lib/oci/vault/models/secret.rb +393 -0
- data/lib/oci/vault/models/secret_content_details.rb +220 -0
- data/lib/oci/vault/models/secret_expiry_rule.rb +202 -0
- data/lib/oci/vault/models/secret_reuse_rule.rb +163 -0
- data/lib/oci/vault/models/secret_rule.rb +190 -0
- data/lib/oci/vault/models/secret_summary.rb +352 -0
- data/lib/oci/vault/models/secret_version.rb +304 -0
- data/lib/oci/vault/models/secret_version_summary.rb +304 -0
- data/lib/oci/vault/models/update_secret_details.rb +240 -0
- data/lib/oci/vault/util.rb +2 -0
- data/lib/oci/vault/vault.rb +33 -0
- data/lib/oci/vault/vaults_client.rb +882 -0
- data/lib/oci/vault/vaults_client_composite_operations.rb +103 -0
- data/lib/oci/version.rb +2 -2
- data/lib/oci/waas/models/access_rule.rb +89 -8
- data/lib/oci/waas/models/access_rule_criteria.rb +68 -32
- data/lib/oci/waas/models/add_http_response_header_action.rb +175 -0
- data/lib/oci/waas/models/address_list.rb +1 -1
- data/lib/oci/waas/models/address_list_summary.rb +1 -1
- data/lib/oci/waas/models/address_rate_limiting.rb +1 -1
- data/lib/oci/waas/models/block_challenge_settings.rb +1 -1
- data/lib/oci/waas/models/caching_rule.rb +2 -2
- data/lib/oci/waas/models/caching_rule_criteria.rb +1 -1
- data/lib/oci/waas/models/caching_rule_summary.rb +2 -2
- data/lib/oci/waas/models/captcha.rb +1 -1
- data/lib/oci/waas/models/certificate.rb +1 -1
- data/lib/oci/waas/models/certificate_extensions.rb +1 -1
- data/lib/oci/waas/models/certificate_issuer_name.rb +1 -1
- data/lib/oci/waas/models/certificate_public_key_info.rb +1 -1
- data/lib/oci/waas/models/certificate_subject_name.rb +1 -1
- data/lib/oci/waas/models/certificate_summary.rb +1 -1
- data/lib/oci/waas/models/change_address_list_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +1 -1
- data/lib/oci/waas/models/create_address_list_details.rb +2 -2
- data/lib/oci/waas/models/create_certificate_details.rb +1 -1
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +1 -1
- data/lib/oci/waas/models/create_http_redirect_details.rb +2 -2
- data/lib/oci/waas/models/create_waas_policy_details.rb +1 -1
- data/lib/oci/waas/models/custom_protection_rule.rb +1 -1
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +14 -5
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +1 -1
- data/lib/oci/waas/models/device_fingerprint_challenge.rb +1 -1
- data/lib/oci/waas/models/edge_subnet.rb +1 -1
- data/lib/oci/waas/models/extend_http_response_header_action.rb +177 -0
- data/lib/oci/waas/models/good_bot.rb +1 -1
- data/lib/oci/waas/models/header.rb +2 -2
- data/lib/oci/waas/models/header_manipulation_action.rb +188 -0
- data/lib/oci/waas/models/health_check.rb +345 -0
- data/lib/oci/waas/models/http_redirect.rb +3 -3
- data/lib/oci/waas/models/http_redirect_summary.rb +3 -3
- data/lib/oci/waas/models/http_redirect_target.rb +3 -3
- data/lib/oci/waas/models/human_interaction_challenge.rb +21 -5
- data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +145 -0
- data/lib/oci/waas/models/js_challenge.rb +48 -6
- data/lib/oci/waas/models/lifecycle_states.rb +1 -1
- data/lib/oci/waas/models/load_balancing_method.rb +194 -0
- data/lib/oci/waas/models/origin.rb +1 -1
- data/lib/oci/waas/models/origin_group.rb +1 -1
- data/lib/oci/waas/models/origin_group_origins.rb +1 -1
- data/lib/oci/waas/models/policy_config.rb +62 -5
- data/lib/oci/waas/models/protection_rule.rb +1 -1
- data/lib/oci/waas/models/protection_rule_action.rb +1 -1
- data/lib/oci/waas/models/protection_rule_exclusion.rb +4 -4
- data/lib/oci/waas/models/protection_settings.rb +1 -1
- data/lib/oci/waas/models/purge_cache.rb +1 -1
- data/lib/oci/waas/models/recommendation.rb +1 -1
- data/lib/oci/waas/models/remove_http_response_header_action.rb +162 -0
- data/lib/oci/waas/models/round_robin_load_balancing_method.rb +145 -0
- data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +187 -0
- data/lib/oci/waas/models/threat_feed.rb +1 -1
- data/lib/oci/waas/models/threat_feed_action.rb +1 -1
- data/lib/oci/waas/models/update_address_list_details.rb +2 -2
- data/lib/oci/waas/models/update_certificate_details.rb +1 -1
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +1 -1
- data/lib/oci/waas/models/update_http_redirect_details.rb +2 -2
- data/lib/oci/waas/models/update_waas_policy_details.rb +1 -1
- data/lib/oci/waas/models/waas_policy.rb +1 -1
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +14 -5
- data/lib/oci/waas/models/waas_policy_summary.rb +1 -1
- data/lib/oci/waas/models/waf_blocked_request.rb +1 -1
- data/lib/oci/waas/models/waf_config.rb +1 -1
- data/lib/oci/waas/models/waf_config_details.rb +1 -1
- data/lib/oci/waas/models/waf_log.rb +3 -3
- data/lib/oci/waas/models/waf_meter_datum.rb +1 -1
- data/lib/oci/waas/models/waf_request.rb +1 -1
- data/lib/oci/waas/models/waf_traffic_datum.rb +1 -1
- data/lib/oci/waas/models/whitelist.rb +20 -6
- data/lib/oci/waas/models/work_request.rb +1 -1
- data/lib/oci/waas/models/work_request_error.rb +1 -1
- data/lib/oci/waas/models/work_request_log_entry.rb +1 -1
- data/lib/oci/waas/models/work_request_operation_types.rb +1 -1
- data/lib/oci/waas/models/work_request_resource.rb +1 -1
- data/lib/oci/waas/models/work_request_status_values.rb +1 -1
- data/lib/oci/waas/models/work_request_summary.rb +1 -1
- data/lib/oci/waas/redirect_client.rb +2 -2
- data/lib/oci/waas/redirect_client_composite_operations.rb +1 -1
- data/lib/oci/waas/waas.rb +10 -1
- data/lib/oci/waas/waas_client.rb +25 -23
- data/lib/oci/waas/waas_client_composite_operations.rb +1 -1
- data/lib/oci/waiter.rb +1 -1
- data/lib/oci/work_requests/models/work_request.rb +1 -1
- data/lib/oci/work_requests/models/work_request_error.rb +1 -1
- data/lib/oci/work_requests/models/work_request_log_entry.rb +1 -1
- data/lib/oci/work_requests/models/work_request_resource.rb +1 -1
- data/lib/oci/work_requests/models/work_request_summary.rb +1 -1
- data/lib/oci/work_requests/work_request_client.rb +1 -1
- data/lib/oci/work_requests/work_request_client_composite_operations.rb +1 -1
- data/lib/oci/work_requests/work_requests.rb +1 -1
- data/lib/oraclebmc.rb +1 -1
- metadata +548 -7
- data/lib/oci/streaming/models/archiver_lifecycle_state.rb +0 -14
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
require 'date'
|
|
4
|
+
require 'logger'
|
|
5
|
+
|
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
|
+
module OCI
|
|
8
|
+
# A description of workrequest status.
|
|
9
|
+
class Nosql::Models::WorkRequestSummary
|
|
10
|
+
OPERATION_TYPE_ENUM = [
|
|
11
|
+
OPERATION_TYPE_CREATE_TABLE = 'CREATE_TABLE'.freeze,
|
|
12
|
+
OPERATION_TYPE_UPDATE_TABLE = 'UPDATE_TABLE'.freeze,
|
|
13
|
+
OPERATION_TYPE_DELETE_TABLE = 'DELETE_TABLE'.freeze,
|
|
14
|
+
OPERATION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
15
|
+
].freeze
|
|
16
|
+
|
|
17
|
+
STATUS_ENUM = [
|
|
18
|
+
STATUS_ACCEPTED = 'ACCEPTED'.freeze,
|
|
19
|
+
STATUS_IN_PROGRESS = 'IN_PROGRESS'.freeze,
|
|
20
|
+
STATUS_FAILED = 'FAILED'.freeze,
|
|
21
|
+
STATUS_SUCCEEDED = 'SUCCEEDED'.freeze,
|
|
22
|
+
STATUS_CANCELING = 'CANCELING'.freeze,
|
|
23
|
+
STATUS_CANCELED = 'CANCELED'.freeze,
|
|
24
|
+
STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
25
|
+
].freeze
|
|
26
|
+
|
|
27
|
+
# **[Required]** Type of the work request.
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_reader :operation_type
|
|
30
|
+
|
|
31
|
+
# **[Required]** Status of current work request.
|
|
32
|
+
# @return [String]
|
|
33
|
+
attr_reader :status
|
|
34
|
+
|
|
35
|
+
# **[Required]** The id of the work request.
|
|
36
|
+
# @return [String]
|
|
37
|
+
attr_accessor :id
|
|
38
|
+
|
|
39
|
+
# **[Required]** The ocid of the compartment that contains the work request.
|
|
40
|
+
#
|
|
41
|
+
# @return [String]
|
|
42
|
+
attr_accessor :compartment_id
|
|
43
|
+
|
|
44
|
+
# **[Required]** The resources affected by this work request.
|
|
45
|
+
# @return [Array<OCI::Nosql::Models::WorkRequestResource>]
|
|
46
|
+
attr_accessor :resources
|
|
47
|
+
|
|
48
|
+
# **[Required]** Percentage of the request completed.
|
|
49
|
+
# @return [Float]
|
|
50
|
+
attr_accessor :percent_complete
|
|
51
|
+
|
|
52
|
+
# **[Required]** The date and time the request was created, as described in
|
|
53
|
+
# [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
|
|
54
|
+
#
|
|
55
|
+
# @return [DateTime]
|
|
56
|
+
attr_accessor :time_accepted
|
|
57
|
+
|
|
58
|
+
# The date and time the request was started, as described in
|
|
59
|
+
# [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section
|
|
60
|
+
# 14.29.
|
|
61
|
+
#
|
|
62
|
+
# @return [DateTime]
|
|
63
|
+
attr_accessor :time_started
|
|
64
|
+
|
|
65
|
+
# The date and time the object was finished, as described in
|
|
66
|
+
# [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
67
|
+
#
|
|
68
|
+
# @return [DateTime]
|
|
69
|
+
attr_accessor :time_finished
|
|
70
|
+
|
|
71
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
72
|
+
def self.attribute_map
|
|
73
|
+
{
|
|
74
|
+
# rubocop:disable Style/SymbolLiteral
|
|
75
|
+
'operation_type': :'operationType',
|
|
76
|
+
'status': :'status',
|
|
77
|
+
'id': :'id',
|
|
78
|
+
'compartment_id': :'compartmentId',
|
|
79
|
+
'resources': :'resources',
|
|
80
|
+
'percent_complete': :'percentComplete',
|
|
81
|
+
'time_accepted': :'timeAccepted',
|
|
82
|
+
'time_started': :'timeStarted',
|
|
83
|
+
'time_finished': :'timeFinished'
|
|
84
|
+
# rubocop:enable Style/SymbolLiteral
|
|
85
|
+
}
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Attribute type mapping.
|
|
89
|
+
def self.swagger_types
|
|
90
|
+
{
|
|
91
|
+
# rubocop:disable Style/SymbolLiteral
|
|
92
|
+
'operation_type': :'String',
|
|
93
|
+
'status': :'String',
|
|
94
|
+
'id': :'String',
|
|
95
|
+
'compartment_id': :'String',
|
|
96
|
+
'resources': :'Array<OCI::Nosql::Models::WorkRequestResource>',
|
|
97
|
+
'percent_complete': :'Float',
|
|
98
|
+
'time_accepted': :'DateTime',
|
|
99
|
+
'time_started': :'DateTime',
|
|
100
|
+
'time_finished': :'DateTime'
|
|
101
|
+
# rubocop:enable Style/SymbolLiteral
|
|
102
|
+
}
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
106
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
# Initializes the object
|
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
111
|
+
# @option attributes [String] :operation_type The value to assign to the {#operation_type} property
|
|
112
|
+
# @option attributes [String] :status The value to assign to the {#status} property
|
|
113
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
114
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
115
|
+
# @option attributes [Array<OCI::Nosql::Models::WorkRequestResource>] :resources The value to assign to the {#resources} property
|
|
116
|
+
# @option attributes [Float] :percent_complete The value to assign to the {#percent_complete} property
|
|
117
|
+
# @option attributes [DateTime] :time_accepted The value to assign to the {#time_accepted} property
|
|
118
|
+
# @option attributes [DateTime] :time_started The value to assign to the {#time_started} property
|
|
119
|
+
# @option attributes [DateTime] :time_finished The value to assign to the {#time_finished} property
|
|
120
|
+
def initialize(attributes = {})
|
|
121
|
+
return unless attributes.is_a?(Hash)
|
|
122
|
+
|
|
123
|
+
# convert string to symbol for hash key
|
|
124
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
125
|
+
|
|
126
|
+
self.operation_type = attributes[:'operationType'] if attributes[:'operationType']
|
|
127
|
+
|
|
128
|
+
raise 'You cannot provide both :operationType and :operation_type' if attributes.key?(:'operationType') && attributes.key?(:'operation_type')
|
|
129
|
+
|
|
130
|
+
self.operation_type = attributes[:'operation_type'] if attributes[:'operation_type']
|
|
131
|
+
|
|
132
|
+
self.status = attributes[:'status'] if attributes[:'status']
|
|
133
|
+
|
|
134
|
+
self.id = attributes[:'id'] if attributes[:'id']
|
|
135
|
+
|
|
136
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
137
|
+
|
|
138
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
139
|
+
|
|
140
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
|
141
|
+
|
|
142
|
+
self.resources = attributes[:'resources'] if attributes[:'resources']
|
|
143
|
+
|
|
144
|
+
self.percent_complete = attributes[:'percentComplete'] if attributes[:'percentComplete']
|
|
145
|
+
|
|
146
|
+
raise 'You cannot provide both :percentComplete and :percent_complete' if attributes.key?(:'percentComplete') && attributes.key?(:'percent_complete')
|
|
147
|
+
|
|
148
|
+
self.percent_complete = attributes[:'percent_complete'] if attributes[:'percent_complete']
|
|
149
|
+
|
|
150
|
+
self.time_accepted = attributes[:'timeAccepted'] if attributes[:'timeAccepted']
|
|
151
|
+
|
|
152
|
+
raise 'You cannot provide both :timeAccepted and :time_accepted' if attributes.key?(:'timeAccepted') && attributes.key?(:'time_accepted')
|
|
153
|
+
|
|
154
|
+
self.time_accepted = attributes[:'time_accepted'] if attributes[:'time_accepted']
|
|
155
|
+
|
|
156
|
+
self.time_started = attributes[:'timeStarted'] if attributes[:'timeStarted']
|
|
157
|
+
|
|
158
|
+
raise 'You cannot provide both :timeStarted and :time_started' if attributes.key?(:'timeStarted') && attributes.key?(:'time_started')
|
|
159
|
+
|
|
160
|
+
self.time_started = attributes[:'time_started'] if attributes[:'time_started']
|
|
161
|
+
|
|
162
|
+
self.time_finished = attributes[:'timeFinished'] if attributes[:'timeFinished']
|
|
163
|
+
|
|
164
|
+
raise 'You cannot provide both :timeFinished and :time_finished' if attributes.key?(:'timeFinished') && attributes.key?(:'time_finished')
|
|
165
|
+
|
|
166
|
+
self.time_finished = attributes[:'time_finished'] if attributes[:'time_finished']
|
|
167
|
+
end
|
|
168
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
169
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
170
|
+
|
|
171
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
172
|
+
# @param [Object] operation_type Object to be assigned
|
|
173
|
+
def operation_type=(operation_type)
|
|
174
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
175
|
+
if operation_type && !OPERATION_TYPE_ENUM.include?(operation_type)
|
|
176
|
+
OCI.logger.debug("Unknown value for 'operation_type' [" + operation_type + "]. Mapping to 'OPERATION_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
177
|
+
@operation_type = OPERATION_TYPE_UNKNOWN_ENUM_VALUE
|
|
178
|
+
else
|
|
179
|
+
@operation_type = operation_type
|
|
180
|
+
end
|
|
181
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
185
|
+
# @param [Object] status Object to be assigned
|
|
186
|
+
def status=(status)
|
|
187
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
188
|
+
if status && !STATUS_ENUM.include?(status)
|
|
189
|
+
OCI.logger.debug("Unknown value for 'status' [" + status + "]. Mapping to 'STATUS_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
190
|
+
@status = STATUS_UNKNOWN_ENUM_VALUE
|
|
191
|
+
else
|
|
192
|
+
@status = status
|
|
193
|
+
end
|
|
194
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
# Checks equality by comparing each attribute.
|
|
201
|
+
# @param [Object] other the other object to be compared
|
|
202
|
+
def ==(other)
|
|
203
|
+
return true if equal?(other)
|
|
204
|
+
|
|
205
|
+
self.class == other.class &&
|
|
206
|
+
operation_type == other.operation_type &&
|
|
207
|
+
status == other.status &&
|
|
208
|
+
id == other.id &&
|
|
209
|
+
compartment_id == other.compartment_id &&
|
|
210
|
+
resources == other.resources &&
|
|
211
|
+
percent_complete == other.percent_complete &&
|
|
212
|
+
time_accepted == other.time_accepted &&
|
|
213
|
+
time_started == other.time_started &&
|
|
214
|
+
time_finished == other.time_finished
|
|
215
|
+
end
|
|
216
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
217
|
+
|
|
218
|
+
# @see the `==` method
|
|
219
|
+
# @param [Object] other the other object to be compared
|
|
220
|
+
def eql?(other)
|
|
221
|
+
self == other
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
# Calculates hash code according to all attributes.
|
|
228
|
+
# @return [Fixnum] Hash code
|
|
229
|
+
def hash
|
|
230
|
+
[operation_type, status, id, compartment_id, resources, percent_complete, time_accepted, time_started, time_finished].hash
|
|
231
|
+
end
|
|
232
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
233
|
+
|
|
234
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
# Builds the object from hash
|
|
238
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
239
|
+
# @return [Object] Returns the model itself
|
|
240
|
+
def build_from_hash(attributes)
|
|
241
|
+
return nil unless attributes.is_a?(Hash)
|
|
242
|
+
|
|
243
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
244
|
+
if type =~ /^Array<(.*)>/i
|
|
245
|
+
# check to ensure the input is an array given that the the attribute
|
|
246
|
+
# is documented as an array but the input is not
|
|
247
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
248
|
+
public_method("#{key}=").call(
|
|
249
|
+
attributes[self.class.attribute_map[key]]
|
|
250
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
251
|
+
)
|
|
252
|
+
end
|
|
253
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
254
|
+
public_method("#{key}=").call(
|
|
255
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
256
|
+
)
|
|
257
|
+
end
|
|
258
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
self
|
|
262
|
+
end
|
|
263
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
264
|
+
|
|
265
|
+
# Returns the string representation of the object
|
|
266
|
+
# @return [String] String presentation of the object
|
|
267
|
+
def to_s
|
|
268
|
+
to_hash.to_s
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# Returns the object in the form of hash
|
|
272
|
+
# @return [Hash] Returns the object in the form of hash
|
|
273
|
+
def to_hash
|
|
274
|
+
hash = {}
|
|
275
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
276
|
+
value = public_method(attr).call
|
|
277
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
278
|
+
|
|
279
|
+
hash[param] = _to_hash(value)
|
|
280
|
+
end
|
|
281
|
+
hash
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
private
|
|
285
|
+
|
|
286
|
+
# Outputs non-array value in the form of hash
|
|
287
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
288
|
+
# @param [Object] value Any valid value
|
|
289
|
+
# @return [Hash] Returns the value in the form of hash
|
|
290
|
+
def _to_hash(value)
|
|
291
|
+
if value.is_a?(Array)
|
|
292
|
+
value.compact.map { |v| _to_hash(v) }
|
|
293
|
+
elsif value.is_a?(Hash)
|
|
294
|
+
{}.tap do |hash|
|
|
295
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
296
|
+
end
|
|
297
|
+
elsif value.respond_to? :to_hash
|
|
298
|
+
value.to_hash
|
|
299
|
+
else
|
|
300
|
+
value
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
module OCI
|
|
4
|
+
module Nosql
|
|
5
|
+
# Module containing models for requests made to, and responses received from,
|
|
6
|
+
# OCI Nosql services
|
|
7
|
+
module Models
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# Require models
|
|
13
|
+
require 'oci/nosql/models/change_table_compartment_details'
|
|
14
|
+
require 'oci/nosql/models/column'
|
|
15
|
+
require 'oci/nosql/models/create_index_details'
|
|
16
|
+
require 'oci/nosql/models/create_table_details'
|
|
17
|
+
require 'oci/nosql/models/delete_row_result'
|
|
18
|
+
require 'oci/nosql/models/index'
|
|
19
|
+
require 'oci/nosql/models/index_collection'
|
|
20
|
+
require 'oci/nosql/models/index_key'
|
|
21
|
+
require 'oci/nosql/models/index_summary'
|
|
22
|
+
require 'oci/nosql/models/prepared_statement'
|
|
23
|
+
require 'oci/nosql/models/query_details'
|
|
24
|
+
require 'oci/nosql/models/query_result_collection'
|
|
25
|
+
require 'oci/nosql/models/request_usage'
|
|
26
|
+
require 'oci/nosql/models/row'
|
|
27
|
+
require 'oci/nosql/models/schema'
|
|
28
|
+
require 'oci/nosql/models/statement_summary'
|
|
29
|
+
require 'oci/nosql/models/table'
|
|
30
|
+
require 'oci/nosql/models/table_collection'
|
|
31
|
+
require 'oci/nosql/models/table_limits'
|
|
32
|
+
require 'oci/nosql/models/table_summary'
|
|
33
|
+
require 'oci/nosql/models/table_usage_collection'
|
|
34
|
+
require 'oci/nosql/models/table_usage_summary'
|
|
35
|
+
require 'oci/nosql/models/update_row_details'
|
|
36
|
+
require 'oci/nosql/models/update_row_result'
|
|
37
|
+
require 'oci/nosql/models/update_table_details'
|
|
38
|
+
require 'oci/nosql/models/work_request'
|
|
39
|
+
require 'oci/nosql/models/work_request_collection'
|
|
40
|
+
require 'oci/nosql/models/work_request_error'
|
|
41
|
+
require 'oci/nosql/models/work_request_error_collection'
|
|
42
|
+
require 'oci/nosql/models/work_request_log_entry'
|
|
43
|
+
require 'oci/nosql/models/work_request_log_entry_collection'
|
|
44
|
+
require 'oci/nosql/models/work_request_resource'
|
|
45
|
+
require 'oci/nosql/models/work_request_summary'
|
|
46
|
+
|
|
47
|
+
# Require generated clients
|
|
48
|
+
require 'oci/nosql/nosql_client'
|
|
49
|
+
require 'oci/nosql/nosql_client_composite_operations'
|
|
50
|
+
|
|
51
|
+
# Require service utilities
|
|
52
|
+
require 'oci/nosql/util'
|
|
@@ -0,0 +1,1559 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
require 'uri'
|
|
4
|
+
require 'logger'
|
|
5
|
+
|
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
|
+
module OCI
|
|
8
|
+
# The control plane API for NoSQL Database Cloud Service HTTPS
|
|
9
|
+
# provides endpoints to perform NDCS operations, including creation
|
|
10
|
+
# and deletion of tables and indexes; population and access of data
|
|
11
|
+
# in tables; and access of table usage metrics.
|
|
12
|
+
class Nosql::NosqlClient
|
|
13
|
+
# Client used to make HTTP requests.
|
|
14
|
+
# @return [OCI::ApiClient]
|
|
15
|
+
attr_reader :api_client
|
|
16
|
+
|
|
17
|
+
# Fully qualified endpoint URL
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_reader :endpoint
|
|
20
|
+
|
|
21
|
+
# The default retry configuration to apply to all operations in this service client. This can be overridden
|
|
22
|
+
# on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
|
23
|
+
# will not perform any retries
|
|
24
|
+
# @return [OCI::Retry::RetryConfig]
|
|
25
|
+
attr_reader :retry_config
|
|
26
|
+
|
|
27
|
+
# The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_reader :region
|
|
30
|
+
|
|
31
|
+
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# Creates a new NosqlClient.
|
|
35
|
+
# Notes:
|
|
36
|
+
# If a config is not specified, then the global OCI.config will be used.
|
|
37
|
+
#
|
|
38
|
+
# This client is not thread-safe
|
|
39
|
+
#
|
|
40
|
+
# Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
|
|
41
|
+
# region. A region may be specified in the config or via or the region parameter. If specified in both, then the
|
|
42
|
+
# region parameter will be used.
|
|
43
|
+
# @param [Config] config A Config object.
|
|
44
|
+
# @param [String] region A region used to determine the service endpoint. This will usually
|
|
45
|
+
# correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
|
|
46
|
+
# @param [String] endpoint The fully qualified endpoint URL
|
|
47
|
+
# @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
|
|
48
|
+
# a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
|
|
49
|
+
# so that the instance principals signer can be provided to the client
|
|
50
|
+
# @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
|
|
51
|
+
# the details for the proxy can be provided in this parameter
|
|
52
|
+
# @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
|
|
53
|
+
# apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
|
54
|
+
# will not perform any retries
|
|
55
|
+
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
|
56
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (which is valid for instance principals)
|
|
57
|
+
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
|
58
|
+
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
|
59
|
+
# pass it to this constructor.
|
|
60
|
+
#
|
|
61
|
+
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
|
62
|
+
# so try and load the config from the default file.
|
|
63
|
+
config ||= OCI.config unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
|
64
|
+
config ||= OCI::Config.new if signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
|
65
|
+
config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
|
66
|
+
|
|
67
|
+
if signer.nil?
|
|
68
|
+
signer = OCI::Signer.new(
|
|
69
|
+
config.user,
|
|
70
|
+
config.fingerprint,
|
|
71
|
+
config.tenancy,
|
|
72
|
+
config.key_file,
|
|
73
|
+
pass_phrase: config.pass_phrase,
|
|
74
|
+
private_key_content: config.key_content
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
@api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
|
|
79
|
+
@retry_config = retry_config
|
|
80
|
+
|
|
81
|
+
if endpoint
|
|
82
|
+
@endpoint = endpoint + '/20190828'
|
|
83
|
+
else
|
|
84
|
+
region ||= config.region
|
|
85
|
+
region ||= signer.region if signer.respond_to?(:region)
|
|
86
|
+
self.region = region
|
|
87
|
+
end
|
|
88
|
+
logger.info "NosqlClient endpoint set to '#{@endpoint}'." if logger
|
|
89
|
+
end
|
|
90
|
+
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
|
91
|
+
|
|
92
|
+
# Set the region that will be used to determine the service endpoint.
|
|
93
|
+
# This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
|
|
94
|
+
# but may be an arbitrary string.
|
|
95
|
+
def region=(new_region)
|
|
96
|
+
@region = new_region
|
|
97
|
+
|
|
98
|
+
raise 'A region must be specified.' unless @region
|
|
99
|
+
|
|
100
|
+
@endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://nosql.{region}.oci.{secondLevelDomain}') + '/20190828'
|
|
101
|
+
logger.info "NosqlClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# @return [Logger] The logger for this client. May be nil.
|
|
105
|
+
def logger
|
|
106
|
+
@api_client.config.logger
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
110
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
111
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# Change a table's compartment.
|
|
115
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
116
|
+
# @param [OCI::Nosql::Models::ChangeTableCompartmentDetails] change_table_compartment_details Specifications of the source and target compartments.
|
|
117
|
+
# @param [Hash] opts the optional parameters
|
|
118
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
119
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
120
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried
|
|
121
|
+
# in case of a timeout or server error without risk of executing
|
|
122
|
+
# that same action again. Retry tokens expire after 24 hours, but
|
|
123
|
+
# can be invalidated before then due to conflicting
|
|
124
|
+
# operations. For example, if a resource has been deleted and
|
|
125
|
+
# purged from the system, then a retry of the original creation
|
|
126
|
+
# request might be rejected.
|
|
127
|
+
#
|
|
128
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
129
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
130
|
+
# etag from a previous GET or POST response for that resource.
|
|
131
|
+
# The resource will be updated or deleted only if the etag you
|
|
132
|
+
# provide matches the resource's current etag value.
|
|
133
|
+
# (default to false)
|
|
134
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
135
|
+
# @return [Response] A Response object with data of type nil
|
|
136
|
+
def change_table_compartment(table_name_or_id, change_table_compartment_details, opts = {})
|
|
137
|
+
logger.debug 'Calling operation NosqlClient#change_table_compartment.' if logger
|
|
138
|
+
|
|
139
|
+
raise "Missing the required parameter 'table_name_or_id' when calling change_table_compartment." if table_name_or_id.nil?
|
|
140
|
+
raise "Missing the required parameter 'change_table_compartment_details' when calling change_table_compartment." if change_table_compartment_details.nil?
|
|
141
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
142
|
+
|
|
143
|
+
path = '/tables/{tableNameOrId}/actions/changeCompartment'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
144
|
+
operation_signing_strategy = :standard
|
|
145
|
+
|
|
146
|
+
# rubocop:disable Style/NegatedIf
|
|
147
|
+
# Query Params
|
|
148
|
+
query_params = {}
|
|
149
|
+
|
|
150
|
+
# Header Params
|
|
151
|
+
header_params = {}
|
|
152
|
+
header_params[:accept] = 'application/json'
|
|
153
|
+
header_params[:'content-type'] = 'application/json'
|
|
154
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
155
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
156
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
157
|
+
# rubocop:enable Style/NegatedIf
|
|
158
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
159
|
+
|
|
160
|
+
post_body = @api_client.object_to_http_body(change_table_compartment_details)
|
|
161
|
+
|
|
162
|
+
# rubocop:disable Metrics/BlockLength
|
|
163
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#change_table_compartment') do
|
|
164
|
+
@api_client.call_api(
|
|
165
|
+
:POST,
|
|
166
|
+
path,
|
|
167
|
+
endpoint,
|
|
168
|
+
header_params: header_params,
|
|
169
|
+
query_params: query_params,
|
|
170
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
171
|
+
body: post_body
|
|
172
|
+
)
|
|
173
|
+
end
|
|
174
|
+
# rubocop:enable Metrics/BlockLength
|
|
175
|
+
end
|
|
176
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
177
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
178
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
179
|
+
|
|
180
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
181
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
182
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
# Create a new index on the table identified by tableNameOrId.
|
|
186
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
187
|
+
# @param [OCI::Nosql::Models::CreateIndexDetails] create_index_details Specifications for the new index.
|
|
188
|
+
# @param [Hash] opts the optional parameters
|
|
189
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
190
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
191
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried
|
|
192
|
+
# in case of a timeout or server error without risk of executing
|
|
193
|
+
# that same action again. Retry tokens expire after 24 hours, but
|
|
194
|
+
# can be invalidated before then due to conflicting
|
|
195
|
+
# operations. For example, if a resource has been deleted and
|
|
196
|
+
# purged from the system, then a retry of the original creation
|
|
197
|
+
# request might be rejected.
|
|
198
|
+
#
|
|
199
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
200
|
+
# @return [Response] A Response object with data of type nil
|
|
201
|
+
def create_index(table_name_or_id, create_index_details, opts = {})
|
|
202
|
+
logger.debug 'Calling operation NosqlClient#create_index.' if logger
|
|
203
|
+
|
|
204
|
+
raise "Missing the required parameter 'table_name_or_id' when calling create_index." if table_name_or_id.nil?
|
|
205
|
+
raise "Missing the required parameter 'create_index_details' when calling create_index." if create_index_details.nil?
|
|
206
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
207
|
+
|
|
208
|
+
path = '/tables/{tableNameOrId}/indexes'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
209
|
+
operation_signing_strategy = :standard
|
|
210
|
+
|
|
211
|
+
# rubocop:disable Style/NegatedIf
|
|
212
|
+
# Query Params
|
|
213
|
+
query_params = {}
|
|
214
|
+
|
|
215
|
+
# Header Params
|
|
216
|
+
header_params = {}
|
|
217
|
+
header_params[:accept] = 'application/json'
|
|
218
|
+
header_params[:'content-type'] = 'application/json'
|
|
219
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
220
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
221
|
+
# rubocop:enable Style/NegatedIf
|
|
222
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
223
|
+
|
|
224
|
+
post_body = @api_client.object_to_http_body(create_index_details)
|
|
225
|
+
|
|
226
|
+
# rubocop:disable Metrics/BlockLength
|
|
227
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#create_index') do
|
|
228
|
+
@api_client.call_api(
|
|
229
|
+
:POST,
|
|
230
|
+
path,
|
|
231
|
+
endpoint,
|
|
232
|
+
header_params: header_params,
|
|
233
|
+
query_params: query_params,
|
|
234
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
235
|
+
body: post_body
|
|
236
|
+
)
|
|
237
|
+
end
|
|
238
|
+
# rubocop:enable Metrics/BlockLength
|
|
239
|
+
end
|
|
240
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
241
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
242
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
243
|
+
|
|
244
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
245
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
246
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
# Create a new table.
|
|
250
|
+
# @param [OCI::Nosql::Models::CreateTableDetails] create_table_details Specifications for the new table.
|
|
251
|
+
# @param [Hash] opts the optional parameters
|
|
252
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
253
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
254
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried
|
|
255
|
+
# in case of a timeout or server error without risk of executing
|
|
256
|
+
# that same action again. Retry tokens expire after 24 hours, but
|
|
257
|
+
# can be invalidated before then due to conflicting
|
|
258
|
+
# operations. For example, if a resource has been deleted and
|
|
259
|
+
# purged from the system, then a retry of the original creation
|
|
260
|
+
# request might be rejected.
|
|
261
|
+
#
|
|
262
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
263
|
+
# @return [Response] A Response object with data of type nil
|
|
264
|
+
def create_table(create_table_details, opts = {})
|
|
265
|
+
logger.debug 'Calling operation NosqlClient#create_table.' if logger
|
|
266
|
+
|
|
267
|
+
raise "Missing the required parameter 'create_table_details' when calling create_table." if create_table_details.nil?
|
|
268
|
+
|
|
269
|
+
path = '/tables'
|
|
270
|
+
operation_signing_strategy = :standard
|
|
271
|
+
|
|
272
|
+
# rubocop:disable Style/NegatedIf
|
|
273
|
+
# Query Params
|
|
274
|
+
query_params = {}
|
|
275
|
+
|
|
276
|
+
# Header Params
|
|
277
|
+
header_params = {}
|
|
278
|
+
header_params[:accept] = 'application/json'
|
|
279
|
+
header_params[:'content-type'] = 'application/json'
|
|
280
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
281
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
282
|
+
# rubocop:enable Style/NegatedIf
|
|
283
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
284
|
+
|
|
285
|
+
post_body = @api_client.object_to_http_body(create_table_details)
|
|
286
|
+
|
|
287
|
+
# rubocop:disable Metrics/BlockLength
|
|
288
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#create_table') do
|
|
289
|
+
@api_client.call_api(
|
|
290
|
+
:POST,
|
|
291
|
+
path,
|
|
292
|
+
endpoint,
|
|
293
|
+
header_params: header_params,
|
|
294
|
+
query_params: query_params,
|
|
295
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
296
|
+
body: post_body
|
|
297
|
+
)
|
|
298
|
+
end
|
|
299
|
+
# rubocop:enable Metrics/BlockLength
|
|
300
|
+
end
|
|
301
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
302
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
303
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
304
|
+
|
|
305
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
306
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
307
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
# Delete an index from the table identified by tableNameOrId.
|
|
311
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
312
|
+
# @param [String] index_name The name of a table's index.
|
|
313
|
+
# @param [Hash] opts the optional parameters
|
|
314
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
315
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
316
|
+
# @option opts [String] :compartment_id The ID of a table's compartment. When a table is identified
|
|
317
|
+
# by name, the compartmentId is often needed to provide
|
|
318
|
+
# context for interpreting the name.
|
|
319
|
+
#
|
|
320
|
+
# @option opts [BOOLEAN] :is_if_exists Set as true to select \"if exists\" behavior. (default to false)
|
|
321
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
322
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
323
|
+
# etag from a previous GET or POST response for that resource.
|
|
324
|
+
# The resource will be updated or deleted only if the etag you
|
|
325
|
+
# provide matches the resource's current etag value.
|
|
326
|
+
# (default to false)
|
|
327
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
328
|
+
# @return [Response] A Response object with data of type nil
|
|
329
|
+
def delete_index(table_name_or_id, index_name, opts = {})
|
|
330
|
+
logger.debug 'Calling operation NosqlClient#delete_index.' if logger
|
|
331
|
+
|
|
332
|
+
raise "Missing the required parameter 'table_name_or_id' when calling delete_index." if table_name_or_id.nil?
|
|
333
|
+
raise "Missing the required parameter 'index_name' when calling delete_index." if index_name.nil?
|
|
334
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
335
|
+
raise "Parameter value for 'index_name' must not be blank" if OCI::Internal::Util.blank_string?(index_name)
|
|
336
|
+
|
|
337
|
+
path = '/tables/{tableNameOrId}/indexes/{indexName}'.sub('{tableNameOrId}', table_name_or_id.to_s).sub('{indexName}', index_name.to_s)
|
|
338
|
+
operation_signing_strategy = :standard
|
|
339
|
+
|
|
340
|
+
# rubocop:disable Style/NegatedIf
|
|
341
|
+
# Query Params
|
|
342
|
+
query_params = {}
|
|
343
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
344
|
+
query_params[:isIfExists] = opts[:is_if_exists] if !opts[:is_if_exists].nil?
|
|
345
|
+
|
|
346
|
+
# Header Params
|
|
347
|
+
header_params = {}
|
|
348
|
+
header_params[:accept] = 'application/json'
|
|
349
|
+
header_params[:'content-type'] = 'application/json'
|
|
350
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
351
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
352
|
+
# rubocop:enable Style/NegatedIf
|
|
353
|
+
|
|
354
|
+
post_body = nil
|
|
355
|
+
|
|
356
|
+
# rubocop:disable Metrics/BlockLength
|
|
357
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#delete_index') do
|
|
358
|
+
@api_client.call_api(
|
|
359
|
+
:DELETE,
|
|
360
|
+
path,
|
|
361
|
+
endpoint,
|
|
362
|
+
header_params: header_params,
|
|
363
|
+
query_params: query_params,
|
|
364
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
365
|
+
body: post_body
|
|
366
|
+
)
|
|
367
|
+
end
|
|
368
|
+
# rubocop:enable Metrics/BlockLength
|
|
369
|
+
end
|
|
370
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
371
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
372
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
373
|
+
|
|
374
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
375
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
376
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
# Delete a single row from the table, by primary key.
|
|
380
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
381
|
+
# @param [Array<String>] key An array of strings, each of the format \"column-name:value\",
|
|
382
|
+
# representing the primary key of the row.
|
|
383
|
+
#
|
|
384
|
+
# @param [Hash] opts the optional parameters
|
|
385
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
386
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
387
|
+
# @option opts [String] :compartment_id The ID of a table's compartment. When a table is identified
|
|
388
|
+
# by name, the compartmentId is often needed to provide
|
|
389
|
+
# context for interpreting the name.
|
|
390
|
+
#
|
|
391
|
+
# @option opts [BOOLEAN] :is_get_return_row If true, and the operation fails due to an option setting
|
|
392
|
+
# (ifVersion et al), then the existing row will be returned.
|
|
393
|
+
# (default to false)
|
|
394
|
+
# @option opts [Integer] :timeout_in_ms Timeout setting for this operation. (default to 5000)
|
|
395
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
396
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
397
|
+
# etag from a previous GET or POST response for that resource.
|
|
398
|
+
# The resource will be updated or deleted only if the etag you
|
|
399
|
+
# provide matches the resource's current etag value.
|
|
400
|
+
# (default to false)
|
|
401
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
402
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::DeleteRowResult DeleteRowResult}
|
|
403
|
+
def delete_row(table_name_or_id, key, opts = {})
|
|
404
|
+
logger.debug 'Calling operation NosqlClient#delete_row.' if logger
|
|
405
|
+
|
|
406
|
+
raise "Missing the required parameter 'table_name_or_id' when calling delete_row." if table_name_or_id.nil?
|
|
407
|
+
raise "Missing the required parameter 'key' when calling delete_row." if key.nil?
|
|
408
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
409
|
+
|
|
410
|
+
path = '/tables/{tableNameOrId}/rows'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
411
|
+
operation_signing_strategy = :standard
|
|
412
|
+
|
|
413
|
+
# rubocop:disable Style/NegatedIf
|
|
414
|
+
# Query Params
|
|
415
|
+
query_params = {}
|
|
416
|
+
query_params[:key] = OCI::ApiClient.build_collection_params(key, :multi)
|
|
417
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
418
|
+
query_params[:isGetReturnRow] = opts[:is_get_return_row] if !opts[:is_get_return_row].nil?
|
|
419
|
+
query_params[:timeoutInMs] = opts[:timeout_in_ms] if opts[:timeout_in_ms]
|
|
420
|
+
|
|
421
|
+
# Header Params
|
|
422
|
+
header_params = {}
|
|
423
|
+
header_params[:accept] = 'application/json'
|
|
424
|
+
header_params[:'content-type'] = 'application/json'
|
|
425
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
426
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
427
|
+
# rubocop:enable Style/NegatedIf
|
|
428
|
+
|
|
429
|
+
post_body = nil
|
|
430
|
+
|
|
431
|
+
# rubocop:disable Metrics/BlockLength
|
|
432
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#delete_row') do
|
|
433
|
+
@api_client.call_api(
|
|
434
|
+
:DELETE,
|
|
435
|
+
path,
|
|
436
|
+
endpoint,
|
|
437
|
+
header_params: header_params,
|
|
438
|
+
query_params: query_params,
|
|
439
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
440
|
+
body: post_body,
|
|
441
|
+
return_type: 'OCI::Nosql::Models::DeleteRowResult'
|
|
442
|
+
)
|
|
443
|
+
end
|
|
444
|
+
# rubocop:enable Metrics/BlockLength
|
|
445
|
+
end
|
|
446
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
447
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
448
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
449
|
+
|
|
450
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
451
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
452
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
# Delete a table by tableNameOrId.
|
|
456
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
457
|
+
# @param [Hash] opts the optional parameters
|
|
458
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
459
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
460
|
+
# @option opts [String] :compartment_id The ID of a table's compartment. When a table is identified
|
|
461
|
+
# by name, the compartmentId is often needed to provide
|
|
462
|
+
# context for interpreting the name.
|
|
463
|
+
#
|
|
464
|
+
# @option opts [BOOLEAN] :is_if_exists Set as true to select \"if exists\" behavior. (default to false)
|
|
465
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
466
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
467
|
+
# etag from a previous GET or POST response for that resource.
|
|
468
|
+
# The resource will be updated or deleted only if the etag you
|
|
469
|
+
# provide matches the resource's current etag value.
|
|
470
|
+
# (default to false)
|
|
471
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
472
|
+
# @return [Response] A Response object with data of type nil
|
|
473
|
+
def delete_table(table_name_or_id, opts = {})
|
|
474
|
+
logger.debug 'Calling operation NosqlClient#delete_table.' if logger
|
|
475
|
+
|
|
476
|
+
raise "Missing the required parameter 'table_name_or_id' when calling delete_table." if table_name_or_id.nil?
|
|
477
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
478
|
+
|
|
479
|
+
path = '/tables/{tableNameOrId}'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
480
|
+
operation_signing_strategy = :standard
|
|
481
|
+
|
|
482
|
+
# rubocop:disable Style/NegatedIf
|
|
483
|
+
# Query Params
|
|
484
|
+
query_params = {}
|
|
485
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
486
|
+
query_params[:isIfExists] = opts[:is_if_exists] if !opts[:is_if_exists].nil?
|
|
487
|
+
|
|
488
|
+
# Header Params
|
|
489
|
+
header_params = {}
|
|
490
|
+
header_params[:accept] = 'application/json'
|
|
491
|
+
header_params[:'content-type'] = 'application/json'
|
|
492
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
493
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
494
|
+
# rubocop:enable Style/NegatedIf
|
|
495
|
+
|
|
496
|
+
post_body = nil
|
|
497
|
+
|
|
498
|
+
# rubocop:disable Metrics/BlockLength
|
|
499
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#delete_table') do
|
|
500
|
+
@api_client.call_api(
|
|
501
|
+
:DELETE,
|
|
502
|
+
path,
|
|
503
|
+
endpoint,
|
|
504
|
+
header_params: header_params,
|
|
505
|
+
query_params: query_params,
|
|
506
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
507
|
+
body: post_body
|
|
508
|
+
)
|
|
509
|
+
end
|
|
510
|
+
# rubocop:enable Metrics/BlockLength
|
|
511
|
+
end
|
|
512
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
513
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
514
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
515
|
+
|
|
516
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
517
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
518
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
# Cancel a work request operation with the given ID.
|
|
522
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
|
523
|
+
# @param [Hash] opts the optional parameters
|
|
524
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
525
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
526
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
527
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
528
|
+
# etag from a previous GET or POST response for that resource.
|
|
529
|
+
# The resource will be updated or deleted only if the etag you
|
|
530
|
+
# provide matches the resource's current etag value.
|
|
531
|
+
# (default to false)
|
|
532
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
533
|
+
# @return [Response] A Response object with data of type nil
|
|
534
|
+
def delete_work_request(work_request_id, opts = {})
|
|
535
|
+
logger.debug 'Calling operation NosqlClient#delete_work_request.' if logger
|
|
536
|
+
|
|
537
|
+
raise "Missing the required parameter 'work_request_id' when calling delete_work_request." if work_request_id.nil?
|
|
538
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
539
|
+
|
|
540
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
|
541
|
+
operation_signing_strategy = :standard
|
|
542
|
+
|
|
543
|
+
# rubocop:disable Style/NegatedIf
|
|
544
|
+
# Query Params
|
|
545
|
+
query_params = {}
|
|
546
|
+
|
|
547
|
+
# Header Params
|
|
548
|
+
header_params = {}
|
|
549
|
+
header_params[:accept] = 'application/json'
|
|
550
|
+
header_params[:'content-type'] = 'application/json'
|
|
551
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
552
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
553
|
+
# rubocop:enable Style/NegatedIf
|
|
554
|
+
|
|
555
|
+
post_body = nil
|
|
556
|
+
|
|
557
|
+
# rubocop:disable Metrics/BlockLength
|
|
558
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#delete_work_request') do
|
|
559
|
+
@api_client.call_api(
|
|
560
|
+
:DELETE,
|
|
561
|
+
path,
|
|
562
|
+
endpoint,
|
|
563
|
+
header_params: header_params,
|
|
564
|
+
query_params: query_params,
|
|
565
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
566
|
+
body: post_body
|
|
567
|
+
)
|
|
568
|
+
end
|
|
569
|
+
# rubocop:enable Metrics/BlockLength
|
|
570
|
+
end
|
|
571
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
572
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
573
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
574
|
+
|
|
575
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
576
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
577
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
# Get information about a single index.
|
|
581
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
582
|
+
# @param [String] index_name The name of a table's index.
|
|
583
|
+
# @param [Hash] opts the optional parameters
|
|
584
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
585
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
586
|
+
# @option opts [String] :compartment_id The ID of a table's compartment. When a table is identified
|
|
587
|
+
# by name, the compartmentId is often needed to provide
|
|
588
|
+
# context for interpreting the name.
|
|
589
|
+
#
|
|
590
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
591
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::Index Index}
|
|
592
|
+
def get_index(table_name_or_id, index_name, opts = {})
|
|
593
|
+
logger.debug 'Calling operation NosqlClient#get_index.' if logger
|
|
594
|
+
|
|
595
|
+
raise "Missing the required parameter 'table_name_or_id' when calling get_index." if table_name_or_id.nil?
|
|
596
|
+
raise "Missing the required parameter 'index_name' when calling get_index." if index_name.nil?
|
|
597
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
598
|
+
raise "Parameter value for 'index_name' must not be blank" if OCI::Internal::Util.blank_string?(index_name)
|
|
599
|
+
|
|
600
|
+
path = '/tables/{tableNameOrId}/indexes/{indexName}'.sub('{tableNameOrId}', table_name_or_id.to_s).sub('{indexName}', index_name.to_s)
|
|
601
|
+
operation_signing_strategy = :standard
|
|
602
|
+
|
|
603
|
+
# rubocop:disable Style/NegatedIf
|
|
604
|
+
# Query Params
|
|
605
|
+
query_params = {}
|
|
606
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
607
|
+
|
|
608
|
+
# Header Params
|
|
609
|
+
header_params = {}
|
|
610
|
+
header_params[:accept] = 'application/json'
|
|
611
|
+
header_params[:'content-type'] = 'application/json'
|
|
612
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
613
|
+
# rubocop:enable Style/NegatedIf
|
|
614
|
+
|
|
615
|
+
post_body = nil
|
|
616
|
+
|
|
617
|
+
# rubocop:disable Metrics/BlockLength
|
|
618
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#get_index') do
|
|
619
|
+
@api_client.call_api(
|
|
620
|
+
:GET,
|
|
621
|
+
path,
|
|
622
|
+
endpoint,
|
|
623
|
+
header_params: header_params,
|
|
624
|
+
query_params: query_params,
|
|
625
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
626
|
+
body: post_body,
|
|
627
|
+
return_type: 'OCI::Nosql::Models::Index'
|
|
628
|
+
)
|
|
629
|
+
end
|
|
630
|
+
# rubocop:enable Metrics/BlockLength
|
|
631
|
+
end
|
|
632
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
633
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
634
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
635
|
+
|
|
636
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
637
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
638
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
# Get a single row from the table by primary key.
|
|
642
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
643
|
+
# @param [Array<String>] key An array of strings, each of the format \"column-name:value\",
|
|
644
|
+
# representing the primary key of the row.
|
|
645
|
+
#
|
|
646
|
+
# @param [Hash] opts the optional parameters
|
|
647
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
648
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
649
|
+
# @option opts [String] :compartment_id The ID of a table's compartment. When a table is identified
|
|
650
|
+
# by name, the compartmentId is often needed to provide
|
|
651
|
+
# context for interpreting the name.
|
|
652
|
+
#
|
|
653
|
+
# @option opts [String] :consistency Consistency requirement for a read operation. (default to EVENTUAL)
|
|
654
|
+
# Allowed values are: EVENTUAL, ABSOLUTE
|
|
655
|
+
# @option opts [Integer] :timeout_in_ms Timeout setting for this operation. (default to 5000)
|
|
656
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
657
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::Row Row}
|
|
658
|
+
def get_row(table_name_or_id, key, opts = {})
|
|
659
|
+
logger.debug 'Calling operation NosqlClient#get_row.' if logger
|
|
660
|
+
|
|
661
|
+
raise "Missing the required parameter 'table_name_or_id' when calling get_row." if table_name_or_id.nil?
|
|
662
|
+
raise "Missing the required parameter 'key' when calling get_row." if key.nil?
|
|
663
|
+
|
|
664
|
+
if opts[:consistency] && !%w[EVENTUAL ABSOLUTE].include?(opts[:consistency])
|
|
665
|
+
raise 'Invalid value for "consistency", must be one of EVENTUAL, ABSOLUTE.'
|
|
666
|
+
end
|
|
667
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
668
|
+
|
|
669
|
+
path = '/tables/{tableNameOrId}/rows'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
670
|
+
operation_signing_strategy = :standard
|
|
671
|
+
|
|
672
|
+
# rubocop:disable Style/NegatedIf
|
|
673
|
+
# Query Params
|
|
674
|
+
query_params = {}
|
|
675
|
+
query_params[:key] = OCI::ApiClient.build_collection_params(key, :multi)
|
|
676
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
677
|
+
query_params[:consistency] = opts[:consistency] if opts[:consistency]
|
|
678
|
+
query_params[:timeoutInMs] = opts[:timeout_in_ms] if opts[:timeout_in_ms]
|
|
679
|
+
|
|
680
|
+
# Header Params
|
|
681
|
+
header_params = {}
|
|
682
|
+
header_params[:accept] = 'application/json'
|
|
683
|
+
header_params[:'content-type'] = 'application/json'
|
|
684
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
685
|
+
# rubocop:enable Style/NegatedIf
|
|
686
|
+
|
|
687
|
+
post_body = nil
|
|
688
|
+
|
|
689
|
+
# rubocop:disable Metrics/BlockLength
|
|
690
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#get_row') do
|
|
691
|
+
@api_client.call_api(
|
|
692
|
+
:GET,
|
|
693
|
+
path,
|
|
694
|
+
endpoint,
|
|
695
|
+
header_params: header_params,
|
|
696
|
+
query_params: query_params,
|
|
697
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
698
|
+
body: post_body,
|
|
699
|
+
return_type: 'OCI::Nosql::Models::Row'
|
|
700
|
+
)
|
|
701
|
+
end
|
|
702
|
+
# rubocop:enable Metrics/BlockLength
|
|
703
|
+
end
|
|
704
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
705
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
706
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
707
|
+
|
|
708
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
709
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
710
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
# Get table info by identifier.
|
|
714
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
715
|
+
# @param [Hash] opts the optional parameters
|
|
716
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
717
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
718
|
+
# @option opts [String] :compartment_id The ID of a table's compartment. When a table is identified
|
|
719
|
+
# by name, the compartmentId is often needed to provide
|
|
720
|
+
# context for interpreting the name.
|
|
721
|
+
#
|
|
722
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
723
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::Table Table}
|
|
724
|
+
def get_table(table_name_or_id, opts = {})
|
|
725
|
+
logger.debug 'Calling operation NosqlClient#get_table.' if logger
|
|
726
|
+
|
|
727
|
+
raise "Missing the required parameter 'table_name_or_id' when calling get_table." if table_name_or_id.nil?
|
|
728
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
729
|
+
|
|
730
|
+
path = '/tables/{tableNameOrId}'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
731
|
+
operation_signing_strategy = :standard
|
|
732
|
+
|
|
733
|
+
# rubocop:disable Style/NegatedIf
|
|
734
|
+
# Query Params
|
|
735
|
+
query_params = {}
|
|
736
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
737
|
+
|
|
738
|
+
# Header Params
|
|
739
|
+
header_params = {}
|
|
740
|
+
header_params[:accept] = 'application/json'
|
|
741
|
+
header_params[:'content-type'] = 'application/json'
|
|
742
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
743
|
+
# rubocop:enable Style/NegatedIf
|
|
744
|
+
|
|
745
|
+
post_body = nil
|
|
746
|
+
|
|
747
|
+
# rubocop:disable Metrics/BlockLength
|
|
748
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#get_table') do
|
|
749
|
+
@api_client.call_api(
|
|
750
|
+
:GET,
|
|
751
|
+
path,
|
|
752
|
+
endpoint,
|
|
753
|
+
header_params: header_params,
|
|
754
|
+
query_params: query_params,
|
|
755
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
756
|
+
body: post_body,
|
|
757
|
+
return_type: 'OCI::Nosql::Models::Table'
|
|
758
|
+
)
|
|
759
|
+
end
|
|
760
|
+
# rubocop:enable Metrics/BlockLength
|
|
761
|
+
end
|
|
762
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
763
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
764
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
765
|
+
|
|
766
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
767
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
768
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
# Get the status of the work request with the given ID.
|
|
772
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
|
773
|
+
# @param [Hash] opts the optional parameters
|
|
774
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
775
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
776
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
777
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::WorkRequest WorkRequest}
|
|
778
|
+
def get_work_request(work_request_id, opts = {})
|
|
779
|
+
logger.debug 'Calling operation NosqlClient#get_work_request.' if logger
|
|
780
|
+
|
|
781
|
+
raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
|
|
782
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
783
|
+
|
|
784
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
|
785
|
+
operation_signing_strategy = :standard
|
|
786
|
+
|
|
787
|
+
# rubocop:disable Style/NegatedIf
|
|
788
|
+
# Query Params
|
|
789
|
+
query_params = {}
|
|
790
|
+
|
|
791
|
+
# Header Params
|
|
792
|
+
header_params = {}
|
|
793
|
+
header_params[:accept] = 'application/json'
|
|
794
|
+
header_params[:'content-type'] = 'application/json'
|
|
795
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
796
|
+
# rubocop:enable Style/NegatedIf
|
|
797
|
+
|
|
798
|
+
post_body = nil
|
|
799
|
+
|
|
800
|
+
# rubocop:disable Metrics/BlockLength
|
|
801
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#get_work_request') do
|
|
802
|
+
@api_client.call_api(
|
|
803
|
+
:GET,
|
|
804
|
+
path,
|
|
805
|
+
endpoint,
|
|
806
|
+
header_params: header_params,
|
|
807
|
+
query_params: query_params,
|
|
808
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
809
|
+
body: post_body,
|
|
810
|
+
return_type: 'OCI::Nosql::Models::WorkRequest'
|
|
811
|
+
)
|
|
812
|
+
end
|
|
813
|
+
# rubocop:enable Metrics/BlockLength
|
|
814
|
+
end
|
|
815
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
816
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
817
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
818
|
+
|
|
819
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
820
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
821
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
# Get a list of indexes on a table.
|
|
825
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
826
|
+
# @param [Hash] opts the optional parameters
|
|
827
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
828
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
829
|
+
# @option opts [String] :compartment_id The ID of a table's compartment. When a table is identified
|
|
830
|
+
# by name, the compartmentId is often needed to provide
|
|
831
|
+
# context for interpreting the name.
|
|
832
|
+
#
|
|
833
|
+
# @option opts [String] :name A shell-globbing-style (*?[]) filter for names. (default to *)
|
|
834
|
+
# @option opts [String] :lifecycle_state Filter list by the lifecycle state of the item. (default to ALL)
|
|
835
|
+
# Allowed values are: ALL, CREATING, UPDATING, ACTIVE, DELETING, DELETED, FAILED
|
|
836
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 1000)
|
|
837
|
+
# @option opts [String] :page The page token representing the page at which to start
|
|
838
|
+
# retrieving results. This is usually retrieved from a previous
|
|
839
|
+
# list call.
|
|
840
|
+
#
|
|
841
|
+
# @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'. (default to DESC)
|
|
842
|
+
# Allowed values are: ASC, DESC
|
|
843
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be
|
|
844
|
+
# provided. Default order for timeCreated is descending. Default
|
|
845
|
+
# order for name is ascending. If no value is specified
|
|
846
|
+
# timeCreated is default.
|
|
847
|
+
# (default to timeCreated)
|
|
848
|
+
# Allowed values are: timeCreated, name
|
|
849
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
850
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::IndexCollection IndexCollection}
|
|
851
|
+
def list_indexes(table_name_or_id, opts = {})
|
|
852
|
+
logger.debug 'Calling operation NosqlClient#list_indexes.' if logger
|
|
853
|
+
|
|
854
|
+
raise "Missing the required parameter 'table_name_or_id' when calling list_indexes." if table_name_or_id.nil?
|
|
855
|
+
|
|
856
|
+
if opts[:lifecycle_state] && !%w[ALL CREATING UPDATING ACTIVE DELETING DELETED FAILED].include?(opts[:lifecycle_state])
|
|
857
|
+
raise 'Invalid value for "lifecycle_state", must be one of ALL, CREATING, UPDATING, ACTIVE, DELETING, DELETED, FAILED.'
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
861
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
862
|
+
end
|
|
863
|
+
|
|
864
|
+
if opts[:sort_by] && !%w[timeCreated name].include?(opts[:sort_by])
|
|
865
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, name.'
|
|
866
|
+
end
|
|
867
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
868
|
+
|
|
869
|
+
path = '/tables/{tableNameOrId}/indexes'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
870
|
+
operation_signing_strategy = :standard
|
|
871
|
+
|
|
872
|
+
# rubocop:disable Style/NegatedIf
|
|
873
|
+
# Query Params
|
|
874
|
+
query_params = {}
|
|
875
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
876
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
877
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
878
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
879
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
880
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
881
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
882
|
+
|
|
883
|
+
# Header Params
|
|
884
|
+
header_params = {}
|
|
885
|
+
header_params[:accept] = 'application/json'
|
|
886
|
+
header_params[:'content-type'] = 'application/json'
|
|
887
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
888
|
+
# rubocop:enable Style/NegatedIf
|
|
889
|
+
|
|
890
|
+
post_body = nil
|
|
891
|
+
|
|
892
|
+
# rubocop:disable Metrics/BlockLength
|
|
893
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#list_indexes') do
|
|
894
|
+
@api_client.call_api(
|
|
895
|
+
:GET,
|
|
896
|
+
path,
|
|
897
|
+
endpoint,
|
|
898
|
+
header_params: header_params,
|
|
899
|
+
query_params: query_params,
|
|
900
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
901
|
+
body: post_body,
|
|
902
|
+
return_type: 'OCI::Nosql::Models::IndexCollection'
|
|
903
|
+
)
|
|
904
|
+
end
|
|
905
|
+
# rubocop:enable Metrics/BlockLength
|
|
906
|
+
end
|
|
907
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
908
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
909
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
910
|
+
|
|
911
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
912
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
913
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
# Get table usage info.
|
|
917
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
918
|
+
# @param [Hash] opts the optional parameters
|
|
919
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
920
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
921
|
+
# @option opts [String] :compartment_id The ID of a table's compartment. When a table is identified
|
|
922
|
+
# by name, the compartmentId is often needed to provide
|
|
923
|
+
# context for interpreting the name.
|
|
924
|
+
#
|
|
925
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
926
|
+
# @option opts [DateTime] :time_start The start time to use for the request. If no time range
|
|
927
|
+
# is set for this request, the most recent complete usage
|
|
928
|
+
# record is returned.
|
|
929
|
+
#
|
|
930
|
+
# @option opts [DateTime] :time_end The end time to use for the request.
|
|
931
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 1000)
|
|
932
|
+
# @option opts [String] :page The page token representing the page at which to start
|
|
933
|
+
# retrieving results. This is usually retrieved from a previous
|
|
934
|
+
# list call.
|
|
935
|
+
#
|
|
936
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::TableUsageCollection TableUsageCollection}
|
|
937
|
+
def list_table_usage(table_name_or_id, opts = {})
|
|
938
|
+
logger.debug 'Calling operation NosqlClient#list_table_usage.' if logger
|
|
939
|
+
|
|
940
|
+
raise "Missing the required parameter 'table_name_or_id' when calling list_table_usage." if table_name_or_id.nil?
|
|
941
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
942
|
+
|
|
943
|
+
path = '/tables/{tableNameOrId}/usage'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
944
|
+
operation_signing_strategy = :standard
|
|
945
|
+
|
|
946
|
+
# rubocop:disable Style/NegatedIf
|
|
947
|
+
# Query Params
|
|
948
|
+
query_params = {}
|
|
949
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
950
|
+
query_params[:timeStart] = opts[:time_start] if opts[:time_start]
|
|
951
|
+
query_params[:timeEnd] = opts[:time_end] if opts[:time_end]
|
|
952
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
953
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
954
|
+
|
|
955
|
+
# Header Params
|
|
956
|
+
header_params = {}
|
|
957
|
+
header_params[:accept] = 'application/json'
|
|
958
|
+
header_params[:'content-type'] = 'application/json'
|
|
959
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
960
|
+
# rubocop:enable Style/NegatedIf
|
|
961
|
+
|
|
962
|
+
post_body = nil
|
|
963
|
+
|
|
964
|
+
# rubocop:disable Metrics/BlockLength
|
|
965
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#list_table_usage') do
|
|
966
|
+
@api_client.call_api(
|
|
967
|
+
:GET,
|
|
968
|
+
path,
|
|
969
|
+
endpoint,
|
|
970
|
+
header_params: header_params,
|
|
971
|
+
query_params: query_params,
|
|
972
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
973
|
+
body: post_body,
|
|
974
|
+
return_type: 'OCI::Nosql::Models::TableUsageCollection'
|
|
975
|
+
)
|
|
976
|
+
end
|
|
977
|
+
# rubocop:enable Metrics/BlockLength
|
|
978
|
+
end
|
|
979
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
980
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
981
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
982
|
+
|
|
983
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
984
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
985
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
# Get a list of tables in a compartment.
|
|
989
|
+
# @param [String] compartment_id The ID of a table's compartment.
|
|
990
|
+
# @param [Hash] opts the optional parameters
|
|
991
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
992
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
993
|
+
# @option opts [String] :name A shell-globbing-style (*?[]) filter for names. (default to *)
|
|
994
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 1000)
|
|
995
|
+
# @option opts [String] :page The page token representing the page at which to start
|
|
996
|
+
# retrieving results. This is usually retrieved from a previous
|
|
997
|
+
# list call.
|
|
998
|
+
#
|
|
999
|
+
# @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'. (default to DESC)
|
|
1000
|
+
# Allowed values are: ASC, DESC
|
|
1001
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be
|
|
1002
|
+
# provided. Default order for timeCreated is descending. Default
|
|
1003
|
+
# order for name is ascending. If no value is specified
|
|
1004
|
+
# timeCreated is default.
|
|
1005
|
+
# (default to timeCreated)
|
|
1006
|
+
# Allowed values are: timeCreated, name
|
|
1007
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1008
|
+
# @option opts [String] :lifecycle_state Filter list by the lifecycle state of the item. (default to ALL)
|
|
1009
|
+
# Allowed values are: ALL, CREATING, UPDATING, ACTIVE, DELETING, DELETED, FAILED
|
|
1010
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::TableCollection TableCollection}
|
|
1011
|
+
def list_tables(compartment_id, opts = {})
|
|
1012
|
+
logger.debug 'Calling operation NosqlClient#list_tables.' if logger
|
|
1013
|
+
|
|
1014
|
+
raise "Missing the required parameter 'compartment_id' when calling list_tables." if compartment_id.nil?
|
|
1015
|
+
|
|
1016
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
1017
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
1018
|
+
end
|
|
1019
|
+
|
|
1020
|
+
if opts[:sort_by] && !%w[timeCreated name].include?(opts[:sort_by])
|
|
1021
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, name.'
|
|
1022
|
+
end
|
|
1023
|
+
|
|
1024
|
+
if opts[:lifecycle_state] && !%w[ALL CREATING UPDATING ACTIVE DELETING DELETED FAILED].include?(opts[:lifecycle_state])
|
|
1025
|
+
raise 'Invalid value for "lifecycle_state", must be one of ALL, CREATING, UPDATING, ACTIVE, DELETING, DELETED, FAILED.'
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
path = '/tables'
|
|
1029
|
+
operation_signing_strategy = :standard
|
|
1030
|
+
|
|
1031
|
+
# rubocop:disable Style/NegatedIf
|
|
1032
|
+
# Query Params
|
|
1033
|
+
query_params = {}
|
|
1034
|
+
query_params[:compartmentId] = compartment_id
|
|
1035
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
1036
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1037
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1038
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1039
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1040
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1041
|
+
|
|
1042
|
+
# Header Params
|
|
1043
|
+
header_params = {}
|
|
1044
|
+
header_params[:accept] = 'application/json'
|
|
1045
|
+
header_params[:'content-type'] = 'application/json'
|
|
1046
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1047
|
+
# rubocop:enable Style/NegatedIf
|
|
1048
|
+
|
|
1049
|
+
post_body = nil
|
|
1050
|
+
|
|
1051
|
+
# rubocop:disable Metrics/BlockLength
|
|
1052
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#list_tables') do
|
|
1053
|
+
@api_client.call_api(
|
|
1054
|
+
:GET,
|
|
1055
|
+
path,
|
|
1056
|
+
endpoint,
|
|
1057
|
+
header_params: header_params,
|
|
1058
|
+
query_params: query_params,
|
|
1059
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1060
|
+
body: post_body,
|
|
1061
|
+
return_type: 'OCI::Nosql::Models::TableCollection'
|
|
1062
|
+
)
|
|
1063
|
+
end
|
|
1064
|
+
# rubocop:enable Metrics/BlockLength
|
|
1065
|
+
end
|
|
1066
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1067
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1068
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1069
|
+
|
|
1070
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1071
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1072
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
# Return a (paginated) list of errors for a given work request.
|
|
1076
|
+
#
|
|
1077
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
|
1078
|
+
# @param [Hash] opts the optional parameters
|
|
1079
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1080
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1081
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1082
|
+
# @option opts [String] :page The page token representing the page at which to start
|
|
1083
|
+
# retrieving results. This is usually retrieved from a previous
|
|
1084
|
+
# list call.
|
|
1085
|
+
#
|
|
1086
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 1000)
|
|
1087
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::WorkRequestErrorCollection WorkRequestErrorCollection}
|
|
1088
|
+
def list_work_request_errors(work_request_id, opts = {})
|
|
1089
|
+
logger.debug 'Calling operation NosqlClient#list_work_request_errors.' if logger
|
|
1090
|
+
|
|
1091
|
+
raise "Missing the required parameter 'work_request_id' when calling list_work_request_errors." if work_request_id.nil?
|
|
1092
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
1093
|
+
|
|
1094
|
+
path = '/workRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
|
|
1095
|
+
operation_signing_strategy = :standard
|
|
1096
|
+
|
|
1097
|
+
# rubocop:disable Style/NegatedIf
|
|
1098
|
+
# Query Params
|
|
1099
|
+
query_params = {}
|
|
1100
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1101
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1102
|
+
|
|
1103
|
+
# Header Params
|
|
1104
|
+
header_params = {}
|
|
1105
|
+
header_params[:accept] = 'application/json'
|
|
1106
|
+
header_params[:'content-type'] = 'application/json'
|
|
1107
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1108
|
+
# rubocop:enable Style/NegatedIf
|
|
1109
|
+
|
|
1110
|
+
post_body = nil
|
|
1111
|
+
|
|
1112
|
+
# rubocop:disable Metrics/BlockLength
|
|
1113
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#list_work_request_errors') do
|
|
1114
|
+
@api_client.call_api(
|
|
1115
|
+
:GET,
|
|
1116
|
+
path,
|
|
1117
|
+
endpoint,
|
|
1118
|
+
header_params: header_params,
|
|
1119
|
+
query_params: query_params,
|
|
1120
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1121
|
+
body: post_body,
|
|
1122
|
+
return_type: 'OCI::Nosql::Models::WorkRequestErrorCollection'
|
|
1123
|
+
)
|
|
1124
|
+
end
|
|
1125
|
+
# rubocop:enable Metrics/BlockLength
|
|
1126
|
+
end
|
|
1127
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1128
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1129
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1130
|
+
|
|
1131
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1132
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1133
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
# Return a (paginated) list of logs for a given work request.
|
|
1137
|
+
#
|
|
1138
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
|
1139
|
+
# @param [Hash] opts the optional parameters
|
|
1140
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1141
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1142
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1143
|
+
# @option opts [String] :page The page token representing the page at which to start
|
|
1144
|
+
# retrieving results. This is usually retrieved from a previous
|
|
1145
|
+
# list call.
|
|
1146
|
+
#
|
|
1147
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 1000)
|
|
1148
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::WorkRequestLogEntryCollection WorkRequestLogEntryCollection}
|
|
1149
|
+
def list_work_request_logs(work_request_id, opts = {})
|
|
1150
|
+
logger.debug 'Calling operation NosqlClient#list_work_request_logs.' if logger
|
|
1151
|
+
|
|
1152
|
+
raise "Missing the required parameter 'work_request_id' when calling list_work_request_logs." if work_request_id.nil?
|
|
1153
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
1154
|
+
|
|
1155
|
+
path = '/workRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
|
|
1156
|
+
operation_signing_strategy = :standard
|
|
1157
|
+
|
|
1158
|
+
# rubocop:disable Style/NegatedIf
|
|
1159
|
+
# Query Params
|
|
1160
|
+
query_params = {}
|
|
1161
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1162
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1163
|
+
|
|
1164
|
+
# Header Params
|
|
1165
|
+
header_params = {}
|
|
1166
|
+
header_params[:accept] = 'application/json'
|
|
1167
|
+
header_params[:'content-type'] = 'application/json'
|
|
1168
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1169
|
+
# rubocop:enable Style/NegatedIf
|
|
1170
|
+
|
|
1171
|
+
post_body = nil
|
|
1172
|
+
|
|
1173
|
+
# rubocop:disable Metrics/BlockLength
|
|
1174
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#list_work_request_logs') do
|
|
1175
|
+
@api_client.call_api(
|
|
1176
|
+
:GET,
|
|
1177
|
+
path,
|
|
1178
|
+
endpoint,
|
|
1179
|
+
header_params: header_params,
|
|
1180
|
+
query_params: query_params,
|
|
1181
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1182
|
+
body: post_body,
|
|
1183
|
+
return_type: 'OCI::Nosql::Models::WorkRequestLogEntryCollection'
|
|
1184
|
+
)
|
|
1185
|
+
end
|
|
1186
|
+
# rubocop:enable Metrics/BlockLength
|
|
1187
|
+
end
|
|
1188
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1189
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1190
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1191
|
+
|
|
1192
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1193
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1194
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
# List the work requests in a compartment.
|
|
1198
|
+
# @param [String] compartment_id The ID of a table's compartment.
|
|
1199
|
+
# @param [Hash] opts the optional parameters
|
|
1200
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1201
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1202
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1203
|
+
# @option opts [String] :page The page token representing the page at which to start
|
|
1204
|
+
# retrieving results. This is usually retrieved from a previous
|
|
1205
|
+
# list call.
|
|
1206
|
+
#
|
|
1207
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 1000)
|
|
1208
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::WorkRequestCollection WorkRequestCollection}
|
|
1209
|
+
def list_work_requests(compartment_id, opts = {})
|
|
1210
|
+
logger.debug 'Calling operation NosqlClient#list_work_requests.' if logger
|
|
1211
|
+
|
|
1212
|
+
raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
|
|
1213
|
+
|
|
1214
|
+
path = '/workRequests'
|
|
1215
|
+
operation_signing_strategy = :standard
|
|
1216
|
+
|
|
1217
|
+
# rubocop:disable Style/NegatedIf
|
|
1218
|
+
# Query Params
|
|
1219
|
+
query_params = {}
|
|
1220
|
+
query_params[:compartmentId] = compartment_id
|
|
1221
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1222
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1223
|
+
|
|
1224
|
+
# Header Params
|
|
1225
|
+
header_params = {}
|
|
1226
|
+
header_params[:accept] = 'application/json'
|
|
1227
|
+
header_params[:'content-type'] = 'application/json'
|
|
1228
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1229
|
+
# rubocop:enable Style/NegatedIf
|
|
1230
|
+
|
|
1231
|
+
post_body = nil
|
|
1232
|
+
|
|
1233
|
+
# rubocop:disable Metrics/BlockLength
|
|
1234
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#list_work_requests') do
|
|
1235
|
+
@api_client.call_api(
|
|
1236
|
+
:GET,
|
|
1237
|
+
path,
|
|
1238
|
+
endpoint,
|
|
1239
|
+
header_params: header_params,
|
|
1240
|
+
query_params: query_params,
|
|
1241
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1242
|
+
body: post_body,
|
|
1243
|
+
return_type: 'OCI::Nosql::Models::WorkRequestCollection'
|
|
1244
|
+
)
|
|
1245
|
+
end
|
|
1246
|
+
# rubocop:enable Metrics/BlockLength
|
|
1247
|
+
end
|
|
1248
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1249
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1250
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1251
|
+
|
|
1252
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1253
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1254
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
# Prepare a SQL statement for use in a query with variable substitution.
|
|
1258
|
+
#
|
|
1259
|
+
# @param [String] compartment_id The ID of a table's compartment.
|
|
1260
|
+
# @param [String] statement A NoSQL SQL statement.
|
|
1261
|
+
# @param [Hash] opts the optional parameters
|
|
1262
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1263
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1264
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1265
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::PreparedStatement PreparedStatement}
|
|
1266
|
+
def prepare_statement(compartment_id, statement, opts = {})
|
|
1267
|
+
logger.debug 'Calling operation NosqlClient#prepare_statement.' if logger
|
|
1268
|
+
|
|
1269
|
+
raise "Missing the required parameter 'compartment_id' when calling prepare_statement." if compartment_id.nil?
|
|
1270
|
+
raise "Missing the required parameter 'statement' when calling prepare_statement." if statement.nil?
|
|
1271
|
+
|
|
1272
|
+
path = '/query/prepare'
|
|
1273
|
+
operation_signing_strategy = :standard
|
|
1274
|
+
|
|
1275
|
+
# rubocop:disable Style/NegatedIf
|
|
1276
|
+
# Query Params
|
|
1277
|
+
query_params = {}
|
|
1278
|
+
query_params[:compartmentId] = compartment_id
|
|
1279
|
+
query_params[:statement] = statement
|
|
1280
|
+
|
|
1281
|
+
# Header Params
|
|
1282
|
+
header_params = {}
|
|
1283
|
+
header_params[:accept] = 'application/json'
|
|
1284
|
+
header_params[:'content-type'] = 'application/json'
|
|
1285
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1286
|
+
# rubocop:enable Style/NegatedIf
|
|
1287
|
+
|
|
1288
|
+
post_body = nil
|
|
1289
|
+
|
|
1290
|
+
# rubocop:disable Metrics/BlockLength
|
|
1291
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#prepare_statement') do
|
|
1292
|
+
@api_client.call_api(
|
|
1293
|
+
:GET,
|
|
1294
|
+
path,
|
|
1295
|
+
endpoint,
|
|
1296
|
+
header_params: header_params,
|
|
1297
|
+
query_params: query_params,
|
|
1298
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1299
|
+
body: post_body,
|
|
1300
|
+
return_type: 'OCI::Nosql::Models::PreparedStatement'
|
|
1301
|
+
)
|
|
1302
|
+
end
|
|
1303
|
+
# rubocop:enable Metrics/BlockLength
|
|
1304
|
+
end
|
|
1305
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1306
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1307
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1308
|
+
|
|
1309
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1310
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1311
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
# Execute a SQL query.
|
|
1315
|
+
# @param [OCI::Nosql::Models::QueryDetails] query_details SQL query statement and ancillary information.
|
|
1316
|
+
# @param [Hash] opts the optional parameters
|
|
1317
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1318
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1319
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 1000)
|
|
1320
|
+
# @option opts [String] :page The page token representing the page at which to start
|
|
1321
|
+
# retrieving results. This is usually retrieved from a previous
|
|
1322
|
+
# list call.
|
|
1323
|
+
#
|
|
1324
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1325
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::QueryResultCollection QueryResultCollection}
|
|
1326
|
+
def query(query_details, opts = {})
|
|
1327
|
+
logger.debug 'Calling operation NosqlClient#query.' if logger
|
|
1328
|
+
|
|
1329
|
+
raise "Missing the required parameter 'query_details' when calling query." if query_details.nil?
|
|
1330
|
+
|
|
1331
|
+
path = '/query'
|
|
1332
|
+
operation_signing_strategy = :standard
|
|
1333
|
+
|
|
1334
|
+
# rubocop:disable Style/NegatedIf
|
|
1335
|
+
# Query Params
|
|
1336
|
+
query_params = {}
|
|
1337
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1338
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1339
|
+
|
|
1340
|
+
# Header Params
|
|
1341
|
+
header_params = {}
|
|
1342
|
+
header_params[:accept] = 'application/json'
|
|
1343
|
+
header_params[:'content-type'] = 'application/json'
|
|
1344
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1345
|
+
# rubocop:enable Style/NegatedIf
|
|
1346
|
+
|
|
1347
|
+
post_body = @api_client.object_to_http_body(query_details)
|
|
1348
|
+
|
|
1349
|
+
# rubocop:disable Metrics/BlockLength
|
|
1350
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#query') do
|
|
1351
|
+
@api_client.call_api(
|
|
1352
|
+
:POST,
|
|
1353
|
+
path,
|
|
1354
|
+
endpoint,
|
|
1355
|
+
header_params: header_params,
|
|
1356
|
+
query_params: query_params,
|
|
1357
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1358
|
+
body: post_body,
|
|
1359
|
+
return_type: 'OCI::Nosql::Models::QueryResultCollection'
|
|
1360
|
+
)
|
|
1361
|
+
end
|
|
1362
|
+
# rubocop:enable Metrics/BlockLength
|
|
1363
|
+
end
|
|
1364
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1365
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1366
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1367
|
+
|
|
1368
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1369
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1370
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
# Check the syntax and return a brief summary of a SQL statement.
|
|
1374
|
+
#
|
|
1375
|
+
# @param [String] compartment_id The ID of a table's compartment.
|
|
1376
|
+
# @param [String] statement A NoSQL SQL statement.
|
|
1377
|
+
# @param [Hash] opts the optional parameters
|
|
1378
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1379
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1380
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1381
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::StatementSummary StatementSummary}
|
|
1382
|
+
def summarize_statement(compartment_id, statement, opts = {})
|
|
1383
|
+
logger.debug 'Calling operation NosqlClient#summarize_statement.' if logger
|
|
1384
|
+
|
|
1385
|
+
raise "Missing the required parameter 'compartment_id' when calling summarize_statement." if compartment_id.nil?
|
|
1386
|
+
raise "Missing the required parameter 'statement' when calling summarize_statement." if statement.nil?
|
|
1387
|
+
|
|
1388
|
+
path = '/query/summarize'
|
|
1389
|
+
operation_signing_strategy = :standard
|
|
1390
|
+
|
|
1391
|
+
# rubocop:disable Style/NegatedIf
|
|
1392
|
+
# Query Params
|
|
1393
|
+
query_params = {}
|
|
1394
|
+
query_params[:compartmentId] = compartment_id
|
|
1395
|
+
query_params[:statement] = statement
|
|
1396
|
+
|
|
1397
|
+
# Header Params
|
|
1398
|
+
header_params = {}
|
|
1399
|
+
header_params[:accept] = 'application/json'
|
|
1400
|
+
header_params[:'content-type'] = 'application/json'
|
|
1401
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1402
|
+
# rubocop:enable Style/NegatedIf
|
|
1403
|
+
|
|
1404
|
+
post_body = nil
|
|
1405
|
+
|
|
1406
|
+
# rubocop:disable Metrics/BlockLength
|
|
1407
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#summarize_statement') do
|
|
1408
|
+
@api_client.call_api(
|
|
1409
|
+
:GET,
|
|
1410
|
+
path,
|
|
1411
|
+
endpoint,
|
|
1412
|
+
header_params: header_params,
|
|
1413
|
+
query_params: query_params,
|
|
1414
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1415
|
+
body: post_body,
|
|
1416
|
+
return_type: 'OCI::Nosql::Models::StatementSummary'
|
|
1417
|
+
)
|
|
1418
|
+
end
|
|
1419
|
+
# rubocop:enable Metrics/BlockLength
|
|
1420
|
+
end
|
|
1421
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1422
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1423
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1424
|
+
|
|
1425
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1426
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1427
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
# Write a single row into the table.
|
|
1431
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
1432
|
+
# @param [OCI::Nosql::Models::UpdateRowDetails] update_row_details Specifications for the putting of a table row.
|
|
1433
|
+
# @param [Hash] opts the optional parameters
|
|
1434
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1435
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1436
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
1437
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
1438
|
+
# etag from a previous GET or POST response for that resource.
|
|
1439
|
+
# The resource will be updated or deleted only if the etag you
|
|
1440
|
+
# provide matches the resource's current etag value.
|
|
1441
|
+
# (default to false)
|
|
1442
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1443
|
+
# @return [Response] A Response object with data of type {OCI::Nosql::Models::UpdateRowResult UpdateRowResult}
|
|
1444
|
+
def update_row(table_name_or_id, update_row_details, opts = {})
|
|
1445
|
+
logger.debug 'Calling operation NosqlClient#update_row.' if logger
|
|
1446
|
+
|
|
1447
|
+
raise "Missing the required parameter 'table_name_or_id' when calling update_row." if table_name_or_id.nil?
|
|
1448
|
+
raise "Missing the required parameter 'update_row_details' when calling update_row." if update_row_details.nil?
|
|
1449
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
1450
|
+
|
|
1451
|
+
path = '/tables/{tableNameOrId}/rows'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
1452
|
+
operation_signing_strategy = :standard
|
|
1453
|
+
|
|
1454
|
+
# rubocop:disable Style/NegatedIf
|
|
1455
|
+
# Query Params
|
|
1456
|
+
query_params = {}
|
|
1457
|
+
|
|
1458
|
+
# Header Params
|
|
1459
|
+
header_params = {}
|
|
1460
|
+
header_params[:accept] = 'application/json'
|
|
1461
|
+
header_params[:'content-type'] = 'application/json'
|
|
1462
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1463
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1464
|
+
# rubocop:enable Style/NegatedIf
|
|
1465
|
+
|
|
1466
|
+
post_body = @api_client.object_to_http_body(update_row_details)
|
|
1467
|
+
|
|
1468
|
+
# rubocop:disable Metrics/BlockLength
|
|
1469
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#update_row') do
|
|
1470
|
+
@api_client.call_api(
|
|
1471
|
+
:PUT,
|
|
1472
|
+
path,
|
|
1473
|
+
endpoint,
|
|
1474
|
+
header_params: header_params,
|
|
1475
|
+
query_params: query_params,
|
|
1476
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1477
|
+
body: post_body,
|
|
1478
|
+
return_type: 'OCI::Nosql::Models::UpdateRowResult'
|
|
1479
|
+
)
|
|
1480
|
+
end
|
|
1481
|
+
# rubocop:enable Metrics/BlockLength
|
|
1482
|
+
end
|
|
1483
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1484
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1485
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1486
|
+
|
|
1487
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1488
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1489
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
# Alter the table identified by tableNameOrId,
|
|
1493
|
+
# changing schema, limits, or tags
|
|
1494
|
+
#
|
|
1495
|
+
# @param [String] table_name_or_id A table name within the compartment, or a table OCID.
|
|
1496
|
+
# @param [OCI::Nosql::Models::UpdateTableDetails] update_table_details Specifications for the alteration.
|
|
1497
|
+
# @param [Hash] opts the optional parameters
|
|
1498
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1499
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1500
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
1501
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
1502
|
+
# etag from a previous GET or POST response for that resource.
|
|
1503
|
+
# The resource will be updated or deleted only if the etag you
|
|
1504
|
+
# provide matches the resource's current etag value.
|
|
1505
|
+
# (default to false)
|
|
1506
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1507
|
+
# @return [Response] A Response object with data of type nil
|
|
1508
|
+
def update_table(table_name_or_id, update_table_details, opts = {})
|
|
1509
|
+
logger.debug 'Calling operation NosqlClient#update_table.' if logger
|
|
1510
|
+
|
|
1511
|
+
raise "Missing the required parameter 'table_name_or_id' when calling update_table." if table_name_or_id.nil?
|
|
1512
|
+
raise "Missing the required parameter 'update_table_details' when calling update_table." if update_table_details.nil?
|
|
1513
|
+
raise "Parameter value for 'table_name_or_id' must not be blank" if OCI::Internal::Util.blank_string?(table_name_or_id)
|
|
1514
|
+
|
|
1515
|
+
path = '/tables/{tableNameOrId}'.sub('{tableNameOrId}', table_name_or_id.to_s)
|
|
1516
|
+
operation_signing_strategy = :standard
|
|
1517
|
+
|
|
1518
|
+
# rubocop:disable Style/NegatedIf
|
|
1519
|
+
# Query Params
|
|
1520
|
+
query_params = {}
|
|
1521
|
+
|
|
1522
|
+
# Header Params
|
|
1523
|
+
header_params = {}
|
|
1524
|
+
header_params[:accept] = 'application/json'
|
|
1525
|
+
header_params[:'content-type'] = 'application/json'
|
|
1526
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1527
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1528
|
+
# rubocop:enable Style/NegatedIf
|
|
1529
|
+
|
|
1530
|
+
post_body = @api_client.object_to_http_body(update_table_details)
|
|
1531
|
+
|
|
1532
|
+
# rubocop:disable Metrics/BlockLength
|
|
1533
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'NosqlClient#update_table') do
|
|
1534
|
+
@api_client.call_api(
|
|
1535
|
+
:PUT,
|
|
1536
|
+
path,
|
|
1537
|
+
endpoint,
|
|
1538
|
+
header_params: header_params,
|
|
1539
|
+
query_params: query_params,
|
|
1540
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1541
|
+
body: post_body
|
|
1542
|
+
)
|
|
1543
|
+
end
|
|
1544
|
+
# rubocop:enable Metrics/BlockLength
|
|
1545
|
+
end
|
|
1546
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1547
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1548
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1549
|
+
|
|
1550
|
+
private
|
|
1551
|
+
|
|
1552
|
+
def applicable_retry_config(opts = {})
|
|
1553
|
+
return @retry_config unless opts.key?(:retry_config)
|
|
1554
|
+
|
|
1555
|
+
opts[:retry_config]
|
|
1556
|
+
end
|
|
1557
|
+
end
|
|
1558
|
+
end
|
|
1559
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|