oci 2.5.10 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -11
- data/lib/oci.rb +24 -1
- data/lib/oci/analytics/analytics.rb +43 -0
- data/lib/oci/analytics/analytics_client.rb +1133 -0
- data/lib/oci/analytics/analytics_client_composite_operations.rb +372 -0
- data/lib/oci/analytics/models/analytics_instance.rb +407 -0
- data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +16 -0
- data/lib/oci/analytics/models/analytics_instance_summary.rb +371 -0
- data/lib/oci/analytics/models/capacity.rb +192 -0
- data/lib/oci/analytics/models/capacity_type.rb +11 -0
- data/lib/oci/analytics/models/change_compartment_details.rb +156 -0
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +310 -0
- data/lib/oci/analytics/models/feature_set.rb +11 -0
- data/lib/oci/analytics/models/license_type.rb +11 -0
- data/lib/oci/analytics/models/scale_analytics_instance_details.rb +151 -0
- data/lib/oci/analytics/models/sort_by.rb +14 -0
- data/lib/oci/analytics/models/sort_order.rb +11 -0
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +232 -0
- data/lib/oci/analytics/models/work_request.rb +317 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +16 -0
- data/lib/oci/analytics/models/work_request_error.rb +177 -0
- data/lib/oci/analytics/models/work_request_log.rb +165 -0
- data/lib/oci/analytics/models/work_request_operation_type.rb +15 -0
- data/lib/oci/analytics/models/work_request_resource.rb +249 -0
- data/lib/oci/analytics/models/work_request_resource_type.rb +10 -0
- data/lib/oci/analytics/models/work_request_sort_by.rb +15 -0
- data/lib/oci/analytics/models/work_request_status.rb +15 -0
- data/lib/oci/analytics/models/work_request_summary.rb +301 -0
- data/lib/oci/analytics/util.rb +3 -0
- data/lib/oci/announcements_service/announcement_client.rb +4 -5
- data/lib/oci/announcements_service/announcement_client_composite_operations.rb +2 -1
- data/lib/oci/announcements_service/announcements_service.rb +2 -1
- data/lib/oci/announcements_service/models/affected_resource.rb +2 -1
- data/lib/oci/announcements_service/models/announcement.rb +2 -1
- data/lib/oci/announcements_service/models/announcement_summary.rb +2 -1
- data/lib/oci/announcements_service/models/announcement_user_status_details.rb +2 -1
- data/lib/oci/announcements_service/models/announcements_collection.rb +2 -1
- data/lib/oci/announcements_service/models/base_announcement.rb +2 -1
- data/lib/oci/announcements_service/util.rb +2 -1
- data/lib/oci/api_client.rb +6 -3
- data/lib/oci/api_client_proxy_settings.rb +2 -1
- data/lib/oci/apigateway/apigateway.rb +71 -0
- data/lib/oci/apigateway/deployment_client.rb +511 -0
- data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/gateway_client.rb +509 -0
- data/lib/oci/apigateway/gateway_client_composite_operations.rb +223 -0
- data/lib/oci/apigateway/models/access_log_policy.rb +157 -0
- data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +147 -0
- data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +165 -0
- data/lib/oci/apigateway/models/api_specification.rb +176 -0
- data/lib/oci/apigateway/models/api_specification_logging_policies.rb +167 -0
- data/lib/oci/apigateway/models/api_specification_request_policies.rb +171 -0
- data/lib/oci/apigateway/models/api_specification_route.rb +233 -0
- data/lib/oci/apigateway/models/api_specification_route_backend.rb +190 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +159 -0
- data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +146 -0
- data/lib/oci/apigateway/models/authentication_policy.rb +205 -0
- data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +156 -0
- data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +156 -0
- data/lib/oci/apigateway/models/cors_policy.rb +240 -0
- data/lib/oci/apigateway/models/create_deployment_details.rb +255 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +242 -0
- data/lib/oci/apigateway/models/custom_authentication_policy.rb +197 -0
- data/lib/oci/apigateway/models/deployment.rb +362 -0
- data/lib/oci/apigateway/models/deployment_collection.rb +150 -0
- data/lib/oci/apigateway/models/deployment_summary.rb +325 -0
- data/lib/oci/apigateway/models/execution_log_policy.rb +196 -0
- data/lib/oci/apigateway/models/gateway.rb +367 -0
- data/lib/oci/apigateway/models/gateway_collection.rb +150 -0
- data/lib/oci/apigateway/models/gateway_summary.rb +322 -0
- data/lib/oci/apigateway/models/header_field_specification.rb +160 -0
- data/lib/oci/apigateway/models/http_backend.rb +227 -0
- data/lib/oci/apigateway/models/json_web_key.rb +278 -0
- data/lib/oci/apigateway/models/json_web_token_claim.rb +182 -0
- data/lib/oci/apigateway/models/jwt_authentication_policy.rb +264 -0
- data/lib/oci/apigateway/models/oracle_function_backend.rb +164 -0
- data/lib/oci/apigateway/models/pem_encoded_public_key.rb +162 -0
- data/lib/oci/apigateway/models/public_key_set.rb +187 -0
- data/lib/oci/apigateway/models/rate_limiting_policy.rb +188 -0
- data/lib/oci/apigateway/models/remote_json_web_key_set.rb +198 -0
- data/lib/oci/apigateway/models/route_authorization_policy.rb +196 -0
- data/lib/oci/apigateway/models/static_public_key.rb +199 -0
- data/lib/oci/apigateway/models/static_public_key_set.rb +158 -0
- data/lib/oci/apigateway/models/stock_response_backend.rb +179 -0
- data/lib/oci/apigateway/models/update_deployment_details.rb +205 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +196 -0
- data/lib/oci/apigateway/models/work_request.rb +309 -0
- data/lib/oci/apigateway/models/work_request_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_error.rb +173 -0
- data/lib/oci/apigateway/models/work_request_error_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_log.rb +160 -0
- data/lib/oci/apigateway/models/work_request_log_collection.rb +150 -0
- data/lib/oci/apigateway/models/work_request_resource.rb +220 -0
- data/lib/oci/apigateway/models/work_request_summary.rb +257 -0
- data/lib/oci/apigateway/util.rb +3 -0
- data/lib/oci/apigateway/work_requests_client.rb +466 -0
- data/lib/oci/apigateway/work_requests_client_composite_operations.rb +25 -0
- data/lib/oci/application_migration/application_migration.rb +57 -0
- data/lib/oci/application_migration/application_migration_client.rb +1387 -0
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +25 -0
- data/lib/oci/application_migration/models/authorization_details.rb +180 -0
- data/lib/oci/application_migration/models/change_compartment_details.rb +156 -0
- data/lib/oci/application_migration/models/configuration_field.rb +225 -0
- data/lib/oci/application_migration/models/create_migration_details.rb +284 -0
- data/lib/oci/application_migration/models/create_source_details.rb +240 -0
- data/lib/oci/application_migration/models/discovery_details.rb +188 -0
- data/lib/oci/application_migration/models/ics_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/internal_authorization_details.rb +169 -0
- data/lib/oci/application_migration/models/internal_source_details.rb +163 -0
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/migration.rb +374 -0
- data/lib/oci/application_migration/models/migration_lifecycle_states.rb +16 -0
- data/lib/oci/application_migration/models/migration_states.rb +16 -0
- data/lib/oci/application_migration/models/migration_summary.rb +344 -0
- data/lib/oci/application_migration/models/migration_types.rb +15 -0
- data/lib/oci/application_migration/models/oac_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +169 -0
- data/lib/oci/application_migration/models/ocic_source_details.rb +173 -0
- data/lib/oci/application_migration/models/oic_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/operation_status.rb +15 -0
- data/lib/oci/application_migration/models/operation_types.rb +20 -0
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +177 -0
- data/lib/oci/application_migration/models/sort_orders.rb +11 -0
- data/lib/oci/application_migration/models/source.rb +278 -0
- data/lib/oci/application_migration/models/source_application.rb +212 -0
- data/lib/oci/application_migration/models/source_application_summary.rb +219 -0
- data/lib/oci/application_migration/models/source_details.rb +187 -0
- data/lib/oci/application_migration/models/source_lifecycle_states.rb +15 -0
- data/lib/oci/application_migration/models/source_summary.rb +295 -0
- data/lib/oci/application_migration/models/source_types.rb +11 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +240 -0
- data/lib/oci/application_migration/models/update_source_details.rb +224 -0
- data/lib/oci/application_migration/models/work_request.rb +258 -0
- data/lib/oci/application_migration/models/work_request_error.rb +171 -0
- data/lib/oci/application_migration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/application_migration/models/work_request_resource.rb +218 -0
- data/lib/oci/application_migration/models/work_request_summary.rb +251 -0
- data/lib/oci/application_migration/util.rb +3 -0
- data/lib/oci/audit/audit.rb +7 -1
- data/lib/oci/audit/audit_client.rb +34 -19
- data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
- data/lib/oci/audit/models/audit_event.rb +83 -262
- data/lib/oci/audit/models/configuration.rb +9 -3
- data/lib/oci/audit/models/data.rb +465 -0
- data/lib/oci/audit/models/identity.rb +314 -0
- data/lib/oci/audit/models/request.rb +286 -0
- data/lib/oci/audit/models/response.rb +274 -0
- data/lib/oci/audit/models/state_change.rb +176 -0
- data/lib/oci/audit/models/update_configuration_details.rb +9 -3
- data/lib/oci/audit/util.rb +2 -1
- data/lib/oci/auth/auth.rb +6 -1
- data/lib/oci/auth/federation_client.rb +7 -3
- data/lib/oci/auth/internal/auth_token_request_signer.rb +2 -1
- data/lib/oci/auth/security_token_container.rb +2 -1
- data/lib/oci/auth/session_key_supplier.rb +2 -1
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +16 -5
- data/lib/oci/auth/signers/resource_principal_token_path_provider/default_rpt_path_provider.rb +33 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/env_rpt_path_provider.rb +25 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/imds_rpt_path_provider.rb +24 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/rpt_path_provider.rb +54 -0
- data/lib/oci/auth/signers/resource_principal_token_path_provider/string_rpt_path_provider.rb +17 -0
- data/lib/oci/auth/signers/resource_principals_federation_signer.rb +140 -0
- data/lib/oci/auth/signers/resource_principals_signer.rb +41 -0
- data/lib/oci/auth/signers/security_token_signer.rb +2 -1
- data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +2 -1
- data/lib/oci/auth/url_based_certificate_retriever.rb +8 -3
- data/lib/oci/auth/util.rb +20 -1
- data/lib/oci/autoscaling/auto_scaling_client.rb +20 -17
- data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +2 -1
- data/lib/oci/autoscaling/autoscaling.rb +7 -1
- data/lib/oci/autoscaling/models/action.rb +2 -1
- data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +34 -5
- data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +3 -1
- data/lib/oci/autoscaling/models/auto_scaling_policy.rb +21 -5
- data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +20 -5
- data/lib/oci/autoscaling/models/capacity.rb +5 -4
- data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +2 -1
- data/lib/oci/autoscaling/models/condition.rb +2 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +23 -5
- data/lib/oci/autoscaling/models/create_condition_details.rb +2 -1
- data/lib/oci/autoscaling/models/create_scheduled_policy_details.rb +177 -0
- data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +7 -2
- data/lib/oci/autoscaling/models/cron_execution_schedule.rb +164 -0
- data/lib/oci/autoscaling/models/execution_schedule.rb +197 -0
- data/lib/oci/autoscaling/models/instance_pool_resource.rb +2 -1
- data/lib/oci/autoscaling/models/metric.rb +2 -1
- data/lib/oci/autoscaling/models/resource.rb +2 -1
- data/lib/oci/autoscaling/models/scheduled_policy.rb +182 -0
- data/lib/oci/autoscaling/models/threshold.rb +2 -1
- data/lib/oci/autoscaling/models/threshold_policy.rb +7 -2
- data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -1
- data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +23 -5
- data/lib/oci/autoscaling/models/update_condition_details.rb +2 -1
- data/lib/oci/autoscaling/models/update_scheduled_policy_details.rb +173 -0
- data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +7 -2
- data/lib/oci/autoscaling/util.rb +2 -1
- data/lib/oci/base_signer.rb +4 -3
- data/lib/oci/bds/bds.rb +45 -0
- data/lib/oci/bds/bds_client.rb +1045 -0
- data/lib/oci/bds/bds_client_composite_operations.rb +423 -0
- data/lib/oci/bds/models/action_types.rb +14 -0
- data/lib/oci/bds/models/add_block_storage_details.rb +170 -0
- data/lib/oci/bds/models/add_cloud_sql_details.rb +180 -0
- data/lib/oci/bds/models/add_worker_nodes_details.rb +168 -0
- data/lib/oci/bds/models/bds_instance.rb +436 -0
- data/lib/oci/bds/models/bds_instance_summary.rb +310 -0
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +154 -0
- data/lib/oci/bds/models/cloud_sql_details.rb +212 -0
- data/lib/oci/bds/models/cluster_details.rb +240 -0
- data/lib/oci/bds/models/create_bds_instance_details.rb +298 -0
- data/lib/oci/bds/models/create_node_details.rb +194 -0
- data/lib/oci/bds/models/default_error.rb +160 -0
- data/lib/oci/bds/models/kerberos_details.rb +168 -0
- data/lib/oci/bds/models/network_config.rb +168 -0
- data/lib/oci/bds/models/node.rb +390 -0
- data/lib/oci/bds/models/operation_status.rb +15 -0
- data/lib/oci/bds/models/operation_types.rb +17 -0
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +154 -0
- data/lib/oci/bds/models/sort_orders.rb +11 -0
- data/lib/oci/bds/models/update_bds_instance_details.rb +186 -0
- data/lib/oci/bds/models/volume_attachment_detail.rb +168 -0
- data/lib/oci/bds/models/work_request.rb +312 -0
- data/lib/oci/bds/models/work_request_error.rb +173 -0
- data/lib/oci/bds/models/work_request_log_entry.rb +160 -0
- data/lib/oci/bds/models/work_request_resource.rb +219 -0
- data/lib/oci/bds/util.rb +3 -0
- data/lib/oci/budget/budget.rb +3 -1
- data/lib/oci/budget/budget_client.rb +33 -16
- data/lib/oci/budget/budget_client_composite_operations.rb +2 -1
- data/lib/oci/budget/models/alert_rule.rb +2 -1
- data/lib/oci/budget/models/alert_rule_summary.rb +3 -2
- data/lib/oci/budget/models/alert_type.rb +2 -1
- data/lib/oci/budget/models/budget.rb +54 -3
- data/lib/oci/budget/models/budget_summary.rb +54 -3
- data/lib/oci/budget/models/create_alert_rule_details.rb +3 -2
- data/lib/oci/budget/models/create_budget_details.rb +57 -3
- data/lib/oci/budget/models/lifecycle_state.rb +2 -1
- data/lib/oci/budget/models/reset_period.rb +2 -1
- data/lib/oci/budget/models/sort_by.rb +2 -1
- data/lib/oci/budget/models/sort_order.rb +2 -1
- data/lib/oci/budget/models/target_type.rb +11 -0
- data/lib/oci/budget/models/threshold_type.rb +2 -1
- data/lib/oci/budget/models/update_alert_rule_details.rb +3 -2
- data/lib/oci/budget/models/update_budget_details.rb +2 -1
- data/lib/oci/budget/util.rb +2 -1
- data/lib/oci/cims/cims.rb +63 -0
- data/lib/oci/cims/incident_client.rb +575 -0
- data/lib/oci/cims/incident_client_composite_operations.rb +25 -0
- data/lib/oci/cims/models/activity_item.rb +275 -0
- data/lib/oci/cims/models/availability_domain.rb +48 -0
- data/lib/oci/cims/models/category.rb +164 -0
- data/lib/oci/cims/models/classifier.rb +256 -0
- data/lib/oci/cims/models/contact.rb +219 -0
- data/lib/oci/cims/models/contact_list.rb +154 -0
- data/lib/oci/cims/models/create_category_details.rb +154 -0
- data/lib/oci/cims/models/create_incident.rb +223 -0
- data/lib/oci/cims/models/create_issue_type_details.rb +154 -0
- data/lib/oci/cims/models/create_item_details.rb +212 -0
- data/lib/oci/cims/models/create_limit_item_details.rb +234 -0
- data/lib/oci/cims/models/create_resource_details.rb +263 -0
- data/lib/oci/cims/models/create_sub_category_details.rb +154 -0
- data/lib/oci/cims/models/create_tech_support_item_details.rb +161 -0
- data/lib/oci/cims/models/create_ticket_details.rb +198 -0
- data/lib/oci/cims/models/error_code.rb +27 -0
- data/lib/oci/cims/models/incident.rb +258 -0
- data/lib/oci/cims/models/incident_resource_type.rb +198 -0
- data/lib/oci/cims/models/incident_summary.rb +248 -0
- data/lib/oci/cims/models/incident_type.rb +194 -0
- data/lib/oci/cims/models/issue_type.rb +164 -0
- data/lib/oci/cims/models/item.rb +227 -0
- data/lib/oci/cims/models/lifecycle_details.rb +13 -0
- data/lib/oci/cims/models/lifecycle_state.rb +11 -0
- data/lib/oci/cims/models/limit_item.rb +245 -0
- data/lib/oci/cims/models/problem_type.rb +13 -0
- data/lib/oci/cims/models/region.rb +38 -0
- data/lib/oci/cims/models/resource.rb +276 -0
- data/lib/oci/cims/models/scope.rb +13 -0
- data/lib/oci/cims/models/service_category.rb +270 -0
- data/lib/oci/cims/models/sort_by.rb +11 -0
- data/lib/oci/cims/models/sort_order.rb +11 -0
- data/lib/oci/cims/models/status.rb +160 -0
- data/lib/oci/cims/models/sub_category.rb +164 -0
- data/lib/oci/cims/models/tech_support_item.rb +165 -0
- data/lib/oci/cims/models/tenancy_information.rb +168 -0
- data/lib/oci/cims/models/ticket.rb +315 -0
- data/lib/oci/cims/models/unit.rb +12 -0
- data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → cims/models/update_activity_item_details.rb} +39 -38
- data/lib/oci/cims/models/update_incident.rb +150 -0
- data/lib/oci/cims/models/update_item_details.rb +166 -0
- data/lib/oci/cims/models/update_resource_details.rb +149 -0
- data/lib/oci/cims/models/update_ticket_details.rb +150 -0
- data/lib/oci/cims/models/validation_response.rb +154 -0
- data/lib/oci/cims/util.rb +3 -0
- data/lib/oci/config.rb +12 -1
- data/lib/oci/config_file_loader.rb +9 -1
- data/lib/oci/container_engine/container_engine.rb +13 -1
- data/lib/oci/container_engine/container_engine_client.rb +9 -6
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +2 -1
- data/lib/oci/container_engine/models/add_on_options.rb +2 -1
- data/lib/oci/container_engine/models/admission_controller_options.rb +156 -0
- data/lib/oci/container_engine/models/cluster.rb +17 -2
- data/lib/oci/container_engine/models/cluster_create_options.rb +20 -5
- data/lib/oci/container_engine/models/cluster_endpoints.rb +2 -1
- data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +2 -1
- data/lib/oci/container_engine/models/cluster_metadata.rb +2 -1
- data/lib/oci/container_engine/models/cluster_options.rb +2 -1
- data/lib/oci/container_engine/models/cluster_summary.rb +2 -1
- data/lib/oci/container_engine/models/create_cluster_details.rb +19 -2
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +8 -5
- data/lib/oci/container_engine/models/create_node_pool_details.rb +50 -8
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/key_value.rb +2 -1
- data/lib/oci/container_engine/models/kubernetes_network_config.rb +2 -1
- data/lib/oci/container_engine/models/node.rb +31 -2
- data/lib/oci/container_engine/models/node_error.rb +2 -1
- data/lib/oci/container_engine/models/node_pool.rb +38 -7
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +170 -0
- data/lib/oci/container_engine/models/node_pool_summary.rb +38 -7
- data/lib/oci/container_engine/models/node_source_details.rb +184 -0
- data/lib/oci/container_engine/models/node_source_option.rb +206 -0
- data/lib/oci/container_engine/models/node_source_type.rb +10 -0
- data/lib/oci/container_engine/models/node_source_via_image_details.rb +162 -0
- data/lib/oci/container_engine/models/node_source_via_image_option.rb +167 -0
- data/lib/oci/container_engine/models/sort_order.rb +2 -1
- data/lib/oci/container_engine/models/update_cluster_details.rb +15 -5
- data/lib/oci/container_engine/models/update_cluster_options_details.rb +154 -0
- data/lib/oci/container_engine/models/update_node_pool_details.rb +47 -20
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +171 -0
- data/lib/oci/container_engine/models/work_request.rb +2 -1
- data/lib/oci/container_engine/models/work_request_error.rb +2 -1
- data/lib/oci/container_engine/models/work_request_log_entry.rb +2 -1
- data/lib/oci/container_engine/models/work_request_operation_type.rb +2 -1
- data/lib/oci/container_engine/models/work_request_resource.rb +2 -1
- data/lib/oci/container_engine/models/work_request_status.rb +2 -1
- data/lib/oci/container_engine/models/work_request_summary.rb +2 -1
- data/lib/oci/container_engine/util.rb +2 -1
- data/lib/oci/core/blockstorage_client.rb +322 -28
- data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
- data/lib/oci/core/compute_client.rb +1093 -97
- data/lib/oci/core/compute_client_composite_operations.rb +121 -1
- data/lib/oci/core/compute_management_client.rb +537 -22
- data/lib/oci/core/compute_management_client_composite_operations.rb +129 -9
- data/lib/oci/core/core.rb +60 -1
- data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +153 -0
- data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/add_security_rule_details.rb +10 -5
- data/lib/oci/core/models/added_network_security_group_security_rules.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +2 -1
- data/lib/oci/core/models/app_catalog_listing_summary.rb +2 -1
- data/lib/oci/core/models/app_catalog_subscription.rb +2 -1
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +2 -1
- data/lib/oci/core/models/attach_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/attach_emulated_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_load_balancer_details.rb +4 -2
- data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_service_determined_volume_details.rb +7 -2
- data/lib/oci/core/models/attach_vnic_details.rb +3 -1
- data/lib/oci/core/models/attach_volume_details.rb +21 -2
- data/lib/oci/core/models/bgp_session_info.rb +2 -1
- data/lib/oci/core/models/boot_volume.rb +43 -3
- data/lib/oci/core/models/boot_volume_attachment.rb +2 -1
- data/lib/oci/core/models/boot_volume_backup.rb +51 -2
- data/lib/oci/core/models/boot_volume_kms_key.rb +4 -3
- data/lib/oci/core/models/boot_volume_source_details.rb +2 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/capture_console_history_details.rb +3 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_cluster_network_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cpe_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_drg_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_instance_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_instance_pool_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_network_security_group_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_public_ip_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_route_table_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_security_list_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_service_gateway_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_subnet_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_vcn_compartment_details.rb +2 -1
- data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +4 -3
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +4 -3
- data/lib/oci/core/models/cluster_network.rb +323 -0
- data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +187 -0
- data/lib/oci/core/models/cluster_network_summary.rb +305 -0
- data/lib/oci/core/models/compute_instance_details.rb +2 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +2 -1
- data/lib/oci/core/models/connect_remote_peering_connections_details.rb +2 -1
- data/lib/oci/core/models/console_history.rb +2 -1
- data/lib/oci/core/models/copy_boot_volume_backup_details.rb +195 -0
- data/lib/oci/core/models/copy_volume_backup_details.rb +29 -5
- data/lib/oci/core/models/cpe.rb +31 -2
- data/lib/oci/core/models/cpe_device_config_answer.rb +166 -0
- data/lib/oci/core/models/cpe_device_config_question.rb +181 -0
- data/lib/oci/core/models/cpe_device_info.rb +164 -0
- data/lib/oci/core/models/cpe_device_shape_detail.rb +204 -0
- data/lib/oci/core/models/cpe_device_shape_summary.rb +168 -0
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +8 -7
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/create_boot_volume_details.rb +29 -3
- data/lib/oci/core/models/create_cluster_network_details.rb +239 -0
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +221 -0
- data/lib/oci/core/models/create_cpe_details.rb +32 -5
- data/lib/oci/core/models/create_cross_connect_details.rb +39 -2
- data/lib/oci/core/models/create_cross_connect_group_details.rb +42 -5
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +265 -0
- data/lib/oci/core/models/create_dhcp_details.rb +2 -1
- data/lib/oci/core/models/create_drg_attachment_details.rb +6 -3
- data/lib/oci/core/models/create_drg_details.rb +2 -1
- data/lib/oci/core/models/create_image_details.rb +3 -2
- data/lib/oci/core/models/create_instance_configuration_base.rb +261 -0
- data/lib/oci/core/models/create_instance_configuration_details.rb +17 -58
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +181 -0
- data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -1
- data/lib/oci/core/models/create_instance_pool_details.rb +10 -4
- data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +34 -3
- data/lib/oci/core/models/create_internet_gateway_details.rb +2 -1
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +6 -1
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +31 -2
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +2 -1
- data/lib/oci/core/models/create_ipv6_details.rb +250 -0
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +3 -2
- data/lib/oci/core/models/create_nat_gateway_details.rb +2 -1
- data/lib/oci/core/models/create_network_security_group_details.rb +2 -1
- data/lib/oci/core/models/create_private_ip_details.rb +2 -1
- data/lib/oci/core/models/create_public_ip_details.rb +2 -1
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +42 -5
- data/lib/oci/core/models/create_route_table_details.rb +2 -1
- data/lib/oci/core/models/create_security_list_details.rb +2 -1
- data/lib/oci/core/models/create_service_gateway_details.rb +25 -2
- data/lib/oci/core/models/create_subnet_details.rb +26 -2
- data/lib/oci/core/models/create_vcn_details.rb +58 -5
- data/lib/oci/core/models/create_virtual_circuit_details.rb +60 -4
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +3 -2
- data/lib/oci/core/models/create_vnic_details.rb +2 -2
- data/lib/oci/core/models/create_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +4 -3
- data/lib/oci/core/models/create_volume_backup_policy_details.rb +238 -0
- data/lib/oci/core/models/create_volume_details.rb +31 -3
- data/lib/oci/core/models/create_volume_group_backup_details.rb +5 -2
- data/lib/oci/core/models/create_volume_group_details.rb +3 -2
- data/lib/oci/core/models/cross_connect.rb +39 -2
- data/lib/oci/core/models/cross_connect_group.rb +39 -2
- data/lib/oci/core/models/cross_connect_location.rb +2 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +58 -2
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +2 -1
- data/lib/oci/core/models/cross_connect_status.rb +2 -1
- data/lib/oci/core/models/dedicated_vm_host.rb +362 -0
- data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +171 -0
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +216 -0
- data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +172 -0
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +326 -0
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/detach_load_balancer_details.rb +2 -1
- data/lib/oci/core/models/device.rb +2 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +2 -1
- data/lib/oci/core/models/dhcp_option.rb +2 -1
- data/lib/oci/core/models/dhcp_options.rb +2 -1
- data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -1
- data/lib/oci/core/models/drg.rb +2 -1
- data/lib/oci/core/models/drg_attachment.rb +8 -4
- data/lib/oci/core/models/drg_redundancy_status.rb +188 -0
- data/lib/oci/core/models/egress_security_rule.rb +29 -12
- data/lib/oci/core/models/emulated_volume_attachment.rb +7 -2
- data/lib/oci/core/models/export_image_details.rb +2 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +2 -1
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service_key.rb +3 -2
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +2 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +2 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +7 -2
- data/lib/oci/core/models/icmp_options.rb +2 -1
- data/lib/oci/core/models/image.rb +4 -1
- data/lib/oci/core/models/image_ocpu_constraints.rb +160 -0
- data/lib/oci/core/models/image_shape_compatibility_entry.rb +177 -0
- data/lib/oci/core/models/image_shape_compatibility_summary.rb +177 -0
- data/lib/oci/core/models/image_source_details.rb +2 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +2 -1
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/ingress_security_rule.rb +29 -12
- data/lib/oci/core/models/instance.rb +48 -2
- data/lib/oci/core/models/instance_agent_config.rb +23 -5
- data/lib/oci/core/models/instance_agent_features.rb +21 -5
- data/lib/oci/core/models/instance_configuration.rb +12 -8
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_block_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +39 -2
- data/lib/oci/core/models/instance_configuration_create_volume_details.rb +44 -2
- data/lib/oci/core/models/instance_configuration_instance_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_agent_config_details.rb +176 -0
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +151 -5
- data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +158 -0
- data/lib/oci/core/models/instance_configuration_launch_options.rb +331 -0
- data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_summary.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_console_connection.rb +3 -2
- data/lib/oci/core/models/instance_credentials.rb +2 -1
- data/lib/oci/core/models/instance_pool.rb +10 -5
- data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +2 -1
- data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +7 -4
- data/lib/oci/core/models/instance_pool_placement_configuration.rb +34 -3
- data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +5 -4
- data/lib/oci/core/models/instance_pool_summary.rb +2 -1
- data/lib/oci/core/models/instance_shape_config.rb +287 -0
- data/lib/oci/core/models/instance_source_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +3 -2
- data/lib/oci/core/models/instance_summary.rb +2 -1
- data/lib/oci/core/models/internet_gateway.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection.rb +6 -1
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +2 -1
- data/lib/oci/core/models/ip_sec_connection_tunnel.rb +37 -2
- data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +2 -1
- data/lib/oci/core/models/ipv6.rb +377 -0
- data/lib/oci/core/models/launch_instance_agent_config_details.rb +24 -5
- data/lib/oci/core/models/launch_instance_details.rb +44 -2
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +158 -0
- data/lib/oci/core/models/launch_options.rb +8 -6
- data/lib/oci/core/models/letter_of_authority.rb +2 -1
- data/lib/oci/core/models/local_peering_gateway.rb +6 -4
- data/lib/oci/core/models/nat_gateway.rb +2 -1
- data/lib/oci/core/models/network_security_group.rb +2 -1
- data/lib/oci/core/models/network_security_group_vnic.rb +2 -1
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +7 -2
- data/lib/oci/core/models/peer_region_for_remote_peering.rb +2 -1
- data/lib/oci/core/models/port_range.rb +2 -1
- data/lib/oci/core/models/private_ip.rb +3 -1
- data/lib/oci/core/models/public_ip.rb +2 -1
- data/lib/oci/core/models/remote_peering_connection.rb +39 -2
- data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/route_rule.rb +22 -6
- data/lib/oci/core/models/route_table.rb +2 -1
- data/lib/oci/core/models/security_list.rb +2 -2
- data/lib/oci/core/models/security_rule.rb +9 -4
- data/lib/oci/core/models/service.rb +2 -1
- data/lib/oci/core/models/service_gateway.rb +20 -2
- data/lib/oci/core/models/service_id_request_details.rb +2 -1
- data/lib/oci/core/models/service_id_response_details.rb +2 -1
- data/lib/oci/core/models/shape.rb +203 -5
- data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +177 -0
- data/lib/oci/core/models/shape_memory_options.rb +189 -0
- data/lib/oci/core/models/shape_networking_bandwidth_options.rb +186 -0
- data/lib/oci/core/models/shape_ocpu_options.rb +165 -0
- data/lib/oci/core/models/subnet.rb +60 -3
- data/lib/oci/core/models/tcp_options.rb +2 -1
- data/lib/oci/core/models/tunnel_config.rb +2 -1
- data/lib/oci/core/models/tunnel_cpe_device_config.rb +164 -0
- data/lib/oci/core/models/tunnel_status.rb +2 -1
- data/lib/oci/core/models/udp_options.rb +2 -1
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/update_boot_volume_details.rb +29 -5
- data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -4
- data/lib/oci/core/models/update_cluster_network_details.rb +192 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -1
- data/lib/oci/core/models/update_cpe_details.rb +31 -5
- data/lib/oci/core/models/update_cross_connect_details.rb +39 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +42 -5
- data/lib/oci/core/models/update_dedicated_vm_host_details.rb +195 -0
- data/lib/oci/core/models/update_dhcp_details.rb +2 -1
- data/lib/oci/core/models/update_drg_attachment_details.rb +8 -4
- data/lib/oci/core/models/update_drg_details.rb +2 -1
- data/lib/oci/core/models/update_image_details.rb +2 -1
- data/lib/oci/core/models/update_instance_agent_config_details.rb +23 -5
- data/lib/oci/core/models/update_instance_configuration_details.rb +2 -1
- data/lib/oci/core/models/update_instance_details.rb +31 -34
- data/lib/oci/core/models/update_instance_pool_details.rb +8 -3
- data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +32 -2
- data/lib/oci/core/models/update_instance_shape_config_details.rb +159 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +6 -1
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +31 -2
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -1
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +2 -1
- data/lib/oci/core/models/update_ipv6_details.rb +230 -0
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +6 -4
- data/lib/oci/core/models/update_nat_gateway_details.rb +2 -1
- data/lib/oci/core/models/update_network_security_group_details.rb +4 -1
- data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +2 -1
- data/lib/oci/core/models/update_private_ip_details.rb +2 -1
- data/lib/oci/core/models/update_public_ip_details.rb +2 -1
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +42 -5
- data/lib/oci/core/models/update_route_table_details.rb +2 -1
- data/lib/oci/core/models/update_security_list_details.rb +2 -1
- data/lib/oci/core/models/update_security_rule_details.rb +10 -5
- data/lib/oci/core/models/update_service_gateway_details.rb +20 -2
- data/lib/oci/core/models/update_subnet_details.rb +2 -1
- data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +155 -0
- data/lib/oci/core/models/update_vcn_details.rb +2 -1
- data/lib/oci/core/models/update_virtual_circuit_details.rb +58 -3
- data/lib/oci/core/models/update_vnic_details.rb +7 -4
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -2
- data/lib/oci/core/models/update_volume_backup_policy_details.rb +224 -0
- data/lib/oci/core/models/update_volume_details.rb +28 -2
- data/lib/oci/core/models/update_volume_group_backup_details.rb +4 -2
- data/lib/oci/core/models/update_volume_group_details.rb +4 -2
- data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -4
- data/lib/oci/core/models/updated_network_security_group_security_rules.rb +2 -1
- data/lib/oci/core/models/vcn.rb +46 -2
- data/lib/oci/core/models/virtual_circuit.rb +58 -4
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +2 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +2 -1
- data/lib/oci/core/models/vnic.rb +2 -1
- data/lib/oci/core/models/vnic_attachment.rb +3 -2
- data/lib/oci/core/models/volume.rb +45 -3
- data/lib/oci/core/models/volume_attachment.rb +17 -2
- data/lib/oci/core/models/volume_backup.rb +37 -2
- data/lib/oci/core/models/volume_backup_policy.rb +71 -5
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
- data/lib/oci/core/models/volume_backup_schedule.rb +200 -10
- data/lib/oci/core/models/volume_group.rb +3 -2
- data/lib/oci/core/models/volume_group_backup.rb +2 -1
- data/lib/oci/core/models/volume_group_source_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +2 -1
- data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +2 -1
- data/lib/oci/core/models/volume_kms_key.rb +4 -3
- data/lib/oci/core/models/volume_source_details.rb +2 -1
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +2 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +2 -1
- data/lib/oci/core/util.rb +2 -1
- data/lib/oci/core/virtual_network_client.rb +1879 -44
- data/lib/oci/core/virtual_network_client_composite_operations.rb +121 -1
- data/lib/oci/data_catalog/data_catalog.rb +136 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +7576 -0
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +173 -0
- data/lib/oci/data_catalog/models/attribute.rb +404 -0
- data/lib/oci/data_catalog/models/attribute_collection.rb +151 -0
- data/lib/oci/data_catalog/models/attribute_summary.rb +282 -0
- data/lib/oci/data_catalog/models/attribute_tag.rb +270 -0
- data/lib/oci/data_catalog/models/attribute_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/attribute_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/base_permissions_summary.rb +154 -0
- data/lib/oci/data_catalog/models/base_tag.rb +256 -0
- data/lib/oci/data_catalog/models/base_tag_summary.rb +256 -0
- data/lib/oci/data_catalog/models/catalog.rb +312 -0
- data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/catalog_summary.rb +280 -0
- data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/connection.rb +344 -0
- data/lib/oci/data_catalog/models/connection_alias_summary.rb +171 -0
- data/lib/oci/data_catalog/models/connection_collection.rb +151 -0
- data/lib/oci/data_catalog/models/connection_result.rb +11 -0
- data/lib/oci/data_catalog/models/connection_summary.rb +272 -0
- data/lib/oci/data_catalog/models/create_attribute_details.rb +284 -0
- data/lib/oci/data_catalog/models/create_catalog_details.rb +200 -0
- data/lib/oci/data_catalog/models/create_connection_details.rb +238 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +198 -0
- data/lib/oci/data_catalog/models/create_entity_details.rb +276 -0
- data/lib/oci/data_catalog/models/create_folder_details.rb +240 -0
- data/lib/oci/data_catalog/models/create_glossary_details.rb +190 -0
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +272 -0
- data/lib/oci/data_catalog/models/create_job_details.rb +241 -0
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +343 -0
- data/lib/oci/data_catalog/models/create_tag_details.rb +166 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +220 -0
- data/lib/oci/data_catalog/models/create_term_relationship_details.rb +180 -0
- data/lib/oci/data_catalog/models/data_asset.rb +320 -0
- data/lib/oci/data_catalog/models/data_asset_collection.rb +151 -0
- data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/data_asset_summary.rb +262 -0
- data/lib/oci/data_catalog/models/data_asset_tag.rb +270 -0
- data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/entity.rb +429 -0
- data/lib/oci/data_catalog/models/entity_collection.rb +151 -0
- data/lib/oci/data_catalog/models/entity_summary.rb +300 -0
- data/lib/oci/data_catalog/models/entity_tag.rb +270 -0
- data/lib/oci/data_catalog/models/entity_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/entity_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/folder.rb +372 -0
- data/lib/oci/data_catalog/models/folder_collection.rb +151 -0
- data/lib/oci/data_catalog/models/folder_summary.rb +287 -0
- data/lib/oci/data_catalog/models/folder_tag.rb +270 -0
- data/lib/oci/data_catalog/models/folder_tag_collection.rb +151 -0
- data/lib/oci/data_catalog/models/folder_tag_summary.rb +270 -0
- data/lib/oci/data_catalog/models/glossary.rb +305 -0
- data/lib/oci/data_catalog/models/glossary_collection.rb +151 -0
- data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/glossary_summary.rb +252 -0
- data/lib/oci/data_catalog/models/glossary_tree_element.rb +312 -0
- data/lib/oci/data_catalog/models/harvest_status.rb +13 -0
- data/lib/oci/data_catalog/models/import_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/import_glossary_details.rb +154 -0
- data/lib/oci/data_catalog/models/job.rb +421 -0
- data/lib/oci/data_catalog/models/job_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_definition.rb +392 -0
- data/lib/oci/data_catalog/models/job_definition_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +168 -0
- data/lib/oci/data_catalog/models/job_definition_scope.rb +230 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +263 -0
- data/lib/oci/data_catalog/models/job_execution.rb +421 -0
- data/lib/oci/data_catalog/models/job_execution_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_execution_state.rb +15 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +276 -0
- data/lib/oci/data_catalog/models/job_lifecycle_state.rb +12 -0
- data/lib/oci/data_catalog/models/job_log.rb +259 -0
- data/lib/oci/data_catalog/models/job_log_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_log_summary.rb +217 -0
- data/lib/oci/data_catalog/models/job_metric.rb +337 -0
- data/lib/oci/data_catalog/models/job_metric_collection.rb +151 -0
- data/lib/oci/data_catalog/models/job_metric_summary.rb +290 -0
- data/lib/oci/data_catalog/models/job_schedule_type.rb +11 -0
- data/lib/oci/data_catalog/models/job_summary.rb +387 -0
- data/lib/oci/data_catalog/models/job_type.rb +22 -0
- data/lib/oci/data_catalog/models/lifecycle_state.rb +17 -0
- data/lib/oci/data_catalog/models/parse_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/property_definition.rb +188 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +151 -0
- data/lib/oci/data_catalog/models/search_result.rb +491 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +162 -0
- data/lib/oci/data_catalog/models/search_tag_summary.rb +164 -0
- data/lib/oci/data_catalog/models/search_term_summary.rb +223 -0
- data/lib/oci/data_catalog/models/term.rb +368 -0
- data/lib/oci/data_catalog/models/term_associated_object.rb +170 -0
- data/lib/oci/data_catalog/models/term_collection.rb +151 -0
- data/lib/oci/data_catalog/models/term_relationship.rb +301 -0
- data/lib/oci/data_catalog/models/term_relationship_collection.rb +151 -0
- data/lib/oci/data_catalog/models/term_relationship_summary.rb +301 -0
- data/lib/oci/data_catalog/models/term_summary.rb +301 -0
- data/lib/oci/data_catalog/models/term_workflow_status.rb +13 -0
- data/lib/oci/data_catalog/models/type.rb +309 -0
- data/lib/oci/data_catalog/models/type_collection.rb +151 -0
- data/lib/oci/data_catalog/models/type_summary.rb +224 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +280 -0
- data/lib/oci/data_catalog/models/update_catalog_details.rb +186 -0
- data/lib/oci/data_catalog/models/update_connection_details.rb +220 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +181 -0
- data/lib/oci/data_catalog/models/update_entity_details.rb +272 -0
- data/lib/oci/data_catalog/models/update_folder_details.rb +240 -0
- data/lib/oci/data_catalog/models/update_glossary_details.rb +190 -0
- data/lib/oci/data_catalog/models/update_job_definition_details.rb +253 -0
- data/lib/oci/data_catalog/models/update_job_details.rb +225 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +204 -0
- data/lib/oci/data_catalog/models/update_term_relationship_details.rb +166 -0
- data/lib/oci/data_catalog/models/upload_credentials_details.rb +167 -0
- data/lib/oci/data_catalog/models/validate_connection_details.rb +167 -0
- data/lib/oci/data_catalog/models/validate_connection_result.rb +160 -0
- data/lib/oci/data_catalog/models/work_request.rb +308 -0
- data/lib/oci/data_catalog/models/work_request_error.rb +173 -0
- data/lib/oci/data_catalog/models/work_request_log.rb +160 -0
- data/lib/oci/data_catalog/models/work_request_resource.rb +219 -0
- data/lib/oci/data_catalog/util.rb +3 -0
- data/lib/oci/data_flow/data_flow.rb +35 -0
- data/lib/oci/data_flow/data_flow_client.rb +1115 -0
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +271 -0
- data/lib/oci/data_flow/models/application.rb +528 -0
- data/lib/oci/data_flow/models/application_language.rb +13 -0
- data/lib/oci/data_flow/models/application_lifecycle_state.rb +12 -0
- data/lib/oci/data_flow/models/application_parameter.rb +166 -0
- data/lib/oci/data_flow/models/application_summary.rb +346 -0
- data/lib/oci/data_flow/models/change_application_compartment_details.rb +156 -0
- data/lib/oci/data_flow/models/change_run_compartment_details.rb +156 -0
- data/lib/oci/data_flow/models/create_application_details.rb +412 -0
- data/lib/oci/data_flow/models/create_run_details.rb +359 -0
- data/lib/oci/data_flow/models/run.rb +626 -0
- data/lib/oci/data_flow/models/run_lifecycle_state.rb +15 -0
- data/lib/oci/data_flow/models/run_log_summary.rb +260 -0
- data/lib/oci/data_flow/models/run_summary.rb +455 -0
- data/lib/oci/data_flow/models/update_application_details.rb +397 -0
- data/lib/oci/data_flow/models/update_run_details.rb +174 -0
- data/lib/oci/data_flow/util.rb +3 -0
- data/lib/oci/data_safe/data_safe.rb +34 -0
- data/lib/oci/data_safe/data_safe_client.rb +831 -0
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +272 -0
- data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +269 -0
- data/lib/oci/data_safe/models/data_safe_configuration.rb +265 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +361 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +283 -0
- data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +188 -0
- data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
- data/lib/oci/data_safe/models/service_list.rb +21 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
- data/lib/oci/data_safe/models/work_request.rb +302 -0
- data/lib/oci/data_safe/models/work_request_error.rb +173 -0
- data/lib/oci/data_safe/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_safe/models/work_request_resource.rb +218 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +302 -0
- data/lib/oci/data_safe/util.rb +3 -0
- data/lib/oci/data_science/data_science.rb +50 -0
- data/lib/oci/data_science/data_science_client.rb +2358 -0
- data/lib/oci/data_science/data_science_client_composite_operations.rb +588 -0
- data/lib/oci/data_science/models/change_model_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/change_project_compartment_details.rb +155 -0
- data/lib/oci/data_science/models/create_model_details.rb +226 -0
- data/lib/oci/data_science/models/create_model_provenance_details.rb +211 -0
- data/lib/oci/data_science/models/create_notebook_session_details.rb +231 -0
- data/lib/oci/data_science/models/create_project_details.rb +211 -0
- data/lib/oci/data_science/models/model.rb +300 -0
- data/lib/oci/data_science/models/model_lifecycle_state.rb +13 -0
- data/lib/oci/data_science/models/model_provenance.rb +211 -0
- data/lib/oci/data_science/models/model_summary.rb +290 -0
- data/lib/oci/data_science/models/notebook_session.rb +337 -0
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +181 -0
- data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +16 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +182 -0
- data/lib/oci/data_science/models/notebook_session_summary.rb +322 -0
- data/lib/oci/data_science/models/project.rb +286 -0
- data/lib/oci/data_science/models/project_lifecycle_state.rb +12 -0
- data/lib/oci/data_science/models/project_summary.rb +285 -0
- data/lib/oci/data_science/models/update_model_details.rb +199 -0
- data/lib/oci/data_science/models/update_model_provenance_details.rb +211 -0
- data/lib/oci/data_science/models/update_notebook_session_details.rb +203 -0
- data/lib/oci/data_science/models/update_project_details.rb +196 -0
- data/lib/oci/data_science/models/work_request.rb +301 -0
- data/lib/oci/data_science/models/work_request_error.rb +171 -0
- data/lib/oci/data_science/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_science/models/work_request_operation_type.rb +15 -0
- data/lib/oci/data_science/models/work_request_resource.rb +215 -0
- data/lib/oci/data_science/models/work_request_status.rb +15 -0
- data/lib/oci/data_science/models/work_request_summary.rb +301 -0
- data/lib/oci/data_science/util.rb +3 -0
- data/lib/oci/database/database.rb +54 -3
- data/lib/oci/database/database_client.rb +4952 -1574
- data/lib/oci/database/database_client_composite_operations.rb +729 -49
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +154 -0
- data/lib/oci/database/models/associated_database_details.rb +164 -0
- data/lib/oci/database/models/autonomous_container_database.rb +32 -6
- data/lib/oci/database/models/autonomous_container_database_backup_config.rb +2 -1
- data/lib/oci/database/models/autonomous_container_database_summary.rb +32 -6
- data/lib/oci/database/models/autonomous_data_warehouse.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +165 -0
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +3 -3
- data/lib/oci/database/models/autonomous_database.rb +250 -15
- data/lib/oci/database/models/autonomous_database_backup.rb +22 -5
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +22 -5
- data/lib/oci/database/models/autonomous_database_connection_strings.rb +2 -1
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +21 -6
- data/lib/oci/database/models/autonomous_database_console_token_details.rb +164 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +250 -15
- data/lib/oci/database/models/autonomous_database_wallet.rb +189 -0
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +8 -5
- data/lib/oci/database/models/autonomous_db_version_summary.rb +228 -0
- data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +20 -4
- data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
- data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +20 -4
- data/lib/oci/database/models/backup.rb +26 -5
- data/lib/oci/database/models/backup_destination.rb +360 -0
- data/lib/oci/database/models/backup_destination_details.rb +210 -0
- data/lib/oci/database/models/backup_destination_summary.rb +363 -0
- data/lib/oci/database/models/backup_summary.rb +26 -5
- data/lib/oci/database/models/change_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/complete_external_backup_job_details.rb +2 -1
- data/lib/oci/database/models/console_connection.rb +236 -0
- data/lib/oci/database/models/console_connection_summary.rb +241 -0
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +17 -5
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +2 -3
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +128 -13
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +28 -3
- data/lib/oci/database/models/create_autonomous_database_details.rb +27 -2
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +270 -0
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +280 -0
- data/lib/oci/database/models/create_backup_destination_details.rb +242 -0
- data/lib/oci/database/models/create_backup_details.rb +2 -1
- data/lib/oci/database/models/create_console_connection_details.rb +156 -0
- data/lib/oci/database/models/create_data_guard_association_details.rb +3 -2
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +4 -3
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +23 -9
- data/lib/oci/database/models/create_database_base.rb +216 -0
- data/lib/oci/database/models/create_database_details.rb +18 -5
- data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
- data/lib/oci/database/models/create_database_from_backup.rb +169 -0
- data/lib/oci/database/models/create_database_from_backup_details.rb +17 -2
- data/lib/oci/database/models/{create_db_home_with_db_system_id_base.rb → create_db_home_base.rb} +12 -21
- data/lib/oci/database/models/create_db_home_details.rb +4 -3
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +4 -3
- data/lib/oci/database/models/create_db_home_from_database_details.rb +167 -0
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +22 -11
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +22 -10
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +177 -0
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +190 -0
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +351 -0
- data/lib/oci/database/models/create_external_backup_job_details.rb +2 -1
- data/lib/oci/database/models/create_new_database_details.rb +169 -0
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +179 -0
- data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +192 -0
- data/lib/oci/database/models/create_vm_cluster_details.rb +387 -0
- data/lib/oci/database/models/data_guard_association.rb +3 -2
- data/lib/oci/database/models/data_guard_association_summary.rb +3 -2
- data/lib/oci/database/models/database.rb +46 -5
- data/lib/oci/database/models/database_connection_strings.rb +2 -1
- data/lib/oci/database/models/database_summary.rb +46 -5
- data/lib/oci/database/models/day_of_week.rb +2 -1
- data/lib/oci/database/models/db_backup_config.rb +67 -5
- data/lib/oci/database/models/db_home.rb +49 -6
- data/lib/oci/database/models/db_home_summary.rb +52 -9
- data/lib/oci/database/models/db_iorm_config.rb +2 -1
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +2 -1
- data/lib/oci/database/models/db_node.rb +80 -5
- data/lib/oci/database/models/db_node_summary.rb +80 -5
- data/lib/oci/database/models/db_system.rb +61 -9
- data/lib/oci/database/models/db_system_options.rb +179 -0
- data/lib/oci/database/models/db_system_shape_summary.rb +115 -2
- data/lib/oci/database/models/db_system_summary.rb +61 -9
- data/lib/oci/database/models/db_version_summary.rb +20 -5
- data/lib/oci/database/models/exadata_infrastructure.rb +535 -0
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +538 -0
- data/lib/oci/database/models/exadata_iorm_config.rb +2 -1
- data/lib/oci/database/models/exadata_iorm_config_update_details.rb +2 -1
- data/lib/oci/database/models/external_backup_job.rb +2 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +2 -1
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +33 -2
- data/lib/oci/database/models/generate_recommended_network_details.rb +233 -0
- data/lib/oci/database/models/gi_version_summary.rb +153 -0
- data/lib/oci/database/models/info_for_network_gen_details.rb +232 -0
- data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +20 -4
- data/lib/oci/database/models/launch_db_system_base.rb +27 -12
- data/lib/oci/database/models/launch_db_system_details.rb +23 -5
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +7 -2
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +340 -0
- data/lib/oci/database/models/maintenance_run.rb +6 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +6 -1
- data/lib/oci/database/models/maintenance_window.rb +23 -6
- data/lib/oci/database/models/month.rb +2 -1
- data/lib/oci/database/models/node_details.rb +184 -0
- data/lib/oci/database/models/ocp_us.rb +182 -0
- data/lib/oci/database/models/patch.rb +2 -1
- data/lib/oci/database/models/patch_details.rb +3 -2
- data/lib/oci/database/models/patch_history_entry.rb +2 -1
- data/lib/oci/database/models/patch_history_entry_summary.rb +2 -1
- data/lib/oci/database/models/patch_summary.rb +2 -1
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +2 -1
- data/lib/oci/database/models/restore_autonomous_database_details.rb +2 -1
- data/lib/oci/database/models/restore_database_details.rb +2 -1
- data/lib/oci/database/models/scan_details.rb +171 -0
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -1
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +16 -4
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +2 -3
- data/lib/oci/database/models/update_autonomous_database_details.rb +68 -14
- data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +157 -0
- data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +20 -4
- data/lib/oci/database/models/update_backup_destination_details.rb +219 -0
- data/lib/oci/database/models/update_database_details.rb +17 -4
- data/lib/oci/database/models/update_db_home_details.rb +3 -2
- data/lib/oci/database/models/update_db_system_details.rb +65 -12
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +308 -0
- data/lib/oci/database/models/update_maintenance_run_details.rb +20 -5
- data/lib/oci/database/models/update_vm_cluster_details.rb +281 -0
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +219 -0
- data/lib/oci/database/models/vm_cluster.rb +492 -0
- data/lib/oci/database/models/vm_cluster_network.rb +351 -0
- data/lib/oci/database/models/vm_cluster_network_details.rb +247 -0
- data/lib/oci/database/models/vm_cluster_network_summary.rb +354 -0
- data/lib/oci/database/models/vm_cluster_summary.rb +495 -0
- data/lib/oci/database/models/vm_network_details.rb +232 -0
- data/lib/oci/database/models/workload_type.rb +161 -0
- data/lib/oci/database/util.rb +2 -1
- data/lib/oci/dns/dns.rb +13 -1
- data/lib/oci/dns/dns_client.rb +810 -105
- data/lib/oci/dns/dns_client_composite_operations.rb +122 -2
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +156 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +156 -0
- data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +180 -0
- data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +2 -1
- data/lib/oci/dns/models/create_steering_policy_details.rb +2 -1
- data/lib/oci/dns/models/create_tsig_key_details.rb +229 -0
- data/lib/oci/dns/models/create_zone_base_details.rb +253 -0
- data/lib/oci/dns/models/create_zone_details.rb +20 -57
- data/lib/oci/dns/models/dynect_migration_details.rb +193 -0
- data/lib/oci/dns/models/external_master.rb +23 -5
- data/lib/oci/dns/models/migration_replacement.rb +188 -0
- data/lib/oci/dns/models/nameserver.rb +2 -1
- data/lib/oci/dns/models/patch_domain_records_details.rb +2 -1
- data/lib/oci/dns/models/patch_rr_set_details.rb +2 -1
- data/lib/oci/dns/models/patch_zone_records_details.rb +2 -1
- data/lib/oci/dns/models/record.rb +2 -1
- data/lib/oci/dns/models/record_collection.rb +2 -1
- data/lib/oci/dns/models/record_details.rb +2 -1
- data/lib/oci/dns/models/record_operation.rb +2 -1
- data/lib/oci/dns/models/rr_set.rb +2 -1
- data/lib/oci/dns/models/sort_order.rb +2 -1
- data/lib/oci/dns/models/steering_policy.rb +2 -1
- data/lib/oci/dns/models/steering_policy_answer.rb +2 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +2 -1
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_health_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_health_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_limit_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +2 -1
- data/lib/oci/dns/models/steering_policy_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_summary.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule.rb +2 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +2 -1
- data/lib/oci/dns/models/tsig.rb +2 -1
- data/lib/oci/dns/models/tsig_key.rb +321 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +291 -0
- data/lib/oci/dns/models/update_domain_records_details.rb +2 -1
- data/lib/oci/dns/models/update_rr_set_details.rb +2 -1
- data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +2 -1
- data/lib/oci/dns/models/update_steering_policy_details.rb +2 -1
- data/lib/oci/dns/models/update_tsig_key_details.rb +181 -0
- data/lib/oci/dns/models/update_zone_details.rb +2 -1
- data/lib/oci/dns/models/update_zone_records_details.rb +2 -1
- data/lib/oci/dns/models/zone.rb +2 -1
- data/lib/oci/dns/models/zone_summary.rb +2 -1
- data/lib/oci/dns/util.rb +2 -1
- data/lib/oci/dts/appliance_export_job_client.rb +494 -0
- data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
- data/lib/oci/dts/dts.rb +67 -0
- data/lib/oci/dts/models/appliance_export_job.rb +551 -0
- data/lib/oci/dts/models/appliance_export_job_summary.rb +276 -0
- data/lib/oci/dts/models/attach_devices_details.rb +154 -0
- data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +155 -0
- data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +155 -0
- data/lib/oci/dts/models/create_appliance_export_job_details.rb +270 -0
- data/lib/oci/dts/models/create_transfer_appliance_details.rb +153 -0
- data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +228 -0
- data/lib/oci/dts/models/create_transfer_device_details.rb +166 -0
- data/lib/oci/dts/models/create_transfer_job_details.rb +243 -0
- data/lib/oci/dts/models/create_transfer_package_details.rb +179 -0
- data/lib/oci/dts/models/detach_devices_details.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_appliances.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_devices.rb +154 -0
- data/lib/oci/dts/models/multiple_transfer_packages.rb +154 -0
- data/lib/oci/dts/models/new_transfer_device.rb +247 -0
- data/lib/oci/dts/models/shipping_address.rb +264 -0
- data/lib/oci/dts/models/shipping_vendors.rb +150 -0
- data/lib/oci/dts/models/transfer_appliance.rb +370 -0
- data/lib/oci/dts/models/transfer_appliance_certificate.rb +149 -0
- data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +153 -0
- data/lib/oci/dts/models/transfer_appliance_entitlement.rb +314 -0
- data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +266 -0
- data/lib/oci/dts/models/transfer_appliance_public_key.rb +153 -0
- data/lib/oci/dts/models/transfer_appliance_summary.rb +226 -0
- data/lib/oci/dts/models/transfer_device.rb +269 -0
- data/lib/oci/dts/models/transfer_device_summary.rb +255 -0
- data/lib/oci/dts/models/transfer_job.rb +357 -0
- data/lib/oci/dts/models/transfer_job_summary.rb +301 -0
- data/lib/oci/dts/models/transfer_package.rb +282 -0
- data/lib/oci/dts/models/transfer_package_summary.rb +202 -0
- data/lib/oci/dts/models/update_appliance_export_job_details.rb +396 -0
- data/lib/oci/dts/models/update_transfer_appliance_details.rb +182 -0
- data/lib/oci/dts/models/update_transfer_device_details.rb +167 -0
- data/lib/oci/dts/models/update_transfer_job_details.rb +242 -0
- data/lib/oci/dts/models/update_transfer_package_details.rb +205 -0
- data/lib/oci/dts/shipping_vendors_client.rb +164 -0
- data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +25 -0
- data/lib/oci/dts/transfer_appliance_client.rb +568 -0
- data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +105 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +298 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +64 -0
- data/lib/oci/dts/transfer_device_client.rb +401 -0
- data/lib/oci/dts/transfer_device_client_composite_operations.rb +66 -0
- data/lib/oci/dts/transfer_job_client.rb +485 -0
- data/lib/oci/dts/transfer_job_client_composite_operations.rb +144 -0
- data/lib/oci/dts/transfer_package_client.rb +514 -0
- data/lib/oci/dts/transfer_package_client_composite_operations.rb +105 -0
- data/lib/oci/dts/util.rb +3 -0
- data/lib/oci/email/email.rb +2 -1
- data/lib/oci/email/email_client.rb +4 -5
- data/lib/oci/email/email_client_composite_operations.rb +2 -1
- data/lib/oci/email/models/change_sender_compartment_details.rb +2 -1
- data/lib/oci/email/models/create_sender_details.rb +2 -1
- data/lib/oci/email/models/create_suppression_details.rb +2 -1
- data/lib/oci/email/models/sender.rb +2 -1
- data/lib/oci/email/models/sender_summary.rb +2 -1
- data/lib/oci/email/models/suppression.rb +2 -1
- data/lib/oci/email/models/suppression_summary.rb +2 -1
- data/lib/oci/email/models/update_sender_details.rb +2 -1
- data/lib/oci/email/util.rb +2 -1
- data/lib/oci/errors.rb +2 -1
- data/lib/oci/events/events.rb +35 -0
- data/lib/oci/events/events_client.rb +536 -0
- data/lib/oci/events/events_client_composite_operations.rb +146 -0
- data/lib/oci/events/models/action.rb +295 -0
- data/lib/oci/events/models/action_details.rb +223 -0
- data/lib/oci/events/models/action_details_list.rb +151 -0
- data/lib/oci/events/models/action_list.rb +152 -0
- data/lib/oci/events/models/change_rule_compartment_details.rb +157 -0
- data/lib/oci/events/models/create_faa_s_action_details.rb +171 -0
- data/lib/oci/events/models/create_notification_service_action_details.rb +171 -0
- data/lib/oci/events/models/create_rule_details.rb +280 -0
- data/lib/oci/events/models/create_streaming_service_action_details.rb +171 -0
- data/lib/oci/events/models/faa_s_action.rb +183 -0
- data/lib/oci/events/models/notification_service_action.rb +184 -0
- data/lib/oci/events/models/rule.rb +368 -0
- data/lib/oci/events/models/rule_summary.rb +317 -0
- data/lib/oci/events/models/streaming_service_action.rb +183 -0
- data/lib/oci/events/models/update_rule_details.rb +262 -0
- data/lib/oci/events/util.rb +3 -0
- data/lib/oci/file_storage/file_storage.rb +2 -1
- data/lib/oci/file_storage/file_storage_client.rb +71 -64
- data/lib/oci/file_storage/file_storage_client_composite_operations.rb +2 -1
- data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +2 -1
- data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +2 -1
- data/lib/oci/file_storage/models/client_options.rb +2 -1
- data/lib/oci/file_storage/models/create_export_details.rb +2 -1
- data/lib/oci/file_storage/models/create_file_system_details.rb +21 -5
- data/lib/oci/file_storage/models/create_mount_target_details.rb +21 -2
- data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -1
- data/lib/oci/file_storage/models/export.rb +2 -1
- data/lib/oci/file_storage/models/export_set.rb +2 -1
- data/lib/oci/file_storage/models/export_set_summary.rb +2 -1
- data/lib/oci/file_storage/models/export_summary.rb +2 -1
- data/lib/oci/file_storage/models/file_system.rb +21 -5
- data/lib/oci/file_storage/models/file_system_summary.rb +21 -5
- data/lib/oci/file_storage/models/mount_target.rb +21 -2
- data/lib/oci/file_storage/models/mount_target_summary.rb +21 -2
- data/lib/oci/file_storage/models/snapshot.rb +2 -1
- data/lib/oci/file_storage/models/snapshot_summary.rb +2 -1
- data/lib/oci/file_storage/models/update_export_details.rb +2 -1
- data/lib/oci/file_storage/models/update_export_set_details.rb +2 -1
- data/lib/oci/file_storage/models/update_file_system_details.rb +25 -5
- data/lib/oci/file_storage/models/update_mount_target_details.rb +21 -2
- data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -1
- data/lib/oci/file_storage/util.rb +2 -1
- data/lib/oci/functions/functions.rb +30 -0
- data/lib/oci/functions/functions_invoke_client.rb +236 -0
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +25 -0
- data/lib/oci/functions/functions_management_client.rb +850 -0
- data/lib/oci/functions/functions_management_client_composite_operations.rb +267 -0
- data/lib/oci/functions/models/application.rb +323 -0
- data/lib/oci/functions/models/application_summary.rb +282 -0
- data/lib/oci/functions/models/change_application_compartment_details.rb +157 -0
- data/lib/oci/functions/models/create_application_details.rb +237 -0
- data/lib/oci/functions/models/create_function_details.rb +281 -0
- data/lib/oci/functions/models/function.rb +398 -0
- data/lib/oci/functions/models/function_summary.rb +382 -0
- data/lib/oci/functions/models/update_application_details.rb +192 -0
- data/lib/oci/functions/models/update_function_details.rb +251 -0
- data/lib/oci/functions/util.rb +3 -0
- data/lib/oci/global_context.rb +2 -1
- data/lib/oci/healthchecks/health_checks_client.rb +169 -20
- data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +2 -1
- data/lib/oci/healthchecks/healthchecks.rb +4 -1
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +156 -0
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +156 -0
- data/lib/oci/healthchecks/models/connection.rb +2 -1
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +4 -2
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +4 -2
- data/lib/oci/healthchecks/models/dns.rb +2 -1
- data/lib/oci/healthchecks/models/geolocation.rb +2 -1
- data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +2 -1
- data/lib/oci/healthchecks/models/http_monitor.rb +35 -2
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +33 -2
- data/lib/oci/healthchecks/models/http_probe.rb +35 -2
- data/lib/oci/healthchecks/models/http_probe_method.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe_protocol.rb +2 -1
- data/lib/oci/healthchecks/models/http_probe_result_summary.rb +2 -1
- data/lib/oci/healthchecks/models/ping_monitor.rb +35 -2
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +33 -2
- data/lib/oci/healthchecks/models/ping_probe.rb +35 -2
- data/lib/oci/healthchecks/models/ping_probe_protocol.rb +2 -1
- data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +2 -1
- data/lib/oci/healthchecks/models/routing.rb +2 -1
- data/lib/oci/healthchecks/models/tcp_connection.rb +2 -1
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +4 -1
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +4 -1
- data/lib/oci/healthchecks/util.rb +2 -1
- data/lib/oci/identity/identity.rb +26 -1
- data/lib/oci/identity/identity_client.rb +1771 -118
- data/lib/oci/identity/identity_client_composite_operations.rb +290 -1
- data/lib/oci/identity/models/add_user_to_group_details.rb +2 -1
- data/lib/oci/identity/models/api_key.rb +2 -1
- data/lib/oci/identity/models/auth_token.rb +2 -1
- data/lib/oci/identity/models/authentication_policy.rb +2 -1
- data/lib/oci/identity/models/availability_domain.rb +2 -1
- data/lib/oci/identity/models/base_tag_definition_validator.rb +203 -0
- data/lib/oci/identity/models/bulk_action_resource.rb +182 -0
- data/lib/oci/identity/models/bulk_action_resource_type.rb +169 -0
- data/lib/oci/identity/models/bulk_action_resource_type_collection.rb +151 -0
- data/lib/oci/identity/models/bulk_delete_resources_details.rb +151 -0
- data/lib/oci/identity/models/bulk_delete_tags_details.rb +154 -0
- data/lib/oci/identity/models/bulk_move_resources_details.rb +167 -0
- data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +2 -1
- data/lib/oci/identity/models/compartment.rb +5 -1
- data/lib/oci/identity/models/create_api_key_details.rb +2 -1
- data/lib/oci/identity/models/create_auth_token_details.rb +2 -1
- data/lib/oci/identity/models/create_compartment_details.rb +2 -1
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +2 -1
- data/lib/oci/identity/models/create_group_details.rb +2 -1
- data/lib/oci/identity/models/create_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -1
- data/lib/oci/identity/models/create_network_source_details.rb +254 -0
- data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +170 -0
- data/lib/oci/identity/models/create_policy_details.rb +2 -1
- data/lib/oci/identity/models/create_region_subscription_details.rb +4 -8
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -1
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/create_tag_default_details.rb +28 -5
- data/lib/oci/identity/models/create_tag_details.rb +30 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +4 -1
- data/lib/oci/identity/models/create_user_details.rb +2 -1
- data/lib/oci/identity/models/customer_secret_key.rb +2 -1
- data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
- data/lib/oci/identity/models/default_tag_definition_validator.rb +148 -0
- data/lib/oci/identity/models/dynamic_group.rb +5 -1
- data/lib/oci/identity/models/enum_tag_definition_validator.rb +163 -0
- data/lib/oci/identity/models/fault_domain.rb +2 -1
- data/lib/oci/identity/models/fully_qualified_scope.rb +160 -0
- data/lib/oci/identity/models/group.rb +5 -1
- data/lib/oci/identity/models/identity_provider.rb +5 -1
- data/lib/oci/identity/models/identity_provider_group_summary.rb +2 -1
- data/lib/oci/identity/models/idp_group_mapping.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_device.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_device_summary.rb +2 -1
- data/lib/oci/identity/models/mfa_totp_token.rb +2 -1
- data/lib/oci/identity/models/move_compartment_details.rb +156 -0
- data/lib/oci/identity/models/network_sources.rb +337 -0
- data/lib/oci/identity/models/network_sources_summary.rb +249 -0
- data/lib/oci/identity/models/network_sources_virtual_source_list.rb +166 -0
- data/lib/oci/identity/models/o_auth2_client_credential.rb +293 -0
- data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +283 -0
- data/lib/oci/identity/models/password_policy.rb +2 -1
- data/lib/oci/identity/models/policy.rb +5 -1
- data/lib/oci/identity/models/region.rb +8 -13
- data/lib/oci/identity/models/region_subscription.rb +8 -13
- data/lib/oci/identity/models/saml2_identity_provider.rb +2 -1
- data/lib/oci/identity/models/scim_client_credentials.rb +2 -1
- data/lib/oci/identity/models/smtp_credential.rb +2 -1
- data/lib/oci/identity/models/smtp_credential_summary.rb +2 -1
- data/lib/oci/identity/models/swift_password.rb +2 -1
- data/lib/oci/identity/models/tag.rb +36 -8
- data/lib/oci/identity/models/tag_default.rb +28 -5
- data/lib/oci/identity/models/tag_default_summary.rb +28 -5
- data/lib/oci/identity/models/tag_namespace.rb +7 -3
- data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
- data/lib/oci/identity/models/tag_summary.rb +5 -3
- data/lib/oci/identity/models/tagging_work_request.rb +306 -0
- data/lib/oci/identity/models/tagging_work_request_error_summary.rb +173 -0
- data/lib/oci/identity/models/tagging_work_request_log_summary.rb +163 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +305 -0
- data/lib/oci/identity/models/tenancy.rb +19 -8
- data/lib/oci/identity/models/ui_password.rb +2 -1
- data/lib/oci/identity/models/ui_password_information.rb +2 -1
- data/lib/oci/identity/models/update_auth_token_details.rb +2 -1
- data/lib/oci/identity/models/update_authentication_policy_details.rb +2 -1
- data/lib/oci/identity/models/update_compartment_details.rb +2 -1
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +2 -1
- data/lib/oci/identity/models/update_group_details.rb +2 -1
- data/lib/oci/identity/models/update_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -1
- data/lib/oci/identity/models/update_network_source_details.rb +227 -0
- data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +174 -0
- data/lib/oci/identity/models/update_policy_details.rb +2 -1
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +2 -1
- data/lib/oci/identity/models/update_smtp_credential_details.rb +2 -1
- data/lib/oci/identity/models/update_state_details.rb +2 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/update_tag_default_details.rb +28 -5
- data/lib/oci/identity/models/update_tag_details.rb +28 -5
- data/lib/oci/identity/models/update_tag_namespace_details.rb +2 -1
- data/lib/oci/identity/models/update_user_capabilities_details.rb +21 -5
- data/lib/oci/identity/models/update_user_details.rb +2 -1
- data/lib/oci/identity/models/user.rb +22 -3
- data/lib/oci/identity/models/user_capabilities.rb +21 -5
- data/lib/oci/identity/models/user_group_membership.rb +2 -1
- data/lib/oci/identity/models/work_request.rb +2 -1
- data/lib/oci/identity/models/work_request_error.rb +2 -1
- data/lib/oci/identity/models/work_request_log_entry.rb +2 -1
- data/lib/oci/identity/models/work_request_resource.rb +2 -1
- data/lib/oci/identity/models/work_request_summary.rb +2 -1
- data/lib/oci/identity/util.rb +2 -1
- data/lib/oci/integration/integration.rb +30 -0
- data/lib/oci/integration/integration_instance_client.rb +877 -0
- data/lib/oci/integration/integration_instance_client_composite_operations.rb +321 -0
- data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +154 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +287 -0
- data/lib/oci/integration/models/integration_instance.rb +382 -0
- data/lib/oci/integration/models/integration_instance_summary.rb +348 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +259 -0
- data/lib/oci/integration/models/work_request.rb +313 -0
- data/lib/oci/integration/models/work_request_error.rb +171 -0
- data/lib/oci/integration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/integration/models/work_request_resource.rb +221 -0
- data/lib/oci/integration/models/work_request_summary.rb +313 -0
- data/lib/oci/integration/util.rb +3 -0
- data/lib/oci/internal/internal.rb +2 -1
- data/lib/oci/internal/util.rb +2 -1
- data/lib/oci/key_management/key_management.rb +17 -1
- data/lib/oci/key_management/kms_crypto_client.rb +7 -9
- data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
- data/lib/oci/key_management/kms_management_client.rb +794 -64
- data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
- data/lib/oci/key_management/kms_vault_client.rb +426 -21
- data/lib/oci/key_management/kms_vault_client_composite_operations.rb +41 -1
- data/lib/oci/key_management/models/backup_key_details.rb +153 -0
- data/lib/oci/key_management/models/backup_location.rb +183 -0
- data/lib/oci/key_management/models/backup_location_bucket.rb +186 -0
- data/lib/oci/key_management/models/backup_location_uri.rb +158 -0
- data/lib/oci/key_management/models/backup_vault_details.rb +166 -0
- data/lib/oci/key_management/models/change_key_compartment_details.rb +154 -0
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +154 -0
- data/lib/oci/key_management/models/create_key_details.rb +9 -7
- data/lib/oci/key_management/models/create_vault_details.rb +10 -7
- data/lib/oci/key_management/models/decrypt_data_details.rb +6 -6
- data/lib/oci/key_management/models/decrypted_data.rb +2 -1
- data/lib/oci/key_management/models/encrypt_data_details.rb +5 -4
- data/lib/oci/key_management/models/encrypted_data.rb +2 -1
- data/lib/oci/key_management/models/generate_key_details.rb +7 -6
- data/lib/oci/key_management/models/generated_key.rb +9 -9
- data/lib/oci/key_management/models/import_key_details.rb +231 -0
- data/lib/oci/key_management/models/import_key_version_details.rb +188 -0
- data/lib/oci/key_management/models/key.rb +35 -16
- data/lib/oci/key_management/models/key_shape.rb +4 -2
- data/lib/oci/key_management/models/key_summary.rb +12 -7
- data/lib/oci/key_management/models/key_version.rb +113 -5
- data/lib/oci/key_management/models/key_version_summary.rb +94 -3
- data/lib/oci/key_management/models/restore_key_from_object_store_details.rb +153 -0
- data/lib/oci/key_management/models/restore_vault_from_object_store_details.rb +153 -0
- data/lib/oci/key_management/models/schedule_key_deletion_details.rb +8 -5
- data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +157 -0
- data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +8 -5
- data/lib/oci/key_management/models/update_key_details.rb +8 -6
- data/lib/oci/key_management/models/update_vault_details.rb +8 -6
- data/lib/oci/key_management/models/vault.rb +56 -15
- data/lib/oci/key_management/models/vault_summary.rb +20 -10
- data/lib/oci/key_management/models/vault_usage.rb +168 -0
- data/lib/oci/key_management/models/wrapped_import_key.rb +180 -0
- data/lib/oci/key_management/models/wrapping_key.rb +258 -0
- data/lib/oci/key_management/util.rb +2 -1
- data/lib/oci/limits/limits.rb +29 -0
- data/lib/oci/limits/limits_client.rb +443 -0
- data/lib/oci/limits/limits_client_composite_operations.rb +25 -0
- data/lib/oci/limits/models/create_quota_details.rb +221 -0
- data/lib/oci/limits/models/limit_definition_summary.rb +242 -0
- data/lib/oci/limits/models/limit_value_summary.rb +211 -0
- data/lib/oci/limits/models/quota.rb +288 -0
- data/lib/oci/limits/models/quota_summary.rb +274 -0
- data/lib/oci/limits/models/resource_availability.rb +164 -0
- data/lib/oci/limits/models/service_summary.rb +160 -0
- data/lib/oci/limits/models/update_quota_details.rb +195 -0
- data/lib/oci/limits/quotas_client.rb +439 -0
- data/lib/oci/limits/quotas_client_composite_operations.rb +144 -0
- data/lib/oci/limits/util.rb +3 -0
- data/lib/oci/load_balancer/load_balancer.rb +14 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +146 -8
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +54 -3
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/allow_rule.rb +182 -0
- data/lib/oci/load_balancer/models/backend.rb +4 -1
- data/lib/oci/load_balancer/models/backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/backend_health.rb +2 -1
- data/lib/oci/load_balancer/models/backend_set.rb +23 -5
- data/lib/oci/load_balancer/models/backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/backend_set_health.rb +2 -1
- data/lib/oci/load_balancer/models/certificate.rb +2 -1
- data/lib/oci/load_balancer/models/certificate_details.rb +2 -1
- data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +157 -0
- data/lib/oci/load_balancer/models/connection_configuration.rb +23 -5
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +206 -0
- data/lib/oci/load_balancer/models/create_backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/create_certificate_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -3
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/create_rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +2 -1
- data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +2 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +2 -1
- data/lib/oci/load_balancer/models/health_checker.rb +4 -2
- data/lib/oci/load_balancer/models/health_checker_details.rb +4 -2
- data/lib/oci/load_balancer/models/hostname.rb +2 -1
- data/lib/oci/load_balancer/models/hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/ip_address.rb +2 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +335 -0
- data/lib/oci/load_balancer/models/listener.rb +2 -1
- data/lib/oci/load_balancer/models/listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/listener_rule_summary.rb +167 -0
- data/lib/oci/load_balancer/models/load_balancer.rb +35 -3
- data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -1
- data/lib/oci/load_balancer/models/path_match_condition.rb +211 -0
- data/lib/oci/load_balancer/models/path_match_type.rb +2 -1
- data/lib/oci/load_balancer/models/path_route.rb +2 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +2 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/redirect_rule.rb +213 -0
- data/lib/oci/load_balancer/models/redirect_uri.rb +324 -0
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/rule.rb +8 -1
- data/lib/oci/load_balancer/models/rule_condition.rb +195 -0
- data/lib/oci/load_balancer/models/rule_set.rb +2 -1
- data/lib/oci/load_balancer/models/rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +8 -1
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +168 -0
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +170 -0
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +172 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +2 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_backend_details.rb +4 -1
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +23 -5
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +4 -2
- data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_listener_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +17 -3
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_rule_set_details.rb +2 -1
- data/lib/oci/load_balancer/models/work_request.rb +2 -1
- data/lib/oci/load_balancer/models/work_request_error.rb +2 -1
- data/lib/oci/load_balancer/util.rb +2 -1
- data/lib/oci/marketplace/marketplace.rb +55 -0
- data/lib/oci/marketplace/marketplace_client.rb +1194 -0
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +25 -0
- data/lib/oci/marketplace/models/accepted_agreement.rb +268 -0
- data/lib/oci/marketplace/models/accepted_agreement_summary.rb +234 -0
- data/lib/oci/marketplace/models/agreement.rb +230 -0
- data/lib/oci/marketplace/models/agreement_summary.rb +205 -0
- data/lib/oci/marketplace/models/category_summary.rb +150 -0
- data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +256 -0
- data/lib/oci/marketplace/models/documentation_link.rb +174 -0
- data/lib/oci/marketplace/models/error_entity.rb +160 -0
- data/lib/oci/marketplace/models/image_listing_package.rb +225 -0
- data/lib/oci/marketplace/models/item.rb +160 -0
- data/lib/oci/marketplace/models/link.rb +183 -0
- data/lib/oci/marketplace/models/link_enum.rb +14 -0
- data/lib/oci/marketplace/models/listing.rb +479 -0
- data/lib/oci/marketplace/models/listing_package.rb +266 -0
- data/lib/oci/marketplace/models/listing_package_summary.rb +244 -0
- data/lib/oci/marketplace/models/listing_summary.rb +311 -0
- data/lib/oci/marketplace/models/named_link.rb +160 -0
- data/lib/oci/marketplace/models/orchestration_listing_package.rb +206 -0
- data/lib/oci/marketplace/models/orchestration_variable.rb +238 -0
- data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/package_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/pricing_currency_enum.rb +10 -0
- data/lib/oci/marketplace/models/pricing_model.rb +244 -0
- data/lib/oci/marketplace/models/pricing_strategy_enum.rb +13 -0
- data/lib/oci/marketplace/models/pricing_type_enum.rb +12 -0
- data/lib/oci/marketplace/models/publisher.rb +259 -0
- data/lib/oci/marketplace/models/publisher_summary.rb +170 -0
- data/lib/oci/marketplace/models/region.rb +170 -0
- data/lib/oci/marketplace/models/report_collection.rb +150 -0
- data/lib/oci/marketplace/models/report_summary.rb +184 -0
- data/lib/oci/marketplace/models/report_type_collection.rb +150 -0
- data/lib/oci/marketplace/models/report_type_summary.rb +184 -0
- data/lib/oci/marketplace/models/screenshot.rb +202 -0
- data/lib/oci/marketplace/models/support_contact.rb +180 -0
- data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +188 -0
- data/lib/oci/marketplace/models/upload_data.rb +192 -0
- data/lib/oci/marketplace/util.rb +3 -0
- data/lib/oci/monitoring/models/aggregated_datapoint.rb +2 -1
- data/lib/oci/monitoring/models/alarm.rb +32 -10
- data/lib/oci/monitoring/models/alarm_history_collection.rb +2 -1
- data/lib/oci/monitoring/models/alarm_history_entry.rb +2 -1
- data/lib/oci/monitoring/models/alarm_status_summary.rb +2 -1
- data/lib/oci/monitoring/models/alarm_summary.rb +6 -4
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +156 -0
- data/lib/oci/monitoring/models/create_alarm_details.rb +32 -10
- data/lib/oci/monitoring/models/datapoint.rb +3 -2
- data/lib/oci/monitoring/models/failed_metric_record.rb +2 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +29 -8
- data/lib/oci/monitoring/models/metric.rb +22 -2
- data/lib/oci/monitoring/models/metric_data.rb +36 -2
- data/lib/oci/monitoring/models/metric_data_details.rb +28 -6
- data/lib/oci/monitoring/models/post_metric_data_details.rb +2 -1
- data/lib/oci/monitoring/models/post_metric_data_response_details.rb +2 -1
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +25 -2
- data/lib/oci/monitoring/models/suppression.rb +2 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +32 -10
- data/lib/oci/monitoring/monitoring.rb +3 -1
- data/lib/oci/monitoring/monitoring_client.rb +160 -10
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
- data/lib/oci/monitoring/util.rb +2 -1
- data/lib/oci/mysql/db_backups_client.rb +462 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
- data/lib/oci/mysql/db_system_client.rb +696 -0
- data/lib/oci/mysql/db_system_client_composite_operations.rb +322 -0
- data/lib/oci/mysql/models/backup.rb +460 -0
- data/lib/oci/mysql/models/backup_policy.rb +235 -0
- data/lib/oci/mysql/models/backup_summary.rb +339 -0
- data/lib/oci/mysql/models/configuration.rb +353 -0
- data/lib/oci/mysql/models/configuration_summary.rb +287 -0
- data/lib/oci/mysql/models/configuration_variables.rb +913 -0
- data/lib/oci/mysql/models/create_backup_details.rb +253 -0
- data/lib/oci/mysql/models/create_backup_policy_details.rb +226 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +250 -0
- data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
- data/lib/oci/mysql/models/create_db_system_source_details.rb +189 -0
- data/lib/oci/mysql/models/create_db_system_source_from_backup_details.rb +164 -0
- data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +164 -0
- data/lib/oci/mysql/models/create_maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/db_system.rb +513 -0
- data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
- data/lib/oci/mysql/models/db_system_source.rb +196 -0
- data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
- data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +319 -0
- data/lib/oci/mysql/models/inno_db_shutdown_mode.rb +12 -0
- data/lib/oci/mysql/models/maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/restart_db_system_details.rb +172 -0
- data/lib/oci/mysql/models/shape_summary.rb +182 -0
- data/lib/oci/mysql/models/stop_db_system_details.rb +172 -0
- data/lib/oci/mysql/models/update_backup_details.rb +212 -0
- data/lib/oci/mysql/models/update_backup_policy_details.rb +226 -0
- data/lib/oci/mysql/models/update_configuration_details.rb +197 -0
- data/lib/oci/mysql/models/update_db_system_details.rb +427 -0
- data/lib/oci/mysql/models/update_maintenance_details.rb +162 -0
- data/lib/oci/mysql/models/version.rb +161 -0
- data/lib/oci/mysql/models/version_summary.rb +165 -0
- data/lib/oci/mysql/models/work_request.rb +313 -0
- data/lib/oci/mysql/models/work_request_error.rb +174 -0
- data/lib/oci/mysql/models/work_request_log_entry.rb +161 -0
- data/lib/oci/mysql/models/work_request_operation_status.rb +15 -0
- data/lib/oci/mysql/models/work_request_operation_type.rb +15 -0
- data/lib/oci/mysql/models/work_request_resource.rb +219 -0
- data/lib/oci/mysql/models/work_request_resource_action_type.rb +14 -0
- data/lib/oci/mysql/models/work_request_summary.rb +303 -0
- data/lib/oci/mysql/mysql.rb +65 -0
- data/lib/oci/mysql/mysqlaas_client.rb +607 -0
- data/lib/oci/mysql/mysqlaas_client_composite_operations.rb +154 -0
- data/lib/oci/mysql/util.rb +3 -0
- data/lib/oci/mysql/work_requests_client.rb +389 -0
- data/lib/oci/mysql/work_requests_client_composite_operations.rb +25 -0
- data/lib/oci/nosql/models/change_table_compartment_details.rb +173 -0
- data/lib/oci/nosql/models/column.rb +188 -0
- data/lib/oci/nosql/models/create_index_details.rb +196 -0
- data/lib/oci/nosql/models/create_table_details.rb +226 -0
- data/lib/oci/nosql/models/delete_row_result.rb +194 -0
- data/lib/oci/nosql/models/index.rb +255 -0
- data/lib/oci/nosql/models/index_collection.rb +150 -0
- data/lib/oci/nosql/models/index_key.rb +187 -0
- data/lib/oci/nosql/models/index_summary.rb +189 -0
- data/lib/oci/nosql/models/prepared_statement.rb +161 -0
- data/lib/oci/nosql/models/query_details.rb +246 -0
- data/lib/oci/nosql/models/query_result_collection.rb +159 -0
- data/lib/oci/nosql/models/request_usage.rb +168 -0
- data/lib/oci/nosql/models/row.rb +176 -0
- data/lib/oci/nosql/models/schema.rb +188 -0
- data/lib/oci/nosql/models/statement_summary.rb +248 -0
- data/lib/oci/nosql/models/table.rb +329 -0
- data/lib/oci/nosql/models/table_collection.rb +150 -0
- data/lib/oci/nosql/models/table_limits.rb +182 -0
- data/lib/oci/nosql/models/table_summary.rb +282 -0
- data/lib/oci/nosql/models/table_usage_collection.rb +150 -0
- data/lib/oci/nosql/models/table_usage_summary.rb +248 -0
- data/lib/oci/nosql/models/update_row_details.rb +285 -0
- data/lib/oci/nosql/models/update_row_result.rb +208 -0
- data/lib/oci/nosql/models/update_table_details.rb +220 -0
- data/lib/oci/nosql/models/work_request.rb +306 -0
- data/lib/oci/nosql/models/work_request_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_error.rb +174 -0
- data/lib/oci/nosql/models/work_request_error_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_log_entry.rb +160 -0
- data/lib/oci/nosql/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/nosql/models/work_request_resource.rb +220 -0
- data/lib/oci/nosql/models/work_request_summary.rb +306 -0
- data/lib/oci/nosql/nosql.rb +53 -0
- data/lib/oci/nosql/nosql_client.rb +1558 -0
- data/lib/oci/nosql/nosql_client_composite_operations.rb +372 -0
- data/lib/oci/nosql/util.rb +3 -0
- data/lib/oci/object_storage/models/bucket.rb +102 -8
- data/lib/oci/object_storage/models/bucket_summary.rb +4 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -1
- data/lib/oci/object_storage/models/copy_object_details.rb +17 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +51 -7
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +55 -5
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -2
- data/lib/oci/object_storage/models/create_replication_policy_details.rb +180 -0
- data/lib/oci/object_storage/models/create_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/duration.rb +193 -0
- data/lib/oci/object_storage/models/list_objects.rb +3 -2
- data/lib/oci/object_storage/models/multipart_upload.rb +3 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +2 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +2 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +3 -2
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +3 -3
- data/lib/oci/object_storage/models/object_name_filter.rb +2 -1
- data/lib/oci/object_storage/models/object_summary.rb +31 -6
- data/lib/oci/object_storage/models/object_version_collection.rb +165 -0
- data/lib/oci/object_storage/models/object_version_summary.rb +241 -0
- data/lib/oci/object_storage/models/pattern_details.rb +2 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -3
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -3
- data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +2 -1
- data/lib/oci/object_storage/models/rename_object_details.rb +2 -1
- data/lib/oci/object_storage/models/replication_policy.rb +263 -0
- data/lib/oci/object_storage/models/replication_policy_summary.rb +266 -0
- data/lib/oci/object_storage/models/replication_source.rb +182 -0
- data/lib/oci/object_storage/models/restore_objects_details.rb +21 -5
- data/lib/oci/object_storage/models/retention_rule.rb +227 -0
- data/lib/oci/object_storage/models/retention_rule_collection.rb +151 -0
- data/lib/oci/object_storage/models/retention_rule_details.rb +181 -0
- data/lib/oci/object_storage/models/retention_rule_summary.rb +224 -0
- data/lib/oci/object_storage/models/update_bucket_details.rb +56 -11
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -2
- data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
- data/lib/oci/object_storage/models/work_request.rb +12 -8
- data/lib/oci/object_storage/models/work_request_error.rb +2 -1
- data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -2
- data/lib/oci/object_storage/models/work_request_resource.rb +2 -1
- data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +2 -1
- data/lib/oci/object_storage/models/work_request_summary.rb +12 -8
- data/lib/oci/object_storage/object_storage.rb +15 -1
- data/lib/oci/object_storage/object_storage_client.rb +1129 -132
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +54 -1
- data/lib/oci/object_storage/transfer/multipart/internal/file_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/multipart_upload_parts_collection.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/internal/stdin_part_io_wrapper.rb +2 -1
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -1
- data/lib/oci/object_storage/transfer/transfer.rb +2 -1
- data/lib/oci/object_storage/transfer/upload_manager.rb +2 -1
- data/lib/oci/object_storage/transfer/upload_manager_config.rb +2 -1
- data/lib/oci/object_storage/util.rb +2 -1
- data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +156 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +373 -0
- data/lib/oci/oce/models/identity_stripe_details.rb +168 -0
- data/lib/oci/oce/models/oce_instance.rb +516 -0
- data/lib/oci/oce/models/oce_instance_summary.rb +484 -0
- data/lib/oci/oce/models/update_oce_instance_details.rb +196 -0
- data/lib/oci/oce/models/work_request.rb +320 -0
- data/lib/oci/oce/models/work_request_error.rb +173 -0
- data/lib/oci/oce/models/work_request_log_entry.rb +160 -0
- data/lib/oci/oce/models/work_request_resource.rb +219 -0
- data/lib/oci/oce/models/workflow_monitor.rb +182 -0
- data/lib/oci/oce/models/workflow_step.rb +164 -0
- data/lib/oci/oce/oce.rb +32 -0
- data/lib/oci/oce/oce_instance_client.rb +730 -0
- data/lib/oci/oce/oce_instance_client_composite_operations.rb +223 -0
- data/lib/oci/oce/util.rb +3 -0
- data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +154 -0
- data/lib/oci/oda/models/create_oda_instance_details.rb +238 -0
- data/lib/oci/oda/models/error_body.rb +160 -0
- data/lib/oci/oda/models/oda_instance.rb +406 -0
- data/lib/oci/oda/models/oda_instance_summary.rb +376 -0
- data/lib/oci/oda/models/update_oda_instance_details.rb +197 -0
- data/lib/oci/oda/models/work_request.rb +343 -0
- data/lib/oci/oda/models/work_request_error.rb +177 -0
- data/lib/oci/oda/models/work_request_log_entry.rb +164 -0
- data/lib/oci/oda/models/work_request_resource.rb +275 -0
- data/lib/oci/oda/models/work_request_summary.rb +265 -0
- data/lib/oci/oda/oda.rb +31 -0
- data/lib/oci/oda/oda_client.rb +984 -0
- data/lib/oci/oda/oda_client_composite_operations.rb +311 -0
- data/lib/oci/oda/util.rb +3 -0
- data/lib/oci/ons/models/backoff_retry_policy.rb +6 -4
- data/lib/oci/ons/models/change_compartment_details.rb +157 -0
- data/lib/oci/ons/models/confirmation_result.rb +11 -9
- data/lib/oci/ons/models/create_subscription_details.rb +22 -5
- data/lib/oci/ons/models/create_topic_details.rb +3 -2
- data/lib/oci/ons/models/delivery_policy.rb +2 -1
- data/lib/oci/ons/models/message_details.rb +2 -1
- data/lib/oci/ons/models/notification_topic.rb +7 -5
- data/lib/oci/ons/models/notification_topic_summary.rb +5 -4
- data/lib/oci/ons/models/publish_result.rb +2 -1
- data/lib/oci/ons/models/subscription.rb +57 -8
- data/lib/oci/ons/models/subscription_summary.rb +26 -7
- data/lib/oci/ons/models/topic_attributes_details.rb +2 -1
- data/lib/oci/ons/models/update_subscription_details.rb +2 -1
- data/lib/oci/ons/notification_control_plane_client.rb +103 -16
- data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/notification_data_plane_client.rb +148 -16
- data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +2 -1
- data/lib/oci/ons/ons.rb +3 -1
- data/lib/oci/ons/util.rb +2 -1
- data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +154 -0
- data/lib/oci/os_management/models/api_error.rb +162 -0
- data/lib/oci/os_management/models/arch_types.rb +14 -0
- data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/available_software_source_summary.rb +206 -0
- data/lib/oci/os_management/models/available_update_summary.rb +286 -0
- data/lib/oci/os_management/models/available_windows_update_summary.rb +251 -0
- data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/change_software_source_compartment_details.rb +156 -0
- data/lib/oci/os_management/models/checksum_types.rb +13 -0
- data/lib/oci/os_management/models/create_managed_instance_group_details.rb +240 -0
- data/lib/oci/os_management/models/create_scheduled_job_details.rb +446 -0
- data/lib/oci/os_management/models/create_software_source_details.rb +325 -0
- data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +154 -0
- data/lib/oci/os_management/models/erratum.rb +332 -0
- data/lib/oci/os_management/models/erratum_summary.rb +247 -0
- data/lib/oci/os_management/models/id.rb +164 -0
- data/lib/oci/os_management/models/installable_package_summary.rb +208 -0
- data/lib/oci/os_management/models/installation_requirements.rb +12 -0
- data/lib/oci/os_management/models/installed_package_summary.rb +222 -0
- data/lib/oci/os_management/models/installed_windows_update_summary.rb +203 -0
- data/lib/oci/os_management/models/interval_types.rb +13 -0
- data/lib/oci/os_management/models/is_eligible_for_installation.rb +12 -0
- data/lib/oci/os_management/models/lifecycle_states.rb +15 -0
- data/lib/oci/os_management/models/managed_instance.rb +396 -0
- data/lib/oci/os_management/models/managed_instance_group.rb +306 -0
- data/lib/oci/os_management/models/managed_instance_group_summary.rb +306 -0
- data/lib/oci/os_management/models/managed_instance_summary.rb +310 -0
- data/lib/oci/os_management/models/operation_status.rb +15 -0
- data/lib/oci/os_management/models/operation_types.rb +13 -0
- data/lib/oci/os_management/models/os_families.rb +12 -0
- data/lib/oci/os_management/models/package_name.rb +150 -0
- data/lib/oci/os_management/models/package_update_types.rb +13 -0
- data/lib/oci/os_management/models/recurrence.rb +183 -0
- data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +154 -0
- data/lib/oci/os_management/models/schedule_types.rb +11 -0
- data/lib/oci/os_management/models/scheduled_job.rb +544 -0
- data/lib/oci/os_management/models/scheduled_job_summary.rb +406 -0
- data/lib/oci/os_management/models/software_package.rb +290 -0
- data/lib/oci/os_management/models/software_package_dependency.rb +178 -0
- data/lib/oci/os_management/models/software_package_file.rb +214 -0
- data/lib/oci/os_management/models/software_package_search_summary.rb +264 -0
- data/lib/oci/os_management/models/software_package_summary.rb +218 -0
- data/lib/oci/os_management/models/software_source.rb +520 -0
- data/lib/oci/os_management/models/software_source_id.rb +160 -0
- data/lib/oci/os_management/models/software_source_summary.rb +341 -0
- data/lib/oci/os_management/models/update_managed_instance_group_details.rb +196 -0
- data/lib/oci/os_management/models/update_scheduled_job_details.rb +368 -0
- data/lib/oci/os_management/models/update_software_source_details.rb +267 -0
- data/lib/oci/os_management/models/update_types.rb +13 -0
- data/lib/oci/os_management/models/windows_update.rb +330 -0
- data/lib/oci/os_management/models/windows_update_summary.rb +247 -0
- data/lib/oci/os_management/models/work_request.rb +375 -0
- data/lib/oci/os_management/models/work_request_error.rb +173 -0
- data/lib/oci/os_management/models/work_request_log_entry.rb +162 -0
- data/lib/oci/os_management/models/work_request_resource.rb +232 -0
- data/lib/oci/os_management/models/work_request_summary.rb +321 -0
- data/lib/oci/os_management/os_management.rb +80 -0
- data/lib/oci/os_management/os_management_client.rb +3753 -0
- data/lib/oci/os_management/os_management_client_composite_operations.rb +683 -0
- data/lib/oci/os_management/util.rb +3 -0
- data/lib/oci/regions.rb +231 -14
- data/lib/oci/resource_manager/models/apply_job_operation_details.rb +202 -0
- data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +181 -0
- data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +6 -6
- data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +2 -1
- data/lib/oci/resource_manager/models/config_source.rb +6 -5
- data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +180 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +3 -2
- data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +166 -0
- data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +164 -0
- data/lib/oci/resource_manager/models/create_job_details.rb +18 -4
- data/lib/oci/resource_manager/models/create_job_operation_details.rb +170 -0
- data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/create_stack_details.rb +19 -3
- data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +185 -0
- data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +166 -0
- data/lib/oci/resource_manager/models/failure_details.rb +2 -1
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +146 -0
- data/lib/oci/resource_manager/models/job.rb +30 -7
- data/lib/oci/resource_manager/models/job_operation_details.rb +170 -0
- data/lib/oci/resource_manager/models/job_operation_details_summary.rb +170 -0
- data/lib/oci/resource_manager/models/job_summary.rb +27 -7
- data/lib/oci/resource_manager/models/log_entry.rb +2 -1
- data/lib/oci/resource_manager/models/plan_job_operation_details.rb +146 -0
- data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +146 -0
- data/lib/oci/resource_manager/models/stack.rb +75 -7
- data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +151 -0
- data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +304 -0
- data/lib/oci/resource_manager/models/stack_summary.rb +28 -2
- data/lib/oci/resource_manager/models/terraform_version_collection.rb +151 -0
- data/lib/oci/resource_manager/models/terraform_version_summary.rb +152 -0
- data/lib/oci/resource_manager/models/update_config_source_details.rb +4 -2
- data/lib/oci/resource_manager/models/update_job_details.rb +2 -1
- data/lib/oci/resource_manager/models/update_stack_details.rb +18 -2
- data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/work_request.rb +5 -3
- data/lib/oci/resource_manager/models/work_request_error.rb +2 -1
- data/lib/oci/resource_manager/models/work_request_log_entry.rb +2 -1
- data/lib/oci/resource_manager/models/work_request_resource.rb +3 -2
- data/lib/oci/resource_manager/models/work_request_summary.rb +4 -3
- data/lib/oci/resource_manager/models/zip_upload_config_source.rb +3 -2
- data/lib/oci/resource_manager/resource_manager.rb +21 -1
- data/lib/oci/resource_manager/resource_manager_client.rb +350 -43
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +57 -7
- data/lib/oci/resource_manager/util.rb +2 -1
- data/lib/oci/resource_search/models/free_text_search_details.rb +2 -1
- data/lib/oci/resource_search/models/queryable_field_description.rb +4 -3
- data/lib/oci/resource_search/models/resource_summary.rb +50 -11
- data/lib/oci/resource_search/models/resource_summary_collection.rb +3 -2
- data/lib/oci/resource_search/models/resource_type.rb +2 -1
- data/lib/oci/resource_search/models/search_context.rb +3 -2
- data/lib/oci/resource_search/models/search_details.rb +4 -3
- data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
- data/lib/oci/resource_search/resource_search.rb +2 -1
- data/lib/oci/resource_search/resource_search_client.rb +6 -7
- data/lib/oci/resource_search/resource_search_client_composite_operations.rb +2 -1
- data/lib/oci/resource_search/util.rb +2 -1
- data/lib/oci/response.rb +2 -1
- data/lib/oci/response_headers.rb +2 -1
- data/lib/oci/retry/functions/should_retry_on_error.rb +2 -1
- data/lib/oci/retry/functions/sleep.rb +2 -1
- data/lib/oci/retry/internal/retry_state.rb +2 -1
- data/lib/oci/retry/retry.rb +2 -1
- data/lib/oci/retry/retry_config.rb +2 -1
- data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +158 -0
- data/lib/oci/secrets/models/secret_bundle.rb +294 -0
- data/lib/oci/secrets/models/secret_bundle_content_details.rb +189 -0
- data/lib/oci/secrets/models/secret_bundle_version_summary.rb +270 -0
- data/lib/oci/secrets/secrets.rb +23 -0
- data/lib/oci/secrets/secrets_client.rb +258 -0
- data/lib/oci/secrets/secrets_client_composite_operations.rb +25 -0
- data/lib/oci/secrets/util.rb +3 -0
- data/lib/oci/signer.rb +2 -1
- data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +156 -0
- data/lib/oci/streaming/models/connect_harness.rb +281 -0
- data/lib/oci/streaming/models/connect_harness_summary.rb +267 -0
- data/lib/oci/streaming/models/create_connect_harness_details.rb +202 -0
- data/lib/oci/streaming/models/create_cursor_details.rb +2 -1
- data/lib/oci/streaming/models/create_group_cursor_details.rb +2 -1
- data/lib/oci/streaming/models/create_stream_details.rb +18 -3
- data/lib/oci/streaming/models/create_stream_pool_details.rb +241 -0
- data/lib/oci/streaming/models/cursor.rb +2 -1
- data/lib/oci/streaming/models/custom_encryption_key.rb +192 -0
- data/lib/oci/streaming/models/custom_encryption_key_details.rb +154 -0
- data/lib/oci/streaming/models/group.rb +4 -3
- data/lib/oci/streaming/models/kafka_settings.rb +196 -0
- data/lib/oci/streaming/models/message.rb +2 -1
- data/lib/oci/streaming/models/partition_reservation.rb +2 -1
- data/lib/oci/streaming/models/private_endpoint_details.rb +193 -0
- data/lib/oci/streaming/models/private_endpoint_settings.rb +186 -0
- data/lib/oci/streaming/models/put_messages_details.rb +2 -1
- data/lib/oci/streaming/models/put_messages_details_entry.rb +2 -1
- data/lib/oci/streaming/models/put_messages_result.rb +3 -2
- data/lib/oci/streaming/models/put_messages_result_entry.rb +2 -1
- data/lib/oci/streaming/models/stream.rb +20 -2
- data/lib/oci/streaming/models/stream_pool.rb +352 -0
- data/lib/oci/streaming/models/stream_pool_summary.rb +280 -0
- data/lib/oci/streaming/models/stream_summary.rb +20 -2
- data/lib/oci/streaming/models/update_connect_harness_details.rb +175 -0
- data/lib/oci/streaming/models/update_group_details.rb +2 -1
- data/lib/oci/streaming/models/update_stream_details.rb +18 -2
- data/lib/oci/streaming/models/update_stream_pool_details.rb +210 -0
- data/lib/oci/streaming/stream_admin_client.rb +888 -45
- data/lib/oci/streaming/stream_admin_client_composite_operations.rb +249 -4
- data/lib/oci/streaming/stream_client.rb +25 -44
- data/lib/oci/streaming/stream_client_composite_operations.rb +2 -1
- data/lib/oci/streaming/streaming.rb +18 -1
- data/lib/oci/streaming/util.rb +2 -1
- data/lib/oci/vault/models/base64_secret_content_details.rb +166 -0
- data/lib/oci/vault/models/change_secret_compartment_details.rb +156 -0
- data/lib/oci/vault/models/create_secret_details.rb +282 -0
- data/lib/oci/vault/models/schedule_secret_deletion_details.rb +155 -0
- data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +156 -0
- data/lib/oci/vault/models/secret.rb +394 -0
- data/lib/oci/vault/models/secret_content_details.rb +221 -0
- data/lib/oci/vault/models/secret_expiry_rule.rb +203 -0
- data/lib/oci/vault/models/secret_reuse_rule.rb +164 -0
- data/lib/oci/vault/models/secret_rule.rb +191 -0
- data/lib/oci/vault/models/secret_summary.rb +353 -0
- data/lib/oci/vault/models/secret_version.rb +305 -0
- data/lib/oci/vault/models/secret_version_summary.rb +305 -0
- data/lib/oci/vault/models/update_secret_details.rb +241 -0
- data/lib/oci/vault/util.rb +3 -0
- data/lib/oci/vault/vault.rb +34 -0
- data/lib/oci/vault/vaults_client.rb +881 -0
- data/lib/oci/vault/vaults_client_composite_operations.rb +104 -0
- data/lib/oci/version.rb +4 -2
- data/lib/oci/waas/models/access_rule.rb +206 -7
- data/lib/oci/waas/models/access_rule_criteria.rb +80 -19
- data/lib/oci/waas/models/add_http_response_header_action.rb +176 -0
- data/lib/oci/waas/models/address_list.rb +291 -0
- data/lib/oci/waas/models/address_list_summary.rb +280 -0
- data/lib/oci/waas/models/address_rate_limiting.rb +3 -2
- data/lib/oci/waas/models/block_challenge_settings.rb +3 -2
- data/lib/oci/waas/models/caching_rule.rb +245 -0
- data/lib/oci/waas/models/caching_rule_criteria.rb +191 -0
- data/lib/oci/waas/models/caching_rule_summary.rb +248 -0
- data/lib/oci/waas/models/captcha.rb +2 -1
- data/lib/oci/waas/models/certificate.rb +24 -10
- data/lib/oci/waas/models/certificate_extensions.rb +5 -1
- data/lib/oci/waas/models/certificate_issuer_name.rb +226 -0
- data/lib/oci/waas/models/certificate_public_key_info.rb +6 -2
- data/lib/oci/waas/models/certificate_subject_name.rb +10 -2
- data/lib/oci/waas/models/certificate_summary.rb +12 -3
- data/lib/oci/waas/models/change_address_list_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +156 -0
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +155 -0
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +156 -0
- data/lib/oci/waas/models/create_address_list_details.rb +214 -0
- data/lib/oci/waas/models/create_certificate_details.rb +24 -4
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +257 -0
- data/lib/oci/waas/models/create_http_redirect_details.rb +239 -0
- data/lib/oci/waas/models/create_waas_policy_details.rb +29 -5
- data/lib/oci/waas/models/custom_protection_rule.rb +331 -0
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +191 -0
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +280 -0
- data/lib/oci/waas/models/device_fingerprint_challenge.rb +2 -1
- data/lib/oci/waas/models/edge_subnet.rb +2 -1
- data/lib/oci/waas/models/extend_http_response_header_action.rb +178 -0
- data/lib/oci/waas/models/good_bot.rb +2 -1
- data/lib/oci/waas/models/header.rb +3 -2
- data/lib/oci/waas/models/header_manipulation_action.rb +189 -0
- data/lib/oci/waas/models/health_check.rb +346 -0
- data/lib/oci/waas/models/http_redirect.rb +302 -0
- data/lib/oci/waas/models/http_redirect_summary.rb +302 -0
- data/lib/oci/waas/models/http_redirect_target.rb +210 -0
- data/lib/oci/waas/models/human_interaction_challenge.rb +22 -5
- data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +146 -0
- data/lib/oci/waas/models/js_challenge.rb +49 -6
- data/lib/oci/waas/models/lifecycle_states.rb +2 -1
- data/lib/oci/waas/models/load_balancing_method.rb +195 -0
- data/lib/oci/waas/models/origin.rb +2 -1
- data/lib/oci/waas/models/origin_group.rb +150 -0
- data/lib/oci/waas/models/origin_group_origins.rb +160 -0
- data/lib/oci/waas/models/policy_config.rb +267 -5
- data/lib/oci/waas/models/protection_rule.rb +2 -1
- data/lib/oci/waas/models/protection_rule_action.rb +2 -1
- data/lib/oci/waas/models/protection_rule_exclusion.rb +18 -2
- data/lib/oci/waas/models/protection_settings.rb +12 -7
- data/lib/oci/waas/models/purge_cache.rb +150 -0
- data/lib/oci/waas/models/recommendation.rb +2 -1
- data/lib/oci/waas/models/remove_http_response_header_action.rb +163 -0
- data/lib/oci/waas/models/round_robin_load_balancing_method.rb +146 -0
- data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +188 -0
- data/lib/oci/waas/models/threat_feed.rb +2 -1
- data/lib/oci/waas/models/threat_feed_action.rb +2 -1
- data/lib/oci/waas/models/update_address_list_details.rb +200 -0
- data/lib/oci/waas/models/update_certificate_details.rb +12 -3
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +242 -0
- data/lib/oci/waas/models/update_http_redirect_details.rb +216 -0
- data/lib/oci/waas/models/update_waas_policy_details.rb +29 -5
- data/lib/oci/waas/models/waas_policy.rb +28 -5
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +218 -0
- data/lib/oci/waas/models/waas_policy_summary.rb +12 -3
- data/lib/oci/waas/models/waf_blocked_request.rb +2 -1
- data/lib/oci/waas/models/waf_config.rb +46 -2
- data/lib/oci/waas/models/waf_config_details.rb +54 -10
- data/lib/oci/waas/models/waf_log.rb +45 -23
- data/lib/oci/waas/models/waf_meter_datum.rb +2 -1
- data/lib/oci/waas/models/waf_request.rb +2 -1
- data/lib/oci/waas/models/waf_traffic_datum.rb +2 -1
- data/lib/oci/waas/models/whitelist.rb +21 -6
- data/lib/oci/waas/models/work_request.rb +9 -2
- data/lib/oci/waas/models/work_request_error.rb +2 -1
- data/lib/oci/waas/models/work_request_log_entry.rb +2 -1
- data/lib/oci/waas/models/work_request_operation_types.rb +9 -2
- data/lib/oci/waas/models/work_request_resource.rb +2 -1
- data/lib/oci/waas/models/work_request_status_values.rb +2 -1
- data/lib/oci/waas/models/work_request_summary.rb +9 -2
- data/lib/oci/waas/redirect_client.rb +492 -0
- data/lib/oci/waas/redirect_client_composite_operations.rb +173 -0
- data/lib/oci/waas/util.rb +2 -1
- data/lib/oci/waas/waas.rb +40 -1
- data/lib/oci/waas/waas_client.rb +1285 -58
- data/lib/oci/waas/waas_client_composite_operations.rb +388 -1
- data/lib/oci/waiter.rb +2 -1
- data/lib/oci/work_requests/models/work_request.rb +16 -9
- data/lib/oci/work_requests/models/work_request_error.rb +5 -4
- data/lib/oci/work_requests/models/work_request_log_entry.rb +4 -3
- data/lib/oci/work_requests/models/work_request_resource.rb +11 -8
- data/lib/oci/work_requests/models/work_request_summary.rb +14 -7
- data/lib/oci/work_requests/util.rb +2 -1
- data/lib/oci/work_requests/work_request_client.rb +37 -21
- data/lib/oci/work_requests/work_request_client_composite_operations.rb +2 -1
- data/lib/oci/work_requests/work_requests.rb +2 -1
- data/lib/oraclebmc.rb +2 -1
- metadata +1049 -5
@@ -0,0 +1,302 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
require 'logger'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# A summary of the work request status.
|
10
|
+
class DataSafe::Models::WorkRequestSummary
|
11
|
+
OPERATION_TYPE_ENUM = [
|
12
|
+
OPERATION_TYPE_ENABLE_DATA_SAFE_CONFIGURATION = 'ENABLE_DATA_SAFE_CONFIGURATION'.freeze,
|
13
|
+
OPERATION_TYPE_CREATE_PRIVATE_ENDPOINT = 'CREATE_PRIVATE_ENDPOINT'.freeze,
|
14
|
+
OPERATION_TYPE_UPDATE_PRIVATE_ENDPOINT = 'UPDATE_PRIVATE_ENDPOINT'.freeze,
|
15
|
+
OPERATION_TYPE_DELETE_PRIVATE_ENDPOINT = 'DELETE_PRIVATE_ENDPOINT'.freeze,
|
16
|
+
OPERATION_TYPE_CHANGE_PRIVATE_ENDPOINT_COMPARTMENT = 'CHANGE_PRIVATE_ENDPOINT_COMPARTMENT'.freeze,
|
17
|
+
OPERATION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
18
|
+
].freeze
|
19
|
+
|
20
|
+
STATUS_ENUM = [
|
21
|
+
STATUS_ACCEPTED = 'ACCEPTED'.freeze,
|
22
|
+
STATUS_IN_PROGRESS = 'IN_PROGRESS'.freeze,
|
23
|
+
STATUS_FAILED = 'FAILED'.freeze,
|
24
|
+
STATUS_SUCCEEDED = 'SUCCEEDED'.freeze,
|
25
|
+
STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
26
|
+
].freeze
|
27
|
+
|
28
|
+
# **[Required]** The asynchronous operation tracked by this work request.
|
29
|
+
# @return [String]
|
30
|
+
attr_reader :operation_type
|
31
|
+
|
32
|
+
# **[Required]** The status of the work request.
|
33
|
+
# @return [String]
|
34
|
+
attr_reader :status
|
35
|
+
|
36
|
+
# **[Required]** The OCID of the work request.
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :id
|
39
|
+
|
40
|
+
# **[Required]** The OCID of the compartment containing this work request.
|
41
|
+
#
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :compartment_id
|
44
|
+
|
45
|
+
# **[Required]** The resources impacted by the work request.
|
46
|
+
# @return [Array<OCI::DataSafe::Models::WorkRequestResource>]
|
47
|
+
attr_accessor :resources
|
48
|
+
|
49
|
+
# **[Required]** Progress of the request in percentage.
|
50
|
+
# @return [Float]
|
51
|
+
attr_accessor :percent_complete
|
52
|
+
|
53
|
+
# **[Required]** The date and time the work request was created, in the format defined by RFC3339.
|
54
|
+
#
|
55
|
+
# @return [DateTime]
|
56
|
+
attr_accessor :time_accepted
|
57
|
+
|
58
|
+
# The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, in the format defined by RFC3339.
|
59
|
+
#
|
60
|
+
# @return [DateTime]
|
61
|
+
attr_accessor :time_started
|
62
|
+
|
63
|
+
# The date and time the work request reached a terminal state, either FAILED or SUCCEEDED, in the format defined by RFC3339.
|
64
|
+
#
|
65
|
+
# @return [DateTime]
|
66
|
+
attr_accessor :time_finished
|
67
|
+
|
68
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
69
|
+
def self.attribute_map
|
70
|
+
{
|
71
|
+
# rubocop:disable Style/SymbolLiteral
|
72
|
+
'operation_type': :'operationType',
|
73
|
+
'status': :'status',
|
74
|
+
'id': :'id',
|
75
|
+
'compartment_id': :'compartmentId',
|
76
|
+
'resources': :'resources',
|
77
|
+
'percent_complete': :'percentComplete',
|
78
|
+
'time_accepted': :'timeAccepted',
|
79
|
+
'time_started': :'timeStarted',
|
80
|
+
'time_finished': :'timeFinished'
|
81
|
+
# rubocop:enable Style/SymbolLiteral
|
82
|
+
}
|
83
|
+
end
|
84
|
+
|
85
|
+
# Attribute type mapping.
|
86
|
+
def self.swagger_types
|
87
|
+
{
|
88
|
+
# rubocop:disable Style/SymbolLiteral
|
89
|
+
'operation_type': :'String',
|
90
|
+
'status': :'String',
|
91
|
+
'id': :'String',
|
92
|
+
'compartment_id': :'String',
|
93
|
+
'resources': :'Array<OCI::DataSafe::Models::WorkRequestResource>',
|
94
|
+
'percent_complete': :'Float',
|
95
|
+
'time_accepted': :'DateTime',
|
96
|
+
'time_started': :'DateTime',
|
97
|
+
'time_finished': :'DateTime'
|
98
|
+
# rubocop:enable Style/SymbolLiteral
|
99
|
+
}
|
100
|
+
end
|
101
|
+
|
102
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
103
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
104
|
+
|
105
|
+
|
106
|
+
# Initializes the object
|
107
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
108
|
+
# @option attributes [String] :operation_type The value to assign to the {#operation_type} property
|
109
|
+
# @option attributes [String] :status The value to assign to the {#status} property
|
110
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
111
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
112
|
+
# @option attributes [Array<OCI::DataSafe::Models::WorkRequestResource>] :resources The value to assign to the {#resources} property
|
113
|
+
# @option attributes [Float] :percent_complete The value to assign to the {#percent_complete} property
|
114
|
+
# @option attributes [DateTime] :time_accepted The value to assign to the {#time_accepted} property
|
115
|
+
# @option attributes [DateTime] :time_started The value to assign to the {#time_started} property
|
116
|
+
# @option attributes [DateTime] :time_finished The value to assign to the {#time_finished} property
|
117
|
+
def initialize(attributes = {})
|
118
|
+
return unless attributes.is_a?(Hash)
|
119
|
+
|
120
|
+
# convert string to symbol for hash key
|
121
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
122
|
+
|
123
|
+
self.operation_type = attributes[:'operationType'] if attributes[:'operationType']
|
124
|
+
|
125
|
+
raise 'You cannot provide both :operationType and :operation_type' if attributes.key?(:'operationType') && attributes.key?(:'operation_type')
|
126
|
+
|
127
|
+
self.operation_type = attributes[:'operation_type'] if attributes[:'operation_type']
|
128
|
+
|
129
|
+
self.status = attributes[:'status'] if attributes[:'status']
|
130
|
+
|
131
|
+
self.id = attributes[:'id'] if attributes[:'id']
|
132
|
+
|
133
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
134
|
+
|
135
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
136
|
+
|
137
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
138
|
+
|
139
|
+
self.resources = attributes[:'resources'] if attributes[:'resources']
|
140
|
+
|
141
|
+
self.percent_complete = attributes[:'percentComplete'] if attributes[:'percentComplete']
|
142
|
+
|
143
|
+
raise 'You cannot provide both :percentComplete and :percent_complete' if attributes.key?(:'percentComplete') && attributes.key?(:'percent_complete')
|
144
|
+
|
145
|
+
self.percent_complete = attributes[:'percent_complete'] if attributes[:'percent_complete']
|
146
|
+
|
147
|
+
self.time_accepted = attributes[:'timeAccepted'] if attributes[:'timeAccepted']
|
148
|
+
|
149
|
+
raise 'You cannot provide both :timeAccepted and :time_accepted' if attributes.key?(:'timeAccepted') && attributes.key?(:'time_accepted')
|
150
|
+
|
151
|
+
self.time_accepted = attributes[:'time_accepted'] if attributes[:'time_accepted']
|
152
|
+
|
153
|
+
self.time_started = attributes[:'timeStarted'] if attributes[:'timeStarted']
|
154
|
+
|
155
|
+
raise 'You cannot provide both :timeStarted and :time_started' if attributes.key?(:'timeStarted') && attributes.key?(:'time_started')
|
156
|
+
|
157
|
+
self.time_started = attributes[:'time_started'] if attributes[:'time_started']
|
158
|
+
|
159
|
+
self.time_finished = attributes[:'timeFinished'] if attributes[:'timeFinished']
|
160
|
+
|
161
|
+
raise 'You cannot provide both :timeFinished and :time_finished' if attributes.key?(:'timeFinished') && attributes.key?(:'time_finished')
|
162
|
+
|
163
|
+
self.time_finished = attributes[:'time_finished'] if attributes[:'time_finished']
|
164
|
+
end
|
165
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
166
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
167
|
+
|
168
|
+
# Custom attribute writer method checking allowed values (enum).
|
169
|
+
# @param [Object] operation_type Object to be assigned
|
170
|
+
def operation_type=(operation_type)
|
171
|
+
# rubocop:disable Style/ConditionalAssignment
|
172
|
+
if operation_type && !OPERATION_TYPE_ENUM.include?(operation_type)
|
173
|
+
OCI.logger.debug("Unknown value for 'operation_type' [" + operation_type + "]. Mapping to 'OPERATION_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
174
|
+
@operation_type = OPERATION_TYPE_UNKNOWN_ENUM_VALUE
|
175
|
+
else
|
176
|
+
@operation_type = operation_type
|
177
|
+
end
|
178
|
+
# rubocop:enable Style/ConditionalAssignment
|
179
|
+
end
|
180
|
+
|
181
|
+
# Custom attribute writer method checking allowed values (enum).
|
182
|
+
# @param [Object] status Object to be assigned
|
183
|
+
def status=(status)
|
184
|
+
# rubocop:disable Style/ConditionalAssignment
|
185
|
+
if status && !STATUS_ENUM.include?(status)
|
186
|
+
OCI.logger.debug("Unknown value for 'status' [" + status + "]. Mapping to 'STATUS_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
187
|
+
@status = STATUS_UNKNOWN_ENUM_VALUE
|
188
|
+
else
|
189
|
+
@status = status
|
190
|
+
end
|
191
|
+
# rubocop:enable Style/ConditionalAssignment
|
192
|
+
end
|
193
|
+
|
194
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
195
|
+
|
196
|
+
|
197
|
+
# Checks equality by comparing each attribute.
|
198
|
+
# @param [Object] other the other object to be compared
|
199
|
+
def ==(other)
|
200
|
+
return true if equal?(other)
|
201
|
+
|
202
|
+
self.class == other.class &&
|
203
|
+
operation_type == other.operation_type &&
|
204
|
+
status == other.status &&
|
205
|
+
id == other.id &&
|
206
|
+
compartment_id == other.compartment_id &&
|
207
|
+
resources == other.resources &&
|
208
|
+
percent_complete == other.percent_complete &&
|
209
|
+
time_accepted == other.time_accepted &&
|
210
|
+
time_started == other.time_started &&
|
211
|
+
time_finished == other.time_finished
|
212
|
+
end
|
213
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
214
|
+
|
215
|
+
# @see the `==` method
|
216
|
+
# @param [Object] other the other object to be compared
|
217
|
+
def eql?(other)
|
218
|
+
self == other
|
219
|
+
end
|
220
|
+
|
221
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
222
|
+
|
223
|
+
|
224
|
+
# Calculates hash code according to all attributes.
|
225
|
+
# @return [Fixnum] Hash code
|
226
|
+
def hash
|
227
|
+
[operation_type, status, id, compartment_id, resources, percent_complete, time_accepted, time_started, time_finished].hash
|
228
|
+
end
|
229
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
230
|
+
|
231
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
232
|
+
|
233
|
+
|
234
|
+
# Builds the object from hash
|
235
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
236
|
+
# @return [Object] Returns the model itself
|
237
|
+
def build_from_hash(attributes)
|
238
|
+
return nil unless attributes.is_a?(Hash)
|
239
|
+
|
240
|
+
self.class.swagger_types.each_pair do |key, type|
|
241
|
+
if type =~ /^Array<(.*)>/i
|
242
|
+
# check to ensure the input is an array given that the the attribute
|
243
|
+
# is documented as an array but the input is not
|
244
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
245
|
+
public_method("#{key}=").call(
|
246
|
+
attributes[self.class.attribute_map[key]]
|
247
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
248
|
+
)
|
249
|
+
end
|
250
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
251
|
+
public_method("#{key}=").call(
|
252
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
253
|
+
)
|
254
|
+
end
|
255
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
256
|
+
end
|
257
|
+
|
258
|
+
self
|
259
|
+
end
|
260
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
261
|
+
|
262
|
+
# Returns the string representation of the object
|
263
|
+
# @return [String] String presentation of the object
|
264
|
+
def to_s
|
265
|
+
to_hash.to_s
|
266
|
+
end
|
267
|
+
|
268
|
+
# Returns the object in the form of hash
|
269
|
+
# @return [Hash] Returns the object in the form of hash
|
270
|
+
def to_hash
|
271
|
+
hash = {}
|
272
|
+
self.class.attribute_map.each_pair do |attr, param|
|
273
|
+
value = public_method(attr).call
|
274
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
275
|
+
|
276
|
+
hash[param] = _to_hash(value)
|
277
|
+
end
|
278
|
+
hash
|
279
|
+
end
|
280
|
+
|
281
|
+
private
|
282
|
+
|
283
|
+
# Outputs non-array value in the form of hash
|
284
|
+
# For object, use to_hash. Otherwise, just return the value
|
285
|
+
# @param [Object] value Any valid value
|
286
|
+
# @return [Hash] Returns the value in the form of hash
|
287
|
+
def _to_hash(value)
|
288
|
+
if value.is_a?(Array)
|
289
|
+
value.compact.map { |v| _to_hash(v) }
|
290
|
+
elsif value.is_a?(Hash)
|
291
|
+
{}.tap do |hash|
|
292
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
293
|
+
end
|
294
|
+
elsif value.respond_to? :to_hash
|
295
|
+
value.to_hash
|
296
|
+
else
|
297
|
+
value
|
298
|
+
end
|
299
|
+
end
|
300
|
+
end
|
301
|
+
end
|
302
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,3 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
module OCI
|
5
|
+
module DataScience
|
6
|
+
# Module containing models for requests made to, and responses received from,
|
7
|
+
# OCI DataScience services
|
8
|
+
module Models
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
# Require models
|
14
|
+
require 'oci/data_science/models/change_model_compartment_details'
|
15
|
+
require 'oci/data_science/models/change_notebook_session_compartment_details'
|
16
|
+
require 'oci/data_science/models/change_project_compartment_details'
|
17
|
+
require 'oci/data_science/models/create_model_details'
|
18
|
+
require 'oci/data_science/models/create_model_provenance_details'
|
19
|
+
require 'oci/data_science/models/create_notebook_session_details'
|
20
|
+
require 'oci/data_science/models/create_project_details'
|
21
|
+
require 'oci/data_science/models/model'
|
22
|
+
require 'oci/data_science/models/model_lifecycle_state'
|
23
|
+
require 'oci/data_science/models/model_provenance'
|
24
|
+
require 'oci/data_science/models/model_summary'
|
25
|
+
require 'oci/data_science/models/notebook_session'
|
26
|
+
require 'oci/data_science/models/notebook_session_configuration_details'
|
27
|
+
require 'oci/data_science/models/notebook_session_lifecycle_state'
|
28
|
+
require 'oci/data_science/models/notebook_session_shape_summary'
|
29
|
+
require 'oci/data_science/models/notebook_session_summary'
|
30
|
+
require 'oci/data_science/models/project'
|
31
|
+
require 'oci/data_science/models/project_lifecycle_state'
|
32
|
+
require 'oci/data_science/models/project_summary'
|
33
|
+
require 'oci/data_science/models/update_model_details'
|
34
|
+
require 'oci/data_science/models/update_model_provenance_details'
|
35
|
+
require 'oci/data_science/models/update_notebook_session_details'
|
36
|
+
require 'oci/data_science/models/update_project_details'
|
37
|
+
require 'oci/data_science/models/work_request'
|
38
|
+
require 'oci/data_science/models/work_request_error'
|
39
|
+
require 'oci/data_science/models/work_request_log_entry'
|
40
|
+
require 'oci/data_science/models/work_request_operation_type'
|
41
|
+
require 'oci/data_science/models/work_request_resource'
|
42
|
+
require 'oci/data_science/models/work_request_status'
|
43
|
+
require 'oci/data_science/models/work_request_summary'
|
44
|
+
|
45
|
+
# Require generated clients
|
46
|
+
require 'oci/data_science/data_science_client'
|
47
|
+
require 'oci/data_science/data_science_client_composite_operations'
|
48
|
+
|
49
|
+
# Require service utilities
|
50
|
+
require 'oci/data_science/util'
|
@@ -0,0 +1,2358 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'uri'
|
5
|
+
require 'logger'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# Use the Data Science APIs to organize your data science work, access data and computing resources, and build, train, deploy, and manage models on Oracle Cloud.
|
10
|
+
class DataScience::DataScienceClient
|
11
|
+
# Client used to make HTTP requests.
|
12
|
+
# @return [OCI::ApiClient]
|
13
|
+
attr_reader :api_client
|
14
|
+
|
15
|
+
# Fully qualified endpoint URL
|
16
|
+
# @return [String]
|
17
|
+
attr_reader :endpoint
|
18
|
+
|
19
|
+
# The default retry configuration to apply to all operations in this service client. This can be overridden
|
20
|
+
# on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
21
|
+
# will not perform any retries
|
22
|
+
# @return [OCI::Retry::RetryConfig]
|
23
|
+
attr_reader :retry_config
|
24
|
+
|
25
|
+
# The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
|
26
|
+
# @return [String]
|
27
|
+
attr_reader :region
|
28
|
+
|
29
|
+
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
30
|
+
|
31
|
+
|
32
|
+
# Creates a new DataScienceClient.
|
33
|
+
# Notes:
|
34
|
+
# If a config is not specified, then the global OCI.config will be used.
|
35
|
+
#
|
36
|
+
# This client is not thread-safe
|
37
|
+
#
|
38
|
+
# Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
|
39
|
+
# region. A region may be specified in the config or via or the region parameter. If specified in both, then the
|
40
|
+
# region parameter will be used.
|
41
|
+
# @param [Config] config A Config object.
|
42
|
+
# @param [String] region A region used to determine the service endpoint. This will usually
|
43
|
+
# correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
|
44
|
+
# @param [String] endpoint The fully qualified endpoint URL
|
45
|
+
# @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
|
46
|
+
# a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
|
47
|
+
# so that the instance principals signer can be provided to the client
|
48
|
+
# @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
|
49
|
+
# the details for the proxy can be provided in this parameter
|
50
|
+
# @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
|
51
|
+
# 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
|
52
|
+
# will not perform any retries
|
53
|
+
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
54
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
|
55
|
+
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
56
|
+
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
57
|
+
# pass it to this constructor.
|
58
|
+
#
|
59
|
+
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
60
|
+
# so try and load the config from the default file.
|
61
|
+
config = OCI::Config.validate_and_build_config_with_signer(config, signer)
|
62
|
+
|
63
|
+
if signer.nil?
|
64
|
+
signer = OCI::Signer.new(
|
65
|
+
config.user,
|
66
|
+
config.fingerprint,
|
67
|
+
config.tenancy,
|
68
|
+
config.key_file,
|
69
|
+
pass_phrase: config.pass_phrase,
|
70
|
+
private_key_content: config.key_content
|
71
|
+
)
|
72
|
+
end
|
73
|
+
|
74
|
+
@api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
|
75
|
+
@retry_config = retry_config
|
76
|
+
|
77
|
+
if endpoint
|
78
|
+
@endpoint = endpoint + '/20190101'
|
79
|
+
else
|
80
|
+
region ||= config.region
|
81
|
+
region ||= signer.region if signer.respond_to?(:region)
|
82
|
+
self.region = region
|
83
|
+
end
|
84
|
+
logger.info "DataScienceClient endpoint set to '#{@endpoint}'." if logger
|
85
|
+
end
|
86
|
+
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
87
|
+
|
88
|
+
# Set the region that will be used to determine the service endpoint.
|
89
|
+
# This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
|
90
|
+
# but may be an arbitrary string.
|
91
|
+
def region=(new_region)
|
92
|
+
@region = new_region
|
93
|
+
|
94
|
+
raise 'A region must be specified.' unless @region
|
95
|
+
|
96
|
+
@endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://datascience.{region}.oci.{secondLevelDomain}') + '/20190101'
|
97
|
+
logger.info "DataScienceClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
|
98
|
+
end
|
99
|
+
|
100
|
+
# @return [Logger] The logger for this client. May be nil.
|
101
|
+
def logger
|
102
|
+
@api_client.config.logger
|
103
|
+
end
|
104
|
+
|
105
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
106
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
107
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
108
|
+
|
109
|
+
|
110
|
+
# Activates the model.
|
111
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
112
|
+
# @param [Hash] opts the optional parameters
|
113
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
114
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
115
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
116
|
+
# for a resource, set the `if-match` parameter to the value of the
|
117
|
+
# etag from a previous GET or POST response for that resource.
|
118
|
+
# The resource will be updated or deleted only if the `etag` you
|
119
|
+
# provide matches the resource's current `etag` value.
|
120
|
+
#
|
121
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
122
|
+
#
|
123
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
|
124
|
+
def activate_model(model_id, opts = {})
|
125
|
+
logger.debug 'Calling operation DataScienceClient#activate_model.' if logger
|
126
|
+
|
127
|
+
raise "Missing the required parameter 'model_id' when calling activate_model." if model_id.nil?
|
128
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
129
|
+
|
130
|
+
path = '/models/{modelId}/actions/activate'.sub('{modelId}', model_id.to_s)
|
131
|
+
operation_signing_strategy = :standard
|
132
|
+
|
133
|
+
# rubocop:disable Style/NegatedIf
|
134
|
+
# Query Params
|
135
|
+
query_params = {}
|
136
|
+
|
137
|
+
# Header Params
|
138
|
+
header_params = {}
|
139
|
+
header_params[:accept] = 'application/json'
|
140
|
+
header_params[:'content-type'] = 'application/json'
|
141
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
142
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
143
|
+
# rubocop:enable Style/NegatedIf
|
144
|
+
|
145
|
+
post_body = nil
|
146
|
+
|
147
|
+
# rubocop:disable Metrics/BlockLength
|
148
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#activate_model') do
|
149
|
+
@api_client.call_api(
|
150
|
+
:POST,
|
151
|
+
path,
|
152
|
+
endpoint,
|
153
|
+
header_params: header_params,
|
154
|
+
query_params: query_params,
|
155
|
+
operation_signing_strategy: operation_signing_strategy,
|
156
|
+
body: post_body,
|
157
|
+
return_type: 'OCI::DataScience::Models::Model'
|
158
|
+
)
|
159
|
+
end
|
160
|
+
# rubocop:enable Metrics/BlockLength
|
161
|
+
end
|
162
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
163
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
164
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
165
|
+
|
166
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
167
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
168
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
169
|
+
|
170
|
+
|
171
|
+
# Activates the notebook session.
|
172
|
+
# @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
|
173
|
+
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
175
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
176
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
177
|
+
# for a resource, set the `if-match` parameter to the value of the
|
178
|
+
# etag from a previous GET or POST response for that resource.
|
179
|
+
# The resource will be updated or deleted only if the `etag` you
|
180
|
+
# provide matches the resource's current `etag` value.
|
181
|
+
#
|
182
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
183
|
+
#
|
184
|
+
# @return [Response] A Response object with data of type nil
|
185
|
+
def activate_notebook_session(notebook_session_id, opts = {})
|
186
|
+
logger.debug 'Calling operation DataScienceClient#activate_notebook_session.' if logger
|
187
|
+
|
188
|
+
raise "Missing the required parameter 'notebook_session_id' when calling activate_notebook_session." if notebook_session_id.nil?
|
189
|
+
raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
|
190
|
+
|
191
|
+
path = '/notebookSessions/{notebookSessionId}/actions/activate'.sub('{notebookSessionId}', notebook_session_id.to_s)
|
192
|
+
operation_signing_strategy = :standard
|
193
|
+
|
194
|
+
# rubocop:disable Style/NegatedIf
|
195
|
+
# Query Params
|
196
|
+
query_params = {}
|
197
|
+
|
198
|
+
# Header Params
|
199
|
+
header_params = {}
|
200
|
+
header_params[:accept] = 'application/json'
|
201
|
+
header_params[:'content-type'] = 'application/json'
|
202
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
203
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
204
|
+
# rubocop:enable Style/NegatedIf
|
205
|
+
|
206
|
+
post_body = nil
|
207
|
+
|
208
|
+
# rubocop:disable Metrics/BlockLength
|
209
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#activate_notebook_session') do
|
210
|
+
@api_client.call_api(
|
211
|
+
:POST,
|
212
|
+
path,
|
213
|
+
endpoint,
|
214
|
+
header_params: header_params,
|
215
|
+
query_params: query_params,
|
216
|
+
operation_signing_strategy: operation_signing_strategy,
|
217
|
+
body: post_body
|
218
|
+
)
|
219
|
+
end
|
220
|
+
# rubocop:enable Metrics/BlockLength
|
221
|
+
end
|
222
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
223
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
224
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
225
|
+
|
226
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
227
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
228
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
229
|
+
|
230
|
+
|
231
|
+
# Cancels a work request that has not started.
|
232
|
+
# @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request.
|
233
|
+
# @param [Hash] opts the optional parameters
|
234
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
235
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
236
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
237
|
+
# for a resource, set the `if-match` parameter to the value of the
|
238
|
+
# etag from a previous GET or POST response for that resource.
|
239
|
+
# The resource will be updated or deleted only if the `etag` you
|
240
|
+
# provide matches the resource's current `etag` value.
|
241
|
+
#
|
242
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
243
|
+
#
|
244
|
+
# @return [Response] A Response object with data of type nil
|
245
|
+
def cancel_work_request(work_request_id, opts = {})
|
246
|
+
logger.debug 'Calling operation DataScienceClient#cancel_work_request.' if logger
|
247
|
+
|
248
|
+
raise "Missing the required parameter 'work_request_id' when calling cancel_work_request." if work_request_id.nil?
|
249
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
250
|
+
|
251
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
252
|
+
operation_signing_strategy = :standard
|
253
|
+
|
254
|
+
# rubocop:disable Style/NegatedIf
|
255
|
+
# Query Params
|
256
|
+
query_params = {}
|
257
|
+
|
258
|
+
# Header Params
|
259
|
+
header_params = {}
|
260
|
+
header_params[:accept] = 'application/json'
|
261
|
+
header_params[:'content-type'] = 'application/json'
|
262
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
263
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
264
|
+
# rubocop:enable Style/NegatedIf
|
265
|
+
|
266
|
+
post_body = nil
|
267
|
+
|
268
|
+
# rubocop:disable Metrics/BlockLength
|
269
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#cancel_work_request') do
|
270
|
+
@api_client.call_api(
|
271
|
+
:DELETE,
|
272
|
+
path,
|
273
|
+
endpoint,
|
274
|
+
header_params: header_params,
|
275
|
+
query_params: query_params,
|
276
|
+
operation_signing_strategy: operation_signing_strategy,
|
277
|
+
body: post_body
|
278
|
+
)
|
279
|
+
end
|
280
|
+
# rubocop:enable Metrics/BlockLength
|
281
|
+
end
|
282
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
283
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
284
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
285
|
+
|
286
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
287
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
288
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
289
|
+
|
290
|
+
|
291
|
+
# Moves a model resource into a different compartment.
|
292
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
293
|
+
# @param [OCI::DataScience::Models::ChangeModelCompartmentDetails] change_model_compartment_details Details for changing the compartment of a model.
|
294
|
+
# @param [Hash] opts the optional parameters
|
295
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
296
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
297
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
298
|
+
# for a resource, set the `if-match` parameter to the value of the
|
299
|
+
# etag from a previous GET or POST response for that resource.
|
300
|
+
# The resource will be updated or deleted only if the `etag` you
|
301
|
+
# provide matches the resource's current `etag` value.
|
302
|
+
#
|
303
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
304
|
+
#
|
305
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
|
306
|
+
#
|
307
|
+
# @return [Response] A Response object with data of type nil
|
308
|
+
def change_model_compartment(model_id, change_model_compartment_details, opts = {})
|
309
|
+
logger.debug 'Calling operation DataScienceClient#change_model_compartment.' if logger
|
310
|
+
|
311
|
+
raise "Missing the required parameter 'model_id' when calling change_model_compartment." if model_id.nil?
|
312
|
+
raise "Missing the required parameter 'change_model_compartment_details' when calling change_model_compartment." if change_model_compartment_details.nil?
|
313
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
314
|
+
|
315
|
+
path = '/models/{modelId}/actions/changeCompartment'.sub('{modelId}', model_id.to_s)
|
316
|
+
operation_signing_strategy = :standard
|
317
|
+
|
318
|
+
# rubocop:disable Style/NegatedIf
|
319
|
+
# Query Params
|
320
|
+
query_params = {}
|
321
|
+
|
322
|
+
# Header Params
|
323
|
+
header_params = {}
|
324
|
+
header_params[:accept] = 'application/json'
|
325
|
+
header_params[:'content-type'] = 'application/json'
|
326
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
327
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
328
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
329
|
+
# rubocop:enable Style/NegatedIf
|
330
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
331
|
+
|
332
|
+
post_body = @api_client.object_to_http_body(change_model_compartment_details)
|
333
|
+
|
334
|
+
# rubocop:disable Metrics/BlockLength
|
335
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#change_model_compartment') do
|
336
|
+
@api_client.call_api(
|
337
|
+
:POST,
|
338
|
+
path,
|
339
|
+
endpoint,
|
340
|
+
header_params: header_params,
|
341
|
+
query_params: query_params,
|
342
|
+
operation_signing_strategy: operation_signing_strategy,
|
343
|
+
body: post_body
|
344
|
+
)
|
345
|
+
end
|
346
|
+
# rubocop:enable Metrics/BlockLength
|
347
|
+
end
|
348
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
349
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
350
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
351
|
+
|
352
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
353
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
354
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
355
|
+
|
356
|
+
|
357
|
+
# Moves a notebook session resource into a different compartment.
|
358
|
+
# @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
|
359
|
+
# @param [OCI::DataScience::Models::ChangeNotebookSessionCompartmentDetails] change_notebook_session_compartment_details Details for changing the compartment of a notebook session.
|
360
|
+
# @param [Hash] opts the optional parameters
|
361
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
362
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
363
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
364
|
+
# for a resource, set the `if-match` parameter to the value of the
|
365
|
+
# etag from a previous GET or POST response for that resource.
|
366
|
+
# The resource will be updated or deleted only if the `etag` you
|
367
|
+
# provide matches the resource's current `etag` value.
|
368
|
+
#
|
369
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
370
|
+
#
|
371
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
|
372
|
+
#
|
373
|
+
# @return [Response] A Response object with data of type nil
|
374
|
+
def change_notebook_session_compartment(notebook_session_id, change_notebook_session_compartment_details, opts = {})
|
375
|
+
logger.debug 'Calling operation DataScienceClient#change_notebook_session_compartment.' if logger
|
376
|
+
|
377
|
+
raise "Missing the required parameter 'notebook_session_id' when calling change_notebook_session_compartment." if notebook_session_id.nil?
|
378
|
+
raise "Missing the required parameter 'change_notebook_session_compartment_details' when calling change_notebook_session_compartment." if change_notebook_session_compartment_details.nil?
|
379
|
+
raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
|
380
|
+
|
381
|
+
path = '/notebookSessions/{notebookSessionId}/actions/changeCompartment'.sub('{notebookSessionId}', notebook_session_id.to_s)
|
382
|
+
operation_signing_strategy = :standard
|
383
|
+
|
384
|
+
# rubocop:disable Style/NegatedIf
|
385
|
+
# Query Params
|
386
|
+
query_params = {}
|
387
|
+
|
388
|
+
# Header Params
|
389
|
+
header_params = {}
|
390
|
+
header_params[:accept] = 'application/json'
|
391
|
+
header_params[:'content-type'] = 'application/json'
|
392
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
393
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
394
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
395
|
+
# rubocop:enable Style/NegatedIf
|
396
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
397
|
+
|
398
|
+
post_body = @api_client.object_to_http_body(change_notebook_session_compartment_details)
|
399
|
+
|
400
|
+
# rubocop:disable Metrics/BlockLength
|
401
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#change_notebook_session_compartment') do
|
402
|
+
@api_client.call_api(
|
403
|
+
:POST,
|
404
|
+
path,
|
405
|
+
endpoint,
|
406
|
+
header_params: header_params,
|
407
|
+
query_params: query_params,
|
408
|
+
operation_signing_strategy: operation_signing_strategy,
|
409
|
+
body: post_body
|
410
|
+
)
|
411
|
+
end
|
412
|
+
# rubocop:enable Metrics/BlockLength
|
413
|
+
end
|
414
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
415
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
416
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
417
|
+
|
418
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
419
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
420
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
421
|
+
|
422
|
+
|
423
|
+
# Moves a project resource into a different compartment.
|
424
|
+
# @param [String] project_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
|
425
|
+
# @param [OCI::DataScience::Models::ChangeProjectCompartmentDetails] change_project_compartment_details Details for changing the compartment of a project.
|
426
|
+
# @param [Hash] opts the optional parameters
|
427
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
428
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
429
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
430
|
+
# for a resource, set the `if-match` parameter to the value of the
|
431
|
+
# etag from a previous GET or POST response for that resource.
|
432
|
+
# The resource will be updated or deleted only if the `etag` you
|
433
|
+
# provide matches the resource's current `etag` value.
|
434
|
+
#
|
435
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
436
|
+
#
|
437
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
|
438
|
+
#
|
439
|
+
# @return [Response] A Response object with data of type nil
|
440
|
+
def change_project_compartment(project_id, change_project_compartment_details, opts = {})
|
441
|
+
logger.debug 'Calling operation DataScienceClient#change_project_compartment.' if logger
|
442
|
+
|
443
|
+
raise "Missing the required parameter 'project_id' when calling change_project_compartment." if project_id.nil?
|
444
|
+
raise "Missing the required parameter 'change_project_compartment_details' when calling change_project_compartment." if change_project_compartment_details.nil?
|
445
|
+
raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
|
446
|
+
|
447
|
+
path = '/projects/{projectId}/actions/changeCompartment'.sub('{projectId}', project_id.to_s)
|
448
|
+
operation_signing_strategy = :standard
|
449
|
+
|
450
|
+
# rubocop:disable Style/NegatedIf
|
451
|
+
# Query Params
|
452
|
+
query_params = {}
|
453
|
+
|
454
|
+
# Header Params
|
455
|
+
header_params = {}
|
456
|
+
header_params[:accept] = 'application/json'
|
457
|
+
header_params[:'content-type'] = 'application/json'
|
458
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
459
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
460
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
461
|
+
# rubocop:enable Style/NegatedIf
|
462
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
463
|
+
|
464
|
+
post_body = @api_client.object_to_http_body(change_project_compartment_details)
|
465
|
+
|
466
|
+
# rubocop:disable Metrics/BlockLength
|
467
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#change_project_compartment') do
|
468
|
+
@api_client.call_api(
|
469
|
+
:POST,
|
470
|
+
path,
|
471
|
+
endpoint,
|
472
|
+
header_params: header_params,
|
473
|
+
query_params: query_params,
|
474
|
+
operation_signing_strategy: operation_signing_strategy,
|
475
|
+
body: post_body
|
476
|
+
)
|
477
|
+
end
|
478
|
+
# rubocop:enable Metrics/BlockLength
|
479
|
+
end
|
480
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
481
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
482
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
483
|
+
|
484
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
485
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
486
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
487
|
+
|
488
|
+
|
489
|
+
# Creates a new model.
|
490
|
+
# @param [OCI::DataScience::Models::CreateModelDetails] create_model_details Details for creating a new model.
|
491
|
+
# @param [Hash] opts the optional parameters
|
492
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
493
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
494
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
495
|
+
#
|
496
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
|
497
|
+
#
|
498
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
|
499
|
+
def create_model(create_model_details, opts = {})
|
500
|
+
logger.debug 'Calling operation DataScienceClient#create_model.' if logger
|
501
|
+
|
502
|
+
raise "Missing the required parameter 'create_model_details' when calling create_model." if create_model_details.nil?
|
503
|
+
|
504
|
+
path = '/models'
|
505
|
+
operation_signing_strategy = :standard
|
506
|
+
|
507
|
+
# rubocop:disable Style/NegatedIf
|
508
|
+
# Query Params
|
509
|
+
query_params = {}
|
510
|
+
|
511
|
+
# Header Params
|
512
|
+
header_params = {}
|
513
|
+
header_params[:accept] = 'application/json'
|
514
|
+
header_params[:'content-type'] = 'application/json'
|
515
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
516
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
517
|
+
# rubocop:enable Style/NegatedIf
|
518
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
519
|
+
|
520
|
+
post_body = @api_client.object_to_http_body(create_model_details)
|
521
|
+
|
522
|
+
# rubocop:disable Metrics/BlockLength
|
523
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_model') do
|
524
|
+
@api_client.call_api(
|
525
|
+
:POST,
|
526
|
+
path,
|
527
|
+
endpoint,
|
528
|
+
header_params: header_params,
|
529
|
+
query_params: query_params,
|
530
|
+
operation_signing_strategy: operation_signing_strategy,
|
531
|
+
body: post_body,
|
532
|
+
return_type: 'OCI::DataScience::Models::Model'
|
533
|
+
)
|
534
|
+
end
|
535
|
+
# rubocop:enable Metrics/BlockLength
|
536
|
+
end
|
537
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
538
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
539
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
540
|
+
|
541
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
542
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
543
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
544
|
+
|
545
|
+
|
546
|
+
# Creates model artifact for specified model.
|
547
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
548
|
+
# @param [String, IO] model_artifact The model artifact to upload.
|
549
|
+
# @param [Hash] opts the optional parameters
|
550
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
551
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
552
|
+
# @option opts [Integer] :content_length The content length of the body.
|
553
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
554
|
+
#
|
555
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
|
556
|
+
#
|
557
|
+
# @option opts [String] :content_disposition The content disposition of the body.
|
558
|
+
# @return [Response] A Response object with data of type nil
|
559
|
+
def create_model_artifact(model_id, model_artifact, opts = {})
|
560
|
+
logger.debug 'Calling operation DataScienceClient#create_model_artifact.' if logger
|
561
|
+
|
562
|
+
raise "Missing the required parameter 'model_id' when calling create_model_artifact." if model_id.nil?
|
563
|
+
raise "Missing the required parameter 'model_artifact' when calling create_model_artifact." if model_artifact.nil?
|
564
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
565
|
+
|
566
|
+
path = '/models/{modelId}/artifact'.sub('{modelId}', model_id.to_s)
|
567
|
+
operation_signing_strategy = :exclude_body
|
568
|
+
|
569
|
+
# rubocop:disable Style/NegatedIf
|
570
|
+
# Query Params
|
571
|
+
query_params = {}
|
572
|
+
|
573
|
+
# Header Params
|
574
|
+
header_params = {}
|
575
|
+
header_params[:accept] = 'application/json'
|
576
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
577
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
578
|
+
header_params[:'content-length'] = opts[:content_length] if opts[:content_length]
|
579
|
+
header_params[:'content-disposition'] = opts[:content_disposition] if opts[:content_disposition]
|
580
|
+
# rubocop:enable Style/NegatedIf
|
581
|
+
header_params[:'content-type'] ||= 'application/octet-stream'
|
582
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
583
|
+
|
584
|
+
post_body = @api_client.object_to_http_body(model_artifact)
|
585
|
+
|
586
|
+
# rubocop:disable Metrics/BlockLength
|
587
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_model_artifact') do
|
588
|
+
@api_client.call_api(
|
589
|
+
:POST,
|
590
|
+
path,
|
591
|
+
endpoint,
|
592
|
+
header_params: header_params,
|
593
|
+
query_params: query_params,
|
594
|
+
operation_signing_strategy: operation_signing_strategy,
|
595
|
+
body: post_body
|
596
|
+
)
|
597
|
+
end
|
598
|
+
# rubocop:enable Metrics/BlockLength
|
599
|
+
end
|
600
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
601
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
602
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
603
|
+
|
604
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
605
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
606
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
607
|
+
|
608
|
+
|
609
|
+
# Creates provenance information for the specified model.
|
610
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
611
|
+
# @param [OCI::DataScience::Models::CreateModelProvenanceDetails] create_model_provenance_details Provenance information for specified model.
|
612
|
+
# @param [Hash] opts the optional parameters
|
613
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
614
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
615
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
616
|
+
#
|
617
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
|
618
|
+
#
|
619
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::ModelProvenance ModelProvenance}
|
620
|
+
def create_model_provenance(model_id, create_model_provenance_details, opts = {})
|
621
|
+
logger.debug 'Calling operation DataScienceClient#create_model_provenance.' if logger
|
622
|
+
|
623
|
+
raise "Missing the required parameter 'model_id' when calling create_model_provenance." if model_id.nil?
|
624
|
+
raise "Missing the required parameter 'create_model_provenance_details' when calling create_model_provenance." if create_model_provenance_details.nil?
|
625
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
626
|
+
|
627
|
+
path = '/models/{modelId}/provenance'.sub('{modelId}', model_id.to_s)
|
628
|
+
operation_signing_strategy = :standard
|
629
|
+
|
630
|
+
# rubocop:disable Style/NegatedIf
|
631
|
+
# Query Params
|
632
|
+
query_params = {}
|
633
|
+
|
634
|
+
# Header Params
|
635
|
+
header_params = {}
|
636
|
+
header_params[:accept] = 'application/json'
|
637
|
+
header_params[:'content-type'] = 'application/json'
|
638
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
639
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
640
|
+
# rubocop:enable Style/NegatedIf
|
641
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
642
|
+
|
643
|
+
post_body = @api_client.object_to_http_body(create_model_provenance_details)
|
644
|
+
|
645
|
+
# rubocop:disable Metrics/BlockLength
|
646
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_model_provenance') do
|
647
|
+
@api_client.call_api(
|
648
|
+
:POST,
|
649
|
+
path,
|
650
|
+
endpoint,
|
651
|
+
header_params: header_params,
|
652
|
+
query_params: query_params,
|
653
|
+
operation_signing_strategy: operation_signing_strategy,
|
654
|
+
body: post_body,
|
655
|
+
return_type: 'OCI::DataScience::Models::ModelProvenance'
|
656
|
+
)
|
657
|
+
end
|
658
|
+
# rubocop:enable Metrics/BlockLength
|
659
|
+
end
|
660
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
661
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
662
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
663
|
+
|
664
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
665
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
666
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
667
|
+
|
668
|
+
|
669
|
+
# Creates a new notebook session.
|
670
|
+
# @param [OCI::DataScience::Models::CreateNotebookSessionDetails] create_notebook_session_details Details for creating a new notebook session.
|
671
|
+
# @param [Hash] opts the optional parameters
|
672
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
673
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
674
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
675
|
+
#
|
676
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
|
677
|
+
#
|
678
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::NotebookSession NotebookSession}
|
679
|
+
def create_notebook_session(create_notebook_session_details, opts = {})
|
680
|
+
logger.debug 'Calling operation DataScienceClient#create_notebook_session.' if logger
|
681
|
+
|
682
|
+
raise "Missing the required parameter 'create_notebook_session_details' when calling create_notebook_session." if create_notebook_session_details.nil?
|
683
|
+
|
684
|
+
path = '/notebookSessions'
|
685
|
+
operation_signing_strategy = :standard
|
686
|
+
|
687
|
+
# rubocop:disable Style/NegatedIf
|
688
|
+
# Query Params
|
689
|
+
query_params = {}
|
690
|
+
|
691
|
+
# Header Params
|
692
|
+
header_params = {}
|
693
|
+
header_params[:accept] = 'application/json'
|
694
|
+
header_params[:'content-type'] = 'application/json'
|
695
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
696
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
697
|
+
# rubocop:enable Style/NegatedIf
|
698
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
699
|
+
|
700
|
+
post_body = @api_client.object_to_http_body(create_notebook_session_details)
|
701
|
+
|
702
|
+
# rubocop:disable Metrics/BlockLength
|
703
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_notebook_session') do
|
704
|
+
@api_client.call_api(
|
705
|
+
:POST,
|
706
|
+
path,
|
707
|
+
endpoint,
|
708
|
+
header_params: header_params,
|
709
|
+
query_params: query_params,
|
710
|
+
operation_signing_strategy: operation_signing_strategy,
|
711
|
+
body: post_body,
|
712
|
+
return_type: 'OCI::DataScience::Models::NotebookSession'
|
713
|
+
)
|
714
|
+
end
|
715
|
+
# rubocop:enable Metrics/BlockLength
|
716
|
+
end
|
717
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
718
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
719
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
720
|
+
|
721
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
722
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
723
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
724
|
+
|
725
|
+
|
726
|
+
# Creates a new project.
|
727
|
+
# @param [OCI::DataScience::Models::CreateProjectDetails] create_project_details Details for creating a new project.
|
728
|
+
# @param [Hash] opts the optional parameters
|
729
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
730
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
731
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
732
|
+
#
|
733
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
|
734
|
+
#
|
735
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::Project Project}
|
736
|
+
def create_project(create_project_details, opts = {})
|
737
|
+
logger.debug 'Calling operation DataScienceClient#create_project.' if logger
|
738
|
+
|
739
|
+
raise "Missing the required parameter 'create_project_details' when calling create_project." if create_project_details.nil?
|
740
|
+
|
741
|
+
path = '/projects'
|
742
|
+
operation_signing_strategy = :standard
|
743
|
+
|
744
|
+
# rubocop:disable Style/NegatedIf
|
745
|
+
# Query Params
|
746
|
+
query_params = {}
|
747
|
+
|
748
|
+
# Header Params
|
749
|
+
header_params = {}
|
750
|
+
header_params[:accept] = 'application/json'
|
751
|
+
header_params[:'content-type'] = 'application/json'
|
752
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
753
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
754
|
+
# rubocop:enable Style/NegatedIf
|
755
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
756
|
+
|
757
|
+
post_body = @api_client.object_to_http_body(create_project_details)
|
758
|
+
|
759
|
+
# rubocop:disable Metrics/BlockLength
|
760
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#create_project') do
|
761
|
+
@api_client.call_api(
|
762
|
+
:POST,
|
763
|
+
path,
|
764
|
+
endpoint,
|
765
|
+
header_params: header_params,
|
766
|
+
query_params: query_params,
|
767
|
+
operation_signing_strategy: operation_signing_strategy,
|
768
|
+
body: post_body,
|
769
|
+
return_type: 'OCI::DataScience::Models::Project'
|
770
|
+
)
|
771
|
+
end
|
772
|
+
# rubocop:enable Metrics/BlockLength
|
773
|
+
end
|
774
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
775
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
776
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
777
|
+
|
778
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
779
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
780
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
781
|
+
|
782
|
+
|
783
|
+
# Deactivates the model.
|
784
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
785
|
+
# @param [Hash] opts the optional parameters
|
786
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
787
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
788
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
789
|
+
# for a resource, set the `if-match` parameter to the value of the
|
790
|
+
# etag from a previous GET or POST response for that resource.
|
791
|
+
# The resource will be updated or deleted only if the `etag` you
|
792
|
+
# provide matches the resource's current `etag` value.
|
793
|
+
#
|
794
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
795
|
+
#
|
796
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
|
797
|
+
def deactivate_model(model_id, opts = {})
|
798
|
+
logger.debug 'Calling operation DataScienceClient#deactivate_model.' if logger
|
799
|
+
|
800
|
+
raise "Missing the required parameter 'model_id' when calling deactivate_model." if model_id.nil?
|
801
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
802
|
+
|
803
|
+
path = '/models/{modelId}/actions/deactivate'.sub('{modelId}', model_id.to_s)
|
804
|
+
operation_signing_strategy = :standard
|
805
|
+
|
806
|
+
# rubocop:disable Style/NegatedIf
|
807
|
+
# Query Params
|
808
|
+
query_params = {}
|
809
|
+
|
810
|
+
# Header Params
|
811
|
+
header_params = {}
|
812
|
+
header_params[:accept] = 'application/json'
|
813
|
+
header_params[:'content-type'] = 'application/json'
|
814
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
815
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
816
|
+
# rubocop:enable Style/NegatedIf
|
817
|
+
|
818
|
+
post_body = nil
|
819
|
+
|
820
|
+
# rubocop:disable Metrics/BlockLength
|
821
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#deactivate_model') do
|
822
|
+
@api_client.call_api(
|
823
|
+
:POST,
|
824
|
+
path,
|
825
|
+
endpoint,
|
826
|
+
header_params: header_params,
|
827
|
+
query_params: query_params,
|
828
|
+
operation_signing_strategy: operation_signing_strategy,
|
829
|
+
body: post_body,
|
830
|
+
return_type: 'OCI::DataScience::Models::Model'
|
831
|
+
)
|
832
|
+
end
|
833
|
+
# rubocop:enable Metrics/BlockLength
|
834
|
+
end
|
835
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
836
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
837
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
838
|
+
|
839
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
840
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
841
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
842
|
+
|
843
|
+
|
844
|
+
# Deactivates the notebook session.
|
845
|
+
# @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
|
846
|
+
# @param [Hash] opts the optional parameters
|
847
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
848
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
849
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
850
|
+
# for a resource, set the `if-match` parameter to the value of the
|
851
|
+
# etag from a previous GET or POST response for that resource.
|
852
|
+
# The resource will be updated or deleted only if the `etag` you
|
853
|
+
# provide matches the resource's current `etag` value.
|
854
|
+
#
|
855
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
856
|
+
#
|
857
|
+
# @return [Response] A Response object with data of type nil
|
858
|
+
def deactivate_notebook_session(notebook_session_id, opts = {})
|
859
|
+
logger.debug 'Calling operation DataScienceClient#deactivate_notebook_session.' if logger
|
860
|
+
|
861
|
+
raise "Missing the required parameter 'notebook_session_id' when calling deactivate_notebook_session." if notebook_session_id.nil?
|
862
|
+
raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
|
863
|
+
|
864
|
+
path = '/notebookSessions/{notebookSessionId}/actions/deactivate'.sub('{notebookSessionId}', notebook_session_id.to_s)
|
865
|
+
operation_signing_strategy = :standard
|
866
|
+
|
867
|
+
# rubocop:disable Style/NegatedIf
|
868
|
+
# Query Params
|
869
|
+
query_params = {}
|
870
|
+
|
871
|
+
# Header Params
|
872
|
+
header_params = {}
|
873
|
+
header_params[:accept] = 'application/json'
|
874
|
+
header_params[:'content-type'] = 'application/json'
|
875
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
876
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
877
|
+
# rubocop:enable Style/NegatedIf
|
878
|
+
|
879
|
+
post_body = nil
|
880
|
+
|
881
|
+
# rubocop:disable Metrics/BlockLength
|
882
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#deactivate_notebook_session') do
|
883
|
+
@api_client.call_api(
|
884
|
+
:POST,
|
885
|
+
path,
|
886
|
+
endpoint,
|
887
|
+
header_params: header_params,
|
888
|
+
query_params: query_params,
|
889
|
+
operation_signing_strategy: operation_signing_strategy,
|
890
|
+
body: post_body
|
891
|
+
)
|
892
|
+
end
|
893
|
+
# rubocop:enable Metrics/BlockLength
|
894
|
+
end
|
895
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
896
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
897
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
898
|
+
|
899
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
900
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
901
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
902
|
+
|
903
|
+
|
904
|
+
# Deletes the specified model.
|
905
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
906
|
+
# @param [Hash] opts the optional parameters
|
907
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
908
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
909
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
910
|
+
# for a resource, set the `if-match` parameter to the value of the
|
911
|
+
# etag from a previous GET or POST response for that resource.
|
912
|
+
# The resource will be updated or deleted only if the `etag` you
|
913
|
+
# provide matches the resource's current `etag` value.
|
914
|
+
#
|
915
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
916
|
+
#
|
917
|
+
# @return [Response] A Response object with data of type nil
|
918
|
+
def delete_model(model_id, opts = {})
|
919
|
+
logger.debug 'Calling operation DataScienceClient#delete_model.' if logger
|
920
|
+
|
921
|
+
raise "Missing the required parameter 'model_id' when calling delete_model." if model_id.nil?
|
922
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
923
|
+
|
924
|
+
path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
|
925
|
+
operation_signing_strategy = :standard
|
926
|
+
|
927
|
+
# rubocop:disable Style/NegatedIf
|
928
|
+
# Query Params
|
929
|
+
query_params = {}
|
930
|
+
|
931
|
+
# Header Params
|
932
|
+
header_params = {}
|
933
|
+
header_params[:accept] = 'application/json'
|
934
|
+
header_params[:'content-type'] = 'application/json'
|
935
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
936
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
937
|
+
# rubocop:enable Style/NegatedIf
|
938
|
+
|
939
|
+
post_body = nil
|
940
|
+
|
941
|
+
# rubocop:disable Metrics/BlockLength
|
942
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#delete_model') do
|
943
|
+
@api_client.call_api(
|
944
|
+
:DELETE,
|
945
|
+
path,
|
946
|
+
endpoint,
|
947
|
+
header_params: header_params,
|
948
|
+
query_params: query_params,
|
949
|
+
operation_signing_strategy: operation_signing_strategy,
|
950
|
+
body: post_body
|
951
|
+
)
|
952
|
+
end
|
953
|
+
# rubocop:enable Metrics/BlockLength
|
954
|
+
end
|
955
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
956
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
957
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
958
|
+
|
959
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
960
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
961
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
962
|
+
|
963
|
+
|
964
|
+
# Deletes the specified notebook session. Any unsaved work in this notebook session will be lost.
|
965
|
+
# @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
|
966
|
+
# @param [Hash] opts the optional parameters
|
967
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
968
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
969
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
970
|
+
# for a resource, set the `if-match` parameter to the value of the
|
971
|
+
# etag from a previous GET or POST response for that resource.
|
972
|
+
# The resource will be updated or deleted only if the `etag` you
|
973
|
+
# provide matches the resource's current `etag` value.
|
974
|
+
#
|
975
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
976
|
+
#
|
977
|
+
# @return [Response] A Response object with data of type nil
|
978
|
+
def delete_notebook_session(notebook_session_id, opts = {})
|
979
|
+
logger.debug 'Calling operation DataScienceClient#delete_notebook_session.' if logger
|
980
|
+
|
981
|
+
raise "Missing the required parameter 'notebook_session_id' when calling delete_notebook_session." if notebook_session_id.nil?
|
982
|
+
raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
|
983
|
+
|
984
|
+
path = '/notebookSessions/{notebookSessionId}'.sub('{notebookSessionId}', notebook_session_id.to_s)
|
985
|
+
operation_signing_strategy = :standard
|
986
|
+
|
987
|
+
# rubocop:disable Style/NegatedIf
|
988
|
+
# Query Params
|
989
|
+
query_params = {}
|
990
|
+
|
991
|
+
# Header Params
|
992
|
+
header_params = {}
|
993
|
+
header_params[:accept] = 'application/json'
|
994
|
+
header_params[:'content-type'] = 'application/json'
|
995
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
996
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
997
|
+
# rubocop:enable Style/NegatedIf
|
998
|
+
|
999
|
+
post_body = nil
|
1000
|
+
|
1001
|
+
# rubocop:disable Metrics/BlockLength
|
1002
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#delete_notebook_session') do
|
1003
|
+
@api_client.call_api(
|
1004
|
+
:DELETE,
|
1005
|
+
path,
|
1006
|
+
endpoint,
|
1007
|
+
header_params: header_params,
|
1008
|
+
query_params: query_params,
|
1009
|
+
operation_signing_strategy: operation_signing_strategy,
|
1010
|
+
body: post_body
|
1011
|
+
)
|
1012
|
+
end
|
1013
|
+
# rubocop:enable Metrics/BlockLength
|
1014
|
+
end
|
1015
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1016
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1017
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1018
|
+
|
1019
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1020
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1021
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1022
|
+
|
1023
|
+
|
1024
|
+
# Deletes the specified project. This operation will fail unless all associated resources (such as notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
|
1025
|
+
# @param [String] project_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
|
1026
|
+
# @param [Hash] opts the optional parameters
|
1027
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1028
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1029
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1030
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1031
|
+
# etag from a previous GET or POST response for that resource.
|
1032
|
+
# The resource will be updated or deleted only if the `etag` you
|
1033
|
+
# provide matches the resource's current `etag` value.
|
1034
|
+
#
|
1035
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1036
|
+
#
|
1037
|
+
# @return [Response] A Response object with data of type nil
|
1038
|
+
def delete_project(project_id, opts = {})
|
1039
|
+
logger.debug 'Calling operation DataScienceClient#delete_project.' if logger
|
1040
|
+
|
1041
|
+
raise "Missing the required parameter 'project_id' when calling delete_project." if project_id.nil?
|
1042
|
+
raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
|
1043
|
+
|
1044
|
+
path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
|
1045
|
+
operation_signing_strategy = :standard
|
1046
|
+
|
1047
|
+
# rubocop:disable Style/NegatedIf
|
1048
|
+
# Query Params
|
1049
|
+
query_params = {}
|
1050
|
+
|
1051
|
+
# Header Params
|
1052
|
+
header_params = {}
|
1053
|
+
header_params[:accept] = 'application/json'
|
1054
|
+
header_params[:'content-type'] = 'application/json'
|
1055
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1056
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1057
|
+
# rubocop:enable Style/NegatedIf
|
1058
|
+
|
1059
|
+
post_body = nil
|
1060
|
+
|
1061
|
+
# rubocop:disable Metrics/BlockLength
|
1062
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#delete_project') do
|
1063
|
+
@api_client.call_api(
|
1064
|
+
:DELETE,
|
1065
|
+
path,
|
1066
|
+
endpoint,
|
1067
|
+
header_params: header_params,
|
1068
|
+
query_params: query_params,
|
1069
|
+
operation_signing_strategy: operation_signing_strategy,
|
1070
|
+
body: post_body
|
1071
|
+
)
|
1072
|
+
end
|
1073
|
+
# rubocop:enable Metrics/BlockLength
|
1074
|
+
end
|
1075
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1076
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1077
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1078
|
+
|
1079
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1080
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1081
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1082
|
+
|
1083
|
+
|
1084
|
+
# Gets the specified model's information.
|
1085
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
1086
|
+
# @param [Hash] opts the optional parameters
|
1087
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1088
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1089
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1090
|
+
#
|
1091
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
|
1092
|
+
def get_model(model_id, opts = {})
|
1093
|
+
logger.debug 'Calling operation DataScienceClient#get_model.' if logger
|
1094
|
+
|
1095
|
+
raise "Missing the required parameter 'model_id' when calling get_model." if model_id.nil?
|
1096
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
1097
|
+
|
1098
|
+
path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
|
1099
|
+
operation_signing_strategy = :standard
|
1100
|
+
|
1101
|
+
# rubocop:disable Style/NegatedIf
|
1102
|
+
# Query Params
|
1103
|
+
query_params = {}
|
1104
|
+
|
1105
|
+
# Header Params
|
1106
|
+
header_params = {}
|
1107
|
+
header_params[:accept] = 'application/json'
|
1108
|
+
header_params[:'content-type'] = 'application/json'
|
1109
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1110
|
+
# rubocop:enable Style/NegatedIf
|
1111
|
+
|
1112
|
+
post_body = nil
|
1113
|
+
|
1114
|
+
# rubocop:disable Metrics/BlockLength
|
1115
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_model') do
|
1116
|
+
@api_client.call_api(
|
1117
|
+
:GET,
|
1118
|
+
path,
|
1119
|
+
endpoint,
|
1120
|
+
header_params: header_params,
|
1121
|
+
query_params: query_params,
|
1122
|
+
operation_signing_strategy: operation_signing_strategy,
|
1123
|
+
body: post_body,
|
1124
|
+
return_type: 'OCI::DataScience::Models::Model'
|
1125
|
+
)
|
1126
|
+
end
|
1127
|
+
# rubocop:enable Metrics/BlockLength
|
1128
|
+
end
|
1129
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1130
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1131
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1132
|
+
|
1133
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1134
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1135
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1136
|
+
|
1137
|
+
|
1138
|
+
# Downloads model artifact content for specified model.
|
1139
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
1140
|
+
# @param [Hash] opts the optional parameters
|
1141
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1142
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1143
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1144
|
+
#
|
1145
|
+
# @option opts [String] :range Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1.
|
1146
|
+
# Note that only a single range of bytes is supported.
|
1147
|
+
#
|
1148
|
+
# @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
|
1149
|
+
# @option [Block] &block Streaming http body to the block
|
1150
|
+
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
1151
|
+
def get_model_artifact_content(model_id, opts = {}, &block)
|
1152
|
+
logger.debug 'Calling operation DataScienceClient#get_model_artifact_content.' if logger
|
1153
|
+
|
1154
|
+
raise "Missing the required parameter 'model_id' when calling get_model_artifact_content." if model_id.nil?
|
1155
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
1156
|
+
|
1157
|
+
path = '/models/{modelId}/artifact/content'.sub('{modelId}', model_id.to_s)
|
1158
|
+
operation_signing_strategy = :standard
|
1159
|
+
|
1160
|
+
# rubocop:disable Style/NegatedIf
|
1161
|
+
# Query Params
|
1162
|
+
query_params = {}
|
1163
|
+
|
1164
|
+
# Header Params
|
1165
|
+
header_params = {}
|
1166
|
+
header_params[:accept] = opts[:accept] if opts[:accept]
|
1167
|
+
header_params[:accept] ||= 'application/octet-stream'
|
1168
|
+
header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding]
|
1169
|
+
header_params[:'content-type'] = 'application/json'
|
1170
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1171
|
+
header_params[:range] = opts[:range] if opts[:range]
|
1172
|
+
# rubocop:enable Style/NegatedIf
|
1173
|
+
|
1174
|
+
post_body = nil
|
1175
|
+
|
1176
|
+
# rubocop:disable Metrics/BlockLength
|
1177
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_model_artifact_content') do
|
1178
|
+
if !block.nil?
|
1179
|
+
@api_client.call_api(
|
1180
|
+
:GET,
|
1181
|
+
path,
|
1182
|
+
endpoint,
|
1183
|
+
header_params: header_params,
|
1184
|
+
query_params: query_params,
|
1185
|
+
operation_signing_strategy: operation_signing_strategy,
|
1186
|
+
body: post_body,
|
1187
|
+
return_type: 'Stream',
|
1188
|
+
&block
|
1189
|
+
)
|
1190
|
+
elsif opts[:response_target]
|
1191
|
+
if opts[:response_target].respond_to? :write
|
1192
|
+
@api_client.call_api(
|
1193
|
+
:GET,
|
1194
|
+
path,
|
1195
|
+
endpoint,
|
1196
|
+
header_params: header_params,
|
1197
|
+
query_params: query_params,
|
1198
|
+
operation_signing_strategy: operation_signing_strategy,
|
1199
|
+
body: post_body,
|
1200
|
+
return_type: 'Stream',
|
1201
|
+
&proc { |chunk, _response| opts[:response_target].write(chunk) }
|
1202
|
+
)
|
1203
|
+
elsif opts[:response_target].is_a?(String)
|
1204
|
+
File.open(opts[:response_target], 'wb') do |output|
|
1205
|
+
return @api_client.call_api(
|
1206
|
+
:GET,
|
1207
|
+
path,
|
1208
|
+
endpoint,
|
1209
|
+
header_params: header_params,
|
1210
|
+
query_params: query_params,
|
1211
|
+
operation_signing_strategy: operation_signing_strategy,
|
1212
|
+
body: post_body,
|
1213
|
+
return_type: 'Stream',
|
1214
|
+
&proc { |chunk, _response| output.write(chunk) }
|
1215
|
+
)
|
1216
|
+
end
|
1217
|
+
end
|
1218
|
+
else
|
1219
|
+
@api_client.call_api(
|
1220
|
+
:GET,
|
1221
|
+
path,
|
1222
|
+
endpoint,
|
1223
|
+
header_params: header_params,
|
1224
|
+
query_params: query_params,
|
1225
|
+
operation_signing_strategy: operation_signing_strategy,
|
1226
|
+
body: post_body,
|
1227
|
+
return_type: 'String'
|
1228
|
+
)
|
1229
|
+
end
|
1230
|
+
end
|
1231
|
+
# rubocop:enable Metrics/BlockLength
|
1232
|
+
end
|
1233
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1234
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1235
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1236
|
+
|
1237
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1238
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1239
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1240
|
+
|
1241
|
+
|
1242
|
+
# Gets provenance information for specified model.
|
1243
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
1244
|
+
# @param [Hash] opts the optional parameters
|
1245
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1246
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1247
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1248
|
+
#
|
1249
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::ModelProvenance ModelProvenance}
|
1250
|
+
def get_model_provenance(model_id, opts = {})
|
1251
|
+
logger.debug 'Calling operation DataScienceClient#get_model_provenance.' if logger
|
1252
|
+
|
1253
|
+
raise "Missing the required parameter 'model_id' when calling get_model_provenance." if model_id.nil?
|
1254
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
1255
|
+
|
1256
|
+
path = '/models/{modelId}/provenance'.sub('{modelId}', model_id.to_s)
|
1257
|
+
operation_signing_strategy = :standard
|
1258
|
+
|
1259
|
+
# rubocop:disable Style/NegatedIf
|
1260
|
+
# Query Params
|
1261
|
+
query_params = {}
|
1262
|
+
|
1263
|
+
# Header Params
|
1264
|
+
header_params = {}
|
1265
|
+
header_params[:accept] = 'application/json'
|
1266
|
+
header_params[:'content-type'] = 'application/json'
|
1267
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1268
|
+
# rubocop:enable Style/NegatedIf
|
1269
|
+
|
1270
|
+
post_body = nil
|
1271
|
+
|
1272
|
+
# rubocop:disable Metrics/BlockLength
|
1273
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_model_provenance') do
|
1274
|
+
@api_client.call_api(
|
1275
|
+
:GET,
|
1276
|
+
path,
|
1277
|
+
endpoint,
|
1278
|
+
header_params: header_params,
|
1279
|
+
query_params: query_params,
|
1280
|
+
operation_signing_strategy: operation_signing_strategy,
|
1281
|
+
body: post_body,
|
1282
|
+
return_type: 'OCI::DataScience::Models::ModelProvenance'
|
1283
|
+
)
|
1284
|
+
end
|
1285
|
+
# rubocop:enable Metrics/BlockLength
|
1286
|
+
end
|
1287
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1288
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1289
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1290
|
+
|
1291
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1292
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1293
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1294
|
+
|
1295
|
+
|
1296
|
+
# Gets the specified notebook session's information.
|
1297
|
+
# @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
|
1298
|
+
# @param [Hash] opts the optional parameters
|
1299
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1300
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1301
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1302
|
+
#
|
1303
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::NotebookSession NotebookSession}
|
1304
|
+
def get_notebook_session(notebook_session_id, opts = {})
|
1305
|
+
logger.debug 'Calling operation DataScienceClient#get_notebook_session.' if logger
|
1306
|
+
|
1307
|
+
raise "Missing the required parameter 'notebook_session_id' when calling get_notebook_session." if notebook_session_id.nil?
|
1308
|
+
raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
|
1309
|
+
|
1310
|
+
path = '/notebookSessions/{notebookSessionId}'.sub('{notebookSessionId}', notebook_session_id.to_s)
|
1311
|
+
operation_signing_strategy = :standard
|
1312
|
+
|
1313
|
+
# rubocop:disable Style/NegatedIf
|
1314
|
+
# Query Params
|
1315
|
+
query_params = {}
|
1316
|
+
|
1317
|
+
# Header Params
|
1318
|
+
header_params = {}
|
1319
|
+
header_params[:accept] = 'application/json'
|
1320
|
+
header_params[:'content-type'] = 'application/json'
|
1321
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1322
|
+
# rubocop:enable Style/NegatedIf
|
1323
|
+
|
1324
|
+
post_body = nil
|
1325
|
+
|
1326
|
+
# rubocop:disable Metrics/BlockLength
|
1327
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_notebook_session') do
|
1328
|
+
@api_client.call_api(
|
1329
|
+
:GET,
|
1330
|
+
path,
|
1331
|
+
endpoint,
|
1332
|
+
header_params: header_params,
|
1333
|
+
query_params: query_params,
|
1334
|
+
operation_signing_strategy: operation_signing_strategy,
|
1335
|
+
body: post_body,
|
1336
|
+
return_type: 'OCI::DataScience::Models::NotebookSession'
|
1337
|
+
)
|
1338
|
+
end
|
1339
|
+
# rubocop:enable Metrics/BlockLength
|
1340
|
+
end
|
1341
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1342
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1343
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1344
|
+
|
1345
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1346
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1347
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1348
|
+
|
1349
|
+
|
1350
|
+
# Gets the specified project's information.
|
1351
|
+
# @param [String] project_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
|
1352
|
+
# @param [Hash] opts the optional parameters
|
1353
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1354
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1355
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1356
|
+
#
|
1357
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::Project Project}
|
1358
|
+
def get_project(project_id, opts = {})
|
1359
|
+
logger.debug 'Calling operation DataScienceClient#get_project.' if logger
|
1360
|
+
|
1361
|
+
raise "Missing the required parameter 'project_id' when calling get_project." if project_id.nil?
|
1362
|
+
raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
|
1363
|
+
|
1364
|
+
path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
|
1365
|
+
operation_signing_strategy = :standard
|
1366
|
+
|
1367
|
+
# rubocop:disable Style/NegatedIf
|
1368
|
+
# Query Params
|
1369
|
+
query_params = {}
|
1370
|
+
|
1371
|
+
# Header Params
|
1372
|
+
header_params = {}
|
1373
|
+
header_params[:accept] = 'application/json'
|
1374
|
+
header_params[:'content-type'] = 'application/json'
|
1375
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1376
|
+
# rubocop:enable Style/NegatedIf
|
1377
|
+
|
1378
|
+
post_body = nil
|
1379
|
+
|
1380
|
+
# rubocop:disable Metrics/BlockLength
|
1381
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_project') do
|
1382
|
+
@api_client.call_api(
|
1383
|
+
:GET,
|
1384
|
+
path,
|
1385
|
+
endpoint,
|
1386
|
+
header_params: header_params,
|
1387
|
+
query_params: query_params,
|
1388
|
+
operation_signing_strategy: operation_signing_strategy,
|
1389
|
+
body: post_body,
|
1390
|
+
return_type: 'OCI::DataScience::Models::Project'
|
1391
|
+
)
|
1392
|
+
end
|
1393
|
+
# rubocop:enable Metrics/BlockLength
|
1394
|
+
end
|
1395
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1396
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1397
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1398
|
+
|
1399
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1400
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1401
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1402
|
+
|
1403
|
+
|
1404
|
+
# Gets the specified work request's information.
|
1405
|
+
# @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request.
|
1406
|
+
# @param [Hash] opts the optional parameters
|
1407
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1408
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1409
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1410
|
+
#
|
1411
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::WorkRequest WorkRequest}
|
1412
|
+
def get_work_request(work_request_id, opts = {})
|
1413
|
+
logger.debug 'Calling operation DataScienceClient#get_work_request.' if logger
|
1414
|
+
|
1415
|
+
raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
|
1416
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
1417
|
+
|
1418
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
1419
|
+
operation_signing_strategy = :standard
|
1420
|
+
|
1421
|
+
# rubocop:disable Style/NegatedIf
|
1422
|
+
# Query Params
|
1423
|
+
query_params = {}
|
1424
|
+
|
1425
|
+
# Header Params
|
1426
|
+
header_params = {}
|
1427
|
+
header_params[:accept] = 'application/json'
|
1428
|
+
header_params[:'content-type'] = 'application/json'
|
1429
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1430
|
+
# rubocop:enable Style/NegatedIf
|
1431
|
+
|
1432
|
+
post_body = nil
|
1433
|
+
|
1434
|
+
# rubocop:disable Metrics/BlockLength
|
1435
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#get_work_request') do
|
1436
|
+
@api_client.call_api(
|
1437
|
+
:GET,
|
1438
|
+
path,
|
1439
|
+
endpoint,
|
1440
|
+
header_params: header_params,
|
1441
|
+
query_params: query_params,
|
1442
|
+
operation_signing_strategy: operation_signing_strategy,
|
1443
|
+
body: post_body,
|
1444
|
+
return_type: 'OCI::DataScience::Models::WorkRequest'
|
1445
|
+
)
|
1446
|
+
end
|
1447
|
+
# rubocop:enable Metrics/BlockLength
|
1448
|
+
end
|
1449
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1450
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1451
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1452
|
+
|
1453
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1454
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1455
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1456
|
+
|
1457
|
+
|
1458
|
+
# Gets model artifact metadata for specified model.
|
1459
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
1460
|
+
# @param [Hash] opts the optional parameters
|
1461
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1462
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1463
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1464
|
+
#
|
1465
|
+
# @return [Response] A Response object with data of type nil
|
1466
|
+
def head_model_artifact(model_id, opts = {})
|
1467
|
+
logger.debug 'Calling operation DataScienceClient#head_model_artifact.' if logger
|
1468
|
+
|
1469
|
+
raise "Missing the required parameter 'model_id' when calling head_model_artifact." if model_id.nil?
|
1470
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
1471
|
+
|
1472
|
+
path = '/models/{modelId}/artifact/content'.sub('{modelId}', model_id.to_s)
|
1473
|
+
operation_signing_strategy = :standard
|
1474
|
+
|
1475
|
+
# rubocop:disable Style/NegatedIf
|
1476
|
+
# Query Params
|
1477
|
+
query_params = {}
|
1478
|
+
|
1479
|
+
# Header Params
|
1480
|
+
header_params = {}
|
1481
|
+
header_params[:accept] = 'application/json'
|
1482
|
+
header_params[:'content-type'] = 'application/json'
|
1483
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1484
|
+
# rubocop:enable Style/NegatedIf
|
1485
|
+
|
1486
|
+
post_body = nil
|
1487
|
+
|
1488
|
+
# rubocop:disable Metrics/BlockLength
|
1489
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#head_model_artifact') do
|
1490
|
+
@api_client.call_api(
|
1491
|
+
:HEAD,
|
1492
|
+
path,
|
1493
|
+
endpoint,
|
1494
|
+
header_params: header_params,
|
1495
|
+
query_params: query_params,
|
1496
|
+
operation_signing_strategy: operation_signing_strategy,
|
1497
|
+
body: post_body
|
1498
|
+
)
|
1499
|
+
end
|
1500
|
+
# rubocop:enable Metrics/BlockLength
|
1501
|
+
end
|
1502
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1503
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1504
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1505
|
+
|
1506
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1507
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1508
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1509
|
+
|
1510
|
+
|
1511
|
+
# Lists models in the specified compartment.
|
1512
|
+
# @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
|
1513
|
+
# @param [Hash] opts the optional parameters
|
1514
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1515
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1516
|
+
# @option opts [String] :id <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
|
1517
|
+
#
|
1518
|
+
# @option opts [String] :project_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
|
1519
|
+
# @option opts [String] :display_name <b>Filter</b> results by its user-friendly name.
|
1520
|
+
# @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
|
1521
|
+
# state for the resource type.
|
1522
|
+
#
|
1523
|
+
# @option opts [String] :created_by <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource.
|
1524
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page,
|
1525
|
+
# or items to return in a paginated \"List\" call.
|
1526
|
+
# 1 is the minimum, 1000 is the maximum.
|
1527
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1528
|
+
#
|
1529
|
+
# Example: `500`
|
1530
|
+
# (default to 10)
|
1531
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response
|
1532
|
+
# header from the previous \"List\" call.
|
1533
|
+
#
|
1534
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1535
|
+
#
|
1536
|
+
# @option opts [String] :sort_order Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
|
1537
|
+
#
|
1538
|
+
# Allowed values are: ASC, DESC
|
1539
|
+
# @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field.
|
1540
|
+
# By default, when you sort by `timeCreated`, results are shown
|
1541
|
+
# in descending order. All other fields default to ascending order. Sort order for `displayName` field is case sensitive.
|
1542
|
+
#
|
1543
|
+
# Allowed values are: timeCreated, displayName, lifecycleState
|
1544
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1545
|
+
#
|
1546
|
+
# @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::ModelSummary ModelSummary}>
|
1547
|
+
def list_models(compartment_id, opts = {})
|
1548
|
+
logger.debug 'Calling operation DataScienceClient#list_models.' if logger
|
1549
|
+
|
1550
|
+
raise "Missing the required parameter 'compartment_id' when calling list_models." if compartment_id.nil?
|
1551
|
+
|
1552
|
+
if opts[:lifecycle_state] && !OCI::DataScience::Models::MODEL_LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
1553
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataScience::Models::MODEL_LIFECYCLE_STATE_ENUM.'
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1557
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
if opts[:sort_by] && !%w[timeCreated displayName lifecycleState].include?(opts[:sort_by])
|
1561
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName, lifecycleState.'
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
path = '/models'
|
1565
|
+
operation_signing_strategy = :standard
|
1566
|
+
|
1567
|
+
# rubocop:disable Style/NegatedIf
|
1568
|
+
# Query Params
|
1569
|
+
query_params = {}
|
1570
|
+
query_params[:compartmentId] = compartment_id
|
1571
|
+
query_params[:id] = opts[:id] if opts[:id]
|
1572
|
+
query_params[:projectId] = opts[:project_id] if opts[:project_id]
|
1573
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
1574
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
1575
|
+
query_params[:createdBy] = opts[:created_by] if opts[:created_by]
|
1576
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1577
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1578
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1579
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
1580
|
+
|
1581
|
+
# Header Params
|
1582
|
+
header_params = {}
|
1583
|
+
header_params[:accept] = 'application/json'
|
1584
|
+
header_params[:'content-type'] = 'application/json'
|
1585
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1586
|
+
# rubocop:enable Style/NegatedIf
|
1587
|
+
|
1588
|
+
post_body = nil
|
1589
|
+
|
1590
|
+
# rubocop:disable Metrics/BlockLength
|
1591
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_models') do
|
1592
|
+
@api_client.call_api(
|
1593
|
+
:GET,
|
1594
|
+
path,
|
1595
|
+
endpoint,
|
1596
|
+
header_params: header_params,
|
1597
|
+
query_params: query_params,
|
1598
|
+
operation_signing_strategy: operation_signing_strategy,
|
1599
|
+
body: post_body,
|
1600
|
+
return_type: 'Array<OCI::DataScience::Models::ModelSummary>'
|
1601
|
+
)
|
1602
|
+
end
|
1603
|
+
# rubocop:enable Metrics/BlockLength
|
1604
|
+
end
|
1605
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1606
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1607
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1608
|
+
|
1609
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1610
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1611
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1612
|
+
|
1613
|
+
|
1614
|
+
# Lists the valid notebook session shapes.
|
1615
|
+
# @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
|
1616
|
+
# @param [Hash] opts the optional parameters
|
1617
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1618
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1619
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1620
|
+
#
|
1621
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page,
|
1622
|
+
# or items to return in a paginated \"List\" call.
|
1623
|
+
# 1 is the minimum, 1000 is the maximum.
|
1624
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1625
|
+
#
|
1626
|
+
# Example: `500`
|
1627
|
+
# (default to 10)
|
1628
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response
|
1629
|
+
# header from the previous \"List\" call.
|
1630
|
+
#
|
1631
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1632
|
+
#
|
1633
|
+
# @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::NotebookSessionShapeSummary NotebookSessionShapeSummary}>
|
1634
|
+
def list_notebook_session_shapes(compartment_id, opts = {})
|
1635
|
+
logger.debug 'Calling operation DataScienceClient#list_notebook_session_shapes.' if logger
|
1636
|
+
|
1637
|
+
raise "Missing the required parameter 'compartment_id' when calling list_notebook_session_shapes." if compartment_id.nil?
|
1638
|
+
|
1639
|
+
path = '/notebookSessionShapes'
|
1640
|
+
operation_signing_strategy = :standard
|
1641
|
+
|
1642
|
+
# rubocop:disable Style/NegatedIf
|
1643
|
+
# Query Params
|
1644
|
+
query_params = {}
|
1645
|
+
query_params[:compartmentId] = compartment_id
|
1646
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1647
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1648
|
+
|
1649
|
+
# Header Params
|
1650
|
+
header_params = {}
|
1651
|
+
header_params[:accept] = 'application/json'
|
1652
|
+
header_params[:'content-type'] = 'application/json'
|
1653
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1654
|
+
# rubocop:enable Style/NegatedIf
|
1655
|
+
|
1656
|
+
post_body = nil
|
1657
|
+
|
1658
|
+
# rubocop:disable Metrics/BlockLength
|
1659
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_notebook_session_shapes') do
|
1660
|
+
@api_client.call_api(
|
1661
|
+
:GET,
|
1662
|
+
path,
|
1663
|
+
endpoint,
|
1664
|
+
header_params: header_params,
|
1665
|
+
query_params: query_params,
|
1666
|
+
operation_signing_strategy: operation_signing_strategy,
|
1667
|
+
body: post_body,
|
1668
|
+
return_type: 'Array<OCI::DataScience::Models::NotebookSessionShapeSummary>'
|
1669
|
+
)
|
1670
|
+
end
|
1671
|
+
# rubocop:enable Metrics/BlockLength
|
1672
|
+
end
|
1673
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1674
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1675
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1676
|
+
|
1677
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1678
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1679
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1680
|
+
|
1681
|
+
|
1682
|
+
# Lists notebook sessions in the specified compartment.
|
1683
|
+
# @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
|
1684
|
+
# @param [Hash] opts the optional parameters
|
1685
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1686
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1687
|
+
# @option opts [String] :id <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
|
1688
|
+
#
|
1689
|
+
# @option opts [String] :project_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
|
1690
|
+
# @option opts [String] :display_name <b>Filter</b> results by its user-friendly name.
|
1691
|
+
# @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
|
1692
|
+
# state for the resource type.
|
1693
|
+
#
|
1694
|
+
# @option opts [String] :created_by <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource.
|
1695
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page,
|
1696
|
+
# or items to return in a paginated \"List\" call.
|
1697
|
+
# 1 is the minimum, 1000 is the maximum.
|
1698
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1699
|
+
#
|
1700
|
+
# Example: `500`
|
1701
|
+
# (default to 10)
|
1702
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response
|
1703
|
+
# header from the previous \"List\" call.
|
1704
|
+
#
|
1705
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1706
|
+
#
|
1707
|
+
# @option opts [String] :sort_order Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
|
1708
|
+
#
|
1709
|
+
# Allowed values are: ASC, DESC
|
1710
|
+
# @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field.
|
1711
|
+
# By default, when you sort by `timeCreated`, results are shown
|
1712
|
+
# in descending order. When you sort by `displayName`, results are
|
1713
|
+
# shown in ascending order. Sort order for `displayName` field is case sensitive.
|
1714
|
+
#
|
1715
|
+
# Allowed values are: timeCreated, displayName
|
1716
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1717
|
+
#
|
1718
|
+
# @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::NotebookSessionSummary NotebookSessionSummary}>
|
1719
|
+
def list_notebook_sessions(compartment_id, opts = {})
|
1720
|
+
logger.debug 'Calling operation DataScienceClient#list_notebook_sessions.' if logger
|
1721
|
+
|
1722
|
+
raise "Missing the required parameter 'compartment_id' when calling list_notebook_sessions." if compartment_id.nil?
|
1723
|
+
|
1724
|
+
if opts[:lifecycle_state] && !OCI::DataScience::Models::NOTEBOOK_SESSION_LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
1725
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataScience::Models::NOTEBOOK_SESSION_LIFECYCLE_STATE_ENUM.'
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1729
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
|
1733
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
path = '/notebookSessions'
|
1737
|
+
operation_signing_strategy = :standard
|
1738
|
+
|
1739
|
+
# rubocop:disable Style/NegatedIf
|
1740
|
+
# Query Params
|
1741
|
+
query_params = {}
|
1742
|
+
query_params[:compartmentId] = compartment_id
|
1743
|
+
query_params[:id] = opts[:id] if opts[:id]
|
1744
|
+
query_params[:projectId] = opts[:project_id] if opts[:project_id]
|
1745
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
1746
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
1747
|
+
query_params[:createdBy] = opts[:created_by] if opts[:created_by]
|
1748
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1749
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1750
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1751
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
1752
|
+
|
1753
|
+
# Header Params
|
1754
|
+
header_params = {}
|
1755
|
+
header_params[:accept] = 'application/json'
|
1756
|
+
header_params[:'content-type'] = 'application/json'
|
1757
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1758
|
+
# rubocop:enable Style/NegatedIf
|
1759
|
+
|
1760
|
+
post_body = nil
|
1761
|
+
|
1762
|
+
# rubocop:disable Metrics/BlockLength
|
1763
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_notebook_sessions') do
|
1764
|
+
@api_client.call_api(
|
1765
|
+
:GET,
|
1766
|
+
path,
|
1767
|
+
endpoint,
|
1768
|
+
header_params: header_params,
|
1769
|
+
query_params: query_params,
|
1770
|
+
operation_signing_strategy: operation_signing_strategy,
|
1771
|
+
body: post_body,
|
1772
|
+
return_type: 'Array<OCI::DataScience::Models::NotebookSessionSummary>'
|
1773
|
+
)
|
1774
|
+
end
|
1775
|
+
# rubocop:enable Metrics/BlockLength
|
1776
|
+
end
|
1777
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1778
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1779
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1780
|
+
|
1781
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1782
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1783
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1784
|
+
|
1785
|
+
|
1786
|
+
# Lists projects in the specified compartment.
|
1787
|
+
# @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
|
1788
|
+
# @param [Hash] opts the optional parameters
|
1789
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1790
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1791
|
+
# @option opts [String] :id <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
|
1792
|
+
#
|
1793
|
+
# @option opts [String] :display_name <b>Filter</b> results by its user-friendly name.
|
1794
|
+
# @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
|
1795
|
+
# state for the resource type.
|
1796
|
+
#
|
1797
|
+
# @option opts [String] :created_by <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource.
|
1798
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page,
|
1799
|
+
# or items to return in a paginated \"List\" call.
|
1800
|
+
# 1 is the minimum, 1000 is the maximum.
|
1801
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1802
|
+
#
|
1803
|
+
# Example: `500`
|
1804
|
+
# (default to 10)
|
1805
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response
|
1806
|
+
# header from the previous \"List\" call.
|
1807
|
+
#
|
1808
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1809
|
+
#
|
1810
|
+
# @option opts [String] :sort_order Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
|
1811
|
+
#
|
1812
|
+
# Allowed values are: ASC, DESC
|
1813
|
+
# @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field.
|
1814
|
+
# By default, when you sort by `timeCreated`, results are shown
|
1815
|
+
# in descending order. When you sort by `displayName`, results are
|
1816
|
+
# shown in ascending order. Sort order for `displayName` field is case sensitive.
|
1817
|
+
#
|
1818
|
+
# Allowed values are: timeCreated, displayName
|
1819
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1820
|
+
#
|
1821
|
+
# @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::ProjectSummary ProjectSummary}>
|
1822
|
+
def list_projects(compartment_id, opts = {})
|
1823
|
+
logger.debug 'Calling operation DataScienceClient#list_projects.' if logger
|
1824
|
+
|
1825
|
+
raise "Missing the required parameter 'compartment_id' when calling list_projects." if compartment_id.nil?
|
1826
|
+
|
1827
|
+
if opts[:lifecycle_state] && !OCI::DataScience::Models::PROJECT_LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
1828
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataScience::Models::PROJECT_LIFECYCLE_STATE_ENUM.'
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1832
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
|
1836
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
path = '/projects'
|
1840
|
+
operation_signing_strategy = :standard
|
1841
|
+
|
1842
|
+
# rubocop:disable Style/NegatedIf
|
1843
|
+
# Query Params
|
1844
|
+
query_params = {}
|
1845
|
+
query_params[:compartmentId] = compartment_id
|
1846
|
+
query_params[:id] = opts[:id] if opts[:id]
|
1847
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
1848
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
1849
|
+
query_params[:createdBy] = opts[:created_by] if opts[:created_by]
|
1850
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1851
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1852
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1853
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
1854
|
+
|
1855
|
+
# Header Params
|
1856
|
+
header_params = {}
|
1857
|
+
header_params[:accept] = 'application/json'
|
1858
|
+
header_params[:'content-type'] = 'application/json'
|
1859
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1860
|
+
# rubocop:enable Style/NegatedIf
|
1861
|
+
|
1862
|
+
post_body = nil
|
1863
|
+
|
1864
|
+
# rubocop:disable Metrics/BlockLength
|
1865
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_projects') do
|
1866
|
+
@api_client.call_api(
|
1867
|
+
:GET,
|
1868
|
+
path,
|
1869
|
+
endpoint,
|
1870
|
+
header_params: header_params,
|
1871
|
+
query_params: query_params,
|
1872
|
+
operation_signing_strategy: operation_signing_strategy,
|
1873
|
+
body: post_body,
|
1874
|
+
return_type: 'Array<OCI::DataScience::Models::ProjectSummary>'
|
1875
|
+
)
|
1876
|
+
end
|
1877
|
+
# rubocop:enable Metrics/BlockLength
|
1878
|
+
end
|
1879
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1880
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1881
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1882
|
+
|
1883
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1884
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1885
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1886
|
+
|
1887
|
+
|
1888
|
+
# Lists work request errors for the specified work request.
|
1889
|
+
# @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request.
|
1890
|
+
# @param [Hash] opts the optional parameters
|
1891
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1892
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1893
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1894
|
+
#
|
1895
|
+
# @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::WorkRequestError WorkRequestError}>
|
1896
|
+
def list_work_request_errors(work_request_id, opts = {})
|
1897
|
+
logger.debug 'Calling operation DataScienceClient#list_work_request_errors.' if logger
|
1898
|
+
|
1899
|
+
raise "Missing the required parameter 'work_request_id' when calling list_work_request_errors." if work_request_id.nil?
|
1900
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
1901
|
+
|
1902
|
+
path = '/workRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
|
1903
|
+
operation_signing_strategy = :standard
|
1904
|
+
|
1905
|
+
# rubocop:disable Style/NegatedIf
|
1906
|
+
# Query Params
|
1907
|
+
query_params = {}
|
1908
|
+
|
1909
|
+
# Header Params
|
1910
|
+
header_params = {}
|
1911
|
+
header_params[:accept] = 'application/json'
|
1912
|
+
header_params[:'content-type'] = 'application/json'
|
1913
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1914
|
+
# rubocop:enable Style/NegatedIf
|
1915
|
+
|
1916
|
+
post_body = nil
|
1917
|
+
|
1918
|
+
# rubocop:disable Metrics/BlockLength
|
1919
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_work_request_errors') do
|
1920
|
+
@api_client.call_api(
|
1921
|
+
:GET,
|
1922
|
+
path,
|
1923
|
+
endpoint,
|
1924
|
+
header_params: header_params,
|
1925
|
+
query_params: query_params,
|
1926
|
+
operation_signing_strategy: operation_signing_strategy,
|
1927
|
+
body: post_body,
|
1928
|
+
return_type: 'Array<OCI::DataScience::Models::WorkRequestError>'
|
1929
|
+
)
|
1930
|
+
end
|
1931
|
+
# rubocop:enable Metrics/BlockLength
|
1932
|
+
end
|
1933
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1934
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1935
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1936
|
+
|
1937
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1938
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1939
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1940
|
+
|
1941
|
+
|
1942
|
+
# Lists work request logs for the specified work request.
|
1943
|
+
# @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request.
|
1944
|
+
# @param [Hash] opts the optional parameters
|
1945
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1946
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1947
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1948
|
+
#
|
1949
|
+
# @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::WorkRequestLogEntry WorkRequestLogEntry}>
|
1950
|
+
def list_work_request_logs(work_request_id, opts = {})
|
1951
|
+
logger.debug 'Calling operation DataScienceClient#list_work_request_logs.' if logger
|
1952
|
+
|
1953
|
+
raise "Missing the required parameter 'work_request_id' when calling list_work_request_logs." if work_request_id.nil?
|
1954
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
1955
|
+
|
1956
|
+
path = '/workRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
|
1957
|
+
operation_signing_strategy = :standard
|
1958
|
+
|
1959
|
+
# rubocop:disable Style/NegatedIf
|
1960
|
+
# Query Params
|
1961
|
+
query_params = {}
|
1962
|
+
|
1963
|
+
# Header Params
|
1964
|
+
header_params = {}
|
1965
|
+
header_params[:accept] = 'application/json'
|
1966
|
+
header_params[:'content-type'] = 'application/json'
|
1967
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1968
|
+
# rubocop:enable Style/NegatedIf
|
1969
|
+
|
1970
|
+
post_body = nil
|
1971
|
+
|
1972
|
+
# rubocop:disable Metrics/BlockLength
|
1973
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_work_request_logs') do
|
1974
|
+
@api_client.call_api(
|
1975
|
+
:GET,
|
1976
|
+
path,
|
1977
|
+
endpoint,
|
1978
|
+
header_params: header_params,
|
1979
|
+
query_params: query_params,
|
1980
|
+
operation_signing_strategy: operation_signing_strategy,
|
1981
|
+
body: post_body,
|
1982
|
+
return_type: 'Array<OCI::DataScience::Models::WorkRequestLogEntry>'
|
1983
|
+
)
|
1984
|
+
end
|
1985
|
+
# rubocop:enable Metrics/BlockLength
|
1986
|
+
end
|
1987
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1988
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1989
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1990
|
+
|
1991
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1992
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1993
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1994
|
+
|
1995
|
+
|
1996
|
+
# Lists work requests in the specified compartment.
|
1997
|
+
# @param [String] compartment_id <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment.
|
1998
|
+
# @param [Hash] opts the optional parameters
|
1999
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2000
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2001
|
+
# @option opts [String] :id <b>Filter</b> results by [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
|
2002
|
+
#
|
2003
|
+
# @option opts [String] :operation_type <b>Filter</b> results by the type of the operation associated with the work request.
|
2004
|
+
# Allowed values are: NOTEBOOK_SESSION_CREATE, NOTEBOOK_SESSION_DELETE, NOTEBOOK_SESSION_ACTIVATE, NOTEBOOK_SESSION_DEACTIVATE, PROJECT_DELETE, WORKREQUEST_CANCEL
|
2005
|
+
# @option opts [String] :status <b>Filter</b> results by work request status.
|
2006
|
+
# Allowed values are: ACCEPTED, IN_PROGRESS, FAILED, SUCCEEDED, CANCELING, CANCELED
|
2007
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page,
|
2008
|
+
# or items to return in a paginated \"List\" call.
|
2009
|
+
# 1 is the minimum, 1000 is the maximum.
|
2010
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2011
|
+
#
|
2012
|
+
# Example: `500`
|
2013
|
+
# (default to 10)
|
2014
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response
|
2015
|
+
# header from the previous \"List\" call.
|
2016
|
+
#
|
2017
|
+
# See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2018
|
+
#
|
2019
|
+
# @option opts [String] :sort_order Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
|
2020
|
+
#
|
2021
|
+
# Allowed values are: ASC, DESC
|
2022
|
+
# @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order.
|
2023
|
+
#
|
2024
|
+
# Allowed values are: operationType, status, timeAccepted
|
2025
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2026
|
+
#
|
2027
|
+
# @return [Response] A Response object with data of type Array<{OCI::DataScience::Models::WorkRequestSummary WorkRequestSummary}>
|
2028
|
+
def list_work_requests(compartment_id, opts = {})
|
2029
|
+
logger.debug 'Calling operation DataScienceClient#list_work_requests.' if logger
|
2030
|
+
|
2031
|
+
raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
|
2032
|
+
|
2033
|
+
if opts[:operation_type] && !%w[NOTEBOOK_SESSION_CREATE NOTEBOOK_SESSION_DELETE NOTEBOOK_SESSION_ACTIVATE NOTEBOOK_SESSION_DEACTIVATE PROJECT_DELETE WORKREQUEST_CANCEL].include?(opts[:operation_type])
|
2034
|
+
raise 'Invalid value for "operation_type", must be one of NOTEBOOK_SESSION_CREATE, NOTEBOOK_SESSION_DELETE, NOTEBOOK_SESSION_ACTIVATE, NOTEBOOK_SESSION_DEACTIVATE, PROJECT_DELETE, WORKREQUEST_CANCEL.'
|
2035
|
+
end
|
2036
|
+
|
2037
|
+
if opts[:status] && !%w[ACCEPTED IN_PROGRESS FAILED SUCCEEDED CANCELING CANCELED].include?(opts[:status])
|
2038
|
+
raise 'Invalid value for "status", must be one of ACCEPTED, IN_PROGRESS, FAILED, SUCCEEDED, CANCELING, CANCELED.'
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
2042
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
2043
|
+
end
|
2044
|
+
|
2045
|
+
if opts[:sort_by] && !%w[operationType status timeAccepted].include?(opts[:sort_by])
|
2046
|
+
raise 'Invalid value for "sort_by", must be one of operationType, status, timeAccepted.'
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
path = '/workRequests'
|
2050
|
+
operation_signing_strategy = :standard
|
2051
|
+
|
2052
|
+
# rubocop:disable Style/NegatedIf
|
2053
|
+
# Query Params
|
2054
|
+
query_params = {}
|
2055
|
+
query_params[:compartmentId] = compartment_id
|
2056
|
+
query_params[:id] = opts[:id] if opts[:id]
|
2057
|
+
query_params[:operationType] = opts[:operation_type] if opts[:operation_type]
|
2058
|
+
query_params[:status] = opts[:status] if opts[:status]
|
2059
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2060
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2061
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
2062
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
2063
|
+
|
2064
|
+
# Header Params
|
2065
|
+
header_params = {}
|
2066
|
+
header_params[:accept] = 'application/json'
|
2067
|
+
header_params[:'content-type'] = 'application/json'
|
2068
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2069
|
+
# rubocop:enable Style/NegatedIf
|
2070
|
+
|
2071
|
+
post_body = nil
|
2072
|
+
|
2073
|
+
# rubocop:disable Metrics/BlockLength
|
2074
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#list_work_requests') do
|
2075
|
+
@api_client.call_api(
|
2076
|
+
:GET,
|
2077
|
+
path,
|
2078
|
+
endpoint,
|
2079
|
+
header_params: header_params,
|
2080
|
+
query_params: query_params,
|
2081
|
+
operation_signing_strategy: operation_signing_strategy,
|
2082
|
+
body: post_body,
|
2083
|
+
return_type: 'Array<OCI::DataScience::Models::WorkRequestSummary>'
|
2084
|
+
)
|
2085
|
+
end
|
2086
|
+
# rubocop:enable Metrics/BlockLength
|
2087
|
+
end
|
2088
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2089
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2090
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2091
|
+
|
2092
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2093
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2094
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2095
|
+
|
2096
|
+
|
2097
|
+
# Updates the properties of a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
|
2098
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
2099
|
+
# @param [OCI::DataScience::Models::UpdateModelDetails] update_model_details Details for updating a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
|
2100
|
+
# @param [Hash] opts the optional parameters
|
2101
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2102
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2103
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
2104
|
+
# for a resource, set the `if-match` parameter to the value of the
|
2105
|
+
# etag from a previous GET or POST response for that resource.
|
2106
|
+
# The resource will be updated or deleted only if the `etag` you
|
2107
|
+
# provide matches the resource's current `etag` value.
|
2108
|
+
#
|
2109
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2110
|
+
#
|
2111
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::Model Model}
|
2112
|
+
def update_model(model_id, update_model_details, opts = {})
|
2113
|
+
logger.debug 'Calling operation DataScienceClient#update_model.' if logger
|
2114
|
+
|
2115
|
+
raise "Missing the required parameter 'model_id' when calling update_model." if model_id.nil?
|
2116
|
+
raise "Missing the required parameter 'update_model_details' when calling update_model." if update_model_details.nil?
|
2117
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
2118
|
+
|
2119
|
+
path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
|
2120
|
+
operation_signing_strategy = :standard
|
2121
|
+
|
2122
|
+
# rubocop:disable Style/NegatedIf
|
2123
|
+
# Query Params
|
2124
|
+
query_params = {}
|
2125
|
+
|
2126
|
+
# Header Params
|
2127
|
+
header_params = {}
|
2128
|
+
header_params[:accept] = 'application/json'
|
2129
|
+
header_params[:'content-type'] = 'application/json'
|
2130
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2131
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2132
|
+
# rubocop:enable Style/NegatedIf
|
2133
|
+
|
2134
|
+
post_body = @api_client.object_to_http_body(update_model_details)
|
2135
|
+
|
2136
|
+
# rubocop:disable Metrics/BlockLength
|
2137
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#update_model') do
|
2138
|
+
@api_client.call_api(
|
2139
|
+
:PUT,
|
2140
|
+
path,
|
2141
|
+
endpoint,
|
2142
|
+
header_params: header_params,
|
2143
|
+
query_params: query_params,
|
2144
|
+
operation_signing_strategy: operation_signing_strategy,
|
2145
|
+
body: post_body,
|
2146
|
+
return_type: 'OCI::DataScience::Models::Model'
|
2147
|
+
)
|
2148
|
+
end
|
2149
|
+
# rubocop:enable Metrics/BlockLength
|
2150
|
+
end
|
2151
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2152
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2153
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2154
|
+
|
2155
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2156
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2157
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2158
|
+
|
2159
|
+
|
2160
|
+
# Updates provenance information for the specified model.
|
2161
|
+
# @param [String] model_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model.
|
2162
|
+
# @param [OCI::DataScience::Models::UpdateModelProvenanceDetails] update_model_provenance_details Provenance information for the specified model.
|
2163
|
+
# @param [Hash] opts the optional parameters
|
2164
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2165
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2166
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2167
|
+
#
|
2168
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
2169
|
+
# for a resource, set the `if-match` parameter to the value of the
|
2170
|
+
# etag from a previous GET or POST response for that resource.
|
2171
|
+
# The resource will be updated or deleted only if the `etag` you
|
2172
|
+
# provide matches the resource's current `etag` value.
|
2173
|
+
#
|
2174
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::ModelProvenance ModelProvenance}
|
2175
|
+
def update_model_provenance(model_id, update_model_provenance_details, opts = {})
|
2176
|
+
logger.debug 'Calling operation DataScienceClient#update_model_provenance.' if logger
|
2177
|
+
|
2178
|
+
raise "Missing the required parameter 'model_id' when calling update_model_provenance." if model_id.nil?
|
2179
|
+
raise "Missing the required parameter 'update_model_provenance_details' when calling update_model_provenance." if update_model_provenance_details.nil?
|
2180
|
+
raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
|
2181
|
+
|
2182
|
+
path = '/models/{modelId}/provenance'.sub('{modelId}', model_id.to_s)
|
2183
|
+
operation_signing_strategy = :standard
|
2184
|
+
|
2185
|
+
# rubocop:disable Style/NegatedIf
|
2186
|
+
# Query Params
|
2187
|
+
query_params = {}
|
2188
|
+
|
2189
|
+
# Header Params
|
2190
|
+
header_params = {}
|
2191
|
+
header_params[:accept] = 'application/json'
|
2192
|
+
header_params[:'content-type'] = 'application/json'
|
2193
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2194
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2195
|
+
# rubocop:enable Style/NegatedIf
|
2196
|
+
|
2197
|
+
post_body = @api_client.object_to_http_body(update_model_provenance_details)
|
2198
|
+
|
2199
|
+
# rubocop:disable Metrics/BlockLength
|
2200
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#update_model_provenance') do
|
2201
|
+
@api_client.call_api(
|
2202
|
+
:PUT,
|
2203
|
+
path,
|
2204
|
+
endpoint,
|
2205
|
+
header_params: header_params,
|
2206
|
+
query_params: query_params,
|
2207
|
+
operation_signing_strategy: operation_signing_strategy,
|
2208
|
+
body: post_body,
|
2209
|
+
return_type: 'OCI::DataScience::Models::ModelProvenance'
|
2210
|
+
)
|
2211
|
+
end
|
2212
|
+
# rubocop:enable Metrics/BlockLength
|
2213
|
+
end
|
2214
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2215
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2216
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2217
|
+
|
2218
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2219
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2220
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2221
|
+
|
2222
|
+
|
2223
|
+
# Updates the properties of a notebook session. You can update the `displayName`, `freeformTags`, and `definedTags` properties.
|
2224
|
+
# When the notebook session is in the INACTIVE lifecycle state, you can update `notebookSessionConfigurationDetails` and change `shape`, `subnetId`, and `blockStorageSizeInGBs`.
|
2225
|
+
# Changes to the `notebookSessionConfigurationDetails` will take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
|
2226
|
+
#
|
2227
|
+
# @param [String] notebook_session_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session.
|
2228
|
+
# @param [OCI::DataScience::Models::UpdateNotebookSessionDetails] update_notebook_session_details Details for updating a notebook session. `notebookSessionConfigurationDetails` can only be updated while the notebook session is in the `INACTIVE` state.
|
2229
|
+
# Changes to the `notebookSessionConfigurationDetails` will take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
|
2230
|
+
#
|
2231
|
+
# @param [Hash] opts the optional parameters
|
2232
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2233
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2234
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
2235
|
+
# for a resource, set the `if-match` parameter to the value of the
|
2236
|
+
# etag from a previous GET or POST response for that resource.
|
2237
|
+
# The resource will be updated or deleted only if the `etag` you
|
2238
|
+
# provide matches the resource's current `etag` value.
|
2239
|
+
#
|
2240
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2241
|
+
#
|
2242
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::NotebookSession NotebookSession}
|
2243
|
+
def update_notebook_session(notebook_session_id, update_notebook_session_details, opts = {})
|
2244
|
+
logger.debug 'Calling operation DataScienceClient#update_notebook_session.' if logger
|
2245
|
+
|
2246
|
+
raise "Missing the required parameter 'notebook_session_id' when calling update_notebook_session." if notebook_session_id.nil?
|
2247
|
+
raise "Missing the required parameter 'update_notebook_session_details' when calling update_notebook_session." if update_notebook_session_details.nil?
|
2248
|
+
raise "Parameter value for 'notebook_session_id' must not be blank" if OCI::Internal::Util.blank_string?(notebook_session_id)
|
2249
|
+
|
2250
|
+
path = '/notebookSessions/{notebookSessionId}'.sub('{notebookSessionId}', notebook_session_id.to_s)
|
2251
|
+
operation_signing_strategy = :standard
|
2252
|
+
|
2253
|
+
# rubocop:disable Style/NegatedIf
|
2254
|
+
# Query Params
|
2255
|
+
query_params = {}
|
2256
|
+
|
2257
|
+
# Header Params
|
2258
|
+
header_params = {}
|
2259
|
+
header_params[:accept] = 'application/json'
|
2260
|
+
header_params[:'content-type'] = 'application/json'
|
2261
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2262
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2263
|
+
# rubocop:enable Style/NegatedIf
|
2264
|
+
|
2265
|
+
post_body = @api_client.object_to_http_body(update_notebook_session_details)
|
2266
|
+
|
2267
|
+
# rubocop:disable Metrics/BlockLength
|
2268
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#update_notebook_session') do
|
2269
|
+
@api_client.call_api(
|
2270
|
+
:PUT,
|
2271
|
+
path,
|
2272
|
+
endpoint,
|
2273
|
+
header_params: header_params,
|
2274
|
+
query_params: query_params,
|
2275
|
+
operation_signing_strategy: operation_signing_strategy,
|
2276
|
+
body: post_body,
|
2277
|
+
return_type: 'OCI::DataScience::Models::NotebookSession'
|
2278
|
+
)
|
2279
|
+
end
|
2280
|
+
# rubocop:enable Metrics/BlockLength
|
2281
|
+
end
|
2282
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2283
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2284
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2285
|
+
|
2286
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2287
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2288
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2289
|
+
|
2290
|
+
|
2291
|
+
# Updates the properties of a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
|
2292
|
+
# @param [String] project_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project.
|
2293
|
+
# @param [OCI::DataScience::Models::UpdateProjectDetails] update_project_details Details for updating a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
|
2294
|
+
# @param [Hash] opts the optional parameters
|
2295
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2296
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2297
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
2298
|
+
# for a resource, set the `if-match` parameter to the value of the
|
2299
|
+
# etag from a previous GET or POST response for that resource.
|
2300
|
+
# The resource will be updated or deleted only if the `etag` you
|
2301
|
+
# provide matches the resource's current `etag` value.
|
2302
|
+
#
|
2303
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2304
|
+
#
|
2305
|
+
# @return [Response] A Response object with data of type {OCI::DataScience::Models::Project Project}
|
2306
|
+
def update_project(project_id, update_project_details, opts = {})
|
2307
|
+
logger.debug 'Calling operation DataScienceClient#update_project.' if logger
|
2308
|
+
|
2309
|
+
raise "Missing the required parameter 'project_id' when calling update_project." if project_id.nil?
|
2310
|
+
raise "Missing the required parameter 'update_project_details' when calling update_project." if update_project_details.nil?
|
2311
|
+
raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
|
2312
|
+
|
2313
|
+
path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
|
2314
|
+
operation_signing_strategy = :standard
|
2315
|
+
|
2316
|
+
# rubocop:disable Style/NegatedIf
|
2317
|
+
# Query Params
|
2318
|
+
query_params = {}
|
2319
|
+
|
2320
|
+
# Header Params
|
2321
|
+
header_params = {}
|
2322
|
+
header_params[:accept] = 'application/json'
|
2323
|
+
header_params[:'content-type'] = 'application/json'
|
2324
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2325
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2326
|
+
# rubocop:enable Style/NegatedIf
|
2327
|
+
|
2328
|
+
post_body = @api_client.object_to_http_body(update_project_details)
|
2329
|
+
|
2330
|
+
# rubocop:disable Metrics/BlockLength
|
2331
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataScienceClient#update_project') do
|
2332
|
+
@api_client.call_api(
|
2333
|
+
:PUT,
|
2334
|
+
path,
|
2335
|
+
endpoint,
|
2336
|
+
header_params: header_params,
|
2337
|
+
query_params: query_params,
|
2338
|
+
operation_signing_strategy: operation_signing_strategy,
|
2339
|
+
body: post_body,
|
2340
|
+
return_type: 'OCI::DataScience::Models::Project'
|
2341
|
+
)
|
2342
|
+
end
|
2343
|
+
# rubocop:enable Metrics/BlockLength
|
2344
|
+
end
|
2345
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2346
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2347
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2348
|
+
|
2349
|
+
private
|
2350
|
+
|
2351
|
+
def applicable_retry_config(opts = {})
|
2352
|
+
return @retry_config unless opts.key?(:retry_config)
|
2353
|
+
|
2354
|
+
opts[:retry_config]
|
2355
|
+
end
|
2356
|
+
end
|
2357
|
+
end
|
2358
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|