oci 2.13.0 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -18,6 +18,22 @@ module OCI
|
|
18
18
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
19
19
|
].freeze
|
20
20
|
|
21
|
+
CURRENT_SKU_ENUM = [
|
22
|
+
CURRENT_SKU_HOUR = 'HOUR'.freeze,
|
23
|
+
CURRENT_SKU_MONTH = 'MONTH'.freeze,
|
24
|
+
CURRENT_SKU_ONE_YEAR = 'ONE_YEAR'.freeze,
|
25
|
+
CURRENT_SKU_THREE_YEARS = 'THREE_YEARS'.freeze,
|
26
|
+
CURRENT_SKU_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
27
|
+
].freeze
|
28
|
+
|
29
|
+
NEXT_SKU_ENUM = [
|
30
|
+
NEXT_SKU_HOUR = 'HOUR'.freeze,
|
31
|
+
NEXT_SKU_MONTH = 'MONTH'.freeze,
|
32
|
+
NEXT_SKU_ONE_YEAR = 'ONE_YEAR'.freeze,
|
33
|
+
NEXT_SKU_THREE_YEARS = 'THREE_YEARS'.freeze,
|
34
|
+
NEXT_SKU_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
35
|
+
].freeze
|
36
|
+
|
21
37
|
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ESXi host.
|
22
38
|
#
|
23
39
|
# @return [String]
|
@@ -66,6 +82,25 @@ module OCI
|
|
66
82
|
# @return [String]
|
67
83
|
attr_reader :lifecycle_state
|
68
84
|
|
85
|
+
# **[Required]** Billing option selected during SDDC creation.
|
86
|
+
# {#list_supported_skus list_supported_skus}.
|
87
|
+
#
|
88
|
+
# @return [String]
|
89
|
+
attr_reader :current_sku
|
90
|
+
|
91
|
+
# **[Required]** Billing option to switch to once existing billing cycle ends.
|
92
|
+
# {#list_supported_skus list_supported_skus}.
|
93
|
+
#
|
94
|
+
# @return [String]
|
95
|
+
attr_reader :next_sku
|
96
|
+
|
97
|
+
# **[Required]** Current billing cycle end date. If nextSku is different from existing SKU, then we switch to newSKu
|
98
|
+
# after this contractEndDate
|
99
|
+
# Example: `2016-08-25T21:10:29.600Z`
|
100
|
+
#
|
101
|
+
# @return [DateTime]
|
102
|
+
attr_accessor :billing_contract_end_date
|
103
|
+
|
69
104
|
# **[Required]** Free-form tags for this resource. Each tag is a simple key-value pair with no
|
70
105
|
# predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
71
106
|
#
|
@@ -94,6 +129,9 @@ module OCI
|
|
94
129
|
'time_created': :'timeCreated',
|
95
130
|
'time_updated': :'timeUpdated',
|
96
131
|
'lifecycle_state': :'lifecycleState',
|
132
|
+
'current_sku': :'currentSku',
|
133
|
+
'next_sku': :'nextSku',
|
134
|
+
'billing_contract_end_date': :'billingContractEndDate',
|
97
135
|
'freeform_tags': :'freeformTags',
|
98
136
|
'defined_tags': :'definedTags'
|
99
137
|
# rubocop:enable Style/SymbolLiteral
|
@@ -112,6 +150,9 @@ module OCI
|
|
112
150
|
'time_created': :'DateTime',
|
113
151
|
'time_updated': :'DateTime',
|
114
152
|
'lifecycle_state': :'String',
|
153
|
+
'current_sku': :'String',
|
154
|
+
'next_sku': :'String',
|
155
|
+
'billing_contract_end_date': :'DateTime',
|
115
156
|
'freeform_tags': :'Hash<String, String>',
|
116
157
|
'defined_tags': :'Hash<String, Hash<String, Object>>'
|
117
158
|
# rubocop:enable Style/SymbolLiteral
|
@@ -132,6 +173,9 @@ module OCI
|
|
132
173
|
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
133
174
|
# @option attributes [DateTime] :time_updated The value to assign to the {#time_updated} property
|
134
175
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
176
|
+
# @option attributes [String] :current_sku The value to assign to the {#current_sku} property
|
177
|
+
# @option attributes [String] :next_sku The value to assign to the {#next_sku} property
|
178
|
+
# @option attributes [DateTime] :billing_contract_end_date The value to assign to the {#billing_contract_end_date} property
|
135
179
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
136
180
|
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
137
181
|
def initialize(attributes = {})
|
@@ -184,6 +228,26 @@ module OCI
|
|
184
228
|
|
185
229
|
self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
|
186
230
|
|
231
|
+
self.current_sku = attributes[:'currentSku'] if attributes[:'currentSku']
|
232
|
+
self.current_sku = "MONTH" if current_sku.nil? && !attributes.key?(:'currentSku') # rubocop:disable Style/StringLiterals
|
233
|
+
|
234
|
+
raise 'You cannot provide both :currentSku and :current_sku' if attributes.key?(:'currentSku') && attributes.key?(:'current_sku')
|
235
|
+
|
236
|
+
self.current_sku = attributes[:'current_sku'] if attributes[:'current_sku']
|
237
|
+
self.current_sku = "MONTH" if current_sku.nil? && !attributes.key?(:'currentSku') && !attributes.key?(:'current_sku') # rubocop:disable Style/StringLiterals
|
238
|
+
|
239
|
+
self.next_sku = attributes[:'nextSku'] if attributes[:'nextSku']
|
240
|
+
|
241
|
+
raise 'You cannot provide both :nextSku and :next_sku' if attributes.key?(:'nextSku') && attributes.key?(:'next_sku')
|
242
|
+
|
243
|
+
self.next_sku = attributes[:'next_sku'] if attributes[:'next_sku']
|
244
|
+
|
245
|
+
self.billing_contract_end_date = attributes[:'billingContractEndDate'] if attributes[:'billingContractEndDate']
|
246
|
+
|
247
|
+
raise 'You cannot provide both :billingContractEndDate and :billing_contract_end_date' if attributes.key?(:'billingContractEndDate') && attributes.key?(:'billing_contract_end_date')
|
248
|
+
|
249
|
+
self.billing_contract_end_date = attributes[:'billing_contract_end_date'] if attributes[:'billing_contract_end_date']
|
250
|
+
|
187
251
|
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
188
252
|
|
189
253
|
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
@@ -212,6 +276,32 @@ module OCI
|
|
212
276
|
# rubocop:enable Style/ConditionalAssignment
|
213
277
|
end
|
214
278
|
|
279
|
+
# Custom attribute writer method checking allowed values (enum).
|
280
|
+
# @param [Object] current_sku Object to be assigned
|
281
|
+
def current_sku=(current_sku)
|
282
|
+
# rubocop:disable Style/ConditionalAssignment
|
283
|
+
if current_sku && !CURRENT_SKU_ENUM.include?(current_sku)
|
284
|
+
OCI.logger.debug("Unknown value for 'current_sku' [" + current_sku + "]. Mapping to 'CURRENT_SKU_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
285
|
+
@current_sku = CURRENT_SKU_UNKNOWN_ENUM_VALUE
|
286
|
+
else
|
287
|
+
@current_sku = current_sku
|
288
|
+
end
|
289
|
+
# rubocop:enable Style/ConditionalAssignment
|
290
|
+
end
|
291
|
+
|
292
|
+
# Custom attribute writer method checking allowed values (enum).
|
293
|
+
# @param [Object] next_sku Object to be assigned
|
294
|
+
def next_sku=(next_sku)
|
295
|
+
# rubocop:disable Style/ConditionalAssignment
|
296
|
+
if next_sku && !NEXT_SKU_ENUM.include?(next_sku)
|
297
|
+
OCI.logger.debug("Unknown value for 'next_sku' [" + next_sku + "]. Mapping to 'NEXT_SKU_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
298
|
+
@next_sku = NEXT_SKU_UNKNOWN_ENUM_VALUE
|
299
|
+
else
|
300
|
+
@next_sku = next_sku
|
301
|
+
end
|
302
|
+
# rubocop:enable Style/ConditionalAssignment
|
303
|
+
end
|
304
|
+
|
215
305
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
216
306
|
|
217
307
|
|
@@ -229,6 +319,9 @@ module OCI
|
|
229
319
|
time_created == other.time_created &&
|
230
320
|
time_updated == other.time_updated &&
|
231
321
|
lifecycle_state == other.lifecycle_state &&
|
322
|
+
current_sku == other.current_sku &&
|
323
|
+
next_sku == other.next_sku &&
|
324
|
+
billing_contract_end_date == other.billing_contract_end_date &&
|
232
325
|
freeform_tags == other.freeform_tags &&
|
233
326
|
defined_tags == other.defined_tags
|
234
327
|
end
|
@@ -246,7 +339,7 @@ module OCI
|
|
246
339
|
# Calculates hash code according to all attributes.
|
247
340
|
# @return [Fixnum] Hash code
|
248
341
|
def hash
|
249
|
-
[id, display_name, sddc_id, compartment_id, compute_instance_id, time_created, time_updated, lifecycle_state, freeform_tags, defined_tags].hash
|
342
|
+
[id, display_name, sddc_id, compartment_id, compute_instance_id, time_created, time_updated, lifecycle_state, current_sku, next_sku, billing_contract_end_date, freeform_tags, defined_tags].hash
|
250
343
|
end
|
251
344
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
252
345
|
|
data/lib/oci/ocvp/models/sddc.rb
CHANGED
@@ -17,6 +17,14 @@ module OCI
|
|
17
17
|
# vSAN, and so on). See the Core Services API for information about VCN subnets and VLANs.
|
18
18
|
#
|
19
19
|
class Ocvp::Models::Sddc
|
20
|
+
INITIAL_SKU_ENUM = [
|
21
|
+
INITIAL_SKU_HOUR = 'HOUR'.freeze,
|
22
|
+
INITIAL_SKU_MONTH = 'MONTH'.freeze,
|
23
|
+
INITIAL_SKU_ONE_YEAR = 'ONE_YEAR'.freeze,
|
24
|
+
INITIAL_SKU_THREE_YEARS = 'THREE_YEARS'.freeze,
|
25
|
+
INITIAL_SKU_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
26
|
+
].freeze
|
27
|
+
|
20
28
|
LIFECYCLE_STATE_ENUM = [
|
21
29
|
LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
|
22
30
|
LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
|
@@ -83,6 +91,12 @@ module OCI
|
|
83
91
|
# @return [Integer]
|
84
92
|
attr_accessor :esxi_hosts_count
|
85
93
|
|
94
|
+
# **[Required]** Billing option selected during SDDC creation
|
95
|
+
# {#list_supported_skus list_supported_skus}.
|
96
|
+
#
|
97
|
+
# @return [String]
|
98
|
+
attr_reader :initial_sku
|
99
|
+
|
86
100
|
# **[Required]** The FQDN for vCenter.
|
87
101
|
#
|
88
102
|
# Example: `vcenter-my-sddc.sddc.us-phoenix-1.oraclecloud.com`
|
@@ -401,6 +415,7 @@ module OCI
|
|
401
415
|
'vmware_software_version': :'vmwareSoftwareVersion',
|
402
416
|
'compartment_id': :'compartmentId',
|
403
417
|
'esxi_hosts_count': :'esxiHostsCount',
|
418
|
+
'initial_sku': :'initialSku',
|
404
419
|
'vcenter_fqdn': :'vcenterFqdn',
|
405
420
|
'nsx_manager_fqdn': :'nsxManagerFqdn',
|
406
421
|
'vcenter_private_ip_id': :'vcenterPrivateIpId',
|
@@ -449,6 +464,7 @@ module OCI
|
|
449
464
|
'vmware_software_version': :'String',
|
450
465
|
'compartment_id': :'String',
|
451
466
|
'esxi_hosts_count': :'Integer',
|
467
|
+
'initial_sku': :'String',
|
452
468
|
'vcenter_fqdn': :'String',
|
453
469
|
'nsx_manager_fqdn': :'String',
|
454
470
|
'vcenter_private_ip_id': :'String',
|
@@ -499,6 +515,7 @@ module OCI
|
|
499
515
|
# @option attributes [String] :vmware_software_version The value to assign to the {#vmware_software_version} property
|
500
516
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
501
517
|
# @option attributes [Integer] :esxi_hosts_count The value to assign to the {#esxi_hosts_count} property
|
518
|
+
# @option attributes [String] :initial_sku The value to assign to the {#initial_sku} property
|
502
519
|
# @option attributes [String] :vcenter_fqdn The value to assign to the {#vcenter_fqdn} property
|
503
520
|
# @option attributes [String] :nsx_manager_fqdn The value to assign to the {#nsx_manager_fqdn} property
|
504
521
|
# @option attributes [String] :vcenter_private_ip_id The value to assign to the {#vcenter_private_ip_id} property
|
@@ -576,6 +593,14 @@ module OCI
|
|
576
593
|
|
577
594
|
self.esxi_hosts_count = attributes[:'esxi_hosts_count'] if attributes[:'esxi_hosts_count']
|
578
595
|
|
596
|
+
self.initial_sku = attributes[:'initialSku'] if attributes[:'initialSku']
|
597
|
+
self.initial_sku = "MONTH" if initial_sku.nil? && !attributes.key?(:'initialSku') # rubocop:disable Style/StringLiterals
|
598
|
+
|
599
|
+
raise 'You cannot provide both :initialSku and :initial_sku' if attributes.key?(:'initialSku') && attributes.key?(:'initial_sku')
|
600
|
+
|
601
|
+
self.initial_sku = attributes[:'initial_sku'] if attributes[:'initial_sku']
|
602
|
+
self.initial_sku = "MONTH" if initial_sku.nil? && !attributes.key?(:'initialSku') && !attributes.key?(:'initial_sku') # rubocop:disable Style/StringLiterals
|
603
|
+
|
579
604
|
self.vcenter_fqdn = attributes[:'vcenterFqdn'] if attributes[:'vcenterFqdn']
|
580
605
|
|
581
606
|
raise 'You cannot provide both :vcenterFqdn and :vcenter_fqdn' if attributes.key?(:'vcenterFqdn') && attributes.key?(:'vcenter_fqdn')
|
@@ -777,6 +802,19 @@ module OCI
|
|
777
802
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
778
803
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
779
804
|
|
805
|
+
# Custom attribute writer method checking allowed values (enum).
|
806
|
+
# @param [Object] initial_sku Object to be assigned
|
807
|
+
def initial_sku=(initial_sku)
|
808
|
+
# rubocop:disable Style/ConditionalAssignment
|
809
|
+
if initial_sku && !INITIAL_SKU_ENUM.include?(initial_sku)
|
810
|
+
OCI.logger.debug("Unknown value for 'initial_sku' [" + initial_sku + "]. Mapping to 'INITIAL_SKU_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
811
|
+
@initial_sku = INITIAL_SKU_UNKNOWN_ENUM_VALUE
|
812
|
+
else
|
813
|
+
@initial_sku = initial_sku
|
814
|
+
end
|
815
|
+
# rubocop:enable Style/ConditionalAssignment
|
816
|
+
end
|
817
|
+
|
780
818
|
# Custom attribute writer method checking allowed values (enum).
|
781
819
|
# @param [Object] lifecycle_state Object to be assigned
|
782
820
|
def lifecycle_state=(lifecycle_state)
|
@@ -806,6 +844,7 @@ module OCI
|
|
806
844
|
vmware_software_version == other.vmware_software_version &&
|
807
845
|
compartment_id == other.compartment_id &&
|
808
846
|
esxi_hosts_count == other.esxi_hosts_count &&
|
847
|
+
initial_sku == other.initial_sku &&
|
809
848
|
vcenter_fqdn == other.vcenter_fqdn &&
|
810
849
|
nsx_manager_fqdn == other.nsx_manager_fqdn &&
|
811
850
|
vcenter_private_ip_id == other.vcenter_private_ip_id &&
|
@@ -854,7 +893,7 @@ module OCI
|
|
854
893
|
# Calculates hash code according to all attributes.
|
855
894
|
# @return [Fixnum] Hash code
|
856
895
|
def hash
|
857
|
-
[id, compute_availability_domain, display_name, instance_display_name_prefix, vmware_software_version, compartment_id, esxi_hosts_count, vcenter_fqdn, nsx_manager_fqdn, vcenter_private_ip_id, nsx_manager_private_ip_id, vcenter_initial_password, nsx_manager_initial_password, vcenter_username, nsx_manager_username, ssh_authorized_keys, workload_network_cidr, nsx_overlay_segment_name, nsx_edge_uplink_ip_id, provisioning_subnet_id, vsphere_vlan_id, vmotion_vlan_id, vsan_vlan_id, nsx_v_tep_vlan_id, nsx_edge_v_tep_vlan_id, nsx_edge_uplink1_vlan_id, nsx_edge_uplink2_vlan_id, replication_vlan_id, provisioning_vlan_id, hcx_private_ip_id, hcx_fqdn, hcx_initial_password, hcx_vlan_id, is_hcx_enabled, hcx_on_prem_key, time_created, time_updated, lifecycle_state, freeform_tags, defined_tags].hash
|
896
|
+
[id, compute_availability_domain, display_name, instance_display_name_prefix, vmware_software_version, compartment_id, esxi_hosts_count, initial_sku, vcenter_fqdn, nsx_manager_fqdn, vcenter_private_ip_id, nsx_manager_private_ip_id, vcenter_initial_password, nsx_manager_initial_password, vcenter_username, nsx_manager_username, ssh_authorized_keys, workload_network_cidr, nsx_overlay_segment_name, nsx_edge_uplink_ip_id, provisioning_subnet_id, vsphere_vlan_id, vmotion_vlan_id, vsan_vlan_id, nsx_v_tep_vlan_id, nsx_edge_v_tep_vlan_id, nsx_edge_uplink1_vlan_id, nsx_edge_uplink2_vlan_id, replication_vlan_id, provisioning_vlan_id, hcx_private_ip_id, hcx_fqdn, hcx_initial_password, hcx_vlan_id, is_hcx_enabled, hcx_on_prem_key, time_created, time_updated, lifecycle_state, freeform_tags, defined_tags].hash
|
858
897
|
end
|
859
898
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
860
899
|
|
@@ -0,0 +1,13 @@
|
|
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
|
+
module OCI
|
5
|
+
module Ocvp::Models
|
6
|
+
SKU_ENUM = [
|
7
|
+
SKU_HOUR = 'HOUR'.freeze,
|
8
|
+
SKU_MONTH = 'MONTH'.freeze,
|
9
|
+
SKU_ONE_YEAR = 'ONE_YEAR'.freeze,
|
10
|
+
SKU_THREE_YEARS = 'THREE_YEARS'.freeze
|
11
|
+
].freeze
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,173 @@
|
|
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 'logger'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# A specific SKU. HOUR, MONTH, ONE_YEAR and THREE_YEARS supported by the Oracle Cloud VMware Solution.
|
10
|
+
#
|
11
|
+
class Ocvp::Models::SupportedSkuSummary
|
12
|
+
NAME_ENUM = [
|
13
|
+
NAME_HOUR = 'HOUR'.freeze,
|
14
|
+
NAME_MONTH = 'MONTH'.freeze,
|
15
|
+
NAME_ONE_YEAR = 'ONE_YEAR'.freeze,
|
16
|
+
NAME_THREE_YEARS = 'THREE_YEARS'.freeze,
|
17
|
+
NAME_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
18
|
+
].freeze
|
19
|
+
|
20
|
+
# **[Required]** name of SKU
|
21
|
+
# @return [String]
|
22
|
+
attr_reader :name
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
# rubocop:disable Style/SymbolLiteral
|
28
|
+
'name': :'name'
|
29
|
+
# rubocop:enable Style/SymbolLiteral
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Attribute type mapping.
|
34
|
+
def self.swagger_types
|
35
|
+
{
|
36
|
+
# rubocop:disable Style/SymbolLiteral
|
37
|
+
'name': :'String'
|
38
|
+
# rubocop:enable Style/SymbolLiteral
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
43
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
44
|
+
|
45
|
+
|
46
|
+
# Initializes the object
|
47
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
48
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
49
|
+
def initialize(attributes = {})
|
50
|
+
return unless attributes.is_a?(Hash)
|
51
|
+
|
52
|
+
# convert string to symbol for hash key
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
54
|
+
|
55
|
+
self.name = attributes[:'name'] if attributes[:'name']
|
56
|
+
end
|
57
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
58
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
59
|
+
|
60
|
+
# Custom attribute writer method checking allowed values (enum).
|
61
|
+
# @param [Object] name Object to be assigned
|
62
|
+
def name=(name)
|
63
|
+
# rubocop:disable Style/ConditionalAssignment
|
64
|
+
if name && !NAME_ENUM.include?(name)
|
65
|
+
OCI.logger.debug("Unknown value for 'name' [" + name + "]. Mapping to 'NAME_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
66
|
+
@name = NAME_UNKNOWN_ENUM_VALUE
|
67
|
+
else
|
68
|
+
@name = name
|
69
|
+
end
|
70
|
+
# rubocop:enable Style/ConditionalAssignment
|
71
|
+
end
|
72
|
+
|
73
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
74
|
+
|
75
|
+
|
76
|
+
# Checks equality by comparing each attribute.
|
77
|
+
# @param [Object] other the other object to be compared
|
78
|
+
def ==(other)
|
79
|
+
return true if equal?(other)
|
80
|
+
|
81
|
+
self.class == other.class &&
|
82
|
+
name == other.name
|
83
|
+
end
|
84
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
85
|
+
|
86
|
+
# @see the `==` method
|
87
|
+
# @param [Object] other the other object to be compared
|
88
|
+
def eql?(other)
|
89
|
+
self == other
|
90
|
+
end
|
91
|
+
|
92
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
93
|
+
|
94
|
+
|
95
|
+
# Calculates hash code according to all attributes.
|
96
|
+
# @return [Fixnum] Hash code
|
97
|
+
def hash
|
98
|
+
[name].hash
|
99
|
+
end
|
100
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
101
|
+
|
102
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
103
|
+
|
104
|
+
|
105
|
+
# Builds the object from hash
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
107
|
+
# @return [Object] Returns the model itself
|
108
|
+
def build_from_hash(attributes)
|
109
|
+
return nil unless attributes.is_a?(Hash)
|
110
|
+
|
111
|
+
self.class.swagger_types.each_pair do |key, type|
|
112
|
+
if type =~ /^Array<(.*)>/i
|
113
|
+
# check to ensure the input is an array given that the the attribute
|
114
|
+
# is documented as an array but the input is not
|
115
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
116
|
+
public_method("#{key}=").call(
|
117
|
+
attributes[self.class.attribute_map[key]]
|
118
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
119
|
+
)
|
120
|
+
end
|
121
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
122
|
+
public_method("#{key}=").call(
|
123
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
124
|
+
)
|
125
|
+
end
|
126
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
127
|
+
end
|
128
|
+
|
129
|
+
self
|
130
|
+
end
|
131
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
132
|
+
|
133
|
+
# Returns the string representation of the object
|
134
|
+
# @return [String] String presentation of the object
|
135
|
+
def to_s
|
136
|
+
to_hash.to_s
|
137
|
+
end
|
138
|
+
|
139
|
+
# Returns the object in the form of hash
|
140
|
+
# @return [Hash] Returns the object in the form of hash
|
141
|
+
def to_hash
|
142
|
+
hash = {}
|
143
|
+
self.class.attribute_map.each_pair do |attr, param|
|
144
|
+
value = public_method(attr).call
|
145
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
146
|
+
|
147
|
+
hash[param] = _to_hash(value)
|
148
|
+
end
|
149
|
+
hash
|
150
|
+
end
|
151
|
+
|
152
|
+
private
|
153
|
+
|
154
|
+
# Outputs non-array value in the form of hash
|
155
|
+
# For object, use to_hash. Otherwise, just return the value
|
156
|
+
# @param [Object] value Any valid value
|
157
|
+
# @return [Hash] Returns the value in the form of hash
|
158
|
+
def _to_hash(value)
|
159
|
+
if value.is_a?(Array)
|
160
|
+
value.compact.map { |v| _to_hash(v) }
|
161
|
+
elsif value.is_a?(Hash)
|
162
|
+
{}.tap do |hash|
|
163
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
164
|
+
end
|
165
|
+
elsif value.respond_to? :to_hash
|
166
|
+
value.to_hash
|
167
|
+
else
|
168
|
+
value
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
173
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,150 @@
|
|
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
|
+
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
|
+
module OCI
|
8
|
+
# A specific SKU. HOUR, MONTH, ONE_YEAR and THREE_YEARS supported by the Oracle Cloud VMware Solution.
|
9
|
+
class Ocvp::Models::SupportedSkuSummaryCollection
|
10
|
+
# **[Required]** A list of the supported SKUs.
|
11
|
+
# @return [Array<OCI::Ocvp::Models::SupportedSkuSummary>]
|
12
|
+
attr_accessor :items
|
13
|
+
|
14
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
15
|
+
def self.attribute_map
|
16
|
+
{
|
17
|
+
# rubocop:disable Style/SymbolLiteral
|
18
|
+
'items': :'items'
|
19
|
+
# rubocop:enable Style/SymbolLiteral
|
20
|
+
}
|
21
|
+
end
|
22
|
+
|
23
|
+
# Attribute type mapping.
|
24
|
+
def self.swagger_types
|
25
|
+
{
|
26
|
+
# rubocop:disable Style/SymbolLiteral
|
27
|
+
'items': :'Array<OCI::Ocvp::Models::SupportedSkuSummary>'
|
28
|
+
# rubocop:enable Style/SymbolLiteral
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
33
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
34
|
+
|
35
|
+
|
36
|
+
# Initializes the object
|
37
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
38
|
+
# @option attributes [Array<OCI::Ocvp::Models::SupportedSkuSummary>] :items The value to assign to the {#items} property
|
39
|
+
def initialize(attributes = {})
|
40
|
+
return unless attributes.is_a?(Hash)
|
41
|
+
|
42
|
+
# convert string to symbol for hash key
|
43
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
44
|
+
|
45
|
+
self.items = attributes[:'items'] if attributes[:'items']
|
46
|
+
end
|
47
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
48
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
49
|
+
|
50
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
51
|
+
|
52
|
+
|
53
|
+
# Checks equality by comparing each attribute.
|
54
|
+
# @param [Object] other the other object to be compared
|
55
|
+
def ==(other)
|
56
|
+
return true if equal?(other)
|
57
|
+
|
58
|
+
self.class == other.class &&
|
59
|
+
items == other.items
|
60
|
+
end
|
61
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
62
|
+
|
63
|
+
# @see the `==` method
|
64
|
+
# @param [Object] other the other object to be compared
|
65
|
+
def eql?(other)
|
66
|
+
self == other
|
67
|
+
end
|
68
|
+
|
69
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
70
|
+
|
71
|
+
|
72
|
+
# Calculates hash code according to all attributes.
|
73
|
+
# @return [Fixnum] Hash code
|
74
|
+
def hash
|
75
|
+
[items].hash
|
76
|
+
end
|
77
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
78
|
+
|
79
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
80
|
+
|
81
|
+
|
82
|
+
# Builds the object from hash
|
83
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
84
|
+
# @return [Object] Returns the model itself
|
85
|
+
def build_from_hash(attributes)
|
86
|
+
return nil unless attributes.is_a?(Hash)
|
87
|
+
|
88
|
+
self.class.swagger_types.each_pair do |key, type|
|
89
|
+
if type =~ /^Array<(.*)>/i
|
90
|
+
# check to ensure the input is an array given that the the attribute
|
91
|
+
# is documented as an array but the input is not
|
92
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
93
|
+
public_method("#{key}=").call(
|
94
|
+
attributes[self.class.attribute_map[key]]
|
95
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
96
|
+
)
|
97
|
+
end
|
98
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
99
|
+
public_method("#{key}=").call(
|
100
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
101
|
+
)
|
102
|
+
end
|
103
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
104
|
+
end
|
105
|
+
|
106
|
+
self
|
107
|
+
end
|
108
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
109
|
+
|
110
|
+
# Returns the string representation of the object
|
111
|
+
# @return [String] String presentation of the object
|
112
|
+
def to_s
|
113
|
+
to_hash.to_s
|
114
|
+
end
|
115
|
+
|
116
|
+
# Returns the object in the form of hash
|
117
|
+
# @return [Hash] Returns the object in the form of hash
|
118
|
+
def to_hash
|
119
|
+
hash = {}
|
120
|
+
self.class.attribute_map.each_pair do |attr, param|
|
121
|
+
value = public_method(attr).call
|
122
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
123
|
+
|
124
|
+
hash[param] = _to_hash(value)
|
125
|
+
end
|
126
|
+
hash
|
127
|
+
end
|
128
|
+
|
129
|
+
private
|
130
|
+
|
131
|
+
# Outputs non-array value in the form of hash
|
132
|
+
# For object, use to_hash. Otherwise, just return the value
|
133
|
+
# @param [Object] value Any valid value
|
134
|
+
# @return [Hash] Returns the value in the form of hash
|
135
|
+
def _to_hash(value)
|
136
|
+
if value.is_a?(Array)
|
137
|
+
value.compact.map { |v| _to_hash(v) }
|
138
|
+
elsif value.is_a?(Hash)
|
139
|
+
{}.tap do |hash|
|
140
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
141
|
+
end
|
142
|
+
elsif value.respond_to? :to_hash
|
143
|
+
value.to_hash
|
144
|
+
else
|
145
|
+
value
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
150
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|