oci 2.10.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/oci.rb +4 -0
- data/lib/oci/api_client.rb +1 -3
- data/lib/oci/apigateway/api_gateway_client.rb +619 -0
- data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +198 -0
- data/lib/oci/apigateway/apigateway.rb +10 -0
- data/lib/oci/apigateway/models/api.rb +340 -0
- data/lib/oci/apigateway/models/api_collection.rb +150 -0
- data/lib/oci/apigateway/models/api_summary.rb +342 -0
- data/lib/oci/apigateway/models/api_validation_detail.rb +191 -0
- data/lib/oci/apigateway/models/api_validation_details.rb +192 -0
- data/lib/oci/apigateway/models/api_validation_result.rb +182 -0
- data/lib/oci/apigateway/models/api_validations.rb +150 -0
- data/lib/oci/{log_analytics/models/create_namespace_details.rb → apigateway/models/change_api_compartment_details.rb} +5 -3
- data/lib/oci/apigateway/models/create_api_details.rb +222 -0
- data/lib/oci/apigateway/models/update_api_details.rb +206 -0
- data/lib/oci/apigateway/models/work_request.rb +4 -0
- data/lib/oci/application_migration/application_migration.rb +2 -0
- data/lib/oci/application_migration/application_migration_client.rb +169 -52
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +447 -0
- data/lib/oci/application_migration/models/authorization_details.rb +4 -2
- data/lib/oci/application_migration/models/change_compartment_details.rb +2 -2
- data/lib/oci/application_migration/models/configuration_field.rb +9 -7
- data/lib/oci/application_migration/models/create_migration_details.rb +54 -12
- data/lib/oci/application_migration/models/create_source_details.rb +13 -8
- data/lib/oci/application_migration/models/discovery_details.rb +2 -2
- data/lib/oci/application_migration/models/ics_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/internal_authorization_details.rb +1 -1
- data/lib/oci/application_migration/models/internal_source_details.rb +2 -2
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +5 -3
- data/lib/oci/application_migration/models/migration.rb +111 -18
- data/lib/oci/application_migration/models/migration_summary.rb +63 -15
- data/lib/oci/application_migration/models/oac_discovery_details.rb +3 -3
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +1 -1
- data/lib/oci/application_migration/models/ocic_source_details.rb +8 -3
- data/lib/oci/application_migration/models/oic_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +5 -3
- data/lib/oci/application_migration/models/source.rb +41 -13
- data/lib/oci/application_migration/models/source_application.rb +6 -6
- data/lib/oci/application_migration/models/source_application_summary.rb +7 -6
- data/lib/oci/application_migration/models/source_details.rb +10 -2
- data/lib/oci/application_migration/models/source_summary.rb +36 -14
- data/lib/oci/application_migration/models/target_database_types.rb +11 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +15 -7
- data/lib/oci/application_migration/models/update_source_details.rb +7 -7
- data/lib/oci/application_migration/models/work_request.rb +54 -3
- data/lib/oci/application_migration/models/work_request_error.rb +1 -1
- data/lib/oci/application_migration/models/work_request_log_entry.rb +2 -2
- data/lib/oci/application_migration/models/work_request_resource.rb +1 -1
- data/lib/oci/application_migration/models/work_request_summary.rb +54 -3
- data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +1 -1
- data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +522 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
- data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
- data/lib/oci/compute_instance_agent/util.rb +3 -0
- data/lib/oci/container_engine/container_engine_client.rb +0 -11
- data/lib/oci/container_engine/models/create_node_shape_config_details.rb +19 -4
- data/lib/oci/container_engine/models/node_shape_config.rb +19 -4
- data/lib/oci/container_engine/models/update_node_shape_config_details.rb +19 -4
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/create_vcn_details.rb +24 -2
- data/lib/oci/core/models/create_vlan_details.rb +1 -0
- data/lib/oci/core/models/image_memory_constraints.rb +17 -17
- data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
- data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/subnet.rb +1 -0
- data/lib/oci/core/models/update_subnet_details.rb +27 -4
- data/lib/oci/core/models/update_vlan_details.rb +25 -4
- data/lib/oci/core/models/vcn.rb +18 -2
- data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
- data/lib/oci/core/virtual_network_client.rb +289 -4
- data/lib/oci/data_catalog/data_catalog.rb +30 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +1763 -112
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +413 -0
- data/lib/oci/data_catalog/models/attribute.rb +15 -1
- data/lib/oci/data_catalog/models/connection.rb +15 -1
- data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_connection_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_entity_details.rb +43 -1
- data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_glossary_details.rb +18 -4
- data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +18 -4
- data/lib/oci/data_catalog/models/custom_property.rb +506 -0
- data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
- data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
- data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
- data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
- data/lib/oci/data_catalog/models/data_asset.rb +29 -1
- data/lib/oci/{log_analytics/models/string_list_details.rb → data_catalog/models/data_selector_pattern_details.rb} +11 -10
- data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
- data/lib/oci/data_catalog/models/entity.rb +43 -1
- data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +160 -0
- data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
- data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
- data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
- data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
- data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
- data/lib/oci/data_catalog/models/folder.rb +15 -1
- data/lib/oci/data_catalog/models/glossary.rb +73 -1
- data/lib/oci/data_catalog/models/glossary_summary.rb +62 -4
- data/lib/oci/data_catalog/models/namespace.rb +290 -0
- data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
- data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
- data/lib/oci/data_catalog/models/pattern.rb +368 -0
- data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
- data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +47 -4
- data/lib/oci/data_catalog/models/search_result.rb +28 -4
- data/lib/oci/data_catalog/models/search_result_collection.rb +28 -4
- data/lib/oci/data_catalog/models/term.rb +18 -4
- data/lib/oci/data_catalog/models/type.rb +18 -4
- data/lib/oci/{log_analytics/models/register_entity_types_details.rb → data_catalog/models/type_custom_property_details.rb} +13 -13
- data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_connection_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_entity_details.rb +43 -1
- data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_glossary_details.rb +18 -4
- data/lib/oci/data_catalog/models/update_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +18 -4
- data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
- data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
- data/lib/oci/data_integration/models/source.rb +1 -0
- data/lib/oci/database/database.rb +19 -0
- data/lib/oci/database/database_client.rb +1112 -8
- data/lib/oci/database/database_client_composite_operations.rb +281 -0
- data/lib/oci/database/models/autonomous_container_database.rb +80 -4
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
- data/lib/oci/database/models/autonomous_container_database_summary.rb +80 -4
- data/lib/oci/database/models/autonomous_database.rb +141 -8
- data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
- data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +141 -8
- data/lib/oci/database/models/autonomous_db_version_summary.rb +46 -4
- data/lib/oci/{log_analytics/models/query.rb → database/models/change_key_store_compartment_details.rb} +5 -3
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +138 -5
- data/lib/oci/database/models/create_autonomous_database_base.rb +30 -5
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +5 -1
- data/lib/oci/database/models/create_data_guard_association_details.rb +15 -1
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +24 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +24 -4
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +5 -1
- data/lib/oci/database/models/create_database_details.rb +15 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +1 -1
- data/lib/oci/database/models/create_key_store_details.rb +217 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/database.rb +1 -0
- data/lib/oci/database/models/database_software_image.rb +18 -4
- data/lib/oci/database/models/database_software_image_summary.rb +18 -4
- data/lib/oci/database/models/database_summary.rb +1 -0
- data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
- data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
- data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
- data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
- data/lib/oci/database/models/db_system.rb +1 -0
- data/lib/oci/database/models/db_system_summary.rb +1 -0
- data/lib/oci/database/models/db_version_summary.rb +18 -4
- data/lib/oci/database/models/key_store.rb +300 -0
- data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
- data/lib/oci/database/models/key_store_summary.rb +303 -0
- data/lib/oci/database/models/key_store_type_details.rb +185 -0
- data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
- data/lib/oci/database/models/maintenance_run.rb +18 -4
- data/lib/oci/database/models/maintenance_run_summary.rb +18 -4
- data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
- data/lib/oci/database/models/update.rb +1 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +17 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +30 -5
- data/lib/oci/database/models/update_database_details.rb +43 -1
- data/lib/oci/database/models/update_history_entry.rb +1 -0
- data/lib/oci/database/models/update_history_entry_summary.rb +1 -0
- data/lib/oci/database/models/update_key_store_details.rb +187 -0
- data/lib/oci/database/models/update_summary.rb +1 -0
- data/lib/oci/database/models/upgrade_database_details.rb +179 -0
- data/lib/oci/dns/dns.rb +24 -0
- data/lib/oci/dns/dns_client.rb +1695 -175
- data/lib/oci/dns/dns_client_composite_operations.rb +240 -0
- data/lib/oci/{log_analytics/models/service_tenancy.rb → dns/models/attached_view.rb} +13 -12
- data/lib/oci/dns/models/attached_view_details.rb +155 -0
- data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
- data/lib/oci/{log_analytics/models/query_work_request_resource.rb → dns/models/change_view_compartment_details.rb} +5 -3
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -0
- data/lib/oci/dns/models/create_view_details.rb +210 -0
- data/lib/oci/dns/models/create_zone_details.rb +41 -2
- data/lib/oci/dns/models/migration_replacement.rb +1 -1
- data/lib/oci/dns/models/record.rb +1 -2
- data/lib/oci/dns/models/record_collection.rb +1 -0
- data/lib/oci/dns/models/record_details.rb +1 -2
- data/lib/oci/dns/models/record_operation.rb +1 -2
- data/lib/oci/dns/models/resolver.rb +393 -0
- data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
- data/lib/oci/{log_analytics/models/generate_agent_object_name_details.rb → dns/models/resolver_forward_rule.rb} +42 -51
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
- data/lib/oci/dns/models/resolver_rule.rb +222 -0
- data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
- data/lib/oci/dns/models/resolver_summary.rb +357 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
- data/lib/oci/dns/models/rr_set.rb +1 -0
- data/lib/oci/{log_analytics/models/sort_orders.rb → dns/models/scope.rb} +4 -4
- data/lib/oci/dns/models/steering_policy.rb +12 -12
- data/lib/oci/dns/models/steering_policy_answer.rb +1 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +10 -10
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +10 -10
- data/lib/oci/dns/models/steering_policy_summary.rb +10 -10
- data/lib/oci/dns/models/tsig_key.rb +10 -10
- data/lib/oci/dns/models/tsig_key_summary.rb +9 -9
- data/lib/oci/dns/models/update_resolver_details.rb +221 -0
- data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
- data/lib/oci/dns/models/update_view_details.rb +196 -0
- data/lib/oci/{log_analytics/models/log_analytics.rb → dns/models/view.rb} +105 -77
- data/lib/oci/dns/models/view_summary.rb +321 -0
- data/lib/oci/dns/models/zone.rb +75 -14
- data/lib/oci/dns/models/zone_summary.rb +76 -15
- data/lib/oci/functions/functions_management_client.rb +1 -1
- data/lib/oci/functions/models/application.rb +21 -2
- data/lib/oci/functions/models/application_summary.rb +1 -1
- data/lib/oci/functions/models/create_application_details.rb +20 -1
- data/lib/oci/functions/models/function.rb +1 -1
- data/lib/oci/functions/models/function_summary.rb +1 -1
- data/lib/oci/functions/models/update_application_details.rb +20 -1
- data/lib/oci/identity/identity.rb +5 -0
- data/lib/oci/identity/identity_client.rb +152 -23
- data/lib/oci/identity/identity_client_composite_operations.rb +48 -0
- data/lib/oci/identity/models/bulk_edit_operation_details.rb +193 -0
- data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -0
- data/lib/oci/identity/models/customer_secret_key.rb +3 -3
- data/lib/oci/identity/models/tagging_work_request.rb +4 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +4 -0
- data/lib/oci/identity/models/user.rb +54 -4
- data/lib/oci/identity/models/work_request_resource.rb +1 -0
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
- data/lib/oci/load_balancer/models/ip_address.rb +17 -4
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +0 -2
- data/lib/oci/{log_analytics/models/log_analytics_collection_warning.rb → load_balancer/models/reserved_ip.rb} +2 -4
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +7 -6
- data/lib/oci/log_analytics/log_analytics.rb +0 -15
- data/lib/oci/log_analytics/log_analytics_client.rb +193 -180
- data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +68 -17
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +1 -1
- data/lib/oci/log_analytics/models/archiving_configuration.rb +3 -3
- data/lib/oci/log_analytics/models/bucket_range.rb +1 -1
- data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +1 -1
- data/lib/oci/log_analytics/models/char_encoding_collection.rb +2 -2
- data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +4 -6
- data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +6 -6
- data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +1 -1
- data/lib/oci/log_analytics/models/export_content.rb +1 -0
- data/lib/oci/log_analytics/models/extract_log_field_results.rb +1 -1
- data/lib/oci/log_analytics/models/extract_log_header_details.rb +1 -1
- data/lib/oci/log_analytics/models/extract_log_header_results.rb +1 -1
- data/lib/oci/log_analytics/models/file_validation_response.rb +3 -3
- data/lib/oci/log_analytics/models/filter.rb +1 -1
- data/lib/oci/log_analytics/models/filter_details.rb +1 -1
- data/lib/oci/log_analytics/models/label_source_summary.rb +1 -1
- data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +36 -4
- data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +1 -1
- data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +0 -1
- data/lib/oci/log_analytics/models/log_analytics_lookup.rb +0 -2
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +4 -6
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +1 -3
- data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +3 -3
- data/lib/oci/log_analytics/models/namespace.rb +5 -4
- data/lib/oci/log_analytics/models/namespace_collection.rb +2 -2
- data/lib/oci/log_analytics/models/namespace_summary.rb +5 -4
- data/lib/oci/log_analytics/models/parsed_content.rb +2 -2
- data/lib/oci/log_analytics/models/parsed_field.rb +1 -1
- data/lib/oci/log_analytics/models/purge_storage_data_details.rb +6 -6
- data/lib/oci/log_analytics/models/query_aggregation.rb +1 -1
- data/lib/oci/log_analytics/models/query_details.rb +5 -5
- data/lib/oci/log_analytics/models/recall_archived_data_details.rb +5 -5
- data/lib/oci/log_analytics/models/release_recalled_data_details.rb +5 -5
- data/lib/oci/log_analytics/models/scope_filter.rb +1 -1
- data/lib/oci/log_analytics/models/source_validate_details.rb +1 -1
- data/lib/oci/log_analytics/models/source_validate_results.rb +1 -1
- data/lib/oci/log_analytics/models/storage.rb +2 -2
- data/lib/oci/log_analytics/models/storage_usage.rb +4 -4
- data/lib/oci/log_analytics/models/storage_work_request.rb +14 -14
- data/lib/oci/log_analytics/models/storage_work_request_collection.rb +2 -2
- data/lib/oci/log_analytics/models/storage_work_request_summary.rb +14 -14
- data/lib/oci/log_analytics/models/timezone_collection.rb +2 -2
- data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +3 -3
- data/lib/oci/log_analytics/models/update_storage_details.rb +1 -1
- data/lib/oci/log_analytics/models/upload.rb +1 -1
- data/lib/oci/log_analytics/models/upload_collection.rb +1 -1
- data/lib/oci/log_analytics/models/upload_file_collection.rb +1 -1
- data/lib/oci/log_analytics/models/upload_summary.rb +1 -1
- data/lib/oci/log_analytics/models/upload_warning_summary.rb +1 -1
- data/lib/oci/log_analytics/models/work_request_error_collection.rb +2 -2
- data/lib/oci/log_analytics/models/work_request_log.rb +3 -3
- data/lib/oci/log_analytics/models/work_request_log_collection.rb +2 -2
- data/lib/oci/logging/logging_management_client.rb +52 -52
- data/lib/oci/logging/logging_management_client_composite_operations.rb +128 -7
- data/lib/oci/logging/models/category.rb +4 -4
- data/lib/oci/logging/models/change_log_group_compartment_details.rb +2 -2
- data/lib/oci/logging/models/change_log_log_group_details.rb +1 -1
- data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +2 -2
- data/lib/oci/logging/models/create_log_details.rb +3 -3
- data/lib/oci/logging/models/create_log_group_details.rb +1 -1
- data/lib/oci/logging/models/create_log_saved_search_details.rb +2 -16
- data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +1 -1
- data/lib/oci/logging/models/grok_pattern.rb +6 -6
- data/lib/oci/logging/models/log.rb +5 -5
- data/lib/oci/logging/models/log_group.rb +3 -3
- data/lib/oci/logging/models/log_group_summary.rb +43 -5
- data/lib/oci/logging/models/log_included_search.rb +1 -1
- data/lib/oci/logging/models/log_included_search_summary.rb +1 -1
- data/lib/oci/logging/models/log_saved_search.rb +44 -19
- data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +5 -1
- data/lib/oci/logging/models/log_saved_search_summary.rb +63 -17
- data/lib/oci/logging/models/log_saved_search_summary_collection.rb +1 -1
- data/lib/oci/logging/models/log_summary.rb +4 -4
- data/lib/oci/logging/models/parameter.rb +2 -2
- data/lib/oci/logging/models/resource_type.rb +2 -2
- data/lib/oci/logging/models/service_summary.rb +6 -6
- data/lib/oci/logging/models/source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_apache2_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_configuration.rb +2 -2
- data/lib/oci/logging/models/unified_agent_configuration_collection.rb +1 -1
- data/lib/oci/logging/models/unified_agent_configuration_summary.rb +4 -4
- data/lib/oci/logging/models/unified_agent_csv_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_grok_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_logging_destination.rb +1 -1
- data/lib/oci/logging/models/unified_agent_logging_source.rb +2 -2
- data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_multiline_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_none_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_parser.rb +7 -7
- data/lib/oci/logging/models/unified_agent_regex_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +1 -1
- data/lib/oci/logging/models/unified_agent_syslog_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tail_log_source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tsv_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_windows_event_source.rb +1 -1
- data/lib/oci/logging/models/unified_json_parser.rb +1 -1
- data/lib/oci/logging/models/update_configuration_details.rb +1 -1
- data/lib/oci/logging/models/update_log_details.rb +3 -3
- data/lib/oci/logging/models/update_log_group_details.rb +1 -1
- data/lib/oci/logging/models/update_log_saved_search_details.rb +2 -16
- data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +2 -2
- data/lib/oci/logging/models/work_request.rb +2 -2
- data/lib/oci/logging/models/work_request_error.rb +3 -3
- data/lib/oci/logging/models/work_request_log.rb +1 -1
- data/lib/oci/logging/models/work_request_resource.rb +3 -3
- data/lib/oci/loggingingestion/logging_client.rb +3 -3
- data/lib/oci/loggingingestion/models/log_entry.rb +4 -5
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +7 -7
- data/lib/oci/loggingsearch/log_search_client.rb +3 -3
- data/lib/oci/loggingsearch/models/field_info.rb +1 -1
- data/lib/oci/loggingsearch/models/search_logs_details.rb +2 -2
- data/lib/oci/loggingsearch/models/search_result.rb +2 -2
- data/lib/oci/management_dashboard/dashx_apis_client.rb +31 -32
- data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +2 -2
- data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +2 -2
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +18 -18
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -15
- data/lib/oci/management_dashboard/models/management_dashboard.rb +23 -23
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +1 -1
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +19 -19
- data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +1 -1
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +14 -14
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +14 -12
- data/lib/oci/management_dashboard/models/management_saved_search.rb +19 -19
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +15 -15
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +46 -18
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +17 -17
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -15
- data/lib/oci/mysql/db_system_client.rb +611 -2
- data/lib/oci/mysql/db_system_client_composite_operations.rb +345 -0
- data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
- data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
- data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
- data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
- data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
- data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/db_system.rb +31 -1
- data/lib/oci/mysql/models/db_system_summary.rb +31 -1
- data/lib/oci/mysql/models/shape_summary.rb +46 -4
- data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
- data/lib/oci/mysql/models/work_request.rb +7 -0
- data/lib/oci/mysql/models/work_request_operation_type.rb +8 -1
- data/lib/oci/mysql/models/work_request_summary.rb +7 -0
- data/lib/oci/mysql/mysql.rb +9 -0
- data/lib/oci/mysql/mysqlaas_client.rb +14 -0
- data/lib/oci/nosql/models/create_table_details.rb +15 -1
- data/lib/oci/nosql/models/table.rb +55 -4
- data/lib/oci/nosql/models/table_collection.rb +32 -4
- data/lib/oci/nosql/models/table_summary.rb +54 -4
- data/lib/oci/nosql/nosql_client.rb +6 -6
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +6 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +4 -2
- data/lib/oci/ocvp/models/create_sddc_details.rb +35 -3
- data/lib/oci/ocvp/models/sddc.rb +89 -1
- data/lib/oci/ocvp/models/sddc_summary.rb +29 -1
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/update_sddc_details.rb +17 -1
- data/lib/oci/opsi/models/database_details.rb +210 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
- data/lib/oci/opsi/models/database_insights.rb +154 -0
- data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
- data/lib/oci/opsi/models/historical_data_item.rb +165 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
- data/lib/oci/opsi/models/projected_data_item.rb +195 -0
- data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
- data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
- data/lib/oci/opsi/models/resource_statistics.rb +219 -0
- data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
- data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
- data/lib/oci/opsi/models/sort_order.rb +11 -0
- data/lib/oci/opsi/models/sql_bucket.rb +307 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +202 -0
- data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +243 -0
- data/lib/oci/opsi/models/sql_inventory.rb +182 -0
- data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
- data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
- data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
- data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
- data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
- data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
- data/lib/oci/opsi/models/sql_statistics.rb +402 -0
- data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
- data/lib/oci/opsi/models/sql_text.rb +248 -0
- data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
- data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
- data/lib/oci/opsi/models/usage_unit.rb +13 -0
- data/lib/oci/opsi/operations_insights_client.rb +2008 -0
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
- data/lib/oci/opsi/opsi.rb +72 -0
- data/lib/oci/opsi/util.rb +3 -0
- data/lib/oci/optimizer/models/action.rb +192 -0
- data/lib/oci/optimizer/models/action_type.rb +10 -0
- data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
- data/lib/oci/optimizer/models/category.rb +298 -0
- data/lib/oci/optimizer/models/category_collection.rb +151 -0
- data/lib/oci/optimizer/models/category_summary.rb +298 -0
- data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
- data/lib/oci/{log_analytics/models/log_analytics_summary.rb → optimizer/models/enrollment_status.rb} +81 -63
- data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
- data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
- data/lib/oci/optimizer/models/history_collection.rb +151 -0
- data/lib/oci/optimizer/models/history_summary.rb +429 -0
- data/lib/oci/optimizer/models/importance.rb +14 -0
- data/lib/oci/{log_analytics/models/field_map.rb → optimizer/models/level_configuration.rb} +19 -24
- data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
- data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
- data/lib/oci/optimizer/models/operation_status.rb +15 -0
- data/lib/oci/optimizer/models/operation_type.rb +10 -0
- data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
- data/lib/oci/optimizer/models/profile.rb +305 -0
- data/lib/oci/optimizer/models/profile_collection.rb +151 -0
- data/lib/oci/optimizer/models/profile_summary.rb +303 -0
- data/lib/oci/optimizer/models/recommendation.rb +409 -0
- data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
- data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
- data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
- data/lib/oci/optimizer/models/resource_action.rb +450 -0
- data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
- data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
- data/lib/oci/optimizer/models/resource_count.rb +182 -0
- data/lib/oci/optimizer/models/sort_order.rb +11 -0
- data/lib/oci/optimizer/models/status.rb +13 -0
- data/lib/oci/{log_analytics/models/agent_upload.rb → optimizer/models/supported_level.rb} +3 -3
- data/lib/oci/optimizer/models/supported_levels.rb +153 -0
- data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
- data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
- data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
- data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
- data/lib/oci/optimizer/models/work_request.rb +300 -0
- data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
- data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_error.rb +173 -0
- data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
- data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/{log_analytics/models/out_of_box_entity_type_details.rb → optimizer/models/work_request_resource.rb} +60 -57
- data/lib/oci/optimizer/optimizer.rb +66 -0
- data/lib/oci/optimizer/optimizer_client.rb +1652 -0
- data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
- data/lib/oci/optimizer/util.rb +3 -0
- data/lib/oci/regions.rb +5 -1
- data/lib/oci/sch/models/service_connector.rb +1 -1
- data/lib/oci/sch/models/source_details.rb +1 -1
- data/lib/oci/sch/models/target_details.rb +1 -1
- data/lib/oci/sch/models/task_details.rb +1 -1
- data/lib/oci/sch/models/work_request.rb +1 -1
- data/lib/oci/sch/service_connector_client.rb +8 -8
- data/lib/oci/signer.rb +3 -1
- data/lib/oci/tenant_manager_control_plane/link_client.rb +287 -0
- data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
- data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
- data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
- data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +425 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +435 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
- data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +356 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
- data/lib/oci/usage_api/models/configuration.rb +3 -3
- data/lib/oci/usage_api/models/configuration_aggregation.rb +2 -2
- data/lib/oci/usage_api/models/dimension.rb +3 -3
- data/lib/oci/usage_api/models/filter.rb +1 -1
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +12 -12
- data/lib/oci/usage_api/models/tag.rb +3 -3
- data/lib/oci/usage_api/models/usage_aggregation.rb +1 -1
- data/lib/oci/usage_api/models/usage_summary.rb +47 -19
- data/lib/oci/usage_api/usageapi_client.rb +4 -4
- data/lib/oci/version.rb +1 -1
- metadata +273 -17
- data/lib/oci/log_analytics/models/attribute.rb +0 -435
|
@@ -25,6 +25,7 @@ module OCI
|
|
|
25
25
|
LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'.freeze,
|
|
26
26
|
LIFECYCLE_STATE_TERMINATING = 'TERMINATING'.freeze,
|
|
27
27
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED'.freeze,
|
|
28
|
+
LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
|
|
28
29
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
29
30
|
].freeze
|
|
30
31
|
|
|
@@ -47,6 +47,19 @@ module OCI
|
|
|
47
47
|
# @return [Array<String>]
|
|
48
48
|
attr_accessor :security_list_ids
|
|
49
49
|
|
|
50
|
+
# The CIDR IP address block of the Subnet. The CIDR must maintain the following rules -
|
|
51
|
+
#
|
|
52
|
+
# a. The CIDR block is valid and correctly formatted.
|
|
53
|
+
# b. The new range is within one of the parent VCN ranges.
|
|
54
|
+
# c. The old and new CIDR ranges both use the same base address. Example: 10.0.0.0/25 and 10.0.0.0/24.
|
|
55
|
+
# d. The new CIDR range contains all previously allocated private IP addresses in the old CIDR range.
|
|
56
|
+
# e. No previously allocated IP address overlaps the broadcast address (the last IP of a subnet CIDR range) of the new CIDR range.
|
|
57
|
+
#
|
|
58
|
+
# Example: `172.16.0.0/16`
|
|
59
|
+
#
|
|
60
|
+
# @return [String]
|
|
61
|
+
attr_accessor :cidr_block
|
|
62
|
+
|
|
50
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
51
64
|
def self.attribute_map
|
|
52
65
|
{
|
|
@@ -56,7 +69,8 @@ module OCI
|
|
|
56
69
|
'display_name': :'displayName',
|
|
57
70
|
'freeform_tags': :'freeformTags',
|
|
58
71
|
'route_table_id': :'routeTableId',
|
|
59
|
-
'security_list_ids': :'securityListIds'
|
|
72
|
+
'security_list_ids': :'securityListIds',
|
|
73
|
+
'cidr_block': :'cidrBlock'
|
|
60
74
|
# rubocop:enable Style/SymbolLiteral
|
|
61
75
|
}
|
|
62
76
|
end
|
|
@@ -70,7 +84,8 @@ module OCI
|
|
|
70
84
|
'display_name': :'String',
|
|
71
85
|
'freeform_tags': :'Hash<String, String>',
|
|
72
86
|
'route_table_id': :'String',
|
|
73
|
-
'security_list_ids': :'Array<String>'
|
|
87
|
+
'security_list_ids': :'Array<String>',
|
|
88
|
+
'cidr_block': :'String'
|
|
74
89
|
# rubocop:enable Style/SymbolLiteral
|
|
75
90
|
}
|
|
76
91
|
end
|
|
@@ -87,6 +102,7 @@ module OCI
|
|
|
87
102
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
88
103
|
# @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
|
|
89
104
|
# @option attributes [Array<String>] :security_list_ids The value to assign to the {#security_list_ids} property
|
|
105
|
+
# @option attributes [String] :cidr_block The value to assign to the {#cidr_block} property
|
|
90
106
|
def initialize(attributes = {})
|
|
91
107
|
return unless attributes.is_a?(Hash)
|
|
92
108
|
|
|
@@ -128,6 +144,12 @@ module OCI
|
|
|
128
144
|
raise 'You cannot provide both :securityListIds and :security_list_ids' if attributes.key?(:'securityListIds') && attributes.key?(:'security_list_ids')
|
|
129
145
|
|
|
130
146
|
self.security_list_ids = attributes[:'security_list_ids'] if attributes[:'security_list_ids']
|
|
147
|
+
|
|
148
|
+
self.cidr_block = attributes[:'cidrBlock'] if attributes[:'cidrBlock']
|
|
149
|
+
|
|
150
|
+
raise 'You cannot provide both :cidrBlock and :cidr_block' if attributes.key?(:'cidrBlock') && attributes.key?(:'cidr_block')
|
|
151
|
+
|
|
152
|
+
self.cidr_block = attributes[:'cidr_block'] if attributes[:'cidr_block']
|
|
131
153
|
end
|
|
132
154
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
133
155
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -146,7 +168,8 @@ module OCI
|
|
|
146
168
|
display_name == other.display_name &&
|
|
147
169
|
freeform_tags == other.freeform_tags &&
|
|
148
170
|
route_table_id == other.route_table_id &&
|
|
149
|
-
security_list_ids == other.security_list_ids
|
|
171
|
+
security_list_ids == other.security_list_ids &&
|
|
172
|
+
cidr_block == other.cidr_block
|
|
150
173
|
end
|
|
151
174
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
152
175
|
|
|
@@ -162,7 +185,7 @@ module OCI
|
|
|
162
185
|
# Calculates hash code according to all attributes.
|
|
163
186
|
# @return [Fixnum] Hash code
|
|
164
187
|
def hash
|
|
165
|
-
[defined_tags, dhcp_options_id, display_name, freeform_tags, route_table_id, security_list_ids].hash
|
|
188
|
+
[defined_tags, dhcp_options_id, display_name, freeform_tags, route_table_id, security_list_ids, cidr_block].hash
|
|
166
189
|
end
|
|
167
190
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
168
191
|
|
|
@@ -42,6 +42,17 @@ module OCI
|
|
|
42
42
|
# @return [String]
|
|
43
43
|
attr_accessor :route_table_id
|
|
44
44
|
|
|
45
|
+
# The CIDR IP address block of the Vlan. The CIDR must maintain the following rules -
|
|
46
|
+
#
|
|
47
|
+
# a. The CIDR block is valid and correctly formatted.
|
|
48
|
+
# b. The new range is within one of the parent VCN ranges.
|
|
49
|
+
# c. The old and new CIDR ranges both use the same base address. Example: 10.0.0.0/25 and 10.0.0.0/24.
|
|
50
|
+
# d. The new CIDR range contains all previously allocated private IP addresses in the old CIDR range.
|
|
51
|
+
# e. No previously allocated IP address overlaps the broadcast address (the last IP of a subnet CIDR range) of the new CIDR range.
|
|
52
|
+
#
|
|
53
|
+
# @return [String]
|
|
54
|
+
attr_accessor :cidr_block
|
|
55
|
+
|
|
45
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
57
|
def self.attribute_map
|
|
47
58
|
{
|
|
@@ -50,7 +61,8 @@ module OCI
|
|
|
50
61
|
'display_name': :'displayName',
|
|
51
62
|
'freeform_tags': :'freeformTags',
|
|
52
63
|
'nsg_ids': :'nsgIds',
|
|
53
|
-
'route_table_id': :'routeTableId'
|
|
64
|
+
'route_table_id': :'routeTableId',
|
|
65
|
+
'cidr_block': :'cidrBlock'
|
|
54
66
|
# rubocop:enable Style/SymbolLiteral
|
|
55
67
|
}
|
|
56
68
|
end
|
|
@@ -63,7 +75,8 @@ module OCI
|
|
|
63
75
|
'display_name': :'String',
|
|
64
76
|
'freeform_tags': :'Hash<String, String>',
|
|
65
77
|
'nsg_ids': :'Array<String>',
|
|
66
|
-
'route_table_id': :'String'
|
|
78
|
+
'route_table_id': :'String',
|
|
79
|
+
'cidr_block': :'String'
|
|
67
80
|
# rubocop:enable Style/SymbolLiteral
|
|
68
81
|
}
|
|
69
82
|
end
|
|
@@ -79,6 +92,7 @@ module OCI
|
|
|
79
92
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
80
93
|
# @option attributes [Array<String>] :nsg_ids The value to assign to the {#nsg_ids} property
|
|
81
94
|
# @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
|
|
95
|
+
# @option attributes [String] :cidr_block The value to assign to the {#cidr_block} property
|
|
82
96
|
def initialize(attributes = {})
|
|
83
97
|
return unless attributes.is_a?(Hash)
|
|
84
98
|
|
|
@@ -114,6 +128,12 @@ module OCI
|
|
|
114
128
|
raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
|
|
115
129
|
|
|
116
130
|
self.route_table_id = attributes[:'route_table_id'] if attributes[:'route_table_id']
|
|
131
|
+
|
|
132
|
+
self.cidr_block = attributes[:'cidrBlock'] if attributes[:'cidrBlock']
|
|
133
|
+
|
|
134
|
+
raise 'You cannot provide both :cidrBlock and :cidr_block' if attributes.key?(:'cidrBlock') && attributes.key?(:'cidr_block')
|
|
135
|
+
|
|
136
|
+
self.cidr_block = attributes[:'cidr_block'] if attributes[:'cidr_block']
|
|
117
137
|
end
|
|
118
138
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
119
139
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -131,7 +151,8 @@ module OCI
|
|
|
131
151
|
display_name == other.display_name &&
|
|
132
152
|
freeform_tags == other.freeform_tags &&
|
|
133
153
|
nsg_ids == other.nsg_ids &&
|
|
134
|
-
route_table_id == other.route_table_id
|
|
154
|
+
route_table_id == other.route_table_id &&
|
|
155
|
+
cidr_block == other.cidr_block
|
|
135
156
|
end
|
|
136
157
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
137
158
|
|
|
@@ -147,7 +168,7 @@ module OCI
|
|
|
147
168
|
# Calculates hash code according to all attributes.
|
|
148
169
|
# @return [Fixnum] Hash code
|
|
149
170
|
def hash
|
|
150
|
-
[defined_tags, display_name, freeform_tags, nsg_ids, route_table_id].hash
|
|
171
|
+
[defined_tags, display_name, freeform_tags, nsg_ids, route_table_id, cidr_block].hash
|
|
151
172
|
end
|
|
152
173
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
153
174
|
|
data/lib/oci/core/models/vcn.rb
CHANGED
|
@@ -22,16 +22,22 @@ module OCI
|
|
|
22
22
|
LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'.freeze,
|
|
23
23
|
LIFECYCLE_STATE_TERMINATING = 'TERMINATING'.freeze,
|
|
24
24
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED'.freeze,
|
|
25
|
+
LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
|
|
25
26
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
26
27
|
].freeze
|
|
27
28
|
|
|
28
|
-
# **[Required]** The CIDR IP address
|
|
29
|
+
# **[Required]** Deprecated. The first CIDR IP address from cidrBlocks.
|
|
29
30
|
#
|
|
30
31
|
# Example: `172.16.0.0/16`
|
|
31
32
|
#
|
|
32
33
|
# @return [String]
|
|
33
34
|
attr_accessor :cidr_block
|
|
34
35
|
|
|
36
|
+
# **[Required]** The list of IPv4 CIDR blocks the VCN will use.
|
|
37
|
+
#
|
|
38
|
+
# @return [Array<String>]
|
|
39
|
+
attr_accessor :cidr_blocks
|
|
40
|
+
|
|
35
41
|
# **[Required]** The OCID of the compartment containing the VCN.
|
|
36
42
|
# @return [String]
|
|
37
43
|
attr_accessor :compartment_id
|
|
@@ -142,6 +148,7 @@ module OCI
|
|
|
142
148
|
{
|
|
143
149
|
# rubocop:disable Style/SymbolLiteral
|
|
144
150
|
'cidr_block': :'cidrBlock',
|
|
151
|
+
'cidr_blocks': :'cidrBlocks',
|
|
145
152
|
'compartment_id': :'compartmentId',
|
|
146
153
|
'default_dhcp_options_id': :'defaultDhcpOptionsId',
|
|
147
154
|
'default_route_table_id': :'defaultRouteTableId',
|
|
@@ -165,6 +172,7 @@ module OCI
|
|
|
165
172
|
{
|
|
166
173
|
# rubocop:disable Style/SymbolLiteral
|
|
167
174
|
'cidr_block': :'String',
|
|
175
|
+
'cidr_blocks': :'Array<String>',
|
|
168
176
|
'compartment_id': :'String',
|
|
169
177
|
'default_dhcp_options_id': :'String',
|
|
170
178
|
'default_route_table_id': :'String',
|
|
@@ -190,6 +198,7 @@ module OCI
|
|
|
190
198
|
# Initializes the object
|
|
191
199
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
192
200
|
# @option attributes [String] :cidr_block The value to assign to the {#cidr_block} property
|
|
201
|
+
# @option attributes [Array<String>] :cidr_blocks The value to assign to the {#cidr_blocks} property
|
|
193
202
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
194
203
|
# @option attributes [String] :default_dhcp_options_id The value to assign to the {#default_dhcp_options_id} property
|
|
195
204
|
# @option attributes [String] :default_route_table_id The value to assign to the {#default_route_table_id} property
|
|
@@ -216,6 +225,12 @@ module OCI
|
|
|
216
225
|
|
|
217
226
|
self.cidr_block = attributes[:'cidr_block'] if attributes[:'cidr_block']
|
|
218
227
|
|
|
228
|
+
self.cidr_blocks = attributes[:'cidrBlocks'] if attributes[:'cidrBlocks']
|
|
229
|
+
|
|
230
|
+
raise 'You cannot provide both :cidrBlocks and :cidr_blocks' if attributes.key?(:'cidrBlocks') && attributes.key?(:'cidr_blocks')
|
|
231
|
+
|
|
232
|
+
self.cidr_blocks = attributes[:'cidr_blocks'] if attributes[:'cidr_blocks']
|
|
233
|
+
|
|
219
234
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
220
235
|
|
|
221
236
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
@@ -322,6 +337,7 @@ module OCI
|
|
|
322
337
|
|
|
323
338
|
self.class == other.class &&
|
|
324
339
|
cidr_block == other.cidr_block &&
|
|
340
|
+
cidr_blocks == other.cidr_blocks &&
|
|
325
341
|
compartment_id == other.compartment_id &&
|
|
326
342
|
default_dhcp_options_id == other.default_dhcp_options_id &&
|
|
327
343
|
default_route_table_id == other.default_route_table_id &&
|
|
@@ -351,7 +367,7 @@ module OCI
|
|
|
351
367
|
# Calculates hash code according to all attributes.
|
|
352
368
|
# @return [Fixnum] Hash code
|
|
353
369
|
def hash
|
|
354
|
-
[cidr_block, compartment_id, default_dhcp_options_id, default_route_table_id, default_security_list_id, defined_tags, display_name, dns_label, freeform_tags, id, ipv6_cidr_block, ipv6_public_cidr_block, lifecycle_state, time_created, vcn_domain_name].hash
|
|
370
|
+
[cidr_block, cidr_blocks, compartment_id, default_dhcp_options_id, default_route_table_id, default_security_list_id, defined_tags, display_name, dns_label, freeform_tags, id, ipv6_cidr_block, ipv6_public_cidr_block, lifecycle_state, time_created, vcn_domain_name].hash
|
|
355
371
|
end
|
|
356
372
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
357
373
|
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
require 'date'
|
|
5
|
+
require 'logger'
|
|
6
|
+
|
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
8
|
+
module OCI
|
|
9
|
+
# The information about the VCN and the DNS resolver in the association.
|
|
10
|
+
#
|
|
11
|
+
class Core::Models::VcnDnsResolverAssociation
|
|
12
|
+
LIFECYCLE_STATE_ENUM = [
|
|
13
|
+
LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
|
|
14
|
+
LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'.freeze,
|
|
15
|
+
LIFECYCLE_STATE_TERMINATING = 'TERMINATING'.freeze,
|
|
16
|
+
LIFECYCLE_STATE_TERMINATED = 'TERMINATED'.freeze,
|
|
17
|
+
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
18
|
+
].freeze
|
|
19
|
+
|
|
20
|
+
# **[Required]** The OCID of the VCN in the association.
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :vcn_id
|
|
23
|
+
|
|
24
|
+
# The OCID of the DNS resolver in the association.
|
|
25
|
+
#
|
|
26
|
+
# @return [String]
|
|
27
|
+
attr_accessor :dns_resolver_id
|
|
28
|
+
|
|
29
|
+
# **[Required]** The current state of the association.
|
|
30
|
+
# @return [String]
|
|
31
|
+
attr_reader :lifecycle_state
|
|
32
|
+
|
|
33
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
|
+
def self.attribute_map
|
|
35
|
+
{
|
|
36
|
+
# rubocop:disable Style/SymbolLiteral
|
|
37
|
+
'vcn_id': :'vcnId',
|
|
38
|
+
'dns_resolver_id': :'dnsResolverId',
|
|
39
|
+
'lifecycle_state': :'lifecycleState'
|
|
40
|
+
# rubocop:enable Style/SymbolLiteral
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Attribute type mapping.
|
|
45
|
+
def self.swagger_types
|
|
46
|
+
{
|
|
47
|
+
# rubocop:disable Style/SymbolLiteral
|
|
48
|
+
'vcn_id': :'String',
|
|
49
|
+
'dns_resolver_id': :'String',
|
|
50
|
+
'lifecycle_state': :'String'
|
|
51
|
+
# rubocop:enable Style/SymbolLiteral
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
56
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
# Initializes the object
|
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
61
|
+
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
62
|
+
# @option attributes [String] :dns_resolver_id The value to assign to the {#dns_resolver_id} property
|
|
63
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
64
|
+
def initialize(attributes = {})
|
|
65
|
+
return unless attributes.is_a?(Hash)
|
|
66
|
+
|
|
67
|
+
# convert string to symbol for hash key
|
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
69
|
+
|
|
70
|
+
self.vcn_id = attributes[:'vcnId'] if attributes[:'vcnId']
|
|
71
|
+
|
|
72
|
+
raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
|
|
73
|
+
|
|
74
|
+
self.vcn_id = attributes[:'vcn_id'] if attributes[:'vcn_id']
|
|
75
|
+
|
|
76
|
+
self.dns_resolver_id = attributes[:'dnsResolverId'] if attributes[:'dnsResolverId']
|
|
77
|
+
|
|
78
|
+
raise 'You cannot provide both :dnsResolverId and :dns_resolver_id' if attributes.key?(:'dnsResolverId') && attributes.key?(:'dns_resolver_id')
|
|
79
|
+
|
|
80
|
+
self.dns_resolver_id = attributes[:'dns_resolver_id'] if attributes[:'dns_resolver_id']
|
|
81
|
+
|
|
82
|
+
self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
|
|
83
|
+
|
|
84
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
85
|
+
|
|
86
|
+
self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
|
|
87
|
+
end
|
|
88
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
89
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
90
|
+
|
|
91
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
92
|
+
# @param [Object] lifecycle_state Object to be assigned
|
|
93
|
+
def lifecycle_state=(lifecycle_state)
|
|
94
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
95
|
+
if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
|
|
96
|
+
OCI.logger.debug("Unknown value for 'lifecycle_state' [" + lifecycle_state + "]. Mapping to 'LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
97
|
+
@lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
|
|
98
|
+
else
|
|
99
|
+
@lifecycle_state = lifecycle_state
|
|
100
|
+
end
|
|
101
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
# Checks equality by comparing each attribute.
|
|
108
|
+
# @param [Object] other the other object to be compared
|
|
109
|
+
def ==(other)
|
|
110
|
+
return true if equal?(other)
|
|
111
|
+
|
|
112
|
+
self.class == other.class &&
|
|
113
|
+
vcn_id == other.vcn_id &&
|
|
114
|
+
dns_resolver_id == other.dns_resolver_id &&
|
|
115
|
+
lifecycle_state == other.lifecycle_state
|
|
116
|
+
end
|
|
117
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
118
|
+
|
|
119
|
+
# @see the `==` method
|
|
120
|
+
# @param [Object] other the other object to be compared
|
|
121
|
+
def eql?(other)
|
|
122
|
+
self == other
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
# Calculates hash code according to all attributes.
|
|
129
|
+
# @return [Fixnum] Hash code
|
|
130
|
+
def hash
|
|
131
|
+
[vcn_id, dns_resolver_id, lifecycle_state].hash
|
|
132
|
+
end
|
|
133
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
134
|
+
|
|
135
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
# Builds the object from hash
|
|
139
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
140
|
+
# @return [Object] Returns the model itself
|
|
141
|
+
def build_from_hash(attributes)
|
|
142
|
+
return nil unless attributes.is_a?(Hash)
|
|
143
|
+
|
|
144
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
145
|
+
if type =~ /^Array<(.*)>/i
|
|
146
|
+
# check to ensure the input is an array given that the the attribute
|
|
147
|
+
# is documented as an array but the input is not
|
|
148
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
149
|
+
public_method("#{key}=").call(
|
|
150
|
+
attributes[self.class.attribute_map[key]]
|
|
151
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
152
|
+
)
|
|
153
|
+
end
|
|
154
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
155
|
+
public_method("#{key}=").call(
|
|
156
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
157
|
+
)
|
|
158
|
+
end
|
|
159
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
self
|
|
163
|
+
end
|
|
164
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
165
|
+
|
|
166
|
+
# Returns the string representation of the object
|
|
167
|
+
# @return [String] String presentation of the object
|
|
168
|
+
def to_s
|
|
169
|
+
to_hash.to_s
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Returns the object in the form of hash
|
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
|
174
|
+
def to_hash
|
|
175
|
+
hash = {}
|
|
176
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
177
|
+
value = public_method(attr).call
|
|
178
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
179
|
+
|
|
180
|
+
hash[param] = _to_hash(value)
|
|
181
|
+
end
|
|
182
|
+
hash
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
private
|
|
186
|
+
|
|
187
|
+
# Outputs non-array value in the form of hash
|
|
188
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
189
|
+
# @param [Object] value Any valid value
|
|
190
|
+
# @return [Hash] Returns the value in the form of hash
|
|
191
|
+
def _to_hash(value)
|
|
192
|
+
if value.is_a?(Array)
|
|
193
|
+
value.compact.map { |v| _to_hash(v) }
|
|
194
|
+
elsif value.is_a?(Hash)
|
|
195
|
+
{}.tap do |hash|
|
|
196
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
197
|
+
end
|
|
198
|
+
elsif value.respond_to? :to_hash
|
|
199
|
+
value.to_hash
|
|
200
|
+
else
|
|
201
|
+
value
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -227,6 +227,81 @@ module OCI
|
|
|
227
227
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
228
228
|
|
|
229
229
|
|
|
230
|
+
# Add a CIDR to a VCN. The new CIDR must maintain the following rules -
|
|
231
|
+
#
|
|
232
|
+
# a. The CIDR provided is valid
|
|
233
|
+
# b. The new CIDR range should not overlap with any existing CIDRs
|
|
234
|
+
# c. The new CIDR should not exceed the max limit of CIDRs per VCNs
|
|
235
|
+
# d. The new CIDR range does not overlap with any peered VCNs
|
|
236
|
+
#
|
|
237
|
+
# @param [String] vcn_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
238
|
+
# @param [OCI::Core::Models::AddVcnCidrDetails] add_vcn_cidr_details Details object for deleting a VCN CIDR.
|
|
239
|
+
# @param [Hash] opts the optional parameters
|
|
240
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
241
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
242
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
243
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
244
|
+
#
|
|
245
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
246
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
247
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
248
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
249
|
+
# may be rejected).
|
|
250
|
+
#
|
|
251
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
252
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
253
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
254
|
+
#
|
|
255
|
+
# @return [Response] A Response object with data of type nil
|
|
256
|
+
def add_vcn_cidr(vcn_id, add_vcn_cidr_details, opts = {})
|
|
257
|
+
logger.debug 'Calling operation VirtualNetworkClient#add_vcn_cidr.' if logger
|
|
258
|
+
|
|
259
|
+
raise "Missing the required parameter 'vcn_id' when calling add_vcn_cidr." if vcn_id.nil?
|
|
260
|
+
raise "Missing the required parameter 'add_vcn_cidr_details' when calling add_vcn_cidr." if add_vcn_cidr_details.nil?
|
|
261
|
+
raise "Parameter value for 'vcn_id' must not be blank" if OCI::Internal::Util.blank_string?(vcn_id)
|
|
262
|
+
|
|
263
|
+
path = '/vcns/{vcnId}/actions/addCidr'.sub('{vcnId}', vcn_id.to_s)
|
|
264
|
+
operation_signing_strategy = :standard
|
|
265
|
+
|
|
266
|
+
# rubocop:disable Style/NegatedIf
|
|
267
|
+
# Query Params
|
|
268
|
+
query_params = {}
|
|
269
|
+
|
|
270
|
+
# Header Params
|
|
271
|
+
header_params = {}
|
|
272
|
+
header_params[:accept] = 'application/json'
|
|
273
|
+
header_params[:'content-type'] = 'application/json'
|
|
274
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
275
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
276
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
277
|
+
# rubocop:enable Style/NegatedIf
|
|
278
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
279
|
+
|
|
280
|
+
post_body = @api_client.object_to_http_body(add_vcn_cidr_details)
|
|
281
|
+
|
|
282
|
+
# rubocop:disable Metrics/BlockLength
|
|
283
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#add_vcn_cidr') do
|
|
284
|
+
@api_client.call_api(
|
|
285
|
+
:POST,
|
|
286
|
+
path,
|
|
287
|
+
endpoint,
|
|
288
|
+
header_params: header_params,
|
|
289
|
+
query_params: query_params,
|
|
290
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
291
|
+
body: post_body
|
|
292
|
+
)
|
|
293
|
+
end
|
|
294
|
+
# rubocop:enable Metrics/BlockLength
|
|
295
|
+
end
|
|
296
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
297
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
298
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
299
|
+
|
|
300
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
301
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
302
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
303
|
+
|
|
304
|
+
|
|
230
305
|
# initiate route advertisements for the Byoip Range prefix.
|
|
231
306
|
# the prefix must be in PROVISIONED state
|
|
232
307
|
#
|
|
@@ -3473,10 +3548,17 @@ module OCI
|
|
|
3473
3548
|
# Creates a new virtual cloud network (VCN). For more information, see
|
|
3474
3549
|
# [VCNs and Subnets](https://docs.cloud.oracle.com/Content/Network/Tasks/managingVCNs.htm).
|
|
3475
3550
|
#
|
|
3476
|
-
#
|
|
3477
|
-
#
|
|
3478
|
-
#
|
|
3479
|
-
#
|
|
3551
|
+
# To create the VCN, you may specify a list of IPv4 CIDR blocks. The CIDRs must maintain
|
|
3552
|
+
# the following rules -
|
|
3553
|
+
#
|
|
3554
|
+
# a. The list of CIDRs provided are valid
|
|
3555
|
+
# b. There is no overlap between different CIDRs
|
|
3556
|
+
# c. The list of CIDRs does not exceed the max limit of CIDRs per VCN
|
|
3557
|
+
#
|
|
3558
|
+
# Oracle recommends using one of the private IP address ranges specified in [RFC 1918]
|
|
3559
|
+
# (https://tools.ietf.org/html/rfc1918) (10.0.0.0/8, 172.16/12, and 192.168/16). Example:
|
|
3560
|
+
# 172.16.0.0/16. The CIDR blocks can range from /16 to /30, and they must not overlap with
|
|
3561
|
+
# your on-premises network.
|
|
3480
3562
|
#
|
|
3481
3563
|
# For the purposes of access control, you must provide the OCID of the compartment where you want the VCN to
|
|
3482
3564
|
# reside. Consult an Oracle Cloud Infrastructure administrator in your organization if you're not sure which
|
|
@@ -7590,6 +7672,61 @@ module OCI
|
|
|
7590
7672
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
7591
7673
|
# rubocop:enable Lint/UnusedMethodArgument
|
|
7592
7674
|
|
|
7675
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7676
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7677
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
7678
|
+
|
|
7679
|
+
|
|
7680
|
+
# Get the associated DNS resolver information with a vcn
|
|
7681
|
+
# @param [String] vcn_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
7682
|
+
# @param [Hash] opts the optional parameters
|
|
7683
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7684
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
7685
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
7686
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
7687
|
+
#
|
|
7688
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::VcnDnsResolverAssociation VcnDnsResolverAssociation}
|
|
7689
|
+
def get_vcn_dns_resolver_association(vcn_id, opts = {})
|
|
7690
|
+
logger.debug 'Calling operation VirtualNetworkClient#get_vcn_dns_resolver_association.' if logger
|
|
7691
|
+
|
|
7692
|
+
raise "Missing the required parameter 'vcn_id' when calling get_vcn_dns_resolver_association." if vcn_id.nil?
|
|
7693
|
+
raise "Parameter value for 'vcn_id' must not be blank" if OCI::Internal::Util.blank_string?(vcn_id)
|
|
7694
|
+
|
|
7695
|
+
path = '/vcns/{vcnId}/dnsResolverAssociation'.sub('{vcnId}', vcn_id.to_s)
|
|
7696
|
+
operation_signing_strategy = :standard
|
|
7697
|
+
|
|
7698
|
+
# rubocop:disable Style/NegatedIf
|
|
7699
|
+
# Query Params
|
|
7700
|
+
query_params = {}
|
|
7701
|
+
|
|
7702
|
+
# Header Params
|
|
7703
|
+
header_params = {}
|
|
7704
|
+
header_params[:accept] = 'application/json'
|
|
7705
|
+
header_params[:'content-type'] = 'application/json'
|
|
7706
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
7707
|
+
# rubocop:enable Style/NegatedIf
|
|
7708
|
+
|
|
7709
|
+
post_body = nil
|
|
7710
|
+
|
|
7711
|
+
# rubocop:disable Metrics/BlockLength
|
|
7712
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_vcn_dns_resolver_association') do
|
|
7713
|
+
@api_client.call_api(
|
|
7714
|
+
:GET,
|
|
7715
|
+
path,
|
|
7716
|
+
endpoint,
|
|
7717
|
+
header_params: header_params,
|
|
7718
|
+
query_params: query_params,
|
|
7719
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
7720
|
+
body: post_body,
|
|
7721
|
+
return_type: 'OCI::Core::Models::VcnDnsResolverAssociation'
|
|
7722
|
+
)
|
|
7723
|
+
end
|
|
7724
|
+
# rubocop:enable Metrics/BlockLength
|
|
7725
|
+
end
|
|
7726
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7727
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7728
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
7729
|
+
|
|
7593
7730
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7594
7731
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7595
7732
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
@@ -10829,6 +10966,83 @@ module OCI
|
|
|
10829
10966
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
10830
10967
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
10831
10968
|
|
|
10969
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
10970
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
10971
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
10972
|
+
|
|
10973
|
+
|
|
10974
|
+
# Update a CIDR from a VCN. The new CIDR must maintain the following rules -
|
|
10975
|
+
#
|
|
10976
|
+
# a. The CIDR provided is valid
|
|
10977
|
+
# b. The new CIDR range should not overlap with any existing CIDRs
|
|
10978
|
+
# c. The new CIDR should not exceed the max limit of CIDRs per VCNs
|
|
10979
|
+
# d. The new CIDR range does not overlap with any peered VCNs
|
|
10980
|
+
# e. The new CIDR should overlap with any existing route rule within a VCN
|
|
10981
|
+
# f. All existing subnet CIDRs are subsets of the updated CIDR ranges
|
|
10982
|
+
#
|
|
10983
|
+
# @param [String] vcn_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
10984
|
+
# @param [OCI::Core::Models::ModifyVcnCidrDetails] modify_vcn_cidr_details Details object for updating a VCN CIDR.
|
|
10985
|
+
# @param [Hash] opts the optional parameters
|
|
10986
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
10987
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
10988
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
10989
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
10990
|
+
#
|
|
10991
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
10992
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
10993
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
10994
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
10995
|
+
# may be rejected).
|
|
10996
|
+
#
|
|
10997
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
10998
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
10999
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
11000
|
+
#
|
|
11001
|
+
# @return [Response] A Response object with data of type nil
|
|
11002
|
+
def modify_vcn_cidr(vcn_id, modify_vcn_cidr_details, opts = {})
|
|
11003
|
+
logger.debug 'Calling operation VirtualNetworkClient#modify_vcn_cidr.' if logger
|
|
11004
|
+
|
|
11005
|
+
raise "Missing the required parameter 'vcn_id' when calling modify_vcn_cidr." if vcn_id.nil?
|
|
11006
|
+
raise "Missing the required parameter 'modify_vcn_cidr_details' when calling modify_vcn_cidr." if modify_vcn_cidr_details.nil?
|
|
11007
|
+
raise "Parameter value for 'vcn_id' must not be blank" if OCI::Internal::Util.blank_string?(vcn_id)
|
|
11008
|
+
|
|
11009
|
+
path = '/vcns/{vcnId}/actions/modifyCidr'.sub('{vcnId}', vcn_id.to_s)
|
|
11010
|
+
operation_signing_strategy = :standard
|
|
11011
|
+
|
|
11012
|
+
# rubocop:disable Style/NegatedIf
|
|
11013
|
+
# Query Params
|
|
11014
|
+
query_params = {}
|
|
11015
|
+
|
|
11016
|
+
# Header Params
|
|
11017
|
+
header_params = {}
|
|
11018
|
+
header_params[:accept] = 'application/json'
|
|
11019
|
+
header_params[:'content-type'] = 'application/json'
|
|
11020
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
11021
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
11022
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
11023
|
+
# rubocop:enable Style/NegatedIf
|
|
11024
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
11025
|
+
|
|
11026
|
+
post_body = @api_client.object_to_http_body(modify_vcn_cidr_details)
|
|
11027
|
+
|
|
11028
|
+
# rubocop:disable Metrics/BlockLength
|
|
11029
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#modify_vcn_cidr') do
|
|
11030
|
+
@api_client.call_api(
|
|
11031
|
+
:POST,
|
|
11032
|
+
path,
|
|
11033
|
+
endpoint,
|
|
11034
|
+
header_params: header_params,
|
|
11035
|
+
query_params: query_params,
|
|
11036
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
11037
|
+
body: post_body
|
|
11038
|
+
)
|
|
11039
|
+
end
|
|
11040
|
+
# rubocop:enable Metrics/BlockLength
|
|
11041
|
+
end
|
|
11042
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
11043
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
11044
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
11045
|
+
|
|
10832
11046
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
10833
11047
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
10834
11048
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
@@ -10957,6 +11171,77 @@ module OCI
|
|
|
10957
11171
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
10958
11172
|
|
|
10959
11173
|
|
|
11174
|
+
# Remove a CIDR from a VCN. The CIDR being removed should not have
|
|
11175
|
+
# any resources allocated from it.
|
|
11176
|
+
#
|
|
11177
|
+
# @param [String] vcn_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
11178
|
+
# @param [OCI::Core::Models::RemoveVcnCidrDetails] remove_vcn_cidr_details Details object for removing a VCN CIDR.
|
|
11179
|
+
# @param [Hash] opts the optional parameters
|
|
11180
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
11181
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
11182
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
11183
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
11184
|
+
#
|
|
11185
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
11186
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
11187
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
11188
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
11189
|
+
# may be rejected).
|
|
11190
|
+
#
|
|
11191
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
11192
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
11193
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
11194
|
+
#
|
|
11195
|
+
# @return [Response] A Response object with data of type nil
|
|
11196
|
+
def remove_vcn_cidr(vcn_id, remove_vcn_cidr_details, opts = {})
|
|
11197
|
+
logger.debug 'Calling operation VirtualNetworkClient#remove_vcn_cidr.' if logger
|
|
11198
|
+
|
|
11199
|
+
raise "Missing the required parameter 'vcn_id' when calling remove_vcn_cidr." if vcn_id.nil?
|
|
11200
|
+
raise "Missing the required parameter 'remove_vcn_cidr_details' when calling remove_vcn_cidr." if remove_vcn_cidr_details.nil?
|
|
11201
|
+
raise "Parameter value for 'vcn_id' must not be blank" if OCI::Internal::Util.blank_string?(vcn_id)
|
|
11202
|
+
|
|
11203
|
+
path = '/vcns/{vcnId}/actions/removeCidr'.sub('{vcnId}', vcn_id.to_s)
|
|
11204
|
+
operation_signing_strategy = :standard
|
|
11205
|
+
|
|
11206
|
+
# rubocop:disable Style/NegatedIf
|
|
11207
|
+
# Query Params
|
|
11208
|
+
query_params = {}
|
|
11209
|
+
|
|
11210
|
+
# Header Params
|
|
11211
|
+
header_params = {}
|
|
11212
|
+
header_params[:accept] = 'application/json'
|
|
11213
|
+
header_params[:'content-type'] = 'application/json'
|
|
11214
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
11215
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
11216
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
11217
|
+
# rubocop:enable Style/NegatedIf
|
|
11218
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
11219
|
+
|
|
11220
|
+
post_body = @api_client.object_to_http_body(remove_vcn_cidr_details)
|
|
11221
|
+
|
|
11222
|
+
# rubocop:disable Metrics/BlockLength
|
|
11223
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#remove_vcn_cidr') do
|
|
11224
|
+
@api_client.call_api(
|
|
11225
|
+
:POST,
|
|
11226
|
+
path,
|
|
11227
|
+
endpoint,
|
|
11228
|
+
header_params: header_params,
|
|
11229
|
+
query_params: query_params,
|
|
11230
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
11231
|
+
body: post_body
|
|
11232
|
+
)
|
|
11233
|
+
end
|
|
11234
|
+
# rubocop:enable Metrics/BlockLength
|
|
11235
|
+
end
|
|
11236
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
11237
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
11238
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
11239
|
+
|
|
11240
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
11241
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
11242
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
11243
|
+
|
|
11244
|
+
|
|
10960
11245
|
# Updates the specified Byoip Range.
|
|
10961
11246
|
#
|
|
10962
11247
|
# @param [String] byoip_range_id The OCID of the Byoip Range object.
|