oci 2.10.0 → 2.11.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 +2 -1
- data/lib/oci.rb +4 -0
- data/lib/oci/api_client.rb +1 -3
- data/lib/oci/apigateway/api_gateway_client.rb +619 -0
- data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +198 -0
- data/lib/oci/apigateway/apigateway.rb +10 -0
- data/lib/oci/apigateway/models/api.rb +340 -0
- data/lib/oci/apigateway/models/api_collection.rb +150 -0
- data/lib/oci/apigateway/models/api_summary.rb +342 -0
- data/lib/oci/apigateway/models/api_validation_detail.rb +191 -0
- data/lib/oci/apigateway/models/api_validation_details.rb +192 -0
- data/lib/oci/apigateway/models/api_validation_result.rb +182 -0
- data/lib/oci/apigateway/models/api_validations.rb +150 -0
- data/lib/oci/{log_analytics/models/create_namespace_details.rb → apigateway/models/change_api_compartment_details.rb} +5 -3
- data/lib/oci/apigateway/models/create_api_details.rb +222 -0
- data/lib/oci/apigateway/models/update_api_details.rb +206 -0
- data/lib/oci/apigateway/models/work_request.rb +4 -0
- data/lib/oci/application_migration/application_migration.rb +2 -0
- data/lib/oci/application_migration/application_migration_client.rb +169 -52
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +447 -0
- data/lib/oci/application_migration/models/authorization_details.rb +4 -2
- data/lib/oci/application_migration/models/change_compartment_details.rb +2 -2
- data/lib/oci/application_migration/models/configuration_field.rb +9 -7
- data/lib/oci/application_migration/models/create_migration_details.rb +54 -12
- data/lib/oci/application_migration/models/create_source_details.rb +13 -8
- data/lib/oci/application_migration/models/discovery_details.rb +2 -2
- data/lib/oci/application_migration/models/ics_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/internal_authorization_details.rb +1 -1
- data/lib/oci/application_migration/models/internal_source_details.rb +2 -2
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +5 -3
- data/lib/oci/application_migration/models/migration.rb +111 -18
- data/lib/oci/application_migration/models/migration_summary.rb +63 -15
- data/lib/oci/application_migration/models/oac_discovery_details.rb +3 -3
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +1 -1
- data/lib/oci/application_migration/models/ocic_source_details.rb +8 -3
- data/lib/oci/application_migration/models/oic_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +5 -3
- data/lib/oci/application_migration/models/source.rb +41 -13
- data/lib/oci/application_migration/models/source_application.rb +6 -6
- data/lib/oci/application_migration/models/source_application_summary.rb +7 -6
- data/lib/oci/application_migration/models/source_details.rb +10 -2
- data/lib/oci/application_migration/models/source_summary.rb +36 -14
- data/lib/oci/application_migration/models/target_database_types.rb +11 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +15 -7
- data/lib/oci/application_migration/models/update_source_details.rb +7 -7
- data/lib/oci/application_migration/models/work_request.rb +54 -3
- data/lib/oci/application_migration/models/work_request_error.rb +1 -1
- data/lib/oci/application_migration/models/work_request_log_entry.rb +2 -2
- data/lib/oci/application_migration/models/work_request_resource.rb +1 -1
- data/lib/oci/application_migration/models/work_request_summary.rb +54 -3
- data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +1 -1
- data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +522 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
- data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
- data/lib/oci/compute_instance_agent/util.rb +3 -0
- data/lib/oci/container_engine/container_engine_client.rb +0 -11
- data/lib/oci/container_engine/models/create_node_shape_config_details.rb +19 -4
- data/lib/oci/container_engine/models/node_shape_config.rb +19 -4
- data/lib/oci/container_engine/models/update_node_shape_config_details.rb +19 -4
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/create_vcn_details.rb +24 -2
- data/lib/oci/core/models/create_vlan_details.rb +1 -0
- data/lib/oci/core/models/image_memory_constraints.rb +17 -17
- data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
- data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/subnet.rb +1 -0
- data/lib/oci/core/models/update_subnet_details.rb +27 -4
- data/lib/oci/core/models/update_vlan_details.rb +25 -4
- data/lib/oci/core/models/vcn.rb +18 -2
- data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
- data/lib/oci/core/virtual_network_client.rb +289 -4
- data/lib/oci/data_catalog/data_catalog.rb +30 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +1763 -112
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +413 -0
- data/lib/oci/data_catalog/models/attribute.rb +15 -1
- data/lib/oci/data_catalog/models/connection.rb +15 -1
- data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_connection_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_entity_details.rb +43 -1
- data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_glossary_details.rb +18 -4
- data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +18 -4
- data/lib/oci/data_catalog/models/custom_property.rb +506 -0
- data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
- data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
- data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
- data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
- data/lib/oci/data_catalog/models/data_asset.rb +29 -1
- data/lib/oci/{log_analytics/models/string_list_details.rb → data_catalog/models/data_selector_pattern_details.rb} +11 -10
- data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
- data/lib/oci/data_catalog/models/entity.rb +43 -1
- data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +160 -0
- data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
- data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
- data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
- data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
- data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
- data/lib/oci/data_catalog/models/folder.rb +15 -1
- data/lib/oci/data_catalog/models/glossary.rb +73 -1
- data/lib/oci/data_catalog/models/glossary_summary.rb +62 -4
- data/lib/oci/data_catalog/models/namespace.rb +290 -0
- data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
- data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
- data/lib/oci/data_catalog/models/pattern.rb +368 -0
- data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
- data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +47 -4
- data/lib/oci/data_catalog/models/search_result.rb +28 -4
- data/lib/oci/data_catalog/models/search_result_collection.rb +28 -4
- data/lib/oci/data_catalog/models/term.rb +18 -4
- data/lib/oci/data_catalog/models/type.rb +18 -4
- data/lib/oci/{log_analytics/models/register_entity_types_details.rb → data_catalog/models/type_custom_property_details.rb} +13 -13
- data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_connection_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_entity_details.rb +43 -1
- data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_glossary_details.rb +18 -4
- data/lib/oci/data_catalog/models/update_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +18 -4
- data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
- data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
- data/lib/oci/data_integration/models/source.rb +1 -0
- data/lib/oci/database/database.rb +19 -0
- data/lib/oci/database/database_client.rb +1112 -8
- data/lib/oci/database/database_client_composite_operations.rb +281 -0
- data/lib/oci/database/models/autonomous_container_database.rb +80 -4
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
- data/lib/oci/database/models/autonomous_container_database_summary.rb +80 -4
- data/lib/oci/database/models/autonomous_database.rb +141 -8
- data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
- data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +141 -8
- data/lib/oci/database/models/autonomous_db_version_summary.rb +46 -4
- data/lib/oci/{log_analytics/models/query.rb → database/models/change_key_store_compartment_details.rb} +5 -3
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +138 -5
- data/lib/oci/database/models/create_autonomous_database_base.rb +30 -5
- 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_data_guard_association_details.rb +15 -1
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +24 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +24 -4
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +5 -1
- data/lib/oci/database/models/create_database_details.rb +15 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +1 -1
- data/lib/oci/database/models/create_key_store_details.rb +217 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/database.rb +1 -0
- data/lib/oci/database/models/database_software_image.rb +18 -4
- data/lib/oci/database/models/database_software_image_summary.rb +18 -4
- data/lib/oci/database/models/database_summary.rb +1 -0
- data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
- data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
- data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
- data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
- data/lib/oci/database/models/db_system.rb +1 -0
- data/lib/oci/database/models/db_system_summary.rb +1 -0
- data/lib/oci/database/models/db_version_summary.rb +18 -4
- data/lib/oci/database/models/key_store.rb +300 -0
- data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
- data/lib/oci/database/models/key_store_summary.rb +303 -0
- data/lib/oci/database/models/key_store_type_details.rb +185 -0
- data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
- data/lib/oci/database/models/maintenance_run.rb +18 -4
- data/lib/oci/database/models/maintenance_run_summary.rb +18 -4
- data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
- data/lib/oci/database/models/update.rb +1 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +17 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +30 -5
- data/lib/oci/database/models/update_database_details.rb +43 -1
- data/lib/oci/database/models/update_history_entry.rb +1 -0
- data/lib/oci/database/models/update_history_entry_summary.rb +1 -0
- data/lib/oci/database/models/update_key_store_details.rb +187 -0
- data/lib/oci/database/models/update_summary.rb +1 -0
- data/lib/oci/database/models/upgrade_database_details.rb +179 -0
- data/lib/oci/dns/dns.rb +24 -0
- data/lib/oci/dns/dns_client.rb +1695 -175
- data/lib/oci/dns/dns_client_composite_operations.rb +240 -0
- data/lib/oci/{log_analytics/models/service_tenancy.rb → dns/models/attached_view.rb} +13 -12
- data/lib/oci/dns/models/attached_view_details.rb +155 -0
- data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
- data/lib/oci/{log_analytics/models/query_work_request_resource.rb → dns/models/change_view_compartment_details.rb} +5 -3
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -0
- data/lib/oci/dns/models/create_view_details.rb +210 -0
- data/lib/oci/dns/models/create_zone_details.rb +41 -2
- data/lib/oci/dns/models/migration_replacement.rb +1 -1
- data/lib/oci/dns/models/record.rb +1 -2
- data/lib/oci/dns/models/record_collection.rb +1 -0
- data/lib/oci/dns/models/record_details.rb +1 -2
- data/lib/oci/dns/models/record_operation.rb +1 -2
- data/lib/oci/dns/models/resolver.rb +393 -0
- data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
- data/lib/oci/{log_analytics/models/generate_agent_object_name_details.rb → dns/models/resolver_forward_rule.rb} +42 -51
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
- data/lib/oci/dns/models/resolver_rule.rb +222 -0
- data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
- data/lib/oci/dns/models/resolver_summary.rb +357 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
- data/lib/oci/dns/models/rr_set.rb +1 -0
- data/lib/oci/{log_analytics/models/sort_orders.rb → dns/models/scope.rb} +4 -4
- data/lib/oci/dns/models/steering_policy.rb +12 -12
- data/lib/oci/dns/models/steering_policy_answer.rb +1 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +10 -10
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +10 -10
- data/lib/oci/dns/models/steering_policy_summary.rb +10 -10
- data/lib/oci/dns/models/tsig_key.rb +10 -10
- data/lib/oci/dns/models/tsig_key_summary.rb +9 -9
- data/lib/oci/dns/models/update_resolver_details.rb +221 -0
- data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
- data/lib/oci/dns/models/update_view_details.rb +196 -0
- data/lib/oci/{log_analytics/models/log_analytics.rb → dns/models/view.rb} +105 -77
- data/lib/oci/dns/models/view_summary.rb +321 -0
- data/lib/oci/dns/models/zone.rb +75 -14
- data/lib/oci/dns/models/zone_summary.rb +76 -15
- data/lib/oci/functions/functions_management_client.rb +1 -1
- data/lib/oci/functions/models/application.rb +21 -2
- data/lib/oci/functions/models/application_summary.rb +1 -1
- data/lib/oci/functions/models/create_application_details.rb +20 -1
- data/lib/oci/functions/models/function.rb +1 -1
- data/lib/oci/functions/models/function_summary.rb +1 -1
- data/lib/oci/functions/models/update_application_details.rb +20 -1
- data/lib/oci/identity/identity.rb +5 -0
- data/lib/oci/identity/identity_client.rb +152 -23
- data/lib/oci/identity/identity_client_composite_operations.rb +48 -0
- data/lib/oci/identity/models/bulk_edit_operation_details.rb +193 -0
- data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -0
- data/lib/oci/identity/models/customer_secret_key.rb +3 -3
- data/lib/oci/identity/models/tagging_work_request.rb +4 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +4 -0
- data/lib/oci/identity/models/user.rb +54 -4
- data/lib/oci/identity/models/work_request_resource.rb +1 -0
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
- data/lib/oci/load_balancer/models/ip_address.rb +17 -4
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +0 -2
- data/lib/oci/{log_analytics/models/log_analytics_collection_warning.rb → load_balancer/models/reserved_ip.rb} +2 -4
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +7 -6
- data/lib/oci/log_analytics/log_analytics.rb +0 -15
- data/lib/oci/log_analytics/log_analytics_client.rb +193 -180
- data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +68 -17
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +1 -1
- data/lib/oci/log_analytics/models/archiving_configuration.rb +3 -3
- data/lib/oci/log_analytics/models/bucket_range.rb +1 -1
- data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +1 -1
- data/lib/oci/log_analytics/models/char_encoding_collection.rb +2 -2
- data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +4 -6
- data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +6 -6
- data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +1 -1
- data/lib/oci/log_analytics/models/export_content.rb +1 -0
- data/lib/oci/log_analytics/models/extract_log_field_results.rb +1 -1
- data/lib/oci/log_analytics/models/extract_log_header_details.rb +1 -1
- data/lib/oci/log_analytics/models/extract_log_header_results.rb +1 -1
- data/lib/oci/log_analytics/models/file_validation_response.rb +3 -3
- data/lib/oci/log_analytics/models/filter.rb +1 -1
- data/lib/oci/log_analytics/models/filter_details.rb +1 -1
- data/lib/oci/log_analytics/models/label_source_summary.rb +1 -1
- data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +36 -4
- data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +1 -1
- data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +0 -1
- data/lib/oci/log_analytics/models/log_analytics_lookup.rb +0 -2
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +4 -6
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +1 -3
- data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +3 -3
- data/lib/oci/log_analytics/models/namespace.rb +5 -4
- data/lib/oci/log_analytics/models/namespace_collection.rb +2 -2
- data/lib/oci/log_analytics/models/namespace_summary.rb +5 -4
- data/lib/oci/log_analytics/models/parsed_content.rb +2 -2
- data/lib/oci/log_analytics/models/parsed_field.rb +1 -1
- data/lib/oci/log_analytics/models/purge_storage_data_details.rb +6 -6
- data/lib/oci/log_analytics/models/query_aggregation.rb +1 -1
- data/lib/oci/log_analytics/models/query_details.rb +5 -5
- data/lib/oci/log_analytics/models/recall_archived_data_details.rb +5 -5
- data/lib/oci/log_analytics/models/release_recalled_data_details.rb +5 -5
- data/lib/oci/log_analytics/models/scope_filter.rb +1 -1
- data/lib/oci/log_analytics/models/source_validate_details.rb +1 -1
- data/lib/oci/log_analytics/models/source_validate_results.rb +1 -1
- data/lib/oci/log_analytics/models/storage.rb +2 -2
- data/lib/oci/log_analytics/models/storage_usage.rb +4 -4
- data/lib/oci/log_analytics/models/storage_work_request.rb +14 -14
- data/lib/oci/log_analytics/models/storage_work_request_collection.rb +2 -2
- data/lib/oci/log_analytics/models/storage_work_request_summary.rb +14 -14
- data/lib/oci/log_analytics/models/timezone_collection.rb +2 -2
- data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +3 -3
- data/lib/oci/log_analytics/models/update_storage_details.rb +1 -1
- data/lib/oci/log_analytics/models/upload.rb +1 -1
- data/lib/oci/log_analytics/models/upload_collection.rb +1 -1
- data/lib/oci/log_analytics/models/upload_file_collection.rb +1 -1
- data/lib/oci/log_analytics/models/upload_summary.rb +1 -1
- data/lib/oci/log_analytics/models/upload_warning_summary.rb +1 -1
- data/lib/oci/log_analytics/models/work_request_error_collection.rb +2 -2
- data/lib/oci/log_analytics/models/work_request_log.rb +3 -3
- data/lib/oci/log_analytics/models/work_request_log_collection.rb +2 -2
- data/lib/oci/logging/logging_management_client.rb +52 -52
- data/lib/oci/logging/logging_management_client_composite_operations.rb +128 -7
- data/lib/oci/logging/models/category.rb +4 -4
- data/lib/oci/logging/models/change_log_group_compartment_details.rb +2 -2
- data/lib/oci/logging/models/change_log_log_group_details.rb +1 -1
- data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +2 -2
- data/lib/oci/logging/models/create_log_details.rb +3 -3
- data/lib/oci/logging/models/create_log_group_details.rb +1 -1
- data/lib/oci/logging/models/create_log_saved_search_details.rb +2 -16
- data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +1 -1
- data/lib/oci/logging/models/grok_pattern.rb +6 -6
- data/lib/oci/logging/models/log.rb +5 -5
- data/lib/oci/logging/models/log_group.rb +3 -3
- data/lib/oci/logging/models/log_group_summary.rb +43 -5
- data/lib/oci/logging/models/log_included_search.rb +1 -1
- data/lib/oci/logging/models/log_included_search_summary.rb +1 -1
- data/lib/oci/logging/models/log_saved_search.rb +44 -19
- data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +5 -1
- data/lib/oci/logging/models/log_saved_search_summary.rb +63 -17
- data/lib/oci/logging/models/log_saved_search_summary_collection.rb +1 -1
- data/lib/oci/logging/models/log_summary.rb +4 -4
- data/lib/oci/logging/models/parameter.rb +2 -2
- data/lib/oci/logging/models/resource_type.rb +2 -2
- data/lib/oci/logging/models/service_summary.rb +6 -6
- data/lib/oci/logging/models/source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_apache2_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_configuration.rb +2 -2
- data/lib/oci/logging/models/unified_agent_configuration_collection.rb +1 -1
- data/lib/oci/logging/models/unified_agent_configuration_summary.rb +4 -4
- data/lib/oci/logging/models/unified_agent_csv_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_grok_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_logging_destination.rb +1 -1
- data/lib/oci/logging/models/unified_agent_logging_source.rb +2 -2
- data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_multiline_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_none_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_parser.rb +7 -7
- data/lib/oci/logging/models/unified_agent_regex_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +1 -1
- data/lib/oci/logging/models/unified_agent_syslog_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tail_log_source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tsv_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_windows_event_source.rb +1 -1
- data/lib/oci/logging/models/unified_json_parser.rb +1 -1
- data/lib/oci/logging/models/update_configuration_details.rb +1 -1
- data/lib/oci/logging/models/update_log_details.rb +3 -3
- data/lib/oci/logging/models/update_log_group_details.rb +1 -1
- data/lib/oci/logging/models/update_log_saved_search_details.rb +2 -16
- data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +2 -2
- data/lib/oci/logging/models/work_request.rb +2 -2
- data/lib/oci/logging/models/work_request_error.rb +3 -3
- data/lib/oci/logging/models/work_request_log.rb +1 -1
- data/lib/oci/logging/models/work_request_resource.rb +3 -3
- data/lib/oci/loggingingestion/logging_client.rb +3 -3
- data/lib/oci/loggingingestion/models/log_entry.rb +4 -5
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +7 -7
- data/lib/oci/loggingsearch/log_search_client.rb +3 -3
- data/lib/oci/loggingsearch/models/field_info.rb +1 -1
- data/lib/oci/loggingsearch/models/search_logs_details.rb +2 -2
- data/lib/oci/loggingsearch/models/search_result.rb +2 -2
- data/lib/oci/management_dashboard/dashx_apis_client.rb +31 -32
- data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +2 -2
- data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +2 -2
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +18 -18
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -15
- data/lib/oci/management_dashboard/models/management_dashboard.rb +23 -23
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +1 -1
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +19 -19
- data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +1 -1
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +14 -14
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +14 -12
- data/lib/oci/management_dashboard/models/management_saved_search.rb +19 -19
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +15 -15
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +46 -18
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +17 -17
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -15
- data/lib/oci/mysql/db_system_client.rb +611 -2
- data/lib/oci/mysql/db_system_client_composite_operations.rb +345 -0
- data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
- data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
- data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
- data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
- data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
- data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/db_system.rb +31 -1
- data/lib/oci/mysql/models/db_system_summary.rb +31 -1
- data/lib/oci/mysql/models/shape_summary.rb +46 -4
- data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
- data/lib/oci/mysql/models/work_request.rb +7 -0
- data/lib/oci/mysql/models/work_request_operation_type.rb +8 -1
- data/lib/oci/mysql/models/work_request_summary.rb +7 -0
- data/lib/oci/mysql/mysql.rb +9 -0
- data/lib/oci/mysql/mysqlaas_client.rb +14 -0
- data/lib/oci/nosql/models/create_table_details.rb +15 -1
- data/lib/oci/nosql/models/table.rb +55 -4
- data/lib/oci/nosql/models/table_collection.rb +32 -4
- data/lib/oci/nosql/models/table_summary.rb +54 -4
- data/lib/oci/nosql/nosql_client.rb +6 -6
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +6 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +4 -2
- data/lib/oci/ocvp/models/create_sddc_details.rb +35 -3
- data/lib/oci/ocvp/models/sddc.rb +89 -1
- data/lib/oci/ocvp/models/sddc_summary.rb +29 -1
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/update_sddc_details.rb +17 -1
- data/lib/oci/opsi/models/database_details.rb +210 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
- data/lib/oci/opsi/models/database_insights.rb +154 -0
- data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
- data/lib/oci/opsi/models/historical_data_item.rb +165 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
- data/lib/oci/opsi/models/projected_data_item.rb +195 -0
- data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
- data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
- data/lib/oci/opsi/models/resource_statistics.rb +219 -0
- data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
- data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
- data/lib/oci/opsi/models/sort_order.rb +11 -0
- data/lib/oci/opsi/models/sql_bucket.rb +307 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +202 -0
- data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +243 -0
- data/lib/oci/opsi/models/sql_inventory.rb +182 -0
- data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
- data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
- data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
- data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
- data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
- data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
- data/lib/oci/opsi/models/sql_statistics.rb +402 -0
- data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
- data/lib/oci/opsi/models/sql_text.rb +248 -0
- data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
- data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
- data/lib/oci/opsi/models/usage_unit.rb +13 -0
- data/lib/oci/opsi/operations_insights_client.rb +2008 -0
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
- data/lib/oci/opsi/opsi.rb +72 -0
- data/lib/oci/opsi/util.rb +3 -0
- data/lib/oci/optimizer/models/action.rb +192 -0
- data/lib/oci/optimizer/models/action_type.rb +10 -0
- data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
- data/lib/oci/optimizer/models/category.rb +298 -0
- data/lib/oci/optimizer/models/category_collection.rb +151 -0
- data/lib/oci/optimizer/models/category_summary.rb +298 -0
- data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
- data/lib/oci/{log_analytics/models/log_analytics_summary.rb → optimizer/models/enrollment_status.rb} +81 -63
- data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
- data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
- data/lib/oci/optimizer/models/history_collection.rb +151 -0
- data/lib/oci/optimizer/models/history_summary.rb +429 -0
- data/lib/oci/optimizer/models/importance.rb +14 -0
- data/lib/oci/{log_analytics/models/field_map.rb → optimizer/models/level_configuration.rb} +19 -24
- data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
- data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
- data/lib/oci/optimizer/models/operation_status.rb +15 -0
- data/lib/oci/optimizer/models/operation_type.rb +10 -0
- data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
- data/lib/oci/optimizer/models/profile.rb +305 -0
- data/lib/oci/optimizer/models/profile_collection.rb +151 -0
- data/lib/oci/optimizer/models/profile_summary.rb +303 -0
- data/lib/oci/optimizer/models/recommendation.rb +409 -0
- data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
- data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
- data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
- data/lib/oci/optimizer/models/resource_action.rb +450 -0
- data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
- data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
- data/lib/oci/optimizer/models/resource_count.rb +182 -0
- data/lib/oci/optimizer/models/sort_order.rb +11 -0
- data/lib/oci/optimizer/models/status.rb +13 -0
- data/lib/oci/{log_analytics/models/agent_upload.rb → optimizer/models/supported_level.rb} +3 -3
- data/lib/oci/optimizer/models/supported_levels.rb +153 -0
- data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
- data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
- data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
- data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
- data/lib/oci/optimizer/models/work_request.rb +300 -0
- data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
- data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_error.rb +173 -0
- data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
- data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/{log_analytics/models/out_of_box_entity_type_details.rb → optimizer/models/work_request_resource.rb} +60 -57
- data/lib/oci/optimizer/optimizer.rb +66 -0
- data/lib/oci/optimizer/optimizer_client.rb +1652 -0
- data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
- data/lib/oci/optimizer/util.rb +3 -0
- data/lib/oci/regions.rb +5 -1
- data/lib/oci/sch/models/service_connector.rb +1 -1
- data/lib/oci/sch/models/source_details.rb +1 -1
- data/lib/oci/sch/models/target_details.rb +1 -1
- data/lib/oci/sch/models/task_details.rb +1 -1
- data/lib/oci/sch/models/work_request.rb +1 -1
- data/lib/oci/sch/service_connector_client.rb +8 -8
- data/lib/oci/signer.rb +3 -1
- data/lib/oci/tenant_manager_control_plane/link_client.rb +287 -0
- data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
- data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
- data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
- data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +425 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +435 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
- data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +356 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
- data/lib/oci/usage_api/models/configuration.rb +3 -3
- data/lib/oci/usage_api/models/configuration_aggregation.rb +2 -2
- data/lib/oci/usage_api/models/dimension.rb +3 -3
- data/lib/oci/usage_api/models/filter.rb +1 -1
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +12 -12
- data/lib/oci/usage_api/models/tag.rb +3 -3
- data/lib/oci/usage_api/models/usage_aggregation.rb +1 -1
- data/lib/oci/usage_api/models/usage_summary.rb +47 -19
- data/lib/oci/usage_api/usageapi_client.rb +4 -4
- data/lib/oci/version.rb +1 -1
- metadata +273 -17
- data/lib/oci/log_analytics/models/attribute.rb +0 -435
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa17bdb6d6eb238dc1219928baf81dca2102fcf4332849959b365acd2b801a5a
|
4
|
+
data.tar.gz: 87fa9bf2b2afe84cfa8a2cc38fb800cb06df94b206dab4a63f330a8504f61201
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57d3a499e296119dad4028e174e2b0c646fa5a9f937041381f5cafe506e82ce0d079c339416a84ab58663b83b72993807e3f86b8a8ebf56967d6eeb799b1385a
|
7
|
+
data.tar.gz: 6b8414f1b43a3c7d1f1a6da0a0eb7713d828c745d27c2d9fda53f892bf3ff6bfc14303283676421d7de2e506d4802768335205f23e0a160aa2f9a005a45481cb
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Oracle Cloud Infrastructure Ruby SDK
|
2
2
|
|
3
|
-
|
3
|
+
This is Oracle Cloud Infrastructure SDK for Ruby. This project is open source, in active development and maintained by Oracle Corp. The home page for the project is <a href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/rubysdk.htm">here</a>.
|
4
4
|
|
5
5
|
**Version 2.10.0**
|
6
6
|
|
@@ -20,6 +20,7 @@ The Ruby SDK supports the following services:
|
|
20
20
|
* Blockchain Platform
|
21
21
|
* Budgets
|
22
22
|
* Cloud Guard
|
23
|
+
* Compute Instance Agent
|
23
24
|
* Compute Autoscaling
|
24
25
|
* Container Engine
|
25
26
|
* Content and Experience
|
data/lib/oci.rb
CHANGED
@@ -75,6 +75,10 @@ require 'oci/loggingsearch/loggingsearch'
|
|
75
75
|
require 'oci/log_analytics/log_analytics'
|
76
76
|
require 'oci/sch/sch'
|
77
77
|
require 'oci/cloud_guard/cloud_guard'
|
78
|
+
require 'oci/opsi/opsi'
|
79
|
+
require 'oci/compute_instance_agent/compute_instance_agent'
|
80
|
+
require 'oci/tenant_manager_control_plane/tenant_manager_control_plane'
|
81
|
+
require 'oci/optimizer/optimizer'
|
78
82
|
|
79
83
|
# Top level module for the Oracle Cloud Infrastructure SDK
|
80
84
|
module OCI
|
data/lib/oci/api_client.rb
CHANGED
@@ -578,9 +578,7 @@ module OCI
|
|
578
578
|
path = "/#{path}".gsub(/\/+/, '/')
|
579
579
|
endpoint = endpoint.chop if endpoint.end_with? '/'
|
580
580
|
|
581
|
-
|
582
|
-
URI.encode(endpoint + path)
|
583
|
-
# rubocop:enable Lint/UriEscapeUnescape
|
581
|
+
endpoint + path
|
584
582
|
end
|
585
583
|
|
586
584
|
# Builds the HTTP request body
|
@@ -100,6 +100,75 @@ module OCI
|
|
100
100
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
101
101
|
|
102
102
|
|
103
|
+
# Changes the API compartment.
|
104
|
+
# @param [String] api_id The ocid of the API.
|
105
|
+
# @param [OCI::Apigateway::Models::ChangeApiCompartmentDetails] change_api_compartment_details Details of the target compartment.
|
106
|
+
# @param [Hash] opts the optional parameters
|
107
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
108
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
109
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
110
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
111
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
112
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
113
|
+
# might be rejected.
|
114
|
+
# (default to null)
|
115
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
116
|
+
# for a resource, set the `if-match` parameter to the value of the
|
117
|
+
# etag from a previous GET or POST response for that resource.
|
118
|
+
# The resource will be updated or deleted only if the etag you
|
119
|
+
# provide matches the resource's current etag value.
|
120
|
+
# (default to null)
|
121
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
122
|
+
# @return [Response] A Response object with data of type nil
|
123
|
+
def change_api_compartment(api_id, change_api_compartment_details, opts = {})
|
124
|
+
logger.debug 'Calling operation ApiGatewayClient#change_api_compartment.' if logger
|
125
|
+
|
126
|
+
raise "Missing the required parameter 'api_id' when calling change_api_compartment." if api_id.nil?
|
127
|
+
raise "Missing the required parameter 'change_api_compartment_details' when calling change_api_compartment." if change_api_compartment_details.nil?
|
128
|
+
raise "Parameter value for 'api_id' must not be blank" if OCI::Internal::Util.blank_string?(api_id)
|
129
|
+
|
130
|
+
path = '/apis/{apiId}/actions/changeCompartment'.sub('{apiId}', api_id.to_s)
|
131
|
+
operation_signing_strategy = :standard
|
132
|
+
|
133
|
+
# rubocop:disable Style/NegatedIf
|
134
|
+
# Query Params
|
135
|
+
query_params = {}
|
136
|
+
|
137
|
+
# Header Params
|
138
|
+
header_params = {}
|
139
|
+
header_params[:accept] = 'application/json'
|
140
|
+
header_params[:'content-type'] = 'application/json'
|
141
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
142
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
143
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
144
|
+
# rubocop:enable Style/NegatedIf
|
145
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
146
|
+
|
147
|
+
post_body = @api_client.object_to_http_body(change_api_compartment_details)
|
148
|
+
|
149
|
+
# rubocop:disable Metrics/BlockLength
|
150
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#change_api_compartment') do
|
151
|
+
@api_client.call_api(
|
152
|
+
:POST,
|
153
|
+
path,
|
154
|
+
endpoint,
|
155
|
+
header_params: header_params,
|
156
|
+
query_params: query_params,
|
157
|
+
operation_signing_strategy: operation_signing_strategy,
|
158
|
+
body: post_body
|
159
|
+
)
|
160
|
+
end
|
161
|
+
# rubocop:enable Metrics/BlockLength
|
162
|
+
end
|
163
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
164
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
165
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
166
|
+
|
167
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
168
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
169
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
170
|
+
|
171
|
+
|
103
172
|
# Changes the certificate compartment.
|
104
173
|
# @param [String] certificate_id The ocid of the certificate.
|
105
174
|
# @param [OCI::Apigateway::Models::ChangeCertificateCompartmentDetails] change_certificate_compartment_details Details of the target compartment.
|
@@ -169,6 +238,67 @@ module OCI
|
|
169
238
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
170
239
|
|
171
240
|
|
241
|
+
# Creates a new API.
|
242
|
+
#
|
243
|
+
# @param [OCI::Apigateway::Models::CreateApiDetails] create_api_details Details for the new API.
|
244
|
+
# @param [Hash] opts the optional parameters
|
245
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
246
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
247
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
248
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
249
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
250
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
251
|
+
# might be rejected.
|
252
|
+
# (default to null)
|
253
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
254
|
+
# @return [Response] A Response object with data of type {OCI::Apigateway::Models::Api Api}
|
255
|
+
def create_api(create_api_details, opts = {})
|
256
|
+
logger.debug 'Calling operation ApiGatewayClient#create_api.' if logger
|
257
|
+
|
258
|
+
raise "Missing the required parameter 'create_api_details' when calling create_api." if create_api_details.nil?
|
259
|
+
|
260
|
+
path = '/apis'
|
261
|
+
operation_signing_strategy = :standard
|
262
|
+
|
263
|
+
# rubocop:disable Style/NegatedIf
|
264
|
+
# Query Params
|
265
|
+
query_params = {}
|
266
|
+
|
267
|
+
# Header Params
|
268
|
+
header_params = {}
|
269
|
+
header_params[:accept] = 'application/json'
|
270
|
+
header_params[:'content-type'] = 'application/json'
|
271
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
272
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
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_api_details)
|
277
|
+
|
278
|
+
# rubocop:disable Metrics/BlockLength
|
279
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#create_api') 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
|
+
return_type: 'OCI::Apigateway::Models::Api'
|
289
|
+
)
|
290
|
+
end
|
291
|
+
# rubocop:enable Metrics/BlockLength
|
292
|
+
end
|
293
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
294
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
295
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
296
|
+
|
297
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
298
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
299
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
300
|
+
|
301
|
+
|
172
302
|
# Creates a new Certificate.
|
173
303
|
#
|
174
304
|
# @param [OCI::Apigateway::Models::CreateCertificateDetails] create_certificate_details Details for the new certificate
|
@@ -230,6 +360,65 @@ module OCI
|
|
230
360
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
231
361
|
|
232
362
|
|
363
|
+
# Deletes the API with the given identifier.
|
364
|
+
# @param [String] api_id The ocid of the API.
|
365
|
+
# @param [Hash] opts the optional parameters
|
366
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
367
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
368
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
369
|
+
# for a resource, set the `if-match` parameter to the value of the
|
370
|
+
# etag from a previous GET or POST response for that resource.
|
371
|
+
# The resource will be updated or deleted only if the etag you
|
372
|
+
# provide matches the resource's current etag value.
|
373
|
+
# (default to null)
|
374
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
375
|
+
# @return [Response] A Response object with data of type nil
|
376
|
+
def delete_api(api_id, opts = {})
|
377
|
+
logger.debug 'Calling operation ApiGatewayClient#delete_api.' if logger
|
378
|
+
|
379
|
+
raise "Missing the required parameter 'api_id' when calling delete_api." if api_id.nil?
|
380
|
+
raise "Parameter value for 'api_id' must not be blank" if OCI::Internal::Util.blank_string?(api_id)
|
381
|
+
|
382
|
+
path = '/apis/{apiId}'.sub('{apiId}', api_id.to_s)
|
383
|
+
operation_signing_strategy = :standard
|
384
|
+
|
385
|
+
# rubocop:disable Style/NegatedIf
|
386
|
+
# Query Params
|
387
|
+
query_params = {}
|
388
|
+
|
389
|
+
# Header Params
|
390
|
+
header_params = {}
|
391
|
+
header_params[:accept] = 'application/json'
|
392
|
+
header_params[:'content-type'] = 'application/json'
|
393
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
394
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
395
|
+
# rubocop:enable Style/NegatedIf
|
396
|
+
|
397
|
+
post_body = nil
|
398
|
+
|
399
|
+
# rubocop:disable Metrics/BlockLength
|
400
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#delete_api') do
|
401
|
+
@api_client.call_api(
|
402
|
+
:DELETE,
|
403
|
+
path,
|
404
|
+
endpoint,
|
405
|
+
header_params: header_params,
|
406
|
+
query_params: query_params,
|
407
|
+
operation_signing_strategy: operation_signing_strategy,
|
408
|
+
body: post_body
|
409
|
+
)
|
410
|
+
end
|
411
|
+
# rubocop:enable Metrics/BlockLength
|
412
|
+
end
|
413
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
414
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
415
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
416
|
+
|
417
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
418
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
419
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
420
|
+
|
421
|
+
|
233
422
|
# Deletes the certificate with the given identifier.
|
234
423
|
# @param [String] certificate_id The ocid of the certificate.
|
235
424
|
# @param [Hash] opts the optional parameters
|
@@ -289,6 +478,285 @@ module OCI
|
|
289
478
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
290
479
|
|
291
480
|
|
481
|
+
# Gets an API by identifier.
|
482
|
+
# @param [String] api_id The ocid of the API.
|
483
|
+
# @param [Hash] opts the optional parameters
|
484
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
485
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
486
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
487
|
+
# @return [Response] A Response object with data of type {OCI::Apigateway::Models::Api Api}
|
488
|
+
def get_api(api_id, opts = {})
|
489
|
+
logger.debug 'Calling operation ApiGatewayClient#get_api.' if logger
|
490
|
+
|
491
|
+
raise "Missing the required parameter 'api_id' when calling get_api." if api_id.nil?
|
492
|
+
raise "Parameter value for 'api_id' must not be blank" if OCI::Internal::Util.blank_string?(api_id)
|
493
|
+
|
494
|
+
path = '/apis/{apiId}'.sub('{apiId}', api_id.to_s)
|
495
|
+
operation_signing_strategy = :standard
|
496
|
+
|
497
|
+
# rubocop:disable Style/NegatedIf
|
498
|
+
# Query Params
|
499
|
+
query_params = {}
|
500
|
+
|
501
|
+
# Header Params
|
502
|
+
header_params = {}
|
503
|
+
header_params[:accept] = 'application/json'
|
504
|
+
header_params[:'content-type'] = 'application/json'
|
505
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
506
|
+
# rubocop:enable Style/NegatedIf
|
507
|
+
|
508
|
+
post_body = nil
|
509
|
+
|
510
|
+
# rubocop:disable Metrics/BlockLength
|
511
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#get_api') do
|
512
|
+
@api_client.call_api(
|
513
|
+
:GET,
|
514
|
+
path,
|
515
|
+
endpoint,
|
516
|
+
header_params: header_params,
|
517
|
+
query_params: query_params,
|
518
|
+
operation_signing_strategy: operation_signing_strategy,
|
519
|
+
body: post_body,
|
520
|
+
return_type: 'OCI::Apigateway::Models::Api'
|
521
|
+
)
|
522
|
+
end
|
523
|
+
# rubocop:enable Metrics/BlockLength
|
524
|
+
end
|
525
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
526
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
527
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
528
|
+
|
529
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
530
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
531
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
532
|
+
|
533
|
+
|
534
|
+
# Get the raw API content.
|
535
|
+
# @param [String] api_id The ocid of the API.
|
536
|
+
# @param [Hash] opts the optional parameters
|
537
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
538
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
539
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
540
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
541
|
+
# for a resource, set the `if-match` parameter to the value of the
|
542
|
+
# etag from a previous GET or POST response for that resource.
|
543
|
+
# The resource will be updated or deleted only if the etag you
|
544
|
+
# provide matches the resource's current etag value.
|
545
|
+
# (default to null)
|
546
|
+
# @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
|
547
|
+
# @option [Block] &block Streaming http body to the block
|
548
|
+
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
549
|
+
def get_api_content(api_id, opts = {}, &block)
|
550
|
+
logger.debug 'Calling operation ApiGatewayClient#get_api_content.' if logger
|
551
|
+
|
552
|
+
raise "Missing the required parameter 'api_id' when calling get_api_content." if api_id.nil?
|
553
|
+
raise "Parameter value for 'api_id' must not be blank" if OCI::Internal::Util.blank_string?(api_id)
|
554
|
+
|
555
|
+
path = '/apis/{apiId}/content'.sub('{apiId}', api_id.to_s)
|
556
|
+
operation_signing_strategy = :standard
|
557
|
+
|
558
|
+
# rubocop:disable Style/NegatedIf
|
559
|
+
# Query Params
|
560
|
+
query_params = {}
|
561
|
+
|
562
|
+
# Header Params
|
563
|
+
header_params = {}
|
564
|
+
header_params[:accept] = opts[:accept] if opts[:accept]
|
565
|
+
header_params[:accept] ||= 'application/json'
|
566
|
+
header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding]
|
567
|
+
header_params[:'content-type'] = 'application/json'
|
568
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
569
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
570
|
+
# rubocop:enable Style/NegatedIf
|
571
|
+
|
572
|
+
post_body = nil
|
573
|
+
|
574
|
+
# rubocop:disable Metrics/BlockLength
|
575
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#get_api_content') do
|
576
|
+
if !block.nil?
|
577
|
+
@api_client.call_api(
|
578
|
+
:GET,
|
579
|
+
path,
|
580
|
+
endpoint,
|
581
|
+
header_params: header_params,
|
582
|
+
query_params: query_params,
|
583
|
+
operation_signing_strategy: operation_signing_strategy,
|
584
|
+
body: post_body,
|
585
|
+
return_type: 'Stream',
|
586
|
+
&block
|
587
|
+
)
|
588
|
+
elsif opts[:response_target]
|
589
|
+
if opts[:response_target].respond_to? :write
|
590
|
+
@api_client.call_api(
|
591
|
+
:GET,
|
592
|
+
path,
|
593
|
+
endpoint,
|
594
|
+
header_params: header_params,
|
595
|
+
query_params: query_params,
|
596
|
+
operation_signing_strategy: operation_signing_strategy,
|
597
|
+
body: post_body,
|
598
|
+
return_type: 'Stream',
|
599
|
+
&proc { |chunk, _response| opts[:response_target].write(chunk) }
|
600
|
+
)
|
601
|
+
elsif opts[:response_target].is_a?(String)
|
602
|
+
File.open(opts[:response_target], 'wb') do |output|
|
603
|
+
return @api_client.call_api(
|
604
|
+
:GET,
|
605
|
+
path,
|
606
|
+
endpoint,
|
607
|
+
header_params: header_params,
|
608
|
+
query_params: query_params,
|
609
|
+
operation_signing_strategy: operation_signing_strategy,
|
610
|
+
body: post_body,
|
611
|
+
return_type: 'Stream',
|
612
|
+
&proc { |chunk, _response| output.write(chunk) }
|
613
|
+
)
|
614
|
+
end
|
615
|
+
end
|
616
|
+
else
|
617
|
+
@api_client.call_api(
|
618
|
+
:GET,
|
619
|
+
path,
|
620
|
+
endpoint,
|
621
|
+
header_params: header_params,
|
622
|
+
query_params: query_params,
|
623
|
+
operation_signing_strategy: operation_signing_strategy,
|
624
|
+
body: post_body,
|
625
|
+
return_type: 'String'
|
626
|
+
)
|
627
|
+
end
|
628
|
+
end
|
629
|
+
# rubocop:enable Metrics/BlockLength
|
630
|
+
end
|
631
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
632
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
633
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
634
|
+
|
635
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
636
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
637
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
638
|
+
|
639
|
+
|
640
|
+
# Gets an API Deployment specification by identifier.
|
641
|
+
# @param [String] api_id The ocid of the API.
|
642
|
+
# @param [Hash] opts the optional parameters
|
643
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
644
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
645
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
646
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
647
|
+
# for a resource, set the `if-match` parameter to the value of the
|
648
|
+
# etag from a previous GET or POST response for that resource.
|
649
|
+
# The resource will be updated or deleted only if the etag you
|
650
|
+
# provide matches the resource's current etag value.
|
651
|
+
# (default to null)
|
652
|
+
# @return [Response] A Response object with data of type {OCI::Apigateway::Models::ApiSpecification ApiSpecification}
|
653
|
+
def get_api_deployment_specification(api_id, opts = {})
|
654
|
+
logger.debug 'Calling operation ApiGatewayClient#get_api_deployment_specification.' if logger
|
655
|
+
|
656
|
+
raise "Missing the required parameter 'api_id' when calling get_api_deployment_specification." if api_id.nil?
|
657
|
+
raise "Parameter value for 'api_id' must not be blank" if OCI::Internal::Util.blank_string?(api_id)
|
658
|
+
|
659
|
+
path = '/apis/{apiId}/deploymentSpecification'.sub('{apiId}', api_id.to_s)
|
660
|
+
operation_signing_strategy = :standard
|
661
|
+
|
662
|
+
# rubocop:disable Style/NegatedIf
|
663
|
+
# Query Params
|
664
|
+
query_params = {}
|
665
|
+
|
666
|
+
# Header Params
|
667
|
+
header_params = {}
|
668
|
+
header_params[:accept] = 'application/json'
|
669
|
+
header_params[:'content-type'] = 'application/json'
|
670
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
671
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
672
|
+
# rubocop:enable Style/NegatedIf
|
673
|
+
|
674
|
+
post_body = nil
|
675
|
+
|
676
|
+
# rubocop:disable Metrics/BlockLength
|
677
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#get_api_deployment_specification') do
|
678
|
+
@api_client.call_api(
|
679
|
+
:GET,
|
680
|
+
path,
|
681
|
+
endpoint,
|
682
|
+
header_params: header_params,
|
683
|
+
query_params: query_params,
|
684
|
+
operation_signing_strategy: operation_signing_strategy,
|
685
|
+
body: post_body,
|
686
|
+
return_type: 'OCI::Apigateway::Models::ApiSpecification'
|
687
|
+
)
|
688
|
+
end
|
689
|
+
# rubocop:enable Metrics/BlockLength
|
690
|
+
end
|
691
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
692
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
693
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
694
|
+
|
695
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
696
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
697
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
698
|
+
|
699
|
+
|
700
|
+
# Gets the API validation results.
|
701
|
+
# @param [String] api_id The ocid of the API.
|
702
|
+
# @param [Hash] opts the optional parameters
|
703
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
704
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
705
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
706
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
707
|
+
# for a resource, set the `if-match` parameter to the value of the
|
708
|
+
# etag from a previous GET or POST response for that resource.
|
709
|
+
# The resource will be updated or deleted only if the etag you
|
710
|
+
# provide matches the resource's current etag value.
|
711
|
+
# (default to null)
|
712
|
+
# @return [Response] A Response object with data of type {OCI::Apigateway::Models::ApiValidations ApiValidations}
|
713
|
+
def get_api_validations(api_id, opts = {})
|
714
|
+
logger.debug 'Calling operation ApiGatewayClient#get_api_validations.' if logger
|
715
|
+
|
716
|
+
raise "Missing the required parameter 'api_id' when calling get_api_validations." if api_id.nil?
|
717
|
+
raise "Parameter value for 'api_id' must not be blank" if OCI::Internal::Util.blank_string?(api_id)
|
718
|
+
|
719
|
+
path = '/apis/{apiId}/validations'.sub('{apiId}', api_id.to_s)
|
720
|
+
operation_signing_strategy = :standard
|
721
|
+
|
722
|
+
# rubocop:disable Style/NegatedIf
|
723
|
+
# Query Params
|
724
|
+
query_params = {}
|
725
|
+
|
726
|
+
# Header Params
|
727
|
+
header_params = {}
|
728
|
+
header_params[:accept] = 'application/json'
|
729
|
+
header_params[:'content-type'] = 'application/json'
|
730
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
731
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
732
|
+
# rubocop:enable Style/NegatedIf
|
733
|
+
|
734
|
+
post_body = nil
|
735
|
+
|
736
|
+
# rubocop:disable Metrics/BlockLength
|
737
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#get_api_validations') do
|
738
|
+
@api_client.call_api(
|
739
|
+
:GET,
|
740
|
+
path,
|
741
|
+
endpoint,
|
742
|
+
header_params: header_params,
|
743
|
+
query_params: query_params,
|
744
|
+
operation_signing_strategy: operation_signing_strategy,
|
745
|
+
body: post_body,
|
746
|
+
return_type: 'OCI::Apigateway::Models::ApiValidations'
|
747
|
+
)
|
748
|
+
end
|
749
|
+
# rubocop:enable Metrics/BlockLength
|
750
|
+
end
|
751
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
752
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
753
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
754
|
+
|
755
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
756
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
757
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
758
|
+
|
759
|
+
|
292
760
|
# Gets a certificate by identifier.
|
293
761
|
# @param [String] certificate_id The ocid of the certificate.
|
294
762
|
# @param [Hash] opts the optional parameters
|
@@ -342,6 +810,96 @@ module OCI
|
|
342
810
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
343
811
|
|
344
812
|
|
813
|
+
# Returns a list of APIs.
|
814
|
+
#
|
815
|
+
# @param [String] compartment_id The ocid of the compartment in which to list resources.
|
816
|
+
# @param [Hash] opts the optional parameters
|
817
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
818
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
819
|
+
# @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
|
820
|
+
#
|
821
|
+
# Example: `My new resource`
|
822
|
+
# (default to null)
|
823
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state.
|
824
|
+
#
|
825
|
+
# Example: `ACTIVE`
|
826
|
+
# (default to null)
|
827
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
828
|
+
# @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. (default to null)
|
829
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. The default order depends on the sortBy value. (default to ASC)
|
830
|
+
# Allowed values are: ASC, DESC
|
831
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`).
|
832
|
+
# Default order for `timeCreated` is descending. Default order for
|
833
|
+
# `displayName` is ascending. The `displayName` sort order is case
|
834
|
+
# sensitive.
|
835
|
+
# (default to timeCreated)
|
836
|
+
# Allowed values are: timeCreated, displayName
|
837
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
838
|
+
# @return [Response] A Response object with data of type {OCI::Apigateway::Models::ApiCollection ApiCollection}
|
839
|
+
def list_apis(compartment_id, opts = {})
|
840
|
+
logger.debug 'Calling operation ApiGatewayClient#list_apis.' if logger
|
841
|
+
|
842
|
+
raise "Missing the required parameter 'compartment_id' when calling list_apis." if compartment_id.nil?
|
843
|
+
|
844
|
+
if opts[:lifecycle_state] && !OCI::Apigateway::Models::ApiSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
845
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Apigateway::Models::ApiSummary::LIFECYCLE_STATE_ENUM.'
|
846
|
+
end
|
847
|
+
|
848
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
849
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
850
|
+
end
|
851
|
+
|
852
|
+
if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
|
853
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
|
854
|
+
end
|
855
|
+
|
856
|
+
path = '/apis'
|
857
|
+
operation_signing_strategy = :standard
|
858
|
+
|
859
|
+
# rubocop:disable Style/NegatedIf
|
860
|
+
# Query Params
|
861
|
+
query_params = {}
|
862
|
+
query_params[:compartmentId] = compartment_id
|
863
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
864
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
865
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
866
|
+
query_params[:page] = opts[:page] if opts[:page]
|
867
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
868
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
869
|
+
|
870
|
+
# Header Params
|
871
|
+
header_params = {}
|
872
|
+
header_params[:accept] = 'application/json'
|
873
|
+
header_params[:'content-type'] = 'application/json'
|
874
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
875
|
+
# rubocop:enable Style/NegatedIf
|
876
|
+
|
877
|
+
post_body = nil
|
878
|
+
|
879
|
+
# rubocop:disable Metrics/BlockLength
|
880
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#list_apis') do
|
881
|
+
@api_client.call_api(
|
882
|
+
:GET,
|
883
|
+
path,
|
884
|
+
endpoint,
|
885
|
+
header_params: header_params,
|
886
|
+
query_params: query_params,
|
887
|
+
operation_signing_strategy: operation_signing_strategy,
|
888
|
+
body: post_body,
|
889
|
+
return_type: 'OCI::Apigateway::Models::ApiCollection'
|
890
|
+
)
|
891
|
+
end
|
892
|
+
# rubocop:enable Metrics/BlockLength
|
893
|
+
end
|
894
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
895
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
896
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
897
|
+
|
898
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
899
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
900
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
901
|
+
|
902
|
+
|
345
903
|
# Returns a list of certificates.
|
346
904
|
#
|
347
905
|
# @param [String] compartment_id The ocid of the compartment in which to list resources.
|
@@ -432,6 +990,67 @@ module OCI
|
|
432
990
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
433
991
|
|
434
992
|
|
993
|
+
# Updates the API with the given identifier.
|
994
|
+
# @param [String] api_id The ocid of the API.
|
995
|
+
# @param [OCI::Apigateway::Models::UpdateApiDetails] update_api_details The information to be updated.
|
996
|
+
# @param [Hash] opts the optional parameters
|
997
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
998
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
999
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1000
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1001
|
+
# etag from a previous GET or POST response for that resource.
|
1002
|
+
# The resource will be updated or deleted only if the etag you
|
1003
|
+
# provide matches the resource's current etag value.
|
1004
|
+
# (default to null)
|
1005
|
+
# @option opts [String] :opc_request_id The client request id for tracing. (default to null)
|
1006
|
+
# @return [Response] A Response object with data of type nil
|
1007
|
+
def update_api(api_id, update_api_details, opts = {})
|
1008
|
+
logger.debug 'Calling operation ApiGatewayClient#update_api.' if logger
|
1009
|
+
|
1010
|
+
raise "Missing the required parameter 'api_id' when calling update_api." if api_id.nil?
|
1011
|
+
raise "Missing the required parameter 'update_api_details' when calling update_api." if update_api_details.nil?
|
1012
|
+
raise "Parameter value for 'api_id' must not be blank" if OCI::Internal::Util.blank_string?(api_id)
|
1013
|
+
|
1014
|
+
path = '/apis/{apiId}'.sub('{apiId}', api_id.to_s)
|
1015
|
+
operation_signing_strategy = :standard
|
1016
|
+
|
1017
|
+
# rubocop:disable Style/NegatedIf
|
1018
|
+
# Query Params
|
1019
|
+
query_params = {}
|
1020
|
+
|
1021
|
+
# Header Params
|
1022
|
+
header_params = {}
|
1023
|
+
header_params[:accept] = 'application/json'
|
1024
|
+
header_params[:'content-type'] = 'application/json'
|
1025
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1026
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1027
|
+
# rubocop:enable Style/NegatedIf
|
1028
|
+
|
1029
|
+
post_body = @api_client.object_to_http_body(update_api_details)
|
1030
|
+
|
1031
|
+
# rubocop:disable Metrics/BlockLength
|
1032
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApiGatewayClient#update_api') do
|
1033
|
+
@api_client.call_api(
|
1034
|
+
:PUT,
|
1035
|
+
path,
|
1036
|
+
endpoint,
|
1037
|
+
header_params: header_params,
|
1038
|
+
query_params: query_params,
|
1039
|
+
operation_signing_strategy: operation_signing_strategy,
|
1040
|
+
body: post_body
|
1041
|
+
)
|
1042
|
+
end
|
1043
|
+
# rubocop:enable Metrics/BlockLength
|
1044
|
+
end
|
1045
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1046
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1047
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1048
|
+
|
1049
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1050
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1051
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1052
|
+
|
1053
|
+
|
435
1054
|
# Updates a certificate with the given identifier
|
436
1055
|
# @param [String] certificate_id The ocid of the certificate.
|
437
1056
|
# @param [OCI::Apigateway::Models::UpdateCertificateDetails] update_certificate_details The information to be updated.
|