oci 2.125.2__py3-none-any.whl → 2.126.0__py3-none-any.whl
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.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +134 -43
- oci/ai_language/models/__init__.py +24 -0
- oci/ai_language/models/assertion_details.py +165 -0
- oci/ai_language/models/batch_detect_health_entity_details.py +223 -0
- oci/ai_language/models/batch_detect_health_entity_result.py +103 -0
- oci/ai_language/models/batch_detect_language_pii_entities_details.py +29 -2
- oci/ai_language/models/health_entity.py +351 -0
- oci/ai_language/models/health_entity_document_result.py +200 -0
- oci/ai_language/models/input_location.py +2 -1
- oci/ai_language/models/mel_concept.py +103 -0
- oci/ai_language/models/mel_concept_details.py +165 -0
- oci/ai_language/models/model_details.py +11 -3
- oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pii_entity.py +118 -7
- oci/ai_language/models/pii_model_details.py +91 -0
- oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
- oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
- oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
- oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
- oci/ai_language/models/pre_trained_summarization.py +1 -1
- oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
- oci/ai_language/models/pre_trained_universal_model.py +1 -1
- oci/ai_language/models/profile.py +134 -0
- oci/ai_language/models/relation_entity.py +196 -0
- oci/ai_language/models/resolved_entities.py +72 -0
- oci/ai_language/models/resolved_entity.py +227 -0
- oci/ai_language/models/text_classification_model_details.py +1 -1
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +5496 -2653
- oci/cloud_guard/cloud_guard_client_composite_operations.py +307 -60
- oci/cloud_guard/models/__init__.py +74 -0
- oci/cloud_guard/models/absolute_time_start_policy.py +3 -3
- oci/cloud_guard/models/activity_problem_aggregation.py +4 -4
- oci/cloud_guard/models/activity_problem_aggregation_collection.py +3 -3
- oci/cloud_guard/models/add_compartment_details.py +1 -1
- oci/cloud_guard/models/adhoc_query.py +532 -0
- oci/cloud_guard/models/adhoc_query_collection.py +103 -0
- oci/cloud_guard/models/adhoc_query_details.py +103 -0
- oci/cloud_guard/models/adhoc_query_regional_details.py +294 -0
- oci/cloud_guard/models/adhoc_query_resource.py +134 -0
- oci/cloud_guard/models/adhoc_query_result_collection.py +72 -0
- oci/cloud_guard/models/adhoc_query_result_summary.py +407 -0
- oci/cloud_guard/models/adhoc_query_summary.py +532 -0
- oci/cloud_guard/models/all_targets_selected.py +1 -1
- oci/cloud_guard/models/attach_target_detector_recipe_details.py +5 -3
- oci/cloud_guard/models/attach_target_responder_recipe_details.py +5 -3
- oci/cloud_guard/models/candidate_responder_rule.py +7 -7
- oci/cloud_guard/models/change_data_source_compartment_details.py +3 -3
- oci/cloud_guard/models/change_detector_recipe_compartment_details.py +3 -3
- oci/cloud_guard/models/change_managed_list_compartment_details.py +3 -3
- oci/cloud_guard/models/change_responder_recipe_compartment_details.py +3 -3
- oci/cloud_guard/models/change_saved_query_compartment_details.py +72 -0
- oci/cloud_guard/models/change_security_policy_compartment_details.py +1 -1
- oci/cloud_guard/models/change_security_recipe_compartment_details.py +1 -1
- oci/cloud_guard/models/change_security_zone_compartment_details.py +1 -1
- oci/cloud_guard/models/composite_condition.py +5 -1
- oci/cloud_guard/models/condition.py +3 -3
- oci/cloud_guard/models/condition_group.py +3 -3
- oci/cloud_guard/models/condition_metadata_type.py +37 -6
- oci/cloud_guard/models/condition_metadata_type_collection.py +36 -5
- oci/cloud_guard/models/condition_metadata_type_summary.py +38 -7
- oci/cloud_guard/models/condition_operator.py +5 -5
- oci/cloud_guard/models/config_value.py +7 -7
- oci/cloud_guard/models/configuration.py +37 -6
- oci/cloud_guard/models/continuous_query_start_policy.py +3 -3
- oci/cloud_guard/models/create_adhoc_query_details.py +169 -0
- oci/cloud_guard/models/create_data_mask_rule_details.py +15 -15
- oci/cloud_guard/models/create_data_source_details.py +16 -12
- oci/cloud_guard/models/create_detector_recipe_details.py +16 -12
- oci/cloud_guard/models/create_detector_recipe_detector_rule_details.py +1 -1
- oci/cloud_guard/models/create_detector_rule_details.py +17 -17
- oci/cloud_guard/models/create_managed_list_details.py +11 -11
- oci/cloud_guard/models/create_responder_recipe_details.py +7 -7
- oci/cloud_guard/models/create_saved_query_details.py +235 -0
- oci/cloud_guard/models/create_security_policy_details.py +11 -11
- oci/cloud_guard/models/create_security_recipe_details.py +11 -7
- oci/cloud_guard/models/create_security_zone_details.py +5 -5
- oci/cloud_guard/models/create_target_details.py +13 -13
- oci/cloud_guard/models/create_target_detector_recipe_details.py +5 -5
- oci/cloud_guard/models/create_target_responder_recipe_details.py +6 -5
- oci/cloud_guard/models/create_wlp_agent_details.py +238 -0
- oci/cloud_guard/models/data_mask_rule.py +50 -19
- oci/cloud_guard/models/data_mask_rule_collection.py +36 -5
- oci/cloud_guard/models/data_mask_rule_summary.py +19 -19
- oci/cloud_guard/models/data_source.py +51 -16
- oci/cloud_guard/models/data_source_collection.py +36 -5
- oci/cloud_guard/models/data_source_details.py +13 -5
- oci/cloud_guard/models/data_source_event_collection.py +36 -5
- oci/cloud_guard/models/data_source_event_info.py +12 -6
- oci/cloud_guard/models/data_source_event_summary.py +7 -7
- oci/cloud_guard/models/data_source_mapping_info.py +5 -5
- oci/cloud_guard/models/data_source_summary.py +20 -16
- oci/cloud_guard/models/data_source_summary_details.py +14 -6
- oci/cloud_guard/models/detector.py +6 -6
- oci/cloud_guard/models/detector_collection.py +3 -3
- oci/cloud_guard/models/detector_configuration.py +73 -11
- oci/cloud_guard/models/detector_details.py +139 -15
- oci/cloud_guard/models/detector_recipe.py +81 -22
- oci/cloud_guard/models/detector_recipe_collection.py +36 -5
- oci/cloud_guard/models/detector_recipe_detector_rule.py +65 -30
- oci/cloud_guard/models/detector_recipe_detector_rule_collection.py +36 -5
- oci/cloud_guard/models/detector_recipe_detector_rule_summary.py +32 -28
- oci/cloud_guard/models/detector_recipe_summary.py +79 -20
- oci/cloud_guard/models/detector_rule.py +60 -25
- oci/cloud_guard/models/detector_rule_collection.py +3 -3
- oci/cloud_guard/models/detector_rule_summary.py +30 -26
- oci/cloud_guard/models/detector_summary.py +40 -9
- oci/cloud_guard/models/entities_mapping.py +5 -5
- oci/cloud_guard/models/entity_details.py +1 -1
- oci/cloud_guard/models/execute_responder_execution_details.py +3 -3
- oci/cloud_guard/models/geographical_location.py +5 -5
- oci/cloud_guard/models/impacted_resource_collection.py +36 -5
- oci/cloud_guard/models/impacted_resource_summary.py +17 -17
- oci/cloud_guard/models/insight_type_logging_query_details.py +1 -1
- oci/cloud_guard/models/instance_security_service_configuration.py +99 -0
- oci/cloud_guard/models/logging_event_info.py +18 -2
- oci/cloud_guard/models/logging_query_data_source_details.py +14 -14
- oci/cloud_guard/models/logging_query_data_source_summary_details.py +8 -8
- oci/cloud_guard/models/logging_query_details.py +3 -3
- oci/cloud_guard/models/managed_list.py +25 -25
- oci/cloud_guard/models/managed_list_collection.py +36 -5
- oci/cloud_guard/models/managed_list_summary.py +25 -25
- oci/cloud_guard/models/managed_list_type_collection.py +36 -5
- oci/cloud_guard/models/managed_list_type_summary.py +39 -8
- oci/cloud_guard/models/no_delay_start_policy.py +1 -1
- oci/cloud_guard/models/operator_summary.py +13 -13
- oci/cloud_guard/models/package_detail.py +227 -0
- oci/cloud_guard/models/policy_collection.py +34 -3
- oci/cloud_guard/models/political_location.py +7 -7
- oci/cloud_guard/models/problem.py +79 -44
- oci/cloud_guard/models/problem_aggregation.py +4 -4
- oci/cloud_guard/models/problem_aggregation_collection.py +3 -3
- oci/cloud_guard/models/problem_collection.py +36 -5
- oci/cloud_guard/models/problem_endpoint_collection.py +36 -5
- oci/cloud_guard/models/problem_endpoint_summary.py +18 -18
- oci/cloud_guard/models/problem_entity_collection.py +35 -4
- oci/cloud_guard/models/problem_entity_summary.py +7 -7
- oci/cloud_guard/models/problem_history_collection.py +36 -5
- oci/cloud_guard/models/problem_history_summary.py +48 -17
- oci/cloud_guard/models/problem_summary.py +69 -34
- oci/cloud_guard/models/problem_trend_aggregation.py +6 -6
- oci/cloud_guard/models/problem_trend_aggregation_collection.py +3 -3
- oci/cloud_guard/models/property_tuple.py +103 -0
- oci/cloud_guard/models/recommendation_summary.py +23 -23
- oci/cloud_guard/models/recommendation_summary_collection.py +36 -5
- oci/cloud_guard/models/region_status_detail.py +5 -5
- oci/cloud_guard/models/remove_compartment_details.py +1 -1
- oci/cloud_guard/models/request_summarized_trend_resource_risk_scores_details.py +5 -5
- oci/cloud_guard/models/resource.py +616 -0
- oci/cloud_guard/models/resource_additional_details.py +72 -0
- oci/cloud_guard/models/resource_collection.py +72 -0
- oci/cloud_guard/models/resource_lock.py +185 -0
- oci/cloud_guard/models/resource_port_collection.py +72 -0
- oci/cloud_guard/models/resource_port_summary.py +247 -0
- oci/cloud_guard/models/resource_profile.py +60 -29
- oci/cloud_guard/models/resource_profile_collection.py +36 -5
- oci/cloud_guard/models/resource_profile_endpoint_collection.py +3 -3
- oci/cloud_guard/models/resource_profile_endpoint_summary.py +29 -29
- oci/cloud_guard/models/resource_profile_impacted_resource_collection.py +35 -4
- oci/cloud_guard/models/resource_profile_impacted_resource_summary.py +19 -19
- oci/cloud_guard/models/resource_profile_risk_score_aggregation_summary.py +5 -5
- oci/cloud_guard/models/resource_profile_risk_score_aggregation_summary_collection.py +3 -3
- oci/cloud_guard/models/resource_profile_summary.py +15 -15
- oci/cloud_guard/models/resource_risk_score_aggregation.py +6 -6
- oci/cloud_guard/models/resource_risk_score_aggregation_collection.py +9 -9
- oci/cloud_guard/models/resource_summary.py +527 -0
- oci/cloud_guard/models/resource_type_collection.py +36 -5
- oci/cloud_guard/models/resource_type_summary.py +38 -7
- oci/cloud_guard/models/resource_vulnerability.py +496 -0
- oci/cloud_guard/models/resource_vulnerability_collection.py +72 -0
- oci/cloud_guard/models/resource_vulnerability_summary.py +279 -0
- oci/cloud_guard/models/responder_activity_collection.py +3 -3
- oci/cloud_guard/models/responder_activity_summary.py +19 -19
- oci/cloud_guard/models/responder_configuration.py +7 -7
- oci/cloud_guard/models/responder_execution.py +58 -27
- oci/cloud_guard/models/responder_execution_aggregation.py +2 -2
- oci/cloud_guard/models/responder_execution_aggregation_collection.py +3 -3
- oci/cloud_guard/models/responder_execution_collection.py +37 -5
- oci/cloud_guard/models/responder_execution_summary.py +17 -17
- oci/cloud_guard/models/responder_execution_trend_aggregation.py +6 -6
- oci/cloud_guard/models/responder_execution_trend_aggregation_collection.py +3 -3
- oci/cloud_guard/models/responder_recipe.py +34 -19
- oci/cloud_guard/models/responder_recipe_collection.py +36 -5
- oci/cloud_guard/models/responder_recipe_responder_rule.py +70 -21
- oci/cloud_guard/models/responder_recipe_responder_rule_collection.py +3 -3
- oci/cloud_guard/models/responder_recipe_responder_rule_summary.py +19 -19
- oci/cloud_guard/models/responder_recipe_summary.py +19 -19
- oci/cloud_guard/models/responder_rule.py +58 -19
- oci/cloud_guard/models/responder_rule_collection.py +36 -5
- oci/cloud_guard/models/responder_rule_details.py +7 -7
- oci/cloud_guard/models/responder_rule_execution_details.py +3 -3
- oci/cloud_guard/models/responder_rule_summary.py +17 -17
- oci/cloud_guard/models/risk_score_aggregation.py +2 -2
- oci/cloud_guard/models/risk_score_aggregation_collection.py +3 -3
- oci/cloud_guard/models/rule_summary.py +7 -7
- oci/cloud_guard/models/saved_query.py +438 -0
- oci/cloud_guard/models/saved_query_collection.py +103 -0
- oci/cloud_guard/models/saved_query_summary.py +500 -0
- oci/cloud_guard/models/scheduled_query_data_source_obj_details.py +175 -0
- oci/cloud_guard/models/scheduled_query_data_source_summary_obj_details.py +175 -0
- oci/cloud_guard/models/scheduled_query_scope_detail.py +134 -0
- oci/cloud_guard/models/security_policy.py +45 -11
- oci/cloud_guard/models/security_policy_collection.py +36 -5
- oci/cloud_guard/models/security_policy_summary.py +16 -15
- oci/cloud_guard/models/security_recipe.py +13 -11
- oci/cloud_guard/models/security_recipe_collection.py +150 -5
- oci/cloud_guard/models/security_recipe_summary.py +9 -9
- oci/cloud_guard/models/security_score_aggregation.py +6 -6
- oci/cloud_guard/models/security_score_aggregation_collection.py +3 -3
- oci/cloud_guard/models/security_score_trend_aggregation.py +4 -4
- oci/cloud_guard/models/security_score_trend_aggregation_collection.py +3 -3
- oci/cloud_guard/models/security_zone.py +11 -9
- oci/cloud_guard/models/security_zone_collection.py +36 -5
- oci/cloud_guard/models/security_zone_summary.py +10 -9
- oci/cloud_guard/models/security_zone_target_details.py +7 -7
- oci/cloud_guard/models/service_configuration.py +101 -0
- oci/cloud_guard/models/service_type_summary.py +5 -5
- oci/cloud_guard/models/sighting.py +55 -24
- oci/cloud_guard/models/sighting_collection.py +36 -5
- oci/cloud_guard/models/sighting_endpoint_collection.py +3 -3
- oci/cloud_guard/models/sighting_endpoint_summary.py +25 -25
- oci/cloud_guard/models/sighting_impacted_resource_collection.py +36 -5
- oci/cloud_guard/models/sighting_impacted_resource_summary.py +13 -13
- oci/cloud_guard/models/sighting_summary.py +27 -27
- oci/cloud_guard/models/sighting_type.py +11 -11
- oci/cloud_guard/models/simple_condition.py +9 -9
- oci/cloud_guard/models/skip_bulk_responder_execution_details.py +3 -3
- oci/cloud_guard/models/tactic_collection.py +36 -5
- oci/cloud_guard/models/tactic_summary.py +3 -3
- oci/cloud_guard/models/target.py +23 -21
- oci/cloud_guard/models/target_collection.py +36 -5
- oci/cloud_guard/models/target_details.py +2 -2
- oci/cloud_guard/models/target_detector_details.py +13 -13
- oci/cloud_guard/models/target_detector_recipe.py +124 -22
- oci/cloud_guard/models/target_detector_recipe_collection.py +36 -5
- oci/cloud_guard/models/target_detector_recipe_detector_rule.py +92 -30
- oci/cloud_guard/models/target_detector_recipe_detector_rule_collection.py +36 -5
- oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.py +63 -28
- oci/cloud_guard/models/target_detector_recipe_summary.py +110 -20
- oci/cloud_guard/models/target_ids_selected.py +3 -3
- oci/cloud_guard/models/target_resource_types_selected.py +3 -3
- oci/cloud_guard/models/target_responder_recipe.py +63 -19
- oci/cloud_guard/models/target_responder_recipe_collection.py +36 -5
- oci/cloud_guard/models/target_responder_recipe_responder_rule.py +32 -19
- oci/cloud_guard/models/target_responder_recipe_responder_rule_collection.py +3 -3
- oci/cloud_guard/models/target_responder_recipe_responder_rule_summary.py +19 -19
- oci/cloud_guard/models/target_responder_recipe_summary.py +50 -19
- oci/cloud_guard/models/target_selected.py +3 -3
- oci/cloud_guard/models/target_summary.py +15 -15
- oci/cloud_guard/models/technique_collection.py +36 -5
- oci/cloud_guard/models/technique_summary.py +3 -3
- oci/cloud_guard/models/trigger_responder_details.py +5 -5
- oci/cloud_guard/models/update_bulk_problem_status_details.py +5 -5
- oci/cloud_guard/models/update_configuration_details.py +36 -5
- oci/cloud_guard/models/update_data_mask_rule_details.py +11 -11
- oci/cloud_guard/models/update_data_source_details.py +5 -5
- oci/cloud_guard/models/update_detector_recipe_details.py +7 -5
- oci/cloud_guard/models/update_detector_recipe_detector_rule.py +3 -3
- oci/cloud_guard/models/update_detector_recipe_detector_rule_details.py +1 -1
- oci/cloud_guard/models/update_detector_rule_details.py +17 -17
- oci/cloud_guard/models/update_managed_list_details.py +3 -3
- oci/cloud_guard/models/update_problem_status_details.py +3 -3
- oci/cloud_guard/models/update_responder_recipe_details.py +7 -7
- oci/cloud_guard/models/update_responder_recipe_responder_rule.py +3 -3
- oci/cloud_guard/models/update_responder_recipe_responder_rule_details.py +1 -1
- oci/cloud_guard/models/update_responder_rule_details.py +3 -3
- oci/cloud_guard/models/update_saved_query_details.py +204 -0
- oci/cloud_guard/models/update_security_policy_details.py +3 -3
- oci/cloud_guard/models/update_security_recipe_details.py +5 -5
- oci/cloud_guard/models/update_security_zone_details.py +5 -5
- oci/cloud_guard/models/update_target_details.py +7 -7
- oci/cloud_guard/models/update_target_detector_recipe.py +5 -5
- oci/cloud_guard/models/update_target_detector_recipe_details.py +7 -7
- oci/cloud_guard/models/update_target_detector_recipe_detector_rule_details.py +1 -1
- oci/cloud_guard/models/update_target_detector_rule_details.py +1 -1
- oci/cloud_guard/models/update_target_recipe_detector_rule_details.py +3 -3
- oci/cloud_guard/models/update_target_recipe_responder_rule_details.py +3 -3
- oci/cloud_guard/models/update_target_responder_recipe.py +5 -5
- oci/cloud_guard/models/update_target_responder_recipe_details.py +7 -3
- oci/cloud_guard/models/update_target_responder_recipe_responder_rule_details.py +1 -1
- oci/cloud_guard/models/update_target_responder_rule_details.py +8 -5
- oci/cloud_guard/models/update_wlp_agent_details.py +143 -0
- oci/cloud_guard/models/wlp_agent.py +469 -0
- oci/cloud_guard/models/wlp_agent_collection.py +103 -0
- oci/cloud_guard/models/wlp_agent_summary.py +406 -0
- oci/cloud_guard/models/work_request.py +54 -23
- oci/cloud_guard/models/work_request_error.py +8 -7
- oci/cloud_guard/models/work_request_error_collection.py +5 -3
- oci/cloud_guard/models/work_request_log_entry.py +4 -4
- oci/cloud_guard/models/work_request_log_entry_collection.py +38 -5
- oci/cloud_guard/models/work_request_resource.py +7 -7
- oci/cloud_guard/models/work_request_summary.py +15 -15
- oci/cloud_guard/models/work_request_summary_collection.py +36 -5
- oci/cloud_migrations/migration_client.py +43 -43
- oci/{application_migration → cluster_placement_groups}/__init__.py +4 -4
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +1705 -0
- oci/cluster_placement_groups/cluster_placement_groups_cp_client_composite_operations.py +238 -0
- oci/cluster_placement_groups/models/__init__.py +46 -0
- oci/cluster_placement_groups/models/capabilities_collection.py +72 -0
- oci/cluster_placement_groups/models/capability_details.py +103 -0
- oci/{application_migration/models/change_compartment_details.py → cluster_placement_groups/models/change_cluster_placement_group_compartment_details.py} +11 -11
- oci/cluster_placement_groups/models/cluster_placement_group.py +568 -0
- oci/cluster_placement_groups/models/cluster_placement_group_collection.py +72 -0
- oci/cluster_placement_groups/models/cluster_placement_group_summary.py +447 -0
- oci/cluster_placement_groups/models/create_cluster_placement_group_details.py +332 -0
- oci/cluster_placement_groups/models/placement_instruction_details.py +115 -0
- oci/cluster_placement_groups/models/update_cluster_placement_group_details.py +138 -0
- oci/{application_migration → cluster_placement_groups}/models/work_request.py +100 -67
- oci/{application_migration → cluster_placement_groups}/models/work_request_error.py +14 -8
- oci/cluster_placement_groups/models/work_request_error_collection.py +72 -0
- oci/{application_migration → cluster_placement_groups}/models/work_request_log_entry.py +10 -6
- oci/cluster_placement_groups/models/work_request_log_entry_collection.py +72 -0
- oci/{application_migration → cluster_placement_groups}/models/work_request_resource.py +87 -50
- oci/{application_migration → cluster_placement_groups}/models/work_request_summary.py +128 -70
- oci/cluster_placement_groups/models/work_request_summary_collection.py +72 -0
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +65 -60
- oci/core/compute_client.py +101 -103
- oci/core/compute_client_composite_operations.py +1 -2
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/boot_volume.py +31 -0
- oci/core/models/boot_volume_attachment.py +39 -0
- oci/core/models/capacity_reservation_instance_summary.py +31 -0
- oci/core/models/compute_cluster.py +1 -2
- oci/core/models/create_boot_volume_details.py +31 -0
- oci/core/models/create_compute_cluster_details.py +1 -2
- oci/core/models/create_drg_route_distribution_details.py +2 -2
- oci/core/models/create_image_details.py +2 -2
- oci/core/models/create_vnic_details.py +18 -18
- oci/core/models/create_volume_details.py +31 -0
- oci/core/models/create_volume_group_details.py +33 -2
- oci/core/models/instance.py +31 -0
- oci/core/models/instance_configuration_create_volume_details.py +31 -0
- oci/core/models/instance_configuration_launch_instance_details.py +31 -0
- oci/core/models/instance_reservation_config.py +33 -2
- oci/core/models/instance_reservation_config_details.py +33 -2
- oci/core/models/launch_instance_details.py +31 -0
- oci/core/models/network_security_group.py +7 -7
- oci/core/models/private_ip.py +1 -1
- oci/core/models/update_instance_details.py +27 -0
- oci/core/models/update_instance_source_details.py +128 -0
- oci/core/models/update_instance_source_via_boot_volume_details.py +88 -0
- oci/core/models/update_instance_source_via_image_details.py +150 -0
- oci/core/models/update_vnic_details.py +2 -2
- oci/core/models/volume.py +31 -0
- oci/core/virtual_network_client.py +258 -258
- oci/core/virtual_network_client_composite_operations.py +13 -13
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +148 -148
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/data_science/models/instance_configuration.py +37 -2
- oci/database/database_client.py +1224 -537
- oci/database/database_client_composite_operations.py +204 -0
- oci/database/models/__init__.py +12 -0
- oci/database/models/autonomous_container_database.py +31 -0
- oci/database/models/autonomous_container_database_summary.py +31 -0
- oci/database/models/autonomous_database_software_image.py +489 -0
- oci/database/models/autonomous_database_software_image_collection.py +72 -0
- oci/database/models/autonomous_database_software_image_summary.py +437 -0
- oci/database/models/change_autonomous_database_software_image_compartment_details.py +76 -0
- oci/database/models/create_autonomous_container_database_details.py +35 -0
- oci/database/models/create_autonomous_database_software_image_details.py +267 -0
- oci/database/models/maintenance_window.py +33 -2
- oci/database/models/update_autonomous_database_software_image_details.py +119 -0
- oci/database_management/db_management_client.py +194 -194
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_migration/models/aws_s3_data_transfer_medium_details.py +29 -2
- oci/database_migration/models/data_transfer_medium_details_v2.py +1 -1
- oci/database_migration/models/nfs_data_transfer_medium_details.py +29 -2
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +26 -26
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +24 -24
- oci/generative_ai/models/dataset.py +1 -1
- oci/generative_ai/models/dedicated_ai_cluster.py +34 -3
- oci/generative_ai/models/endpoint.py +27 -0
- oci/generative_ai/models/model.py +34 -3
- oci/generative_ai/models/model_summary.py +7 -3
- oci/generative_ai_inference/generative_ai_inference_client.py +101 -3
- oci/generative_ai_inference/models/__init__.py +30 -0
- oci/generative_ai_inference/models/base_chat_request.py +109 -0
- oci/generative_ai_inference/models/base_chat_response.py +109 -0
- oci/generative_ai_inference/models/chat_choice.py +161 -0
- oci/generative_ai_inference/models/chat_content.py +101 -0
- oci/generative_ai_inference/models/chat_details.py +126 -0
- oci/generative_ai_inference/models/chat_result.py +130 -0
- oci/generative_ai_inference/models/citation.py +165 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +443 -0
- oci/generative_ai_inference/models/cohere_chat_response.py +272 -0
- oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/cohere_message.py +119 -0
- oci/generative_ai_inference/models/embed_text_details.py +2 -2
- oci/generative_ai_inference/models/generic_chat_request.py +474 -0
- oci/generative_ai_inference/models/generic_chat_response.py +113 -0
- oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
- oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/llm_inference_response.py +11 -3
- oci/generative_ai_inference/models/message.py +103 -0
- oci/generative_ai_inference/models/search_query.py +72 -0
- oci/generative_ai_inference/models/text_content.py +82 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +191 -46
- oci/lockbox/models/__init__.py +2 -0
- oci/lockbox/models/access_request_ext.py +671 -0
- oci/lockbox/models/access_request_summary.py +101 -2
- oci/lockbox/models/approver_info.py +33 -2
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/models/opa_instance.py +7 -3
- oci/opa/models/work_request.py +11 -3
- oci/opa/models/work_request_summary.py +11 -3
- oci/opa/opa_instance_client.py +223 -13
- oci/opa/opa_instance_client_composite_operations.py +78 -0
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/__init__.py +3 -1
- oci/os_management_hub/event_client.py +1115 -0
- oci/os_management_hub/event_client_composite_operations.py +163 -0
- oci/os_management_hub/lifecycle_environment_client.py +258 -46
- oci/os_management_hub/lifecycle_environment_client_composite_operations.py +16 -6
- oci/os_management_hub/managed_instance_client.py +1643 -380
- oci/os_management_hub/managed_instance_client_composite_operations.py +171 -13
- oci/os_management_hub/managed_instance_group_client.py +549 -165
- oci/os_management_hub/managed_instance_group_client_composite_operations.py +182 -22
- oci/os_management_hub/management_station_client.py +284 -30
- oci/os_management_hub/management_station_client_composite_operations.py +55 -6
- oci/os_management_hub/models/__init__.py +106 -0
- oci/os_management_hub/models/add_packages_to_software_source_details.py +72 -0
- oci/os_management_hub/models/agent_event.py +184 -0
- oci/os_management_hub/models/agent_event_data.py +166 -0
- oci/os_management_hub/models/attach_managed_instances_to_managed_instance_group_details.py +8 -4
- oci/os_management_hub/models/attach_profile_to_managed_instance_details.py +76 -0
- oci/os_management_hub/models/attach_software_sources_to_managed_instance_details.py +1 -1
- oci/os_management_hub/models/attach_software_sources_to_managed_instance_group_details.py +8 -4
- oci/os_management_hub/models/autonomous_settings.py +107 -0
- oci/os_management_hub/models/available_package_collection.py +1 -1
- oci/os_management_hub/models/available_package_summary.py +1 -1
- oci/os_management_hub/models/available_software_source_collection.py +2 -1
- oci/os_management_hub/models/available_software_source_summary.py +17 -7
- oci/os_management_hub/models/available_windows_update_collection.py +72 -0
- oci/os_management_hub/models/available_windows_update_summary.py +222 -0
- oci/os_management_hub/models/change_availability_of_software_sources_details.py +4 -4
- oci/os_management_hub/models/change_event_compartment_details.py +76 -0
- oci/os_management_hub/models/change_lifecycle_environment_compartment_details.py +76 -0
- oci/os_management_hub/models/change_managed_instance_group_compartment_details.py +78 -0
- oci/os_management_hub/models/change_management_station_compartment_details.py +76 -0
- oci/os_management_hub/models/change_profile_compartment_details.py +76 -0
- oci/os_management_hub/models/change_scheduled_job_compartment_details.py +76 -0
- oci/os_management_hub/models/change_software_source_compartment_details.py +76 -0
- oci/os_management_hub/models/create_custom_software_source_details.py +98 -5
- oci/os_management_hub/models/create_entitlement_details.py +9 -5
- oci/os_management_hub/models/create_group_profile_details.py +22 -4
- oci/os_management_hub/models/create_lifecycle_environment_details.py +108 -23
- oci/os_management_hub/models/create_lifecycle_profile_details.py +22 -4
- oci/os_management_hub/models/create_lifecycle_stage_details.py +5 -7
- oci/os_management_hub/models/create_managed_instance_group_details.py +181 -24
- oci/os_management_hub/models/create_management_station_details.py +13 -9
- oci/os_management_hub/models/create_mirror_configuration_details.py +9 -9
- oci/os_management_hub/models/create_profile_details.py +86 -12
- oci/os_management_hub/models/create_proxy_configuration_details.py +9 -9
- oci/os_management_hub/models/create_scheduled_job_details.py +192 -35
- oci/os_management_hub/models/create_software_source_details.py +18 -10
- oci/os_management_hub/models/create_software_source_profile_details.py +55 -13
- oci/os_management_hub/models/create_station_profile_details.py +48 -10
- oci/os_management_hub/models/create_vendor_software_source_details.py +121 -0
- oci/os_management_hub/models/create_versioned_custom_software_source_details.py +96 -3
- oci/os_management_hub/models/custom_software_source.py +120 -10
- oci/os_management_hub/models/custom_software_source_filter.py +1 -1
- oci/os_management_hub/models/custom_software_source_summary.py +20 -5
- oci/os_management_hub/models/detach_managed_instances_from_managed_instance_group_details.py +8 -4
- oci/os_management_hub/models/detach_software_sources_from_managed_instance_details.py +1 -1
- oci/os_management_hub/models/detach_software_sources_from_managed_instance_group_details.py +8 -4
- oci/os_management_hub/models/disable_module_stream_on_managed_instance_details.py +1 -1
- oci/os_management_hub/models/disable_module_stream_on_managed_instance_group_details.py +39 -4
- oci/os_management_hub/models/enable_module_stream_on_managed_instance_details.py +1 -1
- oci/os_management_hub/models/enable_module_stream_on_managed_instance_group_details.py +39 -4
- oci/os_management_hub/models/entitlement_collection.py +3 -3
- oci/os_management_hub/models/entitlement_summary.py +9 -5
- oci/os_management_hub/models/erratum.py +60 -13
- oci/os_management_hub/models/erratum_collection.py +3 -3
- oci/os_management_hub/models/erratum_summary.py +60 -13
- oci/os_management_hub/models/event.py +714 -0
- oci/os_management_hub/models/event_collection.py +72 -0
- oci/os_management_hub/models/event_content.py +113 -0
- oci/os_management_hub/models/event_summary.py +573 -0
- oci/os_management_hub/models/exploit_attempt_additional_details.py +72 -0
- oci/os_management_hub/models/exploit_attempt_event.py +184 -0
- oci/os_management_hub/models/exploit_attempt_event_content.py +113 -0
- oci/os_management_hub/models/exploit_attempt_event_data.py +126 -0
- oci/os_management_hub/models/group_profile.py +26 -4
- oci/os_management_hub/models/id.py +9 -5
- oci/os_management_hub/models/install_all_windows_updates_on_managed_instances_in_compartment_details.py +165 -0
- oci/os_management_hub/models/install_module_stream_profile_on_managed_instance_details.py +1 -1
- oci/os_management_hub/models/install_module_stream_profile_on_managed_instance_group_details.py +39 -4
- oci/os_management_hub/models/install_packages_on_managed_instance_details.py +1 -1
- oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py +1 -1
- oci/os_management_hub/models/install_windows_updates_on_managed_instance_details.py +165 -0
- oci/os_management_hub/models/install_windows_updates_on_managed_instance_group_details.py +130 -0
- oci/os_management_hub/models/installed_package_collection.py +1 -1
- oci/os_management_hub/models/installed_package_summary.py +3 -5
- oci/os_management_hub/models/installed_windows_update_collection.py +72 -0
- oci/os_management_hub/models/installed_windows_update_summary.py +160 -0
- oci/os_management_hub/models/kernel_crash_event.py +184 -0
- oci/os_management_hub/models/kernel_event_additional_details.py +68 -0
- oci/os_management_hub/models/kernel_event_content.py +183 -0
- oci/os_management_hub/models/kernel_event_data.py +219 -0
- oci/os_management_hub/models/kernel_oops_event.py +184 -0
- oci/os_management_hub/models/ksplice_update_event.py +184 -0
- oci/os_management_hub/models/ksplice_update_event_data.py +162 -0
- oci/os_management_hub/models/lifecycle_environment.py +132 -29
- oci/os_management_hub/models/lifecycle_environment_collection.py +1 -1
- oci/os_management_hub/models/lifecycle_environment_details.py +7 -3
- oci/os_management_hub/models/lifecycle_environment_summary.py +125 -26
- oci/os_management_hub/models/lifecycle_profile.py +26 -4
- oci/os_management_hub/models/lifecycle_stage.py +131 -30
- oci/os_management_hub/models/lifecycle_stage_collection.py +1 -1
- oci/os_management_hub/models/lifecycle_stage_details.py +7 -3
- oci/os_management_hub/models/lifecycle_stage_summary.py +134 -33
- oci/os_management_hub/models/manage_module_streams_on_managed_instance_details.py +16 -8
- oci/os_management_hub/models/managed_instance.py +238 -70
- oci/os_management_hub/models/managed_instance_analytic_collection.py +3 -3
- oci/os_management_hub/models/managed_instance_analytic_summary.py +19 -3
- oci/os_management_hub/models/managed_instance_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_details.py +7 -3
- oci/os_management_hub/models/managed_instance_erratum_summary.py +11 -13
- oci/os_management_hub/models/managed_instance_erratum_summary_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_group.py +227 -27
- oci/os_management_hub/models/managed_instance_group_available_module_collection.py +3 -3
- oci/os_management_hub/models/managed_instance_group_available_module_summary.py +9 -5
- oci/os_management_hub/models/managed_instance_group_available_package_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_group_available_package_summary.py +7 -7
- oci/os_management_hub/models/managed_instance_group_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_group_details.py +9 -5
- oci/os_management_hub/models/managed_instance_group_installed_package_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_group_installed_package_summary.py +1 -1
- oci/os_management_hub/models/managed_instance_group_module_collection.py +1 -2
- oci/os_management_hub/models/managed_instance_group_module_summary.py +11 -7
- oci/os_management_hub/models/managed_instance_group_summary.py +210 -22
- oci/os_management_hub/models/managed_instance_module_collection.py +1 -2
- oci/os_management_hub/models/managed_instance_module_summary.py +7 -3
- oci/os_management_hub/models/managed_instance_summary.py +169 -32
- oci/os_management_hub/models/management_station.py +74 -27
- oci/os_management_hub/models/management_station_collection.py +3 -3
- oci/os_management_hub/models/management_station_details.py +13 -5
- oci/os_management_hub/models/management_station_event.py +184 -0
- oci/os_management_hub/models/management_station_event_data.py +166 -0
- oci/os_management_hub/models/management_station_summary.py +97 -26
- oci/os_management_hub/models/mirror_configuration.py +9 -9
- oci/os_management_hub/models/mirror_summary.py +23 -3
- oci/os_management_hub/models/mirror_sync_status.py +11 -11
- oci/os_management_hub/models/module_collection.py +3 -3
- oci/os_management_hub/models/module_stream.py +7 -3
- oci/os_management_hub/models/module_stream_collection.py +3 -3
- oci/os_management_hub/models/module_stream_details.py +38 -3
- oci/os_management_hub/models/module_stream_details_body.py +1 -1
- oci/os_management_hub/models/module_stream_profile.py +1 -1
- oci/os_management_hub/models/module_stream_profile_collection.py +3 -3
- oci/os_management_hub/models/module_stream_profile_details.py +38 -3
- oci/os_management_hub/models/module_stream_profile_details_body.py +1 -1
- oci/os_management_hub/models/module_stream_profile_filter.py +3 -3
- oci/os_management_hub/models/module_stream_profile_summary.py +3 -3
- oci/os_management_hub/models/module_stream_summary.py +7 -3
- oci/os_management_hub/models/module_summary.py +7 -3
- oci/os_management_hub/models/package_filter.py +3 -3
- oci/os_management_hub/models/package_group.py +9 -9
- oci/os_management_hub/models/package_group_collection.py +1 -1
- oci/os_management_hub/models/package_group_filter.py +3 -3
- oci/os_management_hub/models/package_group_summary.py +7 -7
- oci/os_management_hub/models/package_name_summary.py +7 -7
- oci/os_management_hub/models/package_summary.py +5 -5
- oci/os_management_hub/models/profile.py +189 -24
- oci/os_management_hub/models/profile_summary.py +157 -24
- oci/os_management_hub/models/promote_software_source_to_lifecycle_stage_details.py +1 -22
- oci/os_management_hub/models/proxy_configuration.py +9 -9
- oci/os_management_hub/models/remove_module_stream_profile_from_managed_instance_details.py +1 -1
- oci/os_management_hub/models/remove_module_stream_profile_from_managed_instance_group_details.py +39 -4
- oci/os_management_hub/models/remove_packages_from_managed_instance_details.py +1 -1
- oci/os_management_hub/models/remove_packages_from_managed_instance_group_details.py +1 -1
- oci/os_management_hub/models/scheduled_job.py +216 -39
- oci/os_management_hub/models/scheduled_job_collection.py +1 -1
- oci/os_management_hub/models/scheduled_job_operation.py +73 -8
- oci/os_management_hub/models/scheduled_job_summary.py +223 -48
- oci/os_management_hub/models/search_software_source_module_streams_details.py +7 -3
- oci/os_management_hub/models/search_software_source_modules_details.py +9 -5
- oci/os_management_hub/models/search_software_source_package_groups_details.py +9 -5
- oci/os_management_hub/models/software_package.py +80 -9
- oci/os_management_hub/models/software_package_collection.py +1 -1
- oci/os_management_hub/models/software_package_dependency.py +1 -1
- oci/os_management_hub/models/software_package_file.py +2 -4
- oci/os_management_hub/models/software_package_summary.py +74 -7
- oci/os_management_hub/models/software_packages_details.py +1 -1
- oci/os_management_hub/models/software_source.py +154 -32
- oci/os_management_hub/models/software_source_availability.py +76 -11
- oci/os_management_hub/models/software_source_collection.py +3 -3
- oci/os_management_hub/models/software_source_details.py +40 -5
- oci/os_management_hub/models/software_source_event.py +184 -0
- oci/os_management_hub/models/software_source_event_data.py +190 -0
- oci/os_management_hub/models/software_source_profile.py +26 -4
- oci/os_management_hub/models/software_source_summary.py +149 -33
- oci/os_management_hub/models/software_source_vendor_collection.py +3 -3
- oci/os_management_hub/models/software_source_vendor_summary.py +35 -11
- oci/os_management_hub/models/software_update_event.py +184 -0
- oci/os_management_hub/models/software_update_event_data.py +186 -0
- oci/os_management_hub/models/station_health.py +119 -0
- oci/os_management_hub/models/station_profile.py +26 -4
- oci/os_management_hub/models/switch_module_stream_on_managed_instance_details.py +38 -3
- oci/os_management_hub/models/switch_module_stream_on_managed_instance_group_details.py +165 -0
- oci/os_management_hub/models/system_details.py +326 -0
- oci/os_management_hub/models/updatable_autonomous_settings.py +72 -0
- oci/os_management_hub/models/updatable_package_collection.py +1 -1
- oci/os_management_hub/models/updatable_package_summary.py +7 -7
- oci/os_management_hub/models/update_all_packages_on_managed_instance_group_details.py +1 -1
- oci/os_management_hub/models/update_all_packages_on_managed_instances_in_compartment_details.py +9 -5
- oci/os_management_hub/models/update_custom_software_source_details.py +38 -7
- oci/os_management_hub/models/update_event_details.py +119 -0
- oci/os_management_hub/models/update_lifecycle_environment_details.py +5 -5
- oci/os_management_hub/models/update_lifecycle_stage_details.py +9 -5
- oci/os_management_hub/models/update_managed_instance_details.py +108 -7
- oci/os_management_hub/models/update_managed_instance_group_details.py +67 -5
- oci/os_management_hub/models/update_management_station_details.py +7 -7
- oci/os_management_hub/models/update_mirror_configuration_details.py +9 -9
- oci/os_management_hub/models/update_packages_on_managed_instance_details.py +3 -3
- oci/os_management_hub/models/update_profile_details.py +35 -4
- oci/os_management_hub/models/update_proxy_configuration_details.py +9 -9
- oci/os_management_hub/models/update_scheduled_job_details.py +74 -15
- oci/os_management_hub/models/update_software_source_details.py +15 -7
- oci/os_management_hub/models/update_vendor_software_source_details.py +1 -1
- oci/os_management_hub/models/update_versioned_custom_software_source_details.py +86 -0
- oci/os_management_hub/models/update_work_request_details.py +1 -1
- oci/os_management_hub/models/vendor_software_source.py +97 -9
- oci/os_management_hub/models/vendor_software_source_summary.py +59 -8
- oci/os_management_hub/models/versioned_custom_software_source.py +116 -8
- oci/os_management_hub/models/versioned_custom_software_source_summary.py +20 -5
- oci/os_management_hub/models/vmcore_details.py +103 -0
- oci/os_management_hub/models/windows_standalone_profile.py +168 -0
- oci/os_management_hub/models/windows_update.py +362 -0
- oci/os_management_hub/models/windows_update_collection.py +73 -0
- oci/os_management_hub/models/windows_update_summary.py +222 -0
- oci/os_management_hub/models/work_request.py +348 -40
- oci/os_management_hub/models/work_request_details.py +5 -5
- oci/os_management_hub/models/work_request_error.py +6 -2
- oci/os_management_hub/models/work_request_event_data_additional_details.py +111 -0
- oci/os_management_hub/models/work_request_log_entry.py +6 -2
- oci/os_management_hub/models/work_request_management_station_details.py +2 -2
- oci/os_management_hub/models/work_request_summary.py +147 -19
- oci/os_management_hub/models/work_request_summary_collection.py +2 -2
- oci/os_management_hub/onboarding_client.py +171 -25
- oci/os_management_hub/onboarding_client_composite_operations.py +7 -3
- oci/os_management_hub/reporting_managed_instance_client.py +217 -60
- oci/os_management_hub/scheduled_job_client.py +214 -38
- oci/os_management_hub/scheduled_job_client_composite_operations.py +8 -4
- oci/os_management_hub/software_source_client.py +971 -89
- oci/os_management_hub/software_source_client_composite_operations.py +50 -2
- oci/os_management_hub/work_request_client.py +61 -18
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/models/create_redis_cluster_details.py +31 -0
- oci/redis/models/redis_cluster.py +31 -0
- oci/redis/models/redis_cluster_summary.py +31 -0
- oci/redis/models/update_redis_cluster_details.py +31 -0
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/models/__init__.py +12 -0
- oci/usage_api/models/create_email_recipients_group_details.py +103 -0
- oci/usage_api/models/email_recipient.py +181 -0
- oci/usage_api/models/email_recipients_group.py +181 -0
- oci/usage_api/models/email_recipients_group_collection.py +72 -0
- oci/usage_api/models/email_recipients_group_summary.py +272 -0
- oci/usage_api/models/update_email_recipients_group_details.py +72 -0
- oci/usage_api/usageapi_client.py +656 -34
- oci/usage_api/usageapi_client_composite_operations.py +96 -0
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/METADATA +1 -1
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/RECORD +880 -764
- oci/application_migration/application_migration_client.py +0 -2489
- oci/application_migration/application_migration_client_composite_operations.py +0 -419
- oci/application_migration/models/__init__.py +0 -84
- oci/application_migration/models/authorization_details.py +0 -130
- oci/application_migration/models/configuration_field.py +0 -291
- oci/application_migration/models/create_migration_details.py +0 -464
- oci/application_migration/models/create_source_details.py +0 -272
- oci/application_migration/models/discovery_details.py +0 -141
- oci/application_migration/models/ics_discovery_details.py +0 -114
- oci/application_migration/models/import_manifest.py +0 -227
- oci/application_migration/models/import_source_details.py +0 -171
- oci/application_migration/models/internal_authorization_details.py +0 -113
- oci/application_migration/models/internal_source_details.py +0 -82
- oci/application_migration/models/jcs_discovery_details.py +0 -115
- oci/application_migration/models/migration.py +0 -731
- oci/application_migration/models/migration_summary.py +0 -572
- oci/application_migration/models/oac_discovery_details.py +0 -113
- oci/application_migration/models/occ_authorization_details.py +0 -113
- oci/application_migration/models/occ_source_details.py +0 -86
- oci/application_migration/models/ocic_authorization_details.py +0 -113
- oci/application_migration/models/ocic_authorization_token_details.py +0 -113
- oci/application_migration/models/ocic_source_details.py +0 -121
- oci/application_migration/models/oic_discovery_details.py +0 -114
- oci/application_migration/models/pcs_discovery_details.py +0 -114
- oci/application_migration/models/resource_field.py +0 -165
- oci/application_migration/models/soacs_discovery_details.py +0 -115
- oci/application_migration/models/source.py +0 -407
- oci/application_migration/models/source_application.py +0 -232
- oci/application_migration/models/source_application_summary.py +0 -233
- oci/application_migration/models/source_details.py +0 -137
- oci/application_migration/models/source_summary.py +0 -431
- oci/application_migration/models/update_migration_details.py +0 -309
- oci/application_migration/models/update_source_details.py +0 -232
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/WHEEL +0 -0
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/top_level.txt +0 -0
@@ -22,7 +22,8 @@ missing = Sentinel("Missing")
|
|
22
22
|
|
23
23
|
class SoftwareSourceClient(object):
|
24
24
|
"""
|
25
|
-
Use the OS Management Hub API to manage and monitor updates and patches for
|
25
|
+
Use the OS Management Hub API to manage and monitor updates and patches for instances in OCI, your private data center, or 3rd-party clouds.
|
26
|
+
For more information, see [Overview of OS Management Hub](https://docs.cloud.oracle.com/iaas/osmh/doc/overview.htm).
|
26
27
|
"""
|
27
28
|
|
28
29
|
def __init__(self, config, **kwargs):
|
@@ -116,6 +117,129 @@ class SoftwareSourceClient(object):
|
|
116
117
|
self.retry_strategy = kwargs.get('retry_strategy')
|
117
118
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
118
119
|
|
120
|
+
def add_packages_to_software_source(self, software_source_id, add_packages_to_software_source_details, **kwargs):
|
121
|
+
"""
|
122
|
+
Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters.
|
123
|
+
For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable.
|
124
|
+
|
125
|
+
|
126
|
+
:param str software_source_id: (required)
|
127
|
+
The `OCID`__ of the software source.
|
128
|
+
|
129
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
130
|
+
|
131
|
+
:param oci.os_management_hub.models.AddPackagesToSoftwareSourceDetails add_packages_to_software_source_details: (required)
|
132
|
+
A list of packages to be added to the software source.
|
133
|
+
|
134
|
+
:param str opc_request_id: (optional)
|
135
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
136
|
+
|
137
|
+
:param str if_match: (optional)
|
138
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
139
|
+
for a resource, set the `if-match` parameter to the value of the
|
140
|
+
etag from a previous GET or POST response for that resource.
|
141
|
+
The resource will be updated or deleted only if the etag you
|
142
|
+
provide matches the resource's current etag value.
|
143
|
+
|
144
|
+
:param str opc_retry_token: (optional)
|
145
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
146
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
147
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
148
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
149
|
+
might be rejected.
|
150
|
+
|
151
|
+
:param obj retry_strategy: (optional)
|
152
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
153
|
+
|
154
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
155
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
156
|
+
|
157
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
158
|
+
|
159
|
+
:param bool allow_control_chars: (optional)
|
160
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
161
|
+
By default, the response will not allow control characters in strings
|
162
|
+
|
163
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
164
|
+
:rtype: :class:`~oci.response.Response`
|
165
|
+
|
166
|
+
:example:
|
167
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/add_packages_to_software_source.py.html>`__ to see an example of how to use add_packages_to_software_source API.
|
168
|
+
"""
|
169
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
170
|
+
required_arguments = ['softwareSourceId']
|
171
|
+
resource_path = "/softwareSources/{softwareSourceId}/actions/addPackages"
|
172
|
+
method = "POST"
|
173
|
+
operation_name = "add_packages_to_software_source"
|
174
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/AddPackagesToSoftwareSource"
|
175
|
+
|
176
|
+
# Don't accept unknown kwargs
|
177
|
+
expected_kwargs = [
|
178
|
+
"allow_control_chars",
|
179
|
+
"retry_strategy",
|
180
|
+
"opc_request_id",
|
181
|
+
"if_match",
|
182
|
+
"opc_retry_token"
|
183
|
+
]
|
184
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
185
|
+
if extra_kwargs:
|
186
|
+
raise ValueError(
|
187
|
+
f"add_packages_to_software_source got unknown kwargs: {extra_kwargs!r}")
|
188
|
+
|
189
|
+
path_params = {
|
190
|
+
"softwareSourceId": software_source_id
|
191
|
+
}
|
192
|
+
|
193
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
194
|
+
|
195
|
+
for (k, v) in six.iteritems(path_params):
|
196
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
197
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
198
|
+
|
199
|
+
header_params = {
|
200
|
+
"accept": "application/json",
|
201
|
+
"content-type": "application/json",
|
202
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
203
|
+
"if-match": kwargs.get("if_match", missing),
|
204
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
205
|
+
}
|
206
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
207
|
+
|
208
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
209
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
210
|
+
client_retry_strategy=self.retry_strategy
|
211
|
+
)
|
212
|
+
if retry_strategy is None:
|
213
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
214
|
+
|
215
|
+
if retry_strategy:
|
216
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
217
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
218
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
219
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
220
|
+
return retry_strategy.make_retrying_call(
|
221
|
+
self.base_client.call_api,
|
222
|
+
resource_path=resource_path,
|
223
|
+
method=method,
|
224
|
+
path_params=path_params,
|
225
|
+
header_params=header_params,
|
226
|
+
body=add_packages_to_software_source_details,
|
227
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
228
|
+
operation_name=operation_name,
|
229
|
+
api_reference_link=api_reference_link,
|
230
|
+
required_arguments=required_arguments)
|
231
|
+
else:
|
232
|
+
return self.base_client.call_api(
|
233
|
+
resource_path=resource_path,
|
234
|
+
method=method,
|
235
|
+
path_params=path_params,
|
236
|
+
header_params=header_params,
|
237
|
+
body=add_packages_to_software_source_details,
|
238
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
239
|
+
operation_name=operation_name,
|
240
|
+
api_reference_link=api_reference_link,
|
241
|
+
required_arguments=required_arguments)
|
242
|
+
|
119
243
|
def change_availability_of_software_sources(self, change_availability_of_software_sources_details, **kwargs):
|
120
244
|
"""
|
121
245
|
Updates the availability for a list of specified software sources.
|
@@ -150,7 +274,7 @@ class SoftwareSourceClient(object):
|
|
150
274
|
:rtype: :class:`~oci.response.Response`
|
151
275
|
|
152
276
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
277
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/change_availability_of_software_sources.py.html>`__ to see an example of how to use change_availability_of_software_sources API.
|
154
278
|
"""
|
155
279
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
280
|
required_arguments = []
|
@@ -212,6 +336,133 @@ class SoftwareSourceClient(object):
|
|
212
336
|
api_reference_link=api_reference_link,
|
213
337
|
required_arguments=required_arguments)
|
214
338
|
|
339
|
+
def change_software_source_compartment(self, software_source_id, change_software_source_compartment_details, **kwargs):
|
340
|
+
"""
|
341
|
+
Moves the specified software sources to a different compartment within the same tenancy.
|
342
|
+
For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__.
|
343
|
+
|
344
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
345
|
+
|
346
|
+
|
347
|
+
:param str software_source_id: (required)
|
348
|
+
The `OCID`__ of the software source.
|
349
|
+
|
350
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
351
|
+
|
352
|
+
:param oci.os_management_hub.models.ChangeSoftwareSourceCompartmentDetails change_software_source_compartment_details: (required)
|
353
|
+
The `OCID`__ for the compartment to move the software source to.
|
354
|
+
|
355
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
356
|
+
|
357
|
+
:param str opc_request_id: (optional)
|
358
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
359
|
+
|
360
|
+
:param str if_match: (optional)
|
361
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
362
|
+
for a resource, set the `if-match` parameter to the value of the
|
363
|
+
etag from a previous GET or POST response for that resource.
|
364
|
+
The resource will be updated or deleted only if the etag you
|
365
|
+
provide matches the resource's current etag value.
|
366
|
+
|
367
|
+
:param str opc_retry_token: (optional)
|
368
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
369
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
370
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
371
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
372
|
+
might be rejected.
|
373
|
+
|
374
|
+
:param obj retry_strategy: (optional)
|
375
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
376
|
+
|
377
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
378
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
379
|
+
|
380
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
381
|
+
|
382
|
+
:param bool allow_control_chars: (optional)
|
383
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
384
|
+
By default, the response will not allow control characters in strings
|
385
|
+
|
386
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
387
|
+
:rtype: :class:`~oci.response.Response`
|
388
|
+
|
389
|
+
:example:
|
390
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/change_software_source_compartment.py.html>`__ to see an example of how to use change_software_source_compartment API.
|
391
|
+
"""
|
392
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
393
|
+
required_arguments = ['softwareSourceId']
|
394
|
+
resource_path = "/softwareSources/{softwareSourceId}/actions/changeCompartment"
|
395
|
+
method = "POST"
|
396
|
+
operation_name = "change_software_source_compartment"
|
397
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/ChangeSoftwareSourceCompartment"
|
398
|
+
|
399
|
+
# Don't accept unknown kwargs
|
400
|
+
expected_kwargs = [
|
401
|
+
"allow_control_chars",
|
402
|
+
"retry_strategy",
|
403
|
+
"opc_request_id",
|
404
|
+
"if_match",
|
405
|
+
"opc_retry_token"
|
406
|
+
]
|
407
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
408
|
+
if extra_kwargs:
|
409
|
+
raise ValueError(
|
410
|
+
f"change_software_source_compartment got unknown kwargs: {extra_kwargs!r}")
|
411
|
+
|
412
|
+
path_params = {
|
413
|
+
"softwareSourceId": software_source_id
|
414
|
+
}
|
415
|
+
|
416
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
417
|
+
|
418
|
+
for (k, v) in six.iteritems(path_params):
|
419
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
420
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
421
|
+
|
422
|
+
header_params = {
|
423
|
+
"accept": "application/json",
|
424
|
+
"content-type": "application/json",
|
425
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
426
|
+
"if-match": kwargs.get("if_match", missing),
|
427
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
428
|
+
}
|
429
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
430
|
+
|
431
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
432
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
433
|
+
client_retry_strategy=self.retry_strategy
|
434
|
+
)
|
435
|
+
if retry_strategy is None:
|
436
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
437
|
+
|
438
|
+
if retry_strategy:
|
439
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
440
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
441
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
442
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
443
|
+
return retry_strategy.make_retrying_call(
|
444
|
+
self.base_client.call_api,
|
445
|
+
resource_path=resource_path,
|
446
|
+
method=method,
|
447
|
+
path_params=path_params,
|
448
|
+
header_params=header_params,
|
449
|
+
body=change_software_source_compartment_details,
|
450
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
451
|
+
operation_name=operation_name,
|
452
|
+
api_reference_link=api_reference_link,
|
453
|
+
required_arguments=required_arguments)
|
454
|
+
else:
|
455
|
+
return self.base_client.call_api(
|
456
|
+
resource_path=resource_path,
|
457
|
+
method=method,
|
458
|
+
path_params=path_params,
|
459
|
+
header_params=header_params,
|
460
|
+
body=change_software_source_compartment_details,
|
461
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
462
|
+
operation_name=operation_name,
|
463
|
+
api_reference_link=api_reference_link,
|
464
|
+
required_arguments=required_arguments)
|
465
|
+
|
215
466
|
def create_entitlement(self, create_entitlement_details, **kwargs):
|
216
467
|
"""
|
217
468
|
Registers the necessary entitlement credentials for OS vendor software sources.
|
@@ -246,7 +497,7 @@ class SoftwareSourceClient(object):
|
|
246
497
|
:rtype: :class:`~oci.response.Response`
|
247
498
|
|
248
499
|
:example:
|
249
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
500
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/create_entitlement.py.html>`__ to see an example of how to use create_entitlement API.
|
250
501
|
"""
|
251
502
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
252
503
|
required_arguments = []
|
@@ -342,7 +593,7 @@ class SoftwareSourceClient(object):
|
|
342
593
|
:rtype: :class:`~oci.response.Response`
|
343
594
|
|
344
595
|
:example:
|
345
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
596
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/create_software_source.py.html>`__ to see an example of how to use create_software_source API.
|
346
597
|
"""
|
347
598
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
348
599
|
required_arguments = []
|
@@ -412,7 +663,9 @@ class SoftwareSourceClient(object):
|
|
412
663
|
|
413
664
|
|
414
665
|
:param str software_source_id: (required)
|
415
|
-
The software source
|
666
|
+
The `OCID`__ of the software source.
|
667
|
+
|
668
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
416
669
|
|
417
670
|
:param str opc_request_id: (optional)
|
418
671
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -440,7 +693,7 @@ class SoftwareSourceClient(object):
|
|
440
693
|
:rtype: :class:`~oci.response.Response`
|
441
694
|
|
442
695
|
:example:
|
443
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
696
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/delete_software_source.py.html>`__ to see an example of how to use delete_software_source API.
|
444
697
|
"""
|
445
698
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
446
699
|
required_arguments = ['softwareSourceId']
|
@@ -513,14 +766,16 @@ class SoftwareSourceClient(object):
|
|
513
766
|
|
514
767
|
def get_erratum(self, compartment_id, name, **kwargs):
|
515
768
|
"""
|
516
|
-
|
769
|
+
Returns information about the specified erratum based on its advisory name.
|
517
770
|
|
518
771
|
|
519
772
|
:param str compartment_id: (required)
|
520
|
-
The OCID of the compartment
|
773
|
+
The `OCID`__ of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
774
|
+
|
775
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
521
776
|
|
522
777
|
:param str name: (required)
|
523
|
-
The erratum name (
|
778
|
+
The erratum name (such as ELSA-2023-34678).
|
524
779
|
|
525
780
|
:param str opc_request_id: (optional)
|
526
781
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -541,7 +796,7 @@ class SoftwareSourceClient(object):
|
|
541
796
|
:rtype: :class:`~oci.response.Response`
|
542
797
|
|
543
798
|
:example:
|
544
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
799
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_erratum.py.html>`__ to see an example of how to use get_erratum API.
|
545
800
|
"""
|
546
801
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
547
802
|
required_arguments = ['name', 'compartmentId']
|
@@ -621,11 +876,13 @@ class SoftwareSourceClient(object):
|
|
621
876
|
|
622
877
|
def get_module_stream(self, software_source_id, module_name, stream_name, **kwargs):
|
623
878
|
"""
|
624
|
-
|
879
|
+
Returns information about the specified module stream in a software source.
|
625
880
|
|
626
881
|
|
627
882
|
:param str software_source_id: (required)
|
628
|
-
The software source
|
883
|
+
The `OCID`__ of the software source.
|
884
|
+
|
885
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
629
886
|
|
630
887
|
:param str module_name: (required)
|
631
888
|
The name of the module.
|
@@ -652,7 +909,7 @@ class SoftwareSourceClient(object):
|
|
652
909
|
:rtype: :class:`~oci.response.Response`
|
653
910
|
|
654
911
|
:example:
|
655
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
912
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_module_stream.py.html>`__ to see an example of how to use get_module_stream API.
|
656
913
|
"""
|
657
914
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
658
915
|
required_arguments = ['softwareSourceId', 'moduleName', 'streamName']
|
@@ -733,14 +990,16 @@ class SoftwareSourceClient(object):
|
|
733
990
|
|
734
991
|
def get_module_stream_profile(self, software_source_id, profile_name, module_name, stream_name, **kwargs):
|
735
992
|
"""
|
736
|
-
|
993
|
+
Returns information about the specified module stream profile in a software source.
|
737
994
|
|
738
995
|
|
739
996
|
:param str software_source_id: (required)
|
740
|
-
The software source
|
997
|
+
The `OCID`__ of the software source.
|
998
|
+
|
999
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
741
1000
|
|
742
1001
|
:param str profile_name: (required)
|
743
|
-
The name of the
|
1002
|
+
The name of the module stream profile.
|
744
1003
|
|
745
1004
|
:param str module_name: (required)
|
746
1005
|
The name of a module.
|
@@ -767,7 +1026,7 @@ class SoftwareSourceClient(object):
|
|
767
1026
|
:rtype: :class:`~oci.response.Response`
|
768
1027
|
|
769
1028
|
:example:
|
770
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1029
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_module_stream_profile.py.html>`__ to see an example of how to use get_module_stream_profile API.
|
771
1030
|
"""
|
772
1031
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
773
1032
|
required_arguments = ['softwareSourceId', 'profileName', 'moduleName', 'streamName']
|
@@ -849,11 +1108,13 @@ class SoftwareSourceClient(object):
|
|
849
1108
|
|
850
1109
|
def get_package_group(self, software_source_id, package_group_id, **kwargs):
|
851
1110
|
"""
|
852
|
-
|
1111
|
+
Returns information about the specified package group from a software source.
|
853
1112
|
|
854
1113
|
|
855
1114
|
:param str software_source_id: (required)
|
856
|
-
The software source
|
1115
|
+
The `OCID`__ of the software source.
|
1116
|
+
|
1117
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
857
1118
|
|
858
1119
|
:param str package_group_id: (required)
|
859
1120
|
The unique package group identifier.
|
@@ -877,7 +1138,7 @@ class SoftwareSourceClient(object):
|
|
877
1138
|
:rtype: :class:`~oci.response.Response`
|
878
1139
|
|
879
1140
|
:example:
|
880
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1141
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_package_group.py.html>`__ to see an example of how to use get_package_group API.
|
881
1142
|
"""
|
882
1143
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
883
1144
|
required_arguments = ['softwareSourceId', 'packageGroupId']
|
@@ -951,11 +1212,13 @@ class SoftwareSourceClient(object):
|
|
951
1212
|
|
952
1213
|
def get_software_package(self, software_source_id, software_package_name, **kwargs):
|
953
1214
|
"""
|
954
|
-
|
1215
|
+
Returns information about the specified software package.
|
955
1216
|
|
956
1217
|
|
957
1218
|
:param str software_source_id: (required)
|
958
|
-
The software source
|
1219
|
+
The `OCID`__ of the software source.
|
1220
|
+
|
1221
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
959
1222
|
|
960
1223
|
:param str software_package_name: (required)
|
961
1224
|
The name of the software package.
|
@@ -979,7 +1242,7 @@ class SoftwareSourceClient(object):
|
|
979
1242
|
:rtype: :class:`~oci.response.Response`
|
980
1243
|
|
981
1244
|
:example:
|
982
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1245
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_software_package.py.html>`__ to see an example of how to use get_software_package API.
|
983
1246
|
"""
|
984
1247
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
985
1248
|
required_arguments = ['softwareSourceId', 'softwarePackageName']
|
@@ -1051,13 +1314,113 @@ class SoftwareSourceClient(object):
|
|
1051
1314
|
api_reference_link=api_reference_link,
|
1052
1315
|
required_arguments=required_arguments)
|
1053
1316
|
|
1317
|
+
def get_software_package_by_name(self, software_package_name, **kwargs):
|
1318
|
+
"""
|
1319
|
+
Returns information about the specified software package based on its fully qualified name.
|
1320
|
+
|
1321
|
+
|
1322
|
+
:param str software_package_name: (required)
|
1323
|
+
The name of the software package.
|
1324
|
+
|
1325
|
+
:param str opc_request_id: (optional)
|
1326
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1327
|
+
|
1328
|
+
:param obj retry_strategy: (optional)
|
1329
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1330
|
+
|
1331
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1332
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1333
|
+
|
1334
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1335
|
+
|
1336
|
+
:param bool allow_control_chars: (optional)
|
1337
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1338
|
+
By default, the response will not allow control characters in strings
|
1339
|
+
|
1340
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.SoftwarePackage`
|
1341
|
+
:rtype: :class:`~oci.response.Response`
|
1342
|
+
|
1343
|
+
:example:
|
1344
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_software_package_by_name.py.html>`__ to see an example of how to use get_software_package_by_name API.
|
1345
|
+
"""
|
1346
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1347
|
+
required_arguments = ['softwarePackageName']
|
1348
|
+
resource_path = "/softwarePackages/{softwarePackageName}"
|
1349
|
+
method = "GET"
|
1350
|
+
operation_name = "get_software_package_by_name"
|
1351
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/GetSoftwarePackageByName"
|
1352
|
+
|
1353
|
+
# Don't accept unknown kwargs
|
1354
|
+
expected_kwargs = [
|
1355
|
+
"allow_control_chars",
|
1356
|
+
"retry_strategy",
|
1357
|
+
"opc_request_id"
|
1358
|
+
]
|
1359
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1360
|
+
if extra_kwargs:
|
1361
|
+
raise ValueError(
|
1362
|
+
f"get_software_package_by_name got unknown kwargs: {extra_kwargs!r}")
|
1363
|
+
|
1364
|
+
path_params = {
|
1365
|
+
"softwarePackageName": software_package_name
|
1366
|
+
}
|
1367
|
+
|
1368
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1369
|
+
|
1370
|
+
for (k, v) in six.iteritems(path_params):
|
1371
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1372
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1373
|
+
|
1374
|
+
header_params = {
|
1375
|
+
"accept": "application/json",
|
1376
|
+
"content-type": "application/json",
|
1377
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1378
|
+
}
|
1379
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1380
|
+
|
1381
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1382
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1383
|
+
client_retry_strategy=self.retry_strategy
|
1384
|
+
)
|
1385
|
+
if retry_strategy is None:
|
1386
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1387
|
+
|
1388
|
+
if retry_strategy:
|
1389
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1390
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1391
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1392
|
+
return retry_strategy.make_retrying_call(
|
1393
|
+
self.base_client.call_api,
|
1394
|
+
resource_path=resource_path,
|
1395
|
+
method=method,
|
1396
|
+
path_params=path_params,
|
1397
|
+
header_params=header_params,
|
1398
|
+
response_type="SoftwarePackage",
|
1399
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1400
|
+
operation_name=operation_name,
|
1401
|
+
api_reference_link=api_reference_link,
|
1402
|
+
required_arguments=required_arguments)
|
1403
|
+
else:
|
1404
|
+
return self.base_client.call_api(
|
1405
|
+
resource_path=resource_path,
|
1406
|
+
method=method,
|
1407
|
+
path_params=path_params,
|
1408
|
+
header_params=header_params,
|
1409
|
+
response_type="SoftwarePackage",
|
1410
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1411
|
+
operation_name=operation_name,
|
1412
|
+
api_reference_link=api_reference_link,
|
1413
|
+
required_arguments=required_arguments)
|
1414
|
+
|
1054
1415
|
def get_software_source(self, software_source_id, **kwargs):
|
1055
1416
|
"""
|
1056
|
-
|
1417
|
+
Returns information about the specified software source.
|
1057
1418
|
|
1058
1419
|
|
1059
1420
|
:param str software_source_id: (required)
|
1060
|
-
The software source
|
1421
|
+
The `OCID`__ of the software source.
|
1422
|
+
|
1423
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1061
1424
|
|
1062
1425
|
:param str opc_request_id: (optional)
|
1063
1426
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -1078,7 +1441,7 @@ class SoftwareSourceClient(object):
|
|
1078
1441
|
:rtype: :class:`~oci.response.Response`
|
1079
1442
|
|
1080
1443
|
:example:
|
1081
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1444
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_software_source.py.html>`__ to see an example of how to use get_software_source API.
|
1082
1445
|
"""
|
1083
1446
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1084
1447
|
required_arguments = ['softwareSourceId']
|
@@ -1149,22 +1512,212 @@ class SoftwareSourceClient(object):
|
|
1149
1512
|
api_reference_link=api_reference_link,
|
1150
1513
|
required_arguments=required_arguments)
|
1151
1514
|
|
1515
|
+
def list_all_software_packages(self, **kwargs):
|
1516
|
+
"""
|
1517
|
+
Lists software packages available through the OS Management Hub service. Filter the list against a variety of criteria
|
1518
|
+
including but not limited to its name.
|
1519
|
+
|
1520
|
+
|
1521
|
+
:param str display_name: (optional)
|
1522
|
+
A filter to return resources that match the given user-friendly name.
|
1523
|
+
|
1524
|
+
:param str display_name_contains: (optional)
|
1525
|
+
A filter to return resources that may partially match the given display name.
|
1526
|
+
|
1527
|
+
:param str version: (optional)
|
1528
|
+
A filter to return software packages that match the given version.
|
1529
|
+
|
1530
|
+
:param str architecture: (optional)
|
1531
|
+
A filter to return software packages that match the given architecture.
|
1532
|
+
|
1533
|
+
Allowed values are: "I386", "I686", "AARCH64", "X86_64", "SRC", "NOARCH", "OTHER"
|
1534
|
+
|
1535
|
+
:param bool is_latest: (optional)
|
1536
|
+
Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
|
1537
|
+
|
1538
|
+
:param str os_family: (optional)
|
1539
|
+
A filter to return only resources that match the given operating system family.
|
1540
|
+
|
1541
|
+
Allowed values are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
|
1542
|
+
|
1543
|
+
:param int limit: (optional)
|
1544
|
+
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
1545
|
+
For important details about how pagination works, see `List Pagination`__.
|
1546
|
+
|
1547
|
+
Example: `50`
|
1548
|
+
|
1549
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
1550
|
+
|
1551
|
+
:param str page: (optional)
|
1552
|
+
For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.
|
1553
|
+
For important details about how pagination works, see `List Pagination`__.
|
1554
|
+
|
1555
|
+
Example: `3`
|
1556
|
+
|
1557
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
1558
|
+
|
1559
|
+
:param str sort_order: (optional)
|
1560
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
1561
|
+
|
1562
|
+
Allowed values are: "ASC", "DESC"
|
1563
|
+
|
1564
|
+
:param str sort_by: (optional)
|
1565
|
+
The field to sort packages by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
|
1566
|
+
|
1567
|
+
Allowed values are: "displayName"
|
1568
|
+
|
1569
|
+
:param str opc_request_id: (optional)
|
1570
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1571
|
+
|
1572
|
+
:param obj retry_strategy: (optional)
|
1573
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1574
|
+
|
1575
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1576
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1577
|
+
|
1578
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1579
|
+
|
1580
|
+
:param bool allow_control_chars: (optional)
|
1581
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1582
|
+
By default, the response will not allow control characters in strings
|
1583
|
+
|
1584
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.SoftwarePackageCollection`
|
1585
|
+
:rtype: :class:`~oci.response.Response`
|
1586
|
+
|
1587
|
+
:example:
|
1588
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_all_software_packages.py.html>`__ to see an example of how to use list_all_software_packages API.
|
1589
|
+
"""
|
1590
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1591
|
+
required_arguments = []
|
1592
|
+
resource_path = "/softwarePackages"
|
1593
|
+
method = "GET"
|
1594
|
+
operation_name = "list_all_software_packages"
|
1595
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/ListAllSoftwarePackages"
|
1596
|
+
|
1597
|
+
# Don't accept unknown kwargs
|
1598
|
+
expected_kwargs = [
|
1599
|
+
"allow_control_chars",
|
1600
|
+
"retry_strategy",
|
1601
|
+
"display_name",
|
1602
|
+
"display_name_contains",
|
1603
|
+
"version",
|
1604
|
+
"architecture",
|
1605
|
+
"is_latest",
|
1606
|
+
"os_family",
|
1607
|
+
"limit",
|
1608
|
+
"page",
|
1609
|
+
"sort_order",
|
1610
|
+
"sort_by",
|
1611
|
+
"opc_request_id"
|
1612
|
+
]
|
1613
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1614
|
+
if extra_kwargs:
|
1615
|
+
raise ValueError(
|
1616
|
+
f"list_all_software_packages got unknown kwargs: {extra_kwargs!r}")
|
1617
|
+
|
1618
|
+
if 'architecture' in kwargs:
|
1619
|
+
architecture_allowed_values = ["I386", "I686", "AARCH64", "X86_64", "SRC", "NOARCH", "OTHER"]
|
1620
|
+
if kwargs['architecture'] not in architecture_allowed_values:
|
1621
|
+
raise ValueError(
|
1622
|
+
f"Invalid value for `architecture`, must be one of { architecture_allowed_values }"
|
1623
|
+
)
|
1624
|
+
|
1625
|
+
if 'os_family' in kwargs:
|
1626
|
+
os_family_allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"]
|
1627
|
+
if kwargs['os_family'] not in os_family_allowed_values:
|
1628
|
+
raise ValueError(
|
1629
|
+
f"Invalid value for `os_family`, must be one of { os_family_allowed_values }"
|
1630
|
+
)
|
1631
|
+
|
1632
|
+
if 'sort_order' in kwargs:
|
1633
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
1634
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
1635
|
+
raise ValueError(
|
1636
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
1637
|
+
)
|
1638
|
+
|
1639
|
+
if 'sort_by' in kwargs:
|
1640
|
+
sort_by_allowed_values = ["displayName"]
|
1641
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
1642
|
+
raise ValueError(
|
1643
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
1644
|
+
)
|
1645
|
+
|
1646
|
+
query_params = {
|
1647
|
+
"displayName": kwargs.get("display_name", missing),
|
1648
|
+
"displayNameContains": kwargs.get("display_name_contains", missing),
|
1649
|
+
"version": kwargs.get("version", missing),
|
1650
|
+
"architecture": kwargs.get("architecture", missing),
|
1651
|
+
"isLatest": kwargs.get("is_latest", missing),
|
1652
|
+
"osFamily": kwargs.get("os_family", missing),
|
1653
|
+
"limit": kwargs.get("limit", missing),
|
1654
|
+
"page": kwargs.get("page", missing),
|
1655
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
1656
|
+
"sortBy": kwargs.get("sort_by", missing)
|
1657
|
+
}
|
1658
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1659
|
+
|
1660
|
+
header_params = {
|
1661
|
+
"accept": "application/json",
|
1662
|
+
"content-type": "application/json",
|
1663
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1664
|
+
}
|
1665
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1666
|
+
|
1667
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1668
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1669
|
+
client_retry_strategy=self.retry_strategy
|
1670
|
+
)
|
1671
|
+
if retry_strategy is None:
|
1672
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1673
|
+
|
1674
|
+
if retry_strategy:
|
1675
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1676
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1677
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1678
|
+
return retry_strategy.make_retrying_call(
|
1679
|
+
self.base_client.call_api,
|
1680
|
+
resource_path=resource_path,
|
1681
|
+
method=method,
|
1682
|
+
query_params=query_params,
|
1683
|
+
header_params=header_params,
|
1684
|
+
response_type="SoftwarePackageCollection",
|
1685
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1686
|
+
operation_name=operation_name,
|
1687
|
+
api_reference_link=api_reference_link,
|
1688
|
+
required_arguments=required_arguments)
|
1689
|
+
else:
|
1690
|
+
return self.base_client.call_api(
|
1691
|
+
resource_path=resource_path,
|
1692
|
+
method=method,
|
1693
|
+
query_params=query_params,
|
1694
|
+
header_params=header_params,
|
1695
|
+
response_type="SoftwarePackageCollection",
|
1696
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1697
|
+
operation_name=operation_name,
|
1698
|
+
api_reference_link=api_reference_link,
|
1699
|
+
required_arguments=required_arguments)
|
1700
|
+
|
1152
1701
|
def list_entitlements(self, compartment_id, **kwargs):
|
1153
1702
|
"""
|
1154
|
-
Lists entitlements in the specified tenancy OCID. Filter the list against a variety of criteria including but
|
1155
|
-
not limited to its CSI, and vendor name.
|
1703
|
+
Lists entitlements in the specified tenancy `OCID`__. Filter the list against a variety of criteria including but
|
1704
|
+
not limited to its Customer Support Identifier (CSI), and vendor name.
|
1705
|
+
|
1706
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1156
1707
|
|
1157
1708
|
|
1158
1709
|
:param str compartment_id: (required)
|
1159
|
-
The OCID of the compartment
|
1710
|
+
The `OCID`__ of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
1711
|
+
|
1712
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1160
1713
|
|
1161
1714
|
:param str csi: (optional)
|
1162
1715
|
A filter to return entitlements that match the given CSI.
|
1163
1716
|
|
1164
1717
|
:param str vendor_name: (optional)
|
1165
|
-
A filter to return only
|
1718
|
+
A filter to return only resources that match the given vendor name.
|
1166
1719
|
|
1167
|
-
Allowed values are: "ORACLE"
|
1720
|
+
Allowed values are: "ORACLE", "MICROSOFT"
|
1168
1721
|
|
1169
1722
|
:param int limit: (optional)
|
1170
1723
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -1211,7 +1764,7 @@ class SoftwareSourceClient(object):
|
|
1211
1764
|
:rtype: :class:`~oci.response.Response`
|
1212
1765
|
|
1213
1766
|
:example:
|
1214
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1767
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_entitlements.py.html>`__ to see an example of how to use list_entitlements API.
|
1215
1768
|
"""
|
1216
1769
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1217
1770
|
required_arguments = ['compartmentId']
|
@@ -1238,7 +1791,7 @@ class SoftwareSourceClient(object):
|
|
1238
1791
|
f"list_entitlements got unknown kwargs: {extra_kwargs!r}")
|
1239
1792
|
|
1240
1793
|
if 'vendor_name' in kwargs:
|
1241
|
-
vendor_name_allowed_values = ["ORACLE"]
|
1794
|
+
vendor_name_allowed_values = ["ORACLE", "MICROSOFT"]
|
1242
1795
|
if kwargs['vendor_name'] not in vendor_name_allowed_values:
|
1243
1796
|
raise ValueError(
|
1244
1797
|
f"Invalid value for `vendor_name`, must be one of { vendor_name_allowed_values }"
|
@@ -1317,7 +1870,9 @@ class SoftwareSourceClient(object):
|
|
1317
1870
|
|
1318
1871
|
|
1319
1872
|
:param str compartment_id: (required)
|
1320
|
-
The OCID of the compartment
|
1873
|
+
The `OCID`__ of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
1874
|
+
|
1875
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1321
1876
|
|
1322
1877
|
:param list[str] name: (optional)
|
1323
1878
|
The assigned erratum name. It's unique and not changeable.
|
@@ -1332,10 +1887,15 @@ class SoftwareSourceClient(object):
|
|
1332
1887
|
|
1333
1888
|
Allowed values are: "SECURITY", "BUGFIX", "ENHANCEMENT", "OTHER"
|
1334
1889
|
|
1890
|
+
:param list[str] advisory_type: (optional)
|
1891
|
+
A filter to return only errata that match the given advisory types.
|
1892
|
+
|
1893
|
+
Allowed values are: "SECURITY", "BUGFIX", "ENHANCEMENT"
|
1894
|
+
|
1335
1895
|
:param str os_family: (optional)
|
1336
|
-
A filter to return only
|
1896
|
+
A filter to return only resources that match the given operating system family.
|
1337
1897
|
|
1338
|
-
Allowed values are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7"
|
1898
|
+
Allowed values are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
|
1339
1899
|
|
1340
1900
|
:param list[str] advisory_severity: (optional)
|
1341
1901
|
The advisory severity.
|
@@ -1397,7 +1957,7 @@ class SoftwareSourceClient(object):
|
|
1397
1957
|
:rtype: :class:`~oci.response.Response`
|
1398
1958
|
|
1399
1959
|
:example:
|
1400
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1960
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_errata.py.html>`__ to see an example of how to use list_errata API.
|
1401
1961
|
"""
|
1402
1962
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1403
1963
|
required_arguments = ['compartmentId']
|
@@ -1413,6 +1973,7 @@ class SoftwareSourceClient(object):
|
|
1413
1973
|
"name",
|
1414
1974
|
"name_contains",
|
1415
1975
|
"classification_type",
|
1976
|
+
"advisory_type",
|
1416
1977
|
"os_family",
|
1417
1978
|
"advisory_severity",
|
1418
1979
|
"time_issue_date_start",
|
@@ -1436,8 +1997,16 @@ class SoftwareSourceClient(object):
|
|
1436
1997
|
f"Invalid value for `classification_type`, must be one of { classification_type_allowed_values }"
|
1437
1998
|
)
|
1438
1999
|
|
2000
|
+
if 'advisory_type' in kwargs:
|
2001
|
+
advisory_type_allowed_values = ["SECURITY", "BUGFIX", "ENHANCEMENT"]
|
2002
|
+
for advisory_type_item in kwargs['advisory_type']:
|
2003
|
+
if advisory_type_item not in advisory_type_allowed_values:
|
2004
|
+
raise ValueError(
|
2005
|
+
f"Invalid value for `advisory_type`, must be one of { advisory_type_allowed_values }"
|
2006
|
+
)
|
2007
|
+
|
1439
2008
|
if 'os_family' in kwargs:
|
1440
|
-
os_family_allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7"]
|
2009
|
+
os_family_allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"]
|
1441
2010
|
if kwargs['os_family'] not in os_family_allowed_values:
|
1442
2011
|
raise ValueError(
|
1443
2012
|
f"Invalid value for `os_family`, must be one of { os_family_allowed_values }"
|
@@ -1470,6 +2039,7 @@ class SoftwareSourceClient(object):
|
|
1470
2039
|
"name": self.base_client.generate_collection_format_param(kwargs.get("name", missing), 'multi'),
|
1471
2040
|
"nameContains": kwargs.get("name_contains", missing),
|
1472
2041
|
"classificationType": self.base_client.generate_collection_format_param(kwargs.get("classification_type", missing), 'multi'),
|
2042
|
+
"advisoryType": self.base_client.generate_collection_format_param(kwargs.get("advisory_type", missing), 'multi'),
|
1473
2043
|
"osFamily": kwargs.get("os_family", missing),
|
1474
2044
|
"advisorySeverity": self.base_client.generate_collection_format_param(kwargs.get("advisory_severity", missing), 'multi'),
|
1475
2045
|
"timeIssueDateStart": kwargs.get("time_issue_date_start", missing),
|
@@ -1524,20 +2094,23 @@ class SoftwareSourceClient(object):
|
|
1524
2094
|
|
1525
2095
|
def list_module_stream_profiles(self, software_source_id, **kwargs):
|
1526
2096
|
"""
|
1527
|
-
Lists module stream profiles from the specified software source OCID. Filter the list against a variety of
|
1528
|
-
criteria including but not limited to its module name, stream name, and
|
2097
|
+
Lists module stream profiles from the specified software source `OCID`__. Filter the list against a variety of
|
2098
|
+
criteria including but not limited to its module name, stream name, and profile name.
|
2099
|
+
|
2100
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1529
2101
|
|
1530
2102
|
|
1531
2103
|
:param str software_source_id: (required)
|
1532
|
-
The software source
|
2104
|
+
The `OCID`__ of the software source.
|
2105
|
+
|
2106
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1533
2107
|
|
1534
2108
|
:param str module_name: (optional)
|
1535
2109
|
The name of a module. This parameter is required if a
|
1536
2110
|
streamName is specified.
|
1537
2111
|
|
1538
2112
|
:param str stream_name: (optional)
|
1539
|
-
The name of the stream
|
1540
|
-
is required if a profileName is specified.
|
2113
|
+
The name of the module stream. This parameter is required if a profile name is specified.
|
1541
2114
|
|
1542
2115
|
:param str name: (optional)
|
1543
2116
|
The name of the entity to be queried.
|
@@ -1587,7 +2160,7 @@ class SoftwareSourceClient(object):
|
|
1587
2160
|
:rtype: :class:`~oci.response.Response`
|
1588
2161
|
|
1589
2162
|
:example:
|
1590
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2163
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_module_stream_profiles.py.html>`__ to see an example of how to use list_module_stream_profiles API.
|
1591
2164
|
"""
|
1592
2165
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1593
2166
|
required_arguments = ['softwareSourceId']
|
@@ -1694,12 +2267,16 @@ class SoftwareSourceClient(object):
|
|
1694
2267
|
|
1695
2268
|
def list_module_streams(self, software_source_id, **kwargs):
|
1696
2269
|
"""
|
1697
|
-
Lists module streams from the specified software source OCID.
|
1698
|
-
criteria including but not limited to its module name and (stream) name.
|
2270
|
+
Lists module streams from the specified software source `OCID`__.
|
2271
|
+
Filter the list against a variety of criteria including but not limited to its module name and (stream) name.
|
2272
|
+
|
2273
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1699
2274
|
|
1700
2275
|
|
1701
2276
|
:param str software_source_id: (required)
|
1702
|
-
The software source
|
2277
|
+
The `OCID`__ of the software source.
|
2278
|
+
|
2279
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1703
2280
|
|
1704
2281
|
:param str module_name: (optional)
|
1705
2282
|
The name of a module. This parameter is required if a
|
@@ -1709,9 +2286,7 @@ class SoftwareSourceClient(object):
|
|
1709
2286
|
The name of the entity to be queried.
|
1710
2287
|
|
1711
2288
|
:param bool is_latest: (optional)
|
1712
|
-
|
1713
|
-
and stream profiles when set to true. All packages, module streams, and stream profiles are
|
1714
|
-
returned when set to false.
|
2289
|
+
Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
|
1715
2290
|
|
1716
2291
|
:param int limit: (optional)
|
1717
2292
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -1761,7 +2336,7 @@ class SoftwareSourceClient(object):
|
|
1761
2336
|
:rtype: :class:`~oci.response.Response`
|
1762
2337
|
|
1763
2338
|
:example:
|
1764
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2339
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_module_streams.py.html>`__ to see an example of how to use list_module_streams API.
|
1765
2340
|
"""
|
1766
2341
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1767
2342
|
required_arguments = ['softwareSourceId']
|
@@ -1870,15 +2445,19 @@ class SoftwareSourceClient(object):
|
|
1870
2445
|
|
1871
2446
|
def list_package_groups(self, software_source_id, **kwargs):
|
1872
2447
|
"""
|
1873
|
-
Lists package groups that
|
2448
|
+
Lists package groups that are associated with the specified software source `OCID`__. Filter the list against a
|
1874
2449
|
variety of criteria including but not limited to its name, and package group type.
|
1875
2450
|
|
2451
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2452
|
+
|
1876
2453
|
|
1877
2454
|
:param str software_source_id: (required)
|
1878
|
-
The software source
|
2455
|
+
The `OCID`__ of the software source.
|
2456
|
+
|
2457
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1879
2458
|
|
1880
2459
|
:param str compartment_id: (optional)
|
1881
|
-
The OCID of the compartment that contains the resources to list.
|
2460
|
+
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
1882
2461
|
|
1883
2462
|
:param str name: (optional)
|
1884
2463
|
The name of the entity to be queried.
|
@@ -1934,7 +2513,7 @@ class SoftwareSourceClient(object):
|
|
1934
2513
|
:rtype: :class:`~oci.response.Response`
|
1935
2514
|
|
1936
2515
|
:example:
|
1937
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2516
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_package_groups.py.html>`__ to see an example of how to use list_package_groups API.
|
1938
2517
|
"""
|
1939
2518
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1940
2519
|
required_arguments = ['softwareSourceId']
|
@@ -2041,6 +2620,270 @@ class SoftwareSourceClient(object):
|
|
2041
2620
|
api_reference_link=api_reference_link,
|
2042
2621
|
required_arguments=required_arguments)
|
2043
2622
|
|
2623
|
+
def list_software_package_software_sources(self, software_package_name, compartment_id, **kwargs):
|
2624
|
+
"""
|
2625
|
+
Lists the software sources in the tenancy that contain the software package. Filter the list against a
|
2626
|
+
variety of criteria including but not limited to its name, type, architecture, and OS family.
|
2627
|
+
|
2628
|
+
|
2629
|
+
:param str software_package_name: (required)
|
2630
|
+
The name of the software package.
|
2631
|
+
|
2632
|
+
:param str compartment_id: (required)
|
2633
|
+
The `OCID`__ of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
2634
|
+
|
2635
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2636
|
+
|
2637
|
+
:param list[str] software_source_type: (optional)
|
2638
|
+
The type of the software source.
|
2639
|
+
|
2640
|
+
Allowed values are: "VENDOR", "CUSTOM", "VERSIONED"
|
2641
|
+
|
2642
|
+
:param list[str] os_family: (optional)
|
2643
|
+
A filter to return only resources that match the given operating system family.
|
2644
|
+
|
2645
|
+
Allowed values are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
|
2646
|
+
|
2647
|
+
:param list[str] arch_type: (optional)
|
2648
|
+
A filter to return only instances whose architecture type matches the given architecture.
|
2649
|
+
|
2650
|
+
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
|
2651
|
+
|
2652
|
+
:param list[str] availability: (optional)
|
2653
|
+
The availabilities of the software source in a non-OCI environment for a tenancy.
|
2654
|
+
|
2655
|
+
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
|
2656
|
+
|
2657
|
+
:param list[str] availability_at_oci: (optional)
|
2658
|
+
The availabilities of the software source in an OCI environment for a tenancy.
|
2659
|
+
|
2660
|
+
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
|
2661
|
+
|
2662
|
+
:param list[str] availability_anywhere: (optional)
|
2663
|
+
The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
|
2664
|
+
|
2665
|
+
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
|
2666
|
+
|
2667
|
+
:param str display_name: (optional)
|
2668
|
+
A filter to return resources that match the given user-friendly name.
|
2669
|
+
|
2670
|
+
:param str display_name_contains: (optional)
|
2671
|
+
A filter to return resources that may partially match the given display name.
|
2672
|
+
|
2673
|
+
:param int limit: (optional)
|
2674
|
+
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
2675
|
+
For important details about how pagination works, see `List Pagination`__.
|
2676
|
+
|
2677
|
+
Example: `50`
|
2678
|
+
|
2679
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
2680
|
+
|
2681
|
+
:param str page: (optional)
|
2682
|
+
For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.
|
2683
|
+
For important details about how pagination works, see `List Pagination`__.
|
2684
|
+
|
2685
|
+
Example: `3`
|
2686
|
+
|
2687
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
2688
|
+
|
2689
|
+
:param str sort_order: (optional)
|
2690
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
2691
|
+
|
2692
|
+
Allowed values are: "ASC", "DESC"
|
2693
|
+
|
2694
|
+
:param str sort_by: (optional)
|
2695
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
2696
|
+
|
2697
|
+
Allowed values are: "timeCreated", "displayName"
|
2698
|
+
|
2699
|
+
:param list[SoftwareSourceLifecycleState] lifecycle_state: (optional)
|
2700
|
+
A filter to return only software sources whose state matches the given state.
|
2701
|
+
|
2702
|
+
:param str opc_request_id: (optional)
|
2703
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2704
|
+
|
2705
|
+
:param obj retry_strategy: (optional)
|
2706
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2707
|
+
|
2708
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2709
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2710
|
+
|
2711
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2712
|
+
|
2713
|
+
:param bool allow_control_chars: (optional)
|
2714
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2715
|
+
By default, the response will not allow control characters in strings
|
2716
|
+
|
2717
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.SoftwareSourceCollection`
|
2718
|
+
:rtype: :class:`~oci.response.Response`
|
2719
|
+
|
2720
|
+
:example:
|
2721
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_software_package_software_sources.py.html>`__ to see an example of how to use list_software_package_software_sources API.
|
2722
|
+
"""
|
2723
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2724
|
+
required_arguments = ['softwarePackageName', 'compartmentId']
|
2725
|
+
resource_path = "/softwarePackages/{softwarePackageName}/softwareSources"
|
2726
|
+
method = "GET"
|
2727
|
+
operation_name = "list_software_package_software_sources"
|
2728
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/ListSoftwarePackageSoftwareSources"
|
2729
|
+
|
2730
|
+
# Don't accept unknown kwargs
|
2731
|
+
expected_kwargs = [
|
2732
|
+
"allow_control_chars",
|
2733
|
+
"retry_strategy",
|
2734
|
+
"software_source_type",
|
2735
|
+
"os_family",
|
2736
|
+
"arch_type",
|
2737
|
+
"availability",
|
2738
|
+
"availability_at_oci",
|
2739
|
+
"availability_anywhere",
|
2740
|
+
"display_name",
|
2741
|
+
"display_name_contains",
|
2742
|
+
"limit",
|
2743
|
+
"page",
|
2744
|
+
"sort_order",
|
2745
|
+
"sort_by",
|
2746
|
+
"lifecycle_state",
|
2747
|
+
"opc_request_id"
|
2748
|
+
]
|
2749
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2750
|
+
if extra_kwargs:
|
2751
|
+
raise ValueError(
|
2752
|
+
f"list_software_package_software_sources got unknown kwargs: {extra_kwargs!r}")
|
2753
|
+
|
2754
|
+
path_params = {
|
2755
|
+
"softwarePackageName": software_package_name
|
2756
|
+
}
|
2757
|
+
|
2758
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2759
|
+
|
2760
|
+
for (k, v) in six.iteritems(path_params):
|
2761
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2762
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2763
|
+
|
2764
|
+
if 'software_source_type' in kwargs:
|
2765
|
+
software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
|
2766
|
+
for software_source_type_item in kwargs['software_source_type']:
|
2767
|
+
if software_source_type_item not in software_source_type_allowed_values:
|
2768
|
+
raise ValueError(
|
2769
|
+
f"Invalid value for `software_source_type`, must be one of { software_source_type_allowed_values }"
|
2770
|
+
)
|
2771
|
+
|
2772
|
+
if 'os_family' in kwargs:
|
2773
|
+
os_family_allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"]
|
2774
|
+
for os_family_item in kwargs['os_family']:
|
2775
|
+
if os_family_item not in os_family_allowed_values:
|
2776
|
+
raise ValueError(
|
2777
|
+
f"Invalid value for `os_family`, must be one of { os_family_allowed_values }"
|
2778
|
+
)
|
2779
|
+
|
2780
|
+
if 'arch_type' in kwargs:
|
2781
|
+
arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
|
2782
|
+
for arch_type_item in kwargs['arch_type']:
|
2783
|
+
if arch_type_item not in arch_type_allowed_values:
|
2784
|
+
raise ValueError(
|
2785
|
+
f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
|
2786
|
+
)
|
2787
|
+
|
2788
|
+
if 'availability' in kwargs:
|
2789
|
+
availability_allowed_values = ["AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"]
|
2790
|
+
for availability_item in kwargs['availability']:
|
2791
|
+
if availability_item not in availability_allowed_values:
|
2792
|
+
raise ValueError(
|
2793
|
+
f"Invalid value for `availability`, must be one of { availability_allowed_values }"
|
2794
|
+
)
|
2795
|
+
|
2796
|
+
if 'availability_at_oci' in kwargs:
|
2797
|
+
availability_at_oci_allowed_values = ["AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"]
|
2798
|
+
for availability_at_oci_item in kwargs['availability_at_oci']:
|
2799
|
+
if availability_at_oci_item not in availability_at_oci_allowed_values:
|
2800
|
+
raise ValueError(
|
2801
|
+
f"Invalid value for `availability_at_oci`, must be one of { availability_at_oci_allowed_values }"
|
2802
|
+
)
|
2803
|
+
|
2804
|
+
if 'availability_anywhere' in kwargs:
|
2805
|
+
availability_anywhere_allowed_values = ["AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"]
|
2806
|
+
for availability_anywhere_item in kwargs['availability_anywhere']:
|
2807
|
+
if availability_anywhere_item not in availability_anywhere_allowed_values:
|
2808
|
+
raise ValueError(
|
2809
|
+
f"Invalid value for `availability_anywhere`, must be one of { availability_anywhere_allowed_values }"
|
2810
|
+
)
|
2811
|
+
|
2812
|
+
if 'sort_order' in kwargs:
|
2813
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
2814
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
2815
|
+
raise ValueError(
|
2816
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
2817
|
+
)
|
2818
|
+
|
2819
|
+
if 'sort_by' in kwargs:
|
2820
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
2821
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
2822
|
+
raise ValueError(
|
2823
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
2824
|
+
)
|
2825
|
+
|
2826
|
+
query_params = {
|
2827
|
+
"compartmentId": compartment_id,
|
2828
|
+
"softwareSourceType": self.base_client.generate_collection_format_param(kwargs.get("software_source_type", missing), 'multi'),
|
2829
|
+
"osFamily": self.base_client.generate_collection_format_param(kwargs.get("os_family", missing), 'multi'),
|
2830
|
+
"archType": self.base_client.generate_collection_format_param(kwargs.get("arch_type", missing), 'multi'),
|
2831
|
+
"availability": self.base_client.generate_collection_format_param(kwargs.get("availability", missing), 'multi'),
|
2832
|
+
"availabilityAtOci": self.base_client.generate_collection_format_param(kwargs.get("availability_at_oci", missing), 'multi'),
|
2833
|
+
"availabilityAnywhere": self.base_client.generate_collection_format_param(kwargs.get("availability_anywhere", missing), 'multi'),
|
2834
|
+
"displayName": kwargs.get("display_name", missing),
|
2835
|
+
"displayNameContains": kwargs.get("display_name_contains", missing),
|
2836
|
+
"limit": kwargs.get("limit", missing),
|
2837
|
+
"page": kwargs.get("page", missing),
|
2838
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
2839
|
+
"sortBy": kwargs.get("sort_by", missing),
|
2840
|
+
"lifecycleState": self.base_client.generate_collection_format_param(kwargs.get("lifecycle_state", missing), 'multi')
|
2841
|
+
}
|
2842
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2843
|
+
|
2844
|
+
header_params = {
|
2845
|
+
"accept": "application/json",
|
2846
|
+
"content-type": "application/json",
|
2847
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2848
|
+
}
|
2849
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2850
|
+
|
2851
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2852
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2853
|
+
client_retry_strategy=self.retry_strategy
|
2854
|
+
)
|
2855
|
+
if retry_strategy is None:
|
2856
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2857
|
+
|
2858
|
+
if retry_strategy:
|
2859
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2860
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2861
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2862
|
+
return retry_strategy.make_retrying_call(
|
2863
|
+
self.base_client.call_api,
|
2864
|
+
resource_path=resource_path,
|
2865
|
+
method=method,
|
2866
|
+
path_params=path_params,
|
2867
|
+
query_params=query_params,
|
2868
|
+
header_params=header_params,
|
2869
|
+
response_type="SoftwareSourceCollection",
|
2870
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2871
|
+
operation_name=operation_name,
|
2872
|
+
api_reference_link=api_reference_link,
|
2873
|
+
required_arguments=required_arguments)
|
2874
|
+
else:
|
2875
|
+
return self.base_client.call_api(
|
2876
|
+
resource_path=resource_path,
|
2877
|
+
method=method,
|
2878
|
+
path_params=path_params,
|
2879
|
+
query_params=query_params,
|
2880
|
+
header_params=header_params,
|
2881
|
+
response_type="SoftwareSourceCollection",
|
2882
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2883
|
+
operation_name=operation_name,
|
2884
|
+
api_reference_link=api_reference_link,
|
2885
|
+
required_arguments=required_arguments)
|
2886
|
+
|
2044
2887
|
def list_software_packages(self, software_source_id, **kwargs):
|
2045
2888
|
"""
|
2046
2889
|
Lists software packages in the specified software source. Filter the list against a variety of criteria
|
@@ -2048,20 +2891,18 @@ class SoftwareSourceClient(object):
|
|
2048
2891
|
|
2049
2892
|
|
2050
2893
|
:param str software_source_id: (required)
|
2051
|
-
The software source
|
2894
|
+
The `OCID`__ of the software source.
|
2052
2895
|
|
2053
|
-
|
2054
|
-
A user-friendly name. Does not have to be unique, and it's changeable.
|
2896
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2055
2897
|
|
2056
|
-
|
2898
|
+
:param str display_name: (optional)
|
2899
|
+
A filter to return resources that match the given user-friendly name.
|
2057
2900
|
|
2058
2901
|
:param str display_name_contains: (optional)
|
2059
2902
|
A filter to return resources that may partially match the given display name.
|
2060
2903
|
|
2061
2904
|
:param bool is_latest: (optional)
|
2062
|
-
|
2063
|
-
and stream profiles when set to true. All packages, module streams, and stream profiles are
|
2064
|
-
returned when set to false.
|
2905
|
+
Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
|
2065
2906
|
|
2066
2907
|
:param int limit: (optional)
|
2067
2908
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -2108,7 +2949,7 @@ class SoftwareSourceClient(object):
|
|
2108
2949
|
:rtype: :class:`~oci.response.Response`
|
2109
2950
|
|
2110
2951
|
:example:
|
2111
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2952
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_software_packages.py.html>`__ to see an example of how to use list_software_packages API.
|
2112
2953
|
"""
|
2113
2954
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2114
2955
|
required_arguments = ['softwareSourceId']
|
@@ -2220,7 +3061,9 @@ class SoftwareSourceClient(object):
|
|
2220
3061
|
|
2221
3062
|
|
2222
3063
|
:param str compartment_id: (required)
|
2223
|
-
The OCID of the compartment
|
3064
|
+
The `OCID`__ of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
3065
|
+
|
3066
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2224
3067
|
|
2225
3068
|
:param str opc_request_id: (optional)
|
2226
3069
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -2254,7 +3097,7 @@ class SoftwareSourceClient(object):
|
|
2254
3097
|
:rtype: :class:`~oci.response.Response`
|
2255
3098
|
|
2256
3099
|
:example:
|
2257
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3100
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_software_source_vendors.py.html>`__ to see an example of how to use list_software_source_vendors API.
|
2258
3101
|
"""
|
2259
3102
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2260
3103
|
required_arguments = ['compartmentId']
|
@@ -2342,15 +3185,19 @@ class SoftwareSourceClient(object):
|
|
2342
3185
|
|
2343
3186
|
def list_software_sources(self, **kwargs):
|
2344
3187
|
"""
|
2345
|
-
Lists software sources that match the specified tenancy or software source OCID. Filter the list against a
|
3188
|
+
Lists software sources that match the specified tenancy or software source `OCID`__. Filter the list against a
|
2346
3189
|
variety of criteria including but not limited to its name, status, architecture, and OS family.
|
2347
3190
|
|
3191
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
3192
|
+
|
2348
3193
|
|
2349
3194
|
:param str compartment_id: (optional)
|
2350
|
-
The OCID of the compartment that contains the resources to list.
|
3195
|
+
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
2351
3196
|
|
2352
3197
|
:param str software_source_id: (optional)
|
2353
|
-
The OCID for the software source.
|
3198
|
+
The `OCID`__ for the software source.
|
3199
|
+
|
3200
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2354
3201
|
|
2355
3202
|
:param list[str] software_source_type: (optional)
|
2356
3203
|
The type of the software source.
|
@@ -2358,14 +3205,14 @@ class SoftwareSourceClient(object):
|
|
2358
3205
|
Allowed values are: "VENDOR", "CUSTOM", "VERSIONED"
|
2359
3206
|
|
2360
3207
|
:param str vendor_name: (optional)
|
2361
|
-
A filter to return only
|
3208
|
+
A filter to return only resources that match the given vendor name.
|
2362
3209
|
|
2363
|
-
Allowed values are: "ORACLE"
|
3210
|
+
Allowed values are: "ORACLE", "MICROSOFT"
|
2364
3211
|
|
2365
3212
|
:param list[str] os_family: (optional)
|
2366
|
-
A filter to return only
|
3213
|
+
A filter to return only resources that match the given operating system family.
|
2367
3214
|
|
2368
|
-
Allowed values are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7"
|
3215
|
+
Allowed values are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
|
2369
3216
|
|
2370
3217
|
:param list[str] arch_type: (optional)
|
2371
3218
|
A filter to return only instances whose architecture type matches the given architecture.
|
@@ -2373,14 +3220,25 @@ class SoftwareSourceClient(object):
|
|
2373
3220
|
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
|
2374
3221
|
|
2375
3222
|
:param list[str] availability: (optional)
|
2376
|
-
The availabilities of the software source for a
|
3223
|
+
The availabilities of the software source in a non-OCI environment for a tenancy.
|
2377
3224
|
|
2378
|
-
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED"
|
3225
|
+
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
|
2379
3226
|
|
2380
|
-
:param str
|
2381
|
-
|
3227
|
+
:param list[str] availability_at_oci: (optional)
|
3228
|
+
The availabilities of the software source in an OCI environment for a tenancy.
|
3229
|
+
|
3230
|
+
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
|
3231
|
+
|
3232
|
+
:param list[str] availability_anywhere: (optional)
|
3233
|
+
The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
|
2382
3234
|
|
2383
|
-
|
3235
|
+
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
|
3236
|
+
|
3237
|
+
:param bool is_mandatory_for_autonomous_linux: (optional)
|
3238
|
+
Indicates whether the software source is mandatory for the Autonomous Linux service.
|
3239
|
+
|
3240
|
+
:param str display_name: (optional)
|
3241
|
+
A filter to return resources that match the given user-friendly name.
|
2384
3242
|
|
2385
3243
|
:param str display_name_contains: (optional)
|
2386
3244
|
A filter to return resources that may partially match the given display name.
|
@@ -2415,7 +3273,7 @@ class SoftwareSourceClient(object):
|
|
2415
3273
|
Allowed values are: "timeCreated", "displayName"
|
2416
3274
|
|
2417
3275
|
:param list[SoftwareSourceLifecycleState] lifecycle_state: (optional)
|
2418
|
-
A filter to return only
|
3276
|
+
A filter to return only software sources whose state matches the given state.
|
2419
3277
|
|
2420
3278
|
:param str opc_request_id: (optional)
|
2421
3279
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -2436,7 +3294,7 @@ class SoftwareSourceClient(object):
|
|
2436
3294
|
:rtype: :class:`~oci.response.Response`
|
2437
3295
|
|
2438
3296
|
:example:
|
2439
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3297
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_software_sources.py.html>`__ to see an example of how to use list_software_sources API.
|
2440
3298
|
"""
|
2441
3299
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2442
3300
|
required_arguments = []
|
@@ -2456,6 +3314,9 @@ class SoftwareSourceClient(object):
|
|
2456
3314
|
"os_family",
|
2457
3315
|
"arch_type",
|
2458
3316
|
"availability",
|
3317
|
+
"availability_at_oci",
|
3318
|
+
"availability_anywhere",
|
3319
|
+
"is_mandatory_for_autonomous_linux",
|
2459
3320
|
"display_name",
|
2460
3321
|
"display_name_contains",
|
2461
3322
|
"display_name_not_equal_to",
|
@@ -2480,14 +3341,14 @@ class SoftwareSourceClient(object):
|
|
2480
3341
|
)
|
2481
3342
|
|
2482
3343
|
if 'vendor_name' in kwargs:
|
2483
|
-
vendor_name_allowed_values = ["ORACLE"]
|
3344
|
+
vendor_name_allowed_values = ["ORACLE", "MICROSOFT"]
|
2484
3345
|
if kwargs['vendor_name'] not in vendor_name_allowed_values:
|
2485
3346
|
raise ValueError(
|
2486
3347
|
f"Invalid value for `vendor_name`, must be one of { vendor_name_allowed_values }"
|
2487
3348
|
)
|
2488
3349
|
|
2489
3350
|
if 'os_family' in kwargs:
|
2490
|
-
os_family_allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7"]
|
3351
|
+
os_family_allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"]
|
2491
3352
|
for os_family_item in kwargs['os_family']:
|
2492
3353
|
if os_family_item not in os_family_allowed_values:
|
2493
3354
|
raise ValueError(
|
@@ -2503,13 +3364,29 @@ class SoftwareSourceClient(object):
|
|
2503
3364
|
)
|
2504
3365
|
|
2505
3366
|
if 'availability' in kwargs:
|
2506
|
-
availability_allowed_values = ["AVAILABLE", "SELECTED", "RESTRICTED"]
|
3367
|
+
availability_allowed_values = ["AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"]
|
2507
3368
|
for availability_item in kwargs['availability']:
|
2508
3369
|
if availability_item not in availability_allowed_values:
|
2509
3370
|
raise ValueError(
|
2510
3371
|
f"Invalid value for `availability`, must be one of { availability_allowed_values }"
|
2511
3372
|
)
|
2512
3373
|
|
3374
|
+
if 'availability_at_oci' in kwargs:
|
3375
|
+
availability_at_oci_allowed_values = ["AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"]
|
3376
|
+
for availability_at_oci_item in kwargs['availability_at_oci']:
|
3377
|
+
if availability_at_oci_item not in availability_at_oci_allowed_values:
|
3378
|
+
raise ValueError(
|
3379
|
+
f"Invalid value for `availability_at_oci`, must be one of { availability_at_oci_allowed_values }"
|
3380
|
+
)
|
3381
|
+
|
3382
|
+
if 'availability_anywhere' in kwargs:
|
3383
|
+
availability_anywhere_allowed_values = ["AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"]
|
3384
|
+
for availability_anywhere_item in kwargs['availability_anywhere']:
|
3385
|
+
if availability_anywhere_item not in availability_anywhere_allowed_values:
|
3386
|
+
raise ValueError(
|
3387
|
+
f"Invalid value for `availability_anywhere`, must be one of { availability_anywhere_allowed_values }"
|
3388
|
+
)
|
3389
|
+
|
2513
3390
|
if 'sort_order' in kwargs:
|
2514
3391
|
sort_order_allowed_values = ["ASC", "DESC"]
|
2515
3392
|
if kwargs['sort_order'] not in sort_order_allowed_values:
|
@@ -2532,6 +3409,9 @@ class SoftwareSourceClient(object):
|
|
2532
3409
|
"osFamily": self.base_client.generate_collection_format_param(kwargs.get("os_family", missing), 'multi'),
|
2533
3410
|
"archType": self.base_client.generate_collection_format_param(kwargs.get("arch_type", missing), 'multi'),
|
2534
3411
|
"availability": self.base_client.generate_collection_format_param(kwargs.get("availability", missing), 'multi'),
|
3412
|
+
"availabilityAtOci": self.base_client.generate_collection_format_param(kwargs.get("availability_at_oci", missing), 'multi'),
|
3413
|
+
"availabilityAnywhere": self.base_client.generate_collection_format_param(kwargs.get("availability_anywhere", missing), 'multi'),
|
3414
|
+
"isMandatoryForAutonomousLinux": kwargs.get("is_mandatory_for_autonomous_linux", missing),
|
2535
3415
|
"displayName": kwargs.get("display_name", missing),
|
2536
3416
|
"displayNameContains": kwargs.get("display_name_contains", missing),
|
2537
3417
|
"displayNameNotEqualTo": self.base_client.generate_collection_format_param(kwargs.get("display_name_not_equal_to", missing), 'multi'),
|
@@ -2586,7 +3466,7 @@ class SoftwareSourceClient(object):
|
|
2586
3466
|
|
2587
3467
|
def search_software_source_module_streams(self, search_software_source_module_streams_details, **kwargs):
|
2588
3468
|
"""
|
2589
|
-
|
3469
|
+
Returns a list of module streams from the specified software sources. Filter the list against a variety of
|
2590
3470
|
criteria including the module name.
|
2591
3471
|
|
2592
3472
|
|
@@ -2628,7 +3508,7 @@ class SoftwareSourceClient(object):
|
|
2628
3508
|
:rtype: :class:`~oci.response.Response`
|
2629
3509
|
|
2630
3510
|
:example:
|
2631
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3511
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/search_software_source_module_streams.py.html>`__ to see an example of how to use search_software_source_module_streams API.
|
2632
3512
|
"""
|
2633
3513
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2634
3514
|
required_arguments = []
|
@@ -2702,7 +3582,7 @@ class SoftwareSourceClient(object):
|
|
2702
3582
|
def search_software_source_modules(self, search_software_source_modules_details, **kwargs):
|
2703
3583
|
"""
|
2704
3584
|
Lists modules from a list of software sources. Filter the list against a variety of
|
2705
|
-
criteria including the
|
3585
|
+
criteria including the module name.
|
2706
3586
|
|
2707
3587
|
|
2708
3588
|
:param oci.os_management_hub.models.SearchSoftwareSourceModulesDetails search_software_source_modules_details: (required)
|
@@ -2743,7 +3623,7 @@ class SoftwareSourceClient(object):
|
|
2743
3623
|
:rtype: :class:`~oci.response.Response`
|
2744
3624
|
|
2745
3625
|
:example:
|
2746
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3626
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/search_software_source_modules.py.html>`__ to see an example of how to use search_software_source_modules API.
|
2747
3627
|
"""
|
2748
3628
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2749
3629
|
required_arguments = []
|
@@ -2858,7 +3738,7 @@ class SoftwareSourceClient(object):
|
|
2858
3738
|
:rtype: :class:`~oci.response.Response`
|
2859
3739
|
|
2860
3740
|
:example:
|
2861
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3741
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/search_software_source_package_groups.py.html>`__ to see an example of how to use search_software_source_package_groups API.
|
2862
3742
|
"""
|
2863
3743
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2864
3744
|
required_arguments = []
|
@@ -2935,7 +3815,9 @@ class SoftwareSourceClient(object):
|
|
2935
3815
|
|
2936
3816
|
|
2937
3817
|
:param str software_source_id: (required)
|
2938
|
-
The software source
|
3818
|
+
The `OCID`__ of the software source.
|
3819
|
+
|
3820
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2939
3821
|
|
2940
3822
|
:param oci.os_management_hub.models.UpdateSoftwareSourceDetails update_software_source_details: (required)
|
2941
3823
|
The information to be updated.
|
@@ -2966,7 +3848,7 @@ class SoftwareSourceClient(object):
|
|
2966
3848
|
:rtype: :class:`~oci.response.Response`
|
2967
3849
|
|
2968
3850
|
:example:
|
2969
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3851
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/update_software_source.py.html>`__ to see an example of how to use update_software_source API.
|
2970
3852
|
"""
|
2971
3853
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2972
3854
|
required_arguments = ['softwareSourceId']
|