oci 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +6 -4
- data/README.md +6 -1
- data/lib/oci.rb +4 -0
- data/lib/oci/ai_language/ai_language.rb +35 -0
- data/lib/oci/ai_language/ai_service_language_client.rb +396 -0
- data/lib/oci/ai_language/ai_service_language_client_composite_operations.rb +25 -0
- data/lib/oci/ai_language/models/detect_dominant_language_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_dominant_language_result.rb +154 -0
- data/lib/oci/ai_language/models/detect_language_entities_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_entities_result.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_key_phrases_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_key_phrases_result.rb +154 -0
- data/lib/oci/ai_language/models/detect_language_sentiments_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_sentiments_result.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_text_classification_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_text_classification_result.rb +154 -0
- data/lib/oci/ai_language/models/detected_language.rb +172 -0
- data/lib/oci/ai_language/models/entity.rb +205 -0
- data/lib/oci/ai_language/models/key_phrase.rb +160 -0
- data/lib/oci/ai_language/models/ner_model_version.rb +11 -0
- data/lib/oci/ai_language/models/sentiment_aspect.rb +192 -0
- data/lib/oci/ai_language/models/text_classification.rb +160 -0
- data/lib/oci/ai_language/util.rb +3 -0
- data/lib/oci/api_client.rb +3 -6
- data/lib/oci/apigateway/apigateway.rb +17 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +56 -4
- data/lib/oci/apigateway/models/api_specification_route_response_policies.rb +17 -4
- data/lib/oci/apigateway/models/body_validation_request_policy.rb +211 -0
- data/lib/oci/apigateway/models/content_validation.rb +194 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +14 -1
- data/lib/oci/apigateway/models/external_resp_cache.rb +269 -0
- data/lib/oci/apigateway/models/fixed_ttl_response_cache_store_policy.rb +164 -0
- data/lib/oci/apigateway/models/gateway.rb +14 -1
- data/lib/oci/apigateway/models/header_validation_item.rb +161 -0
- data/lib/oci/apigateway/models/header_validation_request_policy.rb +188 -0
- data/lib/oci/apigateway/models/no_cache.rb +146 -0
- data/lib/oci/apigateway/models/no_content_validation.rb +145 -0
- data/lib/oci/apigateway/models/query_parameter_validation_item.rb +161 -0
- data/lib/oci/apigateway/models/query_parameter_validation_request_policy.rb +195 -0
- data/lib/oci/apigateway/models/request_parameter_validation.rb +150 -0
- data/lib/oci/apigateway/models/response_cache_details.rb +188 -0
- data/lib/oci/apigateway/models/response_cache_lookup_policy.rb +225 -0
- data/lib/oci/apigateway/models/response_cache_resp_server.rb +161 -0
- data/lib/oci/apigateway/models/response_cache_store_policy.rb +186 -0
- data/lib/oci/apigateway/models/simple_lookup_policy.rb +173 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +14 -1
- data/lib/oci/apigateway/models/validation_request_policy.rb +179 -0
- data/lib/oci/auth/signers/resource_principals_federation_signer.rb +15 -17
- data/lib/oci/cloud_guard/cloud_guard.rb +13 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +426 -9
- data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +119 -0
- data/lib/oci/cloud_guard/models/all_targets_selected.rb +145 -0
- data/lib/oci/cloud_guard/models/create_data_mask_rule_details.rb +335 -0
- data/lib/oci/cloud_guard/models/create_managed_list_details.rb +2 -1
- data/lib/oci/cloud_guard/models/data_mask_category.rb +15 -0
- data/lib/oci/cloud_guard/models/data_mask_rule.rb +425 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_status.rb +11 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_summary.rb +425 -0
- data/lib/oci/cloud_guard/models/detector_recipe.rb +2 -2
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list_type.rb +2 -1
- data/lib/oci/cloud_guard/models/policy_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/policy_summary.rb +150 -0
- data/lib/oci/cloud_guard/models/problem.rb +35 -1
- data/lib/oci/cloud_guard/models/security_rating.rb +2 -1
- data/lib/oci/cloud_guard/models/security_score_aggregation.rb +1 -0
- data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +1 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/target_ids_selected.rb +158 -0
- data/lib/oci/cloud_guard/models/target_resource_types_selected.rb +186 -0
- data/lib/oci/cloud_guard/models/target_selected.rb +189 -0
- data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +14 -4
- data/lib/oci/cloud_guard/models/update_data_mask_rule_details.rb +292 -0
- data/lib/oci/config.rb +1 -3
- data/lib/oci/core/compute_client.rb +6 -5
- data/lib/oci/core/core.rb +47 -0
- data/lib/oci/core/models/add_drg_route_distribution_statement_details.rb +195 -0
- data/lib/oci/core/models/add_drg_route_distribution_statements_details.rb +152 -0
- data/lib/oci/core/models/add_drg_route_rule_details.rb +202 -0
- data/lib/oci/core/models/add_drg_route_rules_details.rb +156 -0
- data/lib/oci/core/models/add_security_rule_details.rb +2 -2
- data/lib/oci/core/models/bgp_session_info.rb +90 -4
- data/lib/oci/core/models/block_volume_replica.rb +19 -4
- data/lib/oci/core/models/boot_volume_replica.rb +19 -4
- data/lib/oci/core/models/create_drg_attachment_details.rb +72 -4
- data/lib/oci/core/models/create_drg_details.rb +1 -1
- data/lib/oci/core/models/create_drg_route_distribution_details.rb +235 -0
- data/lib/oci/core/models/create_drg_route_table_details.rb +242 -0
- data/lib/oci/core/models/create_image_details.rb +2 -2
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -3
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +53 -1
- data/lib/oci/core/models/create_ipv6_details.rb +1 -23
- data/lib/oci/core/models/create_subnet_details.rb +26 -3
- data/lib/oci/core/models/create_vcn_details.rb +3 -36
- data/lib/oci/core/models/create_vnic_details.rb +20 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +1 -1
- data/lib/oci/core/models/cross_connect_mapping_details.rb +356 -0
- data/lib/oci/core/models/cross_connect_mapping_details_collection.rb +150 -0
- data/lib/oci/core/models/default_drg_route_tables.rb +206 -0
- data/lib/oci/core/models/drg.rb +38 -10
- data/lib/oci/core/models/drg_attachment.rb +115 -10
- data/lib/oci/core/models/drg_attachment_id_drg_route_distribution_match_criteria.rb +164 -0
- data/lib/oci/core/models/drg_attachment_info.rb +152 -0
- data/lib/oci/core/models/drg_attachment_network_create_details.rb +189 -0
- data/lib/oci/core/models/drg_attachment_network_details.rb +202 -0
- data/lib/oci/core/models/drg_attachment_network_update_details.rb +178 -0
- data/lib/oci/core/models/drg_attachment_type_drg_route_distribution_match_criteria.rb +188 -0
- data/lib/oci/core/models/drg_redundancy_status.rb +1 -1
- data/lib/oci/core/models/drg_route_distribution.rb +336 -0
- data/lib/oci/core/models/drg_route_distribution_match_criteria.rb +194 -0
- data/lib/oci/core/models/drg_route_distribution_statement.rb +215 -0
- data/lib/oci/core/models/drg_route_rule.rb +341 -0
- data/lib/oci/core/models/drg_route_table.rb +332 -0
- data/lib/oci/core/models/image.rb +2 -2
- data/lib/oci/core/models/ingress_security_rule.rb +1 -1
- data/lib/oci/core/models/instance.rb +15 -2
- data/lib/oci/core/models/instance_availability_config.rb +18 -1
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +17 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +18 -5
- data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +46 -4
- data/lib/oci/core/models/instance_configuration_launch_options.rb +5 -5
- data/lib/oci/core/models/instance_shape_config.rb +43 -1
- data/lib/oci/core/models/ip_sec_connection.rb +4 -4
- data/lib/oci/core/models/ipsec_tunnel_drg_attachment_network_details.rb +166 -0
- data/lib/oci/core/models/ipv6.rb +4 -54
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +20 -2
- data/lib/oci/core/models/launch_instance_details.rb +14 -1
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +39 -4
- data/lib/oci/core/models/launch_options.rb +5 -5
- data/lib/oci/core/models/local_peering_gateway.rb +15 -1
- data/lib/oci/core/models/networking_topology.rb +158 -0
- data/lib/oci/core/models/port_range.rb +2 -2
- data/lib/oci/core/models/preemptible_instance_config_details.rb +155 -0
- data/lib/oci/core/models/preemption_action.rb +186 -0
- data/lib/oci/core/models/remote_peering_connection_drg_attachment_network_details.rb +149 -0
- data/lib/oci/core/models/remove_drg_route_distribution_statements_details.rb +156 -0
- data/lib/oci/core/models/remove_drg_route_rules_details.rb +156 -0
- data/lib/oci/core/models/route_rule.rb +3 -2
- data/lib/oci/core/models/route_table.rb +1 -1
- data/lib/oci/core/models/security_rule.rb +4 -4
- data/lib/oci/core/models/shape.rb +75 -1
- data/lib/oci/core/models/subnet.rb +30 -24
- data/lib/oci/core/models/terminate_preemption_action.rb +166 -0
- data/lib/oci/core/models/topology.rb +214 -0
- data/lib/oci/core/models/topology_associated_with_entity_relationship.rb +157 -0
- data/lib/oci/core/models/topology_contains_entity_relationship.rb +157 -0
- data/lib/oci/core/models/topology_entity_relationship.rb +209 -0
- data/lib/oci/core/models/topology_routes_to_entity_relationship.rb +173 -0
- data/lib/oci/core/models/topology_routes_to_relationship_details.rb +183 -0
- data/lib/oci/core/models/update_cluster_network_details.rb +19 -4
- data/lib/oci/core/models/update_cluster_network_instance_pool_details.rb +212 -0
- data/lib/oci/core/models/update_drg_attachment_details.rb +88 -2
- data/lib/oci/core/models/update_drg_details.rb +14 -1
- data/lib/oci/core/models/update_drg_route_distribution_details.rb +195 -0
- data/lib/oci/core/models/update_drg_route_distribution_statement_details.rb +179 -0
- data/lib/oci/core/models/update_drg_route_distribution_statements_details.rb +152 -0
- data/lib/oci/core/models/update_drg_route_rule_details.rb +212 -0
- data/lib/oci/core/models/update_drg_route_rules_details.rb +155 -0
- data/lib/oci/core/models/update_drg_route_table_details.rb +227 -0
- data/lib/oci/core/models/update_instance_availability_config_details.rb +20 -2
- data/lib/oci/core/models/update_instance_shape_config_details.rb +39 -4
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -2
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +53 -1
- data/lib/oci/core/models/update_ipv6_details.rb +1 -23
- data/lib/oci/core/models/update_launch_options.rb +1 -1
- data/lib/oci/core/models/update_security_rule_details.rb +2 -2
- data/lib/oci/core/models/update_subnet_details.rb +27 -4
- data/lib/oci/core/models/upgrade_status.rb +203 -0
- data/lib/oci/core/models/vcn.rb +12 -38
- data/lib/oci/core/models/vcn_drg_attachment_network_create_details.rb +174 -0
- data/lib/oci/core/models/vcn_drg_attachment_network_details.rb +172 -0
- data/lib/oci/core/models/vcn_drg_attachment_network_update_details.rb +168 -0
- data/lib/oci/core/models/vcn_topology.rb +175 -0
- data/lib/oci/core/models/virtual_circuit.rb +35 -2
- data/lib/oci/core/models/virtual_circuit_drg_attachment_network_details.rb +149 -0
- data/lib/oci/core/virtual_network_client.rb +2092 -236
- data/lib/oci/core/virtual_network_client_composite_operations.rb +446 -32
- data/lib/oci/data_catalog/data_catalog.rb +2 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +91 -0
- data/lib/oci/data_catalog/models/attribute.rb +15 -1
- data/lib/oci/data_catalog/models/attribute_summary.rb +29 -1
- data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_connection_details.rb +1 -1
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/create_entity_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/custom_property.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_summary.rb +17 -1
- data/lib/oci/data_catalog/models/entity.rb +15 -1
- data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
- data/lib/oci/data_catalog/models/folder.rb +15 -1
- data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
- data/lib/oci/data_catalog/models/job.rb +15 -1
- data/lib/oci/data_catalog/models/job_definition_summary.rb +18 -4
- data/lib/oci/data_catalog/models/job_summary.rb +15 -1
- data/lib/oci/data_catalog/models/search_result.rb +55 -1
- data/lib/oci/data_catalog/models/suggest_list_item.rb +166 -0
- data/lib/oci/data_catalog/models/suggest_results.rb +194 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_connection_details.rb +1 -1
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/update_entity_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
- data/lib/oci/data_flow/data_flow_client.rb +4 -4
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +1 -1
- data/lib/oci/data_flow/models/application.rb +16 -1
- data/lib/oci/data_flow/models/change_private_endpoint_compartment_details.rb +1 -1
- data/lib/oci/data_flow/models/create_application_details.rb +16 -1
- data/lib/oci/data_flow/models/create_private_endpoint_details.rb +1 -1
- data/lib/oci/data_flow/models/create_run_details.rb +66 -4
- data/lib/oci/data_flow/models/private_endpoint_collection.rb +2 -2
- data/lib/oci/data_flow/models/run.rb +16 -1
- data/lib/oci/data_flow/models/update_application_details.rb +16 -1
- data/lib/oci/data_flow/models/update_private_endpoint_details.rb +1 -1
- data/lib/oci/data_flow/models/work_request_summary.rb +1 -1
- data/lib/oci/data_science/data_science_client.rb +8 -7
- data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -3
- data/lib/oci/database/database.rb +5 -0
- data/lib/oci/database/database_client.rb +278 -0
- data/lib/oci/database/database_client_composite_operations.rb +200 -0
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +4 -2
- data/lib/oci/database/models/autonomous_database.rb +20 -5
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +18 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +4 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +20 -5
- data/lib/oci/database/models/create_autonomous_database_base.rb +18 -4
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +8 -4
- 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_database_details.rb +1 -1
- data/lib/oci/database/models/create_database_software_image_details.rb +2 -2
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/customer_contact.rb +151 -0
- data/lib/oci/database/models/database.rb +1 -1
- data/lib/oci/database/models/database_summary.rb +1 -1
- data/lib/oci/database/models/enable_external_database_operations_insights_details_base.rb +156 -0
- data/lib/oci/database/models/enable_external_non_container_database_operations_insights_details.rb +153 -0
- data/lib/oci/database/models/enable_external_pluggable_database_operations_insights_details.rb +153 -0
- data/lib/oci/database/models/exadata_infrastructure.rb +29 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +29 -1
- data/lib/oci/database/models/external_container_database.rb +34 -1
- data/lib/oci/database/models/external_container_database_summary.rb +34 -1
- data/lib/oci/database/models/external_database_base.rb +28 -1
- data/lib/oci/database/models/external_non_container_database.rb +50 -1
- data/lib/oci/database/models/external_non_container_database_summary.rb +50 -1
- data/lib/oci/database/models/external_pluggable_database.rb +47 -1
- data/lib/oci/database/models/external_pluggable_database_summary.rb +47 -1
- data/lib/oci/database/models/maintenance_run.rb +51 -4
- data/lib/oci/database/models/maintenance_run_summary.rb +51 -4
- data/lib/oci/database/models/operations_insights_config.rb +194 -0
- data/lib/oci/database/models/update_autonomous_database_details.rb +18 -4
- data/lib/oci/database/models/update_maintenance_run_details.rb +31 -4
- data/lib/oci/database_management/database_management.rb +6 -0
- data/lib/oci/database_management/db_management_client.rb +70 -3
- data/lib/oci/database_management/models/activity_time_series_metrics.rb +13 -4
- data/lib/oci/database_management/models/change_database_parameters_details.rb +1 -1
- data/lib/oci/database_management/models/cluster_cache_metric.rb +156 -0
- data/lib/oci/database_management/models/database_home_metrics.rb +18 -4
- data/lib/oci/database_management/models/database_instance_home_metrics_definition.rb +234 -0
- data/lib/oci/database_management/models/database_parameter_summary.rb +1 -1
- data/lib/oci/database_management/models/database_parameters_collection.rb +1 -1
- data/lib/oci/database_management/models/database_time_aggregate_metrics.rb +13 -4
- data/lib/oci/database_management/models/instance_details.rb +205 -0
- data/lib/oci/database_management/models/managed_database.rb +88 -1
- data/lib/oci/database_management/models/pdb_status_details.rb +181 -0
- data/lib/oci/database_management/models/reset_database_parameters_details.rb +8 -7
- data/lib/oci/database_management/models/time_series_metric_data_point.rb +180 -0
- data/lib/oci/database_management/models/time_series_metric_definition.rb +166 -0
- data/lib/oci/database_management/models/update_database_parameters_result.rb +1 -1
- data/lib/oci/database_migration/database_migration.rb +132 -0
- data/lib/oci/database_migration/database_migration_client.rb +2579 -0
- data/lib/oci/database_migration/database_migration_client_composite_operations.rb +736 -0
- data/lib/oci/database_migration/models/admin_credentials.rb +152 -0
- data/lib/oci/database_migration/models/agent.rb +356 -0
- data/lib/oci/database_migration/models/agent_collection.rb +152 -0
- data/lib/oci/database_migration/models/agent_image_collection.rb +152 -0
- data/lib/oci/database_migration/models/agent_image_summary.rb +167 -0
- data/lib/oci/database_migration/models/agent_summary.rb +341 -0
- data/lib/oci/database_migration/models/change_agent_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/change_connection_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/change_migration_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/clone_migration_details.rb +292 -0
- data/lib/oci/database_migration/models/connect_descriptor.rb +193 -0
- data/lib/oci/database_migration/models/connection.rb +461 -0
- data/lib/oci/database_migration/models/connection_collection.rb +152 -0
- data/lib/oci/database_migration/models/connection_summary.rb +366 -0
- data/lib/oci/database_migration/models/create_admin_credentials.rb +163 -0
- data/lib/oci/database_migration/models/create_agent_details.rb +244 -0
- data/lib/oci/database_migration/models/create_connect_descriptor.rb +198 -0
- data/lib/oci/database_migration/models/create_connection_details.rb +360 -0
- data/lib/oci/database_migration/models/create_data_pump_parameters.rb +261 -0
- data/lib/oci/database_migration/models/create_data_pump_settings.rb +228 -0
- data/lib/oci/database_migration/models/create_data_transfer_medium_details.rb +168 -0
- data/lib/oci/database_migration/models/create_database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/create_directory_object.rb +165 -0
- data/lib/oci/database_migration/models/create_extract.rb +188 -0
- data/lib/oci/database_migration/models/create_golden_gate_details.rb +160 -0
- data/lib/oci/database_migration/models/create_golden_gate_hub.rb +253 -0
- data/lib/oci/database_migration/models/create_golden_gate_settings.rb +174 -0
- data/lib/oci/database_migration/models/create_migration_details.rb +355 -0
- data/lib/oci/database_migration/models/create_object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/create_private_endpoint.rb +189 -0
- data/lib/oci/database_migration/models/create_replicat.rb +186 -0
- data/lib/oci/database_migration/models/create_ssh_details.rb +190 -0
- data/lib/oci/database_migration/models/create_vault_details.rb +186 -0
- data/lib/oci/database_migration/models/data_pump_estimate.rb +11 -0
- data/lib/oci/database_migration/models/data_pump_exclude_parameters.rb +12 -0
- data/lib/oci/database_migration/models/data_pump_job_mode.rb +14 -0
- data/lib/oci/database_migration/models/data_pump_parameters.rb +274 -0
- data/lib/oci/database_migration/models/data_pump_settings.rb +235 -0
- data/lib/oci/database_migration/models/data_pump_table_exists_action.rb +13 -0
- data/lib/oci/database_migration/models/data_transfer_medium_details.rb +167 -0
- data/lib/oci/database_migration/models/database_connection_types.rb +12 -0
- data/lib/oci/database_migration/models/database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/database_object.rb +167 -0
- data/lib/oci/database_migration/models/directory_object.rb +163 -0
- data/lib/oci/database_migration/models/extract.rb +195 -0
- data/lib/oci/database_migration/models/extract_performance_profile.rb +12 -0
- data/lib/oci/database_migration/models/generate_token.rb +156 -0
- data/lib/oci/database_migration/models/golden_gate_details.rb +160 -0
- data/lib/oci/database_migration/models/golden_gate_hub.rb +253 -0
- data/lib/oci/database_migration/models/golden_gate_settings.rb +174 -0
- data/lib/oci/database_migration/models/job.rb +372 -0
- data/lib/oci/database_migration/models/job_collection.rb +152 -0
- data/lib/oci/database_migration/models/job_lifecycle_states.rb +18 -0
- data/lib/oci/database_migration/models/job_output_summary.rb +152 -0
- data/lib/oci/database_migration/models/job_output_summary_collection.rb +152 -0
- data/lib/oci/database_migration/models/job_phase_status.rb +13 -0
- data/lib/oci/database_migration/models/job_summary.rb +357 -0
- data/lib/oci/database_migration/models/job_types.rb +11 -0
- data/lib/oci/database_migration/models/lifecycle_states.rb +16 -0
- data/lib/oci/database_migration/models/metadata_remap.rb +205 -0
- data/lib/oci/database_migration/models/migration.rb +590 -0
- data/lib/oci/database_migration/models/migration_collection.rb +152 -0
- data/lib/oci/database_migration/models/migration_job_progress_resource.rb +237 -0
- data/lib/oci/database_migration/models/migration_job_progress_summary.rb +241 -0
- data/lib/oci/database_migration/models/migration_phase_collection.rb +152 -0
- data/lib/oci/database_migration/models/migration_phase_summary.rb +234 -0
- data/lib/oci/database_migration/models/migration_status.rb +16 -0
- data/lib/oci/database_migration/models/migration_summary.rb +472 -0
- data/lib/oci/database_migration/models/migration_types.rb +11 -0
- data/lib/oci/database_migration/models/object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/odms_job_phases.rb +25 -0
- data/lib/oci/database_migration/models/odms_phase_actions.rb +10 -0
- data/lib/oci/database_migration/models/operation_status.rb +15 -0
- data/lib/oci/database_migration/models/operation_types.rb +20 -0
- data/lib/oci/database_migration/models/par_link.rb +156 -0
- data/lib/oci/database_migration/models/phase_status.rb +244 -0
- data/lib/oci/database_migration/models/private_endpoint_details.rb +199 -0
- data/lib/oci/database_migration/models/replicat.rb +186 -0
- data/lib/oci/database_migration/models/resume_job_details.rb +184 -0
- data/lib/oci/database_migration/models/sort_orders.rb +11 -0
- data/lib/oci/database_migration/models/ssh_details.rb +178 -0
- data/lib/oci/database_migration/models/start_migration_details.rb +184 -0
- data/lib/oci/database_migration/models/unsupported_database_object.rb +197 -0
- data/lib/oci/database_migration/models/update_admin_credentials.rb +163 -0
- data/lib/oci/database_migration/models/update_agent_details.rb +244 -0
- data/lib/oci/database_migration/models/update_connect_descriptor.rb +197 -0
- data/lib/oci/database_migration/models/update_connection_details.rb +312 -0
- data/lib/oci/database_migration/models/update_data_pump_parameters.rb +262 -0
- data/lib/oci/database_migration/models/update_data_pump_settings.rb +229 -0
- data/lib/oci/database_migration/models/update_data_transfer_medium_details.rb +169 -0
- data/lib/oci/database_migration/models/update_database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/update_directory_object.rb +166 -0
- data/lib/oci/database_migration/models/update_extract.rb +189 -0
- data/lib/oci/database_migration/models/update_golden_gate_details.rb +159 -0
- data/lib/oci/database_migration/models/update_golden_gate_hub.rb +250 -0
- data/lib/oci/database_migration/models/update_golden_gate_settings.rb +175 -0
- data/lib/oci/database_migration/models/update_job_details.rb +188 -0
- data/lib/oci/database_migration/models/update_migration_details.rb +342 -0
- data/lib/oci/database_migration/models/update_object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/update_private_endpoint.rb +189 -0
- data/lib/oci/database_migration/models/update_replicat.rb +187 -0
- data/lib/oci/database_migration/models/update_ssh_details.rb +189 -0
- data/lib/oci/database_migration/models/update_vault_details.rb +186 -0
- data/lib/oci/database_migration/models/vault_details.rb +186 -0
- data/lib/oci/database_migration/models/work_request.rb +319 -0
- data/lib/oci/database_migration/models/work_request_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_error.rb +180 -0
- data/lib/oci/database_migration/models/work_request_error_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_log_entry.rb +167 -0
- data/lib/oci/database_migration/models/work_request_log_entry_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_resource.rb +223 -0
- data/lib/oci/database_migration/models/work_request_summary.rb +280 -0
- data/lib/oci/database_migration/util.rb +3 -0
- data/lib/oci/functions/functions.rb +2 -0
- data/lib/oci/functions/models/application.rb +14 -1
- data/lib/oci/functions/models/application_summary.rb +14 -1
- data/lib/oci/functions/models/application_trace_config.rb +171 -0
- data/lib/oci/functions/models/create_application_details.rb +14 -1
- data/lib/oci/functions/models/create_function_details.rb +14 -1
- data/lib/oci/functions/models/function.rb +14 -1
- data/lib/oci/functions/models/function_summary.rb +14 -1
- data/lib/oci/functions/models/function_trace_config.rb +156 -0
- data/lib/oci/functions/models/update_application_details.rb +14 -1
- data/lib/oci/functions/models/update_function_details.rb +14 -1
- data/lib/oci/limits/limits_client.rb +3 -3
- data/lib/oci/limits/models/limit_definition_summary.rb +34 -4
- data/lib/oci/limits/models/resource_availability.rb +54 -6
- data/lib/oci/limits/quotas_client.rb +1 -1
- data/lib/oci/loggingsearch/models/search_result.rb +1 -0
- data/lib/oci/object_storage/models/bucket.rb +40 -4
- data/lib/oci/object_storage/models/create_bucket_details.rb +22 -4
- data/lib/oci/object_storage/models/update_bucket_details.rb +21 -4
- data/lib/oci/object_storage/object_storage_client.rb +8 -5
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +66 -1
- data/lib/oci/ocvp/models/create_sddc_details.rb +34 -1
- data/lib/oci/ocvp/models/esxi_host.rb +94 -1
- data/lib/oci/ocvp/models/esxi_host_summary.rb +94 -1
- data/lib/oci/ocvp/models/sddc.rb +40 -1
- data/lib/oci/ocvp/models/sku.rb +13 -0
- data/lib/oci/ocvp/models/supported_sku_summary.rb +173 -0
- data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +150 -0
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +32 -1
- data/lib/oci/ocvp/ocvp.rb +3 -0
- data/lib/oci/ocvp/sddc_client.rb +68 -0
- data/lib/oci/operator_access_control/access_requests_client.rb +515 -0
- data/lib/oci/operator_access_control/access_requests_client_composite_operations.rb +25 -0
- data/lib/oci/operator_access_control/models/access_request.rb +583 -0
- data/lib/oci/operator_access_control/models/access_request_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/access_request_history_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/access_request_history_summary.rb +269 -0
- data/lib/oci/operator_access_control/models/access_request_lifecycle_states.rb +29 -0
- data/lib/oci/operator_access_control/models/access_request_severities.rb +13 -0
- data/lib/oci/operator_access_control/models/access_request_summary.rb +403 -0
- data/lib/oci/operator_access_control/models/approve_access_request_details.rb +185 -0
- data/lib/oci/operator_access_control/models/change_operator_control_assignment_compartment_details.rb +154 -0
- data/lib/oci/operator_access_control/models/change_operator_control_compartment_details.rb +154 -0
- data/lib/oci/operator_access_control/models/create_operator_control_assignment_details.rb +322 -0
- data/lib/oci/operator_access_control/models/create_operator_control_details.rb +302 -0
- data/lib/oci/operator_access_control/models/infrastrcuture_layers.rb +12 -0
- data/lib/oci/operator_access_control/models/operator_action.rb +198 -0
- data/lib/oci/operator_access_control/models/operator_action_categories.rb +14 -0
- data/lib/oci/operator_access_control/models/operator_action_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_action_lifecycle_states.rb +11 -0
- data/lib/oci/operator_access_control/models/operator_action_properties.rb +160 -0
- data/lib/oci/operator_access_control/models/operator_action_summary.rb +230 -0
- data/lib/oci/operator_access_control/models/operator_control.rb +407 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment.rb +448 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_lifecycle_states.rb +13 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_summary.rb +331 -0
- data/lib/oci/operator_access_control/models/operator_control_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_control_lifecycle_states.rb +13 -0
- data/lib/oci/operator_access_control/models/operator_control_summary.rb +303 -0
- data/lib/oci/operator_access_control/models/reject_access_request_details.rb +154 -0
- data/lib/oci/operator_access_control/models/resource_types.rb +10 -0
- data/lib/oci/operator_access_control/models/revoke_access_request_details.rb +154 -0
- data/lib/oci/operator_access_control/models/sort_orders.rb +11 -0
- data/lib/oci/operator_access_control/models/update_operator_control_assignment_details.rb +224 -0
- data/lib/oci/operator_access_control/models/update_operator_control_details.rb +283 -0
- data/lib/oci/operator_access_control/operator_access_control.rb +57 -0
- data/lib/oci/operator_access_control/operator_actions_client.rb +243 -0
- data/lib/oci/operator_access_control/operator_actions_client_composite_operations.rb +25 -0
- data/lib/oci/operator_access_control/operator_control_assignment_client.rb +501 -0
- data/lib/oci/operator_access_control/operator_control_assignment_client_composite_operations.rb +105 -0
- data/lib/oci/operator_access_control/operator_control_client.rb +507 -0
- data/lib/oci/operator_access_control/operator_control_client_composite_operations.rb +144 -0
- data/lib/oci/operator_access_control/util.rb +3 -0
- data/lib/oci/opsi/models/action_type.rb +14 -0
- data/lib/oci/opsi/models/autonomous_database_insight.rb +271 -0
- data/lib/oci/opsi/models/autonomous_database_insight_summary.rb +230 -0
- data/lib/oci/opsi/models/change_database_insight_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/change_enterprise_manager_bridge_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/change_host_insight_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/connection_details.rb +208 -0
- data/lib/oci/opsi/models/create_database_insight_details.rb +228 -0
- data/lib/oci/opsi/models/create_em_managed_external_database_insight_details.rb +202 -0
- data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +224 -0
- data/lib/oci/opsi/models/create_host_insight_details.rb +228 -0
- data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +174 -0
- data/lib/oci/opsi/models/credential_details.rb +204 -0
- data/lib/oci/opsi/models/credentials_by_source.rb +150 -0
- data/lib/oci/opsi/models/database_configuration_metric_group.rb +204 -0
- data/lib/oci/opsi/models/database_details.rb +24 -4
- data/lib/oci/opsi/models/database_entity_source.rb +10 -0
- data/lib/oci/opsi/models/database_entity_source_all.rb +12 -0
- data/lib/oci/opsi/models/database_insight.rb +416 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +191 -5
- data/lib/oci/opsi/models/db_external_instance.rb +300 -0
- data/lib/oci/opsi/models/db_external_properties.rb +280 -0
- data/lib/oci/opsi/models/dbos_config_instance.rb +236 -0
- data/lib/oci/opsi/models/em_managed_external_database_insight.rb +284 -0
- data/lib/oci/opsi/models/em_managed_external_database_insight_summary.rb +300 -0
- data/lib/oci/opsi/models/enable_database_insight_details.rb +182 -0
- data/lib/oci/opsi/models/enable_em_managed_external_database_insight_details.rb +145 -0
- data/lib/oci/opsi/models/enable_host_insight_details.rb +182 -0
- data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +145 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge.rb +344 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge_collection.rb +150 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +334 -0
- data/lib/oci/opsi/models/enterprise_manager_bridges.rb +154 -0
- data/lib/oci/opsi/models/host_configuration_metric_group.rb +212 -0
- data/lib/oci/opsi/models/host_cpu_hardware_configuration.rb +289 -0
- data/lib/oci/opsi/models/host_cpu_statistics.rb +174 -0
- data/lib/oci/opsi/models/host_cpu_usage.rb +279 -0
- data/lib/oci/opsi/models/host_details.rb +225 -0
- data/lib/oci/opsi/models/host_entities.rb +181 -0
- data/lib/oci/opsi/models/host_entity_source.rb +10 -0
- data/lib/oci/opsi/models/host_hardware_configuration.rb +167 -0
- data/lib/oci/opsi/models/host_insight.rb +426 -0
- data/lib/oci/opsi/models/host_insight_resource_statistics_aggregation.rb +169 -0
- data/lib/oci/opsi/models/host_insight_summary.rb +426 -0
- data/lib/oci/opsi/models/host_insight_summary_collection.rb +150 -0
- data/lib/oci/opsi/models/host_insights.rb +154 -0
- data/lib/oci/opsi/models/host_instance_map.rb +168 -0
- data/lib/oci/opsi/models/host_memory_configuration.rb +223 -0
- data/lib/oci/opsi/models/host_memory_statistics.rb +260 -0
- data/lib/oci/opsi/models/host_memory_usage.rb +349 -0
- data/lib/oci/opsi/models/host_network_activity_summary.rb +195 -0
- data/lib/oci/opsi/models/host_network_configuration.rb +195 -0
- data/lib/oci/opsi/models/host_performance_metric_group.rb +204 -0
- data/lib/oci/opsi/models/host_product.rb +183 -0
- data/lib/oci/opsi/models/host_resource_allocation.rb +181 -0
- data/lib/oci/opsi/models/host_resource_capacity_trend_aggregation.rb +165 -0
- data/lib/oci/opsi/models/host_resource_statistics.rb +243 -0
- data/lib/oci/opsi/models/hosted_entity_collection.rb +180 -0
- data/lib/oci/opsi/models/hosted_entity_summary.rb +183 -0
- data/lib/oci/opsi/models/importable_enterprise_manager_entity.rb +210 -0
- data/lib/oci/opsi/models/importable_enterprise_manager_entity_collection.rb +150 -0
- data/lib/oci/opsi/models/ingest_database_configuration_details.rb +150 -0
- data/lib/oci/opsi/models/ingest_database_configuration_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_host_configuration_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_host_configuration_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_host_metrics_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_host_metrics_response_details.rb +152 -0
- data/lib/oci/opsi/models/lifecycle_state.rb +15 -0
- data/lib/oci/opsi/models/macs_managed_external_database_insight.rb +325 -0
- data/lib/oci/opsi/models/macs_managed_external_database_insight_summary.rb +258 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +279 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +251 -0
- data/lib/oci/opsi/models/operation_status.rb +15 -0
- data/lib/oci/opsi/models/operation_type.rb +25 -0
- data/lib/oci/opsi/models/resource_status.rb +12 -0
- data/lib/oci/opsi/models/sql_plan_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_search_summary.rb +11 -1
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_text_summary.rb +11 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_tablespace_usage_trend_aggregation_collection.rb +232 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.rb +271 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.rb +304 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.rb +251 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_usage_aggregation.rb +277 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.rb +271 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.rb +233 -0
- data/lib/oci/opsi/models/summary_statistics.rb +209 -0
- data/lib/oci/opsi/models/tablespace_usage_trend.rb +176 -0
- data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +182 -0
- data/lib/oci/opsi/models/update_autonomous_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_database_insight_details.rb +218 -0
- data/lib/oci/opsi/models/update_em_managed_external_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_enterprise_manager_bridge_details.rb +196 -0
- data/lib/oci/opsi/models/update_host_insight_details.rb +214 -0
- data/lib/oci/opsi/models/update_macs_managed_external_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_macs_managed_external_host_insight_details.rb +153 -0
- data/lib/oci/opsi/models/work_request.rb +320 -0
- data/lib/oci/opsi/models/work_request_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_error.rb +173 -0
- data/lib/oci/opsi/models/work_request_error_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_log_entry.rb +160 -0
- data/lib/oci/opsi/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_resource.rb +219 -0
- data/lib/oci/opsi/models/work_requests.rb +154 -0
- data/lib/oci/opsi/operations_insights_client.rb +3475 -411
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +792 -0
- data/lib/oci/opsi/opsi.rb +99 -0
- data/lib/oci/regions.rb +1 -1
- data/lib/oci/resource_manager/models/config_source.rb +2 -0
- data/lib/oci/resource_manager/models/config_source_record.rb +2 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +1 -0
- data/lib/oci/resource_manager/models/create_object_storage_config_source_details.rb +189 -0
- data/lib/oci/resource_manager/models/object_storage_config_source.rb +189 -0
- data/lib/oci/resource_manager/models/object_storage_config_source_record.rb +185 -0
- data/lib/oci/resource_manager/models/update_config_source_details.rb +1 -0
- data/lib/oci/resource_manager/models/update_object_storage_config_source_details.rb +188 -0
- data/lib/oci/resource_manager/resource_manager.rb +4 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +1 -0
- data/lib/oci/retry/functions/should_retry_on_error.rb +31 -0
- data/lib/oci/retry/retry.rb +15 -0
- data/lib/oci/sch/models/function_task_details.rb +194 -0
- data/lib/oci/sch/models/latest_streaming_cursor.rb +146 -0
- data/lib/oci/sch/models/source_details.rb +2 -0
- data/lib/oci/sch/models/streaming_cursor_details.rb +189 -0
- data/lib/oci/sch/models/streaming_source_details.rb +173 -0
- data/lib/oci/sch/models/task_details.rb +2 -0
- data/lib/oci/sch/models/trim_horizon_streaming_cursor.rb +146 -0
- data/lib/oci/sch/sch.rb +5 -0
- data/lib/oci/service_catalog/models/action_type.rb +13 -0
- data/lib/oci/service_catalog/models/application_collection.rb +150 -0
- data/lib/oci/service_catalog/models/application_summary.rb +295 -0
- data/lib/oci/service_catalog/models/bulk_replace_service_catalog_associations_details.rb +150 -0
- data/lib/oci/service_catalog/models/change_private_application_compartment_details.rb +155 -0
- data/lib/oci/service_catalog/models/change_service_catalog_compartment_details.rb +154 -0
- data/lib/oci/service_catalog/models/create_private_application_details.rb +259 -0
- data/lib/oci/service_catalog/models/create_private_application_package.rb +192 -0
- data/lib/oci/service_catalog/models/create_private_application_stack_package.rb +166 -0
- data/lib/oci/service_catalog/models/create_service_catalog_association_details.rb +182 -0
- data/lib/oci/service_catalog/models/create_service_catalog_details.rb +200 -0
- data/lib/oci/service_catalog/models/error_entity.rb +160 -0
- data/lib/oci/service_catalog/models/operation_status.rb +12 -0
- data/lib/oci/service_catalog/models/operation_type.rb +13 -0
- data/lib/oci/service_catalog/models/package_type_enum.rb +10 -0
- data/lib/oci/service_catalog/models/pricing_type_enum.rb +12 -0
- data/lib/oci/service_catalog/models/private_application.rb +354 -0
- data/lib/oci/service_catalog/models/private_application_collection.rb +150 -0
- data/lib/oci/service_catalog/models/private_application_package.rb +257 -0
- data/lib/oci/service_catalog/models/private_application_package_collection.rb +150 -0
- data/lib/oci/service_catalog/models/private_application_package_summary.rb +241 -0
- data/lib/oci/service_catalog/models/private_application_stack_package.rb +196 -0
- data/lib/oci/service_catalog/models/private_application_summary.rb +268 -0
- data/lib/oci/service_catalog/models/publisher_summary.rb +164 -0
- data/lib/oci/service_catalog/models/service_catalog.rb +280 -0
- data/lib/oci/service_catalog/models/service_catalog_association.rb +206 -0
- data/lib/oci/service_catalog/models/service_catalog_association_collection.rb +150 -0
- data/lib/oci/service_catalog/models/service_catalog_association_summary.rb +206 -0
- data/lib/oci/service_catalog/models/service_catalog_collection.rb +150 -0
- data/lib/oci/service_catalog/models/service_catalog_summary.rb +210 -0
- data/lib/oci/service_catalog/models/update_private_application_details.rb +230 -0
- data/lib/oci/service_catalog/models/update_service_catalog_details.rb +186 -0
- data/lib/oci/service_catalog/models/upload_data.rb +182 -0
- data/lib/oci/service_catalog/models/work_request.rb +305 -0
- data/lib/oci/service_catalog/models/work_request_error.rb +173 -0
- data/lib/oci/service_catalog/models/work_request_error_collection.rb +150 -0
- data/lib/oci/service_catalog/models/work_request_log_entry.rb +160 -0
- data/lib/oci/service_catalog/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/service_catalog/models/work_request_resource.rb +222 -0
- data/lib/oci/service_catalog/models/work_request_summary.rb +305 -0
- data/lib/oci/service_catalog/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/service_catalog/service_catalog.rb +61 -0
- data/lib/oci/service_catalog/service_catalog_client.rb +1957 -0
- data/lib/oci/service_catalog/service_catalog_client_composite_operations.rb +342 -0
- data/lib/oci/service_catalog/util.rb +3 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/access_rule.rb +1 -1
- data/lib/oci/waas/models/address_rate_limiting.rb +1 -1
- data/lib/oci/waas/models/block_challenge_settings.rb +1 -1
- data/lib/oci/waas/models/certificate.rb +36 -4
- data/lib/oci/waas/models/load_balancing_method.rb +3 -3
- data/lib/oci/waas/models/origin.rb +2 -2
- data/lib/oci/waas/redirect_client.rb +1 -1
- data/lib/oci/waas/waas_client.rb +1 -1
- metadata +428 -2
|
@@ -40,6 +40,12 @@ module OCI
|
|
|
40
40
|
BGP_SESSION_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
41
41
|
].freeze
|
|
42
42
|
|
|
43
|
+
BGP_IPV6_SESSION_STATE_ENUM = [
|
|
44
|
+
BGP_IPV6_SESSION_STATE_UP = 'UP'.freeze,
|
|
45
|
+
BGP_IPV6_SESSION_STATE_DOWN = 'DOWN'.freeze,
|
|
46
|
+
BGP_IPV6_SESSION_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
47
|
+
].freeze
|
|
48
|
+
|
|
43
49
|
ROUTING_POLICY_ENUM = [
|
|
44
50
|
ROUTING_POLICY_ORACLE_SERVICE_NETWORK = 'ORACLE_SERVICE_NETWORK'.freeze,
|
|
45
51
|
ROUTING_POLICY_REGIONAL = 'REGIONAL'.freeze,
|
|
@@ -94,10 +100,14 @@ module OCI
|
|
|
94
100
|
# @return [String]
|
|
95
101
|
attr_reader :bgp_management
|
|
96
102
|
|
|
97
|
-
# The state of the BGP session associated with the virtual circuit.
|
|
103
|
+
# The state of the Ipv4 BGP session associated with the virtual circuit.
|
|
98
104
|
# @return [String]
|
|
99
105
|
attr_reader :bgp_session_state
|
|
100
106
|
|
|
107
|
+
# The state of the Ipv6 BGP session associated with the virtual circuit.
|
|
108
|
+
# @return [String]
|
|
109
|
+
attr_reader :bgp_ipv6_session_state
|
|
110
|
+
|
|
101
111
|
# The OCID of the compartment containing the virtual circuit.
|
|
102
112
|
# @return [String]
|
|
103
113
|
attr_accessor :compartment_id
|
|
@@ -249,6 +259,7 @@ module OCI
|
|
|
249
259
|
'bandwidth_shape_name': :'bandwidthShapeName',
|
|
250
260
|
'bgp_management': :'bgpManagement',
|
|
251
261
|
'bgp_session_state': :'bgpSessionState',
|
|
262
|
+
'bgp_ipv6_session_state': :'bgpIpv6SessionState',
|
|
252
263
|
'compartment_id': :'compartmentId',
|
|
253
264
|
'cross_connect_mappings': :'crossConnectMappings',
|
|
254
265
|
'routing_policy': :'routingPolicy',
|
|
@@ -283,6 +294,7 @@ module OCI
|
|
|
283
294
|
'bandwidth_shape_name': :'String',
|
|
284
295
|
'bgp_management': :'String',
|
|
285
296
|
'bgp_session_state': :'String',
|
|
297
|
+
'bgp_ipv6_session_state': :'String',
|
|
286
298
|
'compartment_id': :'String',
|
|
287
299
|
'cross_connect_mappings': :'Array<OCI::Core::Models::CrossConnectMapping>',
|
|
288
300
|
'routing_policy': :'Array<String>',
|
|
@@ -319,6 +331,7 @@ module OCI
|
|
|
319
331
|
# @option attributes [String] :bandwidth_shape_name The value to assign to the {#bandwidth_shape_name} property
|
|
320
332
|
# @option attributes [String] :bgp_management The value to assign to the {#bgp_management} property
|
|
321
333
|
# @option attributes [String] :bgp_session_state The value to assign to the {#bgp_session_state} property
|
|
334
|
+
# @option attributes [String] :bgp_ipv6_session_state The value to assign to the {#bgp_ipv6_session_state} property
|
|
322
335
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
323
336
|
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :cross_connect_mappings The value to assign to the {#cross_connect_mappings} property
|
|
324
337
|
# @option attributes [Array<String>] :routing_policy The value to assign to the {#routing_policy} property
|
|
@@ -366,6 +379,12 @@ module OCI
|
|
|
366
379
|
|
|
367
380
|
self.bgp_session_state = attributes[:'bgp_session_state'] if attributes[:'bgp_session_state']
|
|
368
381
|
|
|
382
|
+
self.bgp_ipv6_session_state = attributes[:'bgpIpv6SessionState'] if attributes[:'bgpIpv6SessionState']
|
|
383
|
+
|
|
384
|
+
raise 'You cannot provide both :bgpIpv6SessionState and :bgp_ipv6_session_state' if attributes.key?(:'bgpIpv6SessionState') && attributes.key?(:'bgp_ipv6_session_state')
|
|
385
|
+
|
|
386
|
+
self.bgp_ipv6_session_state = attributes[:'bgp_ipv6_session_state'] if attributes[:'bgp_ipv6_session_state']
|
|
387
|
+
|
|
369
388
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
370
389
|
|
|
371
390
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
@@ -521,6 +540,19 @@ module OCI
|
|
|
521
540
|
# rubocop:enable Style/ConditionalAssignment
|
|
522
541
|
end
|
|
523
542
|
|
|
543
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
544
|
+
# @param [Object] bgp_ipv6_session_state Object to be assigned
|
|
545
|
+
def bgp_ipv6_session_state=(bgp_ipv6_session_state)
|
|
546
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
547
|
+
if bgp_ipv6_session_state && !BGP_IPV6_SESSION_STATE_ENUM.include?(bgp_ipv6_session_state)
|
|
548
|
+
OCI.logger.debug("Unknown value for 'bgp_ipv6_session_state' [" + bgp_ipv6_session_state + "]. Mapping to 'BGP_IPV6_SESSION_STATE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
549
|
+
@bgp_ipv6_session_state = BGP_IPV6_SESSION_STATE_UNKNOWN_ENUM_VALUE
|
|
550
|
+
else
|
|
551
|
+
@bgp_ipv6_session_state = bgp_ipv6_session_state
|
|
552
|
+
end
|
|
553
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
554
|
+
end
|
|
555
|
+
|
|
524
556
|
# Custom attribute writer method checking allowed values (enum).
|
|
525
557
|
# @param [Object] routing_policy Object to be assigned
|
|
526
558
|
def routing_policy=(routing_policy)
|
|
@@ -605,6 +637,7 @@ module OCI
|
|
|
605
637
|
bandwidth_shape_name == other.bandwidth_shape_name &&
|
|
606
638
|
bgp_management == other.bgp_management &&
|
|
607
639
|
bgp_session_state == other.bgp_session_state &&
|
|
640
|
+
bgp_ipv6_session_state == other.bgp_ipv6_session_state &&
|
|
608
641
|
compartment_id == other.compartment_id &&
|
|
609
642
|
cross_connect_mappings == other.cross_connect_mappings &&
|
|
610
643
|
routing_policy == other.routing_policy &&
|
|
@@ -643,7 +676,7 @@ module OCI
|
|
|
643
676
|
# Calculates hash code according to all attributes.
|
|
644
677
|
# @return [Fixnum] Hash code
|
|
645
678
|
def hash
|
|
646
|
-
[bandwidth_shape_name, bgp_management, bgp_session_state, compartment_id, cross_connect_mappings, routing_policy, customer_bgp_asn, customer_asn, defined_tags, display_name, freeform_tags, gateway_id, id, lifecycle_state, oracle_bgp_asn, provider_name, provider_service_id, provider_service_key_name, provider_service_name, provider_state, public_prefixes, reference_comment, region, service_type, time_created, type].hash
|
|
679
|
+
[bandwidth_shape_name, bgp_management, bgp_session_state, bgp_ipv6_session_state, compartment_id, cross_connect_mappings, routing_policy, customer_bgp_asn, customer_asn, defined_tags, display_name, freeform_tags, gateway_id, id, lifecycle_state, oracle_bgp_asn, provider_name, provider_service_id, provider_service_key_name, provider_service_name, provider_state, public_prefixes, reference_comment, region, service_type, time_created, type].hash
|
|
647
680
|
end
|
|
648
681
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
649
682
|
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
require 'date'
|
|
5
|
+
require_relative 'drg_attachment_network_details'
|
|
6
|
+
|
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
|
+
module OCI
|
|
9
|
+
# Specifies the virtual circuit attached to the DRG.
|
|
10
|
+
class Core::Models::VirtualCircuitDrgAttachmentNetworkDetails < Core::Models::DrgAttachmentNetworkDetails
|
|
11
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
12
|
+
def self.attribute_map
|
|
13
|
+
{
|
|
14
|
+
# rubocop:disable Style/SymbolLiteral
|
|
15
|
+
'type': :'type',
|
|
16
|
+
'id': :'id'
|
|
17
|
+
# rubocop:enable Style/SymbolLiteral
|
|
18
|
+
}
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# Attribute type mapping.
|
|
22
|
+
def self.swagger_types
|
|
23
|
+
{
|
|
24
|
+
# rubocop:disable Style/SymbolLiteral
|
|
25
|
+
'type': :'String',
|
|
26
|
+
'id': :'String'
|
|
27
|
+
# rubocop:enable Style/SymbolLiteral
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
32
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# Initializes the object
|
|
36
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
|
+
# @option attributes [String] :id The value to assign to the {OCI::Core::Models::DrgAttachmentNetworkDetails#id #id} proprety
|
|
38
|
+
def initialize(attributes = {})
|
|
39
|
+
return unless attributes.is_a?(Hash)
|
|
40
|
+
|
|
41
|
+
attributes['type'] = 'VIRTUAL_CIRCUIT'
|
|
42
|
+
|
|
43
|
+
super(attributes)
|
|
44
|
+
end
|
|
45
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
46
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
47
|
+
|
|
48
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
# Checks equality by comparing each attribute.
|
|
52
|
+
# @param [Object] other the other object to be compared
|
|
53
|
+
def ==(other)
|
|
54
|
+
return true if equal?(other)
|
|
55
|
+
|
|
56
|
+
self.class == other.class &&
|
|
57
|
+
type == other.type &&
|
|
58
|
+
id == other.id
|
|
59
|
+
end
|
|
60
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
61
|
+
|
|
62
|
+
# @see the `==` method
|
|
63
|
+
# @param [Object] other the other object to be compared
|
|
64
|
+
def eql?(other)
|
|
65
|
+
self == other
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# Calculates hash code according to all attributes.
|
|
72
|
+
# @return [Fixnum] Hash code
|
|
73
|
+
def hash
|
|
74
|
+
[type, id].hash
|
|
75
|
+
end
|
|
76
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
77
|
+
|
|
78
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# Builds the object from hash
|
|
82
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
83
|
+
# @return [Object] Returns the model itself
|
|
84
|
+
def build_from_hash(attributes)
|
|
85
|
+
return nil unless attributes.is_a?(Hash)
|
|
86
|
+
|
|
87
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
88
|
+
if type =~ /^Array<(.*)>/i
|
|
89
|
+
# check to ensure the input is an array given that the the attribute
|
|
90
|
+
# is documented as an array but the input is not
|
|
91
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
92
|
+
public_method("#{key}=").call(
|
|
93
|
+
attributes[self.class.attribute_map[key]]
|
|
94
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
95
|
+
)
|
|
96
|
+
end
|
|
97
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
98
|
+
public_method("#{key}=").call(
|
|
99
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
100
|
+
)
|
|
101
|
+
end
|
|
102
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
self
|
|
106
|
+
end
|
|
107
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
108
|
+
|
|
109
|
+
# Returns the string representation of the object
|
|
110
|
+
# @return [String] String presentation of the object
|
|
111
|
+
def to_s
|
|
112
|
+
to_hash.to_s
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Returns the object in the form of hash
|
|
116
|
+
# @return [Hash] Returns the object in the form of hash
|
|
117
|
+
def to_hash
|
|
118
|
+
hash = {}
|
|
119
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
120
|
+
value = public_method(attr).call
|
|
121
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
122
|
+
|
|
123
|
+
hash[param] = _to_hash(value)
|
|
124
|
+
end
|
|
125
|
+
hash
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
private
|
|
129
|
+
|
|
130
|
+
# Outputs non-array value in the form of hash
|
|
131
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
132
|
+
# @param [Object] value Any valid value
|
|
133
|
+
# @return [Hash] Returns the value in the form of hash
|
|
134
|
+
def _to_hash(value)
|
|
135
|
+
if value.is_a?(Array)
|
|
136
|
+
value.compact.map { |v| _to_hash(v) }
|
|
137
|
+
elsif value.is_a?(Hash)
|
|
138
|
+
{}.tap do |hash|
|
|
139
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
140
|
+
end
|
|
141
|
+
elsif value.respond_to? :to_hash
|
|
142
|
+
value.to_hash
|
|
143
|
+
else
|
|
144
|
+
value
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -103,6 +103,196 @@ module OCI
|
|
|
103
103
|
# rubocop:disable Lint/UnusedMethodArgument
|
|
104
104
|
|
|
105
105
|
|
|
106
|
+
# Adds one or more route distribution statements to the specified route distribution.
|
|
107
|
+
#
|
|
108
|
+
# @param [String] drg_route_distribution_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
|
|
109
|
+
# @param [OCI::Core::Models::AddDrgRouteDistributionStatementsDetails] add_drg_route_distribution_statements_details Request with one or more route distribution statements to be inserted into the route distribution.
|
|
110
|
+
# @param [Hash] opts the optional parameters
|
|
111
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
112
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
113
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgRouteDistributionStatement DrgRouteDistributionStatement}>
|
|
114
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/add_drg_route_distribution_statements.rb.html) to see an example of how to use add_drg_route_distribution_statements API.
|
|
115
|
+
def add_drg_route_distribution_statements(drg_route_distribution_id, add_drg_route_distribution_statements_details, opts = {})
|
|
116
|
+
logger.debug 'Calling operation VirtualNetworkClient#add_drg_route_distribution_statements.' if logger
|
|
117
|
+
|
|
118
|
+
raise "Missing the required parameter 'drg_route_distribution_id' when calling add_drg_route_distribution_statements." if drg_route_distribution_id.nil?
|
|
119
|
+
raise "Missing the required parameter 'add_drg_route_distribution_statements_details' when calling add_drg_route_distribution_statements." if add_drg_route_distribution_statements_details.nil?
|
|
120
|
+
raise "Parameter value for 'drg_route_distribution_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_distribution_id)
|
|
121
|
+
|
|
122
|
+
path = '/drgRouteDistributions/{drgRouteDistributionId}/actions/addDrgRouteDistributionStatements'.sub('{drgRouteDistributionId}', drg_route_distribution_id.to_s)
|
|
123
|
+
operation_signing_strategy = :standard
|
|
124
|
+
|
|
125
|
+
# rubocop:disable Style/NegatedIf
|
|
126
|
+
# Query Params
|
|
127
|
+
query_params = {}
|
|
128
|
+
|
|
129
|
+
# Header Params
|
|
130
|
+
header_params = {}
|
|
131
|
+
header_params[:accept] = 'application/json'
|
|
132
|
+
header_params[:'content-type'] = 'application/json'
|
|
133
|
+
# rubocop:enable Style/NegatedIf
|
|
134
|
+
|
|
135
|
+
post_body = @api_client.object_to_http_body(add_drg_route_distribution_statements_details)
|
|
136
|
+
|
|
137
|
+
# rubocop:disable Metrics/BlockLength
|
|
138
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#add_drg_route_distribution_statements') do
|
|
139
|
+
@api_client.call_api(
|
|
140
|
+
:POST,
|
|
141
|
+
path,
|
|
142
|
+
endpoint,
|
|
143
|
+
header_params: header_params,
|
|
144
|
+
query_params: query_params,
|
|
145
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
146
|
+
body: post_body,
|
|
147
|
+
return_type: 'Array<OCI::Core::Models::DrgRouteDistributionStatement>'
|
|
148
|
+
)
|
|
149
|
+
end
|
|
150
|
+
# rubocop:enable Metrics/BlockLength
|
|
151
|
+
end
|
|
152
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
153
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
154
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
155
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
156
|
+
|
|
157
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
158
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
159
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
# Adds one or more static route rules to the specified DRG route table.
|
|
163
|
+
#
|
|
164
|
+
# @param [String] drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
|
|
165
|
+
# @param [OCI::Core::Models::AddDrgRouteRulesDetails] add_drg_route_rules_details Request for one or more route rules to be inserted into the DRG route table.
|
|
166
|
+
# @param [Hash] opts the optional parameters
|
|
167
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
168
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
169
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
170
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
171
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
172
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
173
|
+
# may be rejected).
|
|
174
|
+
#
|
|
175
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgRouteRule DrgRouteRule}>
|
|
176
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/add_drg_route_rules.rb.html) to see an example of how to use add_drg_route_rules API.
|
|
177
|
+
def add_drg_route_rules(drg_route_table_id, add_drg_route_rules_details, opts = {})
|
|
178
|
+
logger.debug 'Calling operation VirtualNetworkClient#add_drg_route_rules.' if logger
|
|
179
|
+
|
|
180
|
+
raise "Missing the required parameter 'drg_route_table_id' when calling add_drg_route_rules." if drg_route_table_id.nil?
|
|
181
|
+
raise "Missing the required parameter 'add_drg_route_rules_details' when calling add_drg_route_rules." if add_drg_route_rules_details.nil?
|
|
182
|
+
raise "Parameter value for 'drg_route_table_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_table_id)
|
|
183
|
+
|
|
184
|
+
path = '/drgRouteTables/{drgRouteTableId}/actions/addDrgRouteRules'.sub('{drgRouteTableId}', drg_route_table_id.to_s)
|
|
185
|
+
operation_signing_strategy = :standard
|
|
186
|
+
|
|
187
|
+
# rubocop:disable Style/NegatedIf
|
|
188
|
+
# Query Params
|
|
189
|
+
query_params = {}
|
|
190
|
+
|
|
191
|
+
# Header Params
|
|
192
|
+
header_params = {}
|
|
193
|
+
header_params[:accept] = 'application/json'
|
|
194
|
+
header_params[:'content-type'] = 'application/json'
|
|
195
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
196
|
+
# rubocop:enable Style/NegatedIf
|
|
197
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
198
|
+
|
|
199
|
+
post_body = @api_client.object_to_http_body(add_drg_route_rules_details)
|
|
200
|
+
|
|
201
|
+
# rubocop:disable Metrics/BlockLength
|
|
202
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#add_drg_route_rules') do
|
|
203
|
+
@api_client.call_api(
|
|
204
|
+
:POST,
|
|
205
|
+
path,
|
|
206
|
+
endpoint,
|
|
207
|
+
header_params: header_params,
|
|
208
|
+
query_params: query_params,
|
|
209
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
210
|
+
body: post_body,
|
|
211
|
+
return_type: 'Array<OCI::Core::Models::DrgRouteRule>'
|
|
212
|
+
)
|
|
213
|
+
end
|
|
214
|
+
# rubocop:enable Metrics/BlockLength
|
|
215
|
+
end
|
|
216
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
217
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
218
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
219
|
+
|
|
220
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
221
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
222
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
# Add an IPv6 CIDR to a VCN. The VCN size is always /56 and assigned by Oracle.
|
|
226
|
+
# Once added the IPv6 CIDR block cannot be removed or modified.
|
|
227
|
+
#
|
|
228
|
+
# @param [String] vcn_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
229
|
+
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
231
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
232
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
233
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
234
|
+
#
|
|
235
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
236
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
237
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
238
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
239
|
+
# may be rejected).
|
|
240
|
+
#
|
|
241
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
242
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
243
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
244
|
+
#
|
|
245
|
+
# @return [Response] A Response object with data of type nil
|
|
246
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/add_ipv6_vcn_cidr.rb.html) to see an example of how to use add_ipv6_vcn_cidr API.
|
|
247
|
+
def add_ipv6_vcn_cidr(vcn_id, opts = {})
|
|
248
|
+
logger.debug 'Calling operation VirtualNetworkClient#add_ipv6_vcn_cidr.' if logger
|
|
249
|
+
|
|
250
|
+
raise "Missing the required parameter 'vcn_id' when calling add_ipv6_vcn_cidr." if vcn_id.nil?
|
|
251
|
+
raise "Parameter value for 'vcn_id' must not be blank" if OCI::Internal::Util.blank_string?(vcn_id)
|
|
252
|
+
|
|
253
|
+
path = '/vcns/{vcnId}/actions/addIpv6Cidr'.sub('{vcnId}', vcn_id.to_s)
|
|
254
|
+
operation_signing_strategy = :standard
|
|
255
|
+
|
|
256
|
+
# rubocop:disable Style/NegatedIf
|
|
257
|
+
# Query Params
|
|
258
|
+
query_params = {}
|
|
259
|
+
|
|
260
|
+
# Header Params
|
|
261
|
+
header_params = {}
|
|
262
|
+
header_params[:accept] = 'application/json'
|
|
263
|
+
header_params[:'content-type'] = 'application/json'
|
|
264
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
265
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
266
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
267
|
+
# rubocop:enable Style/NegatedIf
|
|
268
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
269
|
+
|
|
270
|
+
post_body = nil
|
|
271
|
+
|
|
272
|
+
# rubocop:disable Metrics/BlockLength
|
|
273
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#add_ipv6_vcn_cidr') do
|
|
274
|
+
@api_client.call_api(
|
|
275
|
+
:POST,
|
|
276
|
+
path,
|
|
277
|
+
endpoint,
|
|
278
|
+
header_params: header_params,
|
|
279
|
+
query_params: query_params,
|
|
280
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
281
|
+
body: post_body
|
|
282
|
+
)
|
|
283
|
+
end
|
|
284
|
+
# rubocop:enable Metrics/BlockLength
|
|
285
|
+
end
|
|
286
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
287
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
288
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
289
|
+
|
|
290
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
291
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
292
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
293
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
294
|
+
|
|
295
|
+
|
|
106
296
|
# Adds one or more security rules to the specified network security group.
|
|
107
297
|
#
|
|
108
298
|
# @param [String] network_security_group_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
|
|
@@ -437,7 +627,7 @@ module OCI
|
|
|
437
627
|
# to add prefixes to the virtual circuit. Oracle must verify the customer's ownership
|
|
438
628
|
# of each prefix before traffic for that prefix will flow across the virtual circuit.
|
|
439
629
|
#
|
|
440
|
-
# @param [String] virtual_circuit_id The OCID of the virtual circuit.
|
|
630
|
+
# @param [String] virtual_circuit_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit.
|
|
441
631
|
# @param [OCI::Core::Models::BulkAddVirtualCircuitPublicPrefixesDetails] bulk_add_virtual_circuit_public_prefixes_details Request with publix prefixes to be added to the virtual circuit
|
|
442
632
|
# @param [Hash] opts the optional parameters
|
|
443
633
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -496,8 +686,8 @@ module OCI
|
|
|
496
686
|
# to remove prefixes from the virtual circuit. When the virtual circuit's state switches
|
|
497
687
|
# back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection.
|
|
498
688
|
#
|
|
499
|
-
# @param [String] virtual_circuit_id The OCID of the virtual circuit.
|
|
500
|
-
# @param [OCI::Core::Models::BulkDeleteVirtualCircuitPublicPrefixesDetails] bulk_delete_virtual_circuit_public_prefixes_details Request with
|
|
689
|
+
# @param [String] virtual_circuit_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit.
|
|
690
|
+
# @param [OCI::Core::Models::BulkDeleteVirtualCircuitPublicPrefixesDetails] bulk_delete_virtual_circuit_public_prefixes_details Request with public prefixes to be deleted from the virtual circuit.
|
|
501
691
|
# @param [Hash] opts the optional parameters
|
|
502
692
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
503
693
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -621,7 +811,7 @@ module OCI
|
|
|
621
811
|
# about moving resources between compartments, see
|
|
622
812
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
623
813
|
#
|
|
624
|
-
# @param [String] cpe_id The OCID of the CPE.
|
|
814
|
+
# @param [String] cpe_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE.
|
|
625
815
|
# @param [OCI::Core::Models::ChangeCpeCompartmentDetails] change_cpe_compartment_details Request to change the compartment of a CPE.
|
|
626
816
|
# @param [Hash] opts the optional parameters
|
|
627
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
|
|
@@ -689,7 +879,7 @@ module OCI
|
|
|
689
879
|
# about moving resources between compartments, see
|
|
690
880
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
691
881
|
#
|
|
692
|
-
# @param [String] cross_connect_id The OCID of the cross-connect.
|
|
882
|
+
# @param [String] cross_connect_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect.
|
|
693
883
|
# @param [OCI::Core::Models::ChangeCrossConnectCompartmentDetails] change_cross_connect_compartment_details Request to change the compartment of a Cross Connect.
|
|
694
884
|
# @param [Hash] opts the optional parameters
|
|
695
885
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -757,7 +947,7 @@ module OCI
|
|
|
757
947
|
# about moving resources between compartments, see
|
|
758
948
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
759
949
|
#
|
|
760
|
-
# @param [String] cross_connect_group_id The OCID of the cross-connect group.
|
|
950
|
+
# @param [String] cross_connect_group_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group.
|
|
761
951
|
# @param [OCI::Core::Models::ChangeCrossConnectGroupCompartmentDetails] change_cross_connect_group_compartment_details Request to change the compartment of a Cross Connect Group.
|
|
762
952
|
# @param [Hash] opts the optional parameters
|
|
763
953
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -825,7 +1015,7 @@ module OCI
|
|
|
825
1015
|
# about moving resources between compartments, see
|
|
826
1016
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
827
1017
|
#
|
|
828
|
-
# @param [String] dhcp_id The OCID for the set of DHCP options.
|
|
1018
|
+
# @param [String] dhcp_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the set of DHCP options.
|
|
829
1019
|
# @param [OCI::Core::Models::ChangeDhcpOptionsCompartmentDetails] change_dhcp_options_compartment_details Request to change the compartment of a set of DHCP Options.
|
|
830
1020
|
# @param [Hash] opts the optional parameters
|
|
831
1021
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -893,7 +1083,7 @@ module OCI
|
|
|
893
1083
|
# about moving resources between compartments, see
|
|
894
1084
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
895
1085
|
#
|
|
896
|
-
# @param [String] drg_id The OCID of the DRG.
|
|
1086
|
+
# @param [String] drg_id The [[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
897
1087
|
# @param [OCI::Core::Models::ChangeDrgCompartmentDetails] change_drg_compartment_details Request to change the compartment of a DRG.
|
|
898
1088
|
# @param [Hash] opts the optional parameters
|
|
899
1089
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -961,7 +1151,7 @@ module OCI
|
|
|
961
1151
|
# about moving resources between compartments, see
|
|
962
1152
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
963
1153
|
#
|
|
964
|
-
# @param [String] ig_id The OCID of the internet gateway.
|
|
1154
|
+
# @param [String] ig_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internet gateway.
|
|
965
1155
|
# @param [OCI::Core::Models::ChangeInternetGatewayCompartmentDetails] change_internet_gateway_compartment_details Request to change the compartment of an internet gateway.
|
|
966
1156
|
# @param [Hash] opts the optional parameters
|
|
967
1157
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1029,8 +1219,8 @@ module OCI
|
|
|
1029
1219
|
# about moving resources between compartments, see
|
|
1030
1220
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1031
1221
|
#
|
|
1032
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
1033
|
-
# @param [OCI::Core::Models::ChangeIPSecConnectionCompartmentDetails] change_ip_sec_connection_compartment_details Request to change the compartment of a
|
|
1222
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
1223
|
+
# @param [OCI::Core::Models::ChangeIPSecConnectionCompartmentDetails] change_ip_sec_connection_compartment_details Request to change the compartment of a IPSec connection.
|
|
1034
1224
|
# @param [Hash] opts the optional parameters
|
|
1035
1225
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1036
1226
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1097,7 +1287,7 @@ module OCI
|
|
|
1097
1287
|
# about moving resources between compartments, see
|
|
1098
1288
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1099
1289
|
#
|
|
1100
|
-
# @param [String] local_peering_gateway_id The OCID of the local peering gateway.
|
|
1290
|
+
# @param [String] local_peering_gateway_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway.
|
|
1101
1291
|
# @param [OCI::Core::Models::ChangeLocalPeeringGatewayCompartmentDetails] change_local_peering_gateway_compartment_details Request to change the compartment of a given local peering gateway.
|
|
1102
1292
|
# @param [Hash] opts the optional parameters
|
|
1103
1293
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1303,7 +1493,7 @@ module OCI
|
|
|
1303
1493
|
# This operation applies only to reserved public IPs. Ephemeral public IPs always belong to the
|
|
1304
1494
|
# same compartment as their VNIC and move accordingly.
|
|
1305
1495
|
#
|
|
1306
|
-
# @param [String] public_ip_id The OCID of the public IP.
|
|
1496
|
+
# @param [String] public_ip_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the public IP.
|
|
1307
1497
|
# @param [OCI::Core::Models::ChangePublicIpCompartmentDetails] change_public_ip_compartment_details Request to change the compartment of a Public IP.
|
|
1308
1498
|
# @param [Hash] opts the optional parameters
|
|
1309
1499
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1439,8 +1629,8 @@ module OCI
|
|
|
1439
1629
|
# about moving resources between compartments, see
|
|
1440
1630
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1441
1631
|
#
|
|
1442
|
-
# @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
|
|
1443
|
-
# @param [OCI::Core::Models::ChangeRemotePeeringConnectionCompartmentDetails] change_remote_peering_connection_compartment_details Request to change the compartment of a
|
|
1632
|
+
# @param [String] remote_peering_connection_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
|
|
1633
|
+
# @param [OCI::Core::Models::ChangeRemotePeeringConnectionCompartmentDetails] change_remote_peering_connection_compartment_details Request to change the compartment of a remote peering connection.
|
|
1444
1634
|
# @param [Hash] opts the optional parameters
|
|
1445
1635
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1446
1636
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1507,7 +1697,7 @@ module OCI
|
|
|
1507
1697
|
# about moving resources between compartments, see
|
|
1508
1698
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1509
1699
|
#
|
|
1510
|
-
# @param [String] rt_id The OCID of the route table.
|
|
1700
|
+
# @param [String] rt_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table.
|
|
1511
1701
|
# @param [OCI::Core::Models::ChangeRouteTableCompartmentDetails] change_route_table_compartment_details Request to change the compartment of a given route table.
|
|
1512
1702
|
# @param [Hash] opts the optional parameters
|
|
1513
1703
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1575,7 +1765,7 @@ module OCI
|
|
|
1575
1765
|
# about moving resources between compartments, see
|
|
1576
1766
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1577
1767
|
#
|
|
1578
|
-
# @param [String] security_list_id The OCID of the security list.
|
|
1768
|
+
# @param [String] security_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security list.
|
|
1579
1769
|
# @param [OCI::Core::Models::ChangeSecurityListCompartmentDetails] change_security_list_compartment_details Request to change the compartment of a given security list.
|
|
1580
1770
|
# @param [Hash] opts the optional parameters
|
|
1581
1771
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1711,7 +1901,7 @@ module OCI
|
|
|
1711
1901
|
# about moving resources between compartments, see
|
|
1712
1902
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1713
1903
|
#
|
|
1714
|
-
# @param [String] subnet_id The OCID of the subnet.
|
|
1904
|
+
# @param [String] subnet_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet.
|
|
1715
1905
|
# @param [OCI::Core::Models::ChangeSubnetCompartmentDetails] change_subnet_compartment_details Request to change the compartment of a given subnet.
|
|
1716
1906
|
# @param [Hash] opts the optional parameters
|
|
1717
1907
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1847,7 +2037,7 @@ module OCI
|
|
|
1847
2037
|
# about moving resources between compartments, see
|
|
1848
2038
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1849
2039
|
#
|
|
1850
|
-
# @param [String] virtual_circuit_id The OCID of the virtual circuit.
|
|
2040
|
+
# @param [String] virtual_circuit_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit.
|
|
1851
2041
|
# @param [OCI::Core::Models::ChangeVirtualCircuitCompartmentDetails] change_virtual_circuit_compartment_details Request to change the compartment of a virtual circuit.
|
|
1852
2042
|
# @param [Hash] opts the optional parameters
|
|
1853
2043
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1994,7 +2184,7 @@ module OCI
|
|
|
1994
2184
|
# operation will fail. For more information, see
|
|
1995
2185
|
# [VCN Peering](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm).
|
|
1996
2186
|
#
|
|
1997
|
-
# @param [String] local_peering_gateway_id The OCID of the local peering gateway.
|
|
2187
|
+
# @param [String] local_peering_gateway_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway.
|
|
1998
2188
|
# @param [OCI::Core::Models::ConnectLocalPeeringGatewaysDetails] connect_local_peering_gateways_details Details regarding the local peering gateway to connect.
|
|
1999
2189
|
# @param [Hash] opts the optional parameters
|
|
2000
2190
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -2057,7 +2247,7 @@ module OCI
|
|
|
2057
2247
|
# operation will fail. For more information, see
|
|
2058
2248
|
# [VCN Peering](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm).
|
|
2059
2249
|
#
|
|
2060
|
-
# @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
|
|
2250
|
+
# @param [String] remote_peering_connection_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
|
|
2061
2251
|
# @param [OCI::Core::Models::ConnectRemotePeeringConnectionsDetails] connect_remote_peering_connections_details Details to connect peering connection with peering connection from remote region
|
|
2062
2252
|
#
|
|
2063
2253
|
# @param [Hash] opts the optional parameters
|
|
@@ -2178,7 +2368,7 @@ module OCI
|
|
|
2178
2368
|
# Creates a new virtual customer-premises equipment (CPE) object in the specified compartment. For
|
|
2179
2369
|
# more information, see [IPSec VPNs](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm).
|
|
2180
2370
|
#
|
|
2181
|
-
# For the purposes of access control, you must provide the OCID of the compartment where you want
|
|
2371
|
+
# For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want
|
|
2182
2372
|
# the CPE to reside. Notice that the CPE doesn't have to be in the same compartment as the IPSec
|
|
2183
2373
|
# connection or other Networking Service components. If you're not sure which compartment to
|
|
2184
2374
|
# use, put the CPE in the same compartment as the DRG. For more information about
|
|
@@ -2257,7 +2447,7 @@ module OCI
|
|
|
2257
2447
|
# and request to have the physical cable installed. For more information, see
|
|
2258
2448
|
# [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
|
|
2259
2449
|
#
|
|
2260
|
-
# For the purposes of access control, you must provide the OCID of the
|
|
2450
|
+
# For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
|
|
2261
2451
|
# compartment where you want the cross-connect to reside. If you're
|
|
2262
2452
|
# not sure which compartment to use, put the cross-connect in the
|
|
2263
2453
|
# same compartment with your VCN. For more information about
|
|
@@ -2331,7 +2521,7 @@ module OCI
|
|
|
2331
2521
|
# FastConnect. For more information, see
|
|
2332
2522
|
# [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
|
|
2333
2523
|
#
|
|
2334
|
-
# For the purposes of access control, you must provide the OCID of the
|
|
2524
|
+
# For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
|
|
2335
2525
|
# compartment where you want the cross-connect group to reside. If you're
|
|
2336
2526
|
# not sure which compartment to use, put the cross-connect group in the
|
|
2337
2527
|
# same compartment with your VCN. For more information about
|
|
@@ -2404,7 +2594,7 @@ module OCI
|
|
|
2404
2594
|
# Creates a new set of DHCP options for the specified VCN. For more information, see
|
|
2405
2595
|
# {DhcpOptions}.
|
|
2406
2596
|
#
|
|
2407
|
-
# For the purposes of access control, you must provide the OCID of the compartment where you want the set of
|
|
2597
|
+
# For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want the set of
|
|
2408
2598
|
# DHCP options to reside. Notice that the set of options doesn't have to be in the same compartment as the VCN,
|
|
2409
2599
|
# subnets, or other Networking Service components. If you're not sure which compartment to use, put the set
|
|
2410
2600
|
# of DHCP options in the same compartment as the VCN. For more information about compartments and access control, see
|
|
@@ -2543,16 +2733,16 @@ module OCI
|
|
|
2543
2733
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2544
2734
|
|
|
2545
2735
|
|
|
2546
|
-
# Attaches the specified DRG to the specified
|
|
2547
|
-
#
|
|
2548
|
-
# information about DRGs, see
|
|
2736
|
+
# Attaches the specified DRG to the specified network resource. A VCN can be attached to only one DRG
|
|
2737
|
+
# at a time, but a DRG can be attached to more than one VCN. The response includes a `DrgAttachment`
|
|
2738
|
+
# object with its own [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). For more information about DRGs, see
|
|
2549
2739
|
# [Dynamic Routing Gateways (DRGs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm).
|
|
2550
2740
|
#
|
|
2551
2741
|
# You may optionally specify a *display name* for the attachment, otherwise a default is provided.
|
|
2552
2742
|
# It does not have to be unique, and you can change it. Avoid entering confidential information.
|
|
2553
2743
|
#
|
|
2554
|
-
# For the purposes of access control, the DRG attachment is automatically placed into the
|
|
2555
|
-
#
|
|
2744
|
+
# For the purposes of access control, the DRG attachment is automatically placed into the currently selected compartment.
|
|
2745
|
+
# For more information about compartments and access control, see
|
|
2556
2746
|
# [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
2557
2747
|
#
|
|
2558
2748
|
# @param [OCI::Core::Models::CreateDrgAttachmentDetails] create_drg_attachment_details Details for creating a `DrgAttachment`.
|
|
@@ -2613,29 +2803,12 @@ module OCI
|
|
|
2613
2803
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2614
2804
|
|
|
2615
2805
|
|
|
2616
|
-
# Creates a new
|
|
2617
|
-
#
|
|
2618
|
-
#
|
|
2619
|
-
#
|
|
2620
|
-
# Gateway to reside. Notice that the internet gateway doesn't have to be in the same compartment as the VCN or
|
|
2621
|
-
# other Networking Service components. If you're not sure which compartment to use, put the Internet
|
|
2622
|
-
# Gateway in the same compartment with the VCN. For more information about compartments and access control, see
|
|
2623
|
-
# [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see
|
|
2624
|
-
# [Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
2625
|
-
#
|
|
2626
|
-
# You may optionally specify a *display name* for the internet gateway, otherwise a default is provided. It
|
|
2627
|
-
# does not have to be unique, and you can change it. Avoid entering confidential information.
|
|
2628
|
-
#
|
|
2629
|
-
# For traffic to flow between a subnet and an internet gateway, you must create a route rule accordingly in
|
|
2630
|
-
# the subnet's route table (for example, 0.0.0.0/0 > internet gateway). See
|
|
2631
|
-
# {#update_route_table update_route_table}.
|
|
2632
|
-
#
|
|
2633
|
-
# You must specify whether the internet gateway is enabled when you create it. If it's disabled, that means no
|
|
2634
|
-
# traffic will flow to/from the internet even if there's a route rule that enables that traffic. You can later
|
|
2635
|
-
# use {#update_internet_gateway update_internet_gateway} to easily disable/enable
|
|
2636
|
-
# the gateway without changing the route rule.
|
|
2806
|
+
# Creates a new route distribution for the specified DRG.
|
|
2807
|
+
# Assign the route distribution as an import distribution to a DRG route table using the `UpdateDrgRouteTable` or `CreateDrgRouteTable` operations.
|
|
2808
|
+
# Assign the route distribution as an export distribution to a DRG attachment
|
|
2809
|
+
# using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations.
|
|
2637
2810
|
#
|
|
2638
|
-
# @param [OCI::Core::Models::
|
|
2811
|
+
# @param [OCI::Core::Models::CreateDrgRouteDistributionDetails] create_drg_route_distribution_details Details for creating a route distribution.
|
|
2639
2812
|
# @param [Hash] opts the optional parameters
|
|
2640
2813
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2641
2814
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -2645,14 +2818,14 @@ module OCI
|
|
|
2645
2818
|
# has been deleted and purged from the system, then a retry of the original creation request
|
|
2646
2819
|
# may be rejected).
|
|
2647
2820
|
#
|
|
2648
|
-
# @return [Response] A Response object with data of type {OCI::Core::Models::
|
|
2649
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/
|
|
2650
|
-
def
|
|
2651
|
-
logger.debug 'Calling operation VirtualNetworkClient#
|
|
2821
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::DrgRouteDistribution DrgRouteDistribution}
|
|
2822
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/create_drg_route_distribution.rb.html) to see an example of how to use create_drg_route_distribution API.
|
|
2823
|
+
def create_drg_route_distribution(create_drg_route_distribution_details, opts = {})
|
|
2824
|
+
logger.debug 'Calling operation VirtualNetworkClient#create_drg_route_distribution.' if logger
|
|
2652
2825
|
|
|
2653
|
-
raise "Missing the required parameter '
|
|
2826
|
+
raise "Missing the required parameter 'create_drg_route_distribution_details' when calling create_drg_route_distribution." if create_drg_route_distribution_details.nil?
|
|
2654
2827
|
|
|
2655
|
-
path = '/
|
|
2828
|
+
path = '/drgRouteDistributions'
|
|
2656
2829
|
operation_signing_strategy = :standard
|
|
2657
2830
|
|
|
2658
2831
|
# rubocop:disable Style/NegatedIf
|
|
@@ -2667,10 +2840,10 @@ module OCI
|
|
|
2667
2840
|
# rubocop:enable Style/NegatedIf
|
|
2668
2841
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
2669
2842
|
|
|
2670
|
-
post_body = @api_client.object_to_http_body(
|
|
2843
|
+
post_body = @api_client.object_to_http_body(create_drg_route_distribution_details)
|
|
2671
2844
|
|
|
2672
2845
|
# rubocop:disable Metrics/BlockLength
|
|
2673
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#
|
|
2846
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_drg_route_distribution') do
|
|
2674
2847
|
@api_client.call_api(
|
|
2675
2848
|
:POST,
|
|
2676
2849
|
path,
|
|
@@ -2679,7 +2852,7 @@ module OCI
|
|
|
2679
2852
|
query_params: query_params,
|
|
2680
2853
|
operation_signing_strategy: operation_signing_strategy,
|
|
2681
2854
|
body: post_body,
|
|
2682
|
-
return_type: 'OCI::Core::Models::
|
|
2855
|
+
return_type: 'OCI::Core::Models::DrgRouteDistribution'
|
|
2683
2856
|
)
|
|
2684
2857
|
end
|
|
2685
2858
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -2693,37 +2866,10 @@ module OCI
|
|
|
2693
2866
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2694
2867
|
|
|
2695
2868
|
|
|
2696
|
-
# Creates a new
|
|
2697
|
-
#
|
|
2698
|
-
#
|
|
2699
|
-
# If you configure at least one tunnel to use static routing, then in the request you must provide
|
|
2700
|
-
# at least one valid static route (you're allowed a maximum of 10). For example: 10.0.0.0/16.
|
|
2701
|
-
# If you configure both tunnels to use BGP dynamic routing, you can provide an empty list for
|
|
2702
|
-
# the static routes. For more information, see the important note in
|
|
2703
|
-
# {IPSecConnection}.
|
|
2704
|
-
#
|
|
2705
|
-
# For the purposes of access control, you must provide the OCID of the compartment where you want the
|
|
2706
|
-
# IPSec connection to reside. Notice that the IPSec connection doesn't have to be in the same compartment
|
|
2707
|
-
# as the DRG, CPE, or other Networking Service components. If you're not sure which compartment to
|
|
2708
|
-
# use, put the IPSec connection in the same compartment as the DRG. For more information about
|
|
2709
|
-
# compartments and access control, see
|
|
2710
|
-
# [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
2711
|
-
# For information about OCIDs, see [Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
2712
|
-
#
|
|
2713
|
-
# You may optionally specify a *display name* for the IPSec connection, otherwise a default is provided.
|
|
2714
|
-
# It does not have to be unique, and you can change it. Avoid entering confidential information.
|
|
2715
|
-
#
|
|
2716
|
-
# After creating the IPSec connection, you need to configure your on-premises router
|
|
2717
|
-
# with tunnel-specific information. For tunnel status and the required configuration information, see:
|
|
2869
|
+
# Creates a new DRG route table for the specified DRG. Assign the DRG route table to a DRG attachment
|
|
2870
|
+
# using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations.
|
|
2718
2871
|
#
|
|
2719
|
-
#
|
|
2720
|
-
# * {IPSecConnectionTunnelSharedSecret}
|
|
2721
|
-
#
|
|
2722
|
-
# For each tunnel, you need the IP address of Oracle's VPN headend and the shared secret
|
|
2723
|
-
# (that is, the pre-shared key). For more information, see
|
|
2724
|
-
# [Configuring Your On-Premises Router for an IPSec VPN](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm).
|
|
2725
|
-
#
|
|
2726
|
-
# @param [OCI::Core::Models::CreateIPSecConnectionDetails] create_ip_sec_connection_details Details for creating an `IPSecConnection`.
|
|
2872
|
+
# @param [OCI::Core::Models::CreateDrgRouteTableDetails] create_drg_route_table_details Details for creating a DRG route table.
|
|
2727
2873
|
# @param [Hash] opts the optional parameters
|
|
2728
2874
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2729
2875
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -2733,14 +2879,14 @@ module OCI
|
|
|
2733
2879
|
# has been deleted and purged from the system, then a retry of the original creation request
|
|
2734
2880
|
# may be rejected).
|
|
2735
2881
|
#
|
|
2736
|
-
# @return [Response] A Response object with data of type {OCI::Core::Models::
|
|
2737
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/
|
|
2738
|
-
def
|
|
2739
|
-
logger.debug 'Calling operation VirtualNetworkClient#
|
|
2882
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::DrgRouteTable DrgRouteTable}
|
|
2883
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/create_drg_route_table.rb.html) to see an example of how to use create_drg_route_table API.
|
|
2884
|
+
def create_drg_route_table(create_drg_route_table_details, opts = {})
|
|
2885
|
+
logger.debug 'Calling operation VirtualNetworkClient#create_drg_route_table.' if logger
|
|
2740
2886
|
|
|
2741
|
-
raise "Missing the required parameter '
|
|
2887
|
+
raise "Missing the required parameter 'create_drg_route_table_details' when calling create_drg_route_table." if create_drg_route_table_details.nil?
|
|
2742
2888
|
|
|
2743
|
-
path = '/
|
|
2889
|
+
path = '/drgRouteTables'
|
|
2744
2890
|
operation_signing_strategy = :standard
|
|
2745
2891
|
|
|
2746
2892
|
# rubocop:disable Style/NegatedIf
|
|
@@ -2755,10 +2901,10 @@ module OCI
|
|
|
2755
2901
|
# rubocop:enable Style/NegatedIf
|
|
2756
2902
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
2757
2903
|
|
|
2758
|
-
post_body = @api_client.object_to_http_body(
|
|
2904
|
+
post_body = @api_client.object_to_http_body(create_drg_route_table_details)
|
|
2759
2905
|
|
|
2760
2906
|
# rubocop:disable Metrics/BlockLength
|
|
2761
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#
|
|
2907
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_drg_route_table') do
|
|
2762
2908
|
@api_client.call_api(
|
|
2763
2909
|
:POST,
|
|
2764
2910
|
path,
|
|
@@ -2767,7 +2913,7 @@ module OCI
|
|
|
2767
2913
|
query_params: query_params,
|
|
2768
2914
|
operation_signing_strategy: operation_signing_strategy,
|
|
2769
2915
|
body: post_body,
|
|
2770
|
-
return_type: 'OCI::Core::Models::
|
|
2916
|
+
return_type: 'OCI::Core::Models::DrgRouteTable'
|
|
2771
2917
|
)
|
|
2772
2918
|
end
|
|
2773
2919
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -2781,27 +2927,193 @@ module OCI
|
|
|
2781
2927
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2782
2928
|
|
|
2783
2929
|
|
|
2784
|
-
# Creates
|
|
2930
|
+
# Creates a new internet gateway for the specified VCN. For more information, see
|
|
2931
|
+
# [Access to the Internet](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIGs.htm).
|
|
2785
2932
|
#
|
|
2786
|
-
#
|
|
2933
|
+
# For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want the Internet
|
|
2934
|
+
# Gateway to reside. Notice that the internet gateway doesn't have to be in the same compartment as the VCN or
|
|
2935
|
+
# other Networking Service components. If you're not sure which compartment to use, put the Internet
|
|
2936
|
+
# Gateway in the same compartment with the VCN. For more information about compartments and access control, see
|
|
2937
|
+
# [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
2938
|
+
#
|
|
2939
|
+
# You may optionally specify a *display name* for the internet gateway, otherwise a default is provided. It
|
|
2940
|
+
# does not have to be unique, and you can change it. Avoid entering confidential information.
|
|
2941
|
+
#
|
|
2942
|
+
# For traffic to flow between a subnet and an internet gateway, you must create a route rule accordingly in
|
|
2943
|
+
# the subnet's route table (for example, 0.0.0.0/0 > internet gateway). See
|
|
2944
|
+
# {#update_route_table update_route_table}.
|
|
2945
|
+
#
|
|
2946
|
+
# You must specify whether the internet gateway is enabled when you create it. If it's disabled, that means no
|
|
2947
|
+
# traffic will flow to/from the internet even if there's a route rule that enables that traffic. You can later
|
|
2948
|
+
# use {#update_internet_gateway update_internet_gateway} to easily disable/enable
|
|
2949
|
+
# the gateway without changing the route rule.
|
|
2950
|
+
#
|
|
2951
|
+
# @param [OCI::Core::Models::CreateInternetGatewayDetails] create_internet_gateway_details Details for creating a new internet gateway.
|
|
2787
2952
|
# @param [Hash] opts the optional parameters
|
|
2788
2953
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2789
2954
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2790
|
-
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
2791
|
-
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
2792
|
-
#
|
|
2793
2955
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
2794
2956
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
2795
2957
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
2796
2958
|
# has been deleted and purged from the system, then a retry of the original creation request
|
|
2797
2959
|
# may be rejected).
|
|
2798
2960
|
#
|
|
2799
|
-
# @return [Response] A Response object with data of type {OCI::Core::Models::
|
|
2800
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/
|
|
2801
|
-
def
|
|
2802
|
-
logger.debug 'Calling operation VirtualNetworkClient#
|
|
2803
|
-
|
|
2804
|
-
raise "Missing the required parameter '
|
|
2961
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::InternetGateway InternetGateway}
|
|
2962
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/create_internet_gateway.rb.html) to see an example of how to use create_internet_gateway API.
|
|
2963
|
+
def create_internet_gateway(create_internet_gateway_details, opts = {})
|
|
2964
|
+
logger.debug 'Calling operation VirtualNetworkClient#create_internet_gateway.' if logger
|
|
2965
|
+
|
|
2966
|
+
raise "Missing the required parameter 'create_internet_gateway_details' when calling create_internet_gateway." if create_internet_gateway_details.nil?
|
|
2967
|
+
|
|
2968
|
+
path = '/internetGateways'
|
|
2969
|
+
operation_signing_strategy = :standard
|
|
2970
|
+
|
|
2971
|
+
# rubocop:disable Style/NegatedIf
|
|
2972
|
+
# Query Params
|
|
2973
|
+
query_params = {}
|
|
2974
|
+
|
|
2975
|
+
# Header Params
|
|
2976
|
+
header_params = {}
|
|
2977
|
+
header_params[:accept] = 'application/json'
|
|
2978
|
+
header_params[:'content-type'] = 'application/json'
|
|
2979
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
2980
|
+
# rubocop:enable Style/NegatedIf
|
|
2981
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
2982
|
+
|
|
2983
|
+
post_body = @api_client.object_to_http_body(create_internet_gateway_details)
|
|
2984
|
+
|
|
2985
|
+
# rubocop:disable Metrics/BlockLength
|
|
2986
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_internet_gateway') do
|
|
2987
|
+
@api_client.call_api(
|
|
2988
|
+
:POST,
|
|
2989
|
+
path,
|
|
2990
|
+
endpoint,
|
|
2991
|
+
header_params: header_params,
|
|
2992
|
+
query_params: query_params,
|
|
2993
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2994
|
+
body: post_body,
|
|
2995
|
+
return_type: 'OCI::Core::Models::InternetGateway'
|
|
2996
|
+
)
|
|
2997
|
+
end
|
|
2998
|
+
# rubocop:enable Metrics/BlockLength
|
|
2999
|
+
end
|
|
3000
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3001
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3002
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3003
|
+
|
|
3004
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3005
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3006
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3007
|
+
|
|
3008
|
+
|
|
3009
|
+
# Creates a new IPSec connection between the specified DRG and CPE. For more information, see
|
|
3010
|
+
# [IPSec VPNs](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm).
|
|
3011
|
+
#
|
|
3012
|
+
# If you configure at least one tunnel to use static routing, then in the request you must provide
|
|
3013
|
+
# at least one valid static route (you're allowed a maximum of 10). For example: 10.0.0.0/16.
|
|
3014
|
+
# If you configure both tunnels to use BGP dynamic routing, you can provide an empty list for
|
|
3015
|
+
# the static routes. For more information, see the important note in
|
|
3016
|
+
# {IPSecConnection}.
|
|
3017
|
+
#
|
|
3018
|
+
# For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want the
|
|
3019
|
+
# IPSec connection to reside. Notice that the IPSec connection doesn't have to be in the same compartment
|
|
3020
|
+
# as the DRG, CPE, or other Networking Service components. If you're not sure which compartment to
|
|
3021
|
+
# use, put the IPSec connection in the same compartment as the DRG. For more information about
|
|
3022
|
+
# compartments and access control, see
|
|
3023
|
+
# [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
|
|
3024
|
+
#
|
|
3025
|
+
# You may optionally specify a *display name* for the IPSec connection, otherwise a default is provided.
|
|
3026
|
+
# It does not have to be unique, and you can change it. Avoid entering confidential information.
|
|
3027
|
+
#
|
|
3028
|
+
# After creating the IPSec connection, you need to configure your on-premises router
|
|
3029
|
+
# with tunnel-specific information. For tunnel status and the required configuration information, see:
|
|
3030
|
+
#
|
|
3031
|
+
# * {IPSecConnectionTunnel}
|
|
3032
|
+
# * {IPSecConnectionTunnelSharedSecret}
|
|
3033
|
+
#
|
|
3034
|
+
# For each tunnel, you need the IP address of Oracle's VPN headend and the shared secret
|
|
3035
|
+
# (that is, the pre-shared key). For more information, see
|
|
3036
|
+
# [Configuring Your On-Premises Router for an IPSec VPN](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm).
|
|
3037
|
+
#
|
|
3038
|
+
# @param [OCI::Core::Models::CreateIPSecConnectionDetails] create_ip_sec_connection_details Details for creating an `IPSecConnection`.
|
|
3039
|
+
# @param [Hash] opts the optional parameters
|
|
3040
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3041
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3042
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
3043
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
3044
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
3045
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
3046
|
+
# may be rejected).
|
|
3047
|
+
#
|
|
3048
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::IPSecConnection IPSecConnection}
|
|
3049
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/create_ip_sec_connection.rb.html) to see an example of how to use create_ip_sec_connection API.
|
|
3050
|
+
def create_ip_sec_connection(create_ip_sec_connection_details, opts = {})
|
|
3051
|
+
logger.debug 'Calling operation VirtualNetworkClient#create_ip_sec_connection.' if logger
|
|
3052
|
+
|
|
3053
|
+
raise "Missing the required parameter 'create_ip_sec_connection_details' when calling create_ip_sec_connection." if create_ip_sec_connection_details.nil?
|
|
3054
|
+
|
|
3055
|
+
path = '/ipsecConnections'
|
|
3056
|
+
operation_signing_strategy = :standard
|
|
3057
|
+
|
|
3058
|
+
# rubocop:disable Style/NegatedIf
|
|
3059
|
+
# Query Params
|
|
3060
|
+
query_params = {}
|
|
3061
|
+
|
|
3062
|
+
# Header Params
|
|
3063
|
+
header_params = {}
|
|
3064
|
+
header_params[:accept] = 'application/json'
|
|
3065
|
+
header_params[:'content-type'] = 'application/json'
|
|
3066
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
3067
|
+
# rubocop:enable Style/NegatedIf
|
|
3068
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
3069
|
+
|
|
3070
|
+
post_body = @api_client.object_to_http_body(create_ip_sec_connection_details)
|
|
3071
|
+
|
|
3072
|
+
# rubocop:disable Metrics/BlockLength
|
|
3073
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_ip_sec_connection') do
|
|
3074
|
+
@api_client.call_api(
|
|
3075
|
+
:POST,
|
|
3076
|
+
path,
|
|
3077
|
+
endpoint,
|
|
3078
|
+
header_params: header_params,
|
|
3079
|
+
query_params: query_params,
|
|
3080
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3081
|
+
body: post_body,
|
|
3082
|
+
return_type: 'OCI::Core::Models::IPSecConnection'
|
|
3083
|
+
)
|
|
3084
|
+
end
|
|
3085
|
+
# rubocop:enable Metrics/BlockLength
|
|
3086
|
+
end
|
|
3087
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3088
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3089
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3090
|
+
|
|
3091
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3092
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3093
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
# Creates an IPv6 for the specified VNIC.
|
|
3097
|
+
#
|
|
3098
|
+
# @param [OCI::Core::Models::CreateIpv6Details] create_ipv6_details Create IPv6 details.
|
|
3099
|
+
# @param [Hash] opts the optional parameters
|
|
3100
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3101
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3102
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
3103
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
3104
|
+
#
|
|
3105
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
3106
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
3107
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
3108
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
3109
|
+
# may be rejected).
|
|
3110
|
+
#
|
|
3111
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::Ipv6 Ipv6}
|
|
3112
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/create_ipv6.rb.html) to see an example of how to use create_ipv6 API.
|
|
3113
|
+
def create_ipv6(create_ipv6_details, opts = {})
|
|
3114
|
+
logger.debug 'Calling operation VirtualNetworkClient#create_ipv6.' if logger
|
|
3115
|
+
|
|
3116
|
+
raise "Missing the required parameter 'create_ipv6_details' when calling create_ipv6." if create_ipv6_details.nil?
|
|
2805
3117
|
|
|
2806
3118
|
path = '/ipv6'
|
|
2807
3119
|
operation_signing_strategy = :standard
|
|
@@ -3902,7 +4214,7 @@ module OCI
|
|
|
3902
4214
|
# operation. The CPE's `lifecycleState` will change to TERMINATING temporarily until the CPE is completely
|
|
3903
4215
|
# removed.
|
|
3904
4216
|
#
|
|
3905
|
-
# @param [String] cpe_id The OCID of the CPE.
|
|
4217
|
+
# @param [String] cpe_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE.
|
|
3906
4218
|
# @param [Hash] opts the optional parameters
|
|
3907
4219
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3908
4220
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -3960,7 +4272,7 @@ module OCI
|
|
|
3960
4272
|
# Deletes the specified cross-connect. It must not be mapped to a
|
|
3961
4273
|
# {VirtualCircuit}.
|
|
3962
4274
|
#
|
|
3963
|
-
# @param [String] cross_connect_id The OCID of the cross-connect.
|
|
4275
|
+
# @param [String] cross_connect_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect.
|
|
3964
4276
|
# @param [Hash] opts the optional parameters
|
|
3965
4277
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3966
4278
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4019,7 +4331,7 @@ module OCI
|
|
|
4019
4331
|
# cross-connects, and it cannot be mapped to a
|
|
4020
4332
|
# {VirtualCircuit}.
|
|
4021
4333
|
#
|
|
4022
|
-
# @param [String] cross_connect_group_id The OCID of the cross-connect group.
|
|
4334
|
+
# @param [String] cross_connect_group_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group.
|
|
4023
4335
|
# @param [Hash] opts the optional parameters
|
|
4024
4336
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4025
4337
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4080,7 +4392,7 @@ module OCI
|
|
|
4080
4392
|
# This is an asynchronous operation. The state of the set of options will switch to TERMINATING temporarily
|
|
4081
4393
|
# until the set is completely removed.
|
|
4082
4394
|
#
|
|
4083
|
-
# @param [String] dhcp_id The OCID for the set of DHCP options.
|
|
4395
|
+
# @param [String] dhcp_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the set of DHCP options.
|
|
4084
4396
|
# @param [Hash] opts the optional parameters
|
|
4085
4397
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4086
4398
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4140,7 +4452,7 @@ module OCI
|
|
|
4140
4452
|
# operation. The DRG's `lifecycleState` will change to TERMINATING temporarily until the DRG is completely
|
|
4141
4453
|
# removed.
|
|
4142
4454
|
#
|
|
4143
|
-
# @param [String] drg_id The OCID of the DRG.
|
|
4455
|
+
# @param [String] drg_id The [[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
4144
4456
|
# @param [Hash] opts the optional parameters
|
|
4145
4457
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4146
4458
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4195,11 +4507,11 @@ module OCI
|
|
|
4195
4507
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4196
4508
|
|
|
4197
4509
|
|
|
4198
|
-
# Detaches a DRG from a
|
|
4199
|
-
# operation. The attachment's `lifecycleState` will change to DETACHING
|
|
4510
|
+
# Detaches a DRG from a network resource by deleting the corresponding `DrgAttachment` resource. This is an asynchronous
|
|
4511
|
+
# operation. The attachment's `lifecycleState` will temporarily change to DETACHING until the attachment
|
|
4200
4512
|
# is completely removed.
|
|
4201
4513
|
#
|
|
4202
|
-
# @param [String] drg_attachment_id The OCID of the DRG attachment.
|
|
4514
|
+
# @param [String] drg_attachment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
|
|
4203
4515
|
# @param [Hash] opts the optional parameters
|
|
4204
4516
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4205
4517
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4254,13 +4566,129 @@ module OCI
|
|
|
4254
4566
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4255
4567
|
|
|
4256
4568
|
|
|
4569
|
+
# Deletes the specified route distribution. You can't delete a route distribution currently in use by a DRG attachment or DRG route table.
|
|
4570
|
+
#
|
|
4571
|
+
# Remove the DRG route distribution from a DRG attachment or DRG route table by using the \"RemoveExportDrgRouteDistribution\" or \"RemoveImportDrgRouteDistribution' operations.
|
|
4572
|
+
#
|
|
4573
|
+
# @param [String] drg_route_distribution_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
|
|
4574
|
+
# @param [Hash] opts the optional parameters
|
|
4575
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4576
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4577
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
4578
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
4579
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
4580
|
+
#
|
|
4581
|
+
# @return [Response] A Response object with data of type nil
|
|
4582
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/delete_drg_route_distribution.rb.html) to see an example of how to use delete_drg_route_distribution API.
|
|
4583
|
+
def delete_drg_route_distribution(drg_route_distribution_id, opts = {})
|
|
4584
|
+
logger.debug 'Calling operation VirtualNetworkClient#delete_drg_route_distribution.' if logger
|
|
4585
|
+
|
|
4586
|
+
raise "Missing the required parameter 'drg_route_distribution_id' when calling delete_drg_route_distribution." if drg_route_distribution_id.nil?
|
|
4587
|
+
raise "Parameter value for 'drg_route_distribution_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_distribution_id)
|
|
4588
|
+
|
|
4589
|
+
path = '/drgRouteDistributions/{drgRouteDistributionId}'.sub('{drgRouteDistributionId}', drg_route_distribution_id.to_s)
|
|
4590
|
+
operation_signing_strategy = :standard
|
|
4591
|
+
|
|
4592
|
+
# rubocop:disable Style/NegatedIf
|
|
4593
|
+
# Query Params
|
|
4594
|
+
query_params = {}
|
|
4595
|
+
|
|
4596
|
+
# Header Params
|
|
4597
|
+
header_params = {}
|
|
4598
|
+
header_params[:accept] = 'application/json'
|
|
4599
|
+
header_params[:'content-type'] = 'application/json'
|
|
4600
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
4601
|
+
# rubocop:enable Style/NegatedIf
|
|
4602
|
+
|
|
4603
|
+
post_body = nil
|
|
4604
|
+
|
|
4605
|
+
# rubocop:disable Metrics/BlockLength
|
|
4606
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_drg_route_distribution') do
|
|
4607
|
+
@api_client.call_api(
|
|
4608
|
+
:DELETE,
|
|
4609
|
+
path,
|
|
4610
|
+
endpoint,
|
|
4611
|
+
header_params: header_params,
|
|
4612
|
+
query_params: query_params,
|
|
4613
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4614
|
+
body: post_body
|
|
4615
|
+
)
|
|
4616
|
+
end
|
|
4617
|
+
# rubocop:enable Metrics/BlockLength
|
|
4618
|
+
end
|
|
4619
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4620
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4621
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4622
|
+
|
|
4623
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4624
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4625
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4626
|
+
|
|
4627
|
+
|
|
4628
|
+
# Deletes the specified DRG route table. There must not be any DRG attachments assigned.
|
|
4629
|
+
#
|
|
4630
|
+
# @param [String] drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
|
|
4631
|
+
# @param [Hash] opts the optional parameters
|
|
4632
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4633
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4634
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
4635
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
4636
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
4637
|
+
#
|
|
4638
|
+
# @return [Response] A Response object with data of type nil
|
|
4639
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/delete_drg_route_table.rb.html) to see an example of how to use delete_drg_route_table API.
|
|
4640
|
+
def delete_drg_route_table(drg_route_table_id, opts = {})
|
|
4641
|
+
logger.debug 'Calling operation VirtualNetworkClient#delete_drg_route_table.' if logger
|
|
4642
|
+
|
|
4643
|
+
raise "Missing the required parameter 'drg_route_table_id' when calling delete_drg_route_table." if drg_route_table_id.nil?
|
|
4644
|
+
raise "Parameter value for 'drg_route_table_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_table_id)
|
|
4645
|
+
|
|
4646
|
+
path = '/drgRouteTables/{drgRouteTableId}'.sub('{drgRouteTableId}', drg_route_table_id.to_s)
|
|
4647
|
+
operation_signing_strategy = :standard
|
|
4648
|
+
|
|
4649
|
+
# rubocop:disable Style/NegatedIf
|
|
4650
|
+
# Query Params
|
|
4651
|
+
query_params = {}
|
|
4652
|
+
|
|
4653
|
+
# Header Params
|
|
4654
|
+
header_params = {}
|
|
4655
|
+
header_params[:accept] = 'application/json'
|
|
4656
|
+
header_params[:'content-type'] = 'application/json'
|
|
4657
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
4658
|
+
# rubocop:enable Style/NegatedIf
|
|
4659
|
+
|
|
4660
|
+
post_body = nil
|
|
4661
|
+
|
|
4662
|
+
# rubocop:disable Metrics/BlockLength
|
|
4663
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_drg_route_table') do
|
|
4664
|
+
@api_client.call_api(
|
|
4665
|
+
:DELETE,
|
|
4666
|
+
path,
|
|
4667
|
+
endpoint,
|
|
4668
|
+
header_params: header_params,
|
|
4669
|
+
query_params: query_params,
|
|
4670
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4671
|
+
body: post_body
|
|
4672
|
+
)
|
|
4673
|
+
end
|
|
4674
|
+
# rubocop:enable Metrics/BlockLength
|
|
4675
|
+
end
|
|
4676
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4677
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4678
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4679
|
+
|
|
4680
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4681
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4682
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4683
|
+
|
|
4684
|
+
|
|
4257
4685
|
# Deletes the specified internet gateway. The internet gateway does not have to be disabled, but
|
|
4258
4686
|
# there must not be a route table that lists it as a target.
|
|
4259
4687
|
#
|
|
4260
4688
|
# This is an asynchronous operation. The gateway's `lifecycleState` will change to TERMINATING temporarily
|
|
4261
4689
|
# until the gateway is completely removed.
|
|
4262
4690
|
#
|
|
4263
|
-
# @param [String] ig_id The OCID of the internet gateway.
|
|
4691
|
+
# @param [String] ig_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internet gateway.
|
|
4264
4692
|
# @param [Hash] opts the optional parameters
|
|
4265
4693
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4266
4694
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4324,7 +4752,7 @@ module OCI
|
|
|
4324
4752
|
# This is an asynchronous operation. The connection's `lifecycleState` will change to TERMINATING temporarily
|
|
4325
4753
|
# until the connection is completely removed.
|
|
4326
4754
|
#
|
|
4327
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
4755
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
4328
4756
|
# @param [Hash] opts the optional parameters
|
|
4329
4757
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4330
4758
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4379,7 +4807,7 @@ module OCI
|
|
|
4379
4807
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4380
4808
|
|
|
4381
4809
|
|
|
4382
|
-
# Unassigns and deletes the specified IPv6. You must specify the object's OCID.
|
|
4810
|
+
# Unassigns and deletes the specified IPv6. You must specify the object's [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
4383
4811
|
# The IPv6 address is returned to the subnet's pool of available addresses.
|
|
4384
4812
|
#
|
|
4385
4813
|
# @param [String] ipv6_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6.
|
|
@@ -4446,7 +4874,7 @@ module OCI
|
|
|
4446
4874
|
# This is an asynchronous operation; the local peering gateway's `lifecycleState` changes to TERMINATING temporarily
|
|
4447
4875
|
# until the local peering gateway is completely removed.
|
|
4448
4876
|
#
|
|
4449
|
-
# @param [String] local_peering_gateway_id The OCID of the local peering gateway.
|
|
4877
|
+
# @param [String] local_peering_gateway_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway.
|
|
4450
4878
|
# @param [Hash] opts the optional parameters
|
|
4451
4879
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4452
4880
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4637,7 +5065,7 @@ module OCI
|
|
|
4637
5065
|
# unassigning it from the VNIC causes that route rule to blackhole and the traffic
|
|
4638
5066
|
# will be dropped.
|
|
4639
5067
|
#
|
|
4640
|
-
# @param [String] private_ip_id The OCID of the private IP.
|
|
5068
|
+
# @param [String] private_ip_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP.
|
|
4641
5069
|
# @param [Hash] opts the optional parameters
|
|
4642
5070
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4643
5071
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4708,7 +5136,7 @@ module OCI
|
|
|
4708
5136
|
# of reserved public IPs, instead use
|
|
4709
5137
|
# {#update_public_ip update_public_ip}.
|
|
4710
5138
|
#
|
|
4711
|
-
# @param [String] public_ip_id The OCID of the public IP.
|
|
5139
|
+
# @param [String] public_ip_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the public IP.
|
|
4712
5140
|
# @param [Hash] opts the optional parameters
|
|
4713
5141
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4714
5142
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4831,7 +5259,7 @@ module OCI
|
|
|
4831
5259
|
# This is an asynchronous operation; the RPC's `lifecycleState` changes to TERMINATING temporarily
|
|
4832
5260
|
# until the RPC is completely removed.
|
|
4833
5261
|
#
|
|
4834
|
-
# @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
|
|
5262
|
+
# @param [String] remote_peering_connection_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
|
|
4835
5263
|
# @param [Hash] opts the optional parameters
|
|
4836
5264
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4837
5265
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4892,7 +5320,7 @@ module OCI
|
|
|
4892
5320
|
# This is an asynchronous operation. The route table's `lifecycleState` will change to TERMINATING temporarily
|
|
4893
5321
|
# until the route table is completely removed.
|
|
4894
5322
|
#
|
|
4895
|
-
# @param [String] rt_id The OCID of the route table.
|
|
5323
|
+
# @param [String] rt_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table.
|
|
4896
5324
|
# @param [Hash] opts the optional parameters
|
|
4897
5325
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4898
5326
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -4953,7 +5381,7 @@ module OCI
|
|
|
4953
5381
|
# This is an asynchronous operation. The security list's `lifecycleState` will change to TERMINATING temporarily
|
|
4954
5382
|
# until the security list is completely removed.
|
|
4955
5383
|
#
|
|
4956
|
-
# @param [String] security_list_id The OCID of the security list.
|
|
5384
|
+
# @param [String] security_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security list.
|
|
4957
5385
|
# @param [Hash] opts the optional parameters
|
|
4958
5386
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4959
5387
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5070,7 +5498,7 @@ module OCI
|
|
|
5070
5498
|
# operation. The subnet's `lifecycleState` will change to TERMINATING temporarily. If there are any
|
|
5071
5499
|
# instances in the subnet, the state will instead change back to AVAILABLE.
|
|
5072
5500
|
#
|
|
5073
|
-
# @param [String] subnet_id The OCID of the subnet.
|
|
5501
|
+
# @param [String] subnet_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet.
|
|
5074
5502
|
# @param [Hash] opts the optional parameters
|
|
5075
5503
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5076
5504
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5190,7 +5618,7 @@ module OCI
|
|
|
5190
5618
|
# make sure to also terminate the connection with
|
|
5191
5619
|
# the provider, or else the provider may continue to bill you.
|
|
5192
5620
|
#
|
|
5193
|
-
# @param [String] virtual_circuit_id The OCID of the virtual circuit.
|
|
5621
|
+
# @param [String] virtual_circuit_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit.
|
|
5194
5622
|
# @param [Hash] opts the optional parameters
|
|
5195
5623
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5196
5624
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5377,17 +5805,95 @@ module OCI
|
|
|
5377
5805
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5378
5806
|
|
|
5379
5807
|
|
|
5380
|
-
#
|
|
5808
|
+
# Returns a complete list of DRG attachments that belong to a particular DRG.
|
|
5381
5809
|
#
|
|
5382
|
-
# @param [String]
|
|
5810
|
+
# @param [String] drg_id The [[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
5383
5811
|
# @param [Hash] opts the optional parameters
|
|
5384
5812
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5385
5813
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
5386
5814
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
5387
5815
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
5388
5816
|
#
|
|
5389
|
-
# @
|
|
5390
|
-
#
|
|
5817
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
5818
|
+
# \"List\" call. For important details about how pagination works, see
|
|
5819
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
5820
|
+
#
|
|
5821
|
+
# Example: `50`
|
|
5822
|
+
#
|
|
5823
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
|
5824
|
+
# call. For important details about how pagination works, see
|
|
5825
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
5826
|
+
#
|
|
5827
|
+
# @option opts [String] :attachment_type The type for the network resource attached to the DRG. (default to VCN)
|
|
5828
|
+
# Allowed values are: VCN, VIRTUAL_CIRCUIT, REMOTE_PEERING_CONNECTION, IPSEC_TUNNEL, ALL
|
|
5829
|
+
# @option opts [BOOLEAN] :is_cross_tenancy Whether the DRG attachment lives in a different tenancy than the DRG. (default to false)
|
|
5830
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgAttachmentInfo DrgAttachmentInfo}>
|
|
5831
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/get_all_drg_attachments.rb.html) to see an example of how to use get_all_drg_attachments API.
|
|
5832
|
+
def get_all_drg_attachments(drg_id, opts = {})
|
|
5833
|
+
logger.debug 'Calling operation VirtualNetworkClient#get_all_drg_attachments.' if logger
|
|
5834
|
+
|
|
5835
|
+
raise "Missing the required parameter 'drg_id' when calling get_all_drg_attachments." if drg_id.nil?
|
|
5836
|
+
|
|
5837
|
+
if opts[:attachment_type] && !%w[VCN VIRTUAL_CIRCUIT REMOTE_PEERING_CONNECTION IPSEC_TUNNEL ALL].include?(opts[:attachment_type])
|
|
5838
|
+
raise 'Invalid value for "attachment_type", must be one of VCN, VIRTUAL_CIRCUIT, REMOTE_PEERING_CONNECTION, IPSEC_TUNNEL, ALL.'
|
|
5839
|
+
end
|
|
5840
|
+
raise "Parameter value for 'drg_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_id)
|
|
5841
|
+
|
|
5842
|
+
path = '/drgs/{drgId}/actions/getAllDrgAttachments'.sub('{drgId}', drg_id.to_s)
|
|
5843
|
+
operation_signing_strategy = :standard
|
|
5844
|
+
|
|
5845
|
+
# rubocop:disable Style/NegatedIf
|
|
5846
|
+
# Query Params
|
|
5847
|
+
query_params = {}
|
|
5848
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
5849
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
5850
|
+
query_params[:attachmentType] = opts[:attachment_type] if opts[:attachment_type]
|
|
5851
|
+
query_params[:isCrossTenancy] = opts[:is_cross_tenancy] if !opts[:is_cross_tenancy].nil?
|
|
5852
|
+
|
|
5853
|
+
# Header Params
|
|
5854
|
+
header_params = {}
|
|
5855
|
+
header_params[:accept] = 'application/json'
|
|
5856
|
+
header_params[:'content-type'] = 'application/json'
|
|
5857
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
5858
|
+
# rubocop:enable Style/NegatedIf
|
|
5859
|
+
|
|
5860
|
+
post_body = nil
|
|
5861
|
+
|
|
5862
|
+
# rubocop:disable Metrics/BlockLength
|
|
5863
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_all_drg_attachments') do
|
|
5864
|
+
@api_client.call_api(
|
|
5865
|
+
:POST,
|
|
5866
|
+
path,
|
|
5867
|
+
endpoint,
|
|
5868
|
+
header_params: header_params,
|
|
5869
|
+
query_params: query_params,
|
|
5870
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
5871
|
+
body: post_body,
|
|
5872
|
+
return_type: 'Array<OCI::Core::Models::DrgAttachmentInfo>'
|
|
5873
|
+
)
|
|
5874
|
+
end
|
|
5875
|
+
# rubocop:enable Metrics/BlockLength
|
|
5876
|
+
end
|
|
5877
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5878
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5879
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
5880
|
+
|
|
5881
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
5882
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
5883
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
5884
|
+
|
|
5885
|
+
|
|
5886
|
+
# Gets the `ByoipRange` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
5887
|
+
#
|
|
5888
|
+
# @param [String] byoip_range_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
|
|
5889
|
+
# @param [Hash] opts the optional parameters
|
|
5890
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5891
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
5892
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
5893
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
5894
|
+
#
|
|
5895
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::ByoipRange ByoipRange}
|
|
5896
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/get_byoip_range.rb.html) to see an example of how to use get_byoip_range API.
|
|
5391
5897
|
def get_byoip_range(byoip_range_id, opts = {})
|
|
5392
5898
|
logger.debug 'Calling operation VirtualNetworkClient#get_byoip_range.' if logger
|
|
5393
5899
|
|
|
@@ -5436,7 +5942,7 @@ module OCI
|
|
|
5436
5942
|
|
|
5437
5943
|
|
|
5438
5944
|
# Gets the specified CPE's information.
|
|
5439
|
-
# @param [String] cpe_id The OCID of the CPE.
|
|
5945
|
+
# @param [String] cpe_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE.
|
|
5440
5946
|
# @param [Hash] opts the optional parameters
|
|
5441
5947
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5442
5948
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5507,7 +6013,7 @@ module OCI
|
|
|
5507
6013
|
# * {#get_tunnel_cpe_device_config_content get_tunnel_cpe_device_config_content}
|
|
5508
6014
|
# returns CPE configuration content for a specific tunnel within an IPSec connection.
|
|
5509
6015
|
#
|
|
5510
|
-
# @param [String] cpe_id The OCID of the CPE.
|
|
6016
|
+
# @param [String] cpe_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE.
|
|
5511
6017
|
# @param [Hash] opts the optional parameters
|
|
5512
6018
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5513
6019
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5675,7 +6181,7 @@ module OCI
|
|
|
5675
6181
|
|
|
5676
6182
|
|
|
5677
6183
|
# Gets the specified cross-connect's information.
|
|
5678
|
-
# @param [String] cross_connect_id The OCID of the cross-connect.
|
|
6184
|
+
# @param [String] cross_connect_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect.
|
|
5679
6185
|
# @param [Hash] opts the optional parameters
|
|
5680
6186
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5681
6187
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5729,7 +6235,7 @@ module OCI
|
|
|
5729
6235
|
|
|
5730
6236
|
|
|
5731
6237
|
# Gets the specified cross-connect group's information.
|
|
5732
|
-
# @param [String] cross_connect_group_id The OCID of the cross-connect group.
|
|
6238
|
+
# @param [String] cross_connect_group_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group.
|
|
5733
6239
|
# @param [Hash] opts the optional parameters
|
|
5734
6240
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5735
6241
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5783,7 +6289,7 @@ module OCI
|
|
|
5783
6289
|
|
|
5784
6290
|
|
|
5785
6291
|
# Gets the Letter of Authority for the specified cross-connect.
|
|
5786
|
-
# @param [String] cross_connect_id The OCID of the cross-connect.
|
|
6292
|
+
# @param [String] cross_connect_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect.
|
|
5787
6293
|
# @param [Hash] opts the optional parameters
|
|
5788
6294
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5789
6295
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5838,7 +6344,7 @@ module OCI
|
|
|
5838
6344
|
|
|
5839
6345
|
# Gets the status of the specified cross-connect.
|
|
5840
6346
|
#
|
|
5841
|
-
# @param [String] cross_connect_id The OCID of the cross-connect.
|
|
6347
|
+
# @param [String] cross_connect_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect.
|
|
5842
6348
|
# @param [Hash] opts the optional parameters
|
|
5843
6349
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5844
6350
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5892,7 +6398,7 @@ module OCI
|
|
|
5892
6398
|
|
|
5893
6399
|
|
|
5894
6400
|
# Gets the specified set of DHCP options.
|
|
5895
|
-
# @param [String] dhcp_id The OCID for the set of DHCP options.
|
|
6401
|
+
# @param [String] dhcp_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the set of DHCP options.
|
|
5896
6402
|
# @param [Hash] opts the optional parameters
|
|
5897
6403
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5898
6404
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5946,7 +6452,7 @@ module OCI
|
|
|
5946
6452
|
|
|
5947
6453
|
|
|
5948
6454
|
# Gets the specified DRG's information.
|
|
5949
|
-
# @param [String] drg_id The OCID of the DRG.
|
|
6455
|
+
# @param [String] drg_id The [[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
5950
6456
|
# @param [Hash] opts the optional parameters
|
|
5951
6457
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
5952
6458
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -5999,8 +6505,8 @@ module OCI
|
|
|
5999
6505
|
# rubocop:disable Lint/UnusedMethodArgument
|
|
6000
6506
|
|
|
6001
6507
|
|
|
6002
|
-
# Gets the
|
|
6003
|
-
# @param [String] drg_attachment_id The OCID of the DRG attachment.
|
|
6508
|
+
# Gets the `DrgAttachment` resource.
|
|
6509
|
+
# @param [String] drg_attachment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
|
|
6004
6510
|
# @param [Hash] opts the optional parameters
|
|
6005
6511
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6006
6512
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6055,7 +6561,7 @@ module OCI
|
|
|
6055
6561
|
# Gets the redundancy status for the specified DRG. For more information, see
|
|
6056
6562
|
# [Redundancy Remedies](https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm).
|
|
6057
6563
|
#
|
|
6058
|
-
# @param [String] drg_id The OCID of the DRG.
|
|
6564
|
+
# @param [String] drg_id The [[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
6059
6565
|
# @param [Hash] opts the optional parameters
|
|
6060
6566
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6061
6567
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6111,10 +6617,118 @@ module OCI
|
|
|
6111
6617
|
# rubocop:disable Lint/UnusedMethodArgument
|
|
6112
6618
|
|
|
6113
6619
|
|
|
6620
|
+
# Gets the specified route distribution's information.
|
|
6621
|
+
# @param [String] drg_route_distribution_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
|
|
6622
|
+
# @param [Hash] opts the optional parameters
|
|
6623
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6624
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
6625
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::DrgRouteDistribution DrgRouteDistribution}
|
|
6626
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/get_drg_route_distribution.rb.html) to see an example of how to use get_drg_route_distribution API.
|
|
6627
|
+
def get_drg_route_distribution(drg_route_distribution_id, opts = {})
|
|
6628
|
+
logger.debug 'Calling operation VirtualNetworkClient#get_drg_route_distribution.' if logger
|
|
6629
|
+
|
|
6630
|
+
raise "Missing the required parameter 'drg_route_distribution_id' when calling get_drg_route_distribution." if drg_route_distribution_id.nil?
|
|
6631
|
+
raise "Parameter value for 'drg_route_distribution_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_distribution_id)
|
|
6632
|
+
|
|
6633
|
+
path = '/drgRouteDistributions/{drgRouteDistributionId}'.sub('{drgRouteDistributionId}', drg_route_distribution_id.to_s)
|
|
6634
|
+
operation_signing_strategy = :standard
|
|
6635
|
+
|
|
6636
|
+
# rubocop:disable Style/NegatedIf
|
|
6637
|
+
# Query Params
|
|
6638
|
+
query_params = {}
|
|
6639
|
+
|
|
6640
|
+
# Header Params
|
|
6641
|
+
header_params = {}
|
|
6642
|
+
header_params[:accept] = 'application/json'
|
|
6643
|
+
header_params[:'content-type'] = 'application/json'
|
|
6644
|
+
# rubocop:enable Style/NegatedIf
|
|
6645
|
+
|
|
6646
|
+
post_body = nil
|
|
6647
|
+
|
|
6648
|
+
# rubocop:disable Metrics/BlockLength
|
|
6649
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_drg_route_distribution') do
|
|
6650
|
+
@api_client.call_api(
|
|
6651
|
+
:GET,
|
|
6652
|
+
path,
|
|
6653
|
+
endpoint,
|
|
6654
|
+
header_params: header_params,
|
|
6655
|
+
query_params: query_params,
|
|
6656
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
6657
|
+
body: post_body,
|
|
6658
|
+
return_type: 'OCI::Core::Models::DrgRouteDistribution'
|
|
6659
|
+
)
|
|
6660
|
+
end
|
|
6661
|
+
# rubocop:enable Metrics/BlockLength
|
|
6662
|
+
end
|
|
6663
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6664
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6665
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
6666
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
6667
|
+
|
|
6668
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6669
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6670
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
6671
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
6672
|
+
|
|
6673
|
+
|
|
6674
|
+
# Gets the specified DRG route table's information.
|
|
6675
|
+
# @param [String] drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
|
|
6676
|
+
# @param [Hash] opts the optional parameters
|
|
6677
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6678
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
6679
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::DrgRouteTable DrgRouteTable}
|
|
6680
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/get_drg_route_table.rb.html) to see an example of how to use get_drg_route_table API.
|
|
6681
|
+
def get_drg_route_table(drg_route_table_id, opts = {})
|
|
6682
|
+
logger.debug 'Calling operation VirtualNetworkClient#get_drg_route_table.' if logger
|
|
6683
|
+
|
|
6684
|
+
raise "Missing the required parameter 'drg_route_table_id' when calling get_drg_route_table." if drg_route_table_id.nil?
|
|
6685
|
+
raise "Parameter value for 'drg_route_table_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_table_id)
|
|
6686
|
+
|
|
6687
|
+
path = '/drgRouteTables/{drgRouteTableId}'.sub('{drgRouteTableId}', drg_route_table_id.to_s)
|
|
6688
|
+
operation_signing_strategy = :standard
|
|
6689
|
+
|
|
6690
|
+
# rubocop:disable Style/NegatedIf
|
|
6691
|
+
# Query Params
|
|
6692
|
+
query_params = {}
|
|
6693
|
+
|
|
6694
|
+
# Header Params
|
|
6695
|
+
header_params = {}
|
|
6696
|
+
header_params[:accept] = 'application/json'
|
|
6697
|
+
header_params[:'content-type'] = 'application/json'
|
|
6698
|
+
# rubocop:enable Style/NegatedIf
|
|
6699
|
+
|
|
6700
|
+
post_body = nil
|
|
6701
|
+
|
|
6702
|
+
# rubocop:disable Metrics/BlockLength
|
|
6703
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_drg_route_table') do
|
|
6704
|
+
@api_client.call_api(
|
|
6705
|
+
:GET,
|
|
6706
|
+
path,
|
|
6707
|
+
endpoint,
|
|
6708
|
+
header_params: header_params,
|
|
6709
|
+
query_params: query_params,
|
|
6710
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
6711
|
+
body: post_body,
|
|
6712
|
+
return_type: 'OCI::Core::Models::DrgRouteTable'
|
|
6713
|
+
)
|
|
6714
|
+
end
|
|
6715
|
+
# rubocop:enable Metrics/BlockLength
|
|
6716
|
+
end
|
|
6717
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6718
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6719
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
6720
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
6721
|
+
|
|
6722
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6723
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6724
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
6725
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
6726
|
+
|
|
6727
|
+
|
|
6114
6728
|
# Gets the specified provider service.
|
|
6115
6729
|
# For more information, see [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
|
|
6116
6730
|
#
|
|
6117
|
-
# @param [String] provider_service_id The OCID of the provider service.
|
|
6731
|
+
# @param [String] provider_service_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the provider service.
|
|
6118
6732
|
# @param [Hash] opts the optional parameters
|
|
6119
6733
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6120
6734
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6170,7 +6784,7 @@ module OCI
|
|
|
6170
6784
|
# Gets the specified provider service key's information. Use this operation to validate a
|
|
6171
6785
|
# provider service key. An invalid key returns a 404 error.
|
|
6172
6786
|
#
|
|
6173
|
-
# @param [String] provider_service_id The OCID of the provider service.
|
|
6787
|
+
# @param [String] provider_service_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the provider service.
|
|
6174
6788
|
# @param [String] provider_service_key_name The provider service key that the provider gives you when you set up a virtual circuit connection
|
|
6175
6789
|
# from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your
|
|
6176
6790
|
# provider service key at the provider's website or portal. For the portal location, see the `description`
|
|
@@ -6231,7 +6845,7 @@ module OCI
|
|
|
6231
6845
|
|
|
6232
6846
|
|
|
6233
6847
|
# Gets the specified internet gateway's information.
|
|
6234
|
-
# @param [String] ig_id The OCID of the internet gateway.
|
|
6848
|
+
# @param [String] ig_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internet gateway.
|
|
6235
6849
|
# @param [Hash] opts the optional parameters
|
|
6236
6850
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6237
6851
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6288,7 +6902,7 @@ module OCI
|
|
|
6288
6902
|
# on-premises router. If you want the status of the connection (whether it's up or down), use
|
|
6289
6903
|
# {#get_ip_sec_connection_tunnel get_ip_sec_connection_tunnel}.
|
|
6290
6904
|
#
|
|
6291
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
6905
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
6292
6906
|
# @param [Hash] opts the optional parameters
|
|
6293
6907
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6294
6908
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6346,7 +6960,7 @@ module OCI
|
|
|
6346
6960
|
# * {#get_ip_sec_connection_tunnel get_ip_sec_connection_tunnel}
|
|
6347
6961
|
# * {#get_ip_sec_connection_tunnel_shared_secret get_ip_sec_connection_tunnel_shared_secret}
|
|
6348
6962
|
#
|
|
6349
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
6963
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
6350
6964
|
# @param [Hash] opts the optional parameters
|
|
6351
6965
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6352
6966
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6402,7 +7016,7 @@ module OCI
|
|
|
6402
7016
|
# Deprecated. To get the tunnel status, instead use
|
|
6403
7017
|
# {#get_ip_sec_connection_tunnel get_ip_sec_connection_tunnel}.
|
|
6404
7018
|
#
|
|
6405
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
7019
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
6406
7020
|
# @param [Hash] opts the optional parameters
|
|
6407
7021
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6408
7022
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6459,7 +7073,7 @@ module OCI
|
|
|
6459
7073
|
# shared secret (pre-shared key). To retrieve that, use
|
|
6460
7074
|
# {#get_ip_sec_connection_tunnel_shared_secret get_ip_sec_connection_tunnel_shared_secret}.
|
|
6461
7075
|
#
|
|
6462
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
7076
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
6463
7077
|
# @param [String] tunnel_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
|
|
6464
7078
|
# @param [Hash] opts the optional parameters
|
|
6465
7079
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -6518,7 +7132,7 @@ module OCI
|
|
|
6518
7132
|
# Gets the specified tunnel's shared secret (pre-shared key). To get other information
|
|
6519
7133
|
# about the tunnel, use {#get_ip_sec_connection_tunnel get_ip_sec_connection_tunnel}.
|
|
6520
7134
|
#
|
|
6521
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
7135
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
6522
7136
|
# @param [String] tunnel_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
|
|
6523
7137
|
# @param [Hash] opts the optional parameters
|
|
6524
7138
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -6593,7 +7207,7 @@ module OCI
|
|
|
6593
7207
|
# * {#get_cpe_device_config_content get_cpe_device_config_content}
|
|
6594
7208
|
# returns CPE configuration content for *all* IPSec connections that use a specific CPE.
|
|
6595
7209
|
#
|
|
6596
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
7210
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
6597
7211
|
# @param [Hash] opts the optional parameters
|
|
6598
7212
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6599
7213
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6694,7 +7308,7 @@ module OCI
|
|
|
6694
7308
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
6695
7309
|
|
|
6696
7310
|
|
|
6697
|
-
# Gets the specified IPv6. You must specify the object's OCID.
|
|
7311
|
+
# Gets the specified IPv6. You must specify the object's [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
6698
7312
|
# Alternatively, you can get the object by using
|
|
6699
7313
|
# {#list_ipv6s list_ipv6s}
|
|
6700
7314
|
# with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID.
|
|
@@ -6756,7 +7370,7 @@ module OCI
|
|
|
6756
7370
|
|
|
6757
7371
|
|
|
6758
7372
|
# Gets the specified local peering gateway's information.
|
|
6759
|
-
# @param [String] local_peering_gateway_id The OCID of the local peering gateway.
|
|
7373
|
+
# @param [String] local_peering_gateway_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway.
|
|
6760
7374
|
# @param [Hash] opts the optional parameters
|
|
6761
7375
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6762
7376
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6918,6 +7532,93 @@ module OCI
|
|
|
6918
7532
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
6919
7533
|
# rubocop:enable Lint/UnusedMethodArgument
|
|
6920
7534
|
|
|
7535
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7536
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7537
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
7538
|
+
|
|
7539
|
+
|
|
7540
|
+
# Gets a virtual networking topology for the current region.
|
|
7541
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
7542
|
+
# @param [Hash] opts the optional parameters
|
|
7543
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7544
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
7545
|
+
# @option opts [String] :access_level Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`.
|
|
7546
|
+
# Setting this to `ACCESSIBLE` returns only compartments for which a
|
|
7547
|
+
# user has INSPECT permissions, either directly or indirectly (permissions can be on a
|
|
7548
|
+
# resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has
|
|
7549
|
+
# indirect INSPECT permissions.
|
|
7550
|
+
#
|
|
7551
|
+
# When set to `ANY` permissions are not checked.
|
|
7552
|
+
#
|
|
7553
|
+
# Allowed values are: ANY, ACCESSIBLE
|
|
7554
|
+
# @option opts [BOOLEAN] :query_compartment_subtree When set to true, the hierarchy of compartments is traversed
|
|
7555
|
+
# and the specified compartment and its subcompartments are
|
|
7556
|
+
# inspected depending on the the setting of `accessLevel`.
|
|
7557
|
+
# Default is false.
|
|
7558
|
+
#
|
|
7559
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
7560
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
7561
|
+
#
|
|
7562
|
+
# @option opts [String] :if_none_match For querying if there is a cached value on the server. The If-None-Match HTTP request header
|
|
7563
|
+
# makes the request conditional. For GET and HEAD methods, the server will send back the requested
|
|
7564
|
+
# resource, with a 200 status, only if it doesn't have an ETag matching the given ones.
|
|
7565
|
+
# For other methods, the request will be processed only if the eventually existing resource's
|
|
7566
|
+
# ETag doesn't match any of the values listed.
|
|
7567
|
+
#
|
|
7568
|
+
# @option opts [String] :cache_control The Cache-Control HTTP header holds directives (instructions)
|
|
7569
|
+
# for caching in both requests and responses.
|
|
7570
|
+
#
|
|
7571
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::NetworkingTopology NetworkingTopology}
|
|
7572
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/get_networking_topology.rb.html) to see an example of how to use get_networking_topology API.
|
|
7573
|
+
def get_networking_topology(compartment_id, opts = {})
|
|
7574
|
+
logger.debug 'Calling operation VirtualNetworkClient#get_networking_topology.' if logger
|
|
7575
|
+
|
|
7576
|
+
raise "Missing the required parameter 'compartment_id' when calling get_networking_topology." if compartment_id.nil?
|
|
7577
|
+
|
|
7578
|
+
if opts[:access_level] && !%w[ANY ACCESSIBLE].include?(opts[:access_level])
|
|
7579
|
+
raise 'Invalid value for "access_level", must be one of ANY, ACCESSIBLE.'
|
|
7580
|
+
end
|
|
7581
|
+
|
|
7582
|
+
path = '/networkingTopology'
|
|
7583
|
+
operation_signing_strategy = :standard
|
|
7584
|
+
|
|
7585
|
+
# rubocop:disable Style/NegatedIf
|
|
7586
|
+
# Query Params
|
|
7587
|
+
query_params = {}
|
|
7588
|
+
query_params[:compartmentId] = compartment_id
|
|
7589
|
+
query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
|
|
7590
|
+
query_params[:queryCompartmentSubtree] = opts[:query_compartment_subtree] if !opts[:query_compartment_subtree].nil?
|
|
7591
|
+
|
|
7592
|
+
# Header Params
|
|
7593
|
+
header_params = {}
|
|
7594
|
+
header_params[:accept] = 'application/json'
|
|
7595
|
+
header_params[:'content-type'] = 'application/json'
|
|
7596
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
7597
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
7598
|
+
header_params[:'cache-control'] = opts[:cache_control] if opts[:cache_control]
|
|
7599
|
+
# rubocop:enable Style/NegatedIf
|
|
7600
|
+
|
|
7601
|
+
post_body = nil
|
|
7602
|
+
|
|
7603
|
+
# rubocop:disable Metrics/BlockLength
|
|
7604
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_networking_topology') do
|
|
7605
|
+
@api_client.call_api(
|
|
7606
|
+
:GET,
|
|
7607
|
+
path,
|
|
7608
|
+
endpoint,
|
|
7609
|
+
header_params: header_params,
|
|
7610
|
+
query_params: query_params,
|
|
7611
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
7612
|
+
body: post_body,
|
|
7613
|
+
return_type: 'OCI::Core::Models::NetworkingTopology'
|
|
7614
|
+
)
|
|
7615
|
+
end
|
|
7616
|
+
# rubocop:enable Metrics/BlockLength
|
|
7617
|
+
end
|
|
7618
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7619
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7620
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
7621
|
+
|
|
6921
7622
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
6922
7623
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
6923
7624
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
@@ -6929,7 +7630,7 @@ module OCI
|
|
|
6929
7630
|
# {#list_private_ips list_private_ips}
|
|
6930
7631
|
# with the private IP address (for example, 10.0.3.3) and subnet OCID.
|
|
6931
7632
|
#
|
|
6932
|
-
# @param [String] private_ip_id The OCID of the private IP.
|
|
7633
|
+
# @param [String] private_ip_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP.
|
|
6933
7634
|
# @param [Hash] opts the optional parameters
|
|
6934
7635
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
6935
7636
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -6994,7 +7695,7 @@ module OCI
|
|
|
6994
7695
|
# moved to a different private IP, the service returns the public IP object with
|
|
6995
7696
|
# `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID of the target private IP.
|
|
6996
7697
|
#
|
|
6997
|
-
# @param [String] public_ip_id The OCID of the public IP.
|
|
7698
|
+
# @param [String] public_ip_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the public IP.
|
|
6998
7699
|
# @param [Hash] opts the optional parameters
|
|
6999
7700
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7000
7701
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -7228,7 +7929,7 @@ module OCI
|
|
|
7228
7929
|
|
|
7229
7930
|
# Get the specified remote peering connection's information.
|
|
7230
7931
|
#
|
|
7231
|
-
# @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
|
|
7932
|
+
# @param [String] remote_peering_connection_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
|
|
7232
7933
|
# @param [Hash] opts the optional parameters
|
|
7233
7934
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7234
7935
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -7282,7 +7983,7 @@ module OCI
|
|
|
7282
7983
|
|
|
7283
7984
|
|
|
7284
7985
|
# Gets the specified route table's information.
|
|
7285
|
-
# @param [String] rt_id The OCID of the route table.
|
|
7986
|
+
# @param [String] rt_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table.
|
|
7286
7987
|
# @param [Hash] opts the optional parameters
|
|
7287
7988
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7288
7989
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -7336,7 +8037,7 @@ module OCI
|
|
|
7336
8037
|
|
|
7337
8038
|
|
|
7338
8039
|
# Gets the specified security list's information.
|
|
7339
|
-
# @param [String] security_list_id The OCID of the security list.
|
|
8040
|
+
# @param [String] security_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security list.
|
|
7340
8041
|
# @param [Hash] opts the optional parameters
|
|
7341
8042
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7342
8043
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -7499,7 +8200,7 @@ module OCI
|
|
|
7499
8200
|
|
|
7500
8201
|
|
|
7501
8202
|
# Gets the specified subnet's information.
|
|
7502
|
-
# @param [String] subnet_id The OCID of the subnet.
|
|
8203
|
+
# @param [String] subnet_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet.
|
|
7503
8204
|
# @param [Hash] opts the optional parameters
|
|
7504
8205
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7505
8206
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -7557,7 +8258,7 @@ module OCI
|
|
|
7557
8258
|
# information specific to the CPE device type), use
|
|
7558
8259
|
# {#get_tunnel_cpe_device_config_content get_tunnel_cpe_device_config_content}.
|
|
7559
8260
|
#
|
|
7560
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
8261
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
7561
8262
|
# @param [String] tunnel_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
|
|
7562
8263
|
# @param [Hash] opts the optional parameters
|
|
7563
8264
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -7634,7 +8335,7 @@ module OCI
|
|
|
7634
8335
|
# * {#get_cpe_device_config_content get_cpe_device_config_content}
|
|
7635
8336
|
# returns CPE configuration content for *all* IPSec connections that use a specific CPE.
|
|
7636
8337
|
#
|
|
7637
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
8338
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
7638
8339
|
# @param [String] tunnel_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
|
|
7639
8340
|
# @param [Hash] opts the optional parameters
|
|
7640
8341
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -7733,6 +8434,63 @@ module OCI
|
|
|
7733
8434
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7734
8435
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
7735
8436
|
|
|
8437
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
8438
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
8439
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
8440
|
+
|
|
8441
|
+
|
|
8442
|
+
# Returns the DRG upgrade status. The status can be not updated, in progress, or updated. Also indicates how much of the upgrade is completed.
|
|
8443
|
+
#
|
|
8444
|
+
# @param [String] drg_id The [[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
8445
|
+
# @param [Hash] opts the optional parameters
|
|
8446
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
8447
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
8448
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
8449
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
8450
|
+
#
|
|
8451
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::UpgradeStatus UpgradeStatus}
|
|
8452
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/get_upgrade_status.rb.html) to see an example of how to use get_upgrade_status API.
|
|
8453
|
+
def get_upgrade_status(drg_id, opts = {})
|
|
8454
|
+
logger.debug 'Calling operation VirtualNetworkClient#get_upgrade_status.' if logger
|
|
8455
|
+
|
|
8456
|
+
raise "Missing the required parameter 'drg_id' when calling get_upgrade_status." if drg_id.nil?
|
|
8457
|
+
raise "Parameter value for 'drg_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_id)
|
|
8458
|
+
|
|
8459
|
+
path = '/drgs/{drgId}/actions/upgradeStatus'.sub('{drgId}', drg_id.to_s)
|
|
8460
|
+
operation_signing_strategy = :standard
|
|
8461
|
+
|
|
8462
|
+
# rubocop:disable Style/NegatedIf
|
|
8463
|
+
# Query Params
|
|
8464
|
+
query_params = {}
|
|
8465
|
+
|
|
8466
|
+
# Header Params
|
|
8467
|
+
header_params = {}
|
|
8468
|
+
header_params[:accept] = 'application/json'
|
|
8469
|
+
header_params[:'content-type'] = 'application/json'
|
|
8470
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
8471
|
+
# rubocop:enable Style/NegatedIf
|
|
8472
|
+
|
|
8473
|
+
post_body = nil
|
|
8474
|
+
|
|
8475
|
+
# rubocop:disable Metrics/BlockLength
|
|
8476
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_upgrade_status') do
|
|
8477
|
+
@api_client.call_api(
|
|
8478
|
+
:GET,
|
|
8479
|
+
path,
|
|
8480
|
+
endpoint,
|
|
8481
|
+
header_params: header_params,
|
|
8482
|
+
query_params: query_params,
|
|
8483
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
8484
|
+
body: post_body,
|
|
8485
|
+
return_type: 'OCI::Core::Models::UpgradeStatus'
|
|
8486
|
+
)
|
|
8487
|
+
end
|
|
8488
|
+
# rubocop:enable Metrics/BlockLength
|
|
8489
|
+
end
|
|
8490
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
8491
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
8492
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
8493
|
+
|
|
7736
8494
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7737
8495
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7738
8496
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
@@ -7846,11 +8604,101 @@ module OCI
|
|
|
7846
8604
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7847
8605
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7848
8606
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
7849
|
-
# rubocop:disable Lint/UnusedMethodArgument
|
|
7850
8607
|
|
|
7851
8608
|
|
|
7852
|
-
# Gets
|
|
7853
|
-
# @param [String]
|
|
8609
|
+
# Gets a virtual network topology for a given VCN.
|
|
8610
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
8611
|
+
# @param [String] vcn_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
8612
|
+
# @param [Hash] opts the optional parameters
|
|
8613
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
8614
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
8615
|
+
# @option opts [String] :access_level Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`.
|
|
8616
|
+
# Setting this to `ACCESSIBLE` returns only compartments for which a
|
|
8617
|
+
# user has INSPECT permissions, either directly or indirectly (permissions can be on a
|
|
8618
|
+
# resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has
|
|
8619
|
+
# indirect INSPECT permissions.
|
|
8620
|
+
#
|
|
8621
|
+
# When set to `ANY` permissions are not checked.
|
|
8622
|
+
#
|
|
8623
|
+
# Allowed values are: ANY, ACCESSIBLE
|
|
8624
|
+
# @option opts [BOOLEAN] :query_compartment_subtree When set to true, the hierarchy of compartments is traversed
|
|
8625
|
+
# and the specified compartment and its subcompartments are
|
|
8626
|
+
# inspected depending on the the setting of `accessLevel`.
|
|
8627
|
+
# Default is false.
|
|
8628
|
+
#
|
|
8629
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
8630
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
8631
|
+
#
|
|
8632
|
+
# @option opts [String] :if_none_match For querying if there is a cached value on the server. The If-None-Match HTTP request header
|
|
8633
|
+
# makes the request conditional. For GET and HEAD methods, the server will send back the requested
|
|
8634
|
+
# resource, with a 200 status, only if it doesn't have an ETag matching the given ones.
|
|
8635
|
+
# For other methods, the request will be processed only if the eventually existing resource's
|
|
8636
|
+
# ETag doesn't match any of the values listed.
|
|
8637
|
+
#
|
|
8638
|
+
# @option opts [String] :cache_control The Cache-Control HTTP header holds directives (instructions)
|
|
8639
|
+
# for caching in both requests and responses.
|
|
8640
|
+
#
|
|
8641
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::VcnTopology VcnTopology}
|
|
8642
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/get_vcn_topology.rb.html) to see an example of how to use get_vcn_topology API.
|
|
8643
|
+
def get_vcn_topology(compartment_id, vcn_id, opts = {})
|
|
8644
|
+
logger.debug 'Calling operation VirtualNetworkClient#get_vcn_topology.' if logger
|
|
8645
|
+
|
|
8646
|
+
raise "Missing the required parameter 'compartment_id' when calling get_vcn_topology." if compartment_id.nil?
|
|
8647
|
+
raise "Missing the required parameter 'vcn_id' when calling get_vcn_topology." if vcn_id.nil?
|
|
8648
|
+
|
|
8649
|
+
if opts[:access_level] && !%w[ANY ACCESSIBLE].include?(opts[:access_level])
|
|
8650
|
+
raise 'Invalid value for "access_level", must be one of ANY, ACCESSIBLE.'
|
|
8651
|
+
end
|
|
8652
|
+
|
|
8653
|
+
path = '/vcnTopology'
|
|
8654
|
+
operation_signing_strategy = :standard
|
|
8655
|
+
|
|
8656
|
+
# rubocop:disable Style/NegatedIf
|
|
8657
|
+
# Query Params
|
|
8658
|
+
query_params = {}
|
|
8659
|
+
query_params[:compartmentId] = compartment_id
|
|
8660
|
+
query_params[:vcnId] = vcn_id
|
|
8661
|
+
query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
|
|
8662
|
+
query_params[:queryCompartmentSubtree] = opts[:query_compartment_subtree] if !opts[:query_compartment_subtree].nil?
|
|
8663
|
+
|
|
8664
|
+
# Header Params
|
|
8665
|
+
header_params = {}
|
|
8666
|
+
header_params[:accept] = 'application/json'
|
|
8667
|
+
header_params[:'content-type'] = 'application/json'
|
|
8668
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
8669
|
+
header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
|
|
8670
|
+
header_params[:'cache-control'] = opts[:cache_control] if opts[:cache_control]
|
|
8671
|
+
# rubocop:enable Style/NegatedIf
|
|
8672
|
+
|
|
8673
|
+
post_body = nil
|
|
8674
|
+
|
|
8675
|
+
# rubocop:disable Metrics/BlockLength
|
|
8676
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_vcn_topology') do
|
|
8677
|
+
@api_client.call_api(
|
|
8678
|
+
:GET,
|
|
8679
|
+
path,
|
|
8680
|
+
endpoint,
|
|
8681
|
+
header_params: header_params,
|
|
8682
|
+
query_params: query_params,
|
|
8683
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
8684
|
+
body: post_body,
|
|
8685
|
+
return_type: 'OCI::Core::Models::VcnTopology'
|
|
8686
|
+
)
|
|
8687
|
+
end
|
|
8688
|
+
# rubocop:enable Metrics/BlockLength
|
|
8689
|
+
end
|
|
8690
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
8691
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
8692
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
8693
|
+
|
|
8694
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
8695
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
8696
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
8697
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
8698
|
+
|
|
8699
|
+
|
|
8700
|
+
# Gets the specified virtual circuit's information.
|
|
8701
|
+
# @param [String] virtual_circuit_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit.
|
|
7854
8702
|
# @param [Hash] opts the optional parameters
|
|
7855
8703
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7856
8704
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -7964,7 +8812,7 @@ module OCI
|
|
|
7964
8812
|
# {#list_vnic_attachments list_vnic_attachments}
|
|
7965
8813
|
# operation.
|
|
7966
8814
|
#
|
|
7967
|
-
# @param [String] vnic_id The OCID of the VNIC.
|
|
8815
|
+
# @param [String] vnic_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VNIC.
|
|
7968
8816
|
# @param [Hash] opts the optional parameters
|
|
7969
8817
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7970
8818
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -8245,7 +9093,7 @@ module OCI
|
|
|
8245
9093
|
#
|
|
8246
9094
|
# If you want to generate CPE configuration content for one of the returned CPE device types,
|
|
8247
9095
|
# ensure that the {Cpe} object's `cpeDeviceShapeId` attribute is set
|
|
8248
|
-
# to the CPE device type's OCID (returned by this operation).
|
|
9096
|
+
# to the CPE device type's [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) (returned by this operation).
|
|
8249
9097
|
#
|
|
8250
9098
|
# For information about generating CPE configuration content, see these operations:
|
|
8251
9099
|
#
|
|
@@ -8548,14 +9396,72 @@ module OCI
|
|
|
8548
9396
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
8549
9397
|
|
|
8550
9398
|
|
|
9399
|
+
# Lists the Cross Connect mapping Details for the specified
|
|
9400
|
+
# virtual circuit.
|
|
9401
|
+
#
|
|
9402
|
+
# @param [String] virtual_circuit_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit.
|
|
9403
|
+
# @param [Hash] opts the optional parameters
|
|
9404
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
9405
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
9406
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
9407
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
9408
|
+
#
|
|
9409
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::CrossConnectMappingDetailsCollection CrossConnectMappingDetailsCollection}
|
|
9410
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/list_cross_connect_mappings.rb.html) to see an example of how to use list_cross_connect_mappings API.
|
|
9411
|
+
def list_cross_connect_mappings(virtual_circuit_id, opts = {})
|
|
9412
|
+
logger.debug 'Calling operation VirtualNetworkClient#list_cross_connect_mappings.' if logger
|
|
9413
|
+
|
|
9414
|
+
raise "Missing the required parameter 'virtual_circuit_id' when calling list_cross_connect_mappings." if virtual_circuit_id.nil?
|
|
9415
|
+
raise "Parameter value for 'virtual_circuit_id' must not be blank" if OCI::Internal::Util.blank_string?(virtual_circuit_id)
|
|
9416
|
+
|
|
9417
|
+
path = '/virtualCircuits/{virtualCircuitId}/crossConnectMappings'.sub('{virtualCircuitId}', virtual_circuit_id.to_s)
|
|
9418
|
+
operation_signing_strategy = :standard
|
|
9419
|
+
|
|
9420
|
+
# rubocop:disable Style/NegatedIf
|
|
9421
|
+
# Query Params
|
|
9422
|
+
query_params = {}
|
|
9423
|
+
|
|
9424
|
+
# Header Params
|
|
9425
|
+
header_params = {}
|
|
9426
|
+
header_params[:accept] = 'application/json'
|
|
9427
|
+
header_params[:'content-type'] = 'application/json'
|
|
9428
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
9429
|
+
# rubocop:enable Style/NegatedIf
|
|
9430
|
+
|
|
9431
|
+
post_body = nil
|
|
9432
|
+
|
|
9433
|
+
# rubocop:disable Metrics/BlockLength
|
|
9434
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_cross_connect_mappings') do
|
|
9435
|
+
@api_client.call_api(
|
|
9436
|
+
:GET,
|
|
9437
|
+
path,
|
|
9438
|
+
endpoint,
|
|
9439
|
+
header_params: header_params,
|
|
9440
|
+
query_params: query_params,
|
|
9441
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
9442
|
+
body: post_body,
|
|
9443
|
+
return_type: 'OCI::Core::Models::CrossConnectMappingDetailsCollection'
|
|
9444
|
+
)
|
|
9445
|
+
end
|
|
9446
|
+
# rubocop:enable Metrics/BlockLength
|
|
9447
|
+
end
|
|
9448
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9449
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9450
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
9451
|
+
|
|
9452
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9453
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9454
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
9455
|
+
|
|
9456
|
+
|
|
8551
9457
|
# Lists the cross-connects in the specified compartment. You can filter the list
|
|
8552
|
-
# by specifying the OCID of a cross-connect group.
|
|
9458
|
+
# by specifying the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a cross-connect group.
|
|
8553
9459
|
#
|
|
8554
9460
|
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
8555
9461
|
# @param [Hash] opts the optional parameters
|
|
8556
9462
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
8557
9463
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
8558
|
-
# @option opts [String] :cross_connect_group_id The OCID of the cross-connect group.
|
|
9464
|
+
# @option opts [String] :cross_connect_group_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group.
|
|
8559
9465
|
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
8560
9466
|
# \"List\" call. For important details about how pagination works, see
|
|
8561
9467
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
@@ -8800,7 +9706,383 @@ module OCI
|
|
|
8800
9706
|
post_body = nil
|
|
8801
9707
|
|
|
8802
9708
|
# rubocop:disable Metrics/BlockLength
|
|
8803
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_dhcp_options') do
|
|
9709
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_dhcp_options') do
|
|
9710
|
+
@api_client.call_api(
|
|
9711
|
+
:GET,
|
|
9712
|
+
path,
|
|
9713
|
+
endpoint,
|
|
9714
|
+
header_params: header_params,
|
|
9715
|
+
query_params: query_params,
|
|
9716
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
9717
|
+
body: post_body,
|
|
9718
|
+
return_type: 'Array<OCI::Core::Models::DhcpOptions>'
|
|
9719
|
+
)
|
|
9720
|
+
end
|
|
9721
|
+
# rubocop:enable Metrics/BlockLength
|
|
9722
|
+
end
|
|
9723
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9724
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9725
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
9726
|
+
|
|
9727
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9728
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9729
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
9730
|
+
|
|
9731
|
+
|
|
9732
|
+
# Lists the `DrgAttachment` resource for the specified compartment. You can filter the
|
|
9733
|
+
# results by DRG, attached network, attachment type, DRG route table or
|
|
9734
|
+
# VCN route table.
|
|
9735
|
+
#
|
|
9736
|
+
# The LIST API lists DRG attachments by attachment type. It will default to list VCN attachments,
|
|
9737
|
+
# but you may request to list ALL attachments of ALL types.
|
|
9738
|
+
#
|
|
9739
|
+
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
9740
|
+
# @param [Hash] opts the optional parameters
|
|
9741
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
9742
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
9743
|
+
# @option opts [String] :vcn_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
9744
|
+
# @option opts [String] :drg_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
9745
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
9746
|
+
# \"List\" call. For important details about how pagination works, see
|
|
9747
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
9748
|
+
#
|
|
9749
|
+
# Example: `50`
|
|
9750
|
+
#
|
|
9751
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
|
9752
|
+
# call. For important details about how pagination works, see
|
|
9753
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
9754
|
+
#
|
|
9755
|
+
# @option opts [String] :network_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.
|
|
9756
|
+
# @option opts [String] :attachment_type The type for the network resource attached to the DRG. (default to VCN)
|
|
9757
|
+
# Allowed values are: VCN, VIRTUAL_CIRCUIT, REMOTE_PEERING_CONNECTION, IPSEC_TUNNEL, ALL
|
|
9758
|
+
# @option opts [String] :drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to the DRG attachment.
|
|
9759
|
+
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
|
9760
|
+
#
|
|
9761
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
9762
|
+
# TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
|
9763
|
+
# sort order is case sensitive.
|
|
9764
|
+
#
|
|
9765
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
9766
|
+
# optionally filter by availability domain if the scope of the resource type is within a
|
|
9767
|
+
# single availability domain. If you call one of these \"List\" operations without specifying
|
|
9768
|
+
# an availability domain, the resources are grouped by availability domain, then sorted.
|
|
9769
|
+
#
|
|
9770
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
|
9771
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
|
9772
|
+
# is case sensitive.
|
|
9773
|
+
#
|
|
9774
|
+
# Allowed values are: ASC, DESC
|
|
9775
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the specified lifecycle
|
|
9776
|
+
# state. The value is case insensitive.
|
|
9777
|
+
#
|
|
9778
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgAttachment DrgAttachment}>
|
|
9779
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/list_drg_attachments.rb.html) to see an example of how to use list_drg_attachments API.
|
|
9780
|
+
def list_drg_attachments(compartment_id, opts = {})
|
|
9781
|
+
logger.debug 'Calling operation VirtualNetworkClient#list_drg_attachments.' if logger
|
|
9782
|
+
|
|
9783
|
+
raise "Missing the required parameter 'compartment_id' when calling list_drg_attachments." if compartment_id.nil?
|
|
9784
|
+
|
|
9785
|
+
if opts[:attachment_type] && !%w[VCN VIRTUAL_CIRCUIT REMOTE_PEERING_CONNECTION IPSEC_TUNNEL ALL].include?(opts[:attachment_type])
|
|
9786
|
+
raise 'Invalid value for "attachment_type", must be one of VCN, VIRTUAL_CIRCUIT, REMOTE_PEERING_CONNECTION, IPSEC_TUNNEL, ALL.'
|
|
9787
|
+
end
|
|
9788
|
+
|
|
9789
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
|
9790
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
|
9791
|
+
end
|
|
9792
|
+
|
|
9793
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
9794
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
9795
|
+
end
|
|
9796
|
+
|
|
9797
|
+
if opts[:lifecycle_state] && !OCI::Core::Models::DrgAttachment::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
9798
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Core::Models::DrgAttachment::LIFECYCLE_STATE_ENUM.'
|
|
9799
|
+
end
|
|
9800
|
+
|
|
9801
|
+
path = '/drgAttachments'
|
|
9802
|
+
operation_signing_strategy = :standard
|
|
9803
|
+
|
|
9804
|
+
# rubocop:disable Style/NegatedIf
|
|
9805
|
+
# Query Params
|
|
9806
|
+
query_params = {}
|
|
9807
|
+
query_params[:compartmentId] = compartment_id
|
|
9808
|
+
query_params[:vcnId] = opts[:vcn_id] if opts[:vcn_id]
|
|
9809
|
+
query_params[:drgId] = opts[:drg_id] if opts[:drg_id]
|
|
9810
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
9811
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
9812
|
+
query_params[:networkId] = opts[:network_id] if opts[:network_id]
|
|
9813
|
+
query_params[:attachmentType] = opts[:attachment_type] if opts[:attachment_type]
|
|
9814
|
+
query_params[:drgRouteTableId] = opts[:drg_route_table_id] if opts[:drg_route_table_id]
|
|
9815
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
9816
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
9817
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
9818
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
9819
|
+
|
|
9820
|
+
# Header Params
|
|
9821
|
+
header_params = {}
|
|
9822
|
+
header_params[:accept] = 'application/json'
|
|
9823
|
+
header_params[:'content-type'] = 'application/json'
|
|
9824
|
+
# rubocop:enable Style/NegatedIf
|
|
9825
|
+
|
|
9826
|
+
post_body = nil
|
|
9827
|
+
|
|
9828
|
+
# rubocop:disable Metrics/BlockLength
|
|
9829
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_drg_attachments') do
|
|
9830
|
+
@api_client.call_api(
|
|
9831
|
+
:GET,
|
|
9832
|
+
path,
|
|
9833
|
+
endpoint,
|
|
9834
|
+
header_params: header_params,
|
|
9835
|
+
query_params: query_params,
|
|
9836
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
9837
|
+
body: post_body,
|
|
9838
|
+
return_type: 'Array<OCI::Core::Models::DrgAttachment>'
|
|
9839
|
+
)
|
|
9840
|
+
end
|
|
9841
|
+
# rubocop:enable Metrics/BlockLength
|
|
9842
|
+
end
|
|
9843
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9844
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9845
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
9846
|
+
|
|
9847
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9848
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9849
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
9850
|
+
|
|
9851
|
+
|
|
9852
|
+
# Lists the statements for the specified route distribution.
|
|
9853
|
+
# @param [String] drg_route_distribution_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
|
|
9854
|
+
# @param [Hash] opts the optional parameters
|
|
9855
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
9856
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
9857
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
9858
|
+
# \"List\" call. For important details about how pagination works, see
|
|
9859
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
9860
|
+
#
|
|
9861
|
+
# Example: `50`
|
|
9862
|
+
#
|
|
9863
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
|
9864
|
+
# call. For important details about how pagination works, see
|
|
9865
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
9866
|
+
#
|
|
9867
|
+
# @option opts [String] :sort_by The field to sort by.
|
|
9868
|
+
# Allowed values are: TIMECREATED
|
|
9869
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
|
9870
|
+
# is case sensitive.
|
|
9871
|
+
#
|
|
9872
|
+
# Allowed values are: ASC, DESC
|
|
9873
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgRouteDistributionStatement DrgRouteDistributionStatement}>
|
|
9874
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/list_drg_route_distribution_statements.rb.html) to see an example of how to use list_drg_route_distribution_statements API.
|
|
9875
|
+
def list_drg_route_distribution_statements(drg_route_distribution_id, opts = {})
|
|
9876
|
+
logger.debug 'Calling operation VirtualNetworkClient#list_drg_route_distribution_statements.' if logger
|
|
9877
|
+
|
|
9878
|
+
raise "Missing the required parameter 'drg_route_distribution_id' when calling list_drg_route_distribution_statements." if drg_route_distribution_id.nil?
|
|
9879
|
+
|
|
9880
|
+
if opts[:sort_by] && !%w[TIMECREATED].include?(opts[:sort_by])
|
|
9881
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED.'
|
|
9882
|
+
end
|
|
9883
|
+
|
|
9884
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
9885
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
9886
|
+
end
|
|
9887
|
+
raise "Parameter value for 'drg_route_distribution_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_distribution_id)
|
|
9888
|
+
|
|
9889
|
+
path = '/drgRouteDistributions/{drgRouteDistributionId}/drgRouteDistributionStatements'.sub('{drgRouteDistributionId}', drg_route_distribution_id.to_s)
|
|
9890
|
+
operation_signing_strategy = :standard
|
|
9891
|
+
|
|
9892
|
+
# rubocop:disable Style/NegatedIf
|
|
9893
|
+
# Query Params
|
|
9894
|
+
query_params = {}
|
|
9895
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
9896
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
9897
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
9898
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
9899
|
+
|
|
9900
|
+
# Header Params
|
|
9901
|
+
header_params = {}
|
|
9902
|
+
header_params[:accept] = 'application/json'
|
|
9903
|
+
header_params[:'content-type'] = 'application/json'
|
|
9904
|
+
# rubocop:enable Style/NegatedIf
|
|
9905
|
+
|
|
9906
|
+
post_body = nil
|
|
9907
|
+
|
|
9908
|
+
# rubocop:disable Metrics/BlockLength
|
|
9909
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_drg_route_distribution_statements') do
|
|
9910
|
+
@api_client.call_api(
|
|
9911
|
+
:GET,
|
|
9912
|
+
path,
|
|
9913
|
+
endpoint,
|
|
9914
|
+
header_params: header_params,
|
|
9915
|
+
query_params: query_params,
|
|
9916
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
9917
|
+
body: post_body,
|
|
9918
|
+
return_type: 'Array<OCI::Core::Models::DrgRouteDistributionStatement>'
|
|
9919
|
+
)
|
|
9920
|
+
end
|
|
9921
|
+
# rubocop:enable Metrics/BlockLength
|
|
9922
|
+
end
|
|
9923
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9924
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9925
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
9926
|
+
|
|
9927
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9928
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9929
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
9930
|
+
|
|
9931
|
+
|
|
9932
|
+
# Lists the route distributions in the specified DRG.
|
|
9933
|
+
#
|
|
9934
|
+
# To retrieve the statements in a distribution, use the
|
|
9935
|
+
# ListDrgRouteDistributionStatements operation.
|
|
9936
|
+
#
|
|
9937
|
+
# @param [String] drg_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
9938
|
+
# @param [Hash] opts the optional parameters
|
|
9939
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
9940
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
9941
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
9942
|
+
# \"List\" call. For important details about how pagination works, see
|
|
9943
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
9944
|
+
#
|
|
9945
|
+
# Example: `50`
|
|
9946
|
+
#
|
|
9947
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
|
9948
|
+
# call. For important details about how pagination works, see
|
|
9949
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
9950
|
+
#
|
|
9951
|
+
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
|
9952
|
+
#
|
|
9953
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
9954
|
+
# TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
|
9955
|
+
# sort order is case sensitive.
|
|
9956
|
+
#
|
|
9957
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
9958
|
+
# optionally filter by availability domain if the scope of the resource type is within a
|
|
9959
|
+
# single availability domain. If you call one of these \"List\" operations without specifying
|
|
9960
|
+
# an availability domain, the resources are grouped by availability domain, then sorted.
|
|
9961
|
+
#
|
|
9962
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
|
9963
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
|
9964
|
+
# is case sensitive.
|
|
9965
|
+
#
|
|
9966
|
+
# Allowed values are: ASC, DESC
|
|
9967
|
+
# @option opts [String] :lifecycle_state A filter that only returns resources that match the specified lifecycle
|
|
9968
|
+
# state. The value is case insensitive.
|
|
9969
|
+
#
|
|
9970
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgRouteDistribution DrgRouteDistribution}>
|
|
9971
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/list_drg_route_distributions.rb.html) to see an example of how to use list_drg_route_distributions API.
|
|
9972
|
+
def list_drg_route_distributions(drg_id, opts = {})
|
|
9973
|
+
logger.debug 'Calling operation VirtualNetworkClient#list_drg_route_distributions.' if logger
|
|
9974
|
+
|
|
9975
|
+
raise "Missing the required parameter 'drg_id' when calling list_drg_route_distributions." if drg_id.nil?
|
|
9976
|
+
|
|
9977
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
|
9978
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
|
9979
|
+
end
|
|
9980
|
+
|
|
9981
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
9982
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
9983
|
+
end
|
|
9984
|
+
|
|
9985
|
+
if opts[:lifecycle_state] && !OCI::Core::Models::DrgRouteDistribution::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
9986
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Core::Models::DrgRouteDistribution::LIFECYCLE_STATE_ENUM.'
|
|
9987
|
+
end
|
|
9988
|
+
|
|
9989
|
+
path = '/drgRouteDistributions'
|
|
9990
|
+
operation_signing_strategy = :standard
|
|
9991
|
+
|
|
9992
|
+
# rubocop:disable Style/NegatedIf
|
|
9993
|
+
# Query Params
|
|
9994
|
+
query_params = {}
|
|
9995
|
+
query_params[:drgId] = drg_id
|
|
9996
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
9997
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
9998
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
9999
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
10000
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
10001
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
10002
|
+
|
|
10003
|
+
# Header Params
|
|
10004
|
+
header_params = {}
|
|
10005
|
+
header_params[:accept] = 'application/json'
|
|
10006
|
+
header_params[:'content-type'] = 'application/json'
|
|
10007
|
+
# rubocop:enable Style/NegatedIf
|
|
10008
|
+
|
|
10009
|
+
post_body = nil
|
|
10010
|
+
|
|
10011
|
+
# rubocop:disable Metrics/BlockLength
|
|
10012
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_drg_route_distributions') do
|
|
10013
|
+
@api_client.call_api(
|
|
10014
|
+
:GET,
|
|
10015
|
+
path,
|
|
10016
|
+
endpoint,
|
|
10017
|
+
header_params: header_params,
|
|
10018
|
+
query_params: query_params,
|
|
10019
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
10020
|
+
body: post_body,
|
|
10021
|
+
return_type: 'Array<OCI::Core::Models::DrgRouteDistribution>'
|
|
10022
|
+
)
|
|
10023
|
+
end
|
|
10024
|
+
# rubocop:enable Metrics/BlockLength
|
|
10025
|
+
end
|
|
10026
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
10027
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
10028
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
10029
|
+
|
|
10030
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
10031
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
10032
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
10033
|
+
|
|
10034
|
+
|
|
10035
|
+
# Lists the route rules in the specified DRG route table.
|
|
10036
|
+
# @param [String] drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
|
|
10037
|
+
# @param [Hash] opts the optional parameters
|
|
10038
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
10039
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
10040
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
10041
|
+
# \"List\" call. For important details about how pagination works, see
|
|
10042
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
10043
|
+
#
|
|
10044
|
+
# Example: `50`
|
|
10045
|
+
#
|
|
10046
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
|
10047
|
+
# call. For important details about how pagination works, see
|
|
10048
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
10049
|
+
#
|
|
10050
|
+
# @option opts [String] :route_type Static routes are specified through the DRG route table API.
|
|
10051
|
+
# Dynamic routes are learned by the DRG from the DRG attachments through various routing protocols.
|
|
10052
|
+
#
|
|
10053
|
+
# Allowed values are: STATIC, DYNAMIC
|
|
10054
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgRouteRule DrgRouteRule}>
|
|
10055
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/list_drg_route_rules.rb.html) to see an example of how to use list_drg_route_rules API.
|
|
10056
|
+
def list_drg_route_rules(drg_route_table_id, opts = {})
|
|
10057
|
+
logger.debug 'Calling operation VirtualNetworkClient#list_drg_route_rules.' if logger
|
|
10058
|
+
|
|
10059
|
+
raise "Missing the required parameter 'drg_route_table_id' when calling list_drg_route_rules." if drg_route_table_id.nil?
|
|
10060
|
+
|
|
10061
|
+
if opts[:route_type] && !%w[STATIC DYNAMIC].include?(opts[:route_type])
|
|
10062
|
+
raise 'Invalid value for "route_type", must be one of STATIC, DYNAMIC.'
|
|
10063
|
+
end
|
|
10064
|
+
raise "Parameter value for 'drg_route_table_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_table_id)
|
|
10065
|
+
|
|
10066
|
+
path = '/drgRouteTables/{drgRouteTableId}/drgRouteRules'.sub('{drgRouteTableId}', drg_route_table_id.to_s)
|
|
10067
|
+
operation_signing_strategy = :standard
|
|
10068
|
+
|
|
10069
|
+
# rubocop:disable Style/NegatedIf
|
|
10070
|
+
# Query Params
|
|
10071
|
+
query_params = {}
|
|
10072
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
10073
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
10074
|
+
query_params[:routeType] = opts[:route_type] if opts[:route_type]
|
|
10075
|
+
|
|
10076
|
+
# Header Params
|
|
10077
|
+
header_params = {}
|
|
10078
|
+
header_params[:accept] = 'application/json'
|
|
10079
|
+
header_params[:'content-type'] = 'application/json'
|
|
10080
|
+
# rubocop:enable Style/NegatedIf
|
|
10081
|
+
|
|
10082
|
+
post_body = nil
|
|
10083
|
+
|
|
10084
|
+
# rubocop:disable Metrics/BlockLength
|
|
10085
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_drg_route_rules') do
|
|
8804
10086
|
@api_client.call_api(
|
|
8805
10087
|
:GET,
|
|
8806
10088
|
path,
|
|
@@ -8809,7 +10091,7 @@ module OCI
|
|
|
8809
10091
|
query_params: query_params,
|
|
8810
10092
|
operation_signing_strategy: operation_signing_strategy,
|
|
8811
10093
|
body: post_body,
|
|
8812
|
-
return_type: 'Array<OCI::Core::Models::
|
|
10094
|
+
return_type: 'Array<OCI::Core::Models::DrgRouteRule>'
|
|
8813
10095
|
)
|
|
8814
10096
|
end
|
|
8815
10097
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -8823,15 +10105,14 @@ module OCI
|
|
|
8823
10105
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
8824
10106
|
|
|
8825
10107
|
|
|
8826
|
-
# Lists the
|
|
8827
|
-
# results by VCN or DRG.
|
|
10108
|
+
# Lists the DRG route tables for the specified DRG.
|
|
8828
10109
|
#
|
|
8829
|
-
#
|
|
10110
|
+
# Use the `ListDrgRouteRules` operation to retrieve the route rules in a table.
|
|
10111
|
+
#
|
|
10112
|
+
# @param [String] drg_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
8830
10113
|
# @param [Hash] opts the optional parameters
|
|
8831
10114
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
8832
10115
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
8833
|
-
# @option opts [String] :vcn_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
8834
|
-
# @option opts [String] :drg_id The OCID of the DRG.
|
|
8835
10116
|
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
8836
10117
|
# \"List\" call. For important details about how pagination works, see
|
|
8837
10118
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
@@ -8842,24 +10123,60 @@ module OCI
|
|
|
8842
10123
|
# call. For important details about how pagination works, see
|
|
8843
10124
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
8844
10125
|
#
|
|
8845
|
-
# @
|
|
8846
|
-
#
|
|
8847
|
-
|
|
8848
|
-
|
|
10126
|
+
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
|
10127
|
+
#
|
|
10128
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
10129
|
+
# TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
|
10130
|
+
# sort order is case sensitive.
|
|
10131
|
+
#
|
|
10132
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
|
10133
|
+
# optionally filter by availability domain if the scope of the resource type is within a
|
|
10134
|
+
# single availability domain. If you call one of these \"List\" operations without specifying
|
|
10135
|
+
# an availability domain, the resources are grouped by availability domain, then sorted.
|
|
10136
|
+
#
|
|
10137
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
|
10138
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
|
10139
|
+
# is case sensitive.
|
|
10140
|
+
#
|
|
10141
|
+
# Allowed values are: ASC, DESC
|
|
10142
|
+
# @option opts [String] :import_drg_route_distribution_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution.
|
|
10143
|
+
#
|
|
10144
|
+
# @option opts [String] :lifecycle_state A filter that only returns matches for the specified lifecycle
|
|
10145
|
+
# state. The value is case insensitive.
|
|
10146
|
+
#
|
|
10147
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgRouteTable DrgRouteTable}>
|
|
10148
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/list_drg_route_tables.rb.html) to see an example of how to use list_drg_route_tables API.
|
|
10149
|
+
def list_drg_route_tables(drg_id, opts = {})
|
|
10150
|
+
logger.debug 'Calling operation VirtualNetworkClient#list_drg_route_tables.' if logger
|
|
8849
10151
|
|
|
8850
|
-
raise "Missing the required parameter '
|
|
10152
|
+
raise "Missing the required parameter 'drg_id' when calling list_drg_route_tables." if drg_id.nil?
|
|
8851
10153
|
|
|
8852
|
-
|
|
10154
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
|
10155
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
|
10156
|
+
end
|
|
10157
|
+
|
|
10158
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
|
10159
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
|
10160
|
+
end
|
|
10161
|
+
|
|
10162
|
+
if opts[:lifecycle_state] && !OCI::Core::Models::DrgRouteTable::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
10163
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Core::Models::DrgRouteTable::LIFECYCLE_STATE_ENUM.'
|
|
10164
|
+
end
|
|
10165
|
+
|
|
10166
|
+
path = '/drgRouteTables'
|
|
8853
10167
|
operation_signing_strategy = :standard
|
|
8854
10168
|
|
|
8855
10169
|
# rubocop:disable Style/NegatedIf
|
|
8856
10170
|
# Query Params
|
|
8857
10171
|
query_params = {}
|
|
8858
|
-
query_params[:
|
|
8859
|
-
query_params[:vcnId] = opts[:vcn_id] if opts[:vcn_id]
|
|
8860
|
-
query_params[:drgId] = opts[:drg_id] if opts[:drg_id]
|
|
10172
|
+
query_params[:drgId] = drg_id
|
|
8861
10173
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
8862
10174
|
query_params[:page] = opts[:page] if opts[:page]
|
|
10175
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
10176
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
10177
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
10178
|
+
query_params[:importDrgRouteDistributionId] = opts[:import_drg_route_distribution_id] if opts[:import_drg_route_distribution_id]
|
|
10179
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
8863
10180
|
|
|
8864
10181
|
# Header Params
|
|
8865
10182
|
header_params = {}
|
|
@@ -8870,7 +10187,7 @@ module OCI
|
|
|
8870
10187
|
post_body = nil
|
|
8871
10188
|
|
|
8872
10189
|
# rubocop:disable Metrics/BlockLength
|
|
8873
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#
|
|
10190
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_drg_route_tables') do
|
|
8874
10191
|
@api_client.call_api(
|
|
8875
10192
|
:GET,
|
|
8876
10193
|
path,
|
|
@@ -8879,7 +10196,7 @@ module OCI
|
|
|
8879
10196
|
query_params: query_params,
|
|
8880
10197
|
operation_signing_strategy: operation_signing_strategy,
|
|
8881
10198
|
body: post_body,
|
|
8882
|
-
return_type: 'Array<OCI::Core::Models::
|
|
10199
|
+
return_type: 'Array<OCI::Core::Models::DrgRouteTable>'
|
|
8883
10200
|
)
|
|
8884
10201
|
end
|
|
8885
10202
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -8962,7 +10279,7 @@ module OCI
|
|
|
8962
10279
|
# information so you can specify your desired provider and service
|
|
8963
10280
|
# offering when you create a virtual circuit.
|
|
8964
10281
|
#
|
|
8965
|
-
# For the compartment ID, provide the OCID of your tenancy (the root compartment).
|
|
10282
|
+
# For the compartment ID, provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment).
|
|
8966
10283
|
#
|
|
8967
10284
|
# For more information, see [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
|
|
8968
10285
|
#
|
|
@@ -9034,7 +10351,7 @@ module OCI
|
|
|
9034
10351
|
#
|
|
9035
10352
|
# For more information about virtual circuits, see [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
|
|
9036
10353
|
#
|
|
9037
|
-
# @param [String] provider_service_id The OCID of the provider service.
|
|
10354
|
+
# @param [String] provider_service_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the provider service.
|
|
9038
10355
|
# @param [Hash] opts the optional parameters
|
|
9039
10356
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
9040
10357
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -9202,7 +10519,7 @@ module OCI
|
|
|
9202
10519
|
|
|
9203
10520
|
# Lists the tunnel information for the specified IPSec connection.
|
|
9204
10521
|
#
|
|
9205
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
10522
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
9206
10523
|
# @param [Hash] opts the optional parameters
|
|
9207
10524
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
9208
10525
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -9272,8 +10589,8 @@ module OCI
|
|
|
9272
10589
|
# @param [Hash] opts the optional parameters
|
|
9273
10590
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
9274
10591
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
9275
|
-
# @option opts [String] :drg_id The OCID of the DRG.
|
|
9276
|
-
# @option opts [String] :cpe_id The OCID of the CPE.
|
|
10592
|
+
# @option opts [String] :drg_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
10593
|
+
# @option opts [String] :cpe_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE.
|
|
9277
10594
|
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
9278
10595
|
# \"List\" call. For important details about how pagination works, see
|
|
9279
10596
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
@@ -9360,7 +10677,7 @@ module OCI
|
|
|
9360
10677
|
# @option opts [String] :ip_address An IP address. This could be either IPv4 or IPv6, depending on the resource.
|
|
9361
10678
|
# Example: `10.0.3.3`
|
|
9362
10679
|
#
|
|
9363
|
-
# @option opts [String] :subnet_id The OCID of the subnet.
|
|
10680
|
+
# @option opts [String] :subnet_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet.
|
|
9364
10681
|
# @option opts [String] :vnic_id The OCID of the VNIC.
|
|
9365
10682
|
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
9366
10683
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
@@ -9893,7 +11210,7 @@ module OCI
|
|
|
9893
11210
|
# @option opts [String] :ip_address An IP address. This could be either IPv4 or IPv6, depending on the resource.
|
|
9894
11211
|
# Example: `10.0.3.3`
|
|
9895
11212
|
#
|
|
9896
|
-
# @option opts [String] :subnet_id The OCID of the subnet.
|
|
11213
|
+
# @option opts [String] :subnet_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet.
|
|
9897
11214
|
# @option opts [String] :vnic_id The OCID of the VNIC.
|
|
9898
11215
|
# @option opts [String] :vlan_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
|
|
9899
11216
|
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::PrivateIp PrivateIp}>
|
|
@@ -10171,7 +11488,7 @@ module OCI
|
|
|
10171
11488
|
# @param [Hash] opts the optional parameters
|
|
10172
11489
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
10173
11490
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
10174
|
-
# @option opts [String] :drg_id The OCID of the DRG.
|
|
11491
|
+
# @option opts [String] :drg_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
10175
11492
|
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
10176
11493
|
# \"List\" call. For important details about how pagination works, see
|
|
10177
11494
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
@@ -10874,7 +12191,7 @@ module OCI
|
|
|
10874
12191
|
# Lists the public IP prefixes and their details for the specified
|
|
10875
12192
|
# public virtual circuit.
|
|
10876
12193
|
#
|
|
10877
|
-
# @param [String] virtual_circuit_id The OCID of the virtual circuit.
|
|
12194
|
+
# @param [String] virtual_circuit_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit.
|
|
10878
12195
|
# @param [Hash] opts the optional parameters
|
|
10879
12196
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
10880
12197
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -11038,7 +12355,6 @@ module OCI
|
|
|
11038
12355
|
# Lists the VLANs in the specified VCN and the specified compartment.
|
|
11039
12356
|
#
|
|
11040
12357
|
# @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
11041
|
-
# @param [String] vcn_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
11042
12358
|
# @param [Hash] opts the optional parameters
|
|
11043
12359
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
11044
12360
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -11052,6 +12368,7 @@ module OCI
|
|
|
11052
12368
|
# call. For important details about how pagination works, see
|
|
11053
12369
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
11054
12370
|
#
|
|
12371
|
+
# @option opts [String] :vcn_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
11055
12372
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
|
11056
12373
|
#
|
|
11057
12374
|
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
|
@@ -11076,11 +12393,10 @@ module OCI
|
|
|
11076
12393
|
#
|
|
11077
12394
|
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::Vlan Vlan}>
|
|
11078
12395
|
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/list_vlans.rb.html) to see an example of how to use list_vlans API.
|
|
11079
|
-
def list_vlans(compartment_id,
|
|
12396
|
+
def list_vlans(compartment_id, opts = {})
|
|
11080
12397
|
logger.debug 'Calling operation VirtualNetworkClient#list_vlans.' if logger
|
|
11081
12398
|
|
|
11082
12399
|
raise "Missing the required parameter 'compartment_id' when calling list_vlans." if compartment_id.nil?
|
|
11083
|
-
raise "Missing the required parameter 'vcn_id' when calling list_vlans." if vcn_id.nil?
|
|
11084
12400
|
|
|
11085
12401
|
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
|
11086
12402
|
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
|
@@ -11101,9 +12417,9 @@ module OCI
|
|
|
11101
12417
|
# Query Params
|
|
11102
12418
|
query_params = {}
|
|
11103
12419
|
query_params[:compartmentId] = compartment_id
|
|
11104
|
-
query_params[:vcnId] = vcn_id
|
|
11105
12420
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
11106
12421
|
query_params[:page] = opts[:page] if opts[:page]
|
|
12422
|
+
query_params[:vcnId] = opts[:vcn_id] if opts[:vcn_id]
|
|
11107
12423
|
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
11108
12424
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
11109
12425
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
@@ -11170,16 +12486,256 @@ module OCI
|
|
|
11170
12486
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
11171
12487
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
11172
12488
|
#
|
|
11173
|
-
# @return [Response] A Response object with data of type nil
|
|
11174
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/modify_vcn_cidr.rb.html) to see an example of how to use modify_vcn_cidr API.
|
|
11175
|
-
def modify_vcn_cidr(vcn_id, modify_vcn_cidr_details, opts = {})
|
|
11176
|
-
logger.debug 'Calling operation VirtualNetworkClient#modify_vcn_cidr.' if logger
|
|
12489
|
+
# @return [Response] A Response object with data of type nil
|
|
12490
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/modify_vcn_cidr.rb.html) to see an example of how to use modify_vcn_cidr API.
|
|
12491
|
+
def modify_vcn_cidr(vcn_id, modify_vcn_cidr_details, opts = {})
|
|
12492
|
+
logger.debug 'Calling operation VirtualNetworkClient#modify_vcn_cidr.' if logger
|
|
12493
|
+
|
|
12494
|
+
raise "Missing the required parameter 'vcn_id' when calling modify_vcn_cidr." if vcn_id.nil?
|
|
12495
|
+
raise "Missing the required parameter 'modify_vcn_cidr_details' when calling modify_vcn_cidr." if modify_vcn_cidr_details.nil?
|
|
12496
|
+
raise "Parameter value for 'vcn_id' must not be blank" if OCI::Internal::Util.blank_string?(vcn_id)
|
|
12497
|
+
|
|
12498
|
+
path = '/vcns/{vcnId}/actions/modifyCidr'.sub('{vcnId}', vcn_id.to_s)
|
|
12499
|
+
operation_signing_strategy = :standard
|
|
12500
|
+
|
|
12501
|
+
# rubocop:disable Style/NegatedIf
|
|
12502
|
+
# Query Params
|
|
12503
|
+
query_params = {}
|
|
12504
|
+
|
|
12505
|
+
# Header Params
|
|
12506
|
+
header_params = {}
|
|
12507
|
+
header_params[:accept] = 'application/json'
|
|
12508
|
+
header_params[:'content-type'] = 'application/json'
|
|
12509
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
12510
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
12511
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
12512
|
+
# rubocop:enable Style/NegatedIf
|
|
12513
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
12514
|
+
|
|
12515
|
+
post_body = @api_client.object_to_http_body(modify_vcn_cidr_details)
|
|
12516
|
+
|
|
12517
|
+
# rubocop:disable Metrics/BlockLength
|
|
12518
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#modify_vcn_cidr') do
|
|
12519
|
+
@api_client.call_api(
|
|
12520
|
+
:POST,
|
|
12521
|
+
path,
|
|
12522
|
+
endpoint,
|
|
12523
|
+
header_params: header_params,
|
|
12524
|
+
query_params: query_params,
|
|
12525
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
12526
|
+
body: post_body
|
|
12527
|
+
)
|
|
12528
|
+
end
|
|
12529
|
+
# rubocop:enable Metrics/BlockLength
|
|
12530
|
+
end
|
|
12531
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
12532
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
12533
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
12534
|
+
|
|
12535
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
12536
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
12537
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
12538
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
12539
|
+
|
|
12540
|
+
|
|
12541
|
+
# Removes one or more route distribution statements from the specified route distribution's map.
|
|
12542
|
+
#
|
|
12543
|
+
# @param [String] drg_route_distribution_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
|
|
12544
|
+
# @param [OCI::Core::Models::RemoveDrgRouteDistributionStatementsDetails] remove_drg_route_distribution_statements_details Request with one or more route distribution statements to remove from the route distribution.
|
|
12545
|
+
#
|
|
12546
|
+
# @param [Hash] opts the optional parameters
|
|
12547
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
12548
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
12549
|
+
# @return [Response] A Response object with data of type nil
|
|
12550
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/remove_drg_route_distribution_statements.rb.html) to see an example of how to use remove_drg_route_distribution_statements API.
|
|
12551
|
+
def remove_drg_route_distribution_statements(drg_route_distribution_id, remove_drg_route_distribution_statements_details, opts = {})
|
|
12552
|
+
logger.debug 'Calling operation VirtualNetworkClient#remove_drg_route_distribution_statements.' if logger
|
|
12553
|
+
|
|
12554
|
+
raise "Missing the required parameter 'drg_route_distribution_id' when calling remove_drg_route_distribution_statements." if drg_route_distribution_id.nil?
|
|
12555
|
+
raise "Missing the required parameter 'remove_drg_route_distribution_statements_details' when calling remove_drg_route_distribution_statements." if remove_drg_route_distribution_statements_details.nil?
|
|
12556
|
+
raise "Parameter value for 'drg_route_distribution_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_distribution_id)
|
|
12557
|
+
|
|
12558
|
+
path = '/drgRouteDistributions/{drgRouteDistributionId}/actions/removeDrgRouteDistributionStatements'.sub('{drgRouteDistributionId}', drg_route_distribution_id.to_s)
|
|
12559
|
+
operation_signing_strategy = :standard
|
|
12560
|
+
|
|
12561
|
+
# rubocop:disable Style/NegatedIf
|
|
12562
|
+
# Query Params
|
|
12563
|
+
query_params = {}
|
|
12564
|
+
|
|
12565
|
+
# Header Params
|
|
12566
|
+
header_params = {}
|
|
12567
|
+
header_params[:accept] = 'application/json'
|
|
12568
|
+
header_params[:'content-type'] = 'application/json'
|
|
12569
|
+
# rubocop:enable Style/NegatedIf
|
|
12570
|
+
|
|
12571
|
+
post_body = @api_client.object_to_http_body(remove_drg_route_distribution_statements_details)
|
|
12572
|
+
|
|
12573
|
+
# rubocop:disable Metrics/BlockLength
|
|
12574
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#remove_drg_route_distribution_statements') do
|
|
12575
|
+
@api_client.call_api(
|
|
12576
|
+
:POST,
|
|
12577
|
+
path,
|
|
12578
|
+
endpoint,
|
|
12579
|
+
header_params: header_params,
|
|
12580
|
+
query_params: query_params,
|
|
12581
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
12582
|
+
body: post_body
|
|
12583
|
+
)
|
|
12584
|
+
end
|
|
12585
|
+
# rubocop:enable Metrics/BlockLength
|
|
12586
|
+
end
|
|
12587
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
12588
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
12589
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
12590
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
12591
|
+
|
|
12592
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
12593
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
12594
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
12595
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
12596
|
+
|
|
12597
|
+
|
|
12598
|
+
# Removes one or more route rules from the specified DRG route table.
|
|
12599
|
+
#
|
|
12600
|
+
# @param [String] drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
|
|
12601
|
+
# @param [OCI::Core::Models::RemoveDrgRouteRulesDetails] remove_drg_route_rules_details Request to remove one or more route rules in the DRG route table.
|
|
12602
|
+
#
|
|
12603
|
+
# @param [Hash] opts the optional parameters
|
|
12604
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
12605
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
12606
|
+
# @return [Response] A Response object with data of type nil
|
|
12607
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/remove_drg_route_rules.rb.html) to see an example of how to use remove_drg_route_rules API.
|
|
12608
|
+
def remove_drg_route_rules(drg_route_table_id, remove_drg_route_rules_details, opts = {})
|
|
12609
|
+
logger.debug 'Calling operation VirtualNetworkClient#remove_drg_route_rules.' if logger
|
|
12610
|
+
|
|
12611
|
+
raise "Missing the required parameter 'drg_route_table_id' when calling remove_drg_route_rules." if drg_route_table_id.nil?
|
|
12612
|
+
raise "Missing the required parameter 'remove_drg_route_rules_details' when calling remove_drg_route_rules." if remove_drg_route_rules_details.nil?
|
|
12613
|
+
raise "Parameter value for 'drg_route_table_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_table_id)
|
|
12614
|
+
|
|
12615
|
+
path = '/drgRouteTables/{drgRouteTableId}/actions/removeDrgRouteRules'.sub('{drgRouteTableId}', drg_route_table_id.to_s)
|
|
12616
|
+
operation_signing_strategy = :standard
|
|
12617
|
+
|
|
12618
|
+
# rubocop:disable Style/NegatedIf
|
|
12619
|
+
# Query Params
|
|
12620
|
+
query_params = {}
|
|
12621
|
+
|
|
12622
|
+
# Header Params
|
|
12623
|
+
header_params = {}
|
|
12624
|
+
header_params[:accept] = 'application/json'
|
|
12625
|
+
header_params[:'content-type'] = 'application/json'
|
|
12626
|
+
# rubocop:enable Style/NegatedIf
|
|
12627
|
+
|
|
12628
|
+
post_body = @api_client.object_to_http_body(remove_drg_route_rules_details)
|
|
12629
|
+
|
|
12630
|
+
# rubocop:disable Metrics/BlockLength
|
|
12631
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#remove_drg_route_rules') do
|
|
12632
|
+
@api_client.call_api(
|
|
12633
|
+
:POST,
|
|
12634
|
+
path,
|
|
12635
|
+
endpoint,
|
|
12636
|
+
header_params: header_params,
|
|
12637
|
+
query_params: query_params,
|
|
12638
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
12639
|
+
body: post_body
|
|
12640
|
+
)
|
|
12641
|
+
end
|
|
12642
|
+
# rubocop:enable Metrics/BlockLength
|
|
12643
|
+
end
|
|
12644
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
12645
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
12646
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
12647
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
12648
|
+
|
|
12649
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
12650
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
12651
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
12652
|
+
|
|
12653
|
+
|
|
12654
|
+
# Removes the export route distribution from the DRG attachment so no routes are advertised to it.
|
|
12655
|
+
#
|
|
12656
|
+
# @param [String] drg_attachment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
|
|
12657
|
+
# @param [Hash] opts the optional parameters
|
|
12658
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
12659
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
12660
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
12661
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
12662
|
+
#
|
|
12663
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
12664
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
12665
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
12666
|
+
#
|
|
12667
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::DrgAttachment DrgAttachment}
|
|
12668
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/remove_export_drg_route_distribution.rb.html) to see an example of how to use remove_export_drg_route_distribution API.
|
|
12669
|
+
def remove_export_drg_route_distribution(drg_attachment_id, opts = {})
|
|
12670
|
+
logger.debug 'Calling operation VirtualNetworkClient#remove_export_drg_route_distribution.' if logger
|
|
12671
|
+
|
|
12672
|
+
raise "Missing the required parameter 'drg_attachment_id' when calling remove_export_drg_route_distribution." if drg_attachment_id.nil?
|
|
12673
|
+
raise "Parameter value for 'drg_attachment_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_attachment_id)
|
|
12674
|
+
|
|
12675
|
+
path = '/drgAttachments/{drgAttachmentId}/actions/removeExportDrgRouteDistribution'.sub('{drgAttachmentId}', drg_attachment_id.to_s)
|
|
12676
|
+
operation_signing_strategy = :standard
|
|
12677
|
+
|
|
12678
|
+
# rubocop:disable Style/NegatedIf
|
|
12679
|
+
# Query Params
|
|
12680
|
+
query_params = {}
|
|
12681
|
+
|
|
12682
|
+
# Header Params
|
|
12683
|
+
header_params = {}
|
|
12684
|
+
header_params[:accept] = 'application/json'
|
|
12685
|
+
header_params[:'content-type'] = 'application/json'
|
|
12686
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
12687
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
12688
|
+
# rubocop:enable Style/NegatedIf
|
|
12689
|
+
|
|
12690
|
+
post_body = nil
|
|
12691
|
+
|
|
12692
|
+
# rubocop:disable Metrics/BlockLength
|
|
12693
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#remove_export_drg_route_distribution') do
|
|
12694
|
+
@api_client.call_api(
|
|
12695
|
+
:POST,
|
|
12696
|
+
path,
|
|
12697
|
+
endpoint,
|
|
12698
|
+
header_params: header_params,
|
|
12699
|
+
query_params: query_params,
|
|
12700
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
12701
|
+
body: post_body,
|
|
12702
|
+
return_type: 'OCI::Core::Models::DrgAttachment'
|
|
12703
|
+
)
|
|
12704
|
+
end
|
|
12705
|
+
# rubocop:enable Metrics/BlockLength
|
|
12706
|
+
end
|
|
12707
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
12708
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
12709
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
12710
|
+
|
|
12711
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
12712
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
12713
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
12714
|
+
|
|
12715
|
+
|
|
12716
|
+
# Removes the import route distribution from the DRG route table so no routes are imported
|
|
12717
|
+
# into it.
|
|
12718
|
+
#
|
|
12719
|
+
# @param [String] drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
|
|
12720
|
+
# @param [Hash] opts the optional parameters
|
|
12721
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
12722
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
12723
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
12724
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
12725
|
+
#
|
|
12726
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
12727
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
12728
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
12729
|
+
#
|
|
12730
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::DrgRouteTable DrgRouteTable}
|
|
12731
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/remove_import_drg_route_distribution.rb.html) to see an example of how to use remove_import_drg_route_distribution API.
|
|
12732
|
+
def remove_import_drg_route_distribution(drg_route_table_id, opts = {})
|
|
12733
|
+
logger.debug 'Calling operation VirtualNetworkClient#remove_import_drg_route_distribution.' if logger
|
|
11177
12734
|
|
|
11178
|
-
raise "Missing the required parameter '
|
|
11179
|
-
raise "
|
|
11180
|
-
raise "Parameter value for 'vcn_id' must not be blank" if OCI::Internal::Util.blank_string?(vcn_id)
|
|
12735
|
+
raise "Missing the required parameter 'drg_route_table_id' when calling remove_import_drg_route_distribution." if drg_route_table_id.nil?
|
|
12736
|
+
raise "Parameter value for 'drg_route_table_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_table_id)
|
|
11181
12737
|
|
|
11182
|
-
path = '/
|
|
12738
|
+
path = '/drgRouteTables/{drgRouteTableId}/actions/removeImportDrgRouteDistribution'.sub('{drgRouteTableId}', drg_route_table_id.to_s)
|
|
11183
12739
|
operation_signing_strategy = :standard
|
|
11184
12740
|
|
|
11185
12741
|
# rubocop:disable Style/NegatedIf
|
|
@@ -11191,15 +12747,13 @@ module OCI
|
|
|
11191
12747
|
header_params[:accept] = 'application/json'
|
|
11192
12748
|
header_params[:'content-type'] = 'application/json'
|
|
11193
12749
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
11194
|
-
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
11195
12750
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
11196
12751
|
# rubocop:enable Style/NegatedIf
|
|
11197
|
-
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
11198
12752
|
|
|
11199
|
-
post_body =
|
|
12753
|
+
post_body = nil
|
|
11200
12754
|
|
|
11201
12755
|
# rubocop:disable Metrics/BlockLength
|
|
11202
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#
|
|
12756
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#remove_import_drg_route_distribution') do
|
|
11203
12757
|
@api_client.call_api(
|
|
11204
12758
|
:POST,
|
|
11205
12759
|
path,
|
|
@@ -11207,7 +12761,8 @@ module OCI
|
|
|
11207
12761
|
header_params: header_params,
|
|
11208
12762
|
query_params: query_params,
|
|
11209
12763
|
operation_signing_strategy: operation_signing_strategy,
|
|
11210
|
-
body: post_body
|
|
12764
|
+
body: post_body,
|
|
12765
|
+
return_type: 'OCI::Core::Models::DrgRouteTable'
|
|
11211
12766
|
)
|
|
11212
12767
|
end
|
|
11213
12768
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -11488,7 +13043,7 @@ module OCI
|
|
|
11488
13043
|
# Updates the specified CPE's display name or tags.
|
|
11489
13044
|
# Avoid entering confidential information.
|
|
11490
13045
|
#
|
|
11491
|
-
# @param [String] cpe_id The OCID of the CPE.
|
|
13046
|
+
# @param [String] cpe_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE.
|
|
11492
13047
|
# @param [OCI::Core::Models::UpdateCpeDetails] update_cpe_details Details object for updating a CPE.
|
|
11493
13048
|
# @param [Hash] opts the optional parameters
|
|
11494
13049
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -11547,7 +13102,7 @@ module OCI
|
|
|
11547
13102
|
|
|
11548
13103
|
|
|
11549
13104
|
# Updates the specified cross-connect.
|
|
11550
|
-
# @param [String] cross_connect_id The OCID of the cross-connect.
|
|
13105
|
+
# @param [String] cross_connect_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect.
|
|
11551
13106
|
# @param [OCI::Core::Models::UpdateCrossConnectDetails] update_cross_connect_details Update CrossConnect fields.
|
|
11552
13107
|
# @param [Hash] opts the optional parameters
|
|
11553
13108
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -11608,7 +13163,7 @@ module OCI
|
|
|
11608
13163
|
# Updates the specified cross-connect group's display name.
|
|
11609
13164
|
# Avoid entering confidential information.
|
|
11610
13165
|
#
|
|
11611
|
-
# @param [String] cross_connect_group_id The OCID of the cross-connect group.
|
|
13166
|
+
# @param [String] cross_connect_group_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cross-connect group.
|
|
11612
13167
|
# @param [OCI::Core::Models::UpdateCrossConnectGroupDetails] update_cross_connect_group_details Update CrossConnectGroup fields
|
|
11613
13168
|
# @param [Hash] opts the optional parameters
|
|
11614
13169
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -11671,7 +13226,7 @@ module OCI
|
|
|
11671
13226
|
#
|
|
11672
13227
|
# Note that the `options` object you provide replaces the entire existing set of options.
|
|
11673
13228
|
#
|
|
11674
|
-
# @param [String] dhcp_id The OCID for the set of DHCP options.
|
|
13229
|
+
# @param [String] dhcp_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the set of DHCP options.
|
|
11675
13230
|
# @param [OCI::Core::Models::UpdateDhcpDetails] update_dhcp_details Request object for updating a set of DHCP options.
|
|
11676
13231
|
# @param [Hash] opts the optional parameters
|
|
11677
13232
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -11731,7 +13286,7 @@ module OCI
|
|
|
11731
13286
|
|
|
11732
13287
|
# Updates the specified DRG's display name or tags. Avoid entering confidential information.
|
|
11733
13288
|
#
|
|
11734
|
-
# @param [String] drg_id The OCID of the DRG.
|
|
13289
|
+
# @param [String] drg_id The [[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
11735
13290
|
# @param [OCI::Core::Models::UpdateDrgDetails] update_drg_details Details object for updating a DRG.
|
|
11736
13291
|
# @param [Hash] opts the optional parameters
|
|
11737
13292
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -11789,10 +13344,10 @@ module OCI
|
|
|
11789
13344
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
11790
13345
|
|
|
11791
13346
|
|
|
11792
|
-
# Updates the display name for the specified `DrgAttachment`.
|
|
13347
|
+
# Updates the display name and routing information for the specified `DrgAttachment`.
|
|
11793
13348
|
# Avoid entering confidential information.
|
|
11794
13349
|
#
|
|
11795
|
-
# @param [String] drg_attachment_id The OCID of the DRG attachment.
|
|
13350
|
+
# @param [String] drg_attachment_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
|
|
11796
13351
|
# @param [OCI::Core::Models::UpdateDrgAttachmentDetails] update_drg_attachment_details Details object for updating a `DrgAttachment`.
|
|
11797
13352
|
# @param [Hash] opts the optional parameters
|
|
11798
13353
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -11850,13 +13405,249 @@ module OCI
|
|
|
11850
13405
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
11851
13406
|
|
|
11852
13407
|
|
|
13408
|
+
# Updates the specified route distribution
|
|
13409
|
+
#
|
|
13410
|
+
# @param [String] drg_route_distribution_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
|
|
13411
|
+
# @param [OCI::Core::Models::UpdateDrgRouteDistributionDetails] update_drg_route_distribution_details Details object for updating a route distribution
|
|
13412
|
+
# @param [Hash] opts the optional parameters
|
|
13413
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13414
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13415
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
13416
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
13417
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
13418
|
+
#
|
|
13419
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::DrgRouteDistribution DrgRouteDistribution}
|
|
13420
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/update_drg_route_distribution.rb.html) to see an example of how to use update_drg_route_distribution API.
|
|
13421
|
+
def update_drg_route_distribution(drg_route_distribution_id, update_drg_route_distribution_details, opts = {})
|
|
13422
|
+
logger.debug 'Calling operation VirtualNetworkClient#update_drg_route_distribution.' if logger
|
|
13423
|
+
|
|
13424
|
+
raise "Missing the required parameter 'drg_route_distribution_id' when calling update_drg_route_distribution." if drg_route_distribution_id.nil?
|
|
13425
|
+
raise "Missing the required parameter 'update_drg_route_distribution_details' when calling update_drg_route_distribution." if update_drg_route_distribution_details.nil?
|
|
13426
|
+
raise "Parameter value for 'drg_route_distribution_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_distribution_id)
|
|
13427
|
+
|
|
13428
|
+
path = '/drgRouteDistributions/{drgRouteDistributionId}'.sub('{drgRouteDistributionId}', drg_route_distribution_id.to_s)
|
|
13429
|
+
operation_signing_strategy = :standard
|
|
13430
|
+
|
|
13431
|
+
# rubocop:disable Style/NegatedIf
|
|
13432
|
+
# Query Params
|
|
13433
|
+
query_params = {}
|
|
13434
|
+
|
|
13435
|
+
# Header Params
|
|
13436
|
+
header_params = {}
|
|
13437
|
+
header_params[:accept] = 'application/json'
|
|
13438
|
+
header_params[:'content-type'] = 'application/json'
|
|
13439
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
13440
|
+
# rubocop:enable Style/NegatedIf
|
|
13441
|
+
|
|
13442
|
+
post_body = @api_client.object_to_http_body(update_drg_route_distribution_details)
|
|
13443
|
+
|
|
13444
|
+
# rubocop:disable Metrics/BlockLength
|
|
13445
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_drg_route_distribution') do
|
|
13446
|
+
@api_client.call_api(
|
|
13447
|
+
:PUT,
|
|
13448
|
+
path,
|
|
13449
|
+
endpoint,
|
|
13450
|
+
header_params: header_params,
|
|
13451
|
+
query_params: query_params,
|
|
13452
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
13453
|
+
body: post_body,
|
|
13454
|
+
return_type: 'OCI::Core::Models::DrgRouteDistribution'
|
|
13455
|
+
)
|
|
13456
|
+
end
|
|
13457
|
+
# rubocop:enable Metrics/BlockLength
|
|
13458
|
+
end
|
|
13459
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13460
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13461
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
13462
|
+
|
|
13463
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13464
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13465
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13466
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
13467
|
+
|
|
13468
|
+
|
|
13469
|
+
# Updates one or more route distribution statements in the specified route distribution.
|
|
13470
|
+
#
|
|
13471
|
+
# @param [String] drg_route_distribution_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
|
|
13472
|
+
# @param [OCI::Core::Models::UpdateDrgRouteDistributionStatementsDetails] update_drg_route_distribution_statements_details Request to update one or more route distribution statements in the route distribution.
|
|
13473
|
+
#
|
|
13474
|
+
# @param [Hash] opts the optional parameters
|
|
13475
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13476
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13477
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgRouteDistributionStatement DrgRouteDistributionStatement}>
|
|
13478
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/update_drg_route_distribution_statements.rb.html) to see an example of how to use update_drg_route_distribution_statements API.
|
|
13479
|
+
def update_drg_route_distribution_statements(drg_route_distribution_id, update_drg_route_distribution_statements_details, opts = {})
|
|
13480
|
+
logger.debug 'Calling operation VirtualNetworkClient#update_drg_route_distribution_statements.' if logger
|
|
13481
|
+
|
|
13482
|
+
raise "Missing the required parameter 'drg_route_distribution_id' when calling update_drg_route_distribution_statements." if drg_route_distribution_id.nil?
|
|
13483
|
+
raise "Missing the required parameter 'update_drg_route_distribution_statements_details' when calling update_drg_route_distribution_statements." if update_drg_route_distribution_statements_details.nil?
|
|
13484
|
+
raise "Parameter value for 'drg_route_distribution_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_distribution_id)
|
|
13485
|
+
|
|
13486
|
+
path = '/drgRouteDistributions/{drgRouteDistributionId}/actions/updateDrgRouteDistributionStatements'.sub('{drgRouteDistributionId}', drg_route_distribution_id.to_s)
|
|
13487
|
+
operation_signing_strategy = :standard
|
|
13488
|
+
|
|
13489
|
+
# rubocop:disable Style/NegatedIf
|
|
13490
|
+
# Query Params
|
|
13491
|
+
query_params = {}
|
|
13492
|
+
|
|
13493
|
+
# Header Params
|
|
13494
|
+
header_params = {}
|
|
13495
|
+
header_params[:accept] = 'application/json'
|
|
13496
|
+
header_params[:'content-type'] = 'application/json'
|
|
13497
|
+
# rubocop:enable Style/NegatedIf
|
|
13498
|
+
|
|
13499
|
+
post_body = @api_client.object_to_http_body(update_drg_route_distribution_statements_details)
|
|
13500
|
+
|
|
13501
|
+
# rubocop:disable Metrics/BlockLength
|
|
13502
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_drg_route_distribution_statements') do
|
|
13503
|
+
@api_client.call_api(
|
|
13504
|
+
:POST,
|
|
13505
|
+
path,
|
|
13506
|
+
endpoint,
|
|
13507
|
+
header_params: header_params,
|
|
13508
|
+
query_params: query_params,
|
|
13509
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
13510
|
+
body: post_body,
|
|
13511
|
+
return_type: 'Array<OCI::Core::Models::DrgRouteDistributionStatement>'
|
|
13512
|
+
)
|
|
13513
|
+
end
|
|
13514
|
+
# rubocop:enable Metrics/BlockLength
|
|
13515
|
+
end
|
|
13516
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13517
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13518
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
13519
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
13520
|
+
|
|
13521
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13522
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13523
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13524
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
|
13525
|
+
|
|
13526
|
+
|
|
13527
|
+
# Updates one or more route rules in the specified DRG route table.
|
|
13528
|
+
#
|
|
13529
|
+
# @param [String] drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
|
|
13530
|
+
# @param [OCI::Core::Models::UpdateDrgRouteRulesDetails] update_drg_route_rules_details Request to update one or more route rules in the DRG route table.
|
|
13531
|
+
#
|
|
13532
|
+
# @param [Hash] opts the optional parameters
|
|
13533
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13534
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13535
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::DrgRouteRule DrgRouteRule}>
|
|
13536
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/update_drg_route_rules.rb.html) to see an example of how to use update_drg_route_rules API.
|
|
13537
|
+
def update_drg_route_rules(drg_route_table_id, update_drg_route_rules_details, opts = {})
|
|
13538
|
+
logger.debug 'Calling operation VirtualNetworkClient#update_drg_route_rules.' if logger
|
|
13539
|
+
|
|
13540
|
+
raise "Missing the required parameter 'drg_route_table_id' when calling update_drg_route_rules." if drg_route_table_id.nil?
|
|
13541
|
+
raise "Missing the required parameter 'update_drg_route_rules_details' when calling update_drg_route_rules." if update_drg_route_rules_details.nil?
|
|
13542
|
+
raise "Parameter value for 'drg_route_table_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_table_id)
|
|
13543
|
+
|
|
13544
|
+
path = '/drgRouteTables/{drgRouteTableId}/actions/updateDrgRouteRules'.sub('{drgRouteTableId}', drg_route_table_id.to_s)
|
|
13545
|
+
operation_signing_strategy = :standard
|
|
13546
|
+
|
|
13547
|
+
# rubocop:disable Style/NegatedIf
|
|
13548
|
+
# Query Params
|
|
13549
|
+
query_params = {}
|
|
13550
|
+
|
|
13551
|
+
# Header Params
|
|
13552
|
+
header_params = {}
|
|
13553
|
+
header_params[:accept] = 'application/json'
|
|
13554
|
+
header_params[:'content-type'] = 'application/json'
|
|
13555
|
+
# rubocop:enable Style/NegatedIf
|
|
13556
|
+
|
|
13557
|
+
post_body = @api_client.object_to_http_body(update_drg_route_rules_details)
|
|
13558
|
+
|
|
13559
|
+
# rubocop:disable Metrics/BlockLength
|
|
13560
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_drg_route_rules') do
|
|
13561
|
+
@api_client.call_api(
|
|
13562
|
+
:POST,
|
|
13563
|
+
path,
|
|
13564
|
+
endpoint,
|
|
13565
|
+
header_params: header_params,
|
|
13566
|
+
query_params: query_params,
|
|
13567
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
13568
|
+
body: post_body,
|
|
13569
|
+
return_type: 'Array<OCI::Core::Models::DrgRouteRule>'
|
|
13570
|
+
)
|
|
13571
|
+
end
|
|
13572
|
+
# rubocop:enable Metrics/BlockLength
|
|
13573
|
+
end
|
|
13574
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13575
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13576
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
13577
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
|
13578
|
+
|
|
13579
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13580
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13581
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13582
|
+
|
|
13583
|
+
|
|
13584
|
+
# Updates the specified DRG route table.
|
|
13585
|
+
#
|
|
13586
|
+
# @param [String] drg_route_table_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
|
|
13587
|
+
# @param [OCI::Core::Models::UpdateDrgRouteTableDetails] update_drg_route_table_details Details object used to updating a DRG route table.
|
|
13588
|
+
# @param [Hash] opts the optional parameters
|
|
13589
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
13590
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
13591
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
13592
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
13593
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
13594
|
+
#
|
|
13595
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::DrgRouteTable DrgRouteTable}
|
|
13596
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/update_drg_route_table.rb.html) to see an example of how to use update_drg_route_table API.
|
|
13597
|
+
def update_drg_route_table(drg_route_table_id, update_drg_route_table_details, opts = {})
|
|
13598
|
+
logger.debug 'Calling operation VirtualNetworkClient#update_drg_route_table.' if logger
|
|
13599
|
+
|
|
13600
|
+
raise "Missing the required parameter 'drg_route_table_id' when calling update_drg_route_table." if drg_route_table_id.nil?
|
|
13601
|
+
raise "Missing the required parameter 'update_drg_route_table_details' when calling update_drg_route_table." if update_drg_route_table_details.nil?
|
|
13602
|
+
raise "Parameter value for 'drg_route_table_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_route_table_id)
|
|
13603
|
+
|
|
13604
|
+
path = '/drgRouteTables/{drgRouteTableId}'.sub('{drgRouteTableId}', drg_route_table_id.to_s)
|
|
13605
|
+
operation_signing_strategy = :standard
|
|
13606
|
+
|
|
13607
|
+
# rubocop:disable Style/NegatedIf
|
|
13608
|
+
# Query Params
|
|
13609
|
+
query_params = {}
|
|
13610
|
+
|
|
13611
|
+
# Header Params
|
|
13612
|
+
header_params = {}
|
|
13613
|
+
header_params[:accept] = 'application/json'
|
|
13614
|
+
header_params[:'content-type'] = 'application/json'
|
|
13615
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
13616
|
+
# rubocop:enable Style/NegatedIf
|
|
13617
|
+
|
|
13618
|
+
post_body = @api_client.object_to_http_body(update_drg_route_table_details)
|
|
13619
|
+
|
|
13620
|
+
# rubocop:disable Metrics/BlockLength
|
|
13621
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_drg_route_table') do
|
|
13622
|
+
@api_client.call_api(
|
|
13623
|
+
:PUT,
|
|
13624
|
+
path,
|
|
13625
|
+
endpoint,
|
|
13626
|
+
header_params: header_params,
|
|
13627
|
+
query_params: query_params,
|
|
13628
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
13629
|
+
body: post_body,
|
|
13630
|
+
return_type: 'OCI::Core::Models::DrgRouteTable'
|
|
13631
|
+
)
|
|
13632
|
+
end
|
|
13633
|
+
# rubocop:enable Metrics/BlockLength
|
|
13634
|
+
end
|
|
13635
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13636
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13637
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
13638
|
+
|
|
13639
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
13640
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
13641
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13642
|
+
|
|
13643
|
+
|
|
11853
13644
|
# Updates the specified internet gateway. You can disable/enable it, or change its display name
|
|
11854
13645
|
# or tags. Avoid entering confidential information.
|
|
11855
13646
|
#
|
|
11856
13647
|
# If the gateway is disabled, that means no traffic will flow to/from the internet even if there's
|
|
11857
13648
|
# a route rule that enables that traffic.
|
|
11858
13649
|
#
|
|
11859
|
-
# @param [String] ig_id The OCID of the internet gateway.
|
|
13650
|
+
# @param [String] ig_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the internet gateway.
|
|
11860
13651
|
# @param [OCI::Core::Models::UpdateInternetGatewayDetails] update_internet_gateway_details Details for updating the internet gateway.
|
|
11861
13652
|
# @param [Hash] opts the optional parameters
|
|
11862
13653
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -11919,7 +13710,7 @@ module OCI
|
|
|
11919
13710
|
# To update an individual IPSec tunnel's attributes, use
|
|
11920
13711
|
# {#update_ip_sec_connection_tunnel update_ip_sec_connection_tunnel}.
|
|
11921
13712
|
#
|
|
11922
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
13713
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
11923
13714
|
# @param [OCI::Core::Models::UpdateIPSecConnectionDetails] update_ip_sec_connection_details Details object for updating a IPSec connection.
|
|
11924
13715
|
# @param [Hash] opts the optional parameters
|
|
11925
13716
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -11990,7 +13781,7 @@ module OCI
|
|
|
11990
13781
|
# {IPSecConnection} already has at least one valid CIDR
|
|
11991
13782
|
# static route.
|
|
11992
13783
|
#
|
|
11993
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
13784
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
11994
13785
|
# @param [String] tunnel_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
|
|
11995
13786
|
# @param [OCI::Core::Models::UpdateIPSecConnectionTunnelDetails] update_ip_sec_connection_tunnel_details Details object for updating a IPSecConnection tunnel's details.
|
|
11996
13787
|
# @param [Hash] opts the optional parameters
|
|
@@ -12059,7 +13850,7 @@ module OCI
|
|
|
12059
13850
|
#
|
|
12060
13851
|
# **Important:** If you change the shared secret, the tunnel will go down while it's reprovisioned.
|
|
12061
13852
|
#
|
|
12062
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
13853
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
12063
13854
|
# @param [String] tunnel_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
|
|
12064
13855
|
# @param [OCI::Core::Models::UpdateIPSecConnectionTunnelSharedSecretDetails] update_ip_sec_connection_tunnel_shared_secret_details Details object for updating a IPSec connection tunnel's sharedSecret.
|
|
12065
13856
|
# @param [Hash] opts the optional parameters
|
|
@@ -12192,7 +13983,7 @@ module OCI
|
|
|
12192
13983
|
|
|
12193
13984
|
# Updates the specified local peering gateway (LPG).
|
|
12194
13985
|
#
|
|
12195
|
-
# @param [String] local_peering_gateway_id The OCID of the local peering gateway.
|
|
13986
|
+
# @param [String] local_peering_gateway_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the local peering gateway.
|
|
12196
13987
|
# @param [OCI::Core::Models::UpdateLocalPeeringGatewayDetails] update_local_peering_gateway_details Details object for updating a local peering gateway.
|
|
12197
13988
|
# @param [Hash] opts the optional parameters
|
|
12198
13989
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -12454,7 +14245,7 @@ module OCI
|
|
|
12454
14245
|
# To update the hostname for the primary IP on a VNIC, use
|
|
12455
14246
|
# {#update_vnic update_vnic}.
|
|
12456
14247
|
#
|
|
12457
|
-
# @param [String] private_ip_id The OCID of the private IP.
|
|
14248
|
+
# @param [String] private_ip_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the private IP.
|
|
12458
14249
|
# @param [OCI::Core::Models::UpdatePrivateIpDetails] update_private_ip_details Private IP details.
|
|
12459
14250
|
# @param [Hash] opts the optional parameters
|
|
12460
14251
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -12552,7 +14343,7 @@ module OCI
|
|
|
12552
14343
|
# returned. For information about the public IP limits, see
|
|
12553
14344
|
# [Public IP Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).
|
|
12554
14345
|
#
|
|
12555
|
-
# @param [String] public_ip_id The OCID of the public IP.
|
|
14346
|
+
# @param [String] public_ip_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the public IP.
|
|
12556
14347
|
# @param [OCI::Core::Models::UpdatePublicIpDetails] update_public_ip_details Public IP details.
|
|
12557
14348
|
# @param [Hash] opts the optional parameters
|
|
12558
14349
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -12676,7 +14467,7 @@ module OCI
|
|
|
12676
14467
|
|
|
12677
14468
|
# Updates the specified remote peering connection (RPC).
|
|
12678
14469
|
#
|
|
12679
|
-
# @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
|
|
14470
|
+
# @param [String] remote_peering_connection_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
|
|
12680
14471
|
# @param [OCI::Core::Models::UpdateRemotePeeringConnectionDetails] update_remote_peering_connection_details Request to the update the peering connection to remote region
|
|
12681
14472
|
# @param [Hash] opts the optional parameters
|
|
12682
14473
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -12739,7 +14530,7 @@ module OCI
|
|
|
12739
14530
|
#
|
|
12740
14531
|
# Note that the `routeRules` object you provide replaces the entire existing set of rules.
|
|
12741
14532
|
#
|
|
12742
|
-
# @param [String] rt_id The OCID of the route table.
|
|
14533
|
+
# @param [String] rt_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the route table.
|
|
12743
14534
|
# @param [OCI::Core::Models::UpdateRouteTableDetails] update_route_table_details Details object for updating a route table.
|
|
12744
14535
|
# @param [Hash] opts the optional parameters
|
|
12745
14536
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -12803,7 +14594,7 @@ module OCI
|
|
|
12803
14594
|
# Note that the `egressSecurityRules` or `ingressSecurityRules` objects you provide replace the entire
|
|
12804
14595
|
# existing objects.
|
|
12805
14596
|
#
|
|
12806
|
-
# @param [String] security_list_id The OCID of the security list.
|
|
14597
|
+
# @param [String] security_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security list.
|
|
12807
14598
|
# @param [OCI::Core::Models::UpdateSecurityListDetails] update_security_list_details Updated details for the security list.
|
|
12808
14599
|
# @param [Hash] opts the optional parameters
|
|
12809
14600
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -12924,7 +14715,7 @@ module OCI
|
|
|
12924
14715
|
|
|
12925
14716
|
# Updates the specified subnet.
|
|
12926
14717
|
#
|
|
12927
|
-
# @param [String] subnet_id The OCID of the subnet.
|
|
14718
|
+
# @param [String] subnet_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet.
|
|
12928
14719
|
# @param [OCI::Core::Models::UpdateSubnetDetails] update_subnet_details Details object for updating a subnet.
|
|
12929
14720
|
# @param [Hash] opts the optional parameters
|
|
12930
14721
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -12986,7 +14777,7 @@ module OCI
|
|
|
12986
14777
|
# The answers correlate to the questions that are specific to the CPE device type (see the
|
|
12987
14778
|
# `parameters` attribute of {CpeDeviceShapeDetail}).
|
|
12988
14779
|
#
|
|
12989
|
-
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
14780
|
+
# @param [String] ipsc_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPSec connection.
|
|
12990
14781
|
# @param [String] tunnel_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
|
|
12991
14782
|
# @param [OCI::Core::Models::UpdateTunnelCpeDeviceConfigDetails] update_tunnel_cpe_device_config_details Request to input the tunnel's cpe configuration parameters
|
|
12992
14783
|
# @param [Hash] opts the optional parameters
|
|
@@ -13144,7 +14935,7 @@ module OCI
|
|
|
13144
14935
|
# Oracle must verify the customer's ownership of each added prefix before
|
|
13145
14936
|
# traffic for that prefix will flow across the virtual circuit.
|
|
13146
14937
|
#
|
|
13147
|
-
# @param [String] virtual_circuit_id The OCID of the virtual circuit.
|
|
14938
|
+
# @param [String] virtual_circuit_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual circuit.
|
|
13148
14939
|
# @param [OCI::Core::Models::UpdateVirtualCircuitDetails] update_virtual_circuit_details Update VirtualCircuit fields.
|
|
13149
14940
|
# @param [Hash] opts the optional parameters
|
|
13150
14941
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -13269,7 +15060,7 @@ module OCI
|
|
|
13269
15060
|
|
|
13270
15061
|
# Updates the specified VNIC.
|
|
13271
15062
|
#
|
|
13272
|
-
# @param [String] vnic_id The OCID of the VNIC.
|
|
15063
|
+
# @param [String] vnic_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VNIC.
|
|
13273
15064
|
# @param [OCI::Core::Models::UpdateVnicDetails] update_vnic_details Details object for updating a VNIC.
|
|
13274
15065
|
# @param [Hash] opts the optional parameters
|
|
13275
15066
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -13327,6 +15118,71 @@ module OCI
|
|
|
13327
15118
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
13328
15119
|
|
|
13329
15120
|
|
|
15121
|
+
# Upgrades the DRG. After upgrade, you can control routing inside your DRG
|
|
15122
|
+
# via DRG attachments, route distributions, and DRG route tables.
|
|
15123
|
+
#
|
|
15124
|
+
# @param [String] drg_id The [[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)](/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
|
|
15125
|
+
# @param [Hash] opts the optional parameters
|
|
15126
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
15127
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
15128
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
15129
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
15130
|
+
#
|
|
15131
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
15132
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
15133
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
15134
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
15135
|
+
# may be rejected).
|
|
15136
|
+
#
|
|
15137
|
+
# @return [Response] A Response object with data of type nil
|
|
15138
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/upgrade_drg.rb.html) to see an example of how to use upgrade_drg API.
|
|
15139
|
+
def upgrade_drg(drg_id, opts = {})
|
|
15140
|
+
logger.debug 'Calling operation VirtualNetworkClient#upgrade_drg.' if logger
|
|
15141
|
+
|
|
15142
|
+
raise "Missing the required parameter 'drg_id' when calling upgrade_drg." if drg_id.nil?
|
|
15143
|
+
raise "Parameter value for 'drg_id' must not be blank" if OCI::Internal::Util.blank_string?(drg_id)
|
|
15144
|
+
|
|
15145
|
+
path = '/drgs/{drgId}/actions/upgrade'.sub('{drgId}', drg_id.to_s)
|
|
15146
|
+
operation_signing_strategy = :standard
|
|
15147
|
+
|
|
15148
|
+
# rubocop:disable Style/NegatedIf
|
|
15149
|
+
# Query Params
|
|
15150
|
+
query_params = {}
|
|
15151
|
+
|
|
15152
|
+
# Header Params
|
|
15153
|
+
header_params = {}
|
|
15154
|
+
header_params[:accept] = 'application/json'
|
|
15155
|
+
header_params[:'content-type'] = 'application/json'
|
|
15156
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
15157
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
15158
|
+
# rubocop:enable Style/NegatedIf
|
|
15159
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
15160
|
+
|
|
15161
|
+
post_body = nil
|
|
15162
|
+
|
|
15163
|
+
# rubocop:disable Metrics/BlockLength
|
|
15164
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#upgrade_drg') do
|
|
15165
|
+
@api_client.call_api(
|
|
15166
|
+
:POST,
|
|
15167
|
+
path,
|
|
15168
|
+
endpoint,
|
|
15169
|
+
header_params: header_params,
|
|
15170
|
+
query_params: query_params,
|
|
15171
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
15172
|
+
body: post_body
|
|
15173
|
+
)
|
|
15174
|
+
end
|
|
15175
|
+
# rubocop:enable Metrics/BlockLength
|
|
15176
|
+
end
|
|
15177
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
15178
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
15179
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
15180
|
+
|
|
15181
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
15182
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
15183
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
15184
|
+
|
|
15185
|
+
|
|
13330
15186
|
# Submits the BYOIP CIDR block you are importing for validation. Do not submit to Oracle for validation if you have not already
|
|
13331
15187
|
# modified the information for the BYOIP CIDR block with your Regional Internet Registry. See [To import a CIDR block](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details.
|
|
13332
15188
|
#
|