oci 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +21 -9
- data/lib/oci.rb +12 -1
- data/lib/oci/analytics/analytics.rb +1 -1
- data/lib/oci/analytics/analytics_client.rb +1 -1
- data/lib/oci/analytics/analytics_client_composite_operations.rb +1 -1
- data/lib/oci/analytics/models/analytics_instance.rb +1 -1
- data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +1 -1
- data/lib/oci/analytics/models/analytics_instance_summary.rb +1 -1
- data/lib/oci/analytics/models/capacity.rb +1 -1
- data/lib/oci/analytics/models/capacity_type.rb +1 -1
- data/lib/oci/analytics/models/change_compartment_details.rb +1 -1
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +1 -1
- data/lib/oci/analytics/models/feature_set.rb +1 -1
- data/lib/oci/analytics/models/license_type.rb +1 -1
- data/lib/oci/analytics/models/scale_analytics_instance_details.rb +1 -1
- data/lib/oci/analytics/models/sort_by.rb +1 -1
- data/lib/oci/analytics/models/sort_order.rb +1 -1
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +1 -1
- data/lib/oci/analytics/models/work_request.rb +1 -1
- data/lib/oci/analytics/models/work_request_action_result.rb +1 -1
- data/lib/oci/analytics/models/work_request_error.rb +1 -1
- data/lib/oci/analytics/models/work_request_log.rb +1 -1
- data/lib/oci/analytics/models/work_request_operation_type.rb +1 -1
- data/lib/oci/analytics/models/work_request_resource.rb +1 -1
- data/lib/oci/analytics/models/work_request_resource_type.rb +1 -1
- data/lib/oci/analytics/models/work_request_sort_by.rb +1 -1
- data/lib/oci/analytics/models/work_request_status.rb +1 -1
- data/lib/oci/analytics/models/work_request_summary.rb +1 -1
- data/lib/oci/announcements_service/announcement_client.rb +1 -1
- data/lib/oci/announcements_service/announcement_client_composite_operations.rb +1 -1
- data/lib/oci/announcements_service/announcements_service.rb +1 -1
- data/lib/oci/announcements_service/models/affected_resource.rb +1 -1
- data/lib/oci/announcements_service/models/announcement.rb +1 -1
- data/lib/oci/announcements_service/models/announcement_summary.rb +1 -1
- data/lib/oci/announcements_service/models/announcement_user_status_details.rb +1 -1
- data/lib/oci/announcements_service/models/announcements_collection.rb +1 -1
- data/lib/oci/announcements_service/models/base_announcement.rb +1 -1
- data/lib/oci/api_client.rb +3 -3
- data/lib/oci/api_client_proxy_settings.rb +1 -1
- data/lib/oci/apigateway/apigateway.rb +62 -0
- data/lib/oci/apigateway/deployment_client.rb +512 -0
- data/lib/oci/apigateway/deployment_client_composite_operations.rb +222 -0
- data/lib/oci/apigateway/gateway_client.rb +510 -0
- data/lib/oci/apigateway/gateway_client_composite_operations.rb +222 -0
- data/lib/oci/apigateway/models/access_log_policy.rb +156 -0
- data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +146 -0
- data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +164 -0
- data/lib/oci/apigateway/models/api_specification.rb +175 -0
- data/lib/oci/apigateway/models/api_specification_logging_policies.rb +166 -0
- data/lib/oci/apigateway/models/api_specification_request_policies.rb +170 -0
- data/lib/oci/apigateway/models/api_specification_route.rb +232 -0
- data/lib/oci/apigateway/models/api_specification_route_backend.rb +189 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +158 -0
- data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +145 -0
- data/lib/oci/apigateway/models/authentication_policy.rb +202 -0
- data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +155 -0
- data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +155 -0
- data/lib/oci/apigateway/models/cors_policy.rb +239 -0
- data/lib/oci/apigateway/models/create_deployment_details.rb +254 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +241 -0
- data/lib/oci/apigateway/models/custom_authentication_policy.rb +196 -0
- data/lib/oci/apigateway/models/deployment.rb +361 -0
- data/lib/oci/apigateway/models/deployment_collection.rb +149 -0
- data/lib/oci/apigateway/models/deployment_summary.rb +324 -0
- data/lib/oci/apigateway/models/execution_log_policy.rb +195 -0
- data/lib/oci/apigateway/models/gateway.rb +366 -0
- data/lib/oci/apigateway/models/gateway_collection.rb +149 -0
- data/lib/oci/apigateway/models/gateway_summary.rb +321 -0
- data/lib/oci/{oce/models/delete_oce_instance_details.rb → apigateway/models/header_field_specification.rb} +20 -14
- data/lib/oci/apigateway/models/http_backend.rb +226 -0
- data/lib/oci/apigateway/models/oracle_function_backend.rb +163 -0
- data/lib/oci/apigateway/models/rate_limiting_policy.rb +187 -0
- data/lib/oci/apigateway/models/route_authorization_policy.rb +195 -0
- data/lib/oci/apigateway/models/stock_response_backend.rb +178 -0
- data/lib/oci/apigateway/models/update_deployment_details.rb +204 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +195 -0
- data/lib/oci/apigateway/models/work_request.rb +308 -0
- data/lib/oci/apigateway/models/work_request_collection.rb +149 -0
- data/lib/oci/apigateway/models/work_request_error.rb +172 -0
- data/lib/oci/apigateway/models/work_request_error_collection.rb +149 -0
- data/lib/oci/apigateway/models/work_request_log.rb +159 -0
- data/lib/oci/apigateway/models/work_request_log_collection.rb +149 -0
- data/lib/oci/apigateway/models/work_request_resource.rb +219 -0
- data/lib/oci/apigateway/models/work_request_summary.rb +256 -0
- data/lib/oci/apigateway/util.rb +2 -0
- data/lib/oci/apigateway/work_requests_client.rb +467 -0
- data/lib/oci/apigateway/work_requests_client_composite_operations.rb +24 -0
- data/lib/oci/application_migration/application_migration.rb +56 -0
- data/lib/oci/application_migration/application_migration_client.rb +1388 -0
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +24 -0
- data/lib/oci/application_migration/models/authorization_details.rb +179 -0
- data/lib/oci/application_migration/models/change_compartment_details.rb +155 -0
- data/lib/oci/application_migration/models/configuration_field.rb +224 -0
- data/lib/oci/application_migration/models/create_migration_details.rb +283 -0
- data/lib/oci/application_migration/models/create_source_details.rb +239 -0
- data/lib/oci/application_migration/models/discovery_details.rb +187 -0
- data/lib/oci/application_migration/models/ics_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/internal_authorization_details.rb +168 -0
- data/lib/oci/application_migration/models/internal_source_details.rb +162 -0
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/migration.rb +373 -0
- data/lib/oci/application_migration/models/migration_lifecycle_states.rb +15 -0
- data/lib/oci/application_migration/models/migration_states.rb +15 -0
- data/lib/oci/application_migration/models/migration_summary.rb +343 -0
- data/lib/oci/application_migration/models/migration_types.rb +14 -0
- data/lib/oci/application_migration/models/oac_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +168 -0
- data/lib/oci/application_migration/models/ocic_source_details.rb +172 -0
- data/lib/oci/application_migration/models/oic_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/operation_status.rb +14 -0
- data/lib/oci/application_migration/models/operation_types.rb +19 -0
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +176 -0
- data/lib/oci/application_migration/models/sort_orders.rb +10 -0
- data/lib/oci/application_migration/models/source.rb +277 -0
- data/lib/oci/application_migration/models/source_application.rb +211 -0
- data/lib/oci/application_migration/models/source_application_summary.rb +218 -0
- data/lib/oci/application_migration/models/source_details.rb +186 -0
- data/lib/oci/application_migration/models/source_lifecycle_states.rb +14 -0
- data/lib/oci/application_migration/models/source_summary.rb +294 -0
- data/lib/oci/application_migration/models/source_types.rb +10 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +239 -0
- data/lib/oci/application_migration/models/update_source_details.rb +223 -0
- data/lib/oci/application_migration/models/work_request.rb +257 -0
- data/lib/oci/application_migration/models/work_request_error.rb +170 -0
- data/lib/oci/application_migration/models/work_request_log_entry.rb +159 -0
- data/lib/oci/application_migration/models/work_request_resource.rb +217 -0
- data/lib/oci/application_migration/models/work_request_summary.rb +250 -0
- data/lib/oci/application_migration/util.rb +1 -0
- data/lib/oci/audit/audit.rb +1 -1
- data/lib/oci/audit/audit_client.rb +1 -1
- data/lib/oci/audit/audit_client_composite_operations.rb +1 -1
- data/lib/oci/audit/models/audit_event.rb +1 -1
- data/lib/oci/audit/models/configuration.rb +1 -1
- data/lib/oci/audit/models/data.rb +1 -1
- data/lib/oci/audit/models/identity.rb +1 -1
- data/lib/oci/audit/models/request.rb +1 -1
- data/lib/oci/audit/models/response.rb +1 -1
- data/lib/oci/audit/models/state_change.rb +1 -1
- data/lib/oci/audit/models/update_configuration_details.rb +1 -1
- data/lib/oci/auth/federation_client.rb +4 -2
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +6 -2
- data/lib/oci/autoscaling/auto_scaling_client.rb +1 -1
- data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +1 -1
- data/lib/oci/autoscaling/autoscaling.rb +1 -1
- data/lib/oci/autoscaling/models/action.rb +1 -1
- data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +1 -1
- data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +1 -1
- data/lib/oci/autoscaling/models/auto_scaling_policy.rb +1 -1
- data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +1 -1
- data/lib/oci/autoscaling/models/capacity.rb +1 -1
- data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +1 -1
- data/lib/oci/autoscaling/models/condition.rb +1 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +1 -1
- data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +1 -1
- data/lib/oci/autoscaling/models/create_condition_details.rb +1 -1
- data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +1 -1
- data/lib/oci/autoscaling/models/instance_pool_resource.rb +1 -1
- data/lib/oci/autoscaling/models/metric.rb +1 -1
- data/lib/oci/autoscaling/models/resource.rb +1 -1
- data/lib/oci/autoscaling/models/threshold.rb +1 -1
- data/lib/oci/autoscaling/models/threshold_policy.rb +1 -1
- data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +1 -1
- data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +1 -1
- data/lib/oci/autoscaling/models/update_condition_details.rb +1 -1
- data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +1 -1
- data/lib/oci/base_signer.rb +1 -1
- data/lib/oci/bds/bds.rb +44 -0
- data/lib/oci/bds/bds_client.rb +1046 -0
- data/lib/oci/bds/bds_client_composite_operations.rb +422 -0
- data/lib/oci/bds/models/action_types.rb +13 -0
- data/lib/oci/bds/models/add_block_storage_details.rb +169 -0
- data/lib/oci/bds/models/add_cloud_sql_details.rb +179 -0
- data/lib/oci/bds/models/add_worker_nodes_details.rb +167 -0
- data/lib/oci/bds/models/bds_instance.rb +435 -0
- data/lib/oci/bds/models/bds_instance_summary.rb +309 -0
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +153 -0
- data/lib/oci/bds/models/cloud_sql_details.rb +211 -0
- data/lib/oci/bds/models/cluster_details.rb +239 -0
- data/lib/oci/bds/models/create_bds_instance_details.rb +297 -0
- data/lib/oci/bds/models/create_node_details.rb +193 -0
- data/lib/oci/bds/models/default_error.rb +159 -0
- data/lib/oci/bds/models/kerberos_details.rb +167 -0
- data/lib/oci/bds/models/network_config.rb +167 -0
- data/lib/oci/bds/models/node.rb +389 -0
- data/lib/oci/bds/models/operation_status.rb +14 -0
- data/lib/oci/bds/models/operation_types.rb +16 -0
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +153 -0
- data/lib/oci/bds/models/sort_orders.rb +10 -0
- data/lib/oci/bds/models/update_bds_instance_details.rb +185 -0
- data/lib/oci/bds/models/volume_attachment_detail.rb +167 -0
- data/lib/oci/bds/models/work_request.rb +311 -0
- data/lib/oci/bds/models/work_request_error.rb +172 -0
- data/lib/oci/bds/models/work_request_log_entry.rb +159 -0
- data/lib/oci/bds/models/work_request_resource.rb +218 -0
- data/lib/oci/bds/util.rb +2 -0
- data/lib/oci/budget/budget.rb +1 -1
- data/lib/oci/budget/budget_client.rb +10 -12
- data/lib/oci/budget/budget_client_composite_operations.rb +1 -1
- data/lib/oci/budget/models/alert_rule.rb +1 -1
- data/lib/oci/budget/models/alert_rule_summary.rb +2 -2
- data/lib/oci/budget/models/alert_type.rb +1 -1
- data/lib/oci/budget/models/budget.rb +2 -2
- data/lib/oci/budget/models/budget_summary.rb +2 -2
- data/lib/oci/budget/models/create_alert_rule_details.rb +2 -2
- data/lib/oci/budget/models/create_budget_details.rb +2 -2
- data/lib/oci/budget/models/lifecycle_state.rb +1 -1
- data/lib/oci/budget/models/reset_period.rb +1 -1
- data/lib/oci/budget/models/sort_by.rb +1 -1
- data/lib/oci/budget/models/sort_order.rb +1 -1
- data/lib/oci/budget/models/target_type.rb +1 -1
- data/lib/oci/budget/models/threshold_type.rb +1 -1
- data/lib/oci/budget/models/update_alert_rule_details.rb +2 -2
- data/lib/oci/budget/models/update_budget_details.rb +1 -1
- data/lib/oci/config.rb +1 -1
- data/lib/oci/config_file_loader.rb +1 -1
- data/lib/oci/container_engine/container_engine.rb +8 -1
- data/lib/oci/container_engine/container_engine_client.rb +6 -2
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +1 -1
- data/lib/oci/container_engine/models/add_on_options.rb +1 -1
- data/lib/oci/container_engine/models/admission_controller_options.rb +155 -0
- data/lib/oci/container_engine/models/cluster.rb +1 -1
- data/lib/oci/container_engine/models/cluster_create_options.rb +19 -5
- data/lib/oci/container_engine/models/cluster_endpoints.rb +1 -1
- data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +1 -1
- data/lib/oci/container_engine/models/cluster_metadata.rb +1 -1
- data/lib/oci/container_engine/models/cluster_options.rb +1 -1
- data/lib/oci/container_engine/models/cluster_summary.rb +1 -1
- data/lib/oci/container_engine/models/create_cluster_details.rb +1 -1
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +5 -6
- data/lib/oci/container_engine/models/create_node_pool_details.rb +21 -3
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +1 -1
- data/lib/oci/container_engine/models/key_value.rb +1 -1
- data/lib/oci/container_engine/models/kubernetes_network_config.rb +1 -1
- data/lib/oci/container_engine/models/node.rb +30 -2
- data/lib/oci/container_engine/models/node_error.rb +1 -1
- data/lib/oci/container_engine/models/node_pool.rb +20 -4
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +1 -1
- data/lib/oci/container_engine/models/node_pool_options.rb +24 -11
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +1 -1
- data/lib/oci/container_engine/models/node_pool_summary.rb +20 -4
- data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → container_engine/models/node_source_details.rb} +37 -40
- data/lib/oci/container_engine/models/node_source_option.rb +205 -0
- data/lib/oci/container_engine/models/node_source_type.rb +9 -0
- data/lib/oci/container_engine/models/node_source_via_image_details.rb +161 -0
- data/lib/oci/container_engine/models/node_source_via_image_option.rb +166 -0
- data/lib/oci/container_engine/models/sort_order.rb +1 -1
- data/lib/oci/container_engine/models/update_cluster_details.rb +14 -5
- data/lib/oci/container_engine/models/update_cluster_options_details.rb +153 -0
- data/lib/oci/container_engine/models/update_node_pool_details.rb +1 -1
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +1 -1
- data/lib/oci/container_engine/models/work_request.rb +1 -1
- data/lib/oci/container_engine/models/work_request_error.rb +1 -1
- data/lib/oci/container_engine/models/work_request_log_entry.rb +1 -1
- data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -1
- data/lib/oci/container_engine/models/work_request_resource.rb +1 -1
- data/lib/oci/container_engine/models/work_request_status.rb +1 -1
- data/lib/oci/container_engine/models/work_request_summary.rb +1 -1
- data/lib/oci/core/blockstorage_client.rb +110 -24
- data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -1
- data/lib/oci/core/compute_client.rb +12 -11
- data/lib/oci/core/compute_client_composite_operations.rb +1 -1
- data/lib/oci/core/compute_management_client.rb +39 -26
- data/lib/oci/core/compute_management_client_composite_operations.rb +11 -11
- data/lib/oci/core/core.rb +10 -1
- data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +1 -1
- data/lib/oci/core/models/add_security_rule_details.rb +5 -3
- data/lib/oci/core/models/added_network_security_group_security_rules.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +1 -1
- data/lib/oci/core/models/app_catalog_listing_summary.rb +1 -1
- data/lib/oci/core/models/app_catalog_subscription.rb +1 -1
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +1 -1
- data/lib/oci/core/models/attach_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/attach_emulated_volume_details.rb +6 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +6 -2
- data/lib/oci/core/models/attach_load_balancer_details.rb +3 -2
- data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +6 -2
- data/lib/oci/core/models/attach_service_determined_volume_details.rb +6 -2
- data/lib/oci/core/models/attach_vnic_details.rb +1 -1
- data/lib/oci/core/models/attach_volume_details.rb +20 -2
- data/lib/oci/core/models/bgp_session_info.rb +1 -1
- data/lib/oci/core/models/boot_volume.rb +26 -3
- data/lib/oci/core/models/boot_volume_attachment.rb +1 -1
- data/lib/oci/core/models/boot_volume_backup.rb +17 -3
- data/lib/oci/core/models/boot_volume_kms_key.rb +3 -3
- data/lib/oci/core/models/boot_volume_source_details.rb +1 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +1 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +1 -1
- data/lib/oci/core/models/capture_console_history_details.rb +1 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_cluster_network_compartment_details.rb +3 -3
- data/lib/oci/core/models/change_cpe_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_drg_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_image_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_instance_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_instance_pool_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_network_security_group_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_public_ip_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_route_table_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_security_list_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_service_gateway_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_subnet_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_vcn_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_volume_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +1 -1
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +1 -1
- data/lib/oci/core/models/cluster_network.rb +16 -7
- data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +5 -2
- data/lib/oci/core/models/cluster_network_summary.rb +10 -5
- data/lib/oci/core/models/compute_instance_details.rb +1 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +1 -1
- data/lib/oci/core/models/connect_remote_peering_connections_details.rb +1 -1
- data/lib/oci/core/models/console_history.rb +1 -1
- data/lib/oci/core/models/copy_boot_volume_backup_details.rb +194 -0
- data/lib/oci/core/models/copy_volume_backup_details.rb +2 -2
- data/lib/oci/core/models/cpe.rb +30 -2
- data/lib/oci/core/models/cpe_device_config_answer.rb +165 -0
- data/lib/oci/core/models/cpe_device_config_question.rb +180 -0
- data/lib/oci/core/models/cpe_device_info.rb +163 -0
- data/lib/oci/core/models/cpe_device_shape_detail.rb +203 -0
- data/lib/oci/core/models/cpe_device_shape_summary.rb +167 -0
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +7 -7
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/create_boot_volume_details.rb +28 -3
- data/lib/oci/core/models/create_cluster_network_details.rb +13 -6
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +10 -3
- data/lib/oci/core/models/create_cpe_details.rb +31 -5
- data/lib/oci/core/models/create_cross_connect_details.rb +1 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +1 -1
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +1 -1
- data/lib/oci/core/models/create_dhcp_details.rb +1 -1
- data/lib/oci/core/models/create_drg_attachment_details.rb +1 -1
- data/lib/oci/core/models/create_drg_details.rb +1 -1
- data/lib/oci/core/models/create_image_details.rb +1 -1
- data/lib/oci/core/models/create_instance_configuration_base.rb +1 -1
- data/lib/oci/core/models/create_instance_configuration_details.rb +1 -1
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +1 -1
- data/lib/oci/core/models/create_instance_console_connection_details.rb +1 -1
- data/lib/oci/core/models/create_instance_pool_details.rb +6 -3
- data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +33 -3
- data/lib/oci/core/models/create_internet_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +1 -1
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +1 -1
- data/lib/oci/core/models/create_ipv6_details.rb +1 -1
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_nat_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_network_security_group_details.rb +1 -1
- data/lib/oci/core/models/create_private_ip_details.rb +1 -1
- data/lib/oci/core/models/create_public_ip_details.rb +1 -1
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +1 -1
- data/lib/oci/core/models/create_route_table_details.rb +1 -1
- data/lib/oci/core/models/create_security_list_details.rb +1 -1
- data/lib/oci/core/models/create_service_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_subnet_details.rb +1 -1
- data/lib/oci/core/models/create_vcn_details.rb +1 -1
- data/lib/oci/core/models/create_virtual_circuit_details.rb +22 -3
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -2
- data/lib/oci/core/models/create_vnic_details.rb +11 -8
- data/lib/oci/core/models/create_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +3 -3
- data/lib/oci/core/models/create_volume_backup_policy_details.rb +11 -4
- data/lib/oci/core/models/create_volume_details.rb +30 -3
- data/lib/oci/core/models/create_volume_group_backup_details.rb +1 -1
- data/lib/oci/core/models/create_volume_group_details.rb +1 -1
- data/lib/oci/core/models/cross_connect.rb +1 -1
- data/lib/oci/core/models/cross_connect_group.rb +1 -1
- data/lib/oci/core/models/cross_connect_location.rb +1 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +5 -3
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +1 -1
- data/lib/oci/core/models/cross_connect_status.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +1 -1
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +1 -1
- data/lib/oci/core/models/detach_load_balancer_details.rb +1 -1
- data/lib/oci/core/models/device.rb +1 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +1 -1
- data/lib/oci/core/models/dhcp_option.rb +1 -1
- data/lib/oci/core/models/dhcp_options.rb +1 -1
- data/lib/oci/core/models/dhcp_search_domain_option.rb +1 -1
- data/lib/oci/core/models/drg.rb +1 -1
- data/lib/oci/core/models/drg_attachment.rb +1 -1
- data/lib/oci/core/models/drg_redundancy_status.rb +187 -0
- data/lib/oci/core/models/egress_security_rule.rb +18 -6
- data/lib/oci/core/models/emulated_volume_attachment.rb +6 -2
- data/lib/oci/core/models/export_image_details.rb +1 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +1 -1
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +1 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +1 -1
- data/lib/oci/core/models/fast_connect_provider_service_key.rb +2 -2
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +1 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +1 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +6 -2
- data/lib/oci/core/models/icmp_options.rb +1 -1
- data/lib/oci/core/models/image.rb +1 -1
- data/lib/oci/core/models/image_shape_compatibility_entry.rb +1 -1
- data/lib/oci/core/models/image_source_details.rb +1 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +1 -1
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +1 -1
- data/lib/oci/core/models/ingress_security_rule.rb +18 -6
- data/lib/oci/core/models/instance.rb +1 -1
- data/lib/oci/core/models/instance_agent_config.rb +22 -5
- data/lib/oci/core/models/instance_agent_features.rb +20 -5
- data/lib/oci/core/models/instance_configuration.rb +1 -1
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_block_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_create_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_instance_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_instance_source_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_summary.rb +1 -1
- data/lib/oci/core/models/instance_configuration_volume_source_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_console_connection.rb +2 -2
- data/lib/oci/core/models/instance_credentials.rb +1 -1
- data/lib/oci/core/models/instance_pool.rb +9 -5
- data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +1 -1
- data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +6 -4
- data/lib/oci/core/models/instance_pool_placement_configuration.rb +33 -3
- data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +4 -4
- data/lib/oci/core/models/instance_pool_summary.rb +1 -1
- data/lib/oci/core/models/instance_source_details.rb +1 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +2 -2
- data/lib/oci/core/models/instance_summary.rb +1 -1
- data/lib/oci/core/models/internet_gateway.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection.rb +2 -2
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection_tunnel.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +1 -1
- data/lib/oci/core/models/ipv6.rb +3 -4
- data/lib/oci/core/models/launch_instance_agent_config_details.rb +23 -5
- data/lib/oci/core/models/launch_instance_details.rb +1 -1
- data/lib/oci/core/models/launch_options.rb +1 -1
- data/lib/oci/core/models/letter_of_authority.rb +1 -1
- data/lib/oci/core/models/local_peering_gateway.rb +1 -1
- data/lib/oci/core/models/nat_gateway.rb +1 -1
- data/lib/oci/core/models/network_security_group.rb +1 -1
- data/lib/oci/core/models/network_security_group_vnic.rb +1 -1
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +6 -2
- data/lib/oci/core/models/peer_region_for_remote_peering.rb +1 -1
- data/lib/oci/core/models/port_range.rb +1 -1
- data/lib/oci/core/models/private_ip.rb +1 -1
- data/lib/oci/core/models/public_ip.rb +1 -1
- data/lib/oci/core/models/remote_peering_connection.rb +1 -1
- data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +1 -1
- data/lib/oci/core/models/route_rule.rb +18 -7
- data/lib/oci/core/models/route_table.rb +1 -1
- data/lib/oci/core/models/security_list.rb +1 -2
- data/lib/oci/core/models/security_rule.rb +5 -3
- data/lib/oci/core/models/service.rb +1 -1
- data/lib/oci/core/models/service_gateway.rb +1 -1
- data/lib/oci/core/models/service_id_request_details.rb +1 -1
- data/lib/oci/core/models/service_id_response_details.rb +1 -1
- data/lib/oci/core/models/shape.rb +1 -1
- data/lib/oci/core/models/subnet.rb +3 -3
- data/lib/oci/core/models/tcp_options.rb +1 -1
- data/lib/oci/core/models/tunnel_config.rb +1 -1
- data/lib/oci/core/models/tunnel_cpe_device_config.rb +163 -0
- data/lib/oci/core/models/tunnel_status.rb +1 -1
- data/lib/oci/core/models/udp_options.rb +1 -1
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/update_boot_volume_details.rb +28 -5
- data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +4 -4
- data/lib/oci/core/models/update_cluster_network_details.rb +5 -3
- data/lib/oci/core/models/update_console_history_details.rb +1 -1
- data/lib/oci/core/models/update_cpe_details.rb +30 -5
- data/lib/oci/core/models/update_cross_connect_details.rb +1 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -1
- data/lib/oci/core/models/update_dedicated_vm_host_details.rb +1 -1
- data/lib/oci/core/models/update_dhcp_details.rb +1 -1
- data/lib/oci/core/models/update_drg_attachment_details.rb +1 -1
- data/lib/oci/core/models/update_drg_details.rb +1 -1
- data/lib/oci/core/models/update_image_details.rb +1 -1
- data/lib/oci/core/models/update_instance_agent_config_details.rb +22 -5
- data/lib/oci/core/models/update_instance_configuration_details.rb +1 -1
- data/lib/oci/core/models/update_instance_details.rb +20 -37
- data/lib/oci/core/models/update_instance_pool_details.rb +4 -2
- data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +31 -2
- data/lib/oci/core/models/update_internet_gateway_details.rb +1 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +2 -2
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +1 -1
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +1 -1
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +1 -1
- data/lib/oci/core/models/update_ipv6_details.rb +1 -1
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -1
- data/lib/oci/core/models/update_nat_gateway_details.rb +1 -1
- data/lib/oci/core/models/update_network_security_group_details.rb +1 -1
- data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +1 -1
- data/lib/oci/core/models/update_private_ip_details.rb +1 -1
- data/lib/oci/core/models/update_public_ip_details.rb +1 -1
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +1 -1
- data/lib/oci/core/models/update_route_table_details.rb +1 -1
- data/lib/oci/core/models/update_security_list_details.rb +1 -1
- data/lib/oci/core/models/update_security_rule_details.rb +5 -3
- data/lib/oci/core/models/update_service_gateway_details.rb +1 -1
- data/lib/oci/core/models/update_subnet_details.rb +1 -1
- data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +154 -0
- data/lib/oci/core/models/update_vcn_details.rb +1 -1
- data/lib/oci/core/models/update_virtual_circuit_details.rb +21 -3
- data/lib/oci/core/models/update_vnic_details.rb +7 -4
- data/lib/oci/core/models/update_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/update_volume_backup_policy_details.rb +10 -3
- data/lib/oci/core/models/update_volume_details.rb +27 -2
- data/lib/oci/core/models/update_volume_group_backup_details.rb +1 -1
- data/lib/oci/core/models/update_volume_group_details.rb +1 -1
- data/lib/oci/core/models/update_volume_kms_key_details.rb +4 -4
- data/lib/oci/core/models/updated_network_security_group_security_rules.rb +1 -1
- data/lib/oci/core/models/vcn.rb +3 -2
- data/lib/oci/core/models/virtual_circuit.rb +21 -4
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +1 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +1 -1
- data/lib/oci/core/models/vnic.rb +1 -1
- data/lib/oci/core/models/vnic_attachment.rb +2 -2
- data/lib/oci/core/models/volume.rb +28 -3
- data/lib/oci/core/models/volume_attachment.rb +16 -2
- data/lib/oci/core/models/volume_backup.rb +2 -2
- data/lib/oci/core/models/volume_backup_policy.rb +1 -1
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +9 -5
- data/lib/oci/core/models/volume_backup_schedule.rb +27 -11
- data/lib/oci/core/models/volume_group.rb +2 -2
- data/lib/oci/core/models/volume_group_backup.rb +1 -1
- data/lib/oci/core/models/volume_group_source_details.rb +1 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +1 -1
- data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +1 -1
- data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +1 -1
- data/lib/oci/core/models/volume_kms_key.rb +3 -3
- data/lib/oci/core/models/volume_source_details.rb +1 -1
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +1 -1
- data/lib/oci/core/virtual_network_client.rb +699 -1
- data/lib/oci/core/virtual_network_client_composite_operations.rb +1 -1
- data/lib/oci/data_catalog/data_catalog.rb +135 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +7577 -0
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +172 -0
- data/lib/oci/data_catalog/models/attribute.rb +403 -0
- data/lib/oci/data_catalog/models/attribute_collection.rb +150 -0
- data/lib/oci/data_catalog/models/attribute_summary.rb +281 -0
- data/lib/oci/data_catalog/models/attribute_tag.rb +269 -0
- data/lib/oci/data_catalog/models/attribute_tag_collection.rb +150 -0
- data/lib/oci/data_catalog/models/attribute_tag_summary.rb +269 -0
- data/lib/oci/data_catalog/models/base_permissions_summary.rb +153 -0
- data/lib/oci/data_catalog/models/base_tag.rb +255 -0
- data/lib/oci/data_catalog/models/base_tag_summary.rb +255 -0
- data/lib/oci/data_catalog/models/catalog.rb +311 -0
- data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +167 -0
- data/lib/oci/data_catalog/models/catalog_summary.rb +279 -0
- data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +153 -0
- data/lib/oci/data_catalog/models/connection.rb +343 -0
- data/lib/oci/data_catalog/models/connection_alias_summary.rb +170 -0
- data/lib/oci/data_catalog/models/connection_collection.rb +150 -0
- data/lib/oci/data_catalog/models/connection_result.rb +10 -0
- data/lib/oci/data_catalog/models/connection_summary.rb +271 -0
- data/lib/oci/data_catalog/models/create_attribute_details.rb +283 -0
- data/lib/oci/data_catalog/models/create_catalog_details.rb +199 -0
- data/lib/oci/data_catalog/models/create_connection_details.rb +237 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +197 -0
- data/lib/oci/data_catalog/models/create_entity_details.rb +275 -0
- data/lib/oci/data_catalog/models/create_folder_details.rb +239 -0
- data/lib/oci/data_catalog/models/create_glossary_details.rb +189 -0
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +271 -0
- data/lib/oci/data_catalog/models/create_job_details.rb +240 -0
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +342 -0
- data/lib/oci/data_catalog/models/create_tag_details.rb +165 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +219 -0
- data/lib/oci/data_catalog/models/create_term_relationship_details.rb +179 -0
- data/lib/oci/data_catalog/models/data_asset.rb +319 -0
- data/lib/oci/data_catalog/models/data_asset_collection.rb +150 -0
- data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +167 -0
- data/lib/oci/data_catalog/models/data_asset_summary.rb +261 -0
- data/lib/oci/data_catalog/models/data_asset_tag.rb +269 -0
- data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +150 -0
- data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +269 -0
- data/lib/oci/data_catalog/models/entity.rb +428 -0
- data/lib/oci/data_catalog/models/entity_collection.rb +150 -0
- data/lib/oci/data_catalog/models/entity_summary.rb +299 -0
- data/lib/oci/data_catalog/models/entity_tag.rb +269 -0
- data/lib/oci/data_catalog/models/entity_tag_collection.rb +150 -0
- data/lib/oci/data_catalog/models/entity_tag_summary.rb +269 -0
- data/lib/oci/data_catalog/models/folder.rb +371 -0
- data/lib/oci/data_catalog/models/folder_collection.rb +150 -0
- data/lib/oci/data_catalog/models/folder_summary.rb +286 -0
- data/lib/oci/data_catalog/models/folder_tag.rb +269 -0
- data/lib/oci/data_catalog/models/folder_tag_collection.rb +150 -0
- data/lib/oci/data_catalog/models/folder_tag_summary.rb +269 -0
- data/lib/oci/data_catalog/models/glossary.rb +304 -0
- data/lib/oci/data_catalog/models/glossary_collection.rb +150 -0
- data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +167 -0
- data/lib/oci/data_catalog/models/glossary_summary.rb +251 -0
- data/lib/oci/data_catalog/models/glossary_tree_element.rb +311 -0
- data/lib/oci/data_catalog/models/harvest_status.rb +12 -0
- data/lib/oci/data_catalog/models/import_connection_details.rb +166 -0
- data/lib/oci/data_catalog/models/import_glossary_details.rb +153 -0
- data/lib/oci/data_catalog/models/job.rb +420 -0
- data/lib/oci/data_catalog/models/job_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_definition.rb +391 -0
- data/lib/oci/data_catalog/models/job_definition_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +167 -0
- data/lib/oci/data_catalog/models/job_definition_scope.rb +229 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +262 -0
- data/lib/oci/data_catalog/models/job_execution.rb +420 -0
- data/lib/oci/data_catalog/models/job_execution_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_execution_state.rb +14 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +275 -0
- data/lib/oci/data_catalog/models/job_lifecycle_state.rb +11 -0
- data/lib/oci/data_catalog/models/job_log.rb +258 -0
- data/lib/oci/data_catalog/models/job_log_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_log_summary.rb +216 -0
- data/lib/oci/data_catalog/models/job_metric.rb +336 -0
- data/lib/oci/data_catalog/models/job_metric_collection.rb +150 -0
- data/lib/oci/data_catalog/models/job_metric_summary.rb +289 -0
- data/lib/oci/data_catalog/models/job_schedule_type.rb +10 -0
- data/lib/oci/data_catalog/models/job_summary.rb +386 -0
- data/lib/oci/data_catalog/models/job_type.rb +21 -0
- data/lib/oci/data_catalog/models/lifecycle_state.rb +16 -0
- data/lib/oci/data_catalog/models/parse_connection_details.rb +166 -0
- data/lib/oci/data_catalog/models/property_definition.rb +187 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +150 -0
- data/lib/oci/data_catalog/models/search_result.rb +490 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +161 -0
- data/lib/oci/data_catalog/models/search_tag_summary.rb +163 -0
- data/lib/oci/data_catalog/models/search_term_summary.rb +222 -0
- data/lib/oci/data_catalog/models/term.rb +367 -0
- data/lib/oci/data_catalog/models/term_associated_object.rb +169 -0
- data/lib/oci/data_catalog/models/term_collection.rb +150 -0
- data/lib/oci/data_catalog/models/term_relationship.rb +300 -0
- data/lib/oci/data_catalog/models/term_relationship_collection.rb +150 -0
- data/lib/oci/data_catalog/models/term_relationship_summary.rb +300 -0
- data/lib/oci/data_catalog/models/term_summary.rb +300 -0
- data/lib/oci/data_catalog/models/term_workflow_status.rb +12 -0
- data/lib/oci/data_catalog/models/type.rb +308 -0
- data/lib/oci/data_catalog/models/type_collection.rb +150 -0
- data/lib/oci/data_catalog/models/type_summary.rb +223 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +279 -0
- data/lib/oci/data_catalog/models/update_catalog_details.rb +185 -0
- data/lib/oci/data_catalog/models/update_connection_details.rb +219 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +180 -0
- data/lib/oci/data_catalog/models/update_entity_details.rb +271 -0
- data/lib/oci/data_catalog/models/update_folder_details.rb +239 -0
- data/lib/oci/data_catalog/models/update_glossary_details.rb +189 -0
- data/lib/oci/data_catalog/models/update_job_definition_details.rb +252 -0
- data/lib/oci/data_catalog/models/update_job_details.rb +224 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +203 -0
- data/lib/oci/data_catalog/models/update_term_relationship_details.rb +165 -0
- data/lib/oci/data_catalog/models/upload_credentials_details.rb +166 -0
- data/lib/oci/data_catalog/models/validate_connection_details.rb +166 -0
- data/lib/oci/data_catalog/models/validate_connection_result.rb +159 -0
- data/lib/oci/data_catalog/models/work_request.rb +307 -0
- data/lib/oci/data_catalog/models/work_request_error.rb +172 -0
- data/lib/oci/data_catalog/models/work_request_log.rb +159 -0
- data/lib/oci/data_catalog/models/work_request_resource.rb +218 -0
- data/lib/oci/data_catalog/util.rb +1 -0
- data/lib/oci/data_flow/data_flow.rb +34 -0
- data/lib/oci/data_flow/data_flow_client.rb +1116 -0
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +270 -0
- data/lib/oci/data_flow/models/application.rb +527 -0
- data/lib/oci/data_flow/models/application_language.rb +12 -0
- data/lib/oci/data_flow/models/application_lifecycle_state.rb +11 -0
- data/lib/oci/data_flow/models/application_parameter.rb +165 -0
- data/lib/oci/data_flow/models/application_summary.rb +345 -0
- data/lib/oci/data_flow/models/change_application_compartment_details.rb +155 -0
- data/lib/oci/data_flow/models/change_run_compartment_details.rb +155 -0
- data/lib/oci/data_flow/models/create_application_details.rb +411 -0
- data/lib/oci/data_flow/models/create_run_details.rb +358 -0
- data/lib/oci/data_flow/models/run.rb +625 -0
- data/lib/oci/data_flow/models/run_lifecycle_state.rb +14 -0
- data/lib/oci/data_flow/models/run_log_summary.rb +259 -0
- data/lib/oci/data_flow/models/run_summary.rb +454 -0
- data/lib/oci/data_flow/models/update_application_details.rb +396 -0
- data/lib/oci/data_flow/models/update_run_details.rb +173 -0
- data/lib/oci/data_flow/util.rb +1 -0
- data/lib/oci/data_science/data_science.rb +49 -0
- data/lib/oci/data_science/data_science_client.rb +2359 -0
- data/lib/oci/data_science/data_science_client_composite_operations.rb +587 -0
- data/lib/oci/data_science/models/change_model_compartment_details.rb +154 -0
- data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +154 -0
- data/lib/oci/data_science/models/change_project_compartment_details.rb +154 -0
- data/lib/oci/data_science/models/create_model_details.rb +225 -0
- data/lib/oci/data_science/models/create_model_provenance_details.rb +210 -0
- data/lib/oci/data_science/models/create_notebook_session_details.rb +230 -0
- data/lib/oci/data_science/models/create_project_details.rb +210 -0
- data/lib/oci/data_science/models/model.rb +299 -0
- data/lib/oci/data_science/models/model_lifecycle_state.rb +12 -0
- data/lib/oci/data_science/models/model_provenance.rb +210 -0
- data/lib/oci/data_science/models/model_summary.rb +289 -0
- data/lib/oci/data_science/models/notebook_session.rb +336 -0
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +180 -0
- data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +15 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +181 -0
- data/lib/oci/data_science/models/notebook_session_summary.rb +321 -0
- data/lib/oci/data_science/models/project.rb +285 -0
- data/lib/oci/data_science/models/project_lifecycle_state.rb +11 -0
- data/lib/oci/data_science/models/project_summary.rb +284 -0
- data/lib/oci/data_science/models/update_model_details.rb +198 -0
- data/lib/oci/data_science/models/update_model_provenance_details.rb +210 -0
- data/lib/oci/data_science/models/update_notebook_session_details.rb +202 -0
- data/lib/oci/data_science/models/update_project_details.rb +195 -0
- data/lib/oci/data_science/models/work_request.rb +300 -0
- data/lib/oci/data_science/models/work_request_error.rb +170 -0
- data/lib/oci/data_science/models/work_request_log_entry.rb +159 -0
- data/lib/oci/data_science/models/work_request_operation_type.rb +14 -0
- data/lib/oci/data_science/models/work_request_resource.rb +214 -0
- data/lib/oci/data_science/models/work_request_status.rb +14 -0
- data/lib/oci/data_science/models/work_request_summary.rb +300 -0
- data/lib/oci/data_science/util.rb +1 -0
- data/lib/oci/database/database.rb +12 -3
- data/lib/oci/database/database_client.rb +730 -50
- data/lib/oci/database/database_client_composite_operations.rb +162 -4
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/associated_database_details.rb +1 -1
- data/lib/oci/database/models/autonomous_container_database.rb +17 -4
- data/lib/oci/database/models/autonomous_container_database_backup_config.rb +1 -1
- data/lib/oci/database/models/autonomous_container_database_summary.rb +17 -4
- data/lib/oci/database/models/autonomous_data_warehouse.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +1 -1
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +1 -1
- data/lib/oci/database/models/autonomous_database.rb +157 -15
- data/lib/oci/database/models/autonomous_database_backup.rb +21 -5
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +21 -5
- data/lib/oci/database/models/autonomous_database_connection_strings.rb +1 -1
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +20 -6
- data/lib/oci/database/models/autonomous_database_console_token_details.rb +2 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +157 -15
- data/lib/oci/database/models/autonomous_database_wallet.rb +1 -1
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +7 -3
- data/lib/oci/database/models/autonomous_db_version_summary.rb +213 -0
- data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +4 -2
- data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +1 -1
- data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +4 -2
- data/lib/oci/database/models/backup.rb +15 -5
- data/lib/oci/database/models/backup_destination.rb +1 -1
- data/lib/oci/database/models/backup_destination_details.rb +5 -39
- data/lib/oci/database/models/backup_destination_summary.rb +1 -1
- data/lib/oci/database/models/backup_summary.rb +15 -5
- data/lib/oci/database/models/change_compartment_details.rb +1 -1
- data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +1 -1
- data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +1 -1
- data/lib/oci/database/models/complete_external_backup_job_details.rb +1 -1
- data/lib/oci/database/models/console_connection.rb +235 -0
- data/lib/oci/database/models/console_connection_summary.rb +240 -0
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +16 -3
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +110 -12
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +22 -2
- data/lib/oci/database/models/create_autonomous_database_details.rb +22 -2
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +269 -0
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +279 -0
- data/lib/oci/database/models/create_backup_destination_details.rb +1 -1
- data/lib/oci/database/models/create_backup_details.rb +1 -1
- data/lib/oci/database/models/create_console_connection_details.rb +155 -0
- data/lib/oci/database/models/create_data_guard_association_details.rb +2 -2
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +3 -3
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +21 -5
- data/lib/oci/database/models/create_database_base.rb +215 -0
- data/lib/oci/database/models/create_database_details.rb +1 -1
- data/lib/oci/database/models/{create_db_home_with_vm_cluster_id_from_backup_details.rb → create_database_from_backup.rb} +16 -24
- data/lib/oci/database/models/create_database_from_backup_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_base.rb +4 -6
- data/lib/oci/database/models/create_db_home_details.rb +3 -3
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +3 -3
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +1 -2
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +4 -2
- data/lib/oci/database/models/create_external_backup_job_details.rb +1 -1
- data/lib/oci/database/models/create_new_database_details.rb +168 -0
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +1 -1
- data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +1 -1
- data/lib/oci/database/models/create_vm_cluster_details.rb +1 -1
- data/lib/oci/database/models/data_guard_association.rb +2 -2
- data/lib/oci/database/models/data_guard_association_summary.rb +2 -2
- data/lib/oci/database/models/database.rb +31 -3
- data/lib/oci/database/models/database_connection_strings.rb +1 -1
- data/lib/oci/database/models/database_summary.rb +31 -3
- data/lib/oci/database/models/day_of_week.rb +1 -1
- data/lib/oci/database/models/db_backup_config.rb +1 -1
- data/lib/oci/database/models/db_home.rb +34 -6
- data/lib/oci/database/models/db_home_summary.rb +37 -9
- data/lib/oci/database/models/db_iorm_config.rb +1 -1
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +1 -1
- data/lib/oci/database/models/db_node.rb +79 -5
- data/lib/oci/database/models/db_node_summary.rb +79 -5
- data/lib/oci/database/models/db_system.rb +4 -2
- data/lib/oci/database/models/db_system_options.rb +7 -2
- data/lib/oci/database/models/db_system_shape_summary.rb +1 -1
- data/lib/oci/database/models/db_system_summary.rb +4 -2
- data/lib/oci/database/models/db_version_summary.rb +19 -5
- data/lib/oci/database/models/exadata_infrastructure.rb +1 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +1 -1
- data/lib/oci/database/models/exadata_iorm_config.rb +1 -1
- data/lib/oci/database/models/exadata_iorm_config_update_details.rb +1 -1
- data/lib/oci/database/models/external_backup_job.rb +1 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +1 -1
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +1 -1
- data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
- data/lib/oci/database/models/gi_version_summary.rb +1 -1
- data/lib/oci/database/models/info_for_network_gen_details.rb +1 -1
- data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +4 -2
- data/lib/oci/database/models/launch_db_system_base.rb +6 -4
- data/lib/oci/database/models/launch_db_system_details.rb +1 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +1 -1
- data/lib/oci/database/models/maintenance_run.rb +5 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +5 -1
- data/lib/oci/database/models/maintenance_window.rb +1 -1
- data/lib/oci/database/models/month.rb +1 -1
- data/lib/oci/database/models/node_details.rb +2 -2
- data/lib/oci/database/models/ocp_us.rb +181 -0
- data/lib/oci/database/models/patch.rb +1 -1
- data/lib/oci/database/models/patch_details.rb +2 -2
- data/lib/oci/database/models/patch_history_entry.rb +1 -1
- data/lib/oci/database/models/patch_history_entry_summary.rb +1 -1
- data/lib/oci/database/models/patch_summary.rb +1 -1
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +1 -1
- data/lib/oci/database/models/restore_autonomous_database_details.rb +1 -1
- data/lib/oci/database/models/restore_database_details.rb +1 -1
- data/lib/oci/database/models/scan_details.rb +1 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +15 -2
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +30 -10
- data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +4 -2
- data/lib/oci/database/models/update_backup_destination_details.rb +1 -1
- data/lib/oci/database/models/update_database_details.rb +1 -1
- data/lib/oci/database/models/update_db_home_details.rb +2 -2
- data/lib/oci/database/models/update_db_system_details.rb +19 -3
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/update_maintenance_run_details.rb +1 -1
- data/lib/oci/database/models/update_vm_cluster_details.rb +1 -1
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network_summary.rb +1 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +1 -1
- data/lib/oci/database/models/vm_network_details.rb +1 -1
- data/lib/oci/database/models/workload_type.rb +160 -0
- data/lib/oci/dns/dns.rb +6 -1
- data/lib/oci/dns/dns_client.rb +572 -3
- data/lib/oci/dns/dns_client_composite_operations.rb +120 -1
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +1 -1
- data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +155 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +1 -1
- data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +1 -1
- data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +1 -1
- data/lib/oci/dns/models/create_steering_policy_details.rb +1 -1
- data/lib/oci/dns/models/create_tsig_key_details.rb +228 -0
- data/lib/oci/dns/models/create_zone_base_details.rb +1 -1
- data/lib/oci/dns/models/create_zone_details.rb +1 -1
- data/lib/oci/dns/models/dynect_migration_details.rb +1 -1
- data/lib/oci/dns/models/external_master.rb +22 -5
- data/lib/oci/dns/models/migration_replacement.rb +1 -1
- data/lib/oci/dns/models/nameserver.rb +1 -1
- data/lib/oci/dns/models/patch_domain_records_details.rb +1 -1
- data/lib/oci/dns/models/patch_rr_set_details.rb +1 -1
- data/lib/oci/dns/models/patch_zone_records_details.rb +1 -1
- data/lib/oci/dns/models/record.rb +1 -1
- data/lib/oci/dns/models/record_collection.rb +1 -1
- data/lib/oci/dns/models/record_details.rb +1 -1
- data/lib/oci/dns/models/record_operation.rb +1 -1
- data/lib/oci/dns/models/rr_set.rb +1 -1
- data/lib/oci/dns/models/sort_order.rb +1 -1
- data/lib/oci/dns/models/steering_policy.rb +1 -1
- data/lib/oci/dns/models/steering_policy_answer.rb +1 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +1 -1
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +1 -1
- data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +1 -1
- data/lib/oci/dns/models/steering_policy_filter_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +1 -1
- data/lib/oci/dns/models/steering_policy_health_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_health_rule_case.rb +1 -1
- data/lib/oci/dns/models/steering_policy_limit_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +1 -1
- data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +1 -1
- data/lib/oci/dns/models/steering_policy_priority_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +1 -1
- data/lib/oci/dns/models/steering_policy_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_summary.rb +1 -1
- data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +1 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule.rb +1 -1
- data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +1 -1
- data/lib/oci/dns/models/tsig.rb +1 -1
- data/lib/oci/dns/models/tsig_key.rb +320 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +290 -0
- data/lib/oci/dns/models/update_domain_records_details.rb +1 -1
- data/lib/oci/dns/models/update_rr_set_details.rb +1 -1
- data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +1 -1
- data/lib/oci/dns/models/update_steering_policy_details.rb +1 -1
- data/lib/oci/dns/models/update_tsig_key_details.rb +180 -0
- data/lib/oci/dns/models/update_zone_details.rb +1 -1
- data/lib/oci/dns/models/update_zone_records_details.rb +1 -1
- data/lib/oci/dns/models/zone.rb +1 -1
- data/lib/oci/dns/models/zone_summary.rb +1 -1
- data/lib/oci/dts/appliance_export_job_client.rb +495 -0
- data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +143 -0
- data/lib/oci/dts/dts.rb +8 -1
- data/lib/oci/dts/models/appliance_export_job.rb +550 -0
- data/lib/oci/dts/models/appliance_export_job_summary.rb +275 -0
- data/lib/oci/dts/models/attach_devices_details.rb +1 -1
- data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +154 -0
- data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +1 -1
- data/lib/oci/dts/models/create_appliance_export_job_details.rb +269 -0
- data/lib/oci/dts/models/create_transfer_appliance_details.rb +1 -1
- data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +9 -5
- data/lib/oci/dts/models/create_transfer_device_details.rb +1 -1
- data/lib/oci/dts/models/create_transfer_job_details.rb +9 -5
- data/lib/oci/dts/models/create_transfer_package_details.rb +1 -1
- data/lib/oci/dts/models/detach_devices_details.rb +1 -1
- data/lib/oci/dts/models/multiple_transfer_appliances.rb +1 -1
- data/lib/oci/dts/models/multiple_transfer_devices.rb +1 -1
- data/lib/oci/dts/models/multiple_transfer_packages.rb +1 -1
- data/lib/oci/dts/models/new_transfer_device.rb +1 -1
- data/lib/oci/dts/models/shipping_address.rb +1 -1
- data/lib/oci/dts/models/shipping_vendors.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance_certificate.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance_entitlement.rb +9 -5
- data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +9 -5
- data/lib/oci/dts/models/transfer_appliance_public_key.rb +1 -1
- data/lib/oci/dts/models/transfer_appliance_summary.rb +1 -1
- data/lib/oci/dts/models/transfer_device.rb +1 -1
- data/lib/oci/dts/models/transfer_device_summary.rb +1 -1
- data/lib/oci/dts/models/transfer_job.rb +9 -5
- data/lib/oci/dts/models/transfer_job_summary.rb +9 -5
- data/lib/oci/dts/models/transfer_package.rb +1 -1
- data/lib/oci/dts/models/transfer_package_summary.rb +1 -1
- data/lib/oci/dts/models/update_appliance_export_job_details.rb +395 -0
- data/lib/oci/dts/models/update_transfer_appliance_details.rb +1 -1
- data/lib/oci/dts/models/update_transfer_device_details.rb +1 -1
- data/lib/oci/dts/models/update_transfer_job_details.rb +9 -5
- data/lib/oci/dts/models/update_transfer_package_details.rb +1 -1
- data/lib/oci/dts/shipping_vendors_client.rb +1 -1
- data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_appliance_client.rb +1 -1
- data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +1 -1
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_device_client.rb +1 -1
- data/lib/oci/dts/transfer_device_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_job_client.rb +33 -5
- data/lib/oci/dts/transfer_job_client_composite_operations.rb +1 -1
- data/lib/oci/dts/transfer_package_client.rb +1 -1
- data/lib/oci/dts/transfer_package_client_composite_operations.rb +1 -1
- data/lib/oci/email/email.rb +1 -1
- data/lib/oci/email/email_client.rb +1 -1
- data/lib/oci/email/email_client_composite_operations.rb +1 -1
- data/lib/oci/email/models/change_sender_compartment_details.rb +1 -1
- data/lib/oci/email/models/create_sender_details.rb +1 -1
- data/lib/oci/email/models/create_suppression_details.rb +1 -1
- data/lib/oci/email/models/sender.rb +1 -1
- data/lib/oci/email/models/sender_summary.rb +1 -1
- data/lib/oci/email/models/suppression.rb +1 -1
- data/lib/oci/email/models/suppression_summary.rb +1 -1
- data/lib/oci/email/models/update_sender_details.rb +1 -1
- data/lib/oci/errors.rb +1 -1
- data/lib/oci/events/events.rb +1 -1
- data/lib/oci/events/events_client.rb +2 -2
- data/lib/oci/events/events_client_composite_operations.rb +1 -1
- data/lib/oci/events/models/action.rb +22 -3
- data/lib/oci/events/models/action_details.rb +1 -1
- data/lib/oci/events/models/action_details_list.rb +1 -1
- data/lib/oci/events/models/action_list.rb +1 -1
- data/lib/oci/events/models/change_rule_compartment_details.rb +1 -1
- data/lib/oci/events/models/create_faa_s_action_details.rb +1 -1
- data/lib/oci/events/models/create_notification_service_action_details.rb +1 -1
- data/lib/oci/events/models/create_rule_details.rb +2 -7
- data/lib/oci/events/models/create_streaming_service_action_details.rb +1 -1
- data/lib/oci/events/models/faa_s_action.rb +6 -2
- data/lib/oci/events/models/notification_service_action.rb +6 -2
- data/lib/oci/events/models/rule.rb +3 -8
- data/lib/oci/events/models/rule_summary.rb +3 -8
- data/lib/oci/events/models/streaming_service_action.rb +6 -2
- data/lib/oci/events/models/update_rule_details.rb +2 -7
- data/lib/oci/file_storage/file_storage.rb +1 -1
- data/lib/oci/file_storage/file_storage_client.rb +68 -60
- data/lib/oci/file_storage/file_storage_client_composite_operations.rb +1 -1
- data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +1 -1
- data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +1 -1
- data/lib/oci/file_storage/models/client_options.rb +1 -1
- data/lib/oci/file_storage/models/create_export_details.rb +1 -1
- data/lib/oci/file_storage/models/create_file_system_details.rb +1 -1
- data/lib/oci/file_storage/models/create_mount_target_details.rb +20 -2
- data/lib/oci/file_storage/models/create_snapshot_details.rb +1 -1
- data/lib/oci/file_storage/models/export.rb +1 -1
- data/lib/oci/file_storage/models/export_set.rb +1 -1
- data/lib/oci/file_storage/models/export_set_summary.rb +1 -1
- data/lib/oci/file_storage/models/export_summary.rb +1 -1
- data/lib/oci/file_storage/models/file_system.rb +2 -2
- data/lib/oci/file_storage/models/file_system_summary.rb +1 -1
- data/lib/oci/file_storage/models/mount_target.rb +20 -2
- data/lib/oci/file_storage/models/mount_target_summary.rb +20 -2
- data/lib/oci/file_storage/models/snapshot.rb +1 -1
- data/lib/oci/file_storage/models/snapshot_summary.rb +1 -1
- data/lib/oci/file_storage/models/update_export_details.rb +1 -1
- data/lib/oci/file_storage/models/update_export_set_details.rb +1 -1
- data/lib/oci/file_storage/models/update_file_system_details.rb +6 -5
- data/lib/oci/file_storage/models/update_mount_target_details.rb +20 -2
- data/lib/oci/file_storage/models/update_snapshot_details.rb +1 -1
- data/lib/oci/functions/functions.rb +1 -1
- data/lib/oci/functions/functions_invoke_client.rb +1 -1
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +1 -1
- data/lib/oci/functions/functions_management_client.rb +1 -1
- data/lib/oci/functions/functions_management_client_composite_operations.rb +1 -1
- data/lib/oci/functions/models/application.rb +1 -1
- data/lib/oci/functions/models/application_summary.rb +1 -1
- data/lib/oci/functions/models/change_application_compartment_details.rb +1 -1
- data/lib/oci/functions/models/create_application_details.rb +1 -1
- data/lib/oci/functions/models/create_function_details.rb +1 -1
- data/lib/oci/functions/models/function.rb +1 -1
- data/lib/oci/functions/models/function_summary.rb +1 -1
- data/lib/oci/functions/models/update_application_details.rb +1 -1
- data/lib/oci/functions/models/update_function_details.rb +1 -1
- data/lib/oci/global_context.rb +1 -1
- data/lib/oci/healthchecks/health_checks_client.rb +1 -1
- data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +1 -1
- data/lib/oci/healthchecks/healthchecks.rb +1 -1
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +1 -1
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +1 -1
- data/lib/oci/healthchecks/models/connection.rb +1 -1
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +1 -1
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +1 -1
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +1 -1
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +1 -1
- data/lib/oci/healthchecks/models/dns.rb +1 -1
- data/lib/oci/healthchecks/models/geolocation.rb +1 -1
- data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +1 -1
- data/lib/oci/healthchecks/models/http_monitor.rb +1 -1
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +1 -1
- data/lib/oci/healthchecks/models/http_probe.rb +1 -1
- data/lib/oci/healthchecks/models/http_probe_method.rb +1 -1
- data/lib/oci/healthchecks/models/http_probe_protocol.rb +1 -1
- data/lib/oci/healthchecks/models/http_probe_result_summary.rb +1 -1
- data/lib/oci/healthchecks/models/ping_monitor.rb +1 -1
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +1 -1
- data/lib/oci/healthchecks/models/ping_probe.rb +1 -1
- data/lib/oci/healthchecks/models/ping_probe_protocol.rb +1 -1
- data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +1 -1
- data/lib/oci/healthchecks/models/routing.rb +1 -1
- data/lib/oci/healthchecks/models/tcp_connection.rb +1 -1
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +1 -1
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +1 -1
- data/lib/oci/identity/identity.rb +11 -1
- data/lib/oci/identity/identity_client.rb +637 -13
- data/lib/oci/identity/identity_client_composite_operations.rb +40 -1
- data/lib/oci/identity/models/add_user_to_group_details.rb +1 -1
- data/lib/oci/identity/models/api_key.rb +1 -1
- data/lib/oci/identity/models/auth_token.rb +1 -1
- data/lib/oci/identity/models/authentication_policy.rb +1 -1
- data/lib/oci/identity/models/availability_domain.rb +1 -1
- data/lib/oci/identity/models/base_tag_definition_validator.rb +11 -9
- data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +1 -1
- data/lib/oci/identity/models/compartment.rb +1 -1
- data/lib/oci/identity/models/create_api_key_details.rb +1 -1
- data/lib/oci/identity/models/create_auth_token_details.rb +1 -1
- data/lib/oci/identity/models/create_compartment_details.rb +1 -1
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +1 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +1 -1
- data/lib/oci/identity/models/create_group_details.rb +1 -1
- data/lib/oci/identity/models/create_identity_provider_details.rb +1 -1
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +1 -1
- data/lib/oci/identity/models/create_network_source_details.rb +251 -0
- data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +169 -0
- data/lib/oci/identity/models/create_policy_details.rb +1 -1
- data/lib/oci/identity/models/create_region_subscription_details.rb +1 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +1 -1
- data/lib/oci/identity/models/create_smtp_credential_details.rb +1 -1
- data/lib/oci/identity/models/create_swift_password_details.rb +1 -1
- data/lib/oci/identity/models/create_tag_default_details.rb +1 -1
- data/lib/oci/identity/models/create_tag_details.rb +11 -4
- data/lib/oci/identity/models/create_tag_namespace_details.rb +3 -1
- data/lib/oci/identity/models/create_user_details.rb +1 -1
- data/lib/oci/identity/models/customer_secret_key.rb +1 -1
- data/lib/oci/identity/models/customer_secret_key_summary.rb +1 -1
- data/lib/oci/identity/models/default_tag_definition_validator.rb +4 -3
- data/lib/oci/identity/models/dynamic_group.rb +1 -1
- data/lib/oci/identity/models/enum_tag_definition_validator.rb +4 -3
- data/lib/oci/identity/models/fault_domain.rb +1 -1
- data/lib/oci/identity/models/fully_qualified_scope.rb +159 -0
- data/lib/oci/identity/models/group.rb +1 -1
- data/lib/oci/identity/models/identity_provider.rb +1 -1
- data/lib/oci/identity/models/identity_provider_group_summary.rb +1 -1
- data/lib/oci/identity/models/idp_group_mapping.rb +1 -1
- data/lib/oci/identity/models/mfa_totp_device.rb +1 -1
- data/lib/oci/identity/models/mfa_totp_device_summary.rb +1 -1
- data/lib/oci/identity/models/mfa_totp_token.rb +1 -1
- data/lib/oci/identity/models/move_compartment_details.rb +1 -1
- data/lib/oci/identity/models/network_sources.rb +333 -0
- data/lib/oci/identity/models/network_sources_summary.rb +246 -0
- data/lib/oci/identity/models/network_sources_virtual_source_list.rb +165 -0
- data/lib/oci/identity/models/o_auth2_client_credential.rb +292 -0
- data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +282 -0
- data/lib/oci/identity/models/password_policy.rb +1 -1
- data/lib/oci/identity/models/policy.rb +1 -1
- data/lib/oci/identity/models/region.rb +1 -1
- data/lib/oci/identity/models/region_subscription.rb +1 -1
- data/lib/oci/identity/models/saml2_identity_provider.rb +1 -1
- data/lib/oci/identity/models/scim_client_credentials.rb +1 -1
- data/lib/oci/identity/models/smtp_credential.rb +1 -1
- data/lib/oci/identity/models/smtp_credential_summary.rb +1 -1
- data/lib/oci/identity/models/swift_password.rb +1 -1
- data/lib/oci/identity/models/tag.rb +13 -5
- data/lib/oci/identity/models/tag_default.rb +1 -1
- data/lib/oci/identity/models/tag_default_summary.rb +1 -1
- data/lib/oci/identity/models/tag_namespace.rb +1 -1
- data/lib/oci/identity/models/tag_namespace_summary.rb +1 -1
- data/lib/oci/identity/models/tag_summary.rb +1 -1
- data/lib/oci/identity/models/tagging_work_request.rb +1 -1
- data/lib/oci/identity/models/tagging_work_request_error_summary.rb +1 -1
- data/lib/oci/identity/models/tagging_work_request_log_summary.rb +1 -1
- data/lib/oci/identity/models/tagging_work_request_summary.rb +1 -1
- data/lib/oci/identity/models/tenancy.rb +16 -2
- data/lib/oci/identity/models/ui_password.rb +1 -1
- data/lib/oci/identity/models/ui_password_information.rb +1 -1
- data/lib/oci/identity/models/update_auth_token_details.rb +1 -1
- data/lib/oci/identity/models/update_authentication_policy_details.rb +1 -1
- data/lib/oci/identity/models/update_compartment_details.rb +1 -1
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +1 -1
- data/lib/oci/identity/models/update_group_details.rb +1 -1
- data/lib/oci/identity/models/update_identity_provider_details.rb +1 -1
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +1 -1
- data/lib/oci/identity/models/update_network_source_details.rb +225 -0
- data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +173 -0
- data/lib/oci/identity/models/update_policy_details.rb +1 -1
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +1 -1
- data/lib/oci/identity/models/update_smtp_credential_details.rb +1 -1
- data/lib/oci/identity/models/update_state_details.rb +1 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +1 -1
- data/lib/oci/identity/models/update_tag_default_details.rb +1 -1
- data/lib/oci/identity/models/update_tag_details.rb +11 -4
- data/lib/oci/identity/models/update_tag_namespace_details.rb +1 -1
- data/lib/oci/identity/models/update_user_capabilities_details.rb +20 -5
- data/lib/oci/identity/models/update_user_details.rb +1 -1
- data/lib/oci/identity/models/user.rb +2 -1
- data/lib/oci/identity/models/user_capabilities.rb +20 -5
- data/lib/oci/identity/models/user_group_membership.rb +1 -1
- data/lib/oci/identity/models/work_request.rb +1 -1
- data/lib/oci/identity/models/work_request_error.rb +1 -1
- data/lib/oci/identity/models/work_request_log_entry.rb +1 -1
- data/lib/oci/identity/models/work_request_resource.rb +1 -1
- data/lib/oci/identity/models/work_request_summary.rb +1 -1
- data/lib/oci/integration/integration.rb +1 -1
- data/lib/oci/integration/integration_instance_client.rb +1 -1
- data/lib/oci/integration/integration_instance_client_composite_operations.rb +1 -1
- data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +1 -1
- data/lib/oci/integration/models/create_integration_instance_details.rb +1 -1
- data/lib/oci/integration/models/integration_instance.rb +1 -1
- data/lib/oci/integration/models/integration_instance_summary.rb +1 -1
- data/lib/oci/integration/models/update_integration_instance_details.rb +1 -1
- data/lib/oci/integration/models/work_request.rb +1 -1
- data/lib/oci/integration/models/work_request_error.rb +1 -1
- data/lib/oci/integration/models/work_request_log_entry.rb +1 -1
- data/lib/oci/integration/models/work_request_resource.rb +1 -1
- data/lib/oci/integration/models/work_request_summary.rb +1 -1
- data/lib/oci/key_management/key_management.rb +7 -1
- data/lib/oci/key_management/kms_crypto_client.rb +4 -5
- data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +1 -1
- data/lib/oci/key_management/kms_management_client.rb +438 -20
- data/lib/oci/key_management/kms_management_client_composite_operations.rb +121 -1
- data/lib/oci/key_management/kms_vault_client.rb +113 -18
- data/lib/oci/key_management/kms_vault_client_composite_operations.rb +1 -1
- data/lib/oci/key_management/models/change_key_compartment_details.rb +2 -2
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +2 -2
- data/lib/oci/key_management/models/create_key_details.rb +8 -7
- data/lib/oci/key_management/models/create_vault_details.rb +9 -7
- data/lib/oci/key_management/models/decrypt_data_details.rb +5 -6
- data/lib/oci/key_management/models/decrypted_data.rb +1 -1
- data/lib/oci/key_management/models/encrypt_data_details.rb +4 -4
- data/lib/oci/key_management/models/encrypted_data.rb +1 -1
- data/lib/oci/key_management/models/generate_key_details.rb +6 -6
- data/lib/oci/key_management/models/generated_key.rb +8 -9
- data/lib/oci/key_management/models/import_key_details.rb +230 -0
- data/lib/oci/key_management/models/import_key_version_details.rb +186 -0
- data/lib/oci/key_management/models/key.rb +12 -11
- data/lib/oci/key_management/models/key_shape.rb +3 -2
- data/lib/oci/key_management/models/key_summary.rb +7 -6
- data/lib/oci/key_management/models/key_version.rb +92 -2
- data/lib/oci/key_management/models/key_version_summary.rb +93 -3
- data/lib/oci/key_management/models/schedule_key_deletion_details.rb +7 -5
- data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +156 -0
- data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +7 -5
- data/lib/oci/key_management/models/update_key_details.rb +7 -6
- data/lib/oci/key_management/models/update_vault_details.rb +7 -6
- data/lib/oci/key_management/models/vault.rb +34 -14
- data/lib/oci/key_management/models/vault_summary.rb +15 -9
- data/lib/oci/key_management/models/vault_usage.rb +167 -0
- data/lib/oci/key_management/models/wrapped_import_key.rb +179 -0
- data/lib/oci/key_management/models/wrapping_key.rb +248 -0
- data/lib/oci/limits/limits.rb +1 -1
- data/lib/oci/limits/limits_client.rb +1 -1
- data/lib/oci/limits/limits_client_composite_operations.rb +1 -1
- data/lib/oci/limits/models/create_quota_details.rb +1 -1
- data/lib/oci/limits/models/limit_definition_summary.rb +1 -1
- data/lib/oci/limits/models/limit_value_summary.rb +1 -1
- data/lib/oci/limits/models/quota.rb +1 -1
- data/lib/oci/limits/models/quota_summary.rb +1 -1
- data/lib/oci/limits/models/resource_availability.rb +1 -1
- data/lib/oci/limits/models/service_summary.rb +1 -1
- data/lib/oci/limits/models/update_quota_details.rb +1 -1
- data/lib/oci/limits/quotas_client.rb +1 -1
- data/lib/oci/limits/quotas_client_composite_operations.rb +1 -1
- data/lib/oci/load_balancer/load_balancer.rb +4 -1
- data/lib/oci/load_balancer/load_balancer_client.rb +1 -1
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +1 -1
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +1 -1
- data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +1 -1
- data/lib/oci/load_balancer/models/allow_rule.rb +1 -1
- data/lib/oci/load_balancer/models/backend.rb +1 -1
- data/lib/oci/load_balancer/models/backend_details.rb +1 -1
- data/lib/oci/load_balancer/models/backend_health.rb +1 -1
- data/lib/oci/load_balancer/models/backend_set.rb +1 -1
- data/lib/oci/load_balancer/models/backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/backend_set_health.rb +1 -1
- data/lib/oci/load_balancer/models/certificate.rb +1 -1
- data/lib/oci/load_balancer/models/certificate_details.rb +1 -1
- data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +1 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +22 -5
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +1 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_certificate_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_hostname_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_rule_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +1 -1
- data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +1 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +1 -1
- data/lib/oci/load_balancer/models/health_checker.rb +1 -1
- data/lib/oci/load_balancer/models/health_checker_details.rb +1 -1
- data/lib/oci/load_balancer/models/hostname.rb +1 -1
- data/lib/oci/load_balancer/models/hostname_details.rb +1 -1
- data/lib/oci/load_balancer/models/ip_address.rb +1 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/listener.rb +1 -1
- data/lib/oci/load_balancer/models/listener_details.rb +1 -1
- data/lib/oci/load_balancer/models/listener_rule_summary.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_health.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +1 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +1 -1
- data/lib/oci/load_balancer/models/path_match_condition.rb +210 -0
- data/lib/oci/load_balancer/models/path_match_type.rb +1 -1
- data/lib/oci/load_balancer/models/path_route.rb +1 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/redirect_rule.rb +212 -0
- data/lib/oci/load_balancer/models/redirect_uri.rb +323 -0
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +1 -1
- data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +1 -1
- data/lib/oci/load_balancer/models/rule.rb +3 -1
- data/lib/oci/load_balancer/models/rule_condition.rb +3 -1
- data/lib/oci/load_balancer/models/rule_set.rb +1 -1
- data/lib/oci/load_balancer/models/rule_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +1 -1
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +1 -1
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_backend_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_hostname_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_listener_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_rule_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/work_request.rb +1 -1
- data/lib/oci/load_balancer/models/work_request_error.rb +1 -1
- data/lib/oci/marketplace/marketplace.rb +50 -0
- data/lib/oci/marketplace/marketplace_client.rb +1009 -0
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +24 -0
- data/lib/oci/marketplace/models/accepted_agreement.rb +270 -0
- data/lib/oci/marketplace/models/accepted_agreement_summary.rb +233 -0
- data/lib/oci/marketplace/models/agreement.rb +229 -0
- data/lib/oci/marketplace/models/agreement_summary.rb +204 -0
- data/lib/oci/marketplace/models/category_summary.rb +149 -0
- data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +258 -0
- data/lib/oci/marketplace/models/documentation_link.rb +173 -0
- data/lib/oci/marketplace/models/error_entity.rb +159 -0
- data/lib/oci/marketplace/models/image_listing_package.rb +209 -0
- data/lib/oci/marketplace/models/item.rb +159 -0
- data/lib/oci/marketplace/models/link.rb +182 -0
- data/lib/oci/marketplace/models/link_enum.rb +13 -0
- data/lib/oci/marketplace/models/listing.rb +478 -0
- data/lib/oci/marketplace/models/listing_package.rb +265 -0
- data/lib/oci/marketplace/models/listing_package_summary.rb +233 -0
- data/lib/oci/marketplace/models/listing_summary.rb +300 -0
- data/lib/oci/marketplace/models/named_link.rb +159 -0
- data/lib/oci/marketplace/models/orchestration_listing_package.rb +195 -0
- data/lib/oci/marketplace/models/orchestration_variable.rb +237 -0
- data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +10 -0
- data/lib/oci/marketplace/models/package_type_enum.rb +10 -0
- data/lib/oci/marketplace/models/pricing_currency_enum.rb +9 -0
- data/lib/oci/marketplace/models/pricing_model.rb +243 -0
- data/lib/oci/marketplace/models/pricing_strategy_enum.rb +12 -0
- data/lib/oci/marketplace/models/pricing_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/publisher.rb +258 -0
- data/lib/oci/marketplace/models/publisher_summary.rb +169 -0
- data/lib/oci/marketplace/models/region.rb +169 -0
- data/lib/oci/marketplace/models/screenshot.rb +201 -0
- data/lib/oci/marketplace/models/support_contact.rb +179 -0
- data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +190 -0
- data/lib/oci/marketplace/models/upload_data.rb +191 -0
- data/lib/oci/marketplace/util.rb +2 -0
- data/lib/oci/monitoring/models/aggregated_datapoint.rb +1 -1
- data/lib/oci/monitoring/models/alarm.rb +1 -1
- data/lib/oci/monitoring/models/alarm_history_collection.rb +1 -1
- data/lib/oci/monitoring/models/alarm_history_entry.rb +1 -1
- data/lib/oci/monitoring/models/alarm_status_summary.rb +1 -1
- data/lib/oci/monitoring/models/alarm_summary.rb +1 -1
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +1 -1
- data/lib/oci/monitoring/models/create_alarm_details.rb +1 -1
- data/lib/oci/monitoring/models/datapoint.rb +1 -1
- data/lib/oci/monitoring/models/failed_metric_record.rb +1 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +1 -1
- data/lib/oci/monitoring/models/metric.rb +1 -1
- data/lib/oci/monitoring/models/metric_data.rb +1 -1
- data/lib/oci/monitoring/models/metric_data_details.rb +1 -1
- data/lib/oci/monitoring/models/post_metric_data_details.rb +1 -1
- data/lib/oci/monitoring/models/post_metric_data_response_details.rb +1 -1
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +1 -1
- data/lib/oci/monitoring/models/suppression.rb +1 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +1 -1
- data/lib/oci/monitoring/monitoring.rb +1 -1
- data/lib/oci/monitoring/monitoring_client.rb +1 -1
- data/lib/oci/monitoring/monitoring_client_composite_operations.rb +1 -1
- data/lib/oci/nosql/models/change_table_compartment_details.rb +172 -0
- data/lib/oci/nosql/models/column.rb +187 -0
- data/lib/oci/nosql/models/create_index_details.rb +195 -0
- data/lib/oci/nosql/models/create_table_details.rb +225 -0
- data/lib/oci/nosql/models/delete_row_result.rb +193 -0
- data/lib/oci/nosql/models/index.rb +254 -0
- data/lib/oci/nosql/models/index_collection.rb +149 -0
- data/lib/oci/nosql/models/index_key.rb +186 -0
- data/lib/oci/nosql/models/index_summary.rb +188 -0
- data/lib/oci/nosql/models/prepared_statement.rb +160 -0
- data/lib/oci/nosql/models/query_details.rb +245 -0
- data/lib/oci/nosql/models/query_result_collection.rb +158 -0
- data/lib/oci/nosql/models/request_usage.rb +167 -0
- data/lib/oci/nosql/models/row.rb +175 -0
- data/lib/oci/nosql/models/schema.rb +187 -0
- data/lib/oci/nosql/models/statement_summary.rb +247 -0
- data/lib/oci/nosql/models/table.rb +328 -0
- data/lib/oci/nosql/models/table_collection.rb +149 -0
- data/lib/oci/nosql/models/table_limits.rb +181 -0
- data/lib/oci/nosql/models/table_summary.rb +281 -0
- data/lib/oci/nosql/models/table_usage_collection.rb +149 -0
- data/lib/oci/nosql/models/table_usage_summary.rb +247 -0
- data/lib/oci/nosql/models/update_row_details.rb +284 -0
- data/lib/oci/nosql/models/update_row_result.rb +207 -0
- data/lib/oci/nosql/models/update_table_details.rb +219 -0
- data/lib/oci/nosql/models/work_request.rb +305 -0
- data/lib/oci/nosql/models/work_request_collection.rb +149 -0
- data/lib/oci/nosql/models/work_request_error.rb +173 -0
- data/lib/oci/nosql/models/work_request_error_collection.rb +149 -0
- data/lib/oci/nosql/models/work_request_log_entry.rb +159 -0
- data/lib/oci/nosql/models/work_request_log_entry_collection.rb +149 -0
- data/lib/oci/nosql/models/work_request_resource.rb +219 -0
- data/lib/oci/nosql/models/work_request_summary.rb +305 -0
- data/lib/oci/nosql/nosql.rb +52 -0
- data/lib/oci/nosql/nosql_client.rb +1559 -0
- data/lib/oci/nosql/nosql_client_composite_operations.rb +371 -0
- data/lib/oci/nosql/util.rb +2 -0
- data/lib/oci/object_storage/models/bucket.rb +55 -10
- data/lib/oci/object_storage/models/bucket_summary.rb +3 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +1 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +1 -1
- data/lib/oci/object_storage/models/copy_object_details.rb +1 -1
- data/lib/oci/object_storage/models/create_bucket_details.rb +8 -5
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +54 -5
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +2 -2
- data/lib/oci/object_storage/models/create_replication_policy_details.rb +179 -0
- data/lib/oci/object_storage/models/create_retention_rule_details.rb +177 -0
- data/lib/oci/object_storage/models/duration.rb +192 -0
- data/lib/oci/object_storage/models/list_objects.rb +2 -2
- data/lib/oci/object_storage/models/multipart_upload.rb +2 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +1 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +1 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +2 -2
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +2 -3
- data/lib/oci/object_storage/models/object_name_filter.rb +1 -1
- data/lib/oci/object_storage/models/object_summary.rb +16 -6
- data/lib/oci/object_storage/models/pattern_details.rb +1 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +4 -3
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +3 -3
- data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +1 -1
- data/lib/oci/object_storage/models/rename_object_details.rb +1 -1
- data/lib/oci/object_storage/models/replication_policy.rb +262 -0
- data/lib/oci/object_storage/models/replication_policy_summary.rb +265 -0
- data/lib/oci/object_storage/models/replication_source.rb +181 -0
- data/lib/oci/object_storage/models/restore_objects_details.rb +1 -1
- data/lib/oci/object_storage/models/retention_rule.rb +226 -0
- data/lib/oci/object_storage/models/retention_rule_collection.rb +150 -0
- data/lib/oci/object_storage/models/retention_rule_details.rb +180 -0
- data/lib/oci/object_storage/models/retention_rule_summary.rb +223 -0
- data/lib/oci/object_storage/models/update_bucket_details.rb +10 -8
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +1 -1
- data/lib/oci/object_storage/models/update_retention_rule_details.rb +177 -0
- data/lib/oci/object_storage/models/work_request.rb +6 -6
- data/lib/oci/object_storage/models/work_request_error.rb +1 -1
- data/lib/oci/object_storage/models/work_request_log_entry.rb +2 -2
- data/lib/oci/object_storage/models/work_request_resource.rb +1 -1
- data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +1 -1
- data/lib/oci/object_storage/models/work_request_summary.rb +6 -6
- data/lib/oci/object_storage/object_storage.rb +12 -1
- data/lib/oci/object_storage/object_storage_client.rb +893 -170
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +1 -1
- data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +1 -1
- data/lib/oci/oce/models/create_oce_instance_details.rb +99 -2
- data/lib/oci/oce/models/identity_stripe_details.rb +167 -0
- data/lib/oci/oce/models/oce_instance.rb +130 -2
- data/lib/oci/oce/models/oce_instance_summary.rb +98 -2
- data/lib/oci/oce/models/update_oce_instance_details.rb +16 -2
- data/lib/oci/oce/models/work_request.rb +1 -1
- data/lib/oci/oce/models/work_request_error.rb +1 -1
- data/lib/oci/oce/models/work_request_log_entry.rb +1 -1
- data/lib/oci/oce/models/work_request_resource.rb +2 -1
- data/lib/oci/oce/models/workflow_monitor.rb +1 -1
- data/lib/oci/oce/models/workflow_step.rb +1 -1
- data/lib/oci/oce/oce.rb +2 -2
- data/lib/oci/oce/oce_instance_client.rb +3 -5
- data/lib/oci/oce/oce_instance_client_composite_operations.rb +3 -4
- data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +1 -1
- data/lib/oci/oda/models/create_oda_instance_details.rb +1 -1
- data/lib/oci/oda/models/error_body.rb +1 -1
- data/lib/oci/oda/models/oda_instance.rb +1 -1
- data/lib/oci/oda/models/oda_instance_summary.rb +1 -1
- data/lib/oci/oda/models/update_oda_instance_details.rb +1 -1
- data/lib/oci/oda/models/work_request.rb +3 -1
- data/lib/oci/oda/models/work_request_error.rb +1 -1
- data/lib/oci/oda/models/work_request_log_entry.rb +1 -1
- data/lib/oci/oda/models/work_request_resource.rb +3 -1
- data/lib/oci/oda/models/work_request_summary.rb +3 -1
- data/lib/oci/oda/oda.rb +1 -1
- data/lib/oci/oda/oda_client.rb +144 -1
- data/lib/oci/oda/oda_client_composite_operations.rb +99 -1
- data/lib/oci/ons/models/backoff_retry_policy.rb +1 -1
- data/lib/oci/ons/models/change_compartment_details.rb +1 -1
- data/lib/oci/ons/models/confirmation_result.rb +1 -1
- data/lib/oci/ons/models/create_subscription_details.rb +2 -1
- data/lib/oci/ons/models/create_topic_details.rb +1 -1
- data/lib/oci/ons/models/delivery_policy.rb +1 -1
- data/lib/oci/ons/models/message_details.rb +1 -1
- data/lib/oci/ons/models/notification_topic.rb +2 -2
- data/lib/oci/ons/models/notification_topic_summary.rb +2 -2
- data/lib/oci/ons/models/publish_result.rb +1 -1
- data/lib/oci/ons/models/subscription.rb +1 -1
- data/lib/oci/ons/models/subscription_summary.rb +1 -1
- data/lib/oci/ons/models/topic_attributes_details.rb +1 -1
- data/lib/oci/ons/models/update_subscription_details.rb +1 -1
- data/lib/oci/ons/notification_control_plane_client.rb +2 -2
- data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +1 -1
- data/lib/oci/ons/notification_data_plane_client.rb +11 -3
- data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +1 -1
- data/lib/oci/ons/ons.rb +1 -1
- data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +153 -0
- data/lib/oci/os_management/models/api_error.rb +161 -0
- data/lib/oci/os_management/models/arch_types.rb +13 -0
- data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +153 -0
- data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +153 -0
- data/lib/oci/os_management/models/available_software_source_summary.rb +205 -0
- data/lib/oci/os_management/models/available_update_summary.rb +284 -0
- data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +155 -0
- data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +155 -0
- data/lib/oci/os_management/models/change_software_source_compartment_details.rb +155 -0
- data/lib/oci/os_management/models/checksum_types.rb +12 -0
- data/lib/oci/os_management/models/create_managed_instance_group_details.rb +209 -0
- data/lib/oci/os_management/models/create_scheduled_job_details.rb +399 -0
- data/lib/oci/os_management/models/create_software_source_details.rb +324 -0
- data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +153 -0
- data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +153 -0
- data/lib/oci/os_management/models/errata_id.rb +159 -0
- data/lib/oci/os_management/models/erratum.rb +330 -0
- data/lib/oci/os_management/models/erratum_summary.rb +245 -0
- data/lib/oci/os_management/models/id.rb +163 -0
- data/lib/oci/os_management/models/installable_package_summary.rb +207 -0
- data/lib/oci/os_management/models/installed_package_summary.rb +221 -0
- data/lib/oci/os_management/models/interval_types.rb +12 -0
- data/lib/oci/os_management/models/lifecycle_states.rb +14 -0
- data/lib/oci/os_management/models/managed_instance.rb +347 -0
- data/lib/oci/os_management/models/managed_instance_group.rb +271 -0
- data/lib/oci/os_management/models/managed_instance_group_summary.rb +271 -0
- data/lib/oci/os_management/models/managed_instance_summary.rb +261 -0
- data/lib/oci/os_management/models/managed_instance_update_details.rb +163 -0
- data/lib/oci/os_management/models/operation_status.rb +14 -0
- data/lib/oci/os_management/models/operation_types.rb +12 -0
- data/lib/oci/os_management/models/package_name.rb +149 -0
- data/lib/oci/os_management/models/package_update_types.rb +12 -0
- data/lib/oci/os_management/models/recurrence.rb +182 -0
- data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +153 -0
- data/lib/oci/os_management/models/schedule_types.rb +10 -0
- data/lib/oci/os_management/models/scheduled_job.rb +493 -0
- data/lib/oci/os_management/models/scheduled_job_summary.rb +371 -0
- data/lib/oci/os_management/models/software_package.rb +289 -0
- data/lib/oci/os_management/models/software_package_dependency.rb +177 -0
- data/lib/oci/os_management/models/software_package_file.rb +213 -0
- data/lib/oci/os_management/models/software_package_search_summary.rb +262 -0
- data/lib/oci/os_management/models/software_package_summary.rb +217 -0
- data/lib/oci/os_management/models/software_source.rb +519 -0
- data/lib/oci/os_management/models/software_source_id.rb +159 -0
- data/lib/oci/os_management/models/software_source_summary.rb +340 -0
- data/lib/oci/os_management/models/updatable_package_summary.rb +239 -0
- data/lib/oci/os_management/models/update_managed_instance_group_details.rb +195 -0
- data/lib/oci/os_management/models/update_scheduled_job_details.rb +351 -0
- data/lib/oci/os_management/models/update_software_source_details.rb +266 -0
- data/lib/oci/os_management/models/update_types.rb +11 -0
- data/lib/oci/os_management/models/work_request.rb +327 -0
- data/lib/oci/os_management/models/work_request_error.rb +172 -0
- data/lib/oci/os_management/models/work_request_log_entry.rb +161 -0
- data/lib/oci/os_management/models/work_request_resource.rb +231 -0
- data/lib/oci/os_management/models/work_request_summary.rb +286 -0
- data/lib/oci/os_management/os_management.rb +75 -0
- data/lib/oci/os_management/os_management_client.rb +3298 -0
- data/lib/oci/os_management/os_management_client_composite_operations.rb +580 -0
- data/lib/oci/os_management/util.rb +2 -0
- data/lib/oci/regions.rb +21 -2
- data/lib/oci/resource_manager/models/apply_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +1 -1
- data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +1 -1
- data/lib/oci/resource_manager/models/config_source.rb +1 -1
- data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_config_source_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_job_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_stack_details.rb +1 -1
- data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +1 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/failure_details.rb +1 -1
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/job.rb +1 -1
- data/lib/oci/resource_manager/models/job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/job_summary.rb +1 -1
- data/lib/oci/resource_manager/models/log_entry.rb +1 -1
- data/lib/oci/resource_manager/models/plan_job_operation_details.rb +1 -1
- data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +1 -1
- data/lib/oci/resource_manager/models/stack.rb +1 -1
- data/lib/oci/resource_manager/models/stack_summary.rb +1 -1
- data/lib/oci/resource_manager/models/terraform_version_collection.rb +1 -1
- data/lib/oci/resource_manager/models/terraform_version_summary.rb +1 -1
- data/lib/oci/resource_manager/models/update_config_source_details.rb +1 -1
- data/lib/oci/resource_manager/models/update_job_details.rb +1 -1
- data/lib/oci/resource_manager/models/update_stack_details.rb +1 -1
- data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +1 -1
- data/lib/oci/resource_manager/models/work_request.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_error.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_log_entry.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_resource.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_summary.rb +1 -1
- data/lib/oci/resource_manager/models/zip_upload_config_source.rb +1 -1
- data/lib/oci/resource_manager/resource_manager.rb +1 -1
- data/lib/oci/resource_manager/resource_manager_client.rb +1 -1
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +1 -1
- data/lib/oci/resource_search/models/free_text_search_details.rb +1 -1
- data/lib/oci/resource_search/models/queryable_field_description.rb +3 -3
- data/lib/oci/resource_search/models/resource_summary.rb +49 -11
- data/lib/oci/resource_search/models/resource_summary_collection.rb +2 -2
- data/lib/oci/resource_search/models/resource_type.rb +1 -1
- data/lib/oci/resource_search/models/search_context.rb +2 -2
- data/lib/oci/resource_search/models/search_details.rb +3 -3
- data/lib/oci/resource_search/models/structured_search_details.rb +4 -2
- data/lib/oci/resource_search/resource_search.rb +1 -1
- data/lib/oci/resource_search/resource_search_client.rb +3 -3
- data/lib/oci/resource_search/resource_search_client_composite_operations.rb +1 -1
- data/lib/oci/response.rb +1 -1
- data/lib/oci/response_headers.rb +1 -1
- data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +157 -0
- data/lib/oci/secrets/models/secret_bundle.rb +293 -0
- data/lib/oci/secrets/models/secret_bundle_content_details.rb +188 -0
- data/lib/oci/secrets/models/secret_bundle_version_summary.rb +269 -0
- data/lib/oci/secrets/secrets.rb +22 -0
- data/lib/oci/secrets/secrets_client.rb +259 -0
- data/lib/oci/secrets/secrets_client_composite_operations.rb +24 -0
- data/lib/oci/secrets/util.rb +2 -0
- data/lib/oci/signer.rb +1 -1
- data/lib/oci/streaming/models/archiver.rb +4 -5
- data/lib/oci/streaming/models/archiver_error.rb +1 -1
- data/lib/oci/streaming/models/archiver_start_position.rb +1 -1
- data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +155 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +1 -1
- data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +155 -0
- data/lib/oci/streaming/models/connect_harness.rb +280 -0
- data/lib/oci/streaming/models/connect_harness_summary.rb +266 -0
- data/lib/oci/streaming/models/create_archiver_details.rb +1 -1
- data/lib/oci/streaming/models/create_connect_harness_details.rb +201 -0
- data/lib/oci/streaming/models/create_cursor_details.rb +1 -1
- data/lib/oci/streaming/models/create_group_cursor_details.rb +1 -1
- data/lib/oci/streaming/models/create_stream_details.rb +17 -3
- data/lib/oci/streaming/models/create_stream_pool_details.rb +240 -0
- data/lib/oci/streaming/models/cursor.rb +1 -1
- data/lib/oci/streaming/models/custom_encryption_key.rb +191 -0
- data/lib/oci/streaming/models/custom_encryption_key_details.rb +153 -0
- data/lib/oci/streaming/models/group.rb +3 -3
- data/lib/oci/streaming/models/kafka_settings.rb +195 -0
- data/lib/oci/streaming/models/message.rb +1 -1
- data/lib/oci/streaming/models/partition_reservation.rb +1 -1
- data/lib/oci/streaming/models/private_endpoint_details.rb +192 -0
- data/lib/oci/streaming/models/private_endpoint_settings.rb +185 -0
- data/lib/oci/streaming/models/put_messages_details.rb +1 -1
- data/lib/oci/streaming/models/put_messages_details_entry.rb +1 -1
- data/lib/oci/streaming/models/put_messages_result.rb +2 -2
- data/lib/oci/streaming/models/put_messages_result_entry.rb +1 -1
- data/lib/oci/streaming/models/stream.rb +19 -2
- data/lib/oci/streaming/models/stream_pool.rb +351 -0
- data/lib/oci/streaming/models/stream_pool_summary.rb +279 -0
- data/lib/oci/streaming/models/stream_summary.rb +19 -2
- data/lib/oci/streaming/models/update_archiver_details.rb +1 -1
- data/lib/oci/streaming/models/update_connect_harness_details.rb +174 -0
- data/lib/oci/streaming/models/update_group_details.rb +1 -1
- data/lib/oci/streaming/models/update_stream_details.rb +17 -2
- data/lib/oci/streaming/models/update_stream_pool_details.rb +209 -0
- data/lib/oci/streaming/stream_admin_client.rb +865 -83
- data/lib/oci/streaming/stream_admin_client_composite_operations.rb +248 -4
- data/lib/oci/streaming/stream_client.rb +22 -40
- data/lib/oci/streaming/stream_client_composite_operations.rb +1 -1
- data/lib/oci/streaming/streaming.rb +16 -2
- data/lib/oci/vault/models/base64_secret_content_details.rb +165 -0
- data/lib/oci/vault/models/change_secret_compartment_details.rb +155 -0
- data/lib/oci/vault/models/create_secret_details.rb +281 -0
- data/lib/oci/vault/models/schedule_secret_deletion_details.rb +154 -0
- data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +155 -0
- data/lib/oci/vault/models/secret.rb +393 -0
- data/lib/oci/vault/models/secret_content_details.rb +220 -0
- data/lib/oci/vault/models/secret_expiry_rule.rb +202 -0
- data/lib/oci/vault/models/secret_reuse_rule.rb +163 -0
- data/lib/oci/vault/models/secret_rule.rb +190 -0
- data/lib/oci/vault/models/secret_summary.rb +352 -0
- data/lib/oci/vault/models/secret_version.rb +304 -0
- data/lib/oci/vault/models/secret_version_summary.rb +304 -0
- data/lib/oci/vault/models/update_secret_details.rb +240 -0
- data/lib/oci/vault/util.rb +2 -0
- data/lib/oci/vault/vault.rb +33 -0
- data/lib/oci/vault/vaults_client.rb +882 -0
- data/lib/oci/vault/vaults_client_composite_operations.rb +103 -0
- data/lib/oci/version.rb +2 -2
- data/lib/oci/waas/models/access_rule.rb +89 -8
- data/lib/oci/waas/models/access_rule_criteria.rb +68 -32
- data/lib/oci/waas/models/add_http_response_header_action.rb +175 -0
- data/lib/oci/waas/models/address_list.rb +1 -1
- data/lib/oci/waas/models/address_list_summary.rb +1 -1
- data/lib/oci/waas/models/address_rate_limiting.rb +1 -1
- data/lib/oci/waas/models/block_challenge_settings.rb +1 -1
- data/lib/oci/waas/models/caching_rule.rb +2 -2
- data/lib/oci/waas/models/caching_rule_criteria.rb +1 -1
- data/lib/oci/waas/models/caching_rule_summary.rb +2 -2
- data/lib/oci/waas/models/captcha.rb +1 -1
- data/lib/oci/waas/models/certificate.rb +1 -1
- data/lib/oci/waas/models/certificate_extensions.rb +1 -1
- data/lib/oci/waas/models/certificate_issuer_name.rb +1 -1
- data/lib/oci/waas/models/certificate_public_key_info.rb +1 -1
- data/lib/oci/waas/models/certificate_subject_name.rb +1 -1
- data/lib/oci/waas/models/certificate_summary.rb +1 -1
- data/lib/oci/waas/models/change_address_list_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +1 -1
- data/lib/oci/waas/models/create_address_list_details.rb +2 -2
- data/lib/oci/waas/models/create_certificate_details.rb +1 -1
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +1 -1
- data/lib/oci/waas/models/create_http_redirect_details.rb +2 -2
- data/lib/oci/waas/models/create_waas_policy_details.rb +1 -1
- data/lib/oci/waas/models/custom_protection_rule.rb +1 -1
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +14 -5
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +1 -1
- data/lib/oci/waas/models/device_fingerprint_challenge.rb +1 -1
- data/lib/oci/waas/models/edge_subnet.rb +1 -1
- data/lib/oci/waas/models/extend_http_response_header_action.rb +177 -0
- data/lib/oci/waas/models/good_bot.rb +1 -1
- data/lib/oci/waas/models/header.rb +2 -2
- data/lib/oci/waas/models/header_manipulation_action.rb +188 -0
- data/lib/oci/waas/models/health_check.rb +345 -0
- data/lib/oci/waas/models/http_redirect.rb +3 -3
- data/lib/oci/waas/models/http_redirect_summary.rb +3 -3
- data/lib/oci/waas/models/http_redirect_target.rb +3 -3
- data/lib/oci/waas/models/human_interaction_challenge.rb +21 -5
- data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +145 -0
- data/lib/oci/waas/models/js_challenge.rb +48 -6
- data/lib/oci/waas/models/lifecycle_states.rb +1 -1
- data/lib/oci/waas/models/load_balancing_method.rb +194 -0
- data/lib/oci/waas/models/origin.rb +1 -1
- data/lib/oci/waas/models/origin_group.rb +1 -1
- data/lib/oci/waas/models/origin_group_origins.rb +1 -1
- data/lib/oci/waas/models/policy_config.rb +62 -5
- data/lib/oci/waas/models/protection_rule.rb +1 -1
- data/lib/oci/waas/models/protection_rule_action.rb +1 -1
- data/lib/oci/waas/models/protection_rule_exclusion.rb +4 -4
- data/lib/oci/waas/models/protection_settings.rb +1 -1
- data/lib/oci/waas/models/purge_cache.rb +1 -1
- data/lib/oci/waas/models/recommendation.rb +1 -1
- data/lib/oci/waas/models/remove_http_response_header_action.rb +162 -0
- data/lib/oci/waas/models/round_robin_load_balancing_method.rb +145 -0
- data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +187 -0
- data/lib/oci/waas/models/threat_feed.rb +1 -1
- data/lib/oci/waas/models/threat_feed_action.rb +1 -1
- data/lib/oci/waas/models/update_address_list_details.rb +2 -2
- data/lib/oci/waas/models/update_certificate_details.rb +1 -1
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +1 -1
- data/lib/oci/waas/models/update_http_redirect_details.rb +2 -2
- data/lib/oci/waas/models/update_waas_policy_details.rb +1 -1
- data/lib/oci/waas/models/waas_policy.rb +1 -1
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +14 -5
- data/lib/oci/waas/models/waas_policy_summary.rb +1 -1
- data/lib/oci/waas/models/waf_blocked_request.rb +1 -1
- data/lib/oci/waas/models/waf_config.rb +1 -1
- data/lib/oci/waas/models/waf_config_details.rb +1 -1
- data/lib/oci/waas/models/waf_log.rb +3 -3
- data/lib/oci/waas/models/waf_meter_datum.rb +1 -1
- data/lib/oci/waas/models/waf_request.rb +1 -1
- data/lib/oci/waas/models/waf_traffic_datum.rb +1 -1
- data/lib/oci/waas/models/whitelist.rb +20 -6
- data/lib/oci/waas/models/work_request.rb +1 -1
- data/lib/oci/waas/models/work_request_error.rb +1 -1
- data/lib/oci/waas/models/work_request_log_entry.rb +1 -1
- data/lib/oci/waas/models/work_request_operation_types.rb +1 -1
- data/lib/oci/waas/models/work_request_resource.rb +1 -1
- data/lib/oci/waas/models/work_request_status_values.rb +1 -1
- data/lib/oci/waas/models/work_request_summary.rb +1 -1
- data/lib/oci/waas/redirect_client.rb +2 -2
- data/lib/oci/waas/redirect_client_composite_operations.rb +1 -1
- data/lib/oci/waas/waas.rb +10 -1
- data/lib/oci/waas/waas_client.rb +25 -23
- data/lib/oci/waas/waas_client_composite_operations.rb +1 -1
- data/lib/oci/waiter.rb +1 -1
- data/lib/oci/work_requests/models/work_request.rb +1 -1
- data/lib/oci/work_requests/models/work_request_error.rb +1 -1
- data/lib/oci/work_requests/models/work_request_log_entry.rb +1 -1
- data/lib/oci/work_requests/models/work_request_resource.rb +1 -1
- data/lib/oci/work_requests/models/work_request_summary.rb +1 -1
- data/lib/oci/work_requests/work_request_client.rb +1 -1
- data/lib/oci/work_requests/work_request_client_composite_operations.rb +1 -1
- data/lib/oci/work_requests/work_requests.rb +1 -1
- data/lib/oraclebmc.rb +1 -1
- metadata +548 -7
- data/lib/oci/streaming/models/archiver_lifecycle_state.rb +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
2
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ module OCI
|
|
|
11
11
|
attr_accessor :message
|
|
12
12
|
|
|
13
13
|
# The date and time the log message was written, as described in
|
|
14
|
-
# [RFC 3339](https://tools.ietf.org/
|
|
14
|
+
# [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
15
15
|
#
|
|
16
16
|
# @return [DateTime]
|
|
17
17
|
attr_accessor :timestamp
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
2
|
|
|
3
3
|
require 'date'
|
|
4
4
|
require 'logger'
|
|
@@ -35,8 +35,8 @@ module OCI
|
|
|
35
35
|
# @return [String]
|
|
36
36
|
attr_accessor :id
|
|
37
37
|
|
|
38
|
-
# The OCID of the compartment that contains the work request. Work
|
|
39
|
-
# as the resource the work request affects.
|
|
38
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. Work
|
|
39
|
+
# requests are scoped to the same compartment as the resource the work request affects.
|
|
40
40
|
#
|
|
41
41
|
# If the work request affects multiple resources and those resources are not in the same compartment, the OCID of
|
|
42
42
|
# the primary resource is used. For example, you can copy an object in a bucket in one compartment to a bucket in
|
|
@@ -53,19 +53,19 @@ module OCI
|
|
|
53
53
|
attr_accessor :percent_complete
|
|
54
54
|
|
|
55
55
|
# The date and time the work request was created, as described in
|
|
56
|
-
# [RFC 3339](https://tools.ietf.org/
|
|
56
|
+
# [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
57
57
|
#
|
|
58
58
|
# @return [DateTime]
|
|
59
59
|
attr_accessor :time_accepted
|
|
60
60
|
|
|
61
61
|
# The date and time the work request was started, as described in
|
|
62
|
-
# [RFC 3339](https://tools.ietf.org/
|
|
62
|
+
# [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
63
63
|
#
|
|
64
64
|
# @return [DateTime]
|
|
65
65
|
attr_accessor :time_started
|
|
66
66
|
|
|
67
67
|
# The date and time the work request was finished, as described in
|
|
68
|
-
# [RFC 3339](https://tools.ietf.org/
|
|
68
|
+
# [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
69
69
|
#
|
|
70
70
|
# @return [DateTime]
|
|
71
71
|
attr_accessor :time_finished
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
2
|
|
|
3
3
|
module OCI
|
|
4
4
|
module ObjectStorage
|
|
@@ -18,6 +18,9 @@ require 'oci/object_storage/models/copy_object_details'
|
|
|
18
18
|
require 'oci/object_storage/models/create_bucket_details'
|
|
19
19
|
require 'oci/object_storage/models/create_multipart_upload_details'
|
|
20
20
|
require 'oci/object_storage/models/create_preauthenticated_request_details'
|
|
21
|
+
require 'oci/object_storage/models/create_replication_policy_details'
|
|
22
|
+
require 'oci/object_storage/models/create_retention_rule_details'
|
|
23
|
+
require 'oci/object_storage/models/duration'
|
|
21
24
|
require 'oci/object_storage/models/list_objects'
|
|
22
25
|
require 'oci/object_storage/models/multipart_upload'
|
|
23
26
|
require 'oci/object_storage/models/multipart_upload_part_summary'
|
|
@@ -31,9 +34,17 @@ require 'oci/object_storage/models/preauthenticated_request'
|
|
|
31
34
|
require 'oci/object_storage/models/preauthenticated_request_summary'
|
|
32
35
|
require 'oci/object_storage/models/put_object_lifecycle_policy_details'
|
|
33
36
|
require 'oci/object_storage/models/rename_object_details'
|
|
37
|
+
require 'oci/object_storage/models/replication_policy'
|
|
38
|
+
require 'oci/object_storage/models/replication_policy_summary'
|
|
39
|
+
require 'oci/object_storage/models/replication_source'
|
|
34
40
|
require 'oci/object_storage/models/restore_objects_details'
|
|
41
|
+
require 'oci/object_storage/models/retention_rule'
|
|
42
|
+
require 'oci/object_storage/models/retention_rule_collection'
|
|
43
|
+
require 'oci/object_storage/models/retention_rule_details'
|
|
44
|
+
require 'oci/object_storage/models/retention_rule_summary'
|
|
35
45
|
require 'oci/object_storage/models/update_bucket_details'
|
|
36
46
|
require 'oci/object_storage/models/update_namespace_metadata_details'
|
|
47
|
+
require 'oci/object_storage/models/update_retention_rule_details'
|
|
37
48
|
require 'oci/object_storage/models/work_request'
|
|
38
49
|
require 'oci/object_storage/models/work_request_error'
|
|
39
50
|
require 'oci/object_storage/models/work_request_log_entry'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2016,
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
2
|
|
|
3
3
|
require 'uri'
|
|
4
4
|
require 'logger'
|
|
@@ -6,6 +6,8 @@ require 'logger'
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
7
|
module OCI
|
|
8
8
|
# Common set of Object Storage and Archive Storage APIs for managing buckets, objects, and related resources.
|
|
9
|
+
# For more information, see [Overview of Object Storage](/Content/Object/Concepts/objectstorageoverview.htm) and
|
|
10
|
+
# [Overview of Archive Storage](/Content/Archive/Concepts/archivestorageoverview.htm).
|
|
9
11
|
class ObjectStorage::ObjectStorageClient
|
|
10
12
|
# Client used to make HTTP requests.
|
|
11
13
|
# @return [OCI::ApiClient]
|
|
@@ -427,7 +429,7 @@ module OCI
|
|
|
427
429
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
428
430
|
# Example: `my-new-bucket1`
|
|
429
431
|
#
|
|
430
|
-
# @param [OCI::ObjectStorage::Models::CreateMultipartUploadDetails] create_multipart_upload_details Request object for creating a
|
|
432
|
+
# @param [OCI::ObjectStorage::Models::CreateMultipartUploadDetails] create_multipart_upload_details Request object for creating a multipart upload.
|
|
431
433
|
# @param [Hash] opts the optional parameters
|
|
432
434
|
# @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
435
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -552,6 +554,129 @@ module OCI
|
|
|
552
554
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
553
555
|
|
|
554
556
|
|
|
557
|
+
# Creates a replication policy for the specified bucket.
|
|
558
|
+
#
|
|
559
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
560
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
561
|
+
# Example: `my-new-bucket1`
|
|
562
|
+
#
|
|
563
|
+
# @param [OCI::ObjectStorage::Models::CreateReplicationPolicyDetails] create_replication_policy_details The replication policy.
|
|
564
|
+
# @param [Hash] opts the optional parameters
|
|
565
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
566
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
567
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
568
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::ReplicationPolicy ReplicationPolicy}
|
|
569
|
+
def create_replication_policy(namespace_name, bucket_name, create_replication_policy_details, opts = {})
|
|
570
|
+
logger.debug 'Calling operation ObjectStorageClient#create_replication_policy.' if logger
|
|
571
|
+
|
|
572
|
+
raise "Missing the required parameter 'namespace_name' when calling create_replication_policy." if namespace_name.nil?
|
|
573
|
+
raise "Missing the required parameter 'bucket_name' when calling create_replication_policy." if bucket_name.nil?
|
|
574
|
+
raise "Missing the required parameter 'create_replication_policy_details' when calling create_replication_policy." if create_replication_policy_details.nil?
|
|
575
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
576
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
577
|
+
|
|
578
|
+
path = '/n/{namespaceName}/b/{bucketName}/replicationPolicies'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
579
|
+
operation_signing_strategy = :standard
|
|
580
|
+
|
|
581
|
+
# rubocop:disable Style/NegatedIf
|
|
582
|
+
# Query Params
|
|
583
|
+
query_params = {}
|
|
584
|
+
|
|
585
|
+
# Header Params
|
|
586
|
+
header_params = {}
|
|
587
|
+
header_params[:accept] = 'application/json'
|
|
588
|
+
header_params[:'content-type'] = 'application/json'
|
|
589
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
590
|
+
# rubocop:enable Style/NegatedIf
|
|
591
|
+
|
|
592
|
+
post_body = @api_client.object_to_http_body(create_replication_policy_details)
|
|
593
|
+
|
|
594
|
+
# rubocop:disable Metrics/BlockLength
|
|
595
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#create_replication_policy') do
|
|
596
|
+
@api_client.call_api(
|
|
597
|
+
:POST,
|
|
598
|
+
path,
|
|
599
|
+
endpoint,
|
|
600
|
+
header_params: header_params,
|
|
601
|
+
query_params: query_params,
|
|
602
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
603
|
+
body: post_body,
|
|
604
|
+
return_type: 'OCI::ObjectStorage::Models::ReplicationPolicy'
|
|
605
|
+
)
|
|
606
|
+
end
|
|
607
|
+
# rubocop:enable Metrics/BlockLength
|
|
608
|
+
end
|
|
609
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
610
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
611
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
612
|
+
|
|
613
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
614
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
615
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
# Creates a new retention rule in the specified bucket. The new rule will take effect typically within 30 seconds.
|
|
619
|
+
# Note that a maximum of 100 rules are supported on a bucket.
|
|
620
|
+
#
|
|
621
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
622
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
623
|
+
# Example: `my-new-bucket1`
|
|
624
|
+
#
|
|
625
|
+
# @param [OCI::ObjectStorage::Models::CreateRetentionRuleDetails] create_retention_rule_details The retention rule to create for the bucket.
|
|
626
|
+
# @param [Hash] opts the optional parameters
|
|
627
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
628
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
629
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
630
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::RetentionRule RetentionRule}
|
|
631
|
+
def create_retention_rule(namespace_name, bucket_name, create_retention_rule_details, opts = {})
|
|
632
|
+
logger.debug 'Calling operation ObjectStorageClient#create_retention_rule.' if logger
|
|
633
|
+
|
|
634
|
+
raise "Missing the required parameter 'namespace_name' when calling create_retention_rule." if namespace_name.nil?
|
|
635
|
+
raise "Missing the required parameter 'bucket_name' when calling create_retention_rule." if bucket_name.nil?
|
|
636
|
+
raise "Missing the required parameter 'create_retention_rule_details' when calling create_retention_rule." if create_retention_rule_details.nil?
|
|
637
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
638
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
639
|
+
|
|
640
|
+
path = '/n/{namespaceName}/b/{bucketName}/retentionRules'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
641
|
+
operation_signing_strategy = :standard
|
|
642
|
+
|
|
643
|
+
# rubocop:disable Style/NegatedIf
|
|
644
|
+
# Query Params
|
|
645
|
+
query_params = {}
|
|
646
|
+
|
|
647
|
+
# Header Params
|
|
648
|
+
header_params = {}
|
|
649
|
+
header_params[:accept] = 'application/json'
|
|
650
|
+
header_params[:'content-type'] = 'application/json'
|
|
651
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
652
|
+
# rubocop:enable Style/NegatedIf
|
|
653
|
+
|
|
654
|
+
post_body = @api_client.object_to_http_body(create_retention_rule_details)
|
|
655
|
+
|
|
656
|
+
# rubocop:disable Metrics/BlockLength
|
|
657
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#create_retention_rule') do
|
|
658
|
+
@api_client.call_api(
|
|
659
|
+
:POST,
|
|
660
|
+
path,
|
|
661
|
+
endpoint,
|
|
662
|
+
header_params: header_params,
|
|
663
|
+
query_params: query_params,
|
|
664
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
665
|
+
body: post_body,
|
|
666
|
+
return_type: 'OCI::ObjectStorage::Models::RetentionRule'
|
|
667
|
+
)
|
|
668
|
+
end
|
|
669
|
+
# rubocop:enable Metrics/BlockLength
|
|
670
|
+
end
|
|
671
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
672
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
673
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
674
|
+
|
|
675
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
676
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
677
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
678
|
+
|
|
679
|
+
|
|
555
680
|
# Deletes a bucket if the bucket is already empty. If the bucket is not empty, use
|
|
556
681
|
# {#delete_object delete_object} first. In addition,
|
|
557
682
|
# you cannot delete a bucket that has a multipart upload in progress or a pre-authenticated
|
|
@@ -808,6 +933,131 @@ module OCI
|
|
|
808
933
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
809
934
|
|
|
810
935
|
|
|
936
|
+
# Deletes the replication policy associated with the source bucket.
|
|
937
|
+
#
|
|
938
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
939
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
940
|
+
# Example: `my-new-bucket1`
|
|
941
|
+
#
|
|
942
|
+
# @param [String] replication_id The ID of the replication policy.
|
|
943
|
+
# @param [Hash] opts the optional parameters
|
|
944
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
945
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
946
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
947
|
+
# @return [Response] A Response object with data of type nil
|
|
948
|
+
def delete_replication_policy(namespace_name, bucket_name, replication_id, opts = {})
|
|
949
|
+
logger.debug 'Calling operation ObjectStorageClient#delete_replication_policy.' if logger
|
|
950
|
+
|
|
951
|
+
raise "Missing the required parameter 'namespace_name' when calling delete_replication_policy." if namespace_name.nil?
|
|
952
|
+
raise "Missing the required parameter 'bucket_name' when calling delete_replication_policy." if bucket_name.nil?
|
|
953
|
+
raise "Missing the required parameter 'replication_id' when calling delete_replication_policy." if replication_id.nil?
|
|
954
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
955
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
956
|
+
raise "Parameter value for 'replication_id' must not be blank" if OCI::Internal::Util.blank_string?(replication_id)
|
|
957
|
+
|
|
958
|
+
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)
|
|
959
|
+
operation_signing_strategy = :standard
|
|
960
|
+
|
|
961
|
+
# rubocop:disable Style/NegatedIf
|
|
962
|
+
# Query Params
|
|
963
|
+
query_params = {}
|
|
964
|
+
|
|
965
|
+
# Header Params
|
|
966
|
+
header_params = {}
|
|
967
|
+
header_params[:accept] = 'application/json'
|
|
968
|
+
header_params[:'content-type'] = 'application/json'
|
|
969
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
970
|
+
# rubocop:enable Style/NegatedIf
|
|
971
|
+
|
|
972
|
+
post_body = nil
|
|
973
|
+
|
|
974
|
+
# rubocop:disable Metrics/BlockLength
|
|
975
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#delete_replication_policy') do
|
|
976
|
+
@api_client.call_api(
|
|
977
|
+
:DELETE,
|
|
978
|
+
path,
|
|
979
|
+
endpoint,
|
|
980
|
+
header_params: header_params,
|
|
981
|
+
query_params: query_params,
|
|
982
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
983
|
+
body: post_body
|
|
984
|
+
)
|
|
985
|
+
end
|
|
986
|
+
# rubocop:enable Metrics/BlockLength
|
|
987
|
+
end
|
|
988
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
989
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
990
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
991
|
+
|
|
992
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
993
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
994
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
# Deletes the specified rule. The deletion takes effect typically within 30 seconds.
|
|
998
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
999
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1000
|
+
# Example: `my-new-bucket1`
|
|
1001
|
+
#
|
|
1002
|
+
# @param [String] retention_rule_id The ID of the retention rule.
|
|
1003
|
+
# @param [Hash] opts the optional parameters
|
|
1004
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1005
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1006
|
+
# @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.
|
|
1007
|
+
# For uploading a part, this is the entity tag of the target part.
|
|
1008
|
+
#
|
|
1009
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1010
|
+
# @return [Response] A Response object with data of type nil
|
|
1011
|
+
def delete_retention_rule(namespace_name, bucket_name, retention_rule_id, opts = {})
|
|
1012
|
+
logger.debug 'Calling operation ObjectStorageClient#delete_retention_rule.' if logger
|
|
1013
|
+
|
|
1014
|
+
raise "Missing the required parameter 'namespace_name' when calling delete_retention_rule." if namespace_name.nil?
|
|
1015
|
+
raise "Missing the required parameter 'bucket_name' when calling delete_retention_rule." if bucket_name.nil?
|
|
1016
|
+
raise "Missing the required parameter 'retention_rule_id' when calling delete_retention_rule." if retention_rule_id.nil?
|
|
1017
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1018
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1019
|
+
raise "Parameter value for 'retention_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(retention_rule_id)
|
|
1020
|
+
|
|
1021
|
+
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)
|
|
1022
|
+
operation_signing_strategy = :standard
|
|
1023
|
+
|
|
1024
|
+
# rubocop:disable Style/NegatedIf
|
|
1025
|
+
# Query Params
|
|
1026
|
+
query_params = {}
|
|
1027
|
+
|
|
1028
|
+
# Header Params
|
|
1029
|
+
header_params = {}
|
|
1030
|
+
header_params[:accept] = 'application/json'
|
|
1031
|
+
header_params[:'content-type'] = 'application/json'
|
|
1032
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1033
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
1034
|
+
# rubocop:enable Style/NegatedIf
|
|
1035
|
+
|
|
1036
|
+
post_body = nil
|
|
1037
|
+
|
|
1038
|
+
# rubocop:disable Metrics/BlockLength
|
|
1039
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#delete_retention_rule') do
|
|
1040
|
+
@api_client.call_api(
|
|
1041
|
+
:DELETE,
|
|
1042
|
+
path,
|
|
1043
|
+
endpoint,
|
|
1044
|
+
header_params: header_params,
|
|
1045
|
+
query_params: query_params,
|
|
1046
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1047
|
+
body: post_body
|
|
1048
|
+
)
|
|
1049
|
+
end
|
|
1050
|
+
# rubocop:enable Metrics/BlockLength
|
|
1051
|
+
end
|
|
1052
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1053
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1054
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1055
|
+
|
|
1056
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1057
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1058
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1059
|
+
|
|
1060
|
+
|
|
811
1061
|
# Gets the current representation of the given bucket in the given Object Storage namespace.
|
|
812
1062
|
#
|
|
813
1063
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
@@ -904,8 +1154,8 @@ module OCI
|
|
|
904
1154
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
905
1155
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
906
1156
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
907
|
-
# @option opts [String] :compartment_id This is an optional field representing the tenancy OCID or the compartment
|
|
908
|
-
#
|
|
1157
|
+
# @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
|
|
1158
|
+
# [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) within the tenancy whose Object Storage namespace is to be retrieved.
|
|
909
1159
|
#
|
|
910
1160
|
# @return [Response] A Response object with data of type String
|
|
911
1161
|
def get_namespace(opts = {})
|
|
@@ -1033,7 +1283,7 @@ module OCI
|
|
|
1033
1283
|
# part, this is the entity tag of the target part.
|
|
1034
1284
|
#
|
|
1035
1285
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1036
|
-
# @option opts [String] :range Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/
|
|
1286
|
+
# @option opts [String] :range Optional byte range to fetch, as described in [RFC 7233](https://tools.ietf.org/html/rfc7233#section-2.1).
|
|
1037
1287
|
# Note that only a single range of bytes is supported.
|
|
1038
1288
|
#
|
|
1039
1289
|
# @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
|
|
@@ -1258,20 +1508,29 @@ module OCI
|
|
|
1258
1508
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1259
1509
|
|
|
1260
1510
|
|
|
1261
|
-
#
|
|
1262
|
-
#
|
|
1511
|
+
# Get the replication policy.
|
|
1512
|
+
#
|
|
1513
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1514
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1515
|
+
# Example: `my-new-bucket1`
|
|
1516
|
+
#
|
|
1517
|
+
# @param [String] replication_id The ID of the replication policy.
|
|
1263
1518
|
# @param [Hash] opts the optional parameters
|
|
1264
1519
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1265
1520
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1266
1521
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1267
|
-
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::
|
|
1268
|
-
def
|
|
1269
|
-
logger.debug 'Calling operation ObjectStorageClient#
|
|
1522
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::ReplicationPolicy ReplicationPolicy}
|
|
1523
|
+
def get_replication_policy(namespace_name, bucket_name, replication_id, opts = {})
|
|
1524
|
+
logger.debug 'Calling operation ObjectStorageClient#get_replication_policy.' if logger
|
|
1270
1525
|
|
|
1271
|
-
raise "Missing the required parameter '
|
|
1272
|
-
raise "
|
|
1526
|
+
raise "Missing the required parameter 'namespace_name' when calling get_replication_policy." if namespace_name.nil?
|
|
1527
|
+
raise "Missing the required parameter 'bucket_name' when calling get_replication_policy." if bucket_name.nil?
|
|
1528
|
+
raise "Missing the required parameter 'replication_id' when calling get_replication_policy." if replication_id.nil?
|
|
1529
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1530
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1531
|
+
raise "Parameter value for 'replication_id' must not be blank" if OCI::Internal::Util.blank_string?(replication_id)
|
|
1273
1532
|
|
|
1274
|
-
path = '/
|
|
1533
|
+
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)
|
|
1275
1534
|
operation_signing_strategy = :standard
|
|
1276
1535
|
|
|
1277
1536
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1288,7 +1547,7 @@ module OCI
|
|
|
1288
1547
|
post_body = nil
|
|
1289
1548
|
|
|
1290
1549
|
# rubocop:disable Metrics/BlockLength
|
|
1291
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
|
1550
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#get_replication_policy') do
|
|
1292
1551
|
@api_client.call_api(
|
|
1293
1552
|
:GET,
|
|
1294
1553
|
path,
|
|
@@ -1297,7 +1556,7 @@ module OCI
|
|
|
1297
1556
|
query_params: query_params,
|
|
1298
1557
|
operation_signing_strategy: operation_signing_strategy,
|
|
1299
1558
|
body: post_body,
|
|
1300
|
-
return_type: 'OCI::ObjectStorage::Models::
|
|
1559
|
+
return_type: 'OCI::ObjectStorage::Models::ReplicationPolicy'
|
|
1301
1560
|
)
|
|
1302
1561
|
end
|
|
1303
1562
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1311,33 +1570,28 @@ module OCI
|
|
|
1311
1570
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1312
1571
|
|
|
1313
1572
|
|
|
1314
|
-
#
|
|
1315
|
-
#
|
|
1573
|
+
# Get the specified retention rule.
|
|
1316
1574
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1317
1575
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1318
1576
|
# Example: `my-new-bucket1`
|
|
1319
1577
|
#
|
|
1578
|
+
# @param [String] retention_rule_id The ID of the retention rule.
|
|
1320
1579
|
# @param [Hash] opts the optional parameters
|
|
1321
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
|
|
1322
1581
|
# 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] :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.
|
|
1324
|
-
# For uploading a part, this is the entity tag of the target part.
|
|
1325
|
-
#
|
|
1326
|
-
# @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
|
|
1327
|
-
# already exists. For creating and committing a multipart upload, this is the entity tag of the target object. For uploading a
|
|
1328
|
-
# part, this is the entity tag of the target part.
|
|
1329
|
-
#
|
|
1330
1582
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1331
|
-
# @return [Response] A Response object with data of type
|
|
1332
|
-
def
|
|
1333
|
-
logger.debug 'Calling operation ObjectStorageClient#
|
|
1583
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::RetentionRule RetentionRule}
|
|
1584
|
+
def get_retention_rule(namespace_name, bucket_name, retention_rule_id, opts = {})
|
|
1585
|
+
logger.debug 'Calling operation ObjectStorageClient#get_retention_rule.' if logger
|
|
1334
1586
|
|
|
1335
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
|
1336
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
|
1587
|
+
raise "Missing the required parameter 'namespace_name' when calling get_retention_rule." if namespace_name.nil?
|
|
1588
|
+
raise "Missing the required parameter 'bucket_name' when calling get_retention_rule." if bucket_name.nil?
|
|
1589
|
+
raise "Missing the required parameter 'retention_rule_id' when calling get_retention_rule." if retention_rule_id.nil?
|
|
1337
1590
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1338
1591
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1592
|
+
raise "Parameter value for 'retention_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(retention_rule_id)
|
|
1339
1593
|
|
|
1340
|
-
path = '/n/{namespaceName}/b/{bucketName}/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
1594
|
+
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)
|
|
1341
1595
|
operation_signing_strategy = :standard
|
|
1342
1596
|
|
|
1343
1597
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1348,23 +1602,22 @@ module OCI
|
|
|
1348
1602
|
header_params = {}
|
|
1349
1603
|
header_params[:accept] = 'application/json'
|
|
1350
1604
|
header_params[:'content-type'] = 'application/json'
|
|
1351
|
-
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1352
|
-
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1353
1605
|
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
1354
1606
|
# rubocop:enable Style/NegatedIf
|
|
1355
1607
|
|
|
1356
1608
|
post_body = nil
|
|
1357
1609
|
|
|
1358
1610
|
# rubocop:disable Metrics/BlockLength
|
|
1359
|
-
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_retention_rule') do
|
|
1360
1612
|
@api_client.call_api(
|
|
1361
|
-
:
|
|
1613
|
+
:GET,
|
|
1362
1614
|
path,
|
|
1363
1615
|
endpoint,
|
|
1364
1616
|
header_params: header_params,
|
|
1365
1617
|
query_params: query_params,
|
|
1366
1618
|
operation_signing_strategy: operation_signing_strategy,
|
|
1367
|
-
body: post_body
|
|
1619
|
+
body: post_body,
|
|
1620
|
+
return_type: 'OCI::ObjectStorage::Models::RetentionRule'
|
|
1368
1621
|
)
|
|
1369
1622
|
end
|
|
1370
1623
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1378,21 +1631,141 @@ module OCI
|
|
|
1378
1631
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1379
1632
|
|
|
1380
1633
|
|
|
1381
|
-
# Gets the
|
|
1382
|
-
#
|
|
1383
|
-
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1384
|
-
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1385
|
-
# Example: `my-new-bucket1`
|
|
1386
|
-
#
|
|
1387
|
-
# @param [String] object_name The name of the object. Avoid entering confidential information.
|
|
1388
|
-
# Example: `test/object1.log`
|
|
1389
|
-
#
|
|
1634
|
+
# Gets the status of the work request for the given ID.
|
|
1635
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
|
1390
1636
|
# @param [Hash] opts the optional parameters
|
|
1391
1637
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1392
1638
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1393
|
-
# @option opts [String] :
|
|
1394
|
-
#
|
|
1395
|
-
|
|
1639
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1640
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::WorkRequest WorkRequest}
|
|
1641
|
+
def get_work_request(work_request_id, opts = {})
|
|
1642
|
+
logger.debug 'Calling operation ObjectStorageClient#get_work_request.' if logger
|
|
1643
|
+
|
|
1644
|
+
raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
|
|
1645
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
1646
|
+
|
|
1647
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
|
1648
|
+
operation_signing_strategy = :standard
|
|
1649
|
+
|
|
1650
|
+
# rubocop:disable Style/NegatedIf
|
|
1651
|
+
# Query Params
|
|
1652
|
+
query_params = {}
|
|
1653
|
+
|
|
1654
|
+
# Header Params
|
|
1655
|
+
header_params = {}
|
|
1656
|
+
header_params[:accept] = 'application/json'
|
|
1657
|
+
header_params[:'content-type'] = 'application/json'
|
|
1658
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
1659
|
+
# rubocop:enable Style/NegatedIf
|
|
1660
|
+
|
|
1661
|
+
post_body = nil
|
|
1662
|
+
|
|
1663
|
+
# rubocop:disable Metrics/BlockLength
|
|
1664
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#get_work_request') do
|
|
1665
|
+
@api_client.call_api(
|
|
1666
|
+
:GET,
|
|
1667
|
+
path,
|
|
1668
|
+
endpoint,
|
|
1669
|
+
header_params: header_params,
|
|
1670
|
+
query_params: query_params,
|
|
1671
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1672
|
+
body: post_body,
|
|
1673
|
+
return_type: 'OCI::ObjectStorage::Models::WorkRequest'
|
|
1674
|
+
)
|
|
1675
|
+
end
|
|
1676
|
+
# rubocop:enable Metrics/BlockLength
|
|
1677
|
+
end
|
|
1678
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1679
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1680
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1681
|
+
|
|
1682
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1683
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1684
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
# Efficiently checks to see if a bucket exists and gets the current entity tag (ETag) for the bucket.
|
|
1688
|
+
#
|
|
1689
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1690
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1691
|
+
# Example: `my-new-bucket1`
|
|
1692
|
+
#
|
|
1693
|
+
# @param [Hash] opts the optional parameters
|
|
1694
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1695
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1696
|
+
# @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.
|
|
1697
|
+
# For uploading a part, this is the entity tag of the target part.
|
|
1698
|
+
#
|
|
1699
|
+
# @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
|
|
1700
|
+
# already exists. For creating and committing a multipart upload, this is the entity tag of the target object. For uploading a
|
|
1701
|
+
# part, this is the entity tag of the target part.
|
|
1702
|
+
#
|
|
1703
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1704
|
+
# @return [Response] A Response object with data of type nil
|
|
1705
|
+
def head_bucket(namespace_name, bucket_name, opts = {})
|
|
1706
|
+
logger.debug 'Calling operation ObjectStorageClient#head_bucket.' if logger
|
|
1707
|
+
|
|
1708
|
+
raise "Missing the required parameter 'namespace_name' when calling head_bucket." if namespace_name.nil?
|
|
1709
|
+
raise "Missing the required parameter 'bucket_name' when calling head_bucket." if bucket_name.nil?
|
|
1710
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1711
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1712
|
+
|
|
1713
|
+
path = '/n/{namespaceName}/b/{bucketName}/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
1714
|
+
operation_signing_strategy = :standard
|
|
1715
|
+
|
|
1716
|
+
# rubocop:disable Style/NegatedIf
|
|
1717
|
+
# Query Params
|
|
1718
|
+
query_params = {}
|
|
1719
|
+
|
|
1720
|
+
# Header Params
|
|
1721
|
+
header_params = {}
|
|
1722
|
+
header_params[:accept] = 'application/json'
|
|
1723
|
+
header_params[:'content-type'] = 'application/json'
|
|
1724
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1725
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
1726
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
1727
|
+
# rubocop:enable Style/NegatedIf
|
|
1728
|
+
|
|
1729
|
+
post_body = nil
|
|
1730
|
+
|
|
1731
|
+
# rubocop:disable Metrics/BlockLength
|
|
1732
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#head_bucket') do
|
|
1733
|
+
@api_client.call_api(
|
|
1734
|
+
:HEAD,
|
|
1735
|
+
path,
|
|
1736
|
+
endpoint,
|
|
1737
|
+
header_params: header_params,
|
|
1738
|
+
query_params: query_params,
|
|
1739
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1740
|
+
body: post_body
|
|
1741
|
+
)
|
|
1742
|
+
end
|
|
1743
|
+
# rubocop:enable Metrics/BlockLength
|
|
1744
|
+
end
|
|
1745
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1746
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1747
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1748
|
+
|
|
1749
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1750
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1751
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
# Gets the user-defined metadata and entity tag (ETag) for an object.
|
|
1755
|
+
#
|
|
1756
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1757
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1758
|
+
# Example: `my-new-bucket1`
|
|
1759
|
+
#
|
|
1760
|
+
# @param [String] object_name The name of the object. Avoid entering confidential information.
|
|
1761
|
+
# Example: `test/object1.log`
|
|
1762
|
+
#
|
|
1763
|
+
# @param [Hash] opts the optional parameters
|
|
1764
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1765
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1766
|
+
# @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.
|
|
1767
|
+
# For uploading a part, this is the entity tag of the target part.
|
|
1768
|
+
#
|
|
1396
1769
|
# @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
|
|
1397
1770
|
# already exists. For creating and committing a multipart upload, this is the entity tag of the target object. For uploading a
|
|
1398
1771
|
# part, this is the entity tag of the target part.
|
|
@@ -1458,46 +1831,264 @@ module OCI
|
|
|
1458
1831
|
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
1459
1832
|
#
|
|
1460
1833
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1461
|
-
# @param [String] compartment_id The ID of the compartment in which to list buckets.
|
|
1834
|
+
# @param [String] compartment_id The ID of the compartment in which to list buckets.
|
|
1835
|
+
# @param [Hash] opts the optional parameters
|
|
1836
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1837
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1838
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
|
1839
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
|
1840
|
+
# @option opts [Array<String>] :fields Bucket summary in list of buckets includes the 'namespace', 'name', 'compartmentId', 'createdBy', 'timeCreated',
|
|
1841
|
+
# and 'etag' fields. This parameter can also include 'tags' (freeformTags and definedTags). The only supported value
|
|
1842
|
+
# of this parameter is 'tags' for now. Example 'tags'.
|
|
1843
|
+
#
|
|
1844
|
+
# Allowed values are: tags
|
|
1845
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1846
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::BucketSummary BucketSummary}>
|
|
1847
|
+
def list_buckets(namespace_name, compartment_id, opts = {})
|
|
1848
|
+
logger.debug 'Calling operation ObjectStorageClient#list_buckets.' if logger
|
|
1849
|
+
|
|
1850
|
+
raise "Missing the required parameter 'namespace_name' when calling list_buckets." if namespace_name.nil?
|
|
1851
|
+
raise "Missing the required parameter 'compartment_id' when calling list_buckets." if compartment_id.nil?
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
fields_allowable_values = %w[tags]
|
|
1855
|
+
if opts[:fields] && !opts[:fields].empty?
|
|
1856
|
+
opts[:fields].each do |val_to_check|
|
|
1857
|
+
unless fields_allowable_values.include?(val_to_check)
|
|
1858
|
+
raise 'Invalid value for "fields", must be one of tags.'
|
|
1859
|
+
end
|
|
1860
|
+
end
|
|
1861
|
+
end
|
|
1862
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1863
|
+
|
|
1864
|
+
path = '/n/{namespaceName}/b/'.sub('{namespaceName}', namespace_name.to_s)
|
|
1865
|
+
operation_signing_strategy = :standard
|
|
1866
|
+
|
|
1867
|
+
# rubocop:disable Style/NegatedIf
|
|
1868
|
+
# Query Params
|
|
1869
|
+
query_params = {}
|
|
1870
|
+
query_params[:compartmentId] = compartment_id
|
|
1871
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1872
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1873
|
+
query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :csv) if opts[:fields] && !opts[:fields].empty?
|
|
1874
|
+
|
|
1875
|
+
# Header Params
|
|
1876
|
+
header_params = {}
|
|
1877
|
+
header_params[:accept] = 'application/json'
|
|
1878
|
+
header_params[:'content-type'] = 'application/json'
|
|
1879
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
1880
|
+
# rubocop:enable Style/NegatedIf
|
|
1881
|
+
|
|
1882
|
+
post_body = nil
|
|
1883
|
+
|
|
1884
|
+
# rubocop:disable Metrics/BlockLength
|
|
1885
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_buckets') do
|
|
1886
|
+
@api_client.call_api(
|
|
1887
|
+
:GET,
|
|
1888
|
+
path,
|
|
1889
|
+
endpoint,
|
|
1890
|
+
header_params: header_params,
|
|
1891
|
+
query_params: query_params,
|
|
1892
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1893
|
+
body: post_body,
|
|
1894
|
+
return_type: 'Array<OCI::ObjectStorage::Models::BucketSummary>'
|
|
1895
|
+
)
|
|
1896
|
+
end
|
|
1897
|
+
# rubocop:enable Metrics/BlockLength
|
|
1898
|
+
end
|
|
1899
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1900
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1901
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1902
|
+
|
|
1903
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1904
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1905
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
# Lists the parts of an in-progress multipart upload.
|
|
1909
|
+
#
|
|
1910
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1911
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1912
|
+
# Example: `my-new-bucket1`
|
|
1913
|
+
#
|
|
1914
|
+
# @param [String] object_name The name of the object. Avoid entering confidential information.
|
|
1915
|
+
# Example: `test/object1.log`
|
|
1916
|
+
#
|
|
1917
|
+
# @param [String] upload_id The upload ID for a multipart upload.
|
|
1918
|
+
# @param [Hash] opts the optional parameters
|
|
1919
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1920
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1921
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
|
1922
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
|
1923
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1924
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::MultipartUploadPartSummary MultipartUploadPartSummary}>
|
|
1925
|
+
def list_multipart_upload_parts(namespace_name, bucket_name, object_name, upload_id, opts = {})
|
|
1926
|
+
logger.debug 'Calling operation ObjectStorageClient#list_multipart_upload_parts.' if logger
|
|
1927
|
+
|
|
1928
|
+
raise "Missing the required parameter 'namespace_name' when calling list_multipart_upload_parts." if namespace_name.nil?
|
|
1929
|
+
raise "Missing the required parameter 'bucket_name' when calling list_multipart_upload_parts." if bucket_name.nil?
|
|
1930
|
+
raise "Missing the required parameter 'object_name' when calling list_multipart_upload_parts." if object_name.nil?
|
|
1931
|
+
raise "Missing the required parameter 'upload_id' when calling list_multipart_upload_parts." if upload_id.nil?
|
|
1932
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1933
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1934
|
+
raise "Parameter value for 'object_name' must not be blank" if OCI::Internal::Util.blank_string?(object_name)
|
|
1935
|
+
|
|
1936
|
+
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)
|
|
1937
|
+
operation_signing_strategy = :standard
|
|
1938
|
+
|
|
1939
|
+
# rubocop:disable Style/NegatedIf
|
|
1940
|
+
# Query Params
|
|
1941
|
+
query_params = {}
|
|
1942
|
+
query_params[:uploadId] = upload_id
|
|
1943
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1944
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1945
|
+
|
|
1946
|
+
# Header Params
|
|
1947
|
+
header_params = {}
|
|
1948
|
+
header_params[:accept] = 'application/json'
|
|
1949
|
+
header_params[:'content-type'] = 'application/json'
|
|
1950
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
1951
|
+
# rubocop:enable Style/NegatedIf
|
|
1952
|
+
|
|
1953
|
+
post_body = nil
|
|
1954
|
+
|
|
1955
|
+
# rubocop:disable Metrics/BlockLength
|
|
1956
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_multipart_upload_parts') do
|
|
1957
|
+
@api_client.call_api(
|
|
1958
|
+
:GET,
|
|
1959
|
+
path,
|
|
1960
|
+
endpoint,
|
|
1961
|
+
header_params: header_params,
|
|
1962
|
+
query_params: query_params,
|
|
1963
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1964
|
+
body: post_body,
|
|
1965
|
+
return_type: 'Array<OCI::ObjectStorage::Models::MultipartUploadPartSummary>'
|
|
1966
|
+
)
|
|
1967
|
+
end
|
|
1968
|
+
# rubocop:enable Metrics/BlockLength
|
|
1969
|
+
end
|
|
1970
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1971
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1972
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1973
|
+
|
|
1974
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1975
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1976
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
# Lists all of the in-progress multipart uploads for the given bucket in the given Object Storage namespace.
|
|
1980
|
+
#
|
|
1981
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1982
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1983
|
+
# Example: `my-new-bucket1`
|
|
1984
|
+
#
|
|
1985
|
+
# @param [Hash] opts the optional parameters
|
|
1986
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1987
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1988
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
|
1989
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
|
1990
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1991
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::MultipartUpload MultipartUpload}>
|
|
1992
|
+
def list_multipart_uploads(namespace_name, bucket_name, opts = {})
|
|
1993
|
+
logger.debug 'Calling operation ObjectStorageClient#list_multipart_uploads.' if logger
|
|
1994
|
+
|
|
1995
|
+
raise "Missing the required parameter 'namespace_name' when calling list_multipart_uploads." if namespace_name.nil?
|
|
1996
|
+
raise "Missing the required parameter 'bucket_name' when calling list_multipart_uploads." if bucket_name.nil?
|
|
1997
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1998
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1999
|
+
|
|
2000
|
+
path = '/n/{namespaceName}/b/{bucketName}/u'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
2001
|
+
operation_signing_strategy = :standard
|
|
2002
|
+
|
|
2003
|
+
# rubocop:disable Style/NegatedIf
|
|
2004
|
+
# Query Params
|
|
2005
|
+
query_params = {}
|
|
2006
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
2007
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
2008
|
+
|
|
2009
|
+
# Header Params
|
|
2010
|
+
header_params = {}
|
|
2011
|
+
header_params[:accept] = 'application/json'
|
|
2012
|
+
header_params[:'content-type'] = 'application/json'
|
|
2013
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
2014
|
+
# rubocop:enable Style/NegatedIf
|
|
2015
|
+
|
|
2016
|
+
post_body = nil
|
|
2017
|
+
|
|
2018
|
+
# rubocop:disable Metrics/BlockLength
|
|
2019
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_multipart_uploads') do
|
|
2020
|
+
@api_client.call_api(
|
|
2021
|
+
:GET,
|
|
2022
|
+
path,
|
|
2023
|
+
endpoint,
|
|
2024
|
+
header_params: header_params,
|
|
2025
|
+
query_params: query_params,
|
|
2026
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2027
|
+
body: post_body,
|
|
2028
|
+
return_type: 'Array<OCI::ObjectStorage::Models::MultipartUpload>'
|
|
2029
|
+
)
|
|
2030
|
+
end
|
|
2031
|
+
# rubocop:enable Metrics/BlockLength
|
|
2032
|
+
end
|
|
2033
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2034
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2035
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2036
|
+
|
|
2037
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2038
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2039
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2040
|
+
|
|
2041
|
+
|
|
2042
|
+
# Lists the objects in a bucket.
|
|
2043
|
+
#
|
|
2044
|
+
# To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized,
|
|
2045
|
+
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
|
2046
|
+
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
2047
|
+
#
|
|
2048
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
2049
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
2050
|
+
# Example: `my-new-bucket1`
|
|
2051
|
+
#
|
|
1462
2052
|
# @param [Hash] opts the optional parameters
|
|
1463
2053
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1464
2054
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2055
|
+
# @option opts [String] :prefix The string to use for matching against the start of object names in a list query.
|
|
2056
|
+
# @option opts [String] :start Object names returned by a list query must be greater or equal to this parameter.
|
|
2057
|
+
# @option opts [String] :_end Object names returned by a list query must be strictly less than this parameter.
|
|
1465
2058
|
# @option opts [Integer] :limit The maximum number of items to return.
|
|
1466
|
-
# @option opts [String] :
|
|
1467
|
-
#
|
|
1468
|
-
#
|
|
1469
|
-
# of
|
|
2059
|
+
# @option opts [String] :delimiter When this parameter is set, only objects whose names do not contain the delimiter character
|
|
2060
|
+
# (after an optionally specified prefix) are returned in the objects key of the response body.
|
|
2061
|
+
# Scanned objects whose names contain the delimiter have the part of their name up to the first
|
|
2062
|
+
# occurrence of the delimiter (including the optional prefix) returned as a set of prefixes.
|
|
2063
|
+
# Note that only '/' is a supported delimiter character at this time.
|
|
2064
|
+
#
|
|
2065
|
+
# @option opts [String] :fields Object summary in list of objects includes the 'name' field. This parameter can also include 'size'
|
|
2066
|
+
# (object size in bytes), 'etag', 'md5', and 'timeCreated' (object creation date and time) fields.
|
|
2067
|
+
# Value of this parameter should be a comma-separated, case-insensitive list of those field names.
|
|
2068
|
+
# For example 'name,etag,timeCreated,md5'.
|
|
1470
2069
|
#
|
|
1471
|
-
# Allowed values are: tags
|
|
1472
2070
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1473
|
-
# @return [Response] A Response object with data of type
|
|
1474
|
-
def
|
|
1475
|
-
logger.debug 'Calling operation ObjectStorageClient#
|
|
1476
|
-
|
|
1477
|
-
raise "Missing the required parameter 'namespace_name' when calling list_buckets." if namespace_name.nil?
|
|
1478
|
-
raise "Missing the required parameter 'compartment_id' when calling list_buckets." if compartment_id.nil?
|
|
1479
|
-
|
|
2071
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::ListObjects ListObjects}
|
|
2072
|
+
def list_objects(namespace_name, bucket_name, opts = {})
|
|
2073
|
+
logger.debug 'Calling operation ObjectStorageClient#list_objects.' if logger
|
|
1480
2074
|
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
opts[:fields].each do |val_to_check|
|
|
1484
|
-
unless fields_allowable_values.include?(val_to_check)
|
|
1485
|
-
raise 'Invalid value for "fields", must be one of tags.'
|
|
1486
|
-
end
|
|
1487
|
-
end
|
|
1488
|
-
end
|
|
2075
|
+
raise "Missing the required parameter 'namespace_name' when calling list_objects." if namespace_name.nil?
|
|
2076
|
+
raise "Missing the required parameter 'bucket_name' when calling list_objects." if bucket_name.nil?
|
|
1489
2077
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
2078
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1490
2079
|
|
|
1491
|
-
path = '/n/{namespaceName}/b/'.sub('{namespaceName}', namespace_name.to_s)
|
|
2080
|
+
path = '/n/{namespaceName}/b/{bucketName}/o'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
1492
2081
|
operation_signing_strategy = :standard
|
|
1493
2082
|
|
|
1494
2083
|
# rubocop:disable Style/NegatedIf
|
|
1495
2084
|
# Query Params
|
|
1496
2085
|
query_params = {}
|
|
1497
|
-
query_params[:
|
|
2086
|
+
query_params[:prefix] = opts[:prefix] if opts[:prefix]
|
|
2087
|
+
query_params[:start] = opts[:start] if opts[:start]
|
|
2088
|
+
query_params[:end] = opts[:_end] if opts[:_end]
|
|
1498
2089
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1499
|
-
query_params[:
|
|
1500
|
-
query_params[:fields] =
|
|
2090
|
+
query_params[:delimiter] = opts[:delimiter] if opts[:delimiter]
|
|
2091
|
+
query_params[:fields] = opts[:fields] if opts[:fields]
|
|
1501
2092
|
|
|
1502
2093
|
# Header Params
|
|
1503
2094
|
header_params = {}
|
|
@@ -1509,7 +2100,7 @@ module OCI
|
|
|
1509
2100
|
post_body = nil
|
|
1510
2101
|
|
|
1511
2102
|
# rubocop:disable Metrics/BlockLength
|
|
1512
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
|
2103
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_objects') do
|
|
1513
2104
|
@api_client.call_api(
|
|
1514
2105
|
:GET,
|
|
1515
2106
|
path,
|
|
@@ -1518,7 +2109,7 @@ module OCI
|
|
|
1518
2109
|
query_params: query_params,
|
|
1519
2110
|
operation_signing_strategy: operation_signing_strategy,
|
|
1520
2111
|
body: post_body,
|
|
1521
|
-
return_type: '
|
|
2112
|
+
return_type: 'OCI::ObjectStorage::Models::ListObjects'
|
|
1522
2113
|
)
|
|
1523
2114
|
end
|
|
1524
2115
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1532,41 +2123,35 @@ module OCI
|
|
|
1532
2123
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1533
2124
|
|
|
1534
2125
|
|
|
1535
|
-
# Lists
|
|
2126
|
+
# Lists pre-authenticated requests for the bucket.
|
|
1536
2127
|
#
|
|
1537
2128
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1538
2129
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
1539
2130
|
# Example: `my-new-bucket1`
|
|
1540
2131
|
#
|
|
1541
|
-
# @param [String] object_name The name of the object. Avoid entering confidential information.
|
|
1542
|
-
# Example: `test/object1.log`
|
|
1543
|
-
#
|
|
1544
|
-
# @param [String] upload_id The upload ID for a multipart upload.
|
|
1545
2132
|
# @param [Hash] opts the optional parameters
|
|
1546
2133
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1547
2134
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2135
|
+
# @option opts [String] :object_name_prefix User-specified object name prefixes can be used to query and return a list of pre-authenticated requests.
|
|
1548
2136
|
# @option opts [Integer] :limit The maximum number of items to return.
|
|
1549
2137
|
# @option opts [String] :page The page at which to start retrieving results.
|
|
1550
2138
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1551
|
-
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::
|
|
1552
|
-
def
|
|
1553
|
-
logger.debug 'Calling operation ObjectStorageClient#
|
|
2139
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::PreauthenticatedRequestSummary PreauthenticatedRequestSummary}>
|
|
2140
|
+
def list_preauthenticated_requests(namespace_name, bucket_name, opts = {})
|
|
2141
|
+
logger.debug 'Calling operation ObjectStorageClient#list_preauthenticated_requests.' if logger
|
|
1554
2142
|
|
|
1555
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
|
1556
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
|
1557
|
-
raise "Missing the required parameter 'object_name' when calling list_multipart_upload_parts." if object_name.nil?
|
|
1558
|
-
raise "Missing the required parameter 'upload_id' when calling list_multipart_upload_parts." if upload_id.nil?
|
|
2143
|
+
raise "Missing the required parameter 'namespace_name' when calling list_preauthenticated_requests." if namespace_name.nil?
|
|
2144
|
+
raise "Missing the required parameter 'bucket_name' when calling list_preauthenticated_requests." if bucket_name.nil?
|
|
1559
2145
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1560
2146
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1561
|
-
raise "Parameter value for 'object_name' must not be blank" if OCI::Internal::Util.blank_string?(object_name)
|
|
1562
2147
|
|
|
1563
|
-
path = '/n/{namespaceName}/b/{bucketName}/
|
|
2148
|
+
path = '/n/{namespaceName}/b/{bucketName}/p/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
1564
2149
|
operation_signing_strategy = :standard
|
|
1565
2150
|
|
|
1566
2151
|
# rubocop:disable Style/NegatedIf
|
|
1567
2152
|
# Query Params
|
|
1568
2153
|
query_params = {}
|
|
1569
|
-
query_params[:
|
|
2154
|
+
query_params[:objectNamePrefix] = opts[:object_name_prefix] if opts[:object_name_prefix]
|
|
1570
2155
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1571
2156
|
query_params[:page] = opts[:page] if opts[:page]
|
|
1572
2157
|
|
|
@@ -1580,7 +2165,7 @@ module OCI
|
|
|
1580
2165
|
post_body = nil
|
|
1581
2166
|
|
|
1582
2167
|
# rubocop:disable Metrics/BlockLength
|
|
1583
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
|
2168
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_preauthenticated_requests') do
|
|
1584
2169
|
@api_client.call_api(
|
|
1585
2170
|
:GET,
|
|
1586
2171
|
path,
|
|
@@ -1589,7 +2174,7 @@ module OCI
|
|
|
1589
2174
|
query_params: query_params,
|
|
1590
2175
|
operation_signing_strategy: operation_signing_strategy,
|
|
1591
2176
|
body: post_body,
|
|
1592
|
-
return_type: 'Array<OCI::ObjectStorage::Models::
|
|
2177
|
+
return_type: 'Array<OCI::ObjectStorage::Models::PreauthenticatedRequestSummary>'
|
|
1593
2178
|
)
|
|
1594
2179
|
end
|
|
1595
2180
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1603,7 +2188,7 @@ module OCI
|
|
|
1603
2188
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1604
2189
|
|
|
1605
2190
|
|
|
1606
|
-
#
|
|
2191
|
+
# List the replication policies associated with a bucket.
|
|
1607
2192
|
#
|
|
1608
2193
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1609
2194
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
@@ -1612,26 +2197,26 @@ module OCI
|
|
|
1612
2197
|
# @param [Hash] opts the optional parameters
|
|
1613
2198
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1614
2199
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1615
|
-
# @option opts [Integer] :limit The maximum number of items to return.
|
|
1616
|
-
# @option opts [String] :page The page at which to start retrieving results.
|
|
1617
2200
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1618
|
-
# @
|
|
1619
|
-
|
|
1620
|
-
|
|
2201
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
|
2202
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
|
2203
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::ReplicationPolicySummary ReplicationPolicySummary}>
|
|
2204
|
+
def list_replication_policies(namespace_name, bucket_name, opts = {})
|
|
2205
|
+
logger.debug 'Calling operation ObjectStorageClient#list_replication_policies.' if logger
|
|
1621
2206
|
|
|
1622
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
|
1623
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
|
2207
|
+
raise "Missing the required parameter 'namespace_name' when calling list_replication_policies." if namespace_name.nil?
|
|
2208
|
+
raise "Missing the required parameter 'bucket_name' when calling list_replication_policies." if bucket_name.nil?
|
|
1624
2209
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1625
2210
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1626
2211
|
|
|
1627
|
-
path = '/n/{namespaceName}/b/{bucketName}/
|
|
2212
|
+
path = '/n/{namespaceName}/b/{bucketName}/replicationPolicies'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
1628
2213
|
operation_signing_strategy = :standard
|
|
1629
2214
|
|
|
1630
2215
|
# rubocop:disable Style/NegatedIf
|
|
1631
2216
|
# Query Params
|
|
1632
2217
|
query_params = {}
|
|
1633
|
-
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1634
2218
|
query_params[:page] = opts[:page] if opts[:page]
|
|
2219
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1635
2220
|
|
|
1636
2221
|
# Header Params
|
|
1637
2222
|
header_params = {}
|
|
@@ -1643,7 +2228,7 @@ module OCI
|
|
|
1643
2228
|
post_body = nil
|
|
1644
2229
|
|
|
1645
2230
|
# rubocop:disable Metrics/BlockLength
|
|
1646
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
|
2231
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_replication_policies') do
|
|
1647
2232
|
@api_client.call_api(
|
|
1648
2233
|
:GET,
|
|
1649
2234
|
path,
|
|
@@ -1652,7 +2237,7 @@ module OCI
|
|
|
1652
2237
|
query_params: query_params,
|
|
1653
2238
|
operation_signing_strategy: operation_signing_strategy,
|
|
1654
2239
|
body: post_body,
|
|
1655
|
-
return_type: 'Array<OCI::ObjectStorage::Models::
|
|
2240
|
+
return_type: 'Array<OCI::ObjectStorage::Models::ReplicationPolicySummary>'
|
|
1656
2241
|
)
|
|
1657
2242
|
end
|
|
1658
2243
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1666,11 +2251,7 @@ module OCI
|
|
|
1666
2251
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1667
2252
|
|
|
1668
2253
|
|
|
1669
|
-
#
|
|
1670
|
-
#
|
|
1671
|
-
# To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized,
|
|
1672
|
-
# talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
|
1673
|
-
# [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
2254
|
+
# List the replication sources of a destination bucket.
|
|
1674
2255
|
#
|
|
1675
2256
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1676
2257
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
@@ -1679,43 +2260,26 @@ module OCI
|
|
|
1679
2260
|
# @param [Hash] opts the optional parameters
|
|
1680
2261
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1681
2262
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1682
|
-
# @option opts [String] :prefix The string to use for matching against the start of object names in a list query.
|
|
1683
|
-
# @option opts [String] :start Object names returned by a list query must be greater or equal to this parameter.
|
|
1684
|
-
# @option opts [String] :_end Object names returned by a list query must be strictly less than this parameter.
|
|
1685
|
-
# @option opts [Integer] :limit The maximum number of items to return.
|
|
1686
|
-
# @option opts [String] :delimiter When this parameter is set, only objects whose names do not contain the delimiter character
|
|
1687
|
-
# (after an optionally specified prefix) are returned in the objects key of the response body.
|
|
1688
|
-
# Scanned objects whose names contain the delimiter have the part of their name up to the first
|
|
1689
|
-
# occurrence of the delimiter (including the optional prefix) returned as a set of prefixes.
|
|
1690
|
-
# Note that only '/' is a supported delimiter character at this time.
|
|
1691
|
-
#
|
|
1692
|
-
# @option opts [String] :fields Object summary in list of objects includes the 'name' field. This parameter can also include 'size'
|
|
1693
|
-
# (object size in bytes), 'md5', and 'timeCreated' (object creation date and time) fields.
|
|
1694
|
-
# Value of this parameter should be a comma-separated, case-insensitive list of those field names.
|
|
1695
|
-
# For example 'name,timeCreated,md5'.
|
|
1696
|
-
#
|
|
1697
2263
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
1698
|
-
# @
|
|
1699
|
-
|
|
1700
|
-
|
|
2264
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
|
2265
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
|
2266
|
+
# @return [Response] A Response object with data of type Array<{OCI::ObjectStorage::Models::ReplicationSource ReplicationSource}>
|
|
2267
|
+
def list_replication_sources(namespace_name, bucket_name, opts = {})
|
|
2268
|
+
logger.debug 'Calling operation ObjectStorageClient#list_replication_sources.' if logger
|
|
1701
2269
|
|
|
1702
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
|
1703
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
|
2270
|
+
raise "Missing the required parameter 'namespace_name' when calling list_replication_sources." if namespace_name.nil?
|
|
2271
|
+
raise "Missing the required parameter 'bucket_name' when calling list_replication_sources." if bucket_name.nil?
|
|
1704
2272
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1705
2273
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1706
2274
|
|
|
1707
|
-
path = '/n/{namespaceName}/b/{bucketName}/
|
|
2275
|
+
path = '/n/{namespaceName}/b/{bucketName}/replicationSources'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
1708
2276
|
operation_signing_strategy = :standard
|
|
1709
2277
|
|
|
1710
2278
|
# rubocop:disable Style/NegatedIf
|
|
1711
2279
|
# Query Params
|
|
1712
2280
|
query_params = {}
|
|
1713
|
-
query_params[:
|
|
1714
|
-
query_params[:start] = opts[:start] if opts[:start]
|
|
1715
|
-
query_params[:end] = opts[:_end] if opts[:_end]
|
|
2281
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1716
2282
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1717
|
-
query_params[:delimiter] = opts[:delimiter] if opts[:delimiter]
|
|
1718
|
-
query_params[:fields] = opts[:fields] if opts[:fields]
|
|
1719
2283
|
|
|
1720
2284
|
# Header Params
|
|
1721
2285
|
header_params = {}
|
|
@@ -1727,7 +2291,7 @@ module OCI
|
|
|
1727
2291
|
post_body = nil
|
|
1728
2292
|
|
|
1729
2293
|
# rubocop:disable Metrics/BlockLength
|
|
1730
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
|
2294
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_replication_sources') do
|
|
1731
2295
|
@api_client.call_api(
|
|
1732
2296
|
:GET,
|
|
1733
2297
|
path,
|
|
@@ -1736,7 +2300,7 @@ module OCI
|
|
|
1736
2300
|
query_params: query_params,
|
|
1737
2301
|
operation_signing_strategy: operation_signing_strategy,
|
|
1738
2302
|
body: post_body,
|
|
1739
|
-
return_type: 'OCI::ObjectStorage::Models::
|
|
2303
|
+
return_type: 'Array<OCI::ObjectStorage::Models::ReplicationSource>'
|
|
1740
2304
|
)
|
|
1741
2305
|
end
|
|
1742
2306
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1750,7 +2314,8 @@ module OCI
|
|
|
1750
2314
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1751
2315
|
|
|
1752
2316
|
|
|
1753
|
-
#
|
|
2317
|
+
# List the retention rules for a bucket. The retention rules are sorted based on creation time,
|
|
2318
|
+
# with the most recently created retention rule returned first.
|
|
1754
2319
|
#
|
|
1755
2320
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1756
2321
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
@@ -1759,40 +2324,34 @@ module OCI
|
|
|
1759
2324
|
# @param [Hash] opts the optional parameters
|
|
1760
2325
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1761
2326
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1762
|
-
# @option opts [String] :object_name_prefix User-specified object name prefixes can be used to query and return a list of pre-authenticated requests.
|
|
1763
|
-
# @option opts [Integer] :limit The maximum number of items to return.
|
|
1764
2327
|
# @option opts [String] :page The page at which to start retrieving results.
|
|
1765
|
-
# @
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
logger.debug 'Calling operation ObjectStorageClient#list_preauthenticated_requests.' if logger
|
|
2328
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::RetentionRuleCollection RetentionRuleCollection}
|
|
2329
|
+
def list_retention_rules(namespace_name, bucket_name, opts = {})
|
|
2330
|
+
logger.debug 'Calling operation ObjectStorageClient#list_retention_rules.' if logger
|
|
1769
2331
|
|
|
1770
|
-
raise "Missing the required parameter 'namespace_name' when calling
|
|
1771
|
-
raise "Missing the required parameter 'bucket_name' when calling
|
|
2332
|
+
raise "Missing the required parameter 'namespace_name' when calling list_retention_rules." if namespace_name.nil?
|
|
2333
|
+
raise "Missing the required parameter 'bucket_name' when calling list_retention_rules." if bucket_name.nil?
|
|
1772
2334
|
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
1773
2335
|
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
1774
2336
|
|
|
1775
|
-
path = '/n/{namespaceName}/b/{bucketName}/
|
|
2337
|
+
path = '/n/{namespaceName}/b/{bucketName}/retentionRules'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
1776
2338
|
operation_signing_strategy = :standard
|
|
1777
2339
|
|
|
1778
2340
|
# rubocop:disable Style/NegatedIf
|
|
1779
2341
|
# Query Params
|
|
1780
2342
|
query_params = {}
|
|
1781
|
-
query_params[:objectNamePrefix] = opts[:object_name_prefix] if opts[:object_name_prefix]
|
|
1782
|
-
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1783
2343
|
query_params[:page] = opts[:page] if opts[:page]
|
|
1784
2344
|
|
|
1785
2345
|
# Header Params
|
|
1786
2346
|
header_params = {}
|
|
1787
2347
|
header_params[:accept] = 'application/json'
|
|
1788
2348
|
header_params[:'content-type'] = 'application/json'
|
|
1789
|
-
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
1790
2349
|
# rubocop:enable Style/NegatedIf
|
|
1791
2350
|
|
|
1792
2351
|
post_body = nil
|
|
1793
2352
|
|
|
1794
2353
|
# rubocop:disable Metrics/BlockLength
|
|
1795
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#
|
|
2354
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#list_retention_rules') do
|
|
1796
2355
|
@api_client.call_api(
|
|
1797
2356
|
:GET,
|
|
1798
2357
|
path,
|
|
@@ -1801,7 +2360,7 @@ module OCI
|
|
|
1801
2360
|
query_params: query_params,
|
|
1802
2361
|
operation_signing_strategy: operation_signing_strategy,
|
|
1803
2362
|
body: post_body,
|
|
1804
|
-
return_type: '
|
|
2363
|
+
return_type: 'OCI::ObjectStorage::Models::RetentionRuleCollection'
|
|
1805
2364
|
)
|
|
1806
2365
|
end
|
|
1807
2366
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -1987,8 +2546,72 @@ module OCI
|
|
|
1987
2546
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1988
2547
|
|
|
1989
2548
|
|
|
1990
|
-
#
|
|
1991
|
-
#
|
|
2549
|
+
# Stops replication to the destination bucket and removes the replication policy. When the replication
|
|
2550
|
+
# policy was created, this destination bucket became read-only except for new and changed objects replicated
|
|
2551
|
+
# automatically from the source bucket. MakeBucketWritable removes the replication policy. This bucket is no
|
|
2552
|
+
# longer the target for replication and is now writable, allowing users to make changes to bucket contents.
|
|
2553
|
+
#
|
|
2554
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
2555
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
2556
|
+
# Example: `my-new-bucket1`
|
|
2557
|
+
#
|
|
2558
|
+
# @param [Hash] opts the optional parameters
|
|
2559
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2560
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2561
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
2562
|
+
# @return [Response] A Response object with data of type nil
|
|
2563
|
+
def make_bucket_writable(namespace_name, bucket_name, opts = {})
|
|
2564
|
+
logger.debug 'Calling operation ObjectStorageClient#make_bucket_writable.' if logger
|
|
2565
|
+
|
|
2566
|
+
raise "Missing the required parameter 'namespace_name' when calling make_bucket_writable." if namespace_name.nil?
|
|
2567
|
+
raise "Missing the required parameter 'bucket_name' when calling make_bucket_writable." if bucket_name.nil?
|
|
2568
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
2569
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
2570
|
+
|
|
2571
|
+
path = '/n/{namespaceName}/b/{bucketName}/actions/makeBucketWritable'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
|
|
2572
|
+
operation_signing_strategy = :standard
|
|
2573
|
+
|
|
2574
|
+
# rubocop:disable Style/NegatedIf
|
|
2575
|
+
# Query Params
|
|
2576
|
+
query_params = {}
|
|
2577
|
+
|
|
2578
|
+
# Header Params
|
|
2579
|
+
header_params = {}
|
|
2580
|
+
header_params[:accept] = 'application/json'
|
|
2581
|
+
header_params[:'content-type'] = 'application/json'
|
|
2582
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
2583
|
+
# rubocop:enable Style/NegatedIf
|
|
2584
|
+
|
|
2585
|
+
post_body = nil
|
|
2586
|
+
|
|
2587
|
+
# rubocop:disable Metrics/BlockLength
|
|
2588
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#make_bucket_writable') do
|
|
2589
|
+
@api_client.call_api(
|
|
2590
|
+
:POST,
|
|
2591
|
+
path,
|
|
2592
|
+
endpoint,
|
|
2593
|
+
header_params: header_params,
|
|
2594
|
+
query_params: query_params,
|
|
2595
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2596
|
+
body: post_body
|
|
2597
|
+
)
|
|
2598
|
+
end
|
|
2599
|
+
# rubocop:enable Metrics/BlockLength
|
|
2600
|
+
end
|
|
2601
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2602
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2603
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2604
|
+
|
|
2605
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2606
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2607
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
# Creates a new object or overwrites an existing object with the same name. The maximum object size allowed by
|
|
2611
|
+
# PutObject is 50 GiB.
|
|
2612
|
+
#
|
|
2613
|
+
# See [Special Instructions for Object Storage PUT](https://docs.cloud.oracle.com/Content/API/Concepts/signingrequests.htm#ObjectStoragePut)
|
|
2614
|
+
# for request signature requirements.
|
|
1992
2615
|
#
|
|
1993
2616
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
1994
2617
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
@@ -2011,15 +2634,39 @@ module OCI
|
|
|
2011
2634
|
#
|
|
2012
2635
|
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
2013
2636
|
# @option opts [String] :expect 100-continue (default to 100-continue)
|
|
2014
|
-
# @option opts [String] :content_md5 The base-64 encoded MD5 hash of the body. If the Content-MD5 header is present, Object
|
|
2015
|
-
# on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
|
|
2016
|
-
# If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
|
|
2637
|
+
# @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
|
|
2638
|
+
# 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
|
|
2639
|
+
# 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
|
|
2640
|
+
# is returned with the message:
|
|
2017
2641
|
#
|
|
2018
2642
|
# \"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)\"
|
|
2019
2643
|
#
|
|
2020
|
-
# @option opts [String] :content_type The
|
|
2021
|
-
#
|
|
2022
|
-
#
|
|
2644
|
+
# @option opts [String] :content_type The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to
|
|
2645
|
+
# 'application/octet-stream' if not specified in the PutObject call. Specifying values for this header has no effect
|
|
2646
|
+
# on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example,
|
|
2647
|
+
# you could use this header to identify and perform special operations on text only objects.
|
|
2648
|
+
#
|
|
2649
|
+
# @option opts [String] :content_language The optional Content-Language header that defines the content language of the object to upload. Specifying
|
|
2650
|
+
# values for this header has no effect on Object Storage behavior. Programs that read the object determine what
|
|
2651
|
+
# to do based on the value provided. For example, you could use this header to identify and differentiate objects
|
|
2652
|
+
# based on a particular language.
|
|
2653
|
+
#
|
|
2654
|
+
# @option opts [String] :content_encoding The optional Content-Encoding header that defines the content encodings that were applied to the object to
|
|
2655
|
+
# upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the
|
|
2656
|
+
# object determine what to do based on the value provided. For example, you could use this header to determine
|
|
2657
|
+
# what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of
|
|
2658
|
+
# the object.
|
|
2659
|
+
#
|
|
2660
|
+
# @option opts [String] :content_disposition The optional Content-Disposition header that defines presentational information for the object to be
|
|
2661
|
+
# returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object
|
|
2662
|
+
# Storage behavior. Programs that read the object determine what to do based on the value provided.
|
|
2663
|
+
# For example, you could use this header to let users download objects with custom filenames in a browser.
|
|
2664
|
+
#
|
|
2665
|
+
# @option opts [String] :cache_control The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and
|
|
2666
|
+
# HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs
|
|
2667
|
+
# that read the object determine what to do based on the value provided.
|
|
2668
|
+
# For example, you could use this header to identify objects that require caching restrictions.
|
|
2669
|
+
#
|
|
2023
2670
|
# @option opts [Hash<String, String>] :opc_meta Optional user-defined metadata key and value.
|
|
2024
2671
|
# "opc-meta-" will be appended to each Hash key before it is sent to the server.
|
|
2025
2672
|
# @return [Response] A Response object with data of type nil
|
|
@@ -2053,6 +2700,8 @@ module OCI
|
|
|
2053
2700
|
header_params[:'content-type'] = opts[:content_type] if opts[:content_type]
|
|
2054
2701
|
header_params[:'content-language'] = opts[:content_language] if opts[:content_language]
|
|
2055
2702
|
header_params[:'content-encoding'] = opts[:content_encoding] if opts[:content_encoding]
|
|
2703
|
+
header_params[:'content-disposition'] = opts[:content_disposition] if opts[:content_disposition]
|
|
2704
|
+
header_params[:'cache-control'] = opts[:cache_control] if opts[:cache_control]
|
|
2056
2705
|
# rubocop:enable Style/NegatedIf
|
|
2057
2706
|
|
|
2058
2707
|
if opts[:opc_meta]
|
|
@@ -2157,15 +2806,20 @@ module OCI
|
|
|
2157
2806
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2158
2807
|
|
|
2159
2808
|
|
|
2160
|
-
#
|
|
2161
|
-
#
|
|
2162
|
-
#
|
|
2163
|
-
#
|
|
2164
|
-
#
|
|
2809
|
+
# Re-encrypts the unique data encryption key that encrypts each object written to the bucket by using the most recent
|
|
2810
|
+
# version of the master encryption key assigned to the bucket. (All data encryption keys are encrypted by a master
|
|
2811
|
+
# encryption key. Master encryption keys are assigned to buckets and managed by Oracle by default, but you can assign
|
|
2812
|
+
# a key that you created and control through the Oracle Cloud Infrastructure Key Management service.) The kmsKeyId property
|
|
2813
|
+
# of the bucket determines which master encryption key is assigned to the bucket. If you assigned a different Key Management
|
|
2814
|
+
# master encryption key to the bucket, you can call this API to re-encrypt all data encryption keys with the newly
|
|
2815
|
+
# assigned key. Similarly, you might want to re-encrypt all data encryption keys if the assigned key has been rotated to
|
|
2816
|
+
# a new key version since objects were last added to the bucket. If you call this API and there is no kmsKeyId associated
|
|
2817
|
+
# with the bucket, the call will fail.
|
|
2165
2818
|
#
|
|
2166
|
-
#
|
|
2167
|
-
# objects
|
|
2168
|
-
#
|
|
2819
|
+
# Calling this API starts a work request task to re-encrypt the data encryption key of all objects in the bucket. Only
|
|
2820
|
+
# objects created before the time of the API call will be re-encrypted. The call can take a long time, depending on how many
|
|
2821
|
+
# 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
|
|
2822
|
+
# of the work request task.
|
|
2169
2823
|
#
|
|
2170
2824
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
2171
2825
|
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
@@ -2475,6 +3129,74 @@ module OCI
|
|
|
2475
3129
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2476
3130
|
|
|
2477
3131
|
|
|
3132
|
+
# Updates the specified retention rule. Rule changes take effect typically within 30 seconds.
|
|
3133
|
+
#
|
|
3134
|
+
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
3135
|
+
# @param [String] bucket_name The name of the bucket. Avoid entering confidential information.
|
|
3136
|
+
# Example: `my-new-bucket1`
|
|
3137
|
+
#
|
|
3138
|
+
# @param [String] retention_rule_id The ID of the retention rule.
|
|
3139
|
+
# @param [OCI::ObjectStorage::Models::UpdateRetentionRuleDetails] update_retention_rule_details Request object for updating the retention rule.
|
|
3140
|
+
# @param [Hash] opts the optional parameters
|
|
3141
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3142
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3143
|
+
# @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.
|
|
3144
|
+
# For uploading a part, this is the entity tag of the target part.
|
|
3145
|
+
#
|
|
3146
|
+
# @option opts [String] :opc_client_request_id The client request ID for tracing.
|
|
3147
|
+
# @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::RetentionRule RetentionRule}
|
|
3148
|
+
def update_retention_rule(namespace_name, bucket_name, retention_rule_id, update_retention_rule_details, opts = {})
|
|
3149
|
+
logger.debug 'Calling operation ObjectStorageClient#update_retention_rule.' if logger
|
|
3150
|
+
|
|
3151
|
+
raise "Missing the required parameter 'namespace_name' when calling update_retention_rule." if namespace_name.nil?
|
|
3152
|
+
raise "Missing the required parameter 'bucket_name' when calling update_retention_rule." if bucket_name.nil?
|
|
3153
|
+
raise "Missing the required parameter 'retention_rule_id' when calling update_retention_rule." if retention_rule_id.nil?
|
|
3154
|
+
raise "Missing the required parameter 'update_retention_rule_details' when calling update_retention_rule." if update_retention_rule_details.nil?
|
|
3155
|
+
raise "Parameter value for 'namespace_name' must not be blank" if OCI::Internal::Util.blank_string?(namespace_name)
|
|
3156
|
+
raise "Parameter value for 'bucket_name' must not be blank" if OCI::Internal::Util.blank_string?(bucket_name)
|
|
3157
|
+
raise "Parameter value for 'retention_rule_id' must not be blank" if OCI::Internal::Util.blank_string?(retention_rule_id)
|
|
3158
|
+
|
|
3159
|
+
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)
|
|
3160
|
+
operation_signing_strategy = :standard
|
|
3161
|
+
|
|
3162
|
+
# rubocop:disable Style/NegatedIf
|
|
3163
|
+
# Query Params
|
|
3164
|
+
query_params = {}
|
|
3165
|
+
|
|
3166
|
+
# Header Params
|
|
3167
|
+
header_params = {}
|
|
3168
|
+
header_params[:accept] = 'application/json'
|
|
3169
|
+
header_params[:'content-type'] = 'application/json'
|
|
3170
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
3171
|
+
header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
|
|
3172
|
+
# rubocop:enable Style/NegatedIf
|
|
3173
|
+
|
|
3174
|
+
post_body = @api_client.object_to_http_body(update_retention_rule_details)
|
|
3175
|
+
|
|
3176
|
+
# rubocop:disable Metrics/BlockLength
|
|
3177
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ObjectStorageClient#update_retention_rule') do
|
|
3178
|
+
@api_client.call_api(
|
|
3179
|
+
:PUT,
|
|
3180
|
+
path,
|
|
3181
|
+
endpoint,
|
|
3182
|
+
header_params: header_params,
|
|
3183
|
+
query_params: query_params,
|
|
3184
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3185
|
+
body: post_body,
|
|
3186
|
+
return_type: 'OCI::ObjectStorage::Models::RetentionRule'
|
|
3187
|
+
)
|
|
3188
|
+
end
|
|
3189
|
+
# rubocop:enable Metrics/BlockLength
|
|
3190
|
+
end
|
|
3191
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3192
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3193
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3194
|
+
|
|
3195
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3196
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3197
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3198
|
+
|
|
3199
|
+
|
|
2478
3200
|
# Uploads a single part of a multipart upload.
|
|
2479
3201
|
#
|
|
2480
3202
|
# @param [String] namespace_name The Object Storage namespace used for the request.
|
|
@@ -2500,9 +3222,10 @@ module OCI
|
|
|
2500
3222
|
# part, this is the entity tag of the target part.
|
|
2501
3223
|
#
|
|
2502
3224
|
# @option opts [String] :expect 100-continue (default to 100-continue)
|
|
2503
|
-
# @option opts [String] :content_md5 The base-64 encoded MD5 hash of the body. If the Content-MD5 header is present, Object
|
|
2504
|
-
# on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
|
|
2505
|
-
# If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
|
|
3225
|
+
# @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
|
|
3226
|
+
# 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
|
|
3227
|
+
# 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
|
|
3228
|
+
# is returned with the message:
|
|
2506
3229
|
#
|
|
2507
3230
|
# \"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)\"
|
|
2508
3231
|
#
|