oci 2.9.0 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -2
- data/lib/oci.rb +12 -0
- data/lib/oci/analytics/analytics.rb +6 -0
- data/lib/oci/analytics/analytics_client.rb +74 -10
- data/lib/oci/analytics/analytics_client_composite_operations.rb +52 -0
- data/lib/oci/analytics/models/analytics_instance.rb +15 -1
- data/lib/oci/analytics/models/analytics_instance_summary.rb +15 -1
- data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +155 -0
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +14 -1
- data/lib/oci/analytics/models/network_endpoint_details.rb +193 -0
- data/lib/oci/analytics/models/network_endpoint_type.rb +11 -0
- data/lib/oci/analytics/models/private_endpoint_details.rb +179 -0
- data/lib/oci/analytics/models/public_endpoint_details.rb +179 -0
- data/lib/oci/analytics/models/sort_by.rb +1 -0
- data/lib/oci/analytics/models/virtual_cloud_network.rb +167 -0
- data/lib/oci/analytics/models/work_request.rb +1 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +1 -0
- data/lib/oci/analytics/models/work_request_operation_type.rb +2 -1
- data/lib/oci/analytics/models/work_request_resource.rb +1 -0
- data/lib/oci/analytics/models/work_request_summary.rb +1 -0
- data/lib/oci/announcements_service/announcement_client.rb +1 -10
- data/lib/oci/api_client.rb +7 -5
- data/lib/oci/apigateway/api_gateway_client.rb +500 -0
- data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +173 -0
- data/lib/oci/apigateway/apigateway.rb +24 -0
- data/lib/oci/apigateway/deployment_client.rb +1 -10
- data/lib/oci/apigateway/gateway_client.rb +3 -10
- data/lib/oci/apigateway/models/access_log_policy.rb +11 -2
- data/lib/oci/apigateway/models/api_specification_route.rb +14 -1
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +30 -4
- data/lib/oci/apigateway/models/api_specification_route_response_policies.rb +154 -0
- data/lib/oci/apigateway/models/certificate.rb +362 -0
- data/lib/oci/apigateway/models/certificate_collection.rb +150 -0
- data/lib/oci/apigateway/models/certificate_summary.rb +311 -0
- data/lib/oci/apigateway/models/change_certificate_compartment_details.rb +156 -0
- data/lib/oci/apigateway/models/create_certificate_details.rb +250 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +21 -2
- data/lib/oci/apigateway/models/execution_log_policy.rb +13 -4
- data/lib/oci/apigateway/models/filter_header_policy.rb +186 -0
- data/lib/oci/apigateway/models/filter_header_policy_item.rb +152 -0
- data/lib/oci/apigateway/models/filter_query_parameter_policy.rb +186 -0
- data/lib/oci/apigateway/models/filter_query_parameter_policy_item.rb +152 -0
- data/lib/oci/apigateway/models/gateway.rb +35 -2
- data/lib/oci/apigateway/models/gateway_summary.rb +21 -2
- data/lib/oci/apigateway/models/header_transformation_policy.rb +180 -0
- data/lib/oci/apigateway/models/ip_address.rb +154 -0
- data/lib/oci/apigateway/models/query_parameter_transformation_policy.rb +180 -0
- data/lib/oci/apigateway/models/rename_header_policy.rb +151 -0
- data/lib/oci/apigateway/models/rename_header_policy_item.rb +164 -0
- data/lib/oci/apigateway/models/rename_query_parameter_policy.rb +152 -0
- data/lib/oci/apigateway/models/rename_query_parameter_policy_item.rb +165 -0
- data/lib/oci/apigateway/models/route_authorization_policy.rb +1 -1
- data/lib/oci/apigateway/models/set_header_policy.rb +151 -0
- data/lib/oci/apigateway/models/set_header_policy_item.rb +204 -0
- data/lib/oci/apigateway/models/set_query_parameter_policy.rb +152 -0
- data/lib/oci/apigateway/models/set_query_parameter_policy_item.rb +204 -0
- data/lib/oci/apigateway/models/update_certificate_details.rb +196 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +16 -1
- data/lib/oci/apigateway/models/work_request.rb +3 -0
- data/lib/oci/apigateway/work_requests_client.rb +1 -10
- data/lib/oci/application_migration/application_migration_client.rb +1 -10
- data/lib/oci/audit/audit_client.rb +1 -10
- data/lib/oci/auth/auth.rb +2 -0
- data/lib/oci/auth/signers/ephemeral_resource_principals_signer.rb +127 -0
- data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +62 -0
- data/lib/oci/auth/signers/resource_principals_signer.rb +18 -2
- data/lib/oci/auth/util.rb +15 -0
- data/lib/oci/autoscaling/auto_scaling_client.rb +1 -10
- data/lib/oci/bds/bds.rb +3 -0
- data/lib/oci/bds/bds_client.rb +143 -10
- data/lib/oci/bds/bds_client_composite_operations.rb +100 -0
- data/lib/oci/bds/models/bds_instance.rb +1 -0
- data/lib/oci/bds/models/change_shape_details.rb +164 -0
- data/lib/oci/bds/models/change_shape_nodes.rb +180 -0
- data/lib/oci/bds/models/cluster_details.rb +72 -2
- data/lib/oci/bds/models/node.rb +2 -0
- data/lib/oci/bds/models/operation_types.rb +4 -1
- data/lib/oci/bds/models/restart_node_details.rb +154 -0
- data/lib/oci/bds/models/work_request.rb +3 -0
- data/lib/oci/blockchain/blockchain.rb +57 -0
- data/lib/oci/blockchain/blockchain_platform_client.rb +1715 -0
- data/lib/oci/blockchain/blockchain_platform_client_composite_operations.rb +728 -0
- data/lib/oci/blockchain/models/availability_domain.rb +171 -0
- data/lib/oci/blockchain/models/blockchain_platform.rb +506 -0
- data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +318 -0
- data/lib/oci/blockchain/models/blockchain_platform_collection.rb +150 -0
- data/lib/oci/blockchain/models/blockchain_platform_component_details.rb +160 -0
- data/lib/oci/blockchain/models/blockchain_platform_summary.rb +318 -0
- data/lib/oci/blockchain/models/change_blockchain_platform_compartment_details.rb +156 -0
- data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +303 -0
- data/lib/oci/blockchain/models/create_osn_details.rb +163 -0
- data/lib/oci/blockchain/models/create_peer_details.rb +188 -0
- data/lib/oci/blockchain/models/metadata_details.rb +182 -0
- data/lib/oci/blockchain/models/modify_peer_details.rb +168 -0
- data/lib/oci/blockchain/models/ocpu_allocation_number_param.rb +154 -0
- data/lib/oci/blockchain/models/ocpu_utilization_info.rb +178 -0
- data/lib/oci/blockchain/models/osn.rb +212 -0
- data/lib/oci/blockchain/models/osn_collection.rb +150 -0
- data/lib/oci/blockchain/models/osn_summary.rb +168 -0
- data/lib/oci/blockchain/models/peer.rb +246 -0
- data/lib/oci/blockchain/models/peer_collection.rb +150 -0
- data/lib/oci/blockchain/models/peer_role.rb +163 -0
- data/lib/oci/blockchain/models/peer_summary.rb +168 -0
- data/lib/oci/blockchain/models/replica_details.rb +182 -0
- data/lib/oci/blockchain/models/scale_blockchain_platform_details.rb +259 -0
- data/lib/oci/blockchain/models/scale_storage_details.rb +154 -0
- data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +346 -0
- data/lib/oci/blockchain/models/scaled_platform_metering_preview.rb +210 -0
- data/lib/oci/blockchain/models/update_blockchain_platform_details.rb +219 -0
- data/lib/oci/blockchain/models/update_osn_details.rb +154 -0
- data/lib/oci/blockchain/models/update_peer_details.rb +154 -0
- data/lib/oci/blockchain/models/work_request.rb +311 -0
- data/lib/oci/blockchain/models/work_request_collection.rb +150 -0
- data/lib/oci/blockchain/models/work_request_error.rb +173 -0
- data/lib/oci/blockchain/models/work_request_error_collection.rb +150 -0
- data/lib/oci/blockchain/models/work_request_log_entry.rb +160 -0
- data/lib/oci/blockchain/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/blockchain/models/work_request_resource.rb +219 -0
- data/lib/oci/blockchain/models/work_request_summary.rb +288 -0
- data/lib/oci/blockchain/util.rb +3 -0
- data/lib/oci/budget/budget_client.rb +1 -10
- data/lib/oci/cims/cims.rb +5 -0
- data/lib/oci/cims/incident_client.rb +68 -64
- data/lib/oci/cims/models/activity_item.rb +6 -6
- data/lib/oci/cims/models/availability_domain.rb +0 -3
- data/lib/oci/cims/models/category.rb +3 -3
- data/lib/oci/cims/models/classifier.rb +8 -8
- data/lib/oci/cims/models/contact.rb +5 -5
- data/lib/oci/cims/models/contact_list.rb +2 -2
- data/lib/oci/cims/models/contextual_data.rb +192 -0
- data/lib/oci/cims/models/create_category_details.rb +5 -2
- data/lib/oci/cims/models/create_incident.rb +9 -6
- data/lib/oci/cims/models/create_issue_type_details.rb +5 -2
- data/lib/oci/cims/models/create_item_details.rb +6 -3
- data/lib/oci/cims/models/create_limit_item_details.rb +5 -5
- data/lib/oci/cims/models/create_resource_details.rb +7 -13
- data/lib/oci/cims/models/create_sub_category_details.rb +5 -2
- data/lib/oci/cims/models/create_tech_support_item_details.rb +4 -1
- data/lib/oci/cims/models/create_ticket_details.rb +26 -9
- data/lib/oci/cims/models/create_user_details.rb +236 -0
- data/lib/oci/cims/models/error_code.rb +6 -1
- data/lib/oci/cims/models/incident.rb +5 -5
- data/lib/oci/cims/models/incident_resource_type.rb +6 -6
- data/lib/oci/cims/models/incident_summary.rb +4 -4
- data/lib/oci/cims/models/incident_type.rb +6 -6
- data/lib/oci/cims/models/issue_type.rb +3 -3
- data/lib/oci/cims/models/item.rb +4 -4
- data/lib/oci/cims/models/limit_item.rb +5 -5
- data/lib/oci/cims/models/region.rb +1 -7
- data/lib/oci/cims/models/resource.rb +3 -12
- data/lib/oci/cims/models/service_category.rb +9 -9
- data/lib/oci/cims/models/status.rb +3 -3
- data/lib/oci/cims/models/sub_category.rb +3 -3
- data/lib/oci/cims/models/tech_support_item.rb +1 -1
- data/lib/oci/cims/models/tenancy_information.rb +3 -3
- data/lib/oci/cims/models/ticket.rb +10 -10
- data/lib/oci/cims/models/time_zone.rb +37 -0
- data/lib/oci/cims/models/update_activity_item_details.rb +6 -3
- data/lib/oci/cims/models/update_incident.rb +1 -1
- data/lib/oci/cims/models/update_item_details.rb +5 -2
- data/lib/oci/cims/models/update_resource_details.rb +4 -1
- data/lib/oci/cims/models/update_ticket_details.rb +5 -2
- data/lib/oci/cims/models/user.rb +261 -0
- data/lib/oci/cims/models/validation_response.rb +2 -2
- data/lib/oci/cims/user_client.rb +162 -0
- data/lib/oci/cims/user_client_composite_operations.rb +25 -0
- data/lib/oci/cloud_guard/cloud_guard.rb +182 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +6019 -0
- data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +788 -0
- data/lib/oci/cloud_guard/models/activity_problem_aggregation.rb +192 -0
- data/lib/oci/cloud_guard/models/activity_problem_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/actor_type.rb +13 -0
- data/lib/oci/cloud_guard/models/attach_target_detector_recipe_details.rb +154 -0
- data/lib/oci/cloud_guard/models/attach_target_responder_recipe_details.rb +154 -0
- data/lib/oci/cloud_guard/models/candidate_responder_rule.rb +178 -0
- data/lib/oci/cloud_guard/models/change_detector_recipe_compartment_details.rb +154 -0
- data/lib/oci/cloud_guard/models/change_managed_list_compartment_details.rb +154 -0
- data/lib/oci/cloud_guard/models/change_responder_recipe_compartment_details.rb +154 -0
- data/lib/oci/cloud_guard/models/cloud_guard_status.rb +11 -0
- data/lib/oci/cloud_guard/models/composite_condition.rb +207 -0
- data/lib/oci/cloud_guard/models/condition.rb +187 -0
- data/lib/oci/cloud_guard/models/condition_filter_type.rb +11 -0
- data/lib/oci/cloud_guard/models/condition_group.rb +164 -0
- data/lib/oci/cloud_guard/models/condition_metadata_type.rb +164 -0
- data/lib/oci/cloud_guard/models/condition_metadata_type_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/condition_metadata_type_summary.rb +199 -0
- data/lib/oci/cloud_guard/models/condition_operator.rb +191 -0
- data/lib/oci/cloud_guard/models/condition_operator_name.rb +18 -0
- data/lib/oci/cloud_guard/models/condition_type_enum.rb +12 -0
- data/lib/oci/cloud_guard/models/condition_value_type.rb +11 -0
- data/lib/oci/cloud_guard/models/config_value.rb +198 -0
- data/lib/oci/cloud_guard/models/configuration.rb +199 -0
- data/lib/oci/cloud_guard/models/configuration_list_item_type.rb +11 -0
- data/lib/oci/cloud_guard/models/create_detector_recipe_details.rb +238 -0
- data/lib/oci/cloud_guard/models/create_managed_list_details.rb +274 -0
- data/lib/oci/cloud_guard/models/create_responder_recipe_details.rb +238 -0
- data/lib/oci/cloud_guard/models/create_target_details.rb +312 -0
- data/lib/oci/cloud_guard/models/create_target_detector_recipe_details.rb +168 -0
- data/lib/oci/cloud_guard/models/create_target_responder_recipe_details.rb +168 -0
- data/lib/oci/cloud_guard/models/detector.rb +199 -0
- data/lib/oci/cloud_guard/models/detector_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/detector_configuration.rb +198 -0
- data/lib/oci/cloud_guard/models/detector_details.rb +234 -0
- data/lib/oci/cloud_guard/models/detector_enum.rb +11 -0
- data/lib/oci/cloud_guard/models/detector_recipe.rb +406 -0
- data/lib/oci/cloud_guard/models/detector_recipe_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +398 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +398 -0
- data/lib/oci/cloud_guard/models/detector_recipe_summary.rb +392 -0
- data/lib/oci/cloud_guard/models/detector_rule.rb +398 -0
- data/lib/oci/cloud_guard/models/detector_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/detector_rule_summary.rb +398 -0
- data/lib/oci/cloud_guard/models/detector_summary.rb +199 -0
- data/lib/oci/cloud_guard/models/event_status.rb +14 -0
- data/lib/oci/cloud_guard/models/execute_responder_execution_details.rb +150 -0
- data/lib/oci/cloud_guard/models/feed_provider_type.rb +11 -0
- data/lib/oci/cloud_guard/models/geographical_location.rb +160 -0
- data/lib/oci/cloud_guard/models/impacted_resource_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/impacted_resource_summary.rb +244 -0
- data/lib/oci/cloud_guard/models/lifecycle_state.rb +16 -0
- data/lib/oci/cloud_guard/models/managed_list.rb +437 -0
- data/lib/oci/cloud_guard/models/managed_list_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/managed_list_summary.rb +437 -0
- data/lib/oci/cloud_guard/models/managed_list_type.rb +20 -0
- data/lib/oci/cloud_guard/models/managed_list_type_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/managed_list_type_summary.rb +199 -0
- data/lib/oci/cloud_guard/models/operator_summary.rb +246 -0
- data/lib/oci/cloud_guard/models/operator_type.rb +13 -0
- data/lib/oci/cloud_guard/models/owner_type.rb +11 -0
- data/lib/oci/cloud_guard/models/political_location.rb +170 -0
- data/lib/oci/cloud_guard/models/problem.rb +439 -0
- data/lib/oci/cloud_guard/models/problem_aggregation.rb +164 -0
- data/lib/oci/cloud_guard/models/problem_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/problem_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/problem_dimension.rb +13 -0
- data/lib/oci/cloud_guard/models/problem_history_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/problem_history_summary.rb +328 -0
- data/lib/oci/cloud_guard/models/problem_lifecycle_detail.rb +12 -0
- data/lib/oci/cloud_guard/models/problem_lifecycle_state.rb +11 -0
- data/lib/oci/cloud_guard/models/problem_summary.rb +429 -0
- data/lib/oci/cloud_guard/models/problem_trend_aggregation.rb +192 -0
- data/lib/oci/cloud_guard/models/problem_trend_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/recommendation_lifecycle_detail.rb +12 -0
- data/lib/oci/cloud_guard/models/recommendation_summary.rb +402 -0
- data/lib/oci/cloud_guard/models/recommendation_summary_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/recommendation_type.rb +11 -0
- data/lib/oci/cloud_guard/models/resource_type_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/resource_type_summary.rb +174 -0
- data/lib/oci/cloud_guard/models/responder_activity_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_activity_summary.rb +321 -0
- data/lib/oci/cloud_guard/models/responder_activity_type.rb +11 -0
- data/lib/oci/cloud_guard/models/responder_configuration.rb +174 -0
- data/lib/oci/cloud_guard/models/responder_dimension.rb +11 -0
- data/lib/oci/cloud_guard/models/responder_execution.rb +415 -0
- data/lib/oci/cloud_guard/models/responder_execution_aggregation.rb +164 -0
- data/lib/oci/cloud_guard/models/responder_execution_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_execution_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_execution_modes.rb +12 -0
- data/lib/oci/cloud_guard/models/responder_execution_states.rb +16 -0
- data/lib/oci/cloud_guard/models/responder_execution_status.rb +14 -0
- data/lib/oci/cloud_guard/models/responder_execution_summary.rb +429 -0
- data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation.rb +192 -0
- data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_mode_types.rb +11 -0
- data/lib/oci/cloud_guard/models/responder_recipe.rb +391 -0
- data/lib/oci/cloud_guard/models/responder_recipe_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_recipe_responder_rule.rb +361 -0
- data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_summary.rb +357 -0
- data/lib/oci/cloud_guard/models/responder_recipe_summary.rb +377 -0
- data/lib/oci/cloud_guard/models/responder_rule.rb +343 -0
- data/lib/oci/cloud_guard/models/responder_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/responder_rule_details.rb +203 -0
- data/lib/oci/cloud_guard/models/responder_rule_execution_details.rb +159 -0
- data/lib/oci/cloud_guard/models/responder_rule_summary.rb +343 -0
- data/lib/oci/cloud_guard/models/responder_type.rb +11 -0
- data/lib/oci/cloud_guard/models/risk_level.rb +14 -0
- data/lib/oci/cloud_guard/models/risk_score_aggregation.rb +168 -0
- data/lib/oci/cloud_guard/models/risk_score_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/rule_summary.rb +170 -0
- data/lib/oci/cloud_guard/models/security_rating.rb +13 -0
- data/lib/oci/cloud_guard/models/security_score_aggregation.rb +204 -0
- data/lib/oci/cloud_guard/models/security_score_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +232 -0
- data/lib/oci/cloud_guard/models/security_score_trend_aggregation_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/service_type_summary.rb +164 -0
- data/lib/oci/cloud_guard/models/simple_condition.rb +233 -0
- data/lib/oci/cloud_guard/models/skip_bulk_responder_execution_details.rb +154 -0
- data/lib/oci/cloud_guard/models/sort_orders.rb +11 -0
- data/lib/oci/cloud_guard/models/target.rb +424 -0
- data/lib/oci/cloud_guard/models/target_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_detector_details.rb +239 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe.rb +355 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +384 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +384 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_summary.rb +341 -0
- data/lib/oci/cloud_guard/models/target_resource_type.rb +12 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe.rb +288 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule.rb +361 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_summary.rb +357 -0
- data/lib/oci/cloud_guard/models/target_responder_recipe_summary.rb +312 -0
- data/lib/oci/cloud_guard/models/target_summary.rb +372 -0
- data/lib/oci/cloud_guard/models/trigger_responder_details.rb +164 -0
- data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +178 -0
- data/lib/oci/cloud_guard/models/update_configuration_details.rb +193 -0
- data/lib/oci/cloud_guard/models/update_detector_recipe_details.rb +210 -0
- data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule.rb +164 -0
- data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule_details.rb +149 -0
- data/lib/oci/cloud_guard/models/update_detector_rule_details.rb +213 -0
- data/lib/oci/cloud_guard/models/update_managed_list_details.rb +210 -0
- data/lib/oci/cloud_guard/models/update_problem_status_details.rb +174 -0
- data/lib/oci/cloud_guard/models/update_responder_recipe_details.rb +210 -0
- data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule.rb +164 -0
- data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule_details.rb +150 -0
- data/lib/oci/cloud_guard/models/update_responder_rule_details.rb +154 -0
- data/lib/oci/cloud_guard/models/update_target_details.rb +246 -0
- data/lib/oci/cloud_guard/models/update_target_detector_recipe.rb +168 -0
- data/lib/oci/cloud_guard/models/update_target_detector_recipe_details.rb +154 -0
- data/lib/oci/cloud_guard/models/update_target_detector_recipe_detector_rule_details.rb +150 -0
- data/lib/oci/cloud_guard/models/update_target_detector_rule_details.rb +154 -0
- data/lib/oci/cloud_guard/models/update_target_recipe_detector_rule_details.rb +164 -0
- data/lib/oci/cloud_guard/models/update_target_recipe_responder_rule_details.rb +164 -0
- data/lib/oci/cloud_guard/models/update_target_responder_recipe.rb +168 -0
- data/lib/oci/cloud_guard/models/update_target_responder_recipe_details.rb +154 -0
- data/lib/oci/cloud_guard/models/update_target_responder_recipe_responder_rule_details.rb +150 -0
- data/lib/oci/cloud_guard/models/update_target_responder_rule_details.rb +182 -0
- data/lib/oci/cloud_guard/util.rb +3 -0
- data/lib/oci/config.rb +32 -2
- data/lib/oci/container_engine/container_engine.rb +3 -0
- data/lib/oci/container_engine/container_engine_client.rb +1 -10
- data/lib/oci/container_engine/models/create_node_pool_details.rb +18 -3
- data/lib/oci/container_engine/models/create_node_shape_config_details.rb +149 -0
- data/lib/oci/container_engine/models/node.rb +15 -1
- data/lib/oci/container_engine/models/node_pool.rb +32 -4
- data/lib/oci/container_engine/models/node_pool_summary.rb +31 -3
- data/lib/oci/container_engine/models/node_shape_config.rb +152 -0
- data/lib/oci/container_engine/models/node_source_details.rb +11 -4
- data/lib/oci/container_engine/models/node_source_via_image_details.rb +18 -4
- data/lib/oci/container_engine/models/update_node_pool_details.rb +76 -4
- data/lib/oci/container_engine/models/update_node_shape_config_details.rb +149 -0
- data/lib/oci/core/blockstorage_client.rb +1 -10
- data/lib/oci/core/compute_client.rb +903 -157
- data/lib/oci/core/compute_client_composite_operations.rb +41 -1
- data/lib/oci/core/compute_management_client.rb +9 -10
- data/lib/oci/core/core.rb +42 -0
- data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +14 -1
- data/lib/oci/core/models/add_public_ip_pool_capacity_details.rb +170 -0
- 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_subscription.rb +1 -1
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +1 -1
- data/lib/oci/core/models/attach_volume_details.rb +1 -1
- data/lib/oci/core/models/boolean_image_capability_schema_descriptor.rb +166 -0
- data/lib/oci/core/models/boot_volume.rb +37 -5
- data/lib/oci/core/models/boot_volume_attachment.rb +1 -1
- data/lib/oci/core/models/boot_volume_backup.rb +3 -3
- data/lib/oci/core/models/byoip_allocated_range_collection.rb +150 -0
- data/lib/oci/core/models/byoip_allocated_range_summary.rb +169 -0
- data/lib/oci/core/models/byoip_range.rb +388 -0
- data/lib/oci/core/models/byoip_range_collection.rb +150 -0
- data/lib/oci/core/models/byoip_range_summary.rb +276 -0
- data/lib/oci/core/models/change_byoip_range_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_compute_image_capability_schema_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_public_ip_pool_compartment_details.rb +156 -0
- data/lib/oci/core/models/change_vlan_compartment_details.rb +155 -0
- data/lib/oci/core/models/cluster_network.rb +2 -2
- data/lib/oci/core/models/cluster_network_summary.rb +2 -2
- data/lib/oci/core/models/compute_global_image_capability_schema.rb +249 -0
- data/lib/oci/core/models/compute_global_image_capability_schema_summary.rb +248 -0
- data/lib/oci/core/models/compute_global_image_capability_schema_version.rb +214 -0
- data/lib/oci/core/models/compute_global_image_capability_schema_version_summary.rb +197 -0
- data/lib/oci/core/models/compute_image_capability_schema.rb +295 -0
- data/lib/oci/core/models/compute_image_capability_schema_summary.rb +263 -0
- data/lib/oci/core/models/console_history.rb +1 -1
- data/lib/oci/core/models/cpe.rb +1 -1
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +1 -1
- data/lib/oci/core/models/create_boot_volume_details.rb +19 -4
- data/lib/oci/core/models/create_byoip_range_details.rb +223 -0
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +5 -2
- data/lib/oci/core/models/create_compute_image_capability_schema_details.rb +250 -0
- data/lib/oci/core/models/create_cpe_details.rb +1 -1
- data/lib/oci/core/models/create_image_details.rb +1 -1
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +0 -2
- data/lib/oci/core/models/create_ipv6_details.rb +1 -1
- data/lib/oci/core/models/create_nat_gateway_details.rb +19 -4
- data/lib/oci/core/models/create_private_ip_details.rb +23 -5
- data/lib/oci/core/models/create_public_ip_details.rb +18 -4
- data/lib/oci/core/models/create_public_ip_pool_details.rb +207 -0
- data/lib/oci/core/models/create_subnet_details.rb +5 -2
- data/lib/oci/core/models/create_vcn_details.rb +1 -2
- data/lib/oci/core/models/create_vlan_details.rb +305 -0
- data/lib/oci/core/models/create_vnic_details.rb +50 -5
- data/lib/oci/core/models/create_volume_backup_policy_details.rb +2 -1
- data/lib/oci/core/models/create_volume_details.rb +19 -4
- 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/dedicated_vm_host.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +1 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +1 -1
- data/lib/oci/core/models/dhcp_options.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/enum_integer_image_capability_descriptor.rb +176 -0
- data/lib/oci/core/models/enum_string_image_capability_schema_descriptor.rb +176 -0
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +1 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +5 -6
- data/lib/oci/core/models/image.rb +2 -2
- data/lib/oci/core/models/image_capability_schema_descriptor.rb +204 -0
- data/lib/oci/core/models/image_memory_constraints.rb +168 -0
- data/lib/oci/core/models/image_shape_compatibility_entry.rb +14 -1
- data/lib/oci/core/models/image_shape_compatibility_summary.rb +16 -3
- data/lib/oci/core/models/instance.rb +39 -8
- data/lib/oci/core/models/instance_availability_config.rb +181 -0
- data/lib/oci/core/models/instance_configuration.rb +1 -1
- data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +29 -1
- data/lib/oci/core/models/instance_configuration_availability_config.rb +181 -0
- data/lib/oci/core/models/instance_configuration_instance_options.rb +157 -0
- data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +9 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +58 -27
- data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +30 -10
- data/lib/oci/core/models/instance_configuration_launch_options.rb +16 -13
- data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +29 -4
- data/lib/oci/core/models/instance_configuration_summary.rb +1 -1
- data/lib/oci/core/models/instance_options.rb +157 -0
- data/lib/oci/core/models/instance_pool.rb +1 -1
- data/lib/oci/core/models/instance_pool_summary.rb +1 -1
- data/lib/oci/core/models/instance_shape_config.rb +12 -9
- data/lib/oci/core/models/instance_summary.rb +2 -2
- data/lib/oci/core/models/internet_gateway.rb +1 -1
- data/lib/oci/core/models/ip_sec_connection.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 +4 -4
- data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +0 -2
- data/lib/oci/core/models/ipv6.rb +1 -1
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +174 -0
- data/lib/oci/core/models/launch_instance_details.rb +49 -23
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +29 -10
- data/lib/oci/core/models/launch_options.rb +18 -15
- data/lib/oci/core/models/letter_of_authority.rb +2 -2
- data/lib/oci/core/models/local_peering_gateway.rb +1 -1
- data/lib/oci/core/models/nat_gateway.rb +20 -5
- 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/private_ip.rb +35 -2
- data/lib/oci/core/models/public_ip.rb +20 -6
- data/lib/oci/core/models/public_ip_pool.rb +285 -0
- data/lib/oci/core/models/public_ip_pool_collection.rb +150 -0
- data/lib/oci/core/models/public_ip_pool_summary.rb +248 -0
- data/lib/oci/core/models/remote_peering_connection.rb +1 -1
- data/lib/oci/core/models/remove_public_ip_pool_capacity_details.rb +156 -0
- data/lib/oci/core/models/route_table.rb +1 -1
- data/lib/oci/core/models/security_list.rb +1 -1
- data/lib/oci/core/models/security_rule.rb +1 -1
- data/lib/oci/core/models/service_gateway.rb +1 -1
- data/lib/oci/core/models/shape.rb +18 -14
- data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +4 -1
- data/lib/oci/core/models/shape_memory_options.rb +38 -9
- data/lib/oci/core/models/shape_networking_bandwidth_options.rb +5 -3
- data/lib/oci/core/models/shape_ocpu_options.rb +3 -3
- data/lib/oci/core/models/subnet.rb +3 -3
- data/lib/oci/core/models/tunnel_config.rb +2 -4
- data/lib/oci/core/models/tunnel_status.rb +3 -3
- data/lib/oci/core/models/update_boot_volume_details.rb +19 -4
- data/lib/oci/core/models/update_byoip_range_details.rb +192 -0
- data/lib/oci/core/models/update_compute_image_capability_schema_details.rb +206 -0
- data/lib/oci/core/models/update_instance_availability_config_details.rb +174 -0
- data/lib/oci/core/models/update_instance_console_connection_details.rb +177 -0
- data/lib/oci/core/models/update_instance_details.rb +73 -5
- data/lib/oci/core/models/update_instance_shape_config_details.rb +19 -4
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +0 -2
- data/lib/oci/core/models/update_launch_options.rb +248 -0
- data/lib/oci/core/models/update_public_ip_pool_details.rb +192 -0
- data/lib/oci/core/models/update_vlan_details.rb +225 -0
- data/lib/oci/core/models/update_vnic_details.rb +10 -3
- data/lib/oci/core/models/update_volume_backup_policy_details.rb +4 -2
- data/lib/oci/core/models/update_volume_details.rb +19 -4
- data/lib/oci/core/models/vcn.rb +1 -1
- data/lib/oci/core/models/virtual_circuit.rb +1 -1
- data/lib/oci/core/models/vlan.rb +378 -0
- data/lib/oci/core/models/vnic.rb +43 -6
- data/lib/oci/core/models/vnic_attachment.rb +26 -3
- data/lib/oci/core/models/volume.rb +35 -5
- data/lib/oci/core/models/volume_attachment.rb +1 -1
- data/lib/oci/core/models/volume_backup.rb +3 -3
- data/lib/oci/core/models/volume_backup_policy.rb +3 -2
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +1 -1
- data/lib/oci/core/models/volume_group.rb +1 -1
- data/lib/oci/core/models/volume_group_backup.rb +2 -2
- data/lib/oci/core/virtual_network_client.rb +1900 -288
- data/lib/oci/core/virtual_network_client_composite_operations.rb +437 -0
- data/lib/oci/data_catalog/data_catalog.rb +7 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +600 -39
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +1420 -5
- data/lib/oci/data_catalog/models/attach_catalog_private_endpoint_details.rb +154 -0
- data/lib/oci/data_catalog/models/attribute.rb +125 -2
- data/lib/oci/data_catalog/models/attribute_collection.rb +11 -1
- data/lib/oci/data_catalog/models/attribute_summary.rb +128 -5
- data/lib/oci/data_catalog/models/attribute_tag.rb +27 -1
- data/lib/oci/data_catalog/models/attribute_tag_collection.rb +11 -1
- data/lib/oci/data_catalog/models/attribute_tag_summary.rb +27 -1
- data/lib/oci/data_catalog/models/base_tag.rb +20 -1
- data/lib/oci/data_catalog/models/base_tag_summary.rb +20 -1
- data/lib/oci/data_catalog/models/catalog.rb +45 -5
- data/lib/oci/data_catalog/models/catalog_private_endpoint.rb +336 -0
- data/lib/oci/data_catalog/models/catalog_private_endpoint_summary.rb +336 -0
- data/lib/oci/data_catalog/models/catalog_summary.rb +45 -5
- data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +1 -1
- data/lib/oci/data_catalog/models/change_catalog_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/connection.rb +27 -1
- data/lib/oci/data_catalog/models/connection_collection.rb +11 -1
- data/lib/oci/data_catalog/models/connection_summary.rb +27 -1
- data/lib/oci/data_catalog/models/create_attribute_details.rb +60 -1
- data/lib/oci/data_catalog/models/create_catalog_private_endpoint_details.rb +231 -0
- data/lib/oci/data_catalog/models/create_entity_details.rb +16 -1
- data/lib/oci/data_catalog/models/create_folder_details.rb +16 -1
- data/lib/oci/data_catalog/models/create_glossary_details.rb +16 -1
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +27 -1
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +45 -2
- data/lib/oci/data_catalog/models/create_term_details.rb +16 -1
- data/lib/oci/data_catalog/models/data_asset.rb +27 -1
- data/lib/oci/data_catalog/models/data_asset_collection.rb +11 -1
- data/lib/oci/data_catalog/models/data_asset_summary.rb +27 -1
- data/lib/oci/data_catalog/models/data_asset_tag.rb +27 -1
- data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +11 -1
- data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +27 -1
- data/lib/oci/data_catalog/models/detach_catalog_private_endpoint_details.rb +154 -0
- data/lib/oci/data_catalog/models/entity.rb +64 -3
- data/lib/oci/data_catalog/models/entity_collection.rb +11 -1
- data/lib/oci/data_catalog/models/entity_summary.rb +42 -2
- data/lib/oci/data_catalog/models/entity_tag.rb +27 -1
- data/lib/oci/data_catalog/models/entity_tag_collection.rb +11 -1
- data/lib/oci/data_catalog/models/entity_tag_summary.rb +27 -1
- data/lib/oci/data_catalog/models/folder.rb +49 -2
- data/lib/oci/data_catalog/models/folder_collection.rb +11 -1
- data/lib/oci/data_catalog/models/folder_summary.rb +27 -1
- data/lib/oci/data_catalog/models/folder_tag.rb +27 -1
- data/lib/oci/data_catalog/models/folder_tag_collection.rb +11 -1
- data/lib/oci/data_catalog/models/folder_tag_summary.rb +27 -1
- data/lib/oci/data_catalog/models/glossary.rb +49 -2
- data/lib/oci/data_catalog/models/glossary_collection.rb +11 -1
- data/lib/oci/data_catalog/models/glossary_summary.rb +49 -2
- data/lib/oci/data_catalog/models/glossary_tree_element.rb +49 -2
- data/lib/oci/data_catalog/models/job.rb +119 -4
- data/lib/oci/data_catalog/models/job_collection.rb +11 -1
- data/lib/oci/data_catalog/models/job_definition.rb +161 -3
- data/lib/oci/data_catalog/models/job_definition_collection.rb +11 -1
- data/lib/oci/data_catalog/models/job_definition_summary.rb +179 -6
- data/lib/oci/data_catalog/models/job_execution.rb +58 -2
- data/lib/oci/data_catalog/models/job_execution_collection.rb +11 -1
- data/lib/oci/data_catalog/models/job_execution_summary.rb +58 -2
- data/lib/oci/data_catalog/models/job_log_collection.rb +11 -1
- data/lib/oci/data_catalog/models/job_metric_collection.rb +11 -1
- data/lib/oci/data_catalog/models/job_summary.rb +100 -3
- data/lib/oci/data_catalog/models/job_type.rb +2 -0
- data/lib/oci/data_catalog/models/term.rb +49 -2
- data/lib/oci/data_catalog/models/term_collection.rb +11 -1
- data/lib/oci/data_catalog/models/term_relationship.rb +56 -2
- data/lib/oci/data_catalog/models/term_relationship_collection.rb +11 -1
- data/lib/oci/data_catalog/models/term_relationship_summary.rb +56 -2
- data/lib/oci/data_catalog/models/term_summary.rb +49 -2
- data/lib/oci/data_catalog/models/type.rb +27 -1
- data/lib/oci/data_catalog/models/type_collection.rb +11 -1
- data/lib/oci/data_catalog/models/type_summary.rb +27 -1
- data/lib/oci/data_catalog/models/update_attribute_details.rb +60 -1
- data/lib/oci/data_catalog/models/update_catalog_details.rb +1 -1
- data/lib/oci/data_catalog/models/update_catalog_private_endpoint_details.rb +202 -0
- data/lib/oci/data_catalog/models/update_entity_details.rb +16 -1
- data/lib/oci/data_catalog/models/update_folder_details.rb +16 -1
- data/lib/oci/data_catalog/models/update_glossary_details.rb +16 -1
- data/lib/oci/data_catalog/models/update_term_details.rb +16 -1
- data/lib/oci/data_catalog/models/validate_connection_result.rb +21 -1
- data/lib/oci/data_catalog/models/work_request.rb +6 -0
- data/lib/oci/data_flow/data_flow.rb +17 -0
- data/lib/oci/data_flow/data_flow_client.rb +658 -11
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +204 -0
- data/lib/oci/data_flow/models/application.rb +37 -6
- data/lib/oci/data_flow/models/application_summary.rb +1 -1
- data/lib/oci/data_flow/models/change_private_endpoint_compartment_details.rb +156 -0
- data/lib/oci/data_flow/models/create_application_details.rb +36 -5
- data/lib/oci/data_flow/models/create_private_endpoint_details.rb +279 -0
- data/lib/oci/data_flow/models/create_run_details.rb +3 -3
- data/lib/oci/data_flow/models/private_endpoint.rb +408 -0
- data/lib/oci/data_flow/models/private_endpoint_collection.rb +152 -0
- data/lib/oci/data_flow/models/private_endpoint_lifecycle_state.rb +16 -0
- data/lib/oci/data_flow/models/private_endpoint_summary.rb +382 -0
- data/lib/oci/data_flow/models/run.rb +101 -6
- data/lib/oci/data_flow/models/run_summary.rb +1 -1
- data/lib/oci/data_flow/models/update_application_details.rb +36 -5
- data/lib/oci/data_flow/models/update_private_endpoint_details.rb +249 -0
- data/lib/oci/data_flow/models/work_request.rb +308 -0
- data/lib/oci/data_flow/models/work_request_collection.rb +152 -0
- data/lib/oci/data_flow/models/work_request_error.rb +199 -0
- data/lib/oci/data_flow/models/work_request_error_collection.rb +152 -0
- data/lib/oci/data_flow/models/work_request_log.rb +187 -0
- data/lib/oci/data_flow/models/work_request_log_collection.rb +152 -0
- data/lib/oci/data_flow/models/work_request_operation.rb +13 -0
- data/lib/oci/data_flow/models/work_request_resource.rb +250 -0
- data/lib/oci/data_flow/models/work_request_status.rb +15 -0
- data/lib/oci/data_flow/models/work_request_summary.rb +308 -0
- data/lib/oci/data_integration/data_integration.rb +318 -0
- data/lib/oci/data_integration/data_integration_client.rb +6423 -0
- data/lib/oci/data_integration/data_integration_client_composite_operations.rb +321 -0
- data/lib/oci/data_integration/models/abstract_data_operation_config.rb +184 -0
- data/lib/oci/data_integration/models/abstract_field.rb +173 -0
- data/lib/oci/data_integration/models/abstract_format_attribute.rb +193 -0
- data/lib/oci/data_integration/models/abstract_read_attribute.rb +190 -0
- data/lib/oci/data_integration/models/abstract_write_attribute.rb +196 -0
- data/lib/oci/data_integration/models/aggregator.rb +209 -0
- data/lib/oci/data_integration/models/application.rb +343 -0
- data/lib/oci/data_integration/models/application_details.rb +272 -0
- data/lib/oci/data_integration/models/application_summary.rb +340 -0
- data/lib/oci/data_integration/models/application_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/avro_format_attribute.rb +158 -0
- data/lib/oci/data_integration/models/base_type.rb +270 -0
- data/lib/oci/data_integration/models/change_compartment_details.rb +154 -0
- data/lib/oci/data_integration/models/child_reference.rb +270 -0
- data/lib/oci/data_integration/models/child_reference_detail.rb +164 -0
- data/lib/oci/data_integration/models/composite_field_map.rb +230 -0
- data/lib/oci/data_integration/models/composite_type.rb +208 -0
- data/lib/oci/data_integration/models/conditional_input_link.rb +207 -0
- data/lib/oci/data_integration/models/config_definition.rb +243 -0
- data/lib/oci/data_integration/models/config_parameter_definition.rb +233 -0
- data/lib/oci/data_integration/models/config_parameter_value.rb +196 -0
- data/lib/oci/data_integration/models/config_provider.rb +164 -0
- data/lib/oci/data_integration/models/config_values.rb +167 -0
- data/lib/oci/data_integration/models/configuration_details.rb +185 -0
- data/lib/oci/data_integration/models/configured_type.rb +212 -0
- data/lib/oci/data_integration/models/connection.rb +360 -0
- data/lib/oci/data_integration/models/connection_details.rb +339 -0
- data/lib/oci/data_integration/models/connection_from_adwc.rb +220 -0
- data/lib/oci/data_integration/models/connection_from_adwc_details.rb +216 -0
- data/lib/oci/data_integration/models/connection_from_atp.rb +220 -0
- data/lib/oci/data_integration/models/connection_from_atp_details.rb +216 -0
- data/lib/oci/data_integration/models/connection_from_jdbc.rb +210 -0
- data/lib/oci/data_integration/models/connection_from_jdbc_details.rb +206 -0
- data/lib/oci/data_integration/models/connection_from_my_sql.rb +210 -0
- data/lib/oci/data_integration/models/connection_from_my_sql_details.rb +206 -0
- data/lib/oci/data_integration/models/connection_from_object_storage.rb +256 -0
- data/lib/oci/data_integration/models/connection_from_object_storage_details.rb +252 -0
- data/lib/oci/data_integration/models/connection_from_oracle.rb +220 -0
- data/lib/oci/data_integration/models/connection_from_oracle_details.rb +217 -0
- data/lib/oci/data_integration/models/connection_property.rb +160 -0
- data/lib/oci/data_integration/models/connection_summary.rb +360 -0
- data/lib/oci/data_integration/models/connection_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/connection_summary_from_adwc.rb +220 -0
- data/lib/oci/data_integration/models/connection_summary_from_atp.rb +220 -0
- data/lib/oci/data_integration/models/connection_summary_from_jdbc.rb +210 -0
- data/lib/oci/data_integration/models/connection_summary_from_my_sql.rb +210 -0
- data/lib/oci/data_integration/models/connection_summary_from_object_storage.rb +256 -0
- data/lib/oci/data_integration/models/connection_summary_from_oracle.rb +221 -0
- data/lib/oci/data_integration/models/connection_validation.rb +271 -0
- data/lib/oci/data_integration/models/connection_validation_summary.rb +268 -0
- data/lib/oci/data_integration/models/connection_validation_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/count_statistic.rb +154 -0
- data/lib/oci/data_integration/models/count_statistic_summary.rb +193 -0
- data/lib/oci/data_integration/models/create_application_details.rb +260 -0
- data/lib/oci/data_integration/models/create_config_provider.rb +150 -0
- data/lib/oci/data_integration/models/create_connection_details.rb +300 -0
- data/lib/oci/data_integration/models/create_connection_from_adwc.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_from_atp.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_from_jdbc.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_from_my_sql.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_from_object_storage.rb +240 -0
- data/lib/oci/data_integration/models/create_connection_from_oracle.rb +204 -0
- data/lib/oci/data_integration/models/create_connection_validation_details.rb +175 -0
- data/lib/oci/data_integration/models/create_data_asset_details.rb +301 -0
- data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +239 -0
- data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +239 -0
- data/lib/oci/data_integration/models/create_data_asset_from_jdbc.rb +231 -0
- data/lib/oci/data_integration/models/create_data_asset_from_my_sql.rb +231 -0
- data/lib/oci/data_integration/models/create_data_asset_from_object_storage.rb +231 -0
- data/lib/oci/data_integration/models/create_data_asset_from_oracle.rb +269 -0
- data/lib/oci/data_integration/models/create_data_flow_details.rb +268 -0
- data/lib/oci/data_integration/models/create_data_flow_validation_details.rb +302 -0
- data/lib/oci/data_integration/models/create_entity_shape_details.rb +182 -0
- data/lib/oci/data_integration/models/create_entity_shape_from_file.rb +389 -0
- data/lib/oci/data_integration/models/create_external_publication_details.rb +218 -0
- data/lib/oci/data_integration/models/create_external_publication_validation_details.rb +150 -0
- data/lib/oci/data_integration/models/create_folder_details.rb +236 -0
- data/lib/oci/data_integration/models/create_patch_details.rb +263 -0
- data/lib/oci/data_integration/models/create_project_details.rb +221 -0
- data/lib/oci/data_integration/models/create_source_application_info.rb +168 -0
- data/lib/oci/data_integration/models/create_task_details.rb +343 -0
- data/lib/oci/data_integration/models/create_task_from_data_loader_task.rb +213 -0
- data/lib/oci/data_integration/models/create_task_from_integration_task.rb +213 -0
- data/lib/oci/data_integration/models/create_task_run_details.rb +234 -0
- data/lib/oci/data_integration/models/create_task_validation_details.rb +352 -0
- data/lib/oci/data_integration/models/create_task_validation_from_data_loader_task.rb +217 -0
- data/lib/oci/data_integration/models/create_task_validation_from_integration_task.rb +217 -0
- data/lib/oci/data_integration/models/create_workspace_details.rb +282 -0
- data/lib/oci/data_integration/models/csv_format_attribute.rb +238 -0
- data/lib/oci/data_integration/models/data_asset.rb +358 -0
- data/lib/oci/data_integration/models/data_asset_from_adwc_details.rb +255 -0
- data/lib/oci/data_integration/models/data_asset_from_atp_details.rb +255 -0
- data/lib/oci/data_integration/models/data_asset_from_jdbc.rb +247 -0
- data/lib/oci/data_integration/models/data_asset_from_my_sql.rb +247 -0
- data/lib/oci/data_integration/models/data_asset_from_object_storage_details.rb +247 -0
- data/lib/oci/data_integration/models/data_asset_from_oracle_details.rb +285 -0
- data/lib/oci/data_integration/models/data_asset_summary.rb +344 -0
- data/lib/oci/data_integration/models/data_asset_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_adwc.rb +251 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_atp.rb +251 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_jdbc.rb +243 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_my_sql.rb +243 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_object_storage.rb +243 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_oracle.rb +281 -0
- data/lib/oci/data_integration/models/data_entity.rb +202 -0
- data/lib/oci/data_integration/models/data_entity_details.rb +186 -0
- data/lib/oci/data_integration/models/data_entity_from_file.rb +400 -0
- data/lib/oci/data_integration/models/data_entity_from_file_entity_details.rb +389 -0
- data/lib/oci/data_integration/models/data_entity_from_table.rb +387 -0
- data/lib/oci/data_integration/models/data_entity_from_table_entity_details.rb +376 -0
- data/lib/oci/data_integration/models/data_entity_from_view.rb +387 -0
- data/lib/oci/data_integration/models/data_entity_from_view_entity_details.rb +376 -0
- data/lib/oci/data_integration/models/data_entity_summary.rb +202 -0
- data/lib/oci/data_integration/models/data_entity_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_file.rb +400 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_table.rb +387 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_view.rb +387 -0
- data/lib/oci/data_integration/models/data_flow.rb +305 -0
- data/lib/oci/data_integration/models/data_flow_details.rb +295 -0
- data/lib/oci/data_integration/models/data_flow_summary.rb +302 -0
- data/lib/oci/data_integration/models/data_flow_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/data_flow_validation.rb +328 -0
- data/lib/oci/data_integration/models/data_flow_validation_summary.rb +325 -0
- data/lib/oci/data_integration/models/data_flow_validation_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/data_format.rb +187 -0
- data/lib/oci/data_integration/models/data_type.rb +233 -0
- data/lib/oci/data_integration/models/dependent_object.rb +339 -0
- data/lib/oci/data_integration/models/dependent_object_summary.rb +303 -0
- data/lib/oci/data_integration/models/dependent_object_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/derived_field.rb +205 -0
- data/lib/oci/data_integration/models/derived_type.rb +169 -0
- data/lib/oci/data_integration/models/direct_field_map.rb +244 -0
- data/lib/oci/data_integration/models/direct_named_field_map.rb +272 -0
- data/lib/oci/data_integration/models/distinct.rb +193 -0
- data/lib/oci/data_integration/models/dynamic_input_field.rb +195 -0
- data/lib/oci/data_integration/models/dynamic_proxy_field.rb +195 -0
- data/lib/oci/data_integration/models/dynamic_type.rb +198 -0
- data/lib/oci/data_integration/models/dynamic_type_handler.rb +189 -0
- data/lib/oci/data_integration/models/enriched_entity.rb +162 -0
- data/lib/oci/data_integration/models/entity_shape.rb +198 -0
- data/lib/oci/data_integration/models/entity_shape_from_file.rb +400 -0
- data/lib/oci/data_integration/models/error_details.rb +162 -0
- data/lib/oci/data_integration/models/expression.rb +232 -0
- data/lib/oci/data_integration/models/external_publication.rb +385 -0
- data/lib/oci/data_integration/models/external_publication_summary.rb +382 -0
- data/lib/oci/data_integration/models/external_publication_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/external_publication_validation.rb +220 -0
- data/lib/oci/data_integration/models/external_publication_validation_summary.rb +217 -0
- data/lib/oci/data_integration/models/external_publication_validation_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/field_map.rb +205 -0
- data/lib/oci/data_integration/models/filter.rb +209 -0
- data/lib/oci/data_integration/models/filter_push.rb +162 -0
- data/lib/oci/data_integration/models/flow_node.rb +288 -0
- data/lib/oci/data_integration/models/flow_port.rb +173 -0
- data/lib/oci/data_integration/models/flow_port_link.rb +257 -0
- data/lib/oci/data_integration/models/folder.rb +287 -0
- data/lib/oci/data_integration/models/folder_details.rb +276 -0
- data/lib/oci/data_integration/models/folder_summary.rb +284 -0
- data/lib/oci/data_integration/models/folder_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/foreign_key.rb +264 -0
- data/lib/oci/data_integration/models/input_field.rb +195 -0
- data/lib/oci/data_integration/models/input_link.rb +200 -0
- data/lib/oci/data_integration/models/input_port.rb +221 -0
- data/lib/oci/data_integration/models/java_type.rb +199 -0
- data/lib/oci/data_integration/models/join.rb +190 -0
- data/lib/oci/data_integration/models/joiner.rb +245 -0
- data/lib/oci/data_integration/models/json_format_attribute.rb +158 -0
- data/lib/oci/data_integration/models/key.rb +192 -0
- data/lib/oci/data_integration/models/key_attribute.rb +159 -0
- data/lib/oci/data_integration/models/key_range.rb +159 -0
- data/lib/oci/data_integration/models/key_range_partition_config.rb +175 -0
- data/lib/oci/data_integration/models/macro_field.rb +231 -0
- data/lib/oci/data_integration/models/message.rb +191 -0
- data/lib/oci/data_integration/models/name_list_rule.rb +306 -0
- data/lib/oci/data_integration/models/name_pattern_rule.rb +306 -0
- data/lib/oci/data_integration/models/native_shape_field.rb +225 -0
- data/lib/oci/data_integration/models/object_metadata.rb +306 -0
- data/lib/oci/data_integration/models/operator.rb +349 -0
- data/lib/oci/data_integration/models/oracle_adwc_write_attribute.rb +202 -0
- data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +191 -0
- data/lib/oci/data_integration/models/oracle_atp_write_attribute.rb +202 -0
- data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +191 -0
- data/lib/oci/data_integration/models/oracle_read_attribute.rb +162 -0
- data/lib/oci/data_integration/models/oracle_read_attributes.rb +151 -0
- data/lib/oci/data_integration/models/oracle_write_attribute.rb +190 -0
- data/lib/oci/data_integration/models/oracle_write_attributes.rb +179 -0
- data/lib/oci/data_integration/models/output_field.rb +195 -0
- data/lib/oci/data_integration/models/output_link.rb +186 -0
- data/lib/oci/data_integration/models/output_port.rb +221 -0
- data/lib/oci/data_integration/models/parameter.rb +291 -0
- data/lib/oci/data_integration/models/parameter_value.rb +168 -0
- data/lib/oci/data_integration/models/parent_reference.rb +150 -0
- data/lib/oci/data_integration/models/partition_config.rb +189 -0
- data/lib/oci/data_integration/models/patch.rb +412 -0
- data/lib/oci/data_integration/models/patch_change_summary.rb +255 -0
- data/lib/oci/data_integration/models/patch_change_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/patch_object_metadata.rb +258 -0
- data/lib/oci/data_integration/models/patch_summary.rb +409 -0
- data/lib/oci/data_integration/models/patch_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/primary_key.rb +212 -0
- data/lib/oci/data_integration/models/project.rb +273 -0
- data/lib/oci/data_integration/models/project_details.rb +262 -0
- data/lib/oci/data_integration/models/project_summary.rb +270 -0
- data/lib/oci/data_integration/models/project_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/projection.rb +193 -0
- data/lib/oci/data_integration/models/projection_rule.rb +285 -0
- data/lib/oci/data_integration/models/proxy_field.rb +205 -0
- data/lib/oci/data_integration/models/published_object.rb +286 -0
- data/lib/oci/data_integration/models/published_object_from_data_loader_task.rb +257 -0
- data/lib/oci/data_integration/models/published_object_from_integration_task.rb +257 -0
- data/lib/oci/data_integration/models/published_object_summary.rb +295 -0
- data/lib/oci/data_integration/models/published_object_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/published_object_summary_from_data_loader_task.rb +261 -0
- data/lib/oci/data_integration/models/published_object_summary_from_integration_task.rb +261 -0
- data/lib/oci/data_integration/models/push_down_operation.rb +197 -0
- data/lib/oci/data_integration/models/query.rb +158 -0
- data/lib/oci/data_integration/models/read_operation_config.rb +249 -0
- data/lib/oci/data_integration/models/reference.rb +284 -0
- data/lib/oci/data_integration/models/reference_summary.rb +284 -0
- data/lib/oci/data_integration/models/reference_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/reference_used_by.rb +174 -0
- data/lib/oci/data_integration/models/registry_metadata.rb +204 -0
- data/lib/oci/data_integration/models/rename_rule.rb +218 -0
- data/lib/oci/data_integration/models/resource_configuration.rb +196 -0
- data/lib/oci/data_integration/models/root_object.rb +205 -0
- data/lib/oci/data_integration/models/rule_based_field_map.rb +319 -0
- data/lib/oci/data_integration/models/rule_type_config.rb +251 -0
- data/lib/oci/data_integration/models/schema.rb +314 -0
- data/lib/oci/data_integration/models/schema_summary.rb +311 -0
- data/lib/oci/data_integration/models/schema_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/select.rb +176 -0
- data/lib/oci/data_integration/models/shape.rb +186 -0
- data/lib/oci/data_integration/models/shape_field.rb +209 -0
- data/lib/oci/data_integration/models/sort.rb +162 -0
- data/lib/oci/data_integration/models/sort_clause.rb +179 -0
- data/lib/oci/data_integration/models/sort_key.rb +154 -0
- data/lib/oci/data_integration/models/sort_key_rule.rb +167 -0
- data/lib/oci/data_integration/models/sort_oper.rb +209 -0
- data/lib/oci/data_integration/models/source.rb +260 -0
- data/lib/oci/data_integration/models/source_application_info.rb +196 -0
- data/lib/oci/data_integration/models/structured_type.rb +203 -0
- data/lib/oci/data_integration/models/target.rb +298 -0
- data/lib/oci/data_integration/models/task.rb +373 -0
- data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +221 -0
- data/lib/oci/data_integration/models/task_from_integration_task_details.rb +221 -0
- data/lib/oci/data_integration/models/task_run.rb +451 -0
- data/lib/oci/data_integration/models/task_run_details.rb +396 -0
- data/lib/oci/data_integration/models/task_run_log_summary.rb +150 -0
- data/lib/oci/data_integration/models/task_run_summary.rb +393 -0
- data/lib/oci/data_integration/models/task_run_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/task_summary.rb +373 -0
- data/lib/oci/data_integration/models/task_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/task_summary_from_data_loader_task.rb +221 -0
- data/lib/oci/data_integration/models/task_summary_from_integration_task.rb +221 -0
- data/lib/oci/data_integration/models/task_validation.rb +328 -0
- data/lib/oci/data_integration/models/task_validation_summary.rb +325 -0
- data/lib/oci/data_integration/models/task_validation_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/type_library.rb +259 -0
- data/lib/oci/data_integration/models/type_list_rule.rb +306 -0
- data/lib/oci/data_integration/models/type_system.rb +287 -0
- data/lib/oci/data_integration/models/typed_name_pattern_rule.rb +326 -0
- data/lib/oci/data_integration/models/typed_object.rb +290 -0
- data/lib/oci/data_integration/models/ui_properties.rb +168 -0
- data/lib/oci/data_integration/models/unique_key.rb +224 -0
- data/lib/oci/data_integration/models/update_application_details.rb +269 -0
- data/lib/oci/data_integration/models/update_connection_details.rb +314 -0
- data/lib/oci/data_integration/models/update_connection_from_adwc.rb +208 -0
- data/lib/oci/data_integration/models/update_connection_from_atp.rb +208 -0
- data/lib/oci/data_integration/models/update_connection_from_jdbc.rb +208 -0
- data/lib/oci/data_integration/models/update_connection_from_my_sql.rb +208 -0
- data/lib/oci/data_integration/models/update_connection_from_object_storage.rb +244 -0
- data/lib/oci/data_integration/models/update_connection_from_oracle.rb +208 -0
- data/lib/oci/data_integration/models/update_data_asset_details.rb +315 -0
- data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +243 -0
- data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +243 -0
- data/lib/oci/data_integration/models/update_data_asset_from_jdbc.rb +235 -0
- data/lib/oci/data_integration/models/update_data_asset_from_my_sql.rb +235 -0
- data/lib/oci/data_integration/models/update_data_asset_from_object_storage.rb +235 -0
- data/lib/oci/data_integration/models/update_data_asset_from_oracle.rb +273 -0
- data/lib/oci/data_integration/models/update_data_flow_details.rb +292 -0
- data/lib/oci/data_integration/models/update_external_publication_details.rb +218 -0
- data/lib/oci/data_integration/models/update_folder_details.rb +273 -0
- data/lib/oci/data_integration/models/update_project_details.rb +259 -0
- data/lib/oci/data_integration/models/update_reference_details.rb +178 -0
- data/lib/oci/data_integration/models/update_task_details.rb +356 -0
- data/lib/oci/data_integration/models/update_task_from_data_loader_task.rb +217 -0
- data/lib/oci/data_integration/models/update_task_from_integration_task.rb +217 -0
- data/lib/oci/data_integration/models/update_task_run_details.rb +247 -0
- data/lib/oci/data_integration/models/update_workspace_details.rb +196 -0
- data/lib/oci/data_integration/models/validation_message.rb +178 -0
- data/lib/oci/data_integration/models/work_request.rb +306 -0
- data/lib/oci/data_integration/models/work_request_error.rb +172 -0
- data/lib/oci/data_integration/models/work_request_log_entry.rb +160 -0
- data/lib/oci/data_integration/models/work_request_resource.rb +222 -0
- data/lib/oci/data_integration/models/work_request_summary.rb +303 -0
- data/lib/oci/data_integration/models/workspace.rb +387 -0
- data/lib/oci/data_integration/models/workspace_summary.rb +306 -0
- data/lib/oci/data_integration/models/write_operation_config.rb +297 -0
- data/lib/oci/data_integration/util.rb +3 -0
- data/lib/oci/data_safe/data_safe_client.rb +1 -10
- data/lib/oci/data_science/data_science_client.rb +1 -10
- data/lib/oci/database/database.rb +42 -0
- data/lib/oci/database/database_client.rb +4110 -1557
- data/lib/oci/database/database_client_composite_operations.rb +694 -22
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/automated_mount_details.rb +176 -0
- data/lib/oci/database/models/autonomous_container_database.rb +106 -3
- data/lib/oci/database/models/autonomous_container_database_backup_config.rb +15 -1
- data/lib/oci/database/models/autonomous_container_database_summary.rb +106 -3
- data/lib/oci/database/models/autonomous_database.rb +314 -5
- data/lib/oci/database/models/autonomous_database_manual_refresh_details.rb +155 -0
- data/lib/oci/database/models/autonomous_database_standby_summary.rb +220 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +314 -5
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +2 -0
- data/lib/oci/database/models/autonomous_db_version_summary.rb +2 -0
- data/lib/oci/database/models/autonomous_patch.rb +296 -0
- data/lib/oci/database/models/autonomous_patch_summary.rb +304 -0
- data/lib/oci/database/models/autonomous_vm_cluster.rb +452 -0
- data/lib/oci/database/models/autonomous_vm_cluster_summary.rb +455 -0
- data/lib/oci/database/models/backup_destination.rb +62 -1
- data/lib/oci/database/models/backup_destination_details.rb +18 -4
- data/lib/oci/database/models/backup_destination_summary.rb +62 -1
- data/lib/oci/database/models/change_autonomous_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +155 -0
- data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +155 -0
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +398 -0
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +401 -0
- data/lib/oci/database/models/cloud_vm_cluster.rb +734 -0
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +721 -0
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +77 -6
- data/lib/oci/database/models/create_autonomous_database_base.rb +28 -8
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_vm_cluster_details.rb +288 -0
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +270 -0
- data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +464 -0
- data/lib/oci/database/models/create_data_guard_association_details.rb +1 -0
- data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +177 -0
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +1 -1
- data/lib/oci/database/models/create_database_details.rb +15 -1
- data/lib/oci/database/models/create_database_from_db_system_details.rb +246 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +319 -0
- data/lib/oci/database/models/create_db_home_base.rb +51 -1
- data/lib/oci/database/models/create_db_home_details.rb +52 -4
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +38 -4
- data/lib/oci/database/models/create_db_home_from_database_details.rb +38 -4
- data/lib/oci/database/models/create_db_home_from_db_system_details.rb +201 -0
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +13 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +13 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +13 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +13 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +189 -0
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +12 -2
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +19 -5
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +274 -0
- data/lib/oci/database/models/create_vm_cluster_details.rb +1 -1
- data/lib/oci/database/models/database.rb +32 -4
- data/lib/oci/database/models/database_software_image.rb +428 -0
- data/lib/oci/database/models/database_software_image_summary.rb +438 -0
- data/lib/oci/database/models/database_summary.rb +32 -4
- data/lib/oci/database/models/db_home.rb +66 -4
- data/lib/oci/database/models/db_home_summary.rb +66 -4
- data/lib/oci/database/models/db_iorm_config.rb +4 -4
- data/lib/oci/database/models/db_iorm_config_update_detail.rb +3 -3
- data/lib/oci/database/models/db_system.rb +36 -6
- data/lib/oci/database/models/db_system_shape_summary.rb +19 -5
- data/lib/oci/database/models/db_system_summary.rb +36 -6
- data/lib/oci/database/models/deregister_autonomous_database_data_safe_details.rb +155 -0
- data/lib/oci/database/models/exadata_db_system_migration.rb +197 -0
- data/lib/oci/database/models/exadata_db_system_migration_summary.rb +183 -0
- data/lib/oci/database/models/exadata_infrastructure.rb +26 -2
- data/lib/oci/database/models/exadata_infrastructure_contact.rb +188 -0
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +27 -3
- data/lib/oci/database/models/exadata_iorm_config.rb +7 -7
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +7 -1
- data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
- data/lib/oci/database/models/info_for_network_gen_details.rb +1 -1
- data/lib/oci/database/models/launch_db_system_base.rb +25 -7
- data/lib/oci/database/models/launch_db_system_details.rb +5 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +5 -1
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +5 -1
- data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +297 -0
- data/lib/oci/database/models/maintenance_run.rb +26 -11
- data/lib/oci/database/models/maintenance_run_summary.rb +26 -11
- data/lib/oci/database/models/mount_type_details.rb +186 -0
- data/lib/oci/database/models/patch_details.rb +15 -1
- 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/register_autonomous_database_data_safe_details.rb +155 -0
- data/lib/oci/database/models/self_mount_details.rb +163 -0
- data/lib/oci/database/models/update.rb +339 -0
- data/lib/oci/database/models/update_autonomous_database_details.rb +185 -3
- data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +202 -0
- data/lib/oci/database/models/update_backup_destination_details.rb +56 -1
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +231 -0
- data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +318 -0
- data/lib/oci/database/models/update_database_software_image_details.rb +189 -0
- data/lib/oci/database/models/update_db_home_details.rb +52 -4
- data/lib/oci/database/models/update_db_system_details.rb +1 -1
- data/lib/oci/database/models/update_details.rb +183 -0
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +12 -2
- data/lib/oci/database/models/update_history_entry.rb +305 -0
- data/lib/oci/database/models/update_history_entry_summary.rb +308 -0
- data/lib/oci/database/models/update_maintenance_run_details.rb +35 -7
- data/lib/oci/database/models/update_summary.rb +347 -0
- 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 +2 -2
- data/lib/oci/database/models/vm_cluster_network_details.rb +2 -2
- data/lib/oci/database/models/vm_cluster_network_summary.rb +1 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +2 -2
- data/lib/oci/database/models/vm_network_details.rb +1 -1
- data/lib/oci/dns/dns_client.rb +1 -10
- data/lib/oci/dts/appliance_export_job_client.rb +1 -10
- data/lib/oci/dts/shipping_vendors_client.rb +1 -10
- data/lib/oci/dts/transfer_appliance_client.rb +1 -10
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +1 -10
- data/lib/oci/dts/transfer_device_client.rb +1 -10
- data/lib/oci/dts/transfer_job_client.rb +1 -10
- data/lib/oci/dts/transfer_package_client.rb +1 -10
- data/lib/oci/email/email_client.rb +1 -10
- data/lib/oci/events/events_client.rb +1 -10
- data/lib/oci/file_storage/file_storage_client.rb +1 -10
- data/lib/oci/functions/functions_invoke_client.rb +1 -10
- data/lib/oci/functions/functions_management_client.rb +1 -10
- data/lib/oci/healthchecks/health_checks_client.rb +1 -10
- data/lib/oci/identity/identity.rb +1 -0
- data/lib/oci/identity/identity_client.rb +19 -16
- data/lib/oci/identity/models/authentication_policy.rb +17 -5
- data/lib/oci/identity/models/base_tag_definition_validator.rb +1 -1
- data/lib/oci/identity/models/bulk_action_resource.rb +26 -5
- data/lib/oci/identity/models/bulk_action_resource_type.rb +3 -5
- data/lib/oci/identity/models/bulk_action_resource_type_collection.rb +2 -2
- data/lib/oci/identity/models/create_tag_details.rb +0 -11
- data/lib/oci/identity/models/identity_provider_group_summary.rb +11 -1
- data/lib/oci/identity/models/network_policy.rb +156 -0
- data/lib/oci/identity/models/network_sources_summary.rb +38 -4
- data/lib/oci/identity/models/tag.rb +0 -11
- data/lib/oci/identity/models/update_authentication_policy_details.rb +17 -5
- data/lib/oci/identity/models/update_tag_details.rb +0 -11
- data/lib/oci/identity/models/user.rb +0 -1
- data/lib/oci/integration/integration_instance_client.rb +1 -10
- data/lib/oci/integration/models/create_integration_instance_details.rb +29 -1
- data/lib/oci/integration/models/integration_instance.rb +38 -4
- data/lib/oci/integration/models/integration_instance_summary.rb +38 -4
- data/lib/oci/key_management/key_management.rb +2 -0
- data/lib/oci/key_management/kms_crypto_client.rb +60 -13
- data/lib/oci/key_management/kms_management_client.rb +17 -13
- data/lib/oci/key_management/kms_vault_client.rb +3 -11
- data/lib/oci/key_management/models/create_key_details.rb +36 -4
- data/lib/oci/key_management/models/export_key_details.rb +229 -0
- data/lib/oci/key_management/models/exported_key_data.rb +249 -0
- data/lib/oci/key_management/models/generated_key.rb +2 -2
- data/lib/oci/key_management/models/import_key_details.rb +38 -4
- data/lib/oci/key_management/models/key.rb +39 -1
- data/lib/oci/key_management/models/key_summary.rb +42 -4
- data/lib/oci/key_management/models/vault.rb +2 -2
- data/lib/oci/key_management/models/vault_summary.rb +2 -2
- data/lib/oci/key_management/models/vault_usage.rb +34 -6
- data/lib/oci/key_management/models/wrapped_import_key.rb +2 -2
- data/lib/oci/key_management/models/wrapping_key.rb +1 -1
- data/lib/oci/limits/limits_client.rb +1 -10
- data/lib/oci/limits/quotas_client.rb +1 -10
- data/lib/oci/load_balancer/load_balancer.rb +6 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +386 -10
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +210 -0
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +14 -1
- data/lib/oci/load_balancer/models/create_ssl_cipher_suite_details.rb +445 -0
- data/lib/oci/load_balancer/models/http_header_rule.rb +188 -0
- data/lib/oci/load_balancer/models/load_balancer.rb +14 -1
- data/lib/oci/load_balancer/models/rule.rb +2 -0
- data/lib/oci/load_balancer/models/ssl_cipher_suite.rb +445 -0
- data/lib/oci/load_balancer/models/ssl_cipher_suite_details.rb +445 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +139 -23
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +132 -23
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +160 -0
- data/lib/oci/load_balancer/models/update_ssl_cipher_suite_details.rb +259 -0
- data/lib/oci/load_balancer/models/work_request.rb +15 -1
- data/lib/oci/log_analytics/log_analytics.rb +305 -0
- data/lib/oci/log_analytics/log_analytics_client.rb +8863 -0
- data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +634 -0
- data/lib/oci/log_analytics/models/abstract_column.rb +386 -0
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +330 -0
- data/lib/oci/log_analytics/models/abstract_field.rb +354 -0
- data/lib/oci/log_analytics/models/abstract_parser_test_result_log_entry.rb +234 -0
- data/lib/oci/log_analytics/models/abstract_parser_test_result_log_line.rb +168 -0
- data/lib/oci/log_analytics/models/action.rb +187 -0
- data/lib/oci/log_analytics/models/action_types.rb +14 -0
- data/lib/oci/log_analytics/models/add_entity_association_details.rb +156 -0
- data/lib/oci/log_analytics/models/add_fields_command_descriptor.rb +184 -0
- data/lib/oci/log_analytics/models/agent_upload.rb +151 -0
- data/lib/oci/log_analytics/models/archiving_configuration.rb +174 -0
- data/lib/oci/log_analytics/models/argument.rb +189 -0
- data/lib/oci/log_analytics/models/association_summary_report.rb +154 -0
- data/lib/oci/log_analytics/models/attribute.rb +435 -0
- data/lib/oci/log_analytics/models/auto_lookups.rb +168 -0
- data/lib/oci/log_analytics/models/bottom_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/bucket_command_descriptor.rb +223 -0
- data/lib/oci/log_analytics/models/bucket_range.rb +178 -0
- data/lib/oci/log_analytics/models/change_log_analytics_entity_compartment_details.rb +156 -0
- data/lib/oci/log_analytics/models/change_log_analytics_log_group_compartment_details.rb +156 -0
- data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +156 -0
- data/lib/oci/log_analytics/models/change_scheduled_task_compartment_details.rb +155 -0
- data/lib/oci/log_analytics/models/char_encoding_collection.rb +150 -0
- data/lib/oci/log_analytics/models/chart_column.rb +241 -0
- data/lib/oci/log_analytics/models/chart_data_column.rb +219 -0
- data/lib/oci/log_analytics/models/classify_column.rb +294 -0
- data/lib/oci/log_analytics/models/classify_command_descriptor.rb +210 -0
- data/lib/oci/log_analytics/models/cluster_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/cluster_compare_command_descriptor.rb +257 -0
- data/lib/oci/log_analytics/models/cluster_details_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/cluster_split_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/column.rb +186 -0
- data/lib/oci/log_analytics/models/column_name.rb +150 -0
- data/lib/oci/log_analytics/models/column_name_collection.rb +150 -0
- data/lib/oci/log_analytics/models/command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/create_acceleration_task_details.rb +181 -0
- data/lib/oci/log_analytics/models/create_log_analytics_entity_details.rb +298 -0
- data/lib/oci/log_analytics/models/create_log_analytics_entity_type_details.rb +172 -0
- data/lib/oci/log_analytics/models/create_log_analytics_log_group_details.rb +216 -0
- data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +382 -0
- data/lib/oci/log_analytics/models/create_namespace_details.rb +154 -0
- data/lib/oci/log_analytics/models/create_scheduled_task_details.rb +245 -0
- data/lib/oci/log_analytics/models/create_standard_task_details.rb +216 -0
- data/lib/oci/log_analytics/models/cron_schedule.rb +178 -0
- data/lib/oci/log_analytics/models/delete_command_descriptor.rb +184 -0
- data/lib/oci/log_analytics/models/delete_log_analytics_association.rb +234 -0
- data/lib/oci/log_analytics/models/delete_log_analytics_association_details.rb +164 -0
- data/lib/oci/log_analytics/models/delta_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/demo_mode_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/distinct_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/efd_regex_result.rb +263 -0
- data/lib/oci/log_analytics/models/entity_cloud_type.rb +11 -0
- data/lib/oci/log_analytics/models/entity_lifecycle_states.rb +11 -0
- data/lib/oci/log_analytics/models/entity_type_property.rb +163 -0
- data/lib/oci/log_analytics/models/error_details.rb +160 -0
- data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +226 -0
- data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +155 -0
- data/lib/oci/log_analytics/models/eval_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/event_stats_command_descriptor.rb +195 -0
- data/lib/oci/log_analytics/models/export_content.rb +181 -0
- data/lib/oci/log_analytics/models/export_details.rb +358 -0
- data/lib/oci/log_analytics/models/extended_fields_validation_result.rb +150 -0
- data/lib/oci/log_analytics/models/extract_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/extract_log_field_results.rb +150 -0
- data/lib/oci/log_analytics/models/extract_log_header_details.rb +168 -0
- data/lib/oci/log_analytics/models/extract_log_header_results.rb +168 -0
- data/lib/oci/log_analytics/models/field.rb +182 -0
- data/lib/oci/log_analytics/models/field_argument.rb +158 -0
- data/lib/oci/log_analytics/models/field_map.rb +169 -0
- data/lib/oci/log_analytics/models/field_summary_command_descriptor.rb +186 -0
- data/lib/oci/log_analytics/models/field_summary_report.rb +182 -0
- data/lib/oci/log_analytics/models/field_value.rb +186 -0
- data/lib/oci/log_analytics/models/fields_add_remove_field.rb +216 -0
- data/lib/oci/log_analytics/models/fields_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/file_validation_response.rb +178 -0
- data/lib/oci/log_analytics/models/filter.rb +207 -0
- data/lib/oci/log_analytics/models/filter_details.rb +193 -0
- data/lib/oci/log_analytics/models/filter_output.rb +186 -0
- data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +189 -0
- data/lib/oci/log_analytics/models/function_field.rb +207 -0
- data/lib/oci/log_analytics/models/generate_agent_object_name_details.rb +196 -0
- data/lib/oci/log_analytics/models/head_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/highlight_command_descriptor.rb +202 -0
- data/lib/oci/log_analytics/models/highlight_rows_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/indexes.rb +168 -0
- data/lib/oci/log_analytics/models/job_mode.rb +11 -0
- data/lib/oci/log_analytics/models/job_mode_filter.rb +12 -0
- data/lib/oci/log_analytics/models/label_names.rb +154 -0
- data/lib/oci/log_analytics/models/label_priority.rb +174 -0
- data/lib/oci/log_analytics/models/label_priority_collection.rb +150 -0
- data/lib/oci/log_analytics/models/label_source_collection.rb +151 -0
- data/lib/oci/log_analytics/models/label_source_summary.rb +238 -0
- data/lib/oci/log_analytics/models/label_summary_report.rb +168 -0
- data/lib/oci/log_analytics/models/lifecycle_states.rb +11 -0
- data/lib/oci/log_analytics/models/link_command_descriptor.rb +214 -0
- data/lib/oci/log_analytics/models/link_details_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/literal_argument.rb +175 -0
- data/lib/oci/log_analytics/models/log_analytics.rb +293 -0
- data/lib/oci/log_analytics/models/log_analytics_associated_entity.rb +224 -0
- data/lib/oci/log_analytics/models/log_analytics_associated_entity_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_association.rb +398 -0
- data/lib/oci/log_analytics/models/log_analytics_association_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_association_parameter.rb +283 -0
- data/lib/oci/log_analytics/models/log_analytics_association_parameter_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_collection_warning.rb +151 -0
- data/lib/oci/log_analytics/models/log_analytics_config_work_request.rb +299 -0
- data/lib/oci/log_analytics/models/log_analytics_config_work_request_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_config_work_request_payload.rb +182 -0
- data/lib/oci/log_analytics/models/log_analytics_config_work_request_summary.rb +275 -0
- data/lib/oci/log_analytics/models/log_analytics_entity.rb +450 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_collection.rb +151 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +364 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_summary_report.rb +200 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_type.rb +302 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_type_collection.rb +151 -0
- data/lib/oci/log_analytics/models/log_analytics_entity_type_summary.rb +277 -0
- data/lib/oci/log_analytics/models/log_analytics_extended_field.rb +232 -0
- data/lib/oci/log_analytics/models/log_analytics_field.rb +428 -0
- data/lib/oci/log_analytics/models/log_analytics_field_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +425 -0
- data/lib/oci/log_analytics/models/log_analytics_import_custom_change_list.rb +266 -0
- data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +210 -0
- data/lib/oci/log_analytics/models/log_analytics_label.rb +337 -0
- data/lib/oci/log_analytics/models/log_analytics_label_alias.rb +239 -0
- data/lib/oci/log_analytics/models/log_analytics_label_collection.rb +151 -0
- data/lib/oci/log_analytics/models/log_analytics_label_definition.rb +196 -0
- data/lib/oci/log_analytics/models/log_analytics_label_operator.rb +164 -0
- data/lib/oci/log_analytics/models/log_analytics_label_operator_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_label_summary.rb +337 -0
- data/lib/oci/log_analytics/models/log_analytics_label_view.rb +341 -0
- data/lib/oci/log_analytics/models/log_analytics_log_group.rb +258 -0
- data/lib/oci/log_analytics/models/log_analytics_log_group_summary.rb +258 -0
- data/lib/oci/log_analytics/models/log_analytics_log_group_summary_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_lookup.rb +310 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_function.rb +226 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_function_argument.rb +322 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_function_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_source_type.rb +244 -0
- data/lib/oci/log_analytics/models/log_analytics_meta_source_type_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_metric.rb +466 -0
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +475 -0
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +345 -0
- data/lib/oci/log_analytics/models/log_analytics_operation_types.rb +11 -0
- data/lib/oci/log_analytics/models/log_analytics_parameter.rb +202 -0
- data/lib/oci/log_analytics/models/log_analytics_parser.rb +540 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_field.rb +270 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +225 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_function.rb +279 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_function_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_function_parameter.rb +237 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin.rb +188 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_parameter.rb +212 -0
- data/lib/oci/log_analytics/models/log_analytics_parser_summary.rb +540 -0
- data/lib/oci/log_analytics/models/log_analytics_pattern_filter.rb +238 -0
- data/lib/oci/log_analytics/models/log_analytics_source.rb +598 -0
- data/lib/oci/log_analytics/models/log_analytics_source_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_source_data_filter.rb +348 -0
- data/lib/oci/log_analytics/models/log_analytics_source_entity_type.rb +196 -0
- data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition.rb +359 -0
- data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_source_function.rb +295 -0
- data/lib/oci/log_analytics/models/log_analytics_source_label_condition.rb +388 -0
- data/lib/oci/log_analytics/models/log_analytics_source_metadata_field.rb +206 -0
- data/lib/oci/log_analytics/models/log_analytics_source_metric.rb +196 -0
- data/lib/oci/log_analytics/models/log_analytics_source_pattern.rb +397 -0
- data/lib/oci/log_analytics/models/log_analytics_source_pattern_collection.rb +150 -0
- data/lib/oci/log_analytics/models/log_analytics_source_summary.rb +598 -0
- data/lib/oci/log_analytics/models/log_analytics_summary.rb +261 -0
- data/lib/oci/log_analytics/models/log_group_summary_report.rb +150 -0
- data/lib/oci/log_analytics/models/lookup_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/lookup_field.rb +230 -0
- data/lib/oci/log_analytics/models/macro_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/match_info.rb +182 -0
- data/lib/oci/log_analytics/models/multi_search_command_descriptor.rb +184 -0
- data/lib/oci/log_analytics/models/namespace.rb +182 -0
- data/lib/oci/log_analytics/models/namespace_collection.rb +152 -0
- data/lib/oci/log_analytics/models/namespace_summary.rb +179 -0
- data/lib/oci/log_analytics/models/object_collection_rule_collection_types.rb +12 -0
- data/lib/oci/log_analytics/models/operation_status.rb +15 -0
- data/lib/oci/log_analytics/models/out_of_box_entity_type_details.rb +217 -0
- data/lib/oci/log_analytics/models/parse_query_details.rb +182 -0
- data/lib/oci/log_analytics/models/parse_query_output.rb +208 -0
- data/lib/oci/log_analytics/models/parsed_content.rb +224 -0
- data/lib/oci/log_analytics/models/parsed_field.rb +168 -0
- data/lib/oci/log_analytics/models/parser_summary_report.rb +168 -0
- data/lib/oci/log_analytics/models/parser_test_result.rb +202 -0
- data/lib/oci/log_analytics/models/property_override.rb +201 -0
- data/lib/oci/log_analytics/models/purge_action.rb +246 -0
- data/lib/oci/log_analytics/models/purge_storage_data_details.rb +226 -0
- data/lib/oci/log_analytics/models/query.rb +154 -0
- data/lib/oci/log_analytics/models/query_aggregation.rb +264 -0
- data/lib/oci/log_analytics/models/query_details.rb +401 -0
- data/lib/oci/log_analytics/models/query_operation_type.rb +11 -0
- data/lib/oci/log_analytics/models/query_work_request.rb +440 -0
- data/lib/oci/log_analytics/models/query_work_request_collection.rb +152 -0
- data/lib/oci/log_analytics/models/query_work_request_resource.rb +154 -0
- data/lib/oci/log_analytics/models/query_work_request_summary.rb +335 -0
- data/lib/oci/log_analytics/models/recall_archived_data_details.rb +210 -0
- data/lib/oci/log_analytics/models/regex_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/regex_match_result.rb +210 -0
- data/lib/oci/log_analytics/models/register_entity_types_details.rb +154 -0
- data/lib/oci/log_analytics/models/release_recalled_data_details.rb +210 -0
- data/lib/oci/log_analytics/models/remove_entity_associations_details.rb +156 -0
- data/lib/oci/log_analytics/models/rename_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/result_column.rb +205 -0
- data/lib/oci/log_analytics/models/schedule.rb +223 -0
- data/lib/oci/log_analytics/models/scheduled_task.rb +398 -0
- data/lib/oci/log_analytics/models/scheduled_task_collection.rb +150 -0
- data/lib/oci/log_analytics/models/scheduled_task_summary.rb +344 -0
- data/lib/oci/log_analytics/models/scheduler_resource.rb +154 -0
- data/lib/oci/log_analytics/models/scope_filter.rb +167 -0
- data/lib/oci/log_analytics/models/search_command_descriptor.rb +184 -0
- data/lib/oci/log_analytics/models/search_lookup_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/service_tenancy.rb +154 -0
- data/lib/oci/log_analytics/models/sort_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/sort_field.rb +216 -0
- data/lib/oci/log_analytics/models/sort_orders.rb +11 -0
- data/lib/oci/log_analytics/models/source_mapping_response.rb +154 -0
- data/lib/oci/log_analytics/models/source_summary_report.rb +182 -0
- data/lib/oci/log_analytics/models/source_validate_details.rb +160 -0
- data/lib/oci/log_analytics/models/source_validate_results.rb +150 -0
- data/lib/oci/log_analytics/models/stats_command_descriptor.rb +195 -0
- data/lib/oci/log_analytics/models/status_summary.rb +202 -0
- data/lib/oci/log_analytics/models/step_info.rb +182 -0
- data/lib/oci/log_analytics/models/storage.rb +170 -0
- data/lib/oci/log_analytics/models/storage_data_type.rb +11 -0
- data/lib/oci/log_analytics/models/storage_operation_type.rb +15 -0
- data/lib/oci/log_analytics/models/storage_usage.rb +182 -0
- data/lib/oci/log_analytics/models/storage_work_request.rb +469 -0
- data/lib/oci/log_analytics/models/storage_work_request_collection.rb +152 -0
- data/lib/oci/log_analytics/models/storage_work_request_summary.rb +466 -0
- data/lib/oci/log_analytics/models/stream_action.rb +162 -0
- data/lib/oci/log_analytics/models/string_list_details.rb +150 -0
- data/lib/oci/log_analytics/models/sub_system_name.rb +10 -0
- data/lib/oci/log_analytics/models/success.rb +150 -0
- data/lib/oci/log_analytics/models/suggest_details.rb +214 -0
- data/lib/oci/log_analytics/models/suggest_output.rb +222 -0
- data/lib/oci/log_analytics/models/tail_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/task_type.rb +13 -0
- data/lib/oci/log_analytics/models/test_parser_payload_details.rb +463 -0
- data/lib/oci/log_analytics/models/time_column.rb +211 -0
- data/lib/oci/log_analytics/models/time_compare_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/time_range.rb +188 -0
- data/lib/oci/log_analytics/models/time_stats_command_descriptor.rb +217 -0
- data/lib/oci/log_analytics/models/timezone_collection.rb +150 -0
- data/lib/oci/log_analytics/models/top_command_descriptor.rb +180 -0
- data/lib/oci/log_analytics/models/trend_column.rb +269 -0
- data/lib/oci/log_analytics/models/ui_parser_test_metadata.rb +182 -0
- data/lib/oci/log_analytics/models/update_log_analytics_entity_details.rb +238 -0
- data/lib/oci/log_analytics/models/update_log_analytics_entity_type_details.rb +161 -0
- data/lib/oci/log_analytics/models/update_log_analytics_log_group_details.rb +202 -0
- data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +258 -0
- data/lib/oci/log_analytics/models/update_scheduled_task_details.rb +202 -0
- data/lib/oci/log_analytics/models/update_storage_details.rb +154 -0
- data/lib/oci/log_analytics/models/upload.rb +231 -0
- data/lib/oci/log_analytics/models/upload_collection.rb +150 -0
- data/lib/oci/log_analytics/models/upload_file_collection.rb +150 -0
- data/lib/oci/log_analytics/models/upload_file_status.rb +168 -0
- data/lib/oci/log_analytics/models/upload_file_summary.rb +359 -0
- data/lib/oci/log_analytics/models/upload_summary.rb +230 -0
- data/lib/oci/log_analytics/models/upload_warning_collection.rb +150 -0
- data/lib/oci/log_analytics/models/upload_warning_summary.rb +188 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_association.rb +248 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_association_details.rb +164 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_field_details.rb +202 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_label_details.rb +296 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_parser_details.rb +440 -0
- data/lib/oci/log_analytics/models/upsert_log_analytics_source_details.rb +500 -0
- data/lib/oci/log_analytics/models/usage_status_item.rb +196 -0
- data/lib/oci/log_analytics/models/value_type.rb +17 -0
- data/lib/oci/log_analytics/models/verify_output.rb +216 -0
- data/lib/oci/log_analytics/models/violation.rb +226 -0
- data/lib/oci/log_analytics/models/where_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/work_request.rb +306 -0
- data/lib/oci/log_analytics/models/work_request_collection.rb +152 -0
- data/lib/oci/log_analytics/models/work_request_error.rb +173 -0
- data/lib/oci/log_analytics/models/work_request_error_collection.rb +152 -0
- data/lib/oci/log_analytics/models/work_request_log.rb +160 -0
- data/lib/oci/log_analytics/models/work_request_log_collection.rb +152 -0
- data/lib/oci/log_analytics/models/work_request_resource.rb +219 -0
- data/lib/oci/log_analytics/models/work_request_status.rb +14 -0
- data/lib/oci/log_analytics/models/work_request_summary.rb +258 -0
- data/lib/oci/log_analytics/util.rb +3 -0
- data/lib/oci/logging/logging.rb +90 -0
- data/lib/oci/logging/logging_management_client.rb +2280 -0
- data/lib/oci/logging/logging_management_client_composite_operations.rb +673 -0
- data/lib/oci/logging/models/action_types.rb +14 -0
- data/lib/oci/logging/models/archiving.rb +156 -0
- data/lib/oci/logging/models/category.rb +174 -0
- data/lib/oci/logging/models/change_log_group_compartment_details.rb +154 -0
- data/lib/oci/logging/models/change_log_log_group_details.rb +154 -0
- data/lib/oci/logging/models/change_log_saved_search_compartment_details.rb +155 -0
- data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +154 -0
- data/lib/oci/logging/models/configuration.rb +174 -0
- data/lib/oci/logging/models/create_log_details.rb +259 -0
- data/lib/oci/logging/models/create_log_group_details.rb +215 -0
- data/lib/oci/logging/models/create_log_saved_search_details.rb +237 -0
- data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +258 -0
- data/lib/oci/logging/models/grok_pattern.rb +202 -0
- data/lib/oci/logging/models/group_association_details.rb +154 -0
- data/lib/oci/logging/models/log.rb +383 -0
- data/lib/oci/logging/models/log_group.rb +291 -0
- data/lib/oci/logging/models/log_group_lifecycle_state.rb +15 -0
- data/lib/oci/logging/models/log_group_summary.rb +253 -0
- data/lib/oci/logging/models/log_included_search.rb +251 -0
- data/lib/oci/logging/models/log_included_search_summary.rb +195 -0
- data/lib/oci/logging/models/log_included_search_summary_collection.rb +150 -0
- data/lib/oci/logging/models/log_lifecycle_state.rb +15 -0
- data/lib/oci/logging/models/log_saved_search.rb +275 -0
- data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +11 -0
- data/lib/oci/logging/models/log_saved_search_summary.rb +254 -0
- data/lib/oci/logging/models/log_saved_search_summary_collection.rb +151 -0
- data/lib/oci/logging/models/log_summary.rb +369 -0
- data/lib/oci/logging/models/oci_service.rb +188 -0
- data/lib/oci/logging/models/operation_status.rb +15 -0
- data/lib/oci/logging/models/operation_types.rb +21 -0
- data/lib/oci/logging/models/parameter.rb +191 -0
- data/lib/oci/logging/models/resource_type.rb +160 -0
- data/lib/oci/logging/models/service_summary.rb +222 -0
- data/lib/oci/logging/models/source.rb +191 -0
- data/lib/oci/logging/models/source_update_details.rb +150 -0
- data/lib/oci/logging/models/unified_agent_apache2_parser.rb +173 -0
- data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +173 -0
- data/lib/oci/logging/models/unified_agent_auditd_parser.rb +173 -0
- data/lib/oci/logging/models/unified_agent_configuration.rb +368 -0
- data/lib/oci/logging/models/unified_agent_configuration_collection.rb +150 -0
- data/lib/oci/logging/models/unified_agent_configuration_summary.rb +372 -0
- data/lib/oci/logging/models/unified_agent_csv_parser.rb +194 -0
- data/lib/oci/logging/models/unified_agent_grok_parser.rb +211 -0
- data/lib/oci/logging/models/unified_agent_logging_configuration.rb +166 -0
- data/lib/oci/logging/models/unified_agent_logging_destination.rb +154 -0
- data/lib/oci/logging/models/unified_agent_logging_source.rb +201 -0
- data/lib/oci/logging/models/unified_agent_msgpack_parser.rb +173 -0
- data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +224 -0
- data/lib/oci/logging/models/unified_agent_multiline_parser.rb +198 -0
- data/lib/oci/logging/models/unified_agent_none_parser.rb +189 -0
- data/lib/oci/logging/models/unified_agent_parser.rb +313 -0
- data/lib/oci/logging/models/unified_agent_regex_parser.rb +198 -0
- data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +189 -0
- data/lib/oci/logging/models/unified_agent_service_configuration_states.rb +11 -0
- data/lib/oci/logging/models/unified_agent_service_configuration_types.rb +10 -0
- data/lib/oci/logging/models/unified_agent_syslog_parser.rb +294 -0
- data/lib/oci/logging/models/unified_agent_tail_log_source.rb +170 -0
- data/lib/oci/logging/models/unified_agent_tsv_parser.rb +194 -0
- data/lib/oci/logging/models/unified_agent_windows_event_source.rb +161 -0
- data/lib/oci/logging/models/unified_json_parser.rb +223 -0
- data/lib/oci/logging/models/update_configuration_details.rb +159 -0
- data/lib/oci/logging/models/update_log_details.rb +230 -0
- data/lib/oci/logging/models/update_log_group_details.rb +201 -0
- data/lib/oci/logging/models/update_log_saved_search_details.rb +223 -0
- data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +244 -0
- data/lib/oci/logging/models/work_request.rb +307 -0
- data/lib/oci/logging/models/work_request_error.rb +173 -0
- data/lib/oci/logging/models/work_request_log.rb +160 -0
- data/lib/oci/logging/models/work_request_resource.rb +219 -0
- data/lib/oci/logging/models/work_request_summary.rb +307 -0
- data/lib/oci/logging/util.rb +3 -0
- data/lib/oci/loggingingestion/logging_client.rb +169 -0
- data/lib/oci/loggingingestion/logging_client_composite_operations.rb +25 -0
- data/lib/oci/loggingingestion/loggingingestion.rb +22 -0
- data/lib/oci/loggingingestion/models/log_entry.rb +178 -0
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +201 -0
- data/lib/oci/loggingingestion/models/put_logs_details.rb +167 -0
- data/lib/oci/loggingingestion/util.rb +3 -0
- data/lib/oci/loggingsearch/log_search_client.rb +169 -0
- data/lib/oci/loggingsearch/log_search_client_composite_operations.rb +25 -0
- data/lib/oci/loggingsearch/loggingsearch.rb +24 -0
- data/lib/oci/loggingsearch/models/field_info.rb +195 -0
- data/lib/oci/loggingsearch/models/search_logs_details.rb +202 -0
- data/lib/oci/loggingsearch/models/search_response.rb +170 -0
- data/lib/oci/loggingsearch/models/search_result.rb +150 -0
- data/lib/oci/loggingsearch/models/search_result_summary.rb +168 -0
- data/lib/oci/loggingsearch/util.rb +3 -0
- data/lib/oci/management_agent/management_agent.rb +48 -0
- data/lib/oci/management_agent/management_agent_client.rb +1382 -0
- data/lib/oci/management_agent/management_agent_client_composite_operations.rb +273 -0
- data/lib/oci/management_agent/models/action_types.rb +14 -0
- data/lib/oci/management_agent/models/create_management_agent_install_key_details.rb +196 -0
- data/lib/oci/management_agent/models/datatypes.rb +14 -0
- data/lib/oci/management_agent/models/deploy_plugins_details.rb +182 -0
- data/lib/oci/management_agent/models/edit_modes.rb +12 -0
- data/lib/oci/management_agent/models/lifecycle_states.rb +17 -0
- data/lib/oci/management_agent/models/management_agent.rb +443 -0
- data/lib/oci/management_agent/models/management_agent_error.rb +160 -0
- data/lib/oci/management_agent/models/management_agent_image.rb +268 -0
- data/lib/oci/management_agent/models/management_agent_image_summary.rb +281 -0
- data/lib/oci/management_agent/models/management_agent_install_key.rb +326 -0
- data/lib/oci/management_agent/models/management_agent_install_key_summary.rb +302 -0
- data/lib/oci/management_agent/models/management_agent_plugin.rb +257 -0
- data/lib/oci/management_agent/models/management_agent_plugin_details.rb +196 -0
- data/lib/oci/management_agent/models/management_agent_plugin_summary.rb +264 -0
- data/lib/oci/management_agent/models/management_agent_summary.rb +401 -0
- data/lib/oci/management_agent/models/operation_status.rb +16 -0
- data/lib/oci/management_agent/models/operation_types.rb +12 -0
- data/lib/oci/management_agent/models/platform_types.rb +11 -0
- data/lib/oci/management_agent/models/update_management_agent_details.rb +200 -0
- data/lib/oci/management_agent/models/update_management_agent_install_key_details.rb +168 -0
- data/lib/oci/management_agent/models/work_delivery_status.rb +15 -0
- data/lib/oci/management_agent/models/work_request.rb +308 -0
- data/lib/oci/management_agent/models/work_request_error.rb +173 -0
- data/lib/oci/management_agent/models/work_request_log_entry.rb +160 -0
- data/lib/oci/management_agent/models/work_request_resource.rb +281 -0
- data/lib/oci/management_agent/models/work_request_summary.rb +308 -0
- data/lib/oci/management_agent/models/work_submission_key.rb +154 -0
- data/lib/oci/management_agent/util.rb +3 -0
- data/lib/oci/management_dashboard/dashx_apis_client.rb +1025 -0
- data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +25 -0
- data/lib/oci/management_dashboard/management_dashboard.rb +39 -0
- data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +154 -0
- data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +154 -0
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +408 -0
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +395 -0
- data/lib/oci/management_dashboard/models/lifecycle_states.rb +10 -0
- data/lib/oci/management_dashboard/models/management_dashboard.rb +478 -0
- data/lib/oci/management_dashboard/models/management_dashboard_collection.rb +150 -0
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +182 -0
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +422 -0
- data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +182 -0
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +375 -0
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +291 -0
- data/lib/oci/management_dashboard/models/management_saved_search.rb +458 -0
- data/lib/oci/management_dashboard/models/management_saved_search_collection.rb +150 -0
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +402 -0
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +434 -0
- data/lib/oci/management_dashboard/models/saved_search_types.rb +13 -0
- data/lib/oci/management_dashboard/models/sort_orders.rb +11 -0
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +394 -0
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +385 -0
- data/lib/oci/management_dashboard/util.rb +3 -0
- data/lib/oci/marketplace/marketplace.rb +1 -0
- data/lib/oci/marketplace/marketplace_client.rb +59 -11
- data/lib/oci/marketplace/models/image_listing_package.rb +3 -2
- data/lib/oci/marketplace/models/listing.rb +2 -1
- data/lib/oci/marketplace/models/listing_package_summary.rb +3 -2
- data/lib/oci/marketplace/models/listing_summary.rb +2 -1
- data/lib/oci/marketplace/models/orchestration_listing_package.rb +2 -1
- data/lib/oci/marketplace/models/tax_summary.rb +180 -0
- data/lib/oci/monitoring/monitoring_client.rb +1 -10
- data/lib/oci/mysql/db_backups_client.rb +1 -10
- data/lib/oci/mysql/db_system_client.rb +1 -10
- data/lib/oci/mysql/mysqlaas_client.rb +1 -10
- data/lib/oci/mysql/work_requests_client.rb +1 -10
- data/lib/oci/nosql/nosql_client.rb +1 -10
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +13 -2
- data/lib/oci/object_storage/models/reencrypt_object_details.rb +195 -0
- data/lib/oci/object_storage/models/sse_customer_key_details.rb +191 -0
- data/lib/oci/object_storage/object_storage.rb +2 -0
- data/lib/oci/object_storage/object_storage_client.rb +116 -32
- data/lib/oci/oce/models/create_oce_instance_details.rb +28 -1
- data/lib/oci/oce/models/identity_stripe_details.rb +1 -1
- data/lib/oci/oce/models/license_type.rb +11 -0
- data/lib/oci/oce/models/oce_instance.rb +34 -1
- data/lib/oci/oce/models/oce_instance_summary.rb +34 -1
- data/lib/oci/oce/models/update_oce_instance_details.rb +28 -1
- data/lib/oci/oce/oce.rb +1 -0
- data/lib/oci/oce/oce_instance_client.rb +1 -10
- data/lib/oci/ocvp/esxi_host_client.rb +477 -0
- data/lib/oci/ocvp/esxi_host_client_composite_operations.rb +165 -0
- data/lib/oci/ocvp/models/action_types.rb +14 -0
- data/lib/oci/ocvp/models/change_sddc_compartment_details.rb +156 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +213 -0
- data/lib/oci/ocvp/models/create_sddc_details.rb +443 -0
- data/lib/oci/ocvp/models/esxi_host.rb +332 -0
- data/lib/oci/ocvp/models/esxi_host_collection.rb +150 -0
- data/lib/oci/ocvp/models/esxi_host_summary.rb +324 -0
- data/lib/oci/ocvp/models/lifecycle_states.rb +15 -0
- data/lib/oci/ocvp/models/operation_status.rb +15 -0
- data/lib/oci/ocvp/models/operation_types.rb +13 -0
- data/lib/oci/ocvp/models/sddc.rb +795 -0
- data/lib/oci/ocvp/models/sddc_collection.rb +150 -0
- data/lib/oci/ocvp/models/sddc_summary.rb +386 -0
- data/lib/oci/ocvp/models/sort_orders.rb +11 -0
- data/lib/oci/ocvp/models/supported_vmware_software_version_collection.rb +150 -0
- data/lib/oci/ocvp/models/supported_vmware_software_version_summary.rb +163 -0
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +192 -0
- data/lib/oci/ocvp/models/update_sddc_details.rb +349 -0
- data/lib/oci/ocvp/models/work_request.rb +309 -0
- data/lib/oci/ocvp/models/work_request_collection.rb +150 -0
- data/lib/oci/ocvp/models/work_request_error.rb +175 -0
- data/lib/oci/ocvp/models/work_request_error_collection.rb +150 -0
- data/lib/oci/ocvp/models/work_request_log_entry.rb +163 -0
- data/lib/oci/ocvp/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/ocvp/models/work_request_resource.rb +222 -0
- data/lib/oci/ocvp/ocvp.rb +48 -0
- data/lib/oci/ocvp/sddc_client.rb +610 -0
- data/lib/oci/ocvp/sddc_client_composite_operations.rb +165 -0
- data/lib/oci/ocvp/util.rb +3 -0
- data/lib/oci/ocvp/work_request_client.rb +361 -0
- data/lib/oci/ocvp/work_request_client_composite_operations.rb +25 -0
- data/lib/oci/oda/oda_client.rb +1 -10
- data/lib/oci/ons/notification_control_plane_client.rb +1 -10
- data/lib/oci/ons/notification_data_plane_client.rb +1 -10
- data/lib/oci/os_management/os_management_client.rb +1 -10
- data/lib/oci/regions.rb +27 -3
- data/lib/oci/resource_manager/models/change_configuration_source_provider_compartment_details.rb +157 -0
- data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +1 -1
- data/lib/oci/resource_manager/models/compartment_config_source.rb +201 -0
- data/lib/oci/resource_manager/models/config_source.rb +5 -0
- data/lib/oci/resource_manager/models/config_source_record.rb +193 -0
- data/lib/oci/resource_manager/models/configuration_source_provider.rb +327 -0
- data/lib/oci/resource_manager/models/configuration_source_provider_collection.rb +151 -0
- data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +291 -0
- data/lib/oci/resource_manager/models/create_compartment_config_source_details.rb +199 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +4 -1
- data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +246 -0
- data/lib/oci/resource_manager/models/create_git_config_source_details.rb +199 -0
- data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +200 -0
- data/lib/oci/resource_manager/models/create_stack_details.rb +3 -2
- data/lib/oci/resource_manager/models/failure_details.rb +2 -0
- data/lib/oci/resource_manager/models/git_config_source.rb +198 -0
- data/lib/oci/resource_manager/models/git_config_source_record.rb +207 -0
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +198 -0
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +198 -0
- data/lib/oci/resource_manager/models/job.rb +29 -7
- data/lib/oci/resource_manager/models/job_summary.rb +8 -2
- data/lib/oci/resource_manager/models/log_entry.rb +4 -1
- data/lib/oci/resource_manager/models/resource_discovery_service_collection.rb +151 -0
- data/lib/oci/resource_manager/models/resource_discovery_service_summary.rb +190 -0
- data/lib/oci/resource_manager/models/stack.rb +10 -5
- data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +1 -1
- data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +3 -2
- data/lib/oci/resource_manager/models/stack_summary.rb +7 -3
- data/lib/oci/resource_manager/models/update_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +230 -0
- data/lib/oci/resource_manager/models/update_git_config_source_details.rb +198 -0
- data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +196 -0
- data/lib/oci/resource_manager/models/update_stack_details.rb +2 -2
- data/lib/oci/resource_manager/models/work_request.rb +13 -3
- data/lib/oci/resource_manager/models/work_request_error.rb +4 -1
- data/lib/oci/resource_manager/models/work_request_log_entry.rb +4 -1
- data/lib/oci/resource_manager/models/work_request_summary.rb +12 -3
- data/lib/oci/resource_manager/models/zip_upload_config_source_record.rb +146 -0
- data/lib/oci/resource_manager/resource_manager.rb +20 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +487 -16
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +138 -6
- data/lib/oci/resource_search/resource_search_client.rb +5 -11
- data/lib/oci/sch/models/action_type.rb +14 -0
- data/lib/oci/sch/models/change_service_connector_compartment_details.rb +157 -0
- data/lib/oci/sch/models/create_service_connector_details.rb +247 -0
- data/lib/oci/sch/models/functions_target_details.rb +164 -0
- data/lib/oci/sch/models/lifecycle_state.rb +16 -0
- data/lib/oci/sch/models/log_rule_task_details.rb +160 -0
- data/lib/oci/sch/models/log_source.rb +186 -0
- data/lib/oci/sch/models/logging_source_details.rb +164 -0
- data/lib/oci/sch/models/monitoring_target_details.rb +194 -0
- data/lib/oci/sch/models/notifications_target_details.rb +164 -0
- data/lib/oci/sch/models/object_storage_target_details.rb +190 -0
- data/lib/oci/sch/models/operation_status.rb +15 -0
- data/lib/oci/sch/models/operation_type.rb +14 -0
- data/lib/oci/sch/models/service_connector.rb +365 -0
- data/lib/oci/sch/models/service_connector_collection.rb +152 -0
- data/lib/oci/sch/models/service_connector_summary.rb +334 -0
- data/lib/oci/sch/models/sort_order.rb +11 -0
- data/lib/oci/sch/models/source_details.rb +190 -0
- data/lib/oci/sch/models/streaming_target_details.rb +164 -0
- data/lib/oci/sch/models/target_details.rb +198 -0
- data/lib/oci/sch/models/task_details.rb +190 -0
- data/lib/oci/sch/models/update_service_connector_details.rb +229 -0
- data/lib/oci/sch/models/work_request.rb +325 -0
- data/lib/oci/sch/models/work_request_collection.rb +152 -0
- data/lib/oci/sch/models/work_request_error.rb +178 -0
- data/lib/oci/sch/models/work_request_error_collection.rb +152 -0
- data/lib/oci/sch/models/work_request_log_entry.rb +165 -0
- data/lib/oci/sch/models/work_request_log_entry_collection.rb +152 -0
- data/lib/oci/sch/models/work_request_resource.rb +223 -0
- data/lib/oci/sch/sch.rb +49 -0
- data/lib/oci/sch/service_connector_client.rb +958 -0
- data/lib/oci/sch/service_connector_client_composite_operations.rb +329 -0
- data/lib/oci/sch/util.rb +3 -0
- data/lib/oci/secrets/secrets_client.rb +1 -10
- data/lib/oci/signer.rb +27 -4
- data/lib/oci/streaming/stream_admin_client.rb +1 -10
- data/lib/oci/streaming/stream_client.rb +1 -10
- data/lib/oci/usage_api/models/configuration.rb +161 -0
- data/lib/oci/usage_api/models/configuration_aggregation.rb +150 -0
- data/lib/oci/usage_api/models/dimension.rb +163 -0
- data/lib/oci/usage_api/models/filter.rb +194 -0
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +282 -0
- data/lib/oci/usage_api/models/tag.rb +171 -0
- data/lib/oci/usage_api/models/usage_aggregation.rb +164 -0
- data/lib/oci/usage_api/models/usage_summary.rb +460 -0
- data/lib/oci/usage_api/usage_api.rb +27 -0
- data/lib/oci/usage_api/usageapi_client.rb +223 -0
- data/lib/oci/usage_api/usageapi_client_composite_operations.rb +25 -0
- data/lib/oci/usage_api/util.rb +3 -0
- data/lib/oci/vault/vaults_client.rb +1 -10
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/redirect_client.rb +1 -10
- data/lib/oci/waas/waas_client.rb +1 -10
- data/lib/oci/work_requests/work_request_client.rb +1 -10
- metadata +1226 -5
@@ -11,10 +11,30 @@ module OCI
|
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :bda_version
|
13
13
|
|
14
|
-
#
|
14
|
+
# Big Data Manager version installed in the cluster
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :bdm_version
|
17
17
|
|
18
|
+
# Big Data Service version installed in the cluster
|
19
|
+
# @return [String]
|
20
|
+
attr_accessor :bds_version
|
21
|
+
|
22
|
+
# Oracle Linux version installed in the cluster
|
23
|
+
# @return [String]
|
24
|
+
attr_accessor :os_version
|
25
|
+
|
26
|
+
# Query Server Database version
|
27
|
+
# @return [String]
|
28
|
+
attr_accessor :db_version
|
29
|
+
|
30
|
+
# Cloud SQL cell version
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :bd_cell_version
|
33
|
+
|
34
|
+
# Big Data SQL version
|
35
|
+
# @return [String]
|
36
|
+
attr_accessor :csql_cell_version
|
37
|
+
|
18
38
|
# **[Required]** The time the cluster was created. An RFC3339 formatted datetime string
|
19
39
|
# @return [DateTime]
|
20
40
|
attr_accessor :time_created
|
@@ -43,6 +63,11 @@ module OCI
|
|
43
63
|
# rubocop:disable Style/SymbolLiteral
|
44
64
|
'bda_version': :'bdaVersion',
|
45
65
|
'bdm_version': :'bdmVersion',
|
66
|
+
'bds_version': :'bdsVersion',
|
67
|
+
'os_version': :'osVersion',
|
68
|
+
'db_version': :'dbVersion',
|
69
|
+
'bd_cell_version': :'bdCellVersion',
|
70
|
+
'csql_cell_version': :'csqlCellVersion',
|
46
71
|
'time_created': :'timeCreated',
|
47
72
|
'time_refreshed': :'timeRefreshed',
|
48
73
|
'cloudera_manager_url': :'clouderaManagerUrl',
|
@@ -58,6 +83,11 @@ module OCI
|
|
58
83
|
# rubocop:disable Style/SymbolLiteral
|
59
84
|
'bda_version': :'String',
|
60
85
|
'bdm_version': :'String',
|
86
|
+
'bds_version': :'String',
|
87
|
+
'os_version': :'String',
|
88
|
+
'db_version': :'String',
|
89
|
+
'bd_cell_version': :'String',
|
90
|
+
'csql_cell_version': :'String',
|
61
91
|
'time_created': :'DateTime',
|
62
92
|
'time_refreshed': :'DateTime',
|
63
93
|
'cloudera_manager_url': :'String',
|
@@ -75,6 +105,11 @@ module OCI
|
|
75
105
|
# @param [Hash] attributes Model attributes in the form of hash
|
76
106
|
# @option attributes [String] :bda_version The value to assign to the {#bda_version} property
|
77
107
|
# @option attributes [String] :bdm_version The value to assign to the {#bdm_version} property
|
108
|
+
# @option attributes [String] :bds_version The value to assign to the {#bds_version} property
|
109
|
+
# @option attributes [String] :os_version The value to assign to the {#os_version} property
|
110
|
+
# @option attributes [String] :db_version The value to assign to the {#db_version} property
|
111
|
+
# @option attributes [String] :bd_cell_version The value to assign to the {#bd_cell_version} property
|
112
|
+
# @option attributes [String] :csql_cell_version The value to assign to the {#csql_cell_version} property
|
78
113
|
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
79
114
|
# @option attributes [DateTime] :time_refreshed The value to assign to the {#time_refreshed} property
|
80
115
|
# @option attributes [String] :cloudera_manager_url The value to assign to the {#cloudera_manager_url} property
|
@@ -98,6 +133,36 @@ module OCI
|
|
98
133
|
|
99
134
|
self.bdm_version = attributes[:'bdm_version'] if attributes[:'bdm_version']
|
100
135
|
|
136
|
+
self.bds_version = attributes[:'bdsVersion'] if attributes[:'bdsVersion']
|
137
|
+
|
138
|
+
raise 'You cannot provide both :bdsVersion and :bds_version' if attributes.key?(:'bdsVersion') && attributes.key?(:'bds_version')
|
139
|
+
|
140
|
+
self.bds_version = attributes[:'bds_version'] if attributes[:'bds_version']
|
141
|
+
|
142
|
+
self.os_version = attributes[:'osVersion'] if attributes[:'osVersion']
|
143
|
+
|
144
|
+
raise 'You cannot provide both :osVersion and :os_version' if attributes.key?(:'osVersion') && attributes.key?(:'os_version')
|
145
|
+
|
146
|
+
self.os_version = attributes[:'os_version'] if attributes[:'os_version']
|
147
|
+
|
148
|
+
self.db_version = attributes[:'dbVersion'] if attributes[:'dbVersion']
|
149
|
+
|
150
|
+
raise 'You cannot provide both :dbVersion and :db_version' if attributes.key?(:'dbVersion') && attributes.key?(:'db_version')
|
151
|
+
|
152
|
+
self.db_version = attributes[:'db_version'] if attributes[:'db_version']
|
153
|
+
|
154
|
+
self.bd_cell_version = attributes[:'bdCellVersion'] if attributes[:'bdCellVersion']
|
155
|
+
|
156
|
+
raise 'You cannot provide both :bdCellVersion and :bd_cell_version' if attributes.key?(:'bdCellVersion') && attributes.key?(:'bd_cell_version')
|
157
|
+
|
158
|
+
self.bd_cell_version = attributes[:'bd_cell_version'] if attributes[:'bd_cell_version']
|
159
|
+
|
160
|
+
self.csql_cell_version = attributes[:'csqlCellVersion'] if attributes[:'csqlCellVersion']
|
161
|
+
|
162
|
+
raise 'You cannot provide both :csqlCellVersion and :csql_cell_version' if attributes.key?(:'csqlCellVersion') && attributes.key?(:'csql_cell_version')
|
163
|
+
|
164
|
+
self.csql_cell_version = attributes[:'csql_cell_version'] if attributes[:'csql_cell_version']
|
165
|
+
|
101
166
|
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
102
167
|
|
103
168
|
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
@@ -142,6 +207,11 @@ module OCI
|
|
142
207
|
self.class == other.class &&
|
143
208
|
bda_version == other.bda_version &&
|
144
209
|
bdm_version == other.bdm_version &&
|
210
|
+
bds_version == other.bds_version &&
|
211
|
+
os_version == other.os_version &&
|
212
|
+
db_version == other.db_version &&
|
213
|
+
bd_cell_version == other.bd_cell_version &&
|
214
|
+
csql_cell_version == other.csql_cell_version &&
|
145
215
|
time_created == other.time_created &&
|
146
216
|
time_refreshed == other.time_refreshed &&
|
147
217
|
cloudera_manager_url == other.cloudera_manager_url &&
|
@@ -162,7 +232,7 @@ module OCI
|
|
162
232
|
# Calculates hash code according to all attributes.
|
163
233
|
# @return [Fixnum] Hash code
|
164
234
|
def hash
|
165
|
-
[bda_version, bdm_version, time_created, time_refreshed, cloudera_manager_url, big_data_manager_url, hue_server_url].hash
|
235
|
+
[bda_version, bdm_version, bds_version, os_version, db_version, bd_cell_version, csql_cell_version, time_created, time_refreshed, cloudera_manager_url, big_data_manager_url, hue_server_url].hash
|
166
236
|
end
|
167
237
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
168
238
|
|
data/lib/oci/bds/models/node.rb
CHANGED
@@ -16,6 +16,8 @@ module OCI
|
|
16
16
|
LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
|
17
17
|
LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
|
18
18
|
LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
|
19
|
+
LIFECYCLE_STATE_STOPPING = 'STOPPING'.freeze,
|
20
|
+
LIFECYCLE_STATE_STARTING = 'STARTING'.freeze,
|
19
21
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
20
22
|
].freeze
|
21
23
|
|
@@ -11,7 +11,10 @@ module OCI
|
|
11
11
|
OPERATION_TYPES_ADD_WORKER_NODES = 'ADD_WORKER_NODES'.freeze,
|
12
12
|
OPERATION_TYPES_ADD_CLOUD_SQL = 'ADD_CLOUD_SQL'.freeze,
|
13
13
|
OPERATION_TYPES_REMOVE_CLOUD_SQL = 'REMOVE_CLOUD_SQL'.freeze,
|
14
|
-
OPERATION_TYPES_CHANGE_COMPARTMENT_FOR_BDS = 'CHANGE_COMPARTMENT_FOR_BDS'.freeze
|
14
|
+
OPERATION_TYPES_CHANGE_COMPARTMENT_FOR_BDS = 'CHANGE_COMPARTMENT_FOR_BDS'.freeze,
|
15
|
+
OPERATION_TYPES_CHANGE_SHAPE = 'CHANGE_SHAPE'.freeze,
|
16
|
+
OPERATION_TYPES_UPDATE_INFRA = 'UPDATE_INFRA'.freeze,
|
17
|
+
OPERATION_TYPES_RESTART_NODE = 'RESTART_NODE'.freeze
|
15
18
|
].freeze
|
16
19
|
end
|
17
20
|
end
|
@@ -0,0 +1,154 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
|
+
module OCI
|
8
|
+
# The information about restarted node
|
9
|
+
class Bds::Models::RestartNodeDetails
|
10
|
+
# **[Required]** OCID of the BDS node which should be restarted
|
11
|
+
# @return [String]
|
12
|
+
attr_accessor :node_id
|
13
|
+
|
14
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
15
|
+
def self.attribute_map
|
16
|
+
{
|
17
|
+
# rubocop:disable Style/SymbolLiteral
|
18
|
+
'node_id': :'nodeId'
|
19
|
+
# rubocop:enable Style/SymbolLiteral
|
20
|
+
}
|
21
|
+
end
|
22
|
+
|
23
|
+
# Attribute type mapping.
|
24
|
+
def self.swagger_types
|
25
|
+
{
|
26
|
+
# rubocop:disable Style/SymbolLiteral
|
27
|
+
'node_id': :'String'
|
28
|
+
# rubocop:enable Style/SymbolLiteral
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
33
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
34
|
+
|
35
|
+
|
36
|
+
# Initializes the object
|
37
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
38
|
+
# @option attributes [String] :node_id The value to assign to the {#node_id} property
|
39
|
+
def initialize(attributes = {})
|
40
|
+
return unless attributes.is_a?(Hash)
|
41
|
+
|
42
|
+
# convert string to symbol for hash key
|
43
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
44
|
+
|
45
|
+
self.node_id = attributes[:'nodeId'] if attributes[:'nodeId']
|
46
|
+
|
47
|
+
raise 'You cannot provide both :nodeId and :node_id' if attributes.key?(:'nodeId') && attributes.key?(:'node_id')
|
48
|
+
|
49
|
+
self.node_id = attributes[:'node_id'] if attributes[:'node_id']
|
50
|
+
end
|
51
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
52
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
53
|
+
|
54
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
55
|
+
|
56
|
+
|
57
|
+
# Checks equality by comparing each attribute.
|
58
|
+
# @param [Object] other the other object to be compared
|
59
|
+
def ==(other)
|
60
|
+
return true if equal?(other)
|
61
|
+
|
62
|
+
self.class == other.class &&
|
63
|
+
node_id == other.node_id
|
64
|
+
end
|
65
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
66
|
+
|
67
|
+
# @see the `==` method
|
68
|
+
# @param [Object] other the other object to be compared
|
69
|
+
def eql?(other)
|
70
|
+
self == other
|
71
|
+
end
|
72
|
+
|
73
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
74
|
+
|
75
|
+
|
76
|
+
# Calculates hash code according to all attributes.
|
77
|
+
# @return [Fixnum] Hash code
|
78
|
+
def hash
|
79
|
+
[node_id].hash
|
80
|
+
end
|
81
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
82
|
+
|
83
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
84
|
+
|
85
|
+
|
86
|
+
# Builds the object from hash
|
87
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
88
|
+
# @return [Object] Returns the model itself
|
89
|
+
def build_from_hash(attributes)
|
90
|
+
return nil unless attributes.is_a?(Hash)
|
91
|
+
|
92
|
+
self.class.swagger_types.each_pair do |key, type|
|
93
|
+
if type =~ /^Array<(.*)>/i
|
94
|
+
# check to ensure the input is an array given that the the attribute
|
95
|
+
# is documented as an array but the input is not
|
96
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
97
|
+
public_method("#{key}=").call(
|
98
|
+
attributes[self.class.attribute_map[key]]
|
99
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
100
|
+
)
|
101
|
+
end
|
102
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
103
|
+
public_method("#{key}=").call(
|
104
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
105
|
+
)
|
106
|
+
end
|
107
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
108
|
+
end
|
109
|
+
|
110
|
+
self
|
111
|
+
end
|
112
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
113
|
+
|
114
|
+
# Returns the string representation of the object
|
115
|
+
# @return [String] String presentation of the object
|
116
|
+
def to_s
|
117
|
+
to_hash.to_s
|
118
|
+
end
|
119
|
+
|
120
|
+
# Returns the object in the form of hash
|
121
|
+
# @return [Hash] Returns the object in the form of hash
|
122
|
+
def to_hash
|
123
|
+
hash = {}
|
124
|
+
self.class.attribute_map.each_pair do |attr, param|
|
125
|
+
value = public_method(attr).call
|
126
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
127
|
+
|
128
|
+
hash[param] = _to_hash(value)
|
129
|
+
end
|
130
|
+
hash
|
131
|
+
end
|
132
|
+
|
133
|
+
private
|
134
|
+
|
135
|
+
# Outputs non-array value in the form of hash
|
136
|
+
# For object, use to_hash. Otherwise, just return the value
|
137
|
+
# @param [Object] value Any valid value
|
138
|
+
# @return [Hash] Returns the value in the form of hash
|
139
|
+
def _to_hash(value)
|
140
|
+
if value.is_a?(Array)
|
141
|
+
value.compact.map { |v| _to_hash(v) }
|
142
|
+
elsif value.is_a?(Hash)
|
143
|
+
{}.tap do |hash|
|
144
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
145
|
+
end
|
146
|
+
elsif value.respond_to? :to_hash
|
147
|
+
value.to_hash
|
148
|
+
else
|
149
|
+
value
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
154
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -17,6 +17,9 @@ module OCI
|
|
17
17
|
OPERATION_TYPE_ADD_CLOUD_SQL = 'ADD_CLOUD_SQL'.freeze,
|
18
18
|
OPERATION_TYPE_REMOVE_CLOUD_SQL = 'REMOVE_CLOUD_SQL'.freeze,
|
19
19
|
OPERATION_TYPE_CHANGE_COMPARTMENT_FOR_BDS = 'CHANGE_COMPARTMENT_FOR_BDS'.freeze,
|
20
|
+
OPERATION_TYPE_CHANGE_SHAPE = 'CHANGE_SHAPE'.freeze,
|
21
|
+
OPERATION_TYPE_UPDATE_INFRA = 'UPDATE_INFRA'.freeze,
|
22
|
+
OPERATION_TYPE_RESTART_NODE = 'RESTART_NODE'.freeze,
|
20
23
|
OPERATION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
21
24
|
].freeze
|
22
25
|
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
module OCI
|
5
|
+
module Blockchain
|
6
|
+
# Module containing models for requests made to, and responses received from,
|
7
|
+
# OCI Blockchain services
|
8
|
+
module Models
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
# Require models
|
14
|
+
require 'oci/blockchain/models/availability_domain'
|
15
|
+
require 'oci/blockchain/models/blockchain_platform'
|
16
|
+
require 'oci/blockchain/models/blockchain_platform_by_hostname'
|
17
|
+
require 'oci/blockchain/models/blockchain_platform_collection'
|
18
|
+
require 'oci/blockchain/models/blockchain_platform_component_details'
|
19
|
+
require 'oci/blockchain/models/blockchain_platform_summary'
|
20
|
+
require 'oci/blockchain/models/change_blockchain_platform_compartment_details'
|
21
|
+
require 'oci/blockchain/models/create_blockchain_platform_details'
|
22
|
+
require 'oci/blockchain/models/create_osn_details'
|
23
|
+
require 'oci/blockchain/models/create_peer_details'
|
24
|
+
require 'oci/blockchain/models/metadata_details'
|
25
|
+
require 'oci/blockchain/models/modify_peer_details'
|
26
|
+
require 'oci/blockchain/models/ocpu_allocation_number_param'
|
27
|
+
require 'oci/blockchain/models/ocpu_utilization_info'
|
28
|
+
require 'oci/blockchain/models/osn'
|
29
|
+
require 'oci/blockchain/models/osn_collection'
|
30
|
+
require 'oci/blockchain/models/osn_summary'
|
31
|
+
require 'oci/blockchain/models/peer'
|
32
|
+
require 'oci/blockchain/models/peer_collection'
|
33
|
+
require 'oci/blockchain/models/peer_role'
|
34
|
+
require 'oci/blockchain/models/peer_summary'
|
35
|
+
require 'oci/blockchain/models/replica_details'
|
36
|
+
require 'oci/blockchain/models/scale_blockchain_platform_details'
|
37
|
+
require 'oci/blockchain/models/scale_storage_details'
|
38
|
+
require 'oci/blockchain/models/scaled_blockchain_platform_preview'
|
39
|
+
require 'oci/blockchain/models/scaled_platform_metering_preview'
|
40
|
+
require 'oci/blockchain/models/update_blockchain_platform_details'
|
41
|
+
require 'oci/blockchain/models/update_osn_details'
|
42
|
+
require 'oci/blockchain/models/update_peer_details'
|
43
|
+
require 'oci/blockchain/models/work_request'
|
44
|
+
require 'oci/blockchain/models/work_request_collection'
|
45
|
+
require 'oci/blockchain/models/work_request_error'
|
46
|
+
require 'oci/blockchain/models/work_request_error_collection'
|
47
|
+
require 'oci/blockchain/models/work_request_log_entry'
|
48
|
+
require 'oci/blockchain/models/work_request_log_entry_collection'
|
49
|
+
require 'oci/blockchain/models/work_request_resource'
|
50
|
+
require 'oci/blockchain/models/work_request_summary'
|
51
|
+
|
52
|
+
# Require generated clients
|
53
|
+
require 'oci/blockchain/blockchain_platform_client'
|
54
|
+
require 'oci/blockchain/blockchain_platform_client_composite_operations'
|
55
|
+
|
56
|
+
# Require service utilities
|
57
|
+
require 'oci/blockchain/util'
|
@@ -0,0 +1,1715 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'uri'
|
5
|
+
require 'logger'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# Blockchain Platform Control Plane API
|
10
|
+
class Blockchain::BlockchainPlatformClient
|
11
|
+
# Client used to make HTTP requests.
|
12
|
+
# @return [OCI::ApiClient]
|
13
|
+
attr_reader :api_client
|
14
|
+
|
15
|
+
# Fully qualified endpoint URL
|
16
|
+
# @return [String]
|
17
|
+
attr_reader :endpoint
|
18
|
+
|
19
|
+
# The default retry configuration to apply to all operations in this service client. This can be overridden
|
20
|
+
# on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
21
|
+
# will not perform any retries
|
22
|
+
# @return [OCI::Retry::RetryConfig]
|
23
|
+
attr_reader :retry_config
|
24
|
+
|
25
|
+
# The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
|
26
|
+
# @return [String]
|
27
|
+
attr_reader :region
|
28
|
+
|
29
|
+
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
30
|
+
|
31
|
+
|
32
|
+
# Creates a new BlockchainPlatformClient.
|
33
|
+
# Notes:
|
34
|
+
# If a config is not specified, then the global OCI.config will be used.
|
35
|
+
#
|
36
|
+
# This client is not thread-safe
|
37
|
+
#
|
38
|
+
# Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
|
39
|
+
# region. A region may be specified in the config or via or the region parameter. If specified in both, then the
|
40
|
+
# region parameter will be used.
|
41
|
+
# @param [Config] config A Config object.
|
42
|
+
# @param [String] region A region used to determine the service endpoint. This will usually
|
43
|
+
# correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
|
44
|
+
# @param [String] endpoint The fully qualified endpoint URL
|
45
|
+
# @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
|
46
|
+
# a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
|
47
|
+
# so that the instance principals signer can be provided to the client
|
48
|
+
# @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
|
49
|
+
# the details for the proxy can be provided in this parameter
|
50
|
+
# @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
|
51
|
+
# apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
52
|
+
# will not perform any retries
|
53
|
+
def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
54
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
|
55
|
+
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
56
|
+
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
57
|
+
# pass it to this constructor.
|
58
|
+
#
|
59
|
+
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
60
|
+
# so try and load the config from the default file.
|
61
|
+
config = OCI::Config.validate_and_build_config_with_signer(config, signer)
|
62
|
+
|
63
|
+
signer = OCI::Signer.config_file_auth_builder(config) if signer.nil?
|
64
|
+
|
65
|
+
@api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
|
66
|
+
@retry_config = retry_config
|
67
|
+
|
68
|
+
if endpoint
|
69
|
+
@endpoint = endpoint + '/20191010'
|
70
|
+
else
|
71
|
+
region ||= config.region
|
72
|
+
region ||= signer.region if signer.respond_to?(:region)
|
73
|
+
self.region = region
|
74
|
+
end
|
75
|
+
logger.info "BlockchainPlatformClient endpoint set to '#{@endpoint}'." if logger
|
76
|
+
end
|
77
|
+
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
|
78
|
+
|
79
|
+
# Set the region that will be used to determine the service endpoint.
|
80
|
+
# This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
|
81
|
+
# but may be an arbitrary string.
|
82
|
+
def region=(new_region)
|
83
|
+
@region = new_region
|
84
|
+
|
85
|
+
raise 'A region must be specified.' unless @region
|
86
|
+
|
87
|
+
@endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://blockchain.{region}.oci.{secondLevelDomain}') + '/20191010'
|
88
|
+
logger.info "BlockchainPlatformClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
|
89
|
+
end
|
90
|
+
|
91
|
+
# @return [Logger] The logger for this client. May be nil.
|
92
|
+
def logger
|
93
|
+
@api_client.config.logger
|
94
|
+
end
|
95
|
+
|
96
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
97
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
98
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
99
|
+
|
100
|
+
|
101
|
+
# Change Blockchain Platform Compartment
|
102
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
103
|
+
# @param [OCI::Blockchain::Models::ChangeBlockchainPlatformCompartmentDetails] change_blockchain_platform_compartment_details Input payload to move the resource to a different compartment.
|
104
|
+
#
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
107
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
108
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
109
|
+
# for a resource, set the `if-match` parameter to the value of the
|
110
|
+
# etag from a previous GET or POST response for that resource.
|
111
|
+
# The resource will be updated or deleted only if the etag you
|
112
|
+
# provide matches the resource's current etag value.
|
113
|
+
#
|
114
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
115
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
116
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
117
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
118
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
119
|
+
# might be rejected.
|
120
|
+
#
|
121
|
+
# @return [Response] A Response object with data of type nil
|
122
|
+
def change_blockchain_platform_compartment(blockchain_platform_id, change_blockchain_platform_compartment_details, opts = {})
|
123
|
+
logger.debug 'Calling operation BlockchainPlatformClient#change_blockchain_platform_compartment.' if logger
|
124
|
+
|
125
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling change_blockchain_platform_compartment." if blockchain_platform_id.nil?
|
126
|
+
raise "Missing the required parameter 'change_blockchain_platform_compartment_details' when calling change_blockchain_platform_compartment." if change_blockchain_platform_compartment_details.nil?
|
127
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
128
|
+
|
129
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/actions/changeCompartment'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
130
|
+
operation_signing_strategy = :standard
|
131
|
+
|
132
|
+
# rubocop:disable Style/NegatedIf
|
133
|
+
# Query Params
|
134
|
+
query_params = {}
|
135
|
+
|
136
|
+
# Header Params
|
137
|
+
header_params = {}
|
138
|
+
header_params[:accept] = 'application/json'
|
139
|
+
header_params[:'content-type'] = 'application/json'
|
140
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
141
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
142
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
143
|
+
# rubocop:enable Style/NegatedIf
|
144
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
145
|
+
|
146
|
+
post_body = @api_client.object_to_http_body(change_blockchain_platform_compartment_details)
|
147
|
+
|
148
|
+
# rubocop:disable Metrics/BlockLength
|
149
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#change_blockchain_platform_compartment') do
|
150
|
+
@api_client.call_api(
|
151
|
+
:POST,
|
152
|
+
path,
|
153
|
+
endpoint,
|
154
|
+
header_params: header_params,
|
155
|
+
query_params: query_params,
|
156
|
+
operation_signing_strategy: operation_signing_strategy,
|
157
|
+
body: post_body
|
158
|
+
)
|
159
|
+
end
|
160
|
+
# rubocop:enable Metrics/BlockLength
|
161
|
+
end
|
162
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
163
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
164
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
165
|
+
|
166
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
167
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
168
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
169
|
+
|
170
|
+
|
171
|
+
# Creates a new Blockchain Platform.
|
172
|
+
#
|
173
|
+
# @param [OCI::Blockchain::Models::CreateBlockchainPlatformDetails] create_blockchain_platform_details Details for the new service.
|
174
|
+
# @param [Hash] opts the optional parameters
|
175
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
176
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
177
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
178
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
179
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
180
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
181
|
+
# might be rejected.
|
182
|
+
#
|
183
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
184
|
+
# @return [Response] A Response object with data of type nil
|
185
|
+
def create_blockchain_platform(create_blockchain_platform_details, opts = {})
|
186
|
+
logger.debug 'Calling operation BlockchainPlatformClient#create_blockchain_platform.' if logger
|
187
|
+
|
188
|
+
raise "Missing the required parameter 'create_blockchain_platform_details' when calling create_blockchain_platform." if create_blockchain_platform_details.nil?
|
189
|
+
|
190
|
+
path = '/blockchainPlatforms'
|
191
|
+
operation_signing_strategy = :standard
|
192
|
+
|
193
|
+
# rubocop:disable Style/NegatedIf
|
194
|
+
# Query Params
|
195
|
+
query_params = {}
|
196
|
+
|
197
|
+
# Header Params
|
198
|
+
header_params = {}
|
199
|
+
header_params[:accept] = 'application/json'
|
200
|
+
header_params[:'content-type'] = 'application/json'
|
201
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
202
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
203
|
+
# rubocop:enable Style/NegatedIf
|
204
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
205
|
+
|
206
|
+
post_body = @api_client.object_to_http_body(create_blockchain_platform_details)
|
207
|
+
|
208
|
+
# rubocop:disable Metrics/BlockLength
|
209
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#create_blockchain_platform') do
|
210
|
+
@api_client.call_api(
|
211
|
+
:POST,
|
212
|
+
path,
|
213
|
+
endpoint,
|
214
|
+
header_params: header_params,
|
215
|
+
query_params: query_params,
|
216
|
+
operation_signing_strategy: operation_signing_strategy,
|
217
|
+
body: post_body
|
218
|
+
)
|
219
|
+
end
|
220
|
+
# rubocop:enable Metrics/BlockLength
|
221
|
+
end
|
222
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
223
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
224
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
225
|
+
|
226
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
227
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
228
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
229
|
+
|
230
|
+
|
231
|
+
# Create Blockchain Platform Osn
|
232
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
233
|
+
# @param [OCI::Blockchain::Models::CreateOsnDetails] create_osn_details Input payload to create blockchain platform OSN. The payload cannot be empty.
|
234
|
+
#
|
235
|
+
# @param [Hash] opts the optional parameters
|
236
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
237
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
238
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
239
|
+
# for a resource, set the `if-match` parameter to the value of the
|
240
|
+
# etag from a previous GET or POST response for that resource.
|
241
|
+
# The resource will be updated or deleted only if the etag you
|
242
|
+
# provide matches the resource's current etag value.
|
243
|
+
#
|
244
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
245
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
246
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
247
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
248
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
249
|
+
# might be rejected.
|
250
|
+
#
|
251
|
+
# @return [Response] A Response object with data of type nil
|
252
|
+
def create_osn(blockchain_platform_id, create_osn_details, opts = {})
|
253
|
+
logger.debug 'Calling operation BlockchainPlatformClient#create_osn.' if logger
|
254
|
+
|
255
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling create_osn." if blockchain_platform_id.nil?
|
256
|
+
raise "Missing the required parameter 'create_osn_details' when calling create_osn." if create_osn_details.nil?
|
257
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
258
|
+
|
259
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/osns'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
260
|
+
operation_signing_strategy = :standard
|
261
|
+
|
262
|
+
# rubocop:disable Style/NegatedIf
|
263
|
+
# Query Params
|
264
|
+
query_params = {}
|
265
|
+
|
266
|
+
# Header Params
|
267
|
+
header_params = {}
|
268
|
+
header_params[:accept] = 'application/json'
|
269
|
+
header_params[:'content-type'] = 'application/json'
|
270
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
271
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
272
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
273
|
+
# rubocop:enable Style/NegatedIf
|
274
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
275
|
+
|
276
|
+
post_body = @api_client.object_to_http_body(create_osn_details)
|
277
|
+
|
278
|
+
# rubocop:disable Metrics/BlockLength
|
279
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#create_osn') do
|
280
|
+
@api_client.call_api(
|
281
|
+
:POST,
|
282
|
+
path,
|
283
|
+
endpoint,
|
284
|
+
header_params: header_params,
|
285
|
+
query_params: query_params,
|
286
|
+
operation_signing_strategy: operation_signing_strategy,
|
287
|
+
body: post_body
|
288
|
+
)
|
289
|
+
end
|
290
|
+
# rubocop:enable Metrics/BlockLength
|
291
|
+
end
|
292
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
293
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
294
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
295
|
+
|
296
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
297
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
298
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
299
|
+
|
300
|
+
|
301
|
+
# Create Blockchain Platform Peer
|
302
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
303
|
+
# @param [OCI::Blockchain::Models::CreatePeerDetails] create_peer_details Input payload to create a blockchain platform peer. The payload cannot be empty.
|
304
|
+
#
|
305
|
+
# @param [Hash] opts the optional parameters
|
306
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
307
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
308
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
309
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
310
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
311
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
312
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
313
|
+
# might be rejected.
|
314
|
+
#
|
315
|
+
# @return [Response] A Response object with data of type nil
|
316
|
+
def create_peer(blockchain_platform_id, create_peer_details, opts = {})
|
317
|
+
logger.debug 'Calling operation BlockchainPlatformClient#create_peer.' if logger
|
318
|
+
|
319
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling create_peer." if blockchain_platform_id.nil?
|
320
|
+
raise "Missing the required parameter 'create_peer_details' when calling create_peer." if create_peer_details.nil?
|
321
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
322
|
+
|
323
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/peers'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
324
|
+
operation_signing_strategy = :standard
|
325
|
+
|
326
|
+
# rubocop:disable Style/NegatedIf
|
327
|
+
# Query Params
|
328
|
+
query_params = {}
|
329
|
+
|
330
|
+
# Header Params
|
331
|
+
header_params = {}
|
332
|
+
header_params[:accept] = 'application/json'
|
333
|
+
header_params[:'content-type'] = 'application/json'
|
334
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
335
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
336
|
+
# rubocop:enable Style/NegatedIf
|
337
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
338
|
+
|
339
|
+
post_body = @api_client.object_to_http_body(create_peer_details)
|
340
|
+
|
341
|
+
# rubocop:disable Metrics/BlockLength
|
342
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#create_peer') do
|
343
|
+
@api_client.call_api(
|
344
|
+
:POST,
|
345
|
+
path,
|
346
|
+
endpoint,
|
347
|
+
header_params: header_params,
|
348
|
+
query_params: query_params,
|
349
|
+
operation_signing_strategy: operation_signing_strategy,
|
350
|
+
body: post_body
|
351
|
+
)
|
352
|
+
end
|
353
|
+
# rubocop:enable Metrics/BlockLength
|
354
|
+
end
|
355
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
356
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
357
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
358
|
+
|
359
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
360
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
361
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
362
|
+
|
363
|
+
|
364
|
+
# Delete a particular of a Blockchain Platform
|
365
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
366
|
+
# @param [Hash] opts the optional parameters
|
367
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
368
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
369
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
370
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
371
|
+
# for a resource, set the `if-match` parameter to the value of the
|
372
|
+
# etag from a previous GET or POST response for that resource.
|
373
|
+
# The resource will be updated or deleted only if the etag you
|
374
|
+
# provide matches the resource's current etag value.
|
375
|
+
#
|
376
|
+
# @return [Response] A Response object with data of type nil
|
377
|
+
def delete_blockchain_platform(blockchain_platform_id, opts = {})
|
378
|
+
logger.debug 'Calling operation BlockchainPlatformClient#delete_blockchain_platform.' if logger
|
379
|
+
|
380
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling delete_blockchain_platform." if blockchain_platform_id.nil?
|
381
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
382
|
+
|
383
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
384
|
+
operation_signing_strategy = :standard
|
385
|
+
|
386
|
+
# rubocop:disable Style/NegatedIf
|
387
|
+
# Query Params
|
388
|
+
query_params = {}
|
389
|
+
|
390
|
+
# Header Params
|
391
|
+
header_params = {}
|
392
|
+
header_params[:accept] = 'application/json'
|
393
|
+
header_params[:'content-type'] = 'application/json'
|
394
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
395
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
396
|
+
# rubocop:enable Style/NegatedIf
|
397
|
+
|
398
|
+
post_body = nil
|
399
|
+
|
400
|
+
# rubocop:disable Metrics/BlockLength
|
401
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#delete_blockchain_platform') do
|
402
|
+
@api_client.call_api(
|
403
|
+
:DELETE,
|
404
|
+
path,
|
405
|
+
endpoint,
|
406
|
+
header_params: header_params,
|
407
|
+
query_params: query_params,
|
408
|
+
operation_signing_strategy: operation_signing_strategy,
|
409
|
+
body: post_body
|
410
|
+
)
|
411
|
+
end
|
412
|
+
# rubocop:enable Metrics/BlockLength
|
413
|
+
end
|
414
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
415
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
416
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
417
|
+
|
418
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
419
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
420
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
421
|
+
|
422
|
+
|
423
|
+
# Delete a particular OSN of a Blockchain Platform
|
424
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
425
|
+
# @param [String] osn_id OSN identifier.
|
426
|
+
# @param [Hash] opts the optional parameters
|
427
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
428
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
429
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
430
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
431
|
+
# for a resource, set the `if-match` parameter to the value of the
|
432
|
+
# etag from a previous GET or POST response for that resource.
|
433
|
+
# The resource will be updated or deleted only if the etag you
|
434
|
+
# provide matches the resource's current etag value.
|
435
|
+
#
|
436
|
+
# @return [Response] A Response object with data of type nil
|
437
|
+
def delete_osn(blockchain_platform_id, osn_id, opts = {})
|
438
|
+
logger.debug 'Calling operation BlockchainPlatformClient#delete_osn.' if logger
|
439
|
+
|
440
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling delete_osn." if blockchain_platform_id.nil?
|
441
|
+
raise "Missing the required parameter 'osn_id' when calling delete_osn." if osn_id.nil?
|
442
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
443
|
+
raise "Parameter value for 'osn_id' must not be blank" if OCI::Internal::Util.blank_string?(osn_id)
|
444
|
+
|
445
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/osns/{osnId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s).sub('{osnId}', osn_id.to_s)
|
446
|
+
operation_signing_strategy = :standard
|
447
|
+
|
448
|
+
# rubocop:disable Style/NegatedIf
|
449
|
+
# Query Params
|
450
|
+
query_params = {}
|
451
|
+
|
452
|
+
# Header Params
|
453
|
+
header_params = {}
|
454
|
+
header_params[:accept] = 'application/json'
|
455
|
+
header_params[:'content-type'] = 'application/json'
|
456
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
457
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
458
|
+
# rubocop:enable Style/NegatedIf
|
459
|
+
|
460
|
+
post_body = nil
|
461
|
+
|
462
|
+
# rubocop:disable Metrics/BlockLength
|
463
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#delete_osn') do
|
464
|
+
@api_client.call_api(
|
465
|
+
:DELETE,
|
466
|
+
path,
|
467
|
+
endpoint,
|
468
|
+
header_params: header_params,
|
469
|
+
query_params: query_params,
|
470
|
+
operation_signing_strategy: operation_signing_strategy,
|
471
|
+
body: post_body
|
472
|
+
)
|
473
|
+
end
|
474
|
+
# rubocop:enable Metrics/BlockLength
|
475
|
+
end
|
476
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
477
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
478
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
479
|
+
|
480
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
481
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
482
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
483
|
+
|
484
|
+
|
485
|
+
# Delete a particular peer of a Blockchain Platform
|
486
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
487
|
+
# @param [String] peer_id Peer identifier.
|
488
|
+
# @param [Hash] opts the optional parameters
|
489
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
490
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
491
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
492
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
493
|
+
# for a resource, set the `if-match` parameter to the value of the
|
494
|
+
# etag from a previous GET or POST response for that resource.
|
495
|
+
# The resource will be updated or deleted only if the etag you
|
496
|
+
# provide matches the resource's current etag value.
|
497
|
+
#
|
498
|
+
# @return [Response] A Response object with data of type nil
|
499
|
+
def delete_peer(blockchain_platform_id, peer_id, opts = {})
|
500
|
+
logger.debug 'Calling operation BlockchainPlatformClient#delete_peer.' if logger
|
501
|
+
|
502
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling delete_peer." if blockchain_platform_id.nil?
|
503
|
+
raise "Missing the required parameter 'peer_id' when calling delete_peer." if peer_id.nil?
|
504
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
505
|
+
raise "Parameter value for 'peer_id' must not be blank" if OCI::Internal::Util.blank_string?(peer_id)
|
506
|
+
|
507
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/peers/{peerId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s).sub('{peerId}', peer_id.to_s)
|
508
|
+
operation_signing_strategy = :standard
|
509
|
+
|
510
|
+
# rubocop:disable Style/NegatedIf
|
511
|
+
# Query Params
|
512
|
+
query_params = {}
|
513
|
+
|
514
|
+
# Header Params
|
515
|
+
header_params = {}
|
516
|
+
header_params[:accept] = 'application/json'
|
517
|
+
header_params[:'content-type'] = 'application/json'
|
518
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
519
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
520
|
+
# rubocop:enable Style/NegatedIf
|
521
|
+
|
522
|
+
post_body = nil
|
523
|
+
|
524
|
+
# rubocop:disable Metrics/BlockLength
|
525
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#delete_peer') do
|
526
|
+
@api_client.call_api(
|
527
|
+
:DELETE,
|
528
|
+
path,
|
529
|
+
endpoint,
|
530
|
+
header_params: header_params,
|
531
|
+
query_params: query_params,
|
532
|
+
operation_signing_strategy: operation_signing_strategy,
|
533
|
+
body: post_body
|
534
|
+
)
|
535
|
+
end
|
536
|
+
# rubocop:enable Metrics/BlockLength
|
537
|
+
end
|
538
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
539
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
540
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
541
|
+
|
542
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
543
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
544
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
545
|
+
|
546
|
+
|
547
|
+
# Attempts to cancel the work request with the given ID.
|
548
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
549
|
+
# @param [Hash] opts the optional parameters
|
550
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
551
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
552
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
553
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
554
|
+
# for a resource, set the `if-match` parameter to the value of the
|
555
|
+
# etag from a previous GET or POST response for that resource.
|
556
|
+
# The resource will be updated or deleted only if the etag you
|
557
|
+
# provide matches the resource's current etag value.
|
558
|
+
#
|
559
|
+
# @return [Response] A Response object with data of type nil
|
560
|
+
def delete_work_request(work_request_id, opts = {})
|
561
|
+
logger.debug 'Calling operation BlockchainPlatformClient#delete_work_request.' if logger
|
562
|
+
|
563
|
+
raise "Missing the required parameter 'work_request_id' when calling delete_work_request." if work_request_id.nil?
|
564
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
565
|
+
|
566
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
567
|
+
operation_signing_strategy = :standard
|
568
|
+
|
569
|
+
# rubocop:disable Style/NegatedIf
|
570
|
+
# Query Params
|
571
|
+
query_params = {}
|
572
|
+
|
573
|
+
# Header Params
|
574
|
+
header_params = {}
|
575
|
+
header_params[:accept] = 'application/json'
|
576
|
+
header_params[:'content-type'] = 'application/json'
|
577
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
578
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
579
|
+
# rubocop:enable Style/NegatedIf
|
580
|
+
|
581
|
+
post_body = nil
|
582
|
+
|
583
|
+
# rubocop:disable Metrics/BlockLength
|
584
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#delete_work_request') do
|
585
|
+
@api_client.call_api(
|
586
|
+
:DELETE,
|
587
|
+
path,
|
588
|
+
endpoint,
|
589
|
+
header_params: header_params,
|
590
|
+
query_params: query_params,
|
591
|
+
operation_signing_strategy: operation_signing_strategy,
|
592
|
+
body: post_body
|
593
|
+
)
|
594
|
+
end
|
595
|
+
# rubocop:enable Metrics/BlockLength
|
596
|
+
end
|
597
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
598
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
599
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
600
|
+
|
601
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
602
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
603
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
604
|
+
|
605
|
+
|
606
|
+
# Gets information about a Blockchain Platform identified by the specific id
|
607
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
608
|
+
# @param [Hash] opts the optional parameters
|
609
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
610
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
611
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
612
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::BlockchainPlatform BlockchainPlatform}
|
613
|
+
def get_blockchain_platform(blockchain_platform_id, opts = {})
|
614
|
+
logger.debug 'Calling operation BlockchainPlatformClient#get_blockchain_platform.' if logger
|
615
|
+
|
616
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling get_blockchain_platform." if blockchain_platform_id.nil?
|
617
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
618
|
+
|
619
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
620
|
+
operation_signing_strategy = :standard
|
621
|
+
|
622
|
+
# rubocop:disable Style/NegatedIf
|
623
|
+
# Query Params
|
624
|
+
query_params = {}
|
625
|
+
|
626
|
+
# Header Params
|
627
|
+
header_params = {}
|
628
|
+
header_params[:accept] = 'application/json'
|
629
|
+
header_params[:'content-type'] = 'application/json'
|
630
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
631
|
+
# rubocop:enable Style/NegatedIf
|
632
|
+
|
633
|
+
post_body = nil
|
634
|
+
|
635
|
+
# rubocop:disable Metrics/BlockLength
|
636
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#get_blockchain_platform') do
|
637
|
+
@api_client.call_api(
|
638
|
+
:GET,
|
639
|
+
path,
|
640
|
+
endpoint,
|
641
|
+
header_params: header_params,
|
642
|
+
query_params: query_params,
|
643
|
+
operation_signing_strategy: operation_signing_strategy,
|
644
|
+
body: post_body,
|
645
|
+
return_type: 'OCI::Blockchain::Models::BlockchainPlatform'
|
646
|
+
)
|
647
|
+
end
|
648
|
+
# rubocop:enable Metrics/BlockLength
|
649
|
+
end
|
650
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
651
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
652
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
653
|
+
|
654
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
655
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
656
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
657
|
+
|
658
|
+
|
659
|
+
# Gets information about an OSN identified by the specific id
|
660
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
661
|
+
# @param [String] osn_id OSN identifier.
|
662
|
+
# @param [Hash] opts the optional parameters
|
663
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
664
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
665
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
666
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::Osn Osn}
|
667
|
+
def get_osn(blockchain_platform_id, osn_id, opts = {})
|
668
|
+
logger.debug 'Calling operation BlockchainPlatformClient#get_osn.' if logger
|
669
|
+
|
670
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling get_osn." if blockchain_platform_id.nil?
|
671
|
+
raise "Missing the required parameter 'osn_id' when calling get_osn." if osn_id.nil?
|
672
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
673
|
+
raise "Parameter value for 'osn_id' must not be blank" if OCI::Internal::Util.blank_string?(osn_id)
|
674
|
+
|
675
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/osns/{osnId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s).sub('{osnId}', osn_id.to_s)
|
676
|
+
operation_signing_strategy = :standard
|
677
|
+
|
678
|
+
# rubocop:disable Style/NegatedIf
|
679
|
+
# Query Params
|
680
|
+
query_params = {}
|
681
|
+
|
682
|
+
# Header Params
|
683
|
+
header_params = {}
|
684
|
+
header_params[:accept] = 'application/json'
|
685
|
+
header_params[:'content-type'] = 'application/json'
|
686
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
687
|
+
# rubocop:enable Style/NegatedIf
|
688
|
+
|
689
|
+
post_body = nil
|
690
|
+
|
691
|
+
# rubocop:disable Metrics/BlockLength
|
692
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#get_osn') do
|
693
|
+
@api_client.call_api(
|
694
|
+
:GET,
|
695
|
+
path,
|
696
|
+
endpoint,
|
697
|
+
header_params: header_params,
|
698
|
+
query_params: query_params,
|
699
|
+
operation_signing_strategy: operation_signing_strategy,
|
700
|
+
body: post_body,
|
701
|
+
return_type: 'OCI::Blockchain::Models::Osn'
|
702
|
+
)
|
703
|
+
end
|
704
|
+
# rubocop:enable Metrics/BlockLength
|
705
|
+
end
|
706
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
707
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
708
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
709
|
+
|
710
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
711
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
712
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
713
|
+
|
714
|
+
|
715
|
+
# Gets information about a peer identified by the specific id
|
716
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
717
|
+
# @param [String] peer_id Peer identifier.
|
718
|
+
# @param [Hash] opts the optional parameters
|
719
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
720
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
721
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
722
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::Peer Peer}
|
723
|
+
def get_peer(blockchain_platform_id, peer_id, opts = {})
|
724
|
+
logger.debug 'Calling operation BlockchainPlatformClient#get_peer.' if logger
|
725
|
+
|
726
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling get_peer." if blockchain_platform_id.nil?
|
727
|
+
raise "Missing the required parameter 'peer_id' when calling get_peer." if peer_id.nil?
|
728
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
729
|
+
raise "Parameter value for 'peer_id' must not be blank" if OCI::Internal::Util.blank_string?(peer_id)
|
730
|
+
|
731
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/peers/{peerId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s).sub('{peerId}', peer_id.to_s)
|
732
|
+
operation_signing_strategy = :standard
|
733
|
+
|
734
|
+
# rubocop:disable Style/NegatedIf
|
735
|
+
# Query Params
|
736
|
+
query_params = {}
|
737
|
+
|
738
|
+
# Header Params
|
739
|
+
header_params = {}
|
740
|
+
header_params[:accept] = 'application/json'
|
741
|
+
header_params[:'content-type'] = 'application/json'
|
742
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
743
|
+
# rubocop:enable Style/NegatedIf
|
744
|
+
|
745
|
+
post_body = nil
|
746
|
+
|
747
|
+
# rubocop:disable Metrics/BlockLength
|
748
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#get_peer') do
|
749
|
+
@api_client.call_api(
|
750
|
+
:GET,
|
751
|
+
path,
|
752
|
+
endpoint,
|
753
|
+
header_params: header_params,
|
754
|
+
query_params: query_params,
|
755
|
+
operation_signing_strategy: operation_signing_strategy,
|
756
|
+
body: post_body,
|
757
|
+
return_type: 'OCI::Blockchain::Models::Peer'
|
758
|
+
)
|
759
|
+
end
|
760
|
+
# rubocop:enable Metrics/BlockLength
|
761
|
+
end
|
762
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
763
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
764
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
765
|
+
|
766
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
767
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
768
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
769
|
+
|
770
|
+
|
771
|
+
# Gets the status of the work request with the given ID.
|
772
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
773
|
+
# @param [Hash] opts the optional parameters
|
774
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
775
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
776
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
777
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::WorkRequest WorkRequest}
|
778
|
+
def get_work_request(work_request_id, opts = {})
|
779
|
+
logger.debug 'Calling operation BlockchainPlatformClient#get_work_request.' if logger
|
780
|
+
|
781
|
+
raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
|
782
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
783
|
+
|
784
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
785
|
+
operation_signing_strategy = :standard
|
786
|
+
|
787
|
+
# rubocop:disable Style/NegatedIf
|
788
|
+
# Query Params
|
789
|
+
query_params = {}
|
790
|
+
|
791
|
+
# Header Params
|
792
|
+
header_params = {}
|
793
|
+
header_params[:accept] = 'application/json'
|
794
|
+
header_params[:'content-type'] = 'application/json'
|
795
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
796
|
+
# rubocop:enable Style/NegatedIf
|
797
|
+
|
798
|
+
post_body = nil
|
799
|
+
|
800
|
+
# rubocop:disable Metrics/BlockLength
|
801
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#get_work_request') do
|
802
|
+
@api_client.call_api(
|
803
|
+
:GET,
|
804
|
+
path,
|
805
|
+
endpoint,
|
806
|
+
header_params: header_params,
|
807
|
+
query_params: query_params,
|
808
|
+
operation_signing_strategy: operation_signing_strategy,
|
809
|
+
body: post_body,
|
810
|
+
return_type: 'OCI::Blockchain::Models::WorkRequest'
|
811
|
+
)
|
812
|
+
end
|
813
|
+
# rubocop:enable Metrics/BlockLength
|
814
|
+
end
|
815
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
816
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
817
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
818
|
+
|
819
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
820
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
821
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
822
|
+
|
823
|
+
|
824
|
+
# Returns a list Blockchain Platform Instances in a compartment
|
825
|
+
# @param [String] compartment_id The ID of the compartment in which to list resources.
|
826
|
+
# @param [Hash] opts the optional parameters
|
827
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
828
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
829
|
+
# @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
|
830
|
+
# Example: `My new resource`
|
831
|
+
#
|
832
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
833
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 10)
|
834
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
|
835
|
+
# Allowed values are: ASC, DESC
|
836
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
|
837
|
+
# (default to timeCreated)
|
838
|
+
# Allowed values are: timeCreated, displayName
|
839
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
840
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state.
|
841
|
+
# The state value is case-insensitive.
|
842
|
+
#
|
843
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::BlockchainPlatformCollection BlockchainPlatformCollection}
|
844
|
+
def list_blockchain_platforms(compartment_id, opts = {})
|
845
|
+
logger.debug 'Calling operation BlockchainPlatformClient#list_blockchain_platforms.' if logger
|
846
|
+
|
847
|
+
raise "Missing the required parameter 'compartment_id' when calling list_blockchain_platforms." if compartment_id.nil?
|
848
|
+
|
849
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
850
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
851
|
+
end
|
852
|
+
|
853
|
+
if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
|
854
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
|
855
|
+
end
|
856
|
+
|
857
|
+
if opts[:lifecycle_state] && !OCI::Blockchain::Models::BlockchainPlatform::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
858
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Blockchain::Models::BlockchainPlatform::LIFECYCLE_STATE_ENUM.'
|
859
|
+
end
|
860
|
+
|
861
|
+
path = '/blockchainPlatforms'
|
862
|
+
operation_signing_strategy = :standard
|
863
|
+
|
864
|
+
# rubocop:disable Style/NegatedIf
|
865
|
+
# Query Params
|
866
|
+
query_params = {}
|
867
|
+
query_params[:compartmentId] = compartment_id
|
868
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
869
|
+
query_params[:page] = opts[:page] if opts[:page]
|
870
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
871
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
872
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
873
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
874
|
+
|
875
|
+
# Header Params
|
876
|
+
header_params = {}
|
877
|
+
header_params[:accept] = 'application/json'
|
878
|
+
header_params[:'content-type'] = 'application/json'
|
879
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
880
|
+
# rubocop:enable Style/NegatedIf
|
881
|
+
|
882
|
+
post_body = nil
|
883
|
+
|
884
|
+
# rubocop:disable Metrics/BlockLength
|
885
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#list_blockchain_platforms') do
|
886
|
+
@api_client.call_api(
|
887
|
+
:GET,
|
888
|
+
path,
|
889
|
+
endpoint,
|
890
|
+
header_params: header_params,
|
891
|
+
query_params: query_params,
|
892
|
+
operation_signing_strategy: operation_signing_strategy,
|
893
|
+
body: post_body,
|
894
|
+
return_type: 'OCI::Blockchain::Models::BlockchainPlatformCollection'
|
895
|
+
)
|
896
|
+
end
|
897
|
+
# rubocop:enable Metrics/BlockLength
|
898
|
+
end
|
899
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
900
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
901
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
902
|
+
|
903
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
904
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
905
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
906
|
+
|
907
|
+
|
908
|
+
# List Blockchain Platform OSNs
|
909
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
910
|
+
# @param [Hash] opts the optional parameters
|
911
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
912
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
913
|
+
# @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
|
914
|
+
# Example: `My new resource`
|
915
|
+
#
|
916
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
917
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
918
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
919
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
920
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
921
|
+
# might be rejected.
|
922
|
+
#
|
923
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
|
924
|
+
# Allowed values are: ASC, DESC
|
925
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
|
926
|
+
# (default to timeCreated)
|
927
|
+
# Allowed values are: timeCreated, displayName
|
928
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
929
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 10)
|
930
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::OsnCollection OsnCollection}
|
931
|
+
def list_osns(blockchain_platform_id, opts = {})
|
932
|
+
logger.debug 'Calling operation BlockchainPlatformClient#list_osns.' if logger
|
933
|
+
|
934
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling list_osns." if blockchain_platform_id.nil?
|
935
|
+
|
936
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
937
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
938
|
+
end
|
939
|
+
|
940
|
+
if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
|
941
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
|
942
|
+
end
|
943
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
944
|
+
|
945
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/osns'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
946
|
+
operation_signing_strategy = :standard
|
947
|
+
|
948
|
+
# rubocop:disable Style/NegatedIf
|
949
|
+
# Query Params
|
950
|
+
query_params = {}
|
951
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
952
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
953
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
954
|
+
query_params[:page] = opts[:page] if opts[:page]
|
955
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
956
|
+
|
957
|
+
# Header Params
|
958
|
+
header_params = {}
|
959
|
+
header_params[:accept] = 'application/json'
|
960
|
+
header_params[:'content-type'] = 'application/json'
|
961
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
962
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
963
|
+
# rubocop:enable Style/NegatedIf
|
964
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
965
|
+
|
966
|
+
post_body = nil
|
967
|
+
|
968
|
+
# rubocop:disable Metrics/BlockLength
|
969
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#list_osns') do
|
970
|
+
@api_client.call_api(
|
971
|
+
:GET,
|
972
|
+
path,
|
973
|
+
endpoint,
|
974
|
+
header_params: header_params,
|
975
|
+
query_params: query_params,
|
976
|
+
operation_signing_strategy: operation_signing_strategy,
|
977
|
+
body: post_body,
|
978
|
+
return_type: 'OCI::Blockchain::Models::OsnCollection'
|
979
|
+
)
|
980
|
+
end
|
981
|
+
# rubocop:enable Metrics/BlockLength
|
982
|
+
end
|
983
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
984
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
985
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
986
|
+
|
987
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
988
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
989
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
990
|
+
|
991
|
+
|
992
|
+
# List Blockchain Platform Peers
|
993
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
994
|
+
# @param [Hash] opts the optional parameters
|
995
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
996
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
997
|
+
# @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
|
998
|
+
# Example: `My new resource`
|
999
|
+
#
|
1000
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1001
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1002
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
1003
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1004
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
1005
|
+
# might be rejected.
|
1006
|
+
#
|
1007
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
|
1008
|
+
# Allowed values are: ASC, DESC
|
1009
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
|
1010
|
+
# (default to timeCreated)
|
1011
|
+
# Allowed values are: timeCreated, displayName
|
1012
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
1013
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 10)
|
1014
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::PeerCollection PeerCollection}
|
1015
|
+
def list_peers(blockchain_platform_id, opts = {})
|
1016
|
+
logger.debug 'Calling operation BlockchainPlatformClient#list_peers.' if logger
|
1017
|
+
|
1018
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling list_peers." if blockchain_platform_id.nil?
|
1019
|
+
|
1020
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1021
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
|
1025
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
|
1026
|
+
end
|
1027
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
1028
|
+
|
1029
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/peers'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
1030
|
+
operation_signing_strategy = :standard
|
1031
|
+
|
1032
|
+
# rubocop:disable Style/NegatedIf
|
1033
|
+
# Query Params
|
1034
|
+
query_params = {}
|
1035
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
1036
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1037
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
1038
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1039
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1040
|
+
|
1041
|
+
# Header Params
|
1042
|
+
header_params = {}
|
1043
|
+
header_params[:accept] = 'application/json'
|
1044
|
+
header_params[:'content-type'] = 'application/json'
|
1045
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1046
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1047
|
+
# rubocop:enable Style/NegatedIf
|
1048
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1049
|
+
|
1050
|
+
post_body = nil
|
1051
|
+
|
1052
|
+
# rubocop:disable Metrics/BlockLength
|
1053
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#list_peers') do
|
1054
|
+
@api_client.call_api(
|
1055
|
+
:GET,
|
1056
|
+
path,
|
1057
|
+
endpoint,
|
1058
|
+
header_params: header_params,
|
1059
|
+
query_params: query_params,
|
1060
|
+
operation_signing_strategy: operation_signing_strategy,
|
1061
|
+
body: post_body,
|
1062
|
+
return_type: 'OCI::Blockchain::Models::PeerCollection'
|
1063
|
+
)
|
1064
|
+
end
|
1065
|
+
# rubocop:enable Metrics/BlockLength
|
1066
|
+
end
|
1067
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1068
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1069
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1070
|
+
|
1071
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1072
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1073
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1074
|
+
|
1075
|
+
|
1076
|
+
# Return a (paginated) list of errors for a given work request.
|
1077
|
+
#
|
1078
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
1079
|
+
# @param [Hash] opts the optional parameters
|
1080
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1081
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1082
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1083
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
1084
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 10)
|
1085
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::WorkRequestErrorCollection WorkRequestErrorCollection}
|
1086
|
+
def list_work_request_errors(work_request_id, opts = {})
|
1087
|
+
logger.debug 'Calling operation BlockchainPlatformClient#list_work_request_errors.' if logger
|
1088
|
+
|
1089
|
+
raise "Missing the required parameter 'work_request_id' when calling list_work_request_errors." if work_request_id.nil?
|
1090
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
1091
|
+
|
1092
|
+
path = '/workRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
|
1093
|
+
operation_signing_strategy = :standard
|
1094
|
+
|
1095
|
+
# rubocop:disable Style/NegatedIf
|
1096
|
+
# Query Params
|
1097
|
+
query_params = {}
|
1098
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1099
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1100
|
+
|
1101
|
+
# Header Params
|
1102
|
+
header_params = {}
|
1103
|
+
header_params[:accept] = 'application/json'
|
1104
|
+
header_params[:'content-type'] = 'application/json'
|
1105
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1106
|
+
# rubocop:enable Style/NegatedIf
|
1107
|
+
|
1108
|
+
post_body = nil
|
1109
|
+
|
1110
|
+
# rubocop:disable Metrics/BlockLength
|
1111
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#list_work_request_errors') do
|
1112
|
+
@api_client.call_api(
|
1113
|
+
:GET,
|
1114
|
+
path,
|
1115
|
+
endpoint,
|
1116
|
+
header_params: header_params,
|
1117
|
+
query_params: query_params,
|
1118
|
+
operation_signing_strategy: operation_signing_strategy,
|
1119
|
+
body: post_body,
|
1120
|
+
return_type: 'OCI::Blockchain::Models::WorkRequestErrorCollection'
|
1121
|
+
)
|
1122
|
+
end
|
1123
|
+
# rubocop:enable Metrics/BlockLength
|
1124
|
+
end
|
1125
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1126
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1127
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1128
|
+
|
1129
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1130
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1131
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1132
|
+
|
1133
|
+
|
1134
|
+
# Return a (paginated) list of logs for a given work request.
|
1135
|
+
#
|
1136
|
+
# @param [String] work_request_id The ID of the asynchronous request.
|
1137
|
+
# @param [Hash] opts the optional parameters
|
1138
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1139
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1140
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1141
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
1142
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 10)
|
1143
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::WorkRequestLogEntryCollection WorkRequestLogEntryCollection}
|
1144
|
+
def list_work_request_logs(work_request_id, opts = {})
|
1145
|
+
logger.debug 'Calling operation BlockchainPlatformClient#list_work_request_logs.' if logger
|
1146
|
+
|
1147
|
+
raise "Missing the required parameter 'work_request_id' when calling list_work_request_logs." if work_request_id.nil?
|
1148
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
1149
|
+
|
1150
|
+
path = '/workRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
|
1151
|
+
operation_signing_strategy = :standard
|
1152
|
+
|
1153
|
+
# rubocop:disable Style/NegatedIf
|
1154
|
+
# Query Params
|
1155
|
+
query_params = {}
|
1156
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1157
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1158
|
+
|
1159
|
+
# Header Params
|
1160
|
+
header_params = {}
|
1161
|
+
header_params[:accept] = 'application/json'
|
1162
|
+
header_params[:'content-type'] = 'application/json'
|
1163
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1164
|
+
# rubocop:enable Style/NegatedIf
|
1165
|
+
|
1166
|
+
post_body = nil
|
1167
|
+
|
1168
|
+
# rubocop:disable Metrics/BlockLength
|
1169
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#list_work_request_logs') do
|
1170
|
+
@api_client.call_api(
|
1171
|
+
:GET,
|
1172
|
+
path,
|
1173
|
+
endpoint,
|
1174
|
+
header_params: header_params,
|
1175
|
+
query_params: query_params,
|
1176
|
+
operation_signing_strategy: operation_signing_strategy,
|
1177
|
+
body: post_body,
|
1178
|
+
return_type: 'OCI::Blockchain::Models::WorkRequestLogEntryCollection'
|
1179
|
+
)
|
1180
|
+
end
|
1181
|
+
# rubocop:enable Metrics/BlockLength
|
1182
|
+
end
|
1183
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1184
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1185
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1186
|
+
|
1187
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1188
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1189
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1190
|
+
|
1191
|
+
|
1192
|
+
# Lists the work requests in a compartment.
|
1193
|
+
#
|
1194
|
+
# @param [String] compartment_id The ID of the compartment in which to list resources.
|
1195
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
1196
|
+
# @param [Hash] opts the optional parameters
|
1197
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1198
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1199
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
|
1200
|
+
# Allowed values are: ASC, DESC
|
1201
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMESTARTED is descending. Default order for WORKREQUESTID is ascending. If no value is specified TIMESTARTED is default.
|
1202
|
+
# (default to timeStarted)
|
1203
|
+
# Allowed values are: timeStarted, workRequestId
|
1204
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1205
|
+
# @option opts [String] :page The page at which to start retrieving results.
|
1206
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 10)
|
1207
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::WorkRequestCollection WorkRequestCollection}
|
1208
|
+
def list_work_requests(compartment_id, blockchain_platform_id, opts = {})
|
1209
|
+
logger.debug 'Calling operation BlockchainPlatformClient#list_work_requests.' if logger
|
1210
|
+
|
1211
|
+
raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
|
1212
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling list_work_requests." if blockchain_platform_id.nil?
|
1213
|
+
|
1214
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1215
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
if opts[:sort_by] && !%w[timeStarted workRequestId].include?(opts[:sort_by])
|
1219
|
+
raise 'Invalid value for "sort_by", must be one of timeStarted, workRequestId.'
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
path = '/workRequests'
|
1223
|
+
operation_signing_strategy = :standard
|
1224
|
+
|
1225
|
+
# rubocop:disable Style/NegatedIf
|
1226
|
+
# Query Params
|
1227
|
+
query_params = {}
|
1228
|
+
query_params[:compartmentId] = compartment_id
|
1229
|
+
query_params[:blockchainPlatformId] = blockchain_platform_id
|
1230
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1231
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
1232
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1233
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1234
|
+
|
1235
|
+
# Header Params
|
1236
|
+
header_params = {}
|
1237
|
+
header_params[:accept] = 'application/json'
|
1238
|
+
header_params[:'content-type'] = 'application/json'
|
1239
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1240
|
+
# rubocop:enable Style/NegatedIf
|
1241
|
+
|
1242
|
+
post_body = nil
|
1243
|
+
|
1244
|
+
# rubocop:disable Metrics/BlockLength
|
1245
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#list_work_requests') do
|
1246
|
+
@api_client.call_api(
|
1247
|
+
:GET,
|
1248
|
+
path,
|
1249
|
+
endpoint,
|
1250
|
+
header_params: header_params,
|
1251
|
+
query_params: query_params,
|
1252
|
+
operation_signing_strategy: operation_signing_strategy,
|
1253
|
+
body: post_body,
|
1254
|
+
return_type: 'OCI::Blockchain::Models::WorkRequestCollection'
|
1255
|
+
)
|
1256
|
+
end
|
1257
|
+
# rubocop:enable Metrics/BlockLength
|
1258
|
+
end
|
1259
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1260
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1261
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1262
|
+
|
1263
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1264
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1265
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1266
|
+
|
1267
|
+
|
1268
|
+
# Preview Scale Blockchain Platform
|
1269
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
1270
|
+
# @param [OCI::Blockchain::Models::ScaleBlockchainPlatformDetails] scale_blockchain_platform_details Input payload to scaleout blockchain platform. The payload cannot be empty.
|
1271
|
+
#
|
1272
|
+
# @param [Hash] opts the optional parameters
|
1273
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1274
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1275
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1276
|
+
# @return [Response] A Response object with data of type {OCI::Blockchain::Models::ScaledBlockchainPlatformPreview ScaledBlockchainPlatformPreview}
|
1277
|
+
def preview_scale_blockchain_platform(blockchain_platform_id, scale_blockchain_platform_details, opts = {})
|
1278
|
+
logger.debug 'Calling operation BlockchainPlatformClient#preview_scale_blockchain_platform.' if logger
|
1279
|
+
|
1280
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling preview_scale_blockchain_platform." if blockchain_platform_id.nil?
|
1281
|
+
raise "Missing the required parameter 'scale_blockchain_platform_details' when calling preview_scale_blockchain_platform." if scale_blockchain_platform_details.nil?
|
1282
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
1283
|
+
|
1284
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/actions/scale/preview'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
1285
|
+
operation_signing_strategy = :standard
|
1286
|
+
|
1287
|
+
# rubocop:disable Style/NegatedIf
|
1288
|
+
# Query Params
|
1289
|
+
query_params = {}
|
1290
|
+
|
1291
|
+
# Header Params
|
1292
|
+
header_params = {}
|
1293
|
+
header_params[:accept] = 'application/json'
|
1294
|
+
header_params[:'content-type'] = 'application/json'
|
1295
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1296
|
+
# rubocop:enable Style/NegatedIf
|
1297
|
+
|
1298
|
+
post_body = @api_client.object_to_http_body(scale_blockchain_platform_details)
|
1299
|
+
|
1300
|
+
# rubocop:disable Metrics/BlockLength
|
1301
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#preview_scale_blockchain_platform') do
|
1302
|
+
@api_client.call_api(
|
1303
|
+
:POST,
|
1304
|
+
path,
|
1305
|
+
endpoint,
|
1306
|
+
header_params: header_params,
|
1307
|
+
query_params: query_params,
|
1308
|
+
operation_signing_strategy: operation_signing_strategy,
|
1309
|
+
body: post_body,
|
1310
|
+
return_type: 'OCI::Blockchain::Models::ScaledBlockchainPlatformPreview'
|
1311
|
+
)
|
1312
|
+
end
|
1313
|
+
# rubocop:enable Metrics/BlockLength
|
1314
|
+
end
|
1315
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1316
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1317
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1318
|
+
|
1319
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1320
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1321
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1322
|
+
|
1323
|
+
|
1324
|
+
# Scale Blockchain Platform
|
1325
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
1326
|
+
# @param [OCI::Blockchain::Models::ScaleBlockchainPlatformDetails] scale_blockchain_platform_details Input payload to scaleout blockchain platform. The payload cannot be empty.
|
1327
|
+
#
|
1328
|
+
# @param [Hash] opts the optional parameters
|
1329
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1330
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1331
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1332
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1333
|
+
# etag from a previous GET or POST response for that resource.
|
1334
|
+
# The resource will be updated or deleted only if the etag you
|
1335
|
+
# provide matches the resource's current etag value.
|
1336
|
+
#
|
1337
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1338
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1339
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
1340
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1341
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
1342
|
+
# might be rejected.
|
1343
|
+
#
|
1344
|
+
# @return [Response] A Response object with data of type nil
|
1345
|
+
def scale_blockchain_platform(blockchain_platform_id, scale_blockchain_platform_details, opts = {})
|
1346
|
+
logger.debug 'Calling operation BlockchainPlatformClient#scale_blockchain_platform.' if logger
|
1347
|
+
|
1348
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling scale_blockchain_platform." if blockchain_platform_id.nil?
|
1349
|
+
raise "Missing the required parameter 'scale_blockchain_platform_details' when calling scale_blockchain_platform." if scale_blockchain_platform_details.nil?
|
1350
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
1351
|
+
|
1352
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/actions/scale'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
1353
|
+
operation_signing_strategy = :standard
|
1354
|
+
|
1355
|
+
# rubocop:disable Style/NegatedIf
|
1356
|
+
# Query Params
|
1357
|
+
query_params = {}
|
1358
|
+
|
1359
|
+
# Header Params
|
1360
|
+
header_params = {}
|
1361
|
+
header_params[:accept] = 'application/json'
|
1362
|
+
header_params[:'content-type'] = 'application/json'
|
1363
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1364
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1365
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1366
|
+
# rubocop:enable Style/NegatedIf
|
1367
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1368
|
+
|
1369
|
+
post_body = @api_client.object_to_http_body(scale_blockchain_platform_details)
|
1370
|
+
|
1371
|
+
# rubocop:disable Metrics/BlockLength
|
1372
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#scale_blockchain_platform') do
|
1373
|
+
@api_client.call_api(
|
1374
|
+
:POST,
|
1375
|
+
path,
|
1376
|
+
endpoint,
|
1377
|
+
header_params: header_params,
|
1378
|
+
query_params: query_params,
|
1379
|
+
operation_signing_strategy: operation_signing_strategy,
|
1380
|
+
body: post_body
|
1381
|
+
)
|
1382
|
+
end
|
1383
|
+
# rubocop:enable Metrics/BlockLength
|
1384
|
+
end
|
1385
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1386
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1387
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1388
|
+
|
1389
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1390
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1391
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1392
|
+
|
1393
|
+
|
1394
|
+
# Start a Blockchain Platform
|
1395
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
1396
|
+
# @param [Hash] opts the optional parameters
|
1397
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1398
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1399
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1400
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1401
|
+
# etag from a previous GET or POST response for that resource.
|
1402
|
+
# The resource will be updated or deleted only if the etag you
|
1403
|
+
# provide matches the resource's current etag value.
|
1404
|
+
#
|
1405
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1406
|
+
# @return [Response] A Response object with data of type nil
|
1407
|
+
def start_blockchain_platform(blockchain_platform_id, opts = {})
|
1408
|
+
logger.debug 'Calling operation BlockchainPlatformClient#start_blockchain_platform.' if logger
|
1409
|
+
|
1410
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling start_blockchain_platform." if blockchain_platform_id.nil?
|
1411
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
1412
|
+
|
1413
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/actions/start'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
1414
|
+
operation_signing_strategy = :standard
|
1415
|
+
|
1416
|
+
# rubocop:disable Style/NegatedIf
|
1417
|
+
# Query Params
|
1418
|
+
query_params = {}
|
1419
|
+
|
1420
|
+
# Header Params
|
1421
|
+
header_params = {}
|
1422
|
+
header_params[:accept] = 'application/json'
|
1423
|
+
header_params[:'content-type'] = 'application/json'
|
1424
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1425
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1426
|
+
# rubocop:enable Style/NegatedIf
|
1427
|
+
|
1428
|
+
post_body = nil
|
1429
|
+
|
1430
|
+
# rubocop:disable Metrics/BlockLength
|
1431
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#start_blockchain_platform') do
|
1432
|
+
@api_client.call_api(
|
1433
|
+
:POST,
|
1434
|
+
path,
|
1435
|
+
endpoint,
|
1436
|
+
header_params: header_params,
|
1437
|
+
query_params: query_params,
|
1438
|
+
operation_signing_strategy: operation_signing_strategy,
|
1439
|
+
body: post_body
|
1440
|
+
)
|
1441
|
+
end
|
1442
|
+
# rubocop:enable Metrics/BlockLength
|
1443
|
+
end
|
1444
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1445
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1446
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1447
|
+
|
1448
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1449
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1450
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1451
|
+
|
1452
|
+
|
1453
|
+
# Stop a Blockchain Platform
|
1454
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
1455
|
+
# @param [Hash] opts the optional parameters
|
1456
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1457
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1458
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1459
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1460
|
+
# etag from a previous GET or POST response for that resource.
|
1461
|
+
# The resource will be updated or deleted only if the etag you
|
1462
|
+
# provide matches the resource's current etag value.
|
1463
|
+
#
|
1464
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1465
|
+
# @return [Response] A Response object with data of type nil
|
1466
|
+
def stop_blockchain_platform(blockchain_platform_id, opts = {})
|
1467
|
+
logger.debug 'Calling operation BlockchainPlatformClient#stop_blockchain_platform.' if logger
|
1468
|
+
|
1469
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling stop_blockchain_platform." if blockchain_platform_id.nil?
|
1470
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
1471
|
+
|
1472
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/actions/stop'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
1473
|
+
operation_signing_strategy = :standard
|
1474
|
+
|
1475
|
+
# rubocop:disable Style/NegatedIf
|
1476
|
+
# Query Params
|
1477
|
+
query_params = {}
|
1478
|
+
|
1479
|
+
# Header Params
|
1480
|
+
header_params = {}
|
1481
|
+
header_params[:accept] = 'application/json'
|
1482
|
+
header_params[:'content-type'] = 'application/json'
|
1483
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1484
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1485
|
+
# rubocop:enable Style/NegatedIf
|
1486
|
+
|
1487
|
+
post_body = nil
|
1488
|
+
|
1489
|
+
# rubocop:disable Metrics/BlockLength
|
1490
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#stop_blockchain_platform') do
|
1491
|
+
@api_client.call_api(
|
1492
|
+
:POST,
|
1493
|
+
path,
|
1494
|
+
endpoint,
|
1495
|
+
header_params: header_params,
|
1496
|
+
query_params: query_params,
|
1497
|
+
operation_signing_strategy: operation_signing_strategy,
|
1498
|
+
body: post_body
|
1499
|
+
)
|
1500
|
+
end
|
1501
|
+
# rubocop:enable Metrics/BlockLength
|
1502
|
+
end
|
1503
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1504
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1505
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1506
|
+
|
1507
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1508
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1509
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1510
|
+
|
1511
|
+
|
1512
|
+
# Update a particular of a Blockchain Platform
|
1513
|
+
# @param [OCI::Blockchain::Models::UpdateBlockchainPlatformDetails] update_blockchain_platform_details The Blockchain Platform fields to update. Fields that are not provided will not be updated.
|
1514
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
1515
|
+
# @param [Hash] opts the optional parameters
|
1516
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1517
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1518
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1519
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1520
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1521
|
+
# etag from a previous GET or POST response for that resource.
|
1522
|
+
# The resource will be updated or deleted only if the etag you
|
1523
|
+
# provide matches the resource's current etag value.
|
1524
|
+
#
|
1525
|
+
# @return [Response] A Response object with data of type nil
|
1526
|
+
def update_blockchain_platform(update_blockchain_platform_details, blockchain_platform_id, opts = {})
|
1527
|
+
logger.debug 'Calling operation BlockchainPlatformClient#update_blockchain_platform.' if logger
|
1528
|
+
|
1529
|
+
raise "Missing the required parameter 'update_blockchain_platform_details' when calling update_blockchain_platform." if update_blockchain_platform_details.nil?
|
1530
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling update_blockchain_platform." if blockchain_platform_id.nil?
|
1531
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
1532
|
+
|
1533
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s)
|
1534
|
+
operation_signing_strategy = :standard
|
1535
|
+
|
1536
|
+
# rubocop:disable Style/NegatedIf
|
1537
|
+
# Query Params
|
1538
|
+
query_params = {}
|
1539
|
+
|
1540
|
+
# Header Params
|
1541
|
+
header_params = {}
|
1542
|
+
header_params[:accept] = 'application/json'
|
1543
|
+
header_params[:'content-type'] = 'application/json'
|
1544
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1545
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1546
|
+
# rubocop:enable Style/NegatedIf
|
1547
|
+
|
1548
|
+
post_body = @api_client.object_to_http_body(update_blockchain_platform_details)
|
1549
|
+
|
1550
|
+
# rubocop:disable Metrics/BlockLength
|
1551
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#update_blockchain_platform') do
|
1552
|
+
@api_client.call_api(
|
1553
|
+
:PUT,
|
1554
|
+
path,
|
1555
|
+
endpoint,
|
1556
|
+
header_params: header_params,
|
1557
|
+
query_params: query_params,
|
1558
|
+
operation_signing_strategy: operation_signing_strategy,
|
1559
|
+
body: post_body
|
1560
|
+
)
|
1561
|
+
end
|
1562
|
+
# rubocop:enable Metrics/BlockLength
|
1563
|
+
end
|
1564
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1565
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1566
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1567
|
+
|
1568
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1569
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1570
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1571
|
+
|
1572
|
+
|
1573
|
+
# Update Blockchain Platform OSN
|
1574
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
1575
|
+
# @param [String] osn_id OSN identifier.
|
1576
|
+
# @param [OCI::Blockchain::Models::UpdateOsnDetails] update_osn_details Input payload to update a blockchain platform OSN. The payload cannot be empty.
|
1577
|
+
#
|
1578
|
+
# @param [Hash] opts the optional parameters
|
1579
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1580
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1581
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1582
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1583
|
+
# etag from a previous GET or POST response for that resource.
|
1584
|
+
# The resource will be updated or deleted only if the etag you
|
1585
|
+
# provide matches the resource's current etag value.
|
1586
|
+
#
|
1587
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1588
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1589
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
1590
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1591
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
1592
|
+
# might be rejected.
|
1593
|
+
#
|
1594
|
+
# @return [Response] A Response object with data of type nil
|
1595
|
+
def update_osn(blockchain_platform_id, osn_id, update_osn_details, opts = {})
|
1596
|
+
logger.debug 'Calling operation BlockchainPlatformClient#update_osn.' if logger
|
1597
|
+
|
1598
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling update_osn." if blockchain_platform_id.nil?
|
1599
|
+
raise "Missing the required parameter 'osn_id' when calling update_osn." if osn_id.nil?
|
1600
|
+
raise "Missing the required parameter 'update_osn_details' when calling update_osn." if update_osn_details.nil?
|
1601
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
1602
|
+
raise "Parameter value for 'osn_id' must not be blank" if OCI::Internal::Util.blank_string?(osn_id)
|
1603
|
+
|
1604
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/osns/{osnId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s).sub('{osnId}', osn_id.to_s)
|
1605
|
+
operation_signing_strategy = :standard
|
1606
|
+
|
1607
|
+
# rubocop:disable Style/NegatedIf
|
1608
|
+
# Query Params
|
1609
|
+
query_params = {}
|
1610
|
+
|
1611
|
+
# Header Params
|
1612
|
+
header_params = {}
|
1613
|
+
header_params[:accept] = 'application/json'
|
1614
|
+
header_params[:'content-type'] = 'application/json'
|
1615
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1616
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1617
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1618
|
+
# rubocop:enable Style/NegatedIf
|
1619
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1620
|
+
|
1621
|
+
post_body = @api_client.object_to_http_body(update_osn_details)
|
1622
|
+
|
1623
|
+
# rubocop:disable Metrics/BlockLength
|
1624
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#update_osn') do
|
1625
|
+
@api_client.call_api(
|
1626
|
+
:PUT,
|
1627
|
+
path,
|
1628
|
+
endpoint,
|
1629
|
+
header_params: header_params,
|
1630
|
+
query_params: query_params,
|
1631
|
+
operation_signing_strategy: operation_signing_strategy,
|
1632
|
+
body: post_body
|
1633
|
+
)
|
1634
|
+
end
|
1635
|
+
# rubocop:enable Metrics/BlockLength
|
1636
|
+
end
|
1637
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1638
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1639
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1640
|
+
|
1641
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1642
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1643
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1644
|
+
|
1645
|
+
|
1646
|
+
# Update Blockchain Platform Peer
|
1647
|
+
# @param [String] blockchain_platform_id Unique service identifier.
|
1648
|
+
# @param [String] peer_id Peer identifier.
|
1649
|
+
# @param [OCI::Blockchain::Models::UpdatePeerDetails] update_peer_details Input payload to update a blockchain platform peer. The payload cannot be empty.
|
1650
|
+
#
|
1651
|
+
# @param [Hash] opts the optional parameters
|
1652
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1653
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1654
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1655
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1656
|
+
# etag from a previous GET or POST response for that resource.
|
1657
|
+
# The resource will be updated or deleted only if the etag you
|
1658
|
+
# provide matches the resource's current etag value.
|
1659
|
+
#
|
1660
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1661
|
+
# @return [Response] A Response object with data of type nil
|
1662
|
+
def update_peer(blockchain_platform_id, peer_id, update_peer_details, opts = {})
|
1663
|
+
logger.debug 'Calling operation BlockchainPlatformClient#update_peer.' if logger
|
1664
|
+
|
1665
|
+
raise "Missing the required parameter 'blockchain_platform_id' when calling update_peer." if blockchain_platform_id.nil?
|
1666
|
+
raise "Missing the required parameter 'peer_id' when calling update_peer." if peer_id.nil?
|
1667
|
+
raise "Missing the required parameter 'update_peer_details' when calling update_peer." if update_peer_details.nil?
|
1668
|
+
raise "Parameter value for 'blockchain_platform_id' must not be blank" if OCI::Internal::Util.blank_string?(blockchain_platform_id)
|
1669
|
+
raise "Parameter value for 'peer_id' must not be blank" if OCI::Internal::Util.blank_string?(peer_id)
|
1670
|
+
|
1671
|
+
path = '/blockchainPlatforms/{blockchainPlatformId}/peers/{peerId}'.sub('{blockchainPlatformId}', blockchain_platform_id.to_s).sub('{peerId}', peer_id.to_s)
|
1672
|
+
operation_signing_strategy = :standard
|
1673
|
+
|
1674
|
+
# rubocop:disable Style/NegatedIf
|
1675
|
+
# Query Params
|
1676
|
+
query_params = {}
|
1677
|
+
|
1678
|
+
# Header Params
|
1679
|
+
header_params = {}
|
1680
|
+
header_params[:accept] = 'application/json'
|
1681
|
+
header_params[:'content-type'] = 'application/json'
|
1682
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1683
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1684
|
+
# rubocop:enable Style/NegatedIf
|
1685
|
+
|
1686
|
+
post_body = @api_client.object_to_http_body(update_peer_details)
|
1687
|
+
|
1688
|
+
# rubocop:disable Metrics/BlockLength
|
1689
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'BlockchainPlatformClient#update_peer') do
|
1690
|
+
@api_client.call_api(
|
1691
|
+
:PUT,
|
1692
|
+
path,
|
1693
|
+
endpoint,
|
1694
|
+
header_params: header_params,
|
1695
|
+
query_params: query_params,
|
1696
|
+
operation_signing_strategy: operation_signing_strategy,
|
1697
|
+
body: post_body
|
1698
|
+
)
|
1699
|
+
end
|
1700
|
+
# rubocop:enable Metrics/BlockLength
|
1701
|
+
end
|
1702
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1703
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1704
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1705
|
+
|
1706
|
+
private
|
1707
|
+
|
1708
|
+
def applicable_retry_config(opts = {})
|
1709
|
+
return @retry_config unless opts.key?(:retry_config)
|
1710
|
+
|
1711
|
+
opts[:retry_config]
|
1712
|
+
end
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|