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
@@ -1,4 +1,5 @@
|
|
1
|
-
# Copyright (c) 2016,
|
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.
|
2
3
|
|
3
4
|
require 'date'
|
4
5
|
require 'logger'
|
@@ -9,6 +10,7 @@ module OCI
|
|
9
10
|
class ObjectStorage::Models::WorkRequestSummary
|
10
11
|
OPERATION_TYPE_ENUM = [
|
11
12
|
OPERATION_TYPE_COPY_OBJECT = 'COPY_OBJECT'.freeze,
|
13
|
+
OPERATION_TYPE_REENCRYPT = 'REENCRYPT'.freeze,
|
12
14
|
OPERATION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
13
15
|
].freeze
|
14
16
|
|
@@ -34,10 +36,12 @@ module OCI
|
|
34
36
|
# @return [String]
|
35
37
|
attr_accessor :id
|
36
38
|
|
37
|
-
# The OCID of the compartment that contains the work request. Work
|
38
|
-
# the same compartment as the resource the work request affects.
|
39
|
-
#
|
40
|
-
#
|
39
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. Work
|
40
|
+
# requests are scoped to the same compartment as the resource the work request affects.
|
41
|
+
#
|
42
|
+
# If the work request affects multiple resources and those resources are not in the same compartment, the OCID of
|
43
|
+
# the primary resource is used. For example, you can copy an object in a bucket in one compartment to a bucket in
|
44
|
+
# another compartment. In this case, the OCID of the source compartment is used.
|
41
45
|
#
|
42
46
|
# @return [String]
|
43
47
|
attr_accessor :compartment_id
|
@@ -50,19 +54,19 @@ module OCI
|
|
50
54
|
attr_accessor :percent_complete
|
51
55
|
|
52
56
|
# The date and time the work request was created, as described in
|
53
|
-
# [RFC 3339](https://tools.ietf.org/
|
57
|
+
# [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
54
58
|
#
|
55
59
|
# @return [DateTime]
|
56
60
|
attr_accessor :time_accepted
|
57
61
|
|
58
62
|
# The date and time the work request was started, as described in
|
59
|
-
# [RFC 3339](https://tools.ietf.org/
|
63
|
+
# [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
60
64
|
#
|
61
65
|
# @return [DateTime]
|
62
66
|
attr_accessor :time_started
|
63
67
|
|
64
68
|
# The date and time the work request was finished, as described in
|
65
|
-
# [RFC 3339](https://tools.ietf.org/
|
69
|
+
# [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
66
70
|
#
|
67
71
|
# @return [DateTime]
|
68
72
|
attr_accessor :time_finished
|
@@ -1,4 +1,5 @@
|
|
1
|
-
# Copyright (c) 2016,
|
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.
|
2
3
|
|
3
4
|
module OCI
|
4
5
|
module ObjectStorage
|
@@ -18,6 +19,9 @@ require 'oci/object_storage/models/copy_object_details'
|
|
18
19
|
require 'oci/object_storage/models/create_bucket_details'
|
19
20
|
require 'oci/object_storage/models/create_multipart_upload_details'
|
20
21
|
require 'oci/object_storage/models/create_preauthenticated_request_details'
|
22
|
+
require 'oci/object_storage/models/create_replication_policy_details'
|
23
|
+
require 'oci/object_storage/models/create_retention_rule_details'
|
24
|
+
require 'oci/object_storage/models/duration'
|
21
25
|
require 'oci/object_storage/models/list_objects'
|
22
26
|
require 'oci/object_storage/models/multipart_upload'
|
23
27
|
require 'oci/object_storage/models/multipart_upload_part_summary'
|
@@ -26,14 +30,24 @@ require 'oci/object_storage/models/object_lifecycle_policy'
|
|
26
30
|
require 'oci/object_storage/models/object_lifecycle_rule'
|
27
31
|
require 'oci/object_storage/models/object_name_filter'
|
28
32
|
require 'oci/object_storage/models/object_summary'
|
33
|
+
require 'oci/object_storage/models/object_version_collection'
|
34
|
+
require 'oci/object_storage/models/object_version_summary'
|
29
35
|
require 'oci/object_storage/models/pattern_details'
|
30
36
|
require 'oci/object_storage/models/preauthenticated_request'
|
31
37
|
require 'oci/object_storage/models/preauthenticated_request_summary'
|
32
38
|
require 'oci/object_storage/models/put_object_lifecycle_policy_details'
|
33
39
|
require 'oci/object_storage/models/rename_object_details'
|
40
|
+
require 'oci/object_storage/models/replication_policy'
|
41
|
+
require 'oci/object_storage/models/replication_policy_summary'
|
42
|
+
require 'oci/object_storage/models/replication_source'
|
34
43
|
require 'oci/object_storage/models/restore_objects_details'
|
44
|
+
require 'oci/object_storage/models/retention_rule'
|
45
|
+
require 'oci/object_storage/models/retention_rule_collection'
|
46
|
+
require 'oci/object_storage/models/retention_rule_details'
|
47
|
+
require 'oci/object_storage/models/retention_rule_summary'
|
35
48
|
require 'oci/object_storage/models/update_bucket_details'
|
36
49
|
require 'oci/object_storage/models/update_namespace_metadata_details'
|
50
|
+
require 'oci/object_storage/models/update_retention_rule_details'
|
37
51
|
require 'oci/object_storage/models/work_request'
|
38
52
|
require 'oci/object_storage/models/work_request_error'
|
39
53
|
require 'oci/object_storage/models/work_request_log_entry'
|
@@ -1,4 +1,5 @@
|
|
1
|
-
# Copyright (c) 2016,
|
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.
|
2
3
|
|
3
4
|
require 'uri'
|
4
5
|
require 'logger'
|
@@ -6,6 +7,8 @@ require 'logger'
|
|
6
7
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
8
|
module OCI
|
8
9
|
# Common set of Object Storage and Archive Storage APIs for managing buckets, objects, and related resources.
|
10
|
+
# For more information, see [Overview of Object Storage](/Content/Object/Concepts/objectstorageoverview.htm) and
|
11
|
+
# [Overview of Archive Storage](/Content/Archive/Concepts/archivestorageoverview.htm).
|
9
12
|
class ObjectStorage::ObjectStorageClient
|
10
13
|
# Client used to make HTTP requests.
|
11
14
|
# @return [OCI::ApiClient]
|
@@ -50,16 +53,14 @@ module OCI
|
|
50
53
|
# apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
51
54
|
# will not perform any retries
|
52
55
|
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
53
|
-
# If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (
|
56
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
|
54
57
|
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
55
58
|
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
56
59
|
# pass it to this constructor.
|
57
60
|
#
|
58
61
|
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
59
62
|
# so try and load the config from the default file.
|
60
|
-
config
|
61
|
-
config ||= OCI::Config.new if signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
62
|
-
config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
63
|
+
config = OCI::Config.validate_and_build_config_with_signer(config, signer)
|
63
64
|
|
64
65
|
if signer.nil?
|
65
66
|
signer = OCI::Signer.new(
|
@@ -315,6 +316,30 @@ module OCI
|
|
315
316
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
316
317
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
317
318
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
319
|
+
# @option opts [String] :opc_sse_customer_algorithm The optional header that specifies \"AES256\" as the encryption algorithm. For more information, see
|
320
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
321
|
+
#
|
322
|
+
# @option opts [String] :opc_sse_customer_key The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
|
323
|
+
# decrypt the data. For more information, see
|
324
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
325
|
+
#
|
326
|
+
# @option opts [String] :opc_sse_customer_key_sha256 The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
|
327
|
+
# value is used to check the integrity of the encryption key. For more information, see
|
328
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
329
|
+
#
|
330
|
+
# @option opts [String] :opc_source_sse_customer_algorithm The optional header that specifies \"AES256\" as the encryption algorithm to use to decrypt the source
|
331
|
+
# object. For more information, see
|
332
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
333
|
+
#
|
334
|
+
# @option opts [String] :opc_source_sse_customer_key The optional header that specifies the base64-encoded 256-bit encryption key to use to decrypt
|
335
|
+
# the source object. For more information, see
|
336
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
337
|
+
#
|
338
|
+
# @option opts [String] :opc_source_sse_customer_key_sha256 The optional header that specifies the base64-encoded SHA256 hash of the encryption key used to
|
339
|
+
# decrypt the source object. This value is used to check the integrity of the encryption key. For
|
340
|
+
# more information, see
|
341
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
342
|
+
#
|
318
343
|
# @return [Response] A Response object with data of type nil
|
319
344
|
def copy_object(namespace_name, bucket_name, copy_object_details, opts = {})
|
320
345
|
logger.debug 'Calling operation ObjectStorageClient#copy_object.' if logger
|
@@ -337,6 +362,12 @@ module OCI
|
|
337
362
|
header_params[:accept] = 'application/json'
|
338
363
|
header_params[:'content-type'] = 'application/json'
|
339
364
|
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
365
|
+
header_params[:'opc-sse-customer-algorithm'] = opts[:opc_sse_customer_algorithm] if opts[:opc_sse_customer_algorithm]
|
366
|
+
header_params[:'opc-sse-customer-key'] = opts[:opc_sse_customer_key] if opts[:opc_sse_customer_key]
|
367
|
+
header_params[:'opc-sse-customer-key-sha256'] = opts[:opc_sse_customer_key_sha256] if opts[:opc_sse_customer_key_sha256]
|
368
|
+
header_params[:'opc-source-sse-customer-algorithm'] = opts[:opc_source_sse_customer_algorithm] if opts[:opc_source_sse_customer_algorithm]
|
369
|
+
header_params[:'opc-source-sse-customer-key'] = opts[:opc_source_sse_customer_key] if opts[:opc_source_sse_customer_key]
|
370
|
+
header_params[:'opc-source-sse-customer-key-sha256'] = opts[:opc_source_sse_customer_key_sha256] if opts[:opc_source_sse_customer_key_sha256]
|
340
371
|
# rubocop:enable Style/NegatedIf
|
341
372
|
|
342
373
|
post_body = @api_client.object_to_http_body(copy_object_details)
|
@@ -427,7 +458,7 @@ module OCI
|
|
427
458
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
428
459
|
# Example: `my-new-bucket1`
|
429
460
|
#
|
430
|
-
# @param [OCI::ObjectStorage::Models::CreateMultipartUploadDetails] create_multipart_upload_details Request object for creating a
|
461
|
+
# @param [OCI::ObjectStorage::Models::CreateMultipartUploadDetails] create_multipart_upload_details Request object for creating a multipart upload.
|
431
462
|
# @param [Hash] opts the optional parameters
|
432
463
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
433
464
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
@@ -439,6 +470,17 @@ module OCI
|
|
439
470
|
# part, this is the entity tag of the target part.
|
440
471
|
#
|
441
472
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
473
|
+
# @option opts [String] :opc_sse_customer_algorithm The optional header that specifies \"AES256\" as the encryption algorithm. For more information, see
|
474
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
475
|
+
#
|
476
|
+
# @option opts [String] :opc_sse_customer_key The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
|
477
|
+
# decrypt the data. For more information, see
|
478
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
479
|
+
#
|
480
|
+
# @option opts [String] :opc_sse_customer_key_sha256 The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
|
481
|
+
# value is used to check the integrity of the encryption key. For more information, see
|
482
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
483
|
+
#
|
442
484
|
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::MultipartUpload MultipartUpload}
|
443
485
|
def create_multipart_upload(namespace_name, bucket_name, create_multipart_upload_details, opts = {})
|
444
486
|
logger.debug 'Calling operation ObjectStorageClient#create_multipart_upload.' if logger
|
@@ -463,6 +505,9 @@ module OCI
|
|
463
505
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
464
506
|
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
465
507
|
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
508
|
+
header_params[:'opc-sse-customer-algorithm'] = opts[:opc_sse_customer_algorithm] if opts[:opc_sse_customer_algorithm]
|
509
|
+
header_params[:'opc-sse-customer-key'] = opts[:opc_sse_customer_key] if opts[:opc_sse_customer_key]
|
510
|
+
header_params[:'opc-sse-customer-key-sha256'] = opts[:opc_sse_customer_key_sha256] if opts[:opc_sse_customer_key_sha256]
|
466
511
|
# rubocop:enable Style/NegatedIf
|
467
512
|
|
468
513
|
post_body = @api_client.object_to_http_body(create_multipart_upload_details)
|
@@ -552,9 +597,133 @@ module OCI
|
|
552
597
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
553
598
|
|
554
599
|
|
600
|
+
# Creates a replication policy for the specified bucket.
|
601
|
+
#
|
602
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
603
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
604
|
+
# Example: `my-new-bucket1`
|
605
|
+
#
|
606
|
+
# @param [OCI::ObjectStorage::Models::CreateReplicationPolicyDetails] create_replication_policy_details The replication policy.
|
607
|
+
# @param [Hash] opts the optional parameters
|
608
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
609
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
610
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
611
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::ReplicationPolicy ReplicationPolicy}
|
612
|
+
def create_replication_policy(namespace_name, bucket_name, create_replication_policy_details, opts = {})
|
613
|
+
logger.debug 'Calling operation ObjectStorageClient#create_replication_policy.' if logger
|
614
|
+
|
615
|
+
raise "Missing the required parameter 'namespace_name' when calling create_replication_policy." if namespace_name.nil?
|
616
|
+
raise "Missing the required parameter 'bucket_name' when calling create_replication_policy." if bucket_name.nil?
|
617
|
+
raise "Missing the required parameter 'create_replication_policy_details' when calling create_replication_policy." if create_replication_policy_details.nil?
|
618
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
619
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
620
|
+
|
621
|
+
path = '/n/{namespaceName}/b/{bucketName}/replicationPolicies'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
622
|
+
operation_signing_strategy = :standard
|
623
|
+
|
624
|
+
# rubocop:disable Style/NegatedIf
|
625
|
+
# Query Params
|
626
|
+
query_params = {}
|
627
|
+
|
628
|
+
# Header Params
|
629
|
+
header_params = {}
|
630
|
+
header_params[:accept] = 'application/json'
|
631
|
+
header_params[:'content-type'] = 'application/json'
|
632
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
633
|
+
# rubocop:enable Style/NegatedIf
|
634
|
+
|
635
|
+
post_body = @api_client.object_to_http_body(create_replication_policy_details)
|
636
|
+
|
637
|
+
# rubocop:disable Metrics/BlockLength
|
638
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#create_replication_policy') do
|
639
|
+
@api_client.call_api(
|
640
|
+
:POST,
|
641
|
+
path,
|
642
|
+
endpoint,
|
643
|
+
header_params: header_params,
|
644
|
+
query_params: query_params,
|
645
|
+
operation_signing_strategy: operation_signing_strategy,
|
646
|
+
body: post_body,
|
647
|
+
return_type: 'OCI::ObjectStorage::Models::ReplicationPolicy'
|
648
|
+
)
|
649
|
+
end
|
650
|
+
# rubocop:enable Metrics/BlockLength
|
651
|
+
end
|
652
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
653
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
654
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
655
|
+
|
656
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
657
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
658
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
659
|
+
|
660
|
+
|
661
|
+
# Creates a new retention rule in the specified bucket. The new rule will take effect typically within 30 seconds.
|
662
|
+
# Note that a maximum of 100 rules are supported on a bucket.
|
663
|
+
#
|
664
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
665
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
666
|
+
# Example: `my-new-bucket1`
|
667
|
+
#
|
668
|
+
# @param [OCI::ObjectStorage::Models::CreateRetentionRuleDetails] create_retention_rule_details The retention rule to create for the bucket.
|
669
|
+
# @param [Hash] opts the optional parameters
|
670
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
671
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
672
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
673
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::RetentionRule RetentionRule}
|
674
|
+
def create_retention_rule(namespace_name, bucket_name, create_retention_rule_details, opts = {})
|
675
|
+
logger.debug 'Calling operation ObjectStorageClient#create_retention_rule.' if logger
|
676
|
+
|
677
|
+
raise "Missing the required parameter 'namespace_name' when calling create_retention_rule." if namespace_name.nil?
|
678
|
+
raise "Missing the required parameter 'bucket_name' when calling create_retention_rule." if bucket_name.nil?
|
679
|
+
raise "Missing the required parameter 'create_retention_rule_details' when calling create_retention_rule." if create_retention_rule_details.nil?
|
680
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
681
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
682
|
+
|
683
|
+
path = '/n/{namespaceName}/b/{bucketName}/retentionRules'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
684
|
+
operation_signing_strategy = :standard
|
685
|
+
|
686
|
+
# rubocop:disable Style/NegatedIf
|
687
|
+
# Query Params
|
688
|
+
query_params = {}
|
689
|
+
|
690
|
+
# Header Params
|
691
|
+
header_params = {}
|
692
|
+
header_params[:accept] = 'application/json'
|
693
|
+
header_params[:'content-type'] = 'application/json'
|
694
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
695
|
+
# rubocop:enable Style/NegatedIf
|
696
|
+
|
697
|
+
post_body = @api_client.object_to_http_body(create_retention_rule_details)
|
698
|
+
|
699
|
+
# rubocop:disable Metrics/BlockLength
|
700
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#create_retention_rule') do
|
701
|
+
@api_client.call_api(
|
702
|
+
:POST,
|
703
|
+
path,
|
704
|
+
endpoint,
|
705
|
+
header_params: header_params,
|
706
|
+
query_params: query_params,
|
707
|
+
operation_signing_strategy: operation_signing_strategy,
|
708
|
+
body: post_body,
|
709
|
+
return_type: 'OCI::ObjectStorage::Models::RetentionRule'
|
710
|
+
)
|
711
|
+
end
|
712
|
+
# rubocop:enable Metrics/BlockLength
|
713
|
+
end
|
714
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
715
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
716
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
717
|
+
|
718
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
719
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
720
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
721
|
+
|
722
|
+
|
555
723
|
# Deletes a bucket if the bucket is already empty. If the bucket is not empty, use
|
556
|
-
# {#delete_object delete_object} first.
|
557
|
-
# delete a bucket that has a
|
724
|
+
# {#delete_object delete_object} first. In addition,
|
725
|
+
# you cannot delete a bucket that has a multipart upload in progress or a pre-authenticated
|
726
|
+
# request associated with that bucket.
|
558
727
|
#
|
559
728
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
560
729
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
@@ -632,6 +801,7 @@ module OCI
|
|
632
801
|
# For uploading a part, this is the entity tag of the target part.
|
633
802
|
#
|
634
803
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
804
|
+
# @option opts [String] :version_id VersionId used to identify a particular version of the object
|
635
805
|
# @return [Response] A Response object with data of type nil
|
636
806
|
def delete_object(namespace_name, bucket_name, object_name, opts = {})
|
637
807
|
logger.debug 'Calling operation ObjectStorageClient#delete_object.' if logger
|
@@ -649,6 +819,7 @@ module OCI
|
|
649
819
|
# rubocop:disable Style/NegatedIf
|
650
820
|
# Query Params
|
651
821
|
query_params = {}
|
822
|
+
query_params[:versionId] = opts[:version_id] if opts[:version_id]
|
652
823
|
|
653
824
|
# Header Params
|
654
825
|
header_params = {}
|
@@ -807,6 +978,131 @@ module OCI
|
|
807
978
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
808
979
|
|
809
980
|
|
981
|
+
# Deletes the replication policy associated with the source bucket.
|
982
|
+
#
|
983
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
984
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
985
|
+
# Example: `my-new-bucket1`
|
986
|
+
#
|
987
|
+
# @param [String] replication_id The ID of the replication policy.
|
988
|
+
# @param [Hash] opts the optional parameters
|
989
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
990
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
991
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
992
|
+
# @return [Response] A Response object with data of type nil
|
993
|
+
def delete_replication_policy(namespace_name, bucket_name, replication_id, opts = {})
|
994
|
+
logger.debug 'Calling operation ObjectStorageClient#delete_replication_policy.' if logger
|
995
|
+
|
996
|
+
raise "Missing the required parameter 'namespace_name' when calling delete_replication_policy." if namespace_name.nil?
|
997
|
+
raise "Missing the required parameter 'bucket_name' when calling delete_replication_policy." if bucket_name.nil?
|
998
|
+
raise "Missing the required parameter 'replication_id' when calling delete_replication_policy." if replication_id.nil?
|
999
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1000
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1001
|
+
raise "Parameter value for 'replication_id' must not be blank" if OCI::Internal::Util.blank_string?(replication_id)
|
1002
|
+
|
1003
|
+
path = '/n/{namespaceName}/b/{bucketName}/replicationPolicies/{replicationId}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{replicationId}', replication_id.to_s)
|
1004
|
+
operation_signing_strategy = :standard
|
1005
|
+
|
1006
|
+
# rubocop:disable Style/NegatedIf
|
1007
|
+
# Query Params
|
1008
|
+
query_params = {}
|
1009
|
+
|
1010
|
+
# Header Params
|
1011
|
+
header_params = {}
|
1012
|
+
header_params[:accept] = 'application/json'
|
1013
|
+
header_params[:'content-type'] = 'application/json'
|
1014
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
1015
|
+
# rubocop:enable Style/NegatedIf
|
1016
|
+
|
1017
|
+
post_body = nil
|
1018
|
+
|
1019
|
+
# rubocop:disable Metrics/BlockLength
|
1020
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#delete_replication_policy') do
|
1021
|
+
@api_client.call_api(
|
1022
|
+
:DELETE,
|
1023
|
+
path,
|
1024
|
+
endpoint,
|
1025
|
+
header_params: header_params,
|
1026
|
+
query_params: query_params,
|
1027
|
+
operation_signing_strategy: operation_signing_strategy,
|
1028
|
+
body: post_body
|
1029
|
+
)
|
1030
|
+
end
|
1031
|
+
# rubocop:enable Metrics/BlockLength
|
1032
|
+
end
|
1033
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1034
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1035
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1036
|
+
|
1037
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1038
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1039
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1040
|
+
|
1041
|
+
|
1042
|
+
# Deletes the specified rule. The deletion takes effect typically within 30 seconds.
|
1043
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1044
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
1045
|
+
# Example: `my-new-bucket1`
|
1046
|
+
#
|
1047
|
+
# @param [String] retention_rule_id The ID of the retention rule.
|
1048
|
+
# @param [Hash] opts the optional parameters
|
1049
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1050
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1051
|
+
# @option opts [String] :if_match The entity tag (ETag) to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
|
1052
|
+
# For uploading a part, this is the entity tag of the target part.
|
1053
|
+
#
|
1054
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1055
|
+
# @return [Response] A Response object with data of type nil
|
1056
|
+
def delete_retention_rule(namespace_name, bucket_name, retention_rule_id, opts = {})
|
1057
|
+
logger.debug 'Calling operation ObjectStorageClient#delete_retention_rule.' if logger
|
1058
|
+
|
1059
|
+
raise "Missing the required parameter 'namespace_name' when calling delete_retention_rule." if namespace_name.nil?
|
1060
|
+
raise "Missing the required parameter 'bucket_name' when calling delete_retention_rule." if bucket_name.nil?
|
1061
|
+
raise "Missing the required parameter 'retention_rule_id' when calling delete_retention_rule." if retention_rule_id.nil?
|
1062
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1063
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1064
|
+
raise "Parameter value for 'retention_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(retention_rule_id)
|
1065
|
+
|
1066
|
+
path = '/n/{namespaceName}/b/{bucketName}/retentionRules/{retentionRuleId}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{retentionRuleId}', retention_rule_id.to_s)
|
1067
|
+
operation_signing_strategy = :standard
|
1068
|
+
|
1069
|
+
# rubocop:disable Style/NegatedIf
|
1070
|
+
# Query Params
|
1071
|
+
query_params = {}
|
1072
|
+
|
1073
|
+
# Header Params
|
1074
|
+
header_params = {}
|
1075
|
+
header_params[:accept] = 'application/json'
|
1076
|
+
header_params[:'content-type'] = 'application/json'
|
1077
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1078
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
1079
|
+
# rubocop:enable Style/NegatedIf
|
1080
|
+
|
1081
|
+
post_body = nil
|
1082
|
+
|
1083
|
+
# rubocop:disable Metrics/BlockLength
|
1084
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#delete_retention_rule') do
|
1085
|
+
@api_client.call_api(
|
1086
|
+
:DELETE,
|
1087
|
+
path,
|
1088
|
+
endpoint,
|
1089
|
+
header_params: header_params,
|
1090
|
+
query_params: query_params,
|
1091
|
+
operation_signing_strategy: operation_signing_strategy,
|
1092
|
+
body: post_body
|
1093
|
+
)
|
1094
|
+
end
|
1095
|
+
# rubocop:enable Metrics/BlockLength
|
1096
|
+
end
|
1097
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1098
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1099
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1100
|
+
|
1101
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1102
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1103
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1104
|
+
|
1105
|
+
|
810
1106
|
# Gets the current representation of the given bucket in the given Object Storage namespace.
|
811
1107
|
#
|
812
1108
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
@@ -903,8 +1199,8 @@ module OCI
|
|
903
1199
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
904
1200
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
905
1201
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
906
|
-
# @option opts [String] :compartment_id This is an optional field representing the tenancy OCID or the compartment
|
907
|
-
#
|
1202
|
+
# @option opts [String] :compartment_id This is an optional field representing either the tenancy [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) or the compartment
|
1203
|
+
# [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) within the tenancy whose Object Storage namespace is to be retrieved.
|
908
1204
|
#
|
909
1205
|
# @return [Response] A Response object with data of type String
|
910
1206
|
def get_namespace(opts = {})
|
@@ -955,7 +1251,7 @@ module OCI
|
|
955
1251
|
# Gets the metadata for the Object Storage namespace, which contains defaultS3CompartmentId and
|
956
1252
|
# defaultSwiftCompartmentId.
|
957
1253
|
#
|
958
|
-
# Any user with the
|
1254
|
+
# Any user with the OBJECTSTORAGE_NAMESPACE_READ permission will be able to see the current metadata. If you are
|
959
1255
|
# not authorized, talk to an administrator. If you are an administrator who needs to write policies
|
960
1256
|
# to give users access, see
|
961
1257
|
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
@@ -1024,6 +1320,7 @@ module OCI
|
|
1024
1320
|
# @param [Hash] opts the optional parameters
|
1025
1321
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1026
1322
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1323
|
+
# @option opts [String] :version_id VersionId used to identify a particular version of the object
|
1027
1324
|
# @option opts [String] :if_match The entity tag (ETag) to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
|
1028
1325
|
# For uploading a part, this is the entity tag of the target part.
|
1029
1326
|
#
|
@@ -1032,9 +1329,20 @@ module OCI
|
|
1032
1329
|
# part, this is the entity tag of the target part.
|
1033
1330
|
#
|
1034
1331
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1035
|
-
# @option opts [String] :range Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/
|
1332
|
+
# @option opts [String] :range Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/html/rfc7233#section-2.1).
|
1036
1333
|
# Note that only a single range of bytes is supported.
|
1037
1334
|
#
|
1335
|
+
# @option opts [String] :opc_sse_customer_algorithm The optional header that specifies \"AES256\" as the encryption algorithm. For more information, see
|
1336
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
1337
|
+
#
|
1338
|
+
# @option opts [String] :opc_sse_customer_key The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
|
1339
|
+
# decrypt the data. For more information, see
|
1340
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
1341
|
+
#
|
1342
|
+
# @option opts [String] :opc_sse_customer_key_sha256 The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
|
1343
|
+
# value is used to check the integrity of the encryption key. For more information, see
|
1344
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
1345
|
+
#
|
1038
1346
|
# @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
|
1039
1347
|
# @option [Block] &block Streaming http body to the block
|
1040
1348
|
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
@@ -1054,6 +1362,7 @@ module OCI
|
|
1054
1362
|
# rubocop:disable Style/NegatedIf
|
1055
1363
|
# Query Params
|
1056
1364
|
query_params = {}
|
1365
|
+
query_params[:versionId] = opts[:version_id] if opts[:version_id]
|
1057
1366
|
|
1058
1367
|
# Header Params
|
1059
1368
|
header_params = {}
|
@@ -1065,6 +1374,9 @@ module OCI
|
|
1065
1374
|
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
1066
1375
|
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
1067
1376
|
header_params[:range] = opts[:range] if opts[:range]
|
1377
|
+
header_params[:'opc-sse-customer-algorithm'] = opts[:opc_sse_customer_algorithm] if opts[:opc_sse_customer_algorithm]
|
1378
|
+
header_params[:'opc-sse-customer-key'] = opts[:opc_sse_customer_key] if opts[:opc_sse_customer_key]
|
1379
|
+
header_params[:'opc-sse-customer-key-sha256'] = opts[:opc_sse_customer_key_sha256] if opts[:opc_sse_customer_key_sha256]
|
1068
1380
|
# rubocop:enable Style/NegatedIf
|
1069
1381
|
|
1070
1382
|
post_body = nil
|
@@ -1257,20 +1569,29 @@ module OCI
|
|
1257
1569
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1258
1570
|
|
1259
1571
|
|
1260
|
-
#
|
1261
|
-
#
|
1572
|
+
# Get the replication policy.
|
1573
|
+
#
|
1574
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1575
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
1576
|
+
# Example: `my-new-bucket1`
|
1577
|
+
#
|
1578
|
+
# @param [String] replication_id The ID of the replication policy.
|
1262
1579
|
# @param [Hash] opts the optional parameters
|
1263
1580
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1264
1581
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1265
1582
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1266
|
-
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::
|
1267
|
-
def
|
1268
|
-
logger.debug 'Calling operation ObjectStorageClient#
|
1583
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::ReplicationPolicy ReplicationPolicy}
|
1584
|
+
def get_replication_policy(namespace_name, bucket_name, replication_id, opts = {})
|
1585
|
+
logger.debug 'Calling operation ObjectStorageClient#get_replication_policy.' if logger
|
1269
1586
|
|
1270
|
-
raise "Missing the required parameter '
|
1271
|
-
raise "
|
1587
|
+
raise "Missing the required parameter 'namespace_name' when calling get_replication_policy." if namespace_name.nil?
|
1588
|
+
raise "Missing the required parameter 'bucket_name' when calling get_replication_policy." if bucket_name.nil?
|
1589
|
+
raise "Missing the required parameter 'replication_id' when calling get_replication_policy." if replication_id.nil?
|
1590
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1591
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1592
|
+
raise "Parameter value for 'replication_id' must not be blank" if OCI::Internal::Util.blank_string?(replication_id)
|
1272
1593
|
|
1273
|
-
path = '/
|
1594
|
+
path = '/n/{namespaceName}/b/{bucketName}/replicationPolicies/{replicationId}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{replicationId}', replication_id.to_s)
|
1274
1595
|
operation_signing_strategy = :standard
|
1275
1596
|
|
1276
1597
|
# rubocop:disable Style/NegatedIf
|
@@ -1287,7 +1608,7 @@ module OCI
|
|
1287
1608
|
post_body = nil
|
1288
1609
|
|
1289
1610
|
# rubocop:disable Metrics/BlockLength
|
1290
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
1611
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#get_replication_policy') do
|
1291
1612
|
@api_client.call_api(
|
1292
1613
|
:GET,
|
1293
1614
|
path,
|
@@ -1296,7 +1617,7 @@ module OCI
|
|
1296
1617
|
query_params: query_params,
|
1297
1618
|
operation_signing_strategy: operation_signing_strategy,
|
1298
1619
|
body: post_body,
|
1299
|
-
return_type: 'OCI::ObjectStorage::Models::
|
1620
|
+
return_type: 'OCI::ObjectStorage::Models::ReplicationPolicy'
|
1300
1621
|
)
|
1301
1622
|
end
|
1302
1623
|
# rubocop:enable Metrics/BlockLength
|
@@ -1310,33 +1631,28 @@ module OCI
|
|
1310
1631
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1311
1632
|
|
1312
1633
|
|
1313
|
-
#
|
1314
|
-
#
|
1634
|
+
# Get the specified retention rule.
|
1315
1635
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1316
1636
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
1317
1637
|
# Example: `my-new-bucket1`
|
1318
1638
|
#
|
1639
|
+
# @param [String] retention_rule_id The ID of the retention rule.
|
1319
1640
|
# @param [Hash] opts the optional parameters
|
1320
1641
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1321
1642
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1322
|
-
# @option opts [String] :if_match The entity tag (ETag) to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
|
1323
|
-
# For uploading a part, this is the entity tag of the target part.
|
1324
|
-
#
|
1325
|
-
# @option opts [String] :if_none_match The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should fail if the object
|
1326
|
-
# already exists. For creating and committing a multipart upload, this is the entity tag of the target object. For uploading a
|
1327
|
-
# part, this is the entity tag of the target part.
|
1328
|
-
#
|
1329
1643
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1330
|
-
# @return [Response] A Response object with data of type
|
1331
|
-
def
|
1332
|
-
logger.debug 'Calling operation ObjectStorageClient#
|
1644
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::RetentionRule RetentionRule}
|
1645
|
+
def get_retention_rule(namespace_name, bucket_name, retention_rule_id, opts = {})
|
1646
|
+
logger.debug 'Calling operation ObjectStorageClient#get_retention_rule.' if logger
|
1333
1647
|
|
1334
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
1335
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
1648
|
+
raise "Missing the required parameter 'namespace_name' when calling get_retention_rule." if namespace_name.nil?
|
1649
|
+
raise "Missing the required parameter 'bucket_name' when calling get_retention_rule." if bucket_name.nil?
|
1650
|
+
raise "Missing the required parameter 'retention_rule_id' when calling get_retention_rule." if retention_rule_id.nil?
|
1336
1651
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1337
1652
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1653
|
+
raise "Parameter value for 'retention_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(retention_rule_id)
|
1338
1654
|
|
1339
|
-
path = '/n/{namespaceName}/b/{bucketName}/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
1655
|
+
path = '/n/{namespaceName}/b/{bucketName}/retentionRules/{retentionRuleId}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{retentionRuleId}', retention_rule_id.to_s)
|
1340
1656
|
operation_signing_strategy = :standard
|
1341
1657
|
|
1342
1658
|
# rubocop:disable Style/NegatedIf
|
@@ -1347,23 +1663,22 @@ module OCI
|
|
1347
1663
|
header_params = {}
|
1348
1664
|
header_params[:accept] = 'application/json'
|
1349
1665
|
header_params[:'content-type'] = 'application/json'
|
1350
|
-
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1351
|
-
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
1352
1666
|
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
1353
1667
|
# rubocop:enable Style/NegatedIf
|
1354
1668
|
|
1355
1669
|
post_body = nil
|
1356
1670
|
|
1357
1671
|
# rubocop:disable Metrics/BlockLength
|
1358
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
1672
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#get_retention_rule') do
|
1359
1673
|
@api_client.call_api(
|
1360
|
-
:
|
1674
|
+
:GET,
|
1361
1675
|
path,
|
1362
1676
|
endpoint,
|
1363
1677
|
header_params: header_params,
|
1364
1678
|
query_params: query_params,
|
1365
1679
|
operation_signing_strategy: operation_signing_strategy,
|
1366
|
-
body: post_body
|
1680
|
+
body: post_body,
|
1681
|
+
return_type: 'OCI::ObjectStorage::Models::RetentionRule'
|
1367
1682
|
)
|
1368
1683
|
end
|
1369
1684
|
# rubocop:enable Metrics/BlockLength
|
@@ -1377,8 +1692,128 @@ module OCI
|
|
1377
1692
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1378
1693
|
|
1379
1694
|
|
1380
|
-
# Gets the
|
1381
|
-
#
|
1695
|
+
# Gets the status of the work request for the given ID.
|
1696
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
1697
|
+
# @param [Hash] opts the optional parameters
|
1698
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1699
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1700
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1701
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::WorkRequest WorkRequest}
|
1702
|
+
def get_work_request(work_request_id, opts = {})
|
1703
|
+
logger.debug 'Calling operation ObjectStorageClient#get_work_request.' if logger
|
1704
|
+
|
1705
|
+
raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
|
1706
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
1707
|
+
|
1708
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
1709
|
+
operation_signing_strategy = :standard
|
1710
|
+
|
1711
|
+
# rubocop:disable Style/NegatedIf
|
1712
|
+
# Query Params
|
1713
|
+
query_params = {}
|
1714
|
+
|
1715
|
+
# Header Params
|
1716
|
+
header_params = {}
|
1717
|
+
header_params[:accept] = 'application/json'
|
1718
|
+
header_params[:'content-type'] = 'application/json'
|
1719
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
1720
|
+
# rubocop:enable Style/NegatedIf
|
1721
|
+
|
1722
|
+
post_body = nil
|
1723
|
+
|
1724
|
+
# rubocop:disable Metrics/BlockLength
|
1725
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#get_work_request') do
|
1726
|
+
@api_client.call_api(
|
1727
|
+
:GET,
|
1728
|
+
path,
|
1729
|
+
endpoint,
|
1730
|
+
header_params: header_params,
|
1731
|
+
query_params: query_params,
|
1732
|
+
operation_signing_strategy: operation_signing_strategy,
|
1733
|
+
body: post_body,
|
1734
|
+
return_type: 'OCI::ObjectStorage::Models::WorkRequest'
|
1735
|
+
)
|
1736
|
+
end
|
1737
|
+
# rubocop:enable Metrics/BlockLength
|
1738
|
+
end
|
1739
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1740
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1741
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1742
|
+
|
1743
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1744
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1745
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1746
|
+
|
1747
|
+
|
1748
|
+
# Efficiently checks to see if a bucket exists and gets the current entity tag (ETag) for the bucket.
|
1749
|
+
#
|
1750
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1751
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
1752
|
+
# Example: `my-new-bucket1`
|
1753
|
+
#
|
1754
|
+
# @param [Hash] opts the optional parameters
|
1755
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1756
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1757
|
+
# @option opts [String] :if_match The entity tag (ETag) to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
|
1758
|
+
# For uploading a part, this is the entity tag of the target part.
|
1759
|
+
#
|
1760
|
+
# @option opts [String] :if_none_match The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should fail if the object
|
1761
|
+
# already exists. For creating and committing a multipart upload, this is the entity tag of the target object. For uploading a
|
1762
|
+
# part, this is the entity tag of the target part.
|
1763
|
+
#
|
1764
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1765
|
+
# @return [Response] A Response object with data of type nil
|
1766
|
+
def head_bucket(namespace_name, bucket_name, opts = {})
|
1767
|
+
logger.debug 'Calling operation ObjectStorageClient#head_bucket.' if logger
|
1768
|
+
|
1769
|
+
raise "Missing the required parameter 'namespace_name' when calling head_bucket." if namespace_name.nil?
|
1770
|
+
raise "Missing the required parameter 'bucket_name' when calling head_bucket." if bucket_name.nil?
|
1771
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1772
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1773
|
+
|
1774
|
+
path = '/n/{namespaceName}/b/{bucketName}/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
1775
|
+
operation_signing_strategy = :standard
|
1776
|
+
|
1777
|
+
# rubocop:disable Style/NegatedIf
|
1778
|
+
# Query Params
|
1779
|
+
query_params = {}
|
1780
|
+
|
1781
|
+
# Header Params
|
1782
|
+
header_params = {}
|
1783
|
+
header_params[:accept] = 'application/json'
|
1784
|
+
header_params[:'content-type'] = 'application/json'
|
1785
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1786
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
1787
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
1788
|
+
# rubocop:enable Style/NegatedIf
|
1789
|
+
|
1790
|
+
post_body = nil
|
1791
|
+
|
1792
|
+
# rubocop:disable Metrics/BlockLength
|
1793
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#head_bucket') do
|
1794
|
+
@api_client.call_api(
|
1795
|
+
:HEAD,
|
1796
|
+
path,
|
1797
|
+
endpoint,
|
1798
|
+
header_params: header_params,
|
1799
|
+
query_params: query_params,
|
1800
|
+
operation_signing_strategy: operation_signing_strategy,
|
1801
|
+
body: post_body
|
1802
|
+
)
|
1803
|
+
end
|
1804
|
+
# rubocop:enable Metrics/BlockLength
|
1805
|
+
end
|
1806
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1807
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1808
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1809
|
+
|
1810
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1811
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1812
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1813
|
+
|
1814
|
+
|
1815
|
+
# Gets the user-defined metadata and entity tag (ETag) for an object.
|
1816
|
+
#
|
1382
1817
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1383
1818
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
1384
1819
|
# Example: `my-new-bucket1`
|
@@ -1389,6 +1824,7 @@ module OCI
|
|
1389
1824
|
# @param [Hash] opts the optional parameters
|
1390
1825
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1391
1826
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1827
|
+
# @option opts [String] :version_id VersionId used to identify a particular version of the object
|
1392
1828
|
# @option opts [String] :if_match The entity tag (ETag) to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
|
1393
1829
|
# For uploading a part, this is the entity tag of the target part.
|
1394
1830
|
#
|
@@ -1397,6 +1833,17 @@ module OCI
|
|
1397
1833
|
# part, this is the entity tag of the target part.
|
1398
1834
|
#
|
1399
1835
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1836
|
+
# @option opts [String] :opc_sse_customer_algorithm The optional header that specifies \"AES256\" as the encryption algorithm. For more information, see
|
1837
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
1838
|
+
#
|
1839
|
+
# @option opts [String] :opc_sse_customer_key The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
|
1840
|
+
# decrypt the data. For more information, see
|
1841
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
1842
|
+
#
|
1843
|
+
# @option opts [String] :opc_sse_customer_key_sha256 The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
|
1844
|
+
# value is used to check the integrity of the encryption key. For more information, see
|
1845
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
1846
|
+
#
|
1400
1847
|
# @return [Response] A Response object with data of type nil
|
1401
1848
|
def head_object(namespace_name, bucket_name, object_name, opts = {})
|
1402
1849
|
logger.debug 'Calling operation ObjectStorageClient#head_object.' if logger
|
@@ -1414,6 +1861,7 @@ module OCI
|
|
1414
1861
|
# rubocop:disable Style/NegatedIf
|
1415
1862
|
# Query Params
|
1416
1863
|
query_params = {}
|
1864
|
+
query_params[:versionId] = opts[:version_id] if opts[:version_id]
|
1417
1865
|
|
1418
1866
|
# Header Params
|
1419
1867
|
header_params = {}
|
@@ -1422,6 +1870,9 @@ module OCI
|
|
1422
1870
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1423
1871
|
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
1424
1872
|
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
1873
|
+
header_params[:'opc-sse-customer-algorithm'] = opts[:opc_sse_customer_algorithm] if opts[:opc_sse_customer_algorithm]
|
1874
|
+
header_params[:'opc-sse-customer-key'] = opts[:opc_sse_customer_key] if opts[:opc_sse_customer_key]
|
1875
|
+
header_params[:'opc-sse-customer-key-sha256'] = opts[:opc_sse_customer_key_sha256] if opts[:opc_sse_customer_key_sha256]
|
1425
1876
|
# rubocop:enable Style/NegatedIf
|
1426
1877
|
|
1427
1878
|
post_body = nil
|
@@ -1537,35 +1988,344 @@ module OCI
|
|
1537
1988
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
1538
1989
|
# Example: `my-new-bucket1`
|
1539
1990
|
#
|
1540
|
-
# @param [String] object_name The name of the object. Avoid entering confidential information.
|
1541
|
-
# Example: `test/object1.log`
|
1542
|
-
#
|
1543
|
-
# @param [String] upload_id The upload ID for a multipart upload.
|
1991
|
+
# @param [String] object_name The name of the object. Avoid entering confidential information.
|
1992
|
+
# Example: `test/object1.log`
|
1993
|
+
#
|
1994
|
+
# @param [String] upload_id The upload ID for a multipart upload.
|
1995
|
+
# @param [Hash] opts the optional parameters
|
1996
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1997
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1998
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
1999
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
2000
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
2001
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::MultipartUploadPartSummary MultipartUploadPartSummary}>
|
2002
|
+
def list_multipart_upload_parts(namespace_name, bucket_name, object_name, upload_id, opts = {})
|
2003
|
+
logger.debug 'Calling operation ObjectStorageClient#list_multipart_upload_parts.' if logger
|
2004
|
+
|
2005
|
+
raise "Missing the required parameter 'namespace_name' when calling list_multipart_upload_parts." if namespace_name.nil?
|
2006
|
+
raise "Missing the required parameter 'bucket_name' when calling list_multipart_upload_parts." if bucket_name.nil?
|
2007
|
+
raise "Missing the required parameter 'object_name' when calling list_multipart_upload_parts." if object_name.nil?
|
2008
|
+
raise "Missing the required parameter 'upload_id' when calling list_multipart_upload_parts." if upload_id.nil?
|
2009
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
2010
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
2011
|
+
raise "Parameter value for 'object_name' must not be blank" if OCI::Internal::Util.blank_string?(object_name)
|
2012
|
+
|
2013
|
+
path = '/n/{namespaceName}/b/{bucketName}/u/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
|
2014
|
+
operation_signing_strategy = :standard
|
2015
|
+
|
2016
|
+
# rubocop:disable Style/NegatedIf
|
2017
|
+
# Query Params
|
2018
|
+
query_params = {}
|
2019
|
+
query_params[:uploadId] = upload_id
|
2020
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2021
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2022
|
+
|
2023
|
+
# Header Params
|
2024
|
+
header_params = {}
|
2025
|
+
header_params[:accept] = 'application/json'
|
2026
|
+
header_params[:'content-type'] = 'application/json'
|
2027
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
2028
|
+
# rubocop:enable Style/NegatedIf
|
2029
|
+
|
2030
|
+
post_body = nil
|
2031
|
+
|
2032
|
+
# rubocop:disable Metrics/BlockLength
|
2033
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_multipart_upload_parts') do
|
2034
|
+
@api_client.call_api(
|
2035
|
+
:GET,
|
2036
|
+
path,
|
2037
|
+
endpoint,
|
2038
|
+
header_params: header_params,
|
2039
|
+
query_params: query_params,
|
2040
|
+
operation_signing_strategy: operation_signing_strategy,
|
2041
|
+
body: post_body,
|
2042
|
+
return_type: 'Array<OCI::ObjectStorage::Models::MultipartUploadPartSummary>'
|
2043
|
+
)
|
2044
|
+
end
|
2045
|
+
# rubocop:enable Metrics/BlockLength
|
2046
|
+
end
|
2047
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2048
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2049
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2050
|
+
|
2051
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2052
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2053
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2054
|
+
|
2055
|
+
|
2056
|
+
# Lists all of the in-progress multipart uploads for the given bucket in the given Object Storage namespace.
|
2057
|
+
#
|
2058
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
2059
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
2060
|
+
# Example: `my-new-bucket1`
|
2061
|
+
#
|
2062
|
+
# @param [Hash] opts the optional parameters
|
2063
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2064
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2065
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
2066
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
2067
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
2068
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::MultipartUpload MultipartUpload}>
|
2069
|
+
def list_multipart_uploads(namespace_name, bucket_name, opts = {})
|
2070
|
+
logger.debug 'Calling operation ObjectStorageClient#list_multipart_uploads.' if logger
|
2071
|
+
|
2072
|
+
raise "Missing the required parameter 'namespace_name' when calling list_multipart_uploads." if namespace_name.nil?
|
2073
|
+
raise "Missing the required parameter 'bucket_name' when calling list_multipart_uploads." if bucket_name.nil?
|
2074
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
2075
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
2076
|
+
|
2077
|
+
path = '/n/{namespaceName}/b/{bucketName}/u'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
2078
|
+
operation_signing_strategy = :standard
|
2079
|
+
|
2080
|
+
# rubocop:disable Style/NegatedIf
|
2081
|
+
# Query Params
|
2082
|
+
query_params = {}
|
2083
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2084
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2085
|
+
|
2086
|
+
# Header Params
|
2087
|
+
header_params = {}
|
2088
|
+
header_params[:accept] = 'application/json'
|
2089
|
+
header_params[:'content-type'] = 'application/json'
|
2090
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
2091
|
+
# rubocop:enable Style/NegatedIf
|
2092
|
+
|
2093
|
+
post_body = nil
|
2094
|
+
|
2095
|
+
# rubocop:disable Metrics/BlockLength
|
2096
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_multipart_uploads') do
|
2097
|
+
@api_client.call_api(
|
2098
|
+
:GET,
|
2099
|
+
path,
|
2100
|
+
endpoint,
|
2101
|
+
header_params: header_params,
|
2102
|
+
query_params: query_params,
|
2103
|
+
operation_signing_strategy: operation_signing_strategy,
|
2104
|
+
body: post_body,
|
2105
|
+
return_type: 'Array<OCI::ObjectStorage::Models::MultipartUpload>'
|
2106
|
+
)
|
2107
|
+
end
|
2108
|
+
# rubocop:enable Metrics/BlockLength
|
2109
|
+
end
|
2110
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2111
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2112
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2113
|
+
|
2114
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2115
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2116
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2117
|
+
|
2118
|
+
|
2119
|
+
# Lists the object versions in a bucket.
|
2120
|
+
#
|
2121
|
+
# To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized,
|
2122
|
+
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
2123
|
+
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
2124
|
+
#
|
2125
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
2126
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
2127
|
+
# Example: `my-new-bucket1`
|
2128
|
+
#
|
2129
|
+
# @param [Hash] opts the optional parameters
|
2130
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2131
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2132
|
+
# @option opts [String] :prefix The string to use for matching against the start of object names in a list query.
|
2133
|
+
# @option opts [String] :start Object names returned by a list query must be greater or equal to this parameter.
|
2134
|
+
# @option opts [String] :_end Object names returned by a list query must be strictly less than this parameter.
|
2135
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
2136
|
+
# @option opts [String] :delimiter When this parameter is set, only objects whose names do not contain the delimiter character
|
2137
|
+
# (after an optionally specified prefix) are returned in the objects key of the response body.
|
2138
|
+
# Scanned objects whose names contain the delimiter have the part of their name up to the first
|
2139
|
+
# occurrence of the delimiter (including the optional prefix) returned as a set of prefixes.
|
2140
|
+
# Note that only '/' is a supported delimiter character at this time.
|
2141
|
+
#
|
2142
|
+
# @option opts [String] :fields Object summary in list of objects includes the 'name' field. This parameter can also include 'size'
|
2143
|
+
# (object size in bytes), 'etag', 'md5', 'timeCreated' (object creation date and time) and 'timeModified'
|
2144
|
+
# (object modification date and time).
|
2145
|
+
# Value of this parameter should be a comma-separated, case-insensitive list of those field names.
|
2146
|
+
# For example 'name,etag,timeCreated,md5,timeModified'
|
2147
|
+
#
|
2148
|
+
# Allowed values are: name, size, etag, timeCreated, md5, timeModified
|
2149
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
2150
|
+
# @option opts [String] :start_after Object names returned by a list query must be greater than this parameter.
|
2151
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
2152
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::ObjectVersionCollection ObjectVersionCollection}
|
2153
|
+
def list_object_versions(namespace_name, bucket_name, opts = {})
|
2154
|
+
logger.debug 'Calling operation ObjectStorageClient#list_object_versions.' if logger
|
2155
|
+
|
2156
|
+
raise "Missing the required parameter 'namespace_name' when calling list_object_versions." if namespace_name.nil?
|
2157
|
+
raise "Missing the required parameter 'bucket_name' when calling list_object_versions." if bucket_name.nil?
|
2158
|
+
|
2159
|
+
if opts[:fields] && !%w[name size etag timeCreated md5 timeModified].include?(opts[:fields])
|
2160
|
+
raise 'Invalid value for "fields", must be one of name, size, etag, timeCreated, md5, timeModified.'
|
2161
|
+
end
|
2162
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
2163
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
2164
|
+
|
2165
|
+
path = '/n/{namespaceName}/b/{bucketName}/objectversions'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
2166
|
+
operation_signing_strategy = :standard
|
2167
|
+
|
2168
|
+
# rubocop:disable Style/NegatedIf
|
2169
|
+
# Query Params
|
2170
|
+
query_params = {}
|
2171
|
+
query_params[:prefix] = opts[:prefix] if opts[:prefix]
|
2172
|
+
query_params[:start] = opts[:start] if opts[:start]
|
2173
|
+
query_params[:end] = opts[:_end] if opts[:_end]
|
2174
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2175
|
+
query_params[:delimiter] = opts[:delimiter] if opts[:delimiter]
|
2176
|
+
query_params[:fields] = opts[:fields] if opts[:fields]
|
2177
|
+
query_params[:startAfter] = opts[:start_after] if opts[:start_after]
|
2178
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2179
|
+
|
2180
|
+
# Header Params
|
2181
|
+
header_params = {}
|
2182
|
+
header_params[:accept] = 'application/json'
|
2183
|
+
header_params[:'content-type'] = 'application/json'
|
2184
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
2185
|
+
# rubocop:enable Style/NegatedIf
|
2186
|
+
|
2187
|
+
post_body = nil
|
2188
|
+
|
2189
|
+
# rubocop:disable Metrics/BlockLength
|
2190
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_object_versions') do
|
2191
|
+
@api_client.call_api(
|
2192
|
+
:GET,
|
2193
|
+
path,
|
2194
|
+
endpoint,
|
2195
|
+
header_params: header_params,
|
2196
|
+
query_params: query_params,
|
2197
|
+
operation_signing_strategy: operation_signing_strategy,
|
2198
|
+
body: post_body,
|
2199
|
+
return_type: 'OCI::ObjectStorage::Models::ObjectVersionCollection'
|
2200
|
+
)
|
2201
|
+
end
|
2202
|
+
# rubocop:enable Metrics/BlockLength
|
2203
|
+
end
|
2204
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2205
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2206
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2207
|
+
|
2208
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2209
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2210
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2211
|
+
|
2212
|
+
|
2213
|
+
# Lists the objects in a bucket.
|
2214
|
+
#
|
2215
|
+
# To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized,
|
2216
|
+
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
2217
|
+
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
2218
|
+
#
|
2219
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
2220
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
2221
|
+
# Example: `my-new-bucket1`
|
2222
|
+
#
|
2223
|
+
# @param [Hash] opts the optional parameters
|
2224
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2225
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2226
|
+
# @option opts [String] :prefix The string to use for matching against the start of object names in a list query.
|
2227
|
+
# @option opts [String] :start Object names returned by a list query must be greater or equal to this parameter.
|
2228
|
+
# @option opts [String] :_end Object names returned by a list query must be strictly less than this parameter.
|
2229
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
2230
|
+
# @option opts [String] :delimiter When this parameter is set, only objects whose names do not contain the delimiter character
|
2231
|
+
# (after an optionally specified prefix) are returned in the objects key of the response body.
|
2232
|
+
# Scanned objects whose names contain the delimiter have the part of their name up to the first
|
2233
|
+
# occurrence of the delimiter (including the optional prefix) returned as a set of prefixes.
|
2234
|
+
# Note that only '/' is a supported delimiter character at this time.
|
2235
|
+
#
|
2236
|
+
# @option opts [String] :fields Object summary in list of objects includes the 'name' field. This parameter can also include 'size'
|
2237
|
+
# (object size in bytes), 'etag', 'md5', 'timeCreated' (object creation date and time) and 'timeModified'
|
2238
|
+
# (object modification date and time).
|
2239
|
+
# Value of this parameter should be a comma-separated, case-insensitive list of those field names.
|
2240
|
+
# For example 'name,etag,timeCreated,md5,timeModified'
|
2241
|
+
#
|
2242
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
2243
|
+
# @option opts [String] :start_after Object names returned by a list query must be greater than this parameter.
|
2244
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::ListObjects ListObjects}
|
2245
|
+
def list_objects(namespace_name, bucket_name, opts = {})
|
2246
|
+
logger.debug 'Calling operation ObjectStorageClient#list_objects.' if logger
|
2247
|
+
|
2248
|
+
raise "Missing the required parameter 'namespace_name' when calling list_objects." if namespace_name.nil?
|
2249
|
+
raise "Missing the required parameter 'bucket_name' when calling list_objects." if bucket_name.nil?
|
2250
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
2251
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
2252
|
+
|
2253
|
+
path = '/n/{namespaceName}/b/{bucketName}/o'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
2254
|
+
operation_signing_strategy = :standard
|
2255
|
+
|
2256
|
+
# rubocop:disable Style/NegatedIf
|
2257
|
+
# Query Params
|
2258
|
+
query_params = {}
|
2259
|
+
query_params[:prefix] = opts[:prefix] if opts[:prefix]
|
2260
|
+
query_params[:start] = opts[:start] if opts[:start]
|
2261
|
+
query_params[:end] = opts[:_end] if opts[:_end]
|
2262
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2263
|
+
query_params[:delimiter] = opts[:delimiter] if opts[:delimiter]
|
2264
|
+
query_params[:fields] = opts[:fields] if opts[:fields]
|
2265
|
+
query_params[:startAfter] = opts[:start_after] if opts[:start_after]
|
2266
|
+
|
2267
|
+
# Header Params
|
2268
|
+
header_params = {}
|
2269
|
+
header_params[:accept] = 'application/json'
|
2270
|
+
header_params[:'content-type'] = 'application/json'
|
2271
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
2272
|
+
# rubocop:enable Style/NegatedIf
|
2273
|
+
|
2274
|
+
post_body = nil
|
2275
|
+
|
2276
|
+
# rubocop:disable Metrics/BlockLength
|
2277
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_objects') do
|
2278
|
+
@api_client.call_api(
|
2279
|
+
:GET,
|
2280
|
+
path,
|
2281
|
+
endpoint,
|
2282
|
+
header_params: header_params,
|
2283
|
+
query_params: query_params,
|
2284
|
+
operation_signing_strategy: operation_signing_strategy,
|
2285
|
+
body: post_body,
|
2286
|
+
return_type: 'OCI::ObjectStorage::Models::ListObjects'
|
2287
|
+
)
|
2288
|
+
end
|
2289
|
+
# rubocop:enable Metrics/BlockLength
|
2290
|
+
end
|
2291
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2292
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2293
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2294
|
+
|
2295
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2296
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2297
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2298
|
+
|
2299
|
+
|
2300
|
+
# Lists pre-authenticated requests for the bucket.
|
2301
|
+
#
|
2302
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
2303
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
2304
|
+
# Example: `my-new-bucket1`
|
2305
|
+
#
|
1544
2306
|
# @param [Hash] opts the optional parameters
|
1545
2307
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1546
2308
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2309
|
+
# @option opts [String] :object_name_prefix User-specified object name prefixes can be used to query and return a list of pre-authenticated requests.
|
1547
2310
|
# @option opts [Integer] :limit The maximum number of items to return.
|
1548
2311
|
# @option opts [String] :page The page at which to start retrieving results.
|
1549
2312
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1550
|
-
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::
|
1551
|
-
def
|
1552
|
-
logger.debug 'Calling operation ObjectStorageClient#
|
2313
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::PreauthenticatedRequestSummary PreauthenticatedRequestSummary}>
|
2314
|
+
def list_preauthenticated_requests(namespace_name, bucket_name, opts = {})
|
2315
|
+
logger.debug 'Calling operation ObjectStorageClient#list_preauthenticated_requests.' if logger
|
1553
2316
|
|
1554
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
1555
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
1556
|
-
raise "Missing the required parameter 'object_name' when calling list_multipart_upload_parts." if object_name.nil?
|
1557
|
-
raise "Missing the required parameter 'upload_id' when calling list_multipart_upload_parts." if upload_id.nil?
|
2317
|
+
raise "Missing the required parameter 'namespace_name' when calling list_preauthenticated_requests." if namespace_name.nil?
|
2318
|
+
raise "Missing the required parameter 'bucket_name' when calling list_preauthenticated_requests." if bucket_name.nil?
|
1558
2319
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1559
2320
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1560
|
-
raise "Parameter value for 'object_name' must not be blank" if OCI::Internal::Util.blank_string?(object_name)
|
1561
2321
|
|
1562
|
-
path = '/n/{namespaceName}/b/{bucketName}/
|
2322
|
+
path = '/n/{namespaceName}/b/{bucketName}/p/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
1563
2323
|
operation_signing_strategy = :standard
|
1564
2324
|
|
1565
2325
|
# rubocop:disable Style/NegatedIf
|
1566
2326
|
# Query Params
|
1567
2327
|
query_params = {}
|
1568
|
-
query_params[:
|
2328
|
+
query_params[:objectNamePrefix] = opts[:object_name_prefix] if opts[:object_name_prefix]
|
1569
2329
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
1570
2330
|
query_params[:page] = opts[:page] if opts[:page]
|
1571
2331
|
|
@@ -1579,7 +2339,7 @@ module OCI
|
|
1579
2339
|
post_body = nil
|
1580
2340
|
|
1581
2341
|
# rubocop:disable Metrics/BlockLength
|
1582
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
2342
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_preauthenticated_requests') do
|
1583
2343
|
@api_client.call_api(
|
1584
2344
|
:GET,
|
1585
2345
|
path,
|
@@ -1588,7 +2348,7 @@ module OCI
|
|
1588
2348
|
query_params: query_params,
|
1589
2349
|
operation_signing_strategy: operation_signing_strategy,
|
1590
2350
|
body: post_body,
|
1591
|
-
return_type: 'Array<OCI::ObjectStorage::Models::
|
2351
|
+
return_type: 'Array<OCI::ObjectStorage::Models::PreauthenticatedRequestSummary>'
|
1592
2352
|
)
|
1593
2353
|
end
|
1594
2354
|
# rubocop:enable Metrics/BlockLength
|
@@ -1602,7 +2362,7 @@ module OCI
|
|
1602
2362
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1603
2363
|
|
1604
2364
|
|
1605
|
-
#
|
2365
|
+
# List the replication policies associated with a bucket.
|
1606
2366
|
#
|
1607
2367
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1608
2368
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
@@ -1611,26 +2371,26 @@ module OCI
|
|
1611
2371
|
# @param [Hash] opts the optional parameters
|
1612
2372
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1613
2373
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1614
|
-
# @option opts [Integer] :limit The maximum number of items to return.
|
1615
|
-
# @option opts [String] :page The page at which to start retrieving results.
|
1616
2374
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1617
|
-
# @
|
1618
|
-
|
1619
|
-
|
2375
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
2376
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
2377
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::ReplicationPolicySummary ReplicationPolicySummary}>
|
2378
|
+
def list_replication_policies(namespace_name, bucket_name, opts = {})
|
2379
|
+
logger.debug 'Calling operation ObjectStorageClient#list_replication_policies.' if logger
|
1620
2380
|
|
1621
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
1622
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
2381
|
+
raise "Missing the required parameter 'namespace_name' when calling list_replication_policies." if namespace_name.nil?
|
2382
|
+
raise "Missing the required parameter 'bucket_name' when calling list_replication_policies." if bucket_name.nil?
|
1623
2383
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1624
2384
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1625
2385
|
|
1626
|
-
path = '/n/{namespaceName}/b/{bucketName}/
|
2386
|
+
path = '/n/{namespaceName}/b/{bucketName}/replicationPolicies'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
1627
2387
|
operation_signing_strategy = :standard
|
1628
2388
|
|
1629
2389
|
# rubocop:disable Style/NegatedIf
|
1630
2390
|
# Query Params
|
1631
2391
|
query_params = {}
|
1632
|
-
query_params[:limit] = opts[:limit] if opts[:limit]
|
1633
2392
|
query_params[:page] = opts[:page] if opts[:page]
|
2393
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1634
2394
|
|
1635
2395
|
# Header Params
|
1636
2396
|
header_params = {}
|
@@ -1642,7 +2402,7 @@ module OCI
|
|
1642
2402
|
post_body = nil
|
1643
2403
|
|
1644
2404
|
# rubocop:disable Metrics/BlockLength
|
1645
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
2405
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_replication_policies') do
|
1646
2406
|
@api_client.call_api(
|
1647
2407
|
:GET,
|
1648
2408
|
path,
|
@@ -1651,7 +2411,7 @@ module OCI
|
|
1651
2411
|
query_params: query_params,
|
1652
2412
|
operation_signing_strategy: operation_signing_strategy,
|
1653
2413
|
body: post_body,
|
1654
|
-
return_type: 'Array<OCI::ObjectStorage::Models::
|
2414
|
+
return_type: 'Array<OCI::ObjectStorage::Models::ReplicationPolicySummary>'
|
1655
2415
|
)
|
1656
2416
|
end
|
1657
2417
|
# rubocop:enable Metrics/BlockLength
|
@@ -1665,11 +2425,7 @@ module OCI
|
|
1665
2425
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1666
2426
|
|
1667
2427
|
|
1668
|
-
#
|
1669
|
-
#
|
1670
|
-
# To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized,
|
1671
|
-
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
1672
|
-
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
2428
|
+
# List the replication sources of a destination bucket.
|
1673
2429
|
#
|
1674
2430
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1675
2431
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
@@ -1678,43 +2434,26 @@ module OCI
|
|
1678
2434
|
# @param [Hash] opts the optional parameters
|
1679
2435
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1680
2436
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1681
|
-
# @option opts [String] :prefix The string to use for matching against the start of object names in a list query.
|
1682
|
-
# @option opts [String] :start Object names returned by a list query must be greater or equal to this parameter.
|
1683
|
-
# @option opts [String] :_end Object names returned by a list query must be strictly less than this parameter.
|
1684
|
-
# @option opts [Integer] :limit The maximum number of items to return.
|
1685
|
-
# @option opts [String] :delimiter When this parameter is set, only objects whose names do not contain the delimiter character
|
1686
|
-
# (after an optionally specified prefix) are returned in the objects key of the response body.
|
1687
|
-
# Scanned objects whose names contain the delimiter have the part of their name up to the first
|
1688
|
-
# occurrence of the delimiter (including the optional prefix) returned as a set of prefixes.
|
1689
|
-
# Note that only '/' is a supported delimiter character at this time.
|
1690
|
-
#
|
1691
|
-
# @option opts [String] :fields Object summary in list of objects includes the 'name' field. This parameter can also include 'size'
|
1692
|
-
# (object size in bytes), 'md5', and 'timeCreated' (object creation date and time) fields.
|
1693
|
-
# Value of this parameter should be a comma-separated, case-insensitive list of those field names.
|
1694
|
-
# For example 'name,timeCreated,md5'.
|
1695
|
-
#
|
1696
2437
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
1697
|
-
# @
|
1698
|
-
|
1699
|
-
|
2438
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
2439
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
2440
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::ReplicationSource ReplicationSource}>
|
2441
|
+
def list_replication_sources(namespace_name, bucket_name, opts = {})
|
2442
|
+
logger.debug 'Calling operation ObjectStorageClient#list_replication_sources.' if logger
|
1700
2443
|
|
1701
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
1702
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
2444
|
+
raise "Missing the required parameter 'namespace_name' when calling list_replication_sources." if namespace_name.nil?
|
2445
|
+
raise "Missing the required parameter 'bucket_name' when calling list_replication_sources." if bucket_name.nil?
|
1703
2446
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1704
2447
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1705
2448
|
|
1706
|
-
path = '/n/{namespaceName}/b/{bucketName}/
|
2449
|
+
path = '/n/{namespaceName}/b/{bucketName}/replicationSources'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
1707
2450
|
operation_signing_strategy = :standard
|
1708
2451
|
|
1709
2452
|
# rubocop:disable Style/NegatedIf
|
1710
2453
|
# Query Params
|
1711
2454
|
query_params = {}
|
1712
|
-
query_params[:
|
1713
|
-
query_params[:start] = opts[:start] if opts[:start]
|
1714
|
-
query_params[:end] = opts[:_end] if opts[:_end]
|
2455
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1715
2456
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
1716
|
-
query_params[:delimiter] = opts[:delimiter] if opts[:delimiter]
|
1717
|
-
query_params[:fields] = opts[:fields] if opts[:fields]
|
1718
2457
|
|
1719
2458
|
# Header Params
|
1720
2459
|
header_params = {}
|
@@ -1726,7 +2465,7 @@ module OCI
|
|
1726
2465
|
post_body = nil
|
1727
2466
|
|
1728
2467
|
# rubocop:disable Metrics/BlockLength
|
1729
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
2468
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_replication_sources') do
|
1730
2469
|
@api_client.call_api(
|
1731
2470
|
:GET,
|
1732
2471
|
path,
|
@@ -1735,7 +2474,7 @@ module OCI
|
|
1735
2474
|
query_params: query_params,
|
1736
2475
|
operation_signing_strategy: operation_signing_strategy,
|
1737
2476
|
body: post_body,
|
1738
|
-
return_type: 'OCI::ObjectStorage::Models::
|
2477
|
+
return_type: 'Array<OCI::ObjectStorage::Models::ReplicationSource>'
|
1739
2478
|
)
|
1740
2479
|
end
|
1741
2480
|
# rubocop:enable Metrics/BlockLength
|
@@ -1749,7 +2488,8 @@ module OCI
|
|
1749
2488
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1750
2489
|
|
1751
2490
|
|
1752
|
-
#
|
2491
|
+
# List the retention rules for a bucket. The retention rules are sorted based on creation time,
|
2492
|
+
# with the most recently created retention rule returned first.
|
1753
2493
|
#
|
1754
2494
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1755
2495
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
@@ -1758,40 +2498,34 @@ module OCI
|
|
1758
2498
|
# @param [Hash] opts the optional parameters
|
1759
2499
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1760
2500
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1761
|
-
# @option opts [String] :object_name_prefix User-specified object name prefixes can be used to query and return a list of pre-authenticated requests.
|
1762
|
-
# @option opts [Integer] :limit The maximum number of items to return.
|
1763
2501
|
# @option opts [String] :page The page at which to start retrieving results.
|
1764
|
-
# @
|
1765
|
-
|
1766
|
-
|
1767
|
-
logger.debug 'Calling operation ObjectStorageClient#list_preauthenticated_requests.' if logger
|
2502
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::RetentionRuleCollection RetentionRuleCollection}
|
2503
|
+
def list_retention_rules(namespace_name, bucket_name, opts = {})
|
2504
|
+
logger.debug 'Calling operation ObjectStorageClient#list_retention_rules.' if logger
|
1768
2505
|
|
1769
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
1770
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
2506
|
+
raise "Missing the required parameter 'namespace_name' when calling list_retention_rules." if namespace_name.nil?
|
2507
|
+
raise "Missing the required parameter 'bucket_name' when calling list_retention_rules." if bucket_name.nil?
|
1771
2508
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
1772
2509
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
1773
2510
|
|
1774
|
-
path = '/n/{namespaceName}/b/{bucketName}/
|
2511
|
+
path = '/n/{namespaceName}/b/{bucketName}/retentionRules'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
1775
2512
|
operation_signing_strategy = :standard
|
1776
2513
|
|
1777
2514
|
# rubocop:disable Style/NegatedIf
|
1778
2515
|
# Query Params
|
1779
2516
|
query_params = {}
|
1780
|
-
query_params[:objectNamePrefix] = opts[:object_name_prefix] if opts[:object_name_prefix]
|
1781
|
-
query_params[:limit] = opts[:limit] if opts[:limit]
|
1782
2517
|
query_params[:page] = opts[:page] if opts[:page]
|
1783
2518
|
|
1784
2519
|
# Header Params
|
1785
2520
|
header_params = {}
|
1786
2521
|
header_params[:accept] = 'application/json'
|
1787
2522
|
header_params[:'content-type'] = 'application/json'
|
1788
|
-
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
1789
2523
|
# rubocop:enable Style/NegatedIf
|
1790
2524
|
|
1791
2525
|
post_body = nil
|
1792
2526
|
|
1793
2527
|
# rubocop:disable Metrics/BlockLength
|
1794
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
2528
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_retention_rules') do
|
1795
2529
|
@api_client.call_api(
|
1796
2530
|
:GET,
|
1797
2531
|
path,
|
@@ -1800,7 +2534,7 @@ module OCI
|
|
1800
2534
|
query_params: query_params,
|
1801
2535
|
operation_signing_strategy: operation_signing_strategy,
|
1802
2536
|
body: post_body,
|
1803
|
-
return_type: '
|
2537
|
+
return_type: 'OCI::ObjectStorage::Models::RetentionRuleCollection'
|
1804
2538
|
)
|
1805
2539
|
end
|
1806
2540
|
# rubocop:enable Metrics/BlockLength
|
@@ -1986,8 +2720,72 @@ module OCI
|
|
1986
2720
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1987
2721
|
|
1988
2722
|
|
1989
|
-
#
|
1990
|
-
#
|
2723
|
+
# Stops replication to the destination bucket and removes the replication policy. When the replication
|
2724
|
+
# policy was created, this destination bucket became read-only except for new and changed objects replicated
|
2725
|
+
# automatically from the source bucket. MakeBucketWritable removes the replication policy. This bucket is no
|
2726
|
+
# longer the target for replication and is now writable, allowing users to make changes to bucket contents.
|
2727
|
+
#
|
2728
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
2729
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
2730
|
+
# Example: `my-new-bucket1`
|
2731
|
+
#
|
2732
|
+
# @param [Hash] opts the optional parameters
|
2733
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2734
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2735
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
2736
|
+
# @return [Response] A Response object with data of type nil
|
2737
|
+
def make_bucket_writable(namespace_name, bucket_name, opts = {})
|
2738
|
+
logger.debug 'Calling operation ObjectStorageClient#make_bucket_writable.' if logger
|
2739
|
+
|
2740
|
+
raise "Missing the required parameter 'namespace_name' when calling make_bucket_writable." if namespace_name.nil?
|
2741
|
+
raise "Missing the required parameter 'bucket_name' when calling make_bucket_writable." if bucket_name.nil?
|
2742
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
2743
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
2744
|
+
|
2745
|
+
path = '/n/{namespaceName}/b/{bucketName}/actions/makeBucketWritable'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
2746
|
+
operation_signing_strategy = :standard
|
2747
|
+
|
2748
|
+
# rubocop:disable Style/NegatedIf
|
2749
|
+
# Query Params
|
2750
|
+
query_params = {}
|
2751
|
+
|
2752
|
+
# Header Params
|
2753
|
+
header_params = {}
|
2754
|
+
header_params[:accept] = 'application/json'
|
2755
|
+
header_params[:'content-type'] = 'application/json'
|
2756
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
2757
|
+
# rubocop:enable Style/NegatedIf
|
2758
|
+
|
2759
|
+
post_body = nil
|
2760
|
+
|
2761
|
+
# rubocop:disable Metrics/BlockLength
|
2762
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#make_bucket_writable') do
|
2763
|
+
@api_client.call_api(
|
2764
|
+
:POST,
|
2765
|
+
path,
|
2766
|
+
endpoint,
|
2767
|
+
header_params: header_params,
|
2768
|
+
query_params: query_params,
|
2769
|
+
operation_signing_strategy: operation_signing_strategy,
|
2770
|
+
body: post_body
|
2771
|
+
)
|
2772
|
+
end
|
2773
|
+
# rubocop:enable Metrics/BlockLength
|
2774
|
+
end
|
2775
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2776
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2777
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2778
|
+
|
2779
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2780
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2781
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2782
|
+
|
2783
|
+
|
2784
|
+
# Creates a new object or overwrites an existing object with the same name. The maximum object size allowed by
|
2785
|
+
# PutObject is 50 GiB.
|
2786
|
+
#
|
2787
|
+
# See [Special Instructions for Object Storage PUT](https://docs.cloud.oracle.com/Content/API/Concepts/signingrequests.htm#ObjectStoragePut)
|
2788
|
+
# for request signature requirements.
|
1991
2789
|
#
|
1992
2790
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
1993
2791
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
@@ -2010,15 +2808,50 @@ module OCI
|
|
2010
2808
|
#
|
2011
2809
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
2012
2810
|
# @option opts [String] :expect 100-continue (default to 100-continue)
|
2013
|
-
# @option opts [String] :content_md5 The base-64 encoded MD5 hash of the body. If the Content-MD5 header is present, Object
|
2014
|
-
# on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
|
2015
|
-
# If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
|
2811
|
+
# @option opts [String] :content_md5 The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object
|
2812
|
+
# Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
|
2813
|
+
# MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
|
2814
|
+
# is returned with the message:
|
2016
2815
|
#
|
2017
2816
|
# \"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)\"
|
2018
2817
|
#
|
2019
|
-
# @option opts [String] :content_type The
|
2020
|
-
#
|
2021
|
-
#
|
2818
|
+
# @option opts [String] :content_type The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to
|
2819
|
+
# 'application/octet-stream' if not specified in the PutObject call. Specifying values for this header has no effect
|
2820
|
+
# on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example,
|
2821
|
+
# you could use this header to identify and perform special operations on text only objects.
|
2822
|
+
#
|
2823
|
+
# @option opts [String] :content_language The optional Content-Language header that defines the content language of the object to upload. Specifying
|
2824
|
+
# values for this header has no effect on Object Storage behavior. Programs that read the object determine what
|
2825
|
+
# to do based on the value provided. For example, you could use this header to identify and differentiate objects
|
2826
|
+
# based on a particular language.
|
2827
|
+
#
|
2828
|
+
# @option opts [String] :content_encoding The optional Content-Encoding header that defines the content encodings that were applied to the object to
|
2829
|
+
# upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the
|
2830
|
+
# object determine what to do based on the value provided. For example, you could use this header to determine
|
2831
|
+
# what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of
|
2832
|
+
# the object.
|
2833
|
+
#
|
2834
|
+
# @option opts [String] :content_disposition The optional Content-Disposition header that defines presentational information for the object to be
|
2835
|
+
# returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object
|
2836
|
+
# Storage behavior. Programs that read the object determine what to do based on the value provided.
|
2837
|
+
# For example, you could use this header to let users download objects with custom filenames in a browser.
|
2838
|
+
#
|
2839
|
+
# @option opts [String] :cache_control The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and
|
2840
|
+
# HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs
|
2841
|
+
# that read the object determine what to do based on the value provided.
|
2842
|
+
# For example, you could use this header to identify objects that require caching restrictions.
|
2843
|
+
#
|
2844
|
+
# @option opts [String] :opc_sse_customer_algorithm The optional header that specifies \"AES256\" as the encryption algorithm. For more information, see
|
2845
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
2846
|
+
#
|
2847
|
+
# @option opts [String] :opc_sse_customer_key The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
|
2848
|
+
# decrypt the data. For more information, see
|
2849
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
2850
|
+
#
|
2851
|
+
# @option opts [String] :opc_sse_customer_key_sha256 The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
|
2852
|
+
# value is used to check the integrity of the encryption key. For more information, see
|
2853
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
2854
|
+
#
|
2022
2855
|
# @option opts [Hash<String, String>] :opc_meta Optional user-defined metadata key and value.
|
2023
2856
|
# "opc-meta-" will be appended to each Hash key before it is sent to the server.
|
2024
2857
|
# @return [Response] A Response object with data of type nil
|
@@ -2052,6 +2885,11 @@ module OCI
|
|
2052
2885
|
header_params[:'content-type'] = opts[:content_type] if opts[:content_type]
|
2053
2886
|
header_params[:'content-language'] = opts[:content_language] if opts[:content_language]
|
2054
2887
|
header_params[:'content-encoding'] = opts[:content_encoding] if opts[:content_encoding]
|
2888
|
+
header_params[:'content-disposition'] = opts[:content_disposition] if opts[:content_disposition]
|
2889
|
+
header_params[:'cache-control'] = opts[:cache_control] if opts[:cache_control]
|
2890
|
+
header_params[:'opc-sse-customer-algorithm'] = opts[:opc_sse_customer_algorithm] if opts[:opc_sse_customer_algorithm]
|
2891
|
+
header_params[:'opc-sse-customer-key'] = opts[:opc_sse_customer_key] if opts[:opc_sse_customer_key]
|
2892
|
+
header_params[:'opc-sse-customer-key-sha256'] = opts[:opc_sse_customer_key_sha256] if opts[:opc_sse_customer_key_sha256]
|
2055
2893
|
# rubocop:enable Style/NegatedIf
|
2056
2894
|
|
2057
2895
|
if opts[:opc_meta]
|
@@ -2156,6 +2994,78 @@ module OCI
|
|
2156
2994
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2157
2995
|
|
2158
2996
|
|
2997
|
+
# Re-encrypts the unique data encryption key that encrypts each object written to the bucket by using the most recent
|
2998
|
+
# version of the master encryption key assigned to the bucket. (All data encryption keys are encrypted by a master
|
2999
|
+
# encryption key. Master encryption keys are assigned to buckets and managed by Oracle by default, but you can assign
|
3000
|
+
# a key that you created and control through the Oracle Cloud Infrastructure Key Management service.) The kmsKeyId property
|
3001
|
+
# of the bucket determines which master encryption key is assigned to the bucket. If you assigned a different Key Management
|
3002
|
+
# master encryption key to the bucket, you can call this API to re-encrypt all data encryption keys with the newly
|
3003
|
+
# assigned key. Similarly, you might want to re-encrypt all data encryption keys if the assigned key has been rotated to
|
3004
|
+
# a new key version since objects were last added to the bucket. If you call this API and there is no kmsKeyId associated
|
3005
|
+
# with the bucket, the call will fail.
|
3006
|
+
#
|
3007
|
+
# Calling this API starts a work request task to re-encrypt the data encryption key of all objects in the bucket. Only
|
3008
|
+
# objects created before the time of the API call will be re-encrypted. The call can take a long time, depending on how many
|
3009
|
+
# objects are in the bucket and how big they are. This API returns a work request ID that you can use to retrieve the status
|
3010
|
+
# of the work request task.
|
3011
|
+
# All the versions of objects will be re-encrypted whether versioning is enabled or suspended at the bucket.
|
3012
|
+
#
|
3013
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
3014
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
3015
|
+
# Example: `my-new-bucket1`
|
3016
|
+
#
|
3017
|
+
# @param [Hash] opts the optional parameters
|
3018
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3019
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3020
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
3021
|
+
# @return [Response] A Response object with data of type nil
|
3022
|
+
def reencrypt_bucket(namespace_name, bucket_name, opts = {})
|
3023
|
+
logger.debug 'Calling operation ObjectStorageClient#reencrypt_bucket.' if logger
|
3024
|
+
|
3025
|
+
raise "Missing the required parameter 'namespace_name' when calling reencrypt_bucket." if namespace_name.nil?
|
3026
|
+
raise "Missing the required parameter 'bucket_name' when calling reencrypt_bucket." if bucket_name.nil?
|
3027
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
3028
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
3029
|
+
|
3030
|
+
path = '/n/{namespaceName}/b/{bucketName}/actions/reencrypt'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
3031
|
+
operation_signing_strategy = :standard
|
3032
|
+
|
3033
|
+
# rubocop:disable Style/NegatedIf
|
3034
|
+
# Query Params
|
3035
|
+
query_params = {}
|
3036
|
+
|
3037
|
+
# Header Params
|
3038
|
+
header_params = {}
|
3039
|
+
header_params[:accept] = 'application/json'
|
3040
|
+
header_params[:'content-type'] = 'application/json'
|
3041
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
3042
|
+
# rubocop:enable Style/NegatedIf
|
3043
|
+
|
3044
|
+
post_body = nil
|
3045
|
+
|
3046
|
+
# rubocop:disable Metrics/BlockLength
|
3047
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#reencrypt_bucket') do
|
3048
|
+
@api_client.call_api(
|
3049
|
+
:POST,
|
3050
|
+
path,
|
3051
|
+
endpoint,
|
3052
|
+
header_params: header_params,
|
3053
|
+
query_params: query_params,
|
3054
|
+
operation_signing_strategy: operation_signing_strategy,
|
3055
|
+
body: post_body
|
3056
|
+
)
|
3057
|
+
end
|
3058
|
+
# rubocop:enable Metrics/BlockLength
|
3059
|
+
end
|
3060
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3061
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3062
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3063
|
+
|
3064
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3065
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3066
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3067
|
+
|
3068
|
+
|
2159
3069
|
# Rename an object in the given Object Storage namespace.
|
2160
3070
|
#
|
2161
3071
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
@@ -2279,6 +3189,10 @@ module OCI
|
|
2279
3189
|
|
2280
3190
|
# Performs a partial or full update of a bucket's user-defined metadata.
|
2281
3191
|
#
|
3192
|
+
# Use UpdateBucket to move a bucket from one compartment to another within the same tenancy. Supply the compartmentID
|
3193
|
+
# of the compartment that you want to move the bucket to. For more information about moving resources between compartments,
|
3194
|
+
# see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
3195
|
+
#
|
2282
3196
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
2283
3197
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
2284
3198
|
# Example: `my-new-bucket1`
|
@@ -2347,7 +3261,7 @@ module OCI
|
|
2347
3261
|
#
|
2348
3262
|
# You can change the default Swift/Amazon S3 compartmentId designation to a different compartmentId. All
|
2349
3263
|
# subsequent bucket creations will use the new default compartment, but no previously created
|
2350
|
-
# buckets will be modified. A user must have
|
3264
|
+
# buckets will be modified. A user must have OBJECTSTORAGE_NAMESPACE_UPDATE permission to make changes to the default
|
2351
3265
|
# compartments for Amazon S3 and Swift.
|
2352
3266
|
#
|
2353
3267
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
@@ -2404,6 +3318,74 @@ module OCI
|
|
2404
3318
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2405
3319
|
|
2406
3320
|
|
3321
|
+
# Updates the specified retention rule. Rule changes take effect typically within 30 seconds.
|
3322
|
+
#
|
3323
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
3324
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
3325
|
+
# Example: `my-new-bucket1`
|
3326
|
+
#
|
3327
|
+
# @param [String] retention_rule_id The ID of the retention rule.
|
3328
|
+
# @param [OCI::ObjectStorage::Models::UpdateRetentionRuleDetails] update_retention_rule_details Request object for updating the retention rule.
|
3329
|
+
# @param [Hash] opts the optional parameters
|
3330
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3331
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3332
|
+
# @option opts [String] :if_match The entity tag (ETag) to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
|
3333
|
+
# For uploading a part, this is the entity tag of the target part.
|
3334
|
+
#
|
3335
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
3336
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::RetentionRule RetentionRule}
|
3337
|
+
def update_retention_rule(namespace_name, bucket_name, retention_rule_id, update_retention_rule_details, opts = {})
|
3338
|
+
logger.debug 'Calling operation ObjectStorageClient#update_retention_rule.' if logger
|
3339
|
+
|
3340
|
+
raise "Missing the required parameter 'namespace_name' when calling update_retention_rule." if namespace_name.nil?
|
3341
|
+
raise "Missing the required parameter 'bucket_name' when calling update_retention_rule." if bucket_name.nil?
|
3342
|
+
raise "Missing the required parameter 'retention_rule_id' when calling update_retention_rule." if retention_rule_id.nil?
|
3343
|
+
raise "Missing the required parameter 'update_retention_rule_details' when calling update_retention_rule." if update_retention_rule_details.nil?
|
3344
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
3345
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
3346
|
+
raise "Parameter value for 'retention_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(retention_rule_id)
|
3347
|
+
|
3348
|
+
path = '/n/{namespaceName}/b/{bucketName}/retentionRules/{retentionRuleId}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{retentionRuleId}', retention_rule_id.to_s)
|
3349
|
+
operation_signing_strategy = :standard
|
3350
|
+
|
3351
|
+
# rubocop:disable Style/NegatedIf
|
3352
|
+
# Query Params
|
3353
|
+
query_params = {}
|
3354
|
+
|
3355
|
+
# Header Params
|
3356
|
+
header_params = {}
|
3357
|
+
header_params[:accept] = 'application/json'
|
3358
|
+
header_params[:'content-type'] = 'application/json'
|
3359
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3360
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
3361
|
+
# rubocop:enable Style/NegatedIf
|
3362
|
+
|
3363
|
+
post_body = @api_client.object_to_http_body(update_retention_rule_details)
|
3364
|
+
|
3365
|
+
# rubocop:disable Metrics/BlockLength
|
3366
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#update_retention_rule') do
|
3367
|
+
@api_client.call_api(
|
3368
|
+
:PUT,
|
3369
|
+
path,
|
3370
|
+
endpoint,
|
3371
|
+
header_params: header_params,
|
3372
|
+
query_params: query_params,
|
3373
|
+
operation_signing_strategy: operation_signing_strategy,
|
3374
|
+
body: post_body,
|
3375
|
+
return_type: 'OCI::ObjectStorage::Models::RetentionRule'
|
3376
|
+
)
|
3377
|
+
end
|
3378
|
+
# rubocop:enable Metrics/BlockLength
|
3379
|
+
end
|
3380
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3381
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3382
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3383
|
+
|
3384
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3385
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3386
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3387
|
+
|
3388
|
+
|
2407
3389
|
# Uploads a single part of a multipart upload.
|
2408
3390
|
#
|
2409
3391
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
@@ -2429,12 +3411,24 @@ module OCI
|
|
2429
3411
|
# part, this is the entity tag of the target part.
|
2430
3412
|
#
|
2431
3413
|
# @option opts [String] :expect 100-continue (default to 100-continue)
|
2432
|
-
# @option opts [String] :content_md5 The base-64 encoded MD5 hash of the body. If the Content-MD5 header is present, Object
|
2433
|
-
# on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
|
2434
|
-
# If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
|
3414
|
+
# @option opts [String] :content_md5 The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object
|
3415
|
+
# Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
|
3416
|
+
# MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
|
3417
|
+
# is returned with the message:
|
2435
3418
|
#
|
2436
3419
|
# \"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)\"
|
2437
3420
|
#
|
3421
|
+
# @option opts [String] :opc_sse_customer_algorithm The optional header that specifies \"AES256\" as the encryption algorithm. For more information, see
|
3422
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
3423
|
+
#
|
3424
|
+
# @option opts [String] :opc_sse_customer_key The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
|
3425
|
+
# decrypt the data. For more information, see
|
3426
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
3427
|
+
#
|
3428
|
+
# @option opts [String] :opc_sse_customer_key_sha256 The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
|
3429
|
+
# value is used to check the integrity of the encryption key. For more information, see
|
3430
|
+
# [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourecryptionkeys.htm).
|
3431
|
+
#
|
2438
3432
|
# @return [Response] A Response object with data of type nil
|
2439
3433
|
def upload_part(namespace_name, bucket_name, object_name, upload_id, upload_part_num, upload_part_body, opts = {})
|
2440
3434
|
logger.debug 'Calling operation ObjectStorageClient#upload_part.' if logger
|
@@ -2467,6 +3461,9 @@ module OCI
|
|
2467
3461
|
header_params[:expect] = opts[:expect] if opts[:expect]
|
2468
3462
|
header_params[:'content-length'] = opts[:content_length] if opts[:content_length]
|
2469
3463
|
header_params[:'content-md5'] = opts[:content_md5] if opts[:content_md5]
|
3464
|
+
header_params[:'opc-sse-customer-algorithm'] = opts[:opc_sse_customer_algorithm] if opts[:opc_sse_customer_algorithm]
|
3465
|
+
header_params[:'opc-sse-customer-key'] = opts[:opc_sse_customer_key] if opts[:opc_sse_customer_key]
|
3466
|
+
header_params[:'opc-sse-customer-key-sha256'] = opts[:opc_sse_customer_key_sha256] if opts[:opc_sse_customer_key_sha256]
|
2470
3467
|
# rubocop:enable Style/NegatedIf
|
2471
3468
|
header_params[:'content-type'] ||= 'application/octet-stream'
|
2472
3469
|
|