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 ManagedInstanceGroupClient(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):
|
@@ -118,17 +119,18 @@ class ManagedInstanceGroupClient(object):
|
|
118
119
|
|
119
120
|
def attach_managed_instances_to_managed_instance_group(self, managed_instance_group_id, attach_managed_instances_to_managed_instance_group_details, **kwargs):
|
120
121
|
"""
|
121
|
-
Adds managed instances to the specified managed instance group. After the
|
122
|
-
instances have been added, then operations can be performed on the managed
|
123
|
-
instance group which will then apply to all managed instances in the
|
124
|
-
group.
|
122
|
+
Adds managed instances to the specified managed instance group. After adding instances to the group, any operation applied to the group will be applied to all instances in the group.
|
125
123
|
|
126
124
|
|
127
125
|
:param str managed_instance_group_id: (required)
|
128
|
-
The managed instance group
|
126
|
+
The `OCID`__ of the managed instance group.
|
127
|
+
|
128
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
129
129
|
|
130
130
|
:param oci.os_management_hub.models.AttachManagedInstancesToManagedInstanceGroupDetails attach_managed_instances_to_managed_instance_group_details: (required)
|
131
|
-
|
131
|
+
The managed instances `OCIDs`__ to attach to the managed instance group.
|
132
|
+
|
133
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
132
134
|
|
133
135
|
:param str opc_request_id: (optional)
|
134
136
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -163,7 +165,7 @@ class ManagedInstanceGroupClient(object):
|
|
163
165
|
:rtype: :class:`~oci.response.Response`
|
164
166
|
|
165
167
|
:example:
|
166
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
168
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/attach_managed_instances_to_managed_instance_group.py.html>`__ to see an example of how to use attach_managed_instances_to_managed_instance_group API.
|
167
169
|
"""
|
168
170
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
169
171
|
required_arguments = ['managedInstanceGroupId']
|
@@ -241,14 +243,18 @@ class ManagedInstanceGroupClient(object):
|
|
241
243
|
|
242
244
|
def attach_software_sources_to_managed_instance_group(self, managed_instance_group_id, attach_software_sources_to_managed_instance_group_details, **kwargs):
|
243
245
|
"""
|
244
|
-
Attaches software sources to the specified managed instance group. The software sources must be compatible with the
|
246
|
+
Attaches software sources to the specified managed instance group. The software sources must be compatible with the type of instances in the group.
|
245
247
|
|
246
248
|
|
247
249
|
:param str managed_instance_group_id: (required)
|
248
|
-
The managed instance group
|
250
|
+
The `OCID`__ of the managed instance group.
|
251
|
+
|
252
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
249
253
|
|
250
254
|
:param oci.os_management_hub.models.AttachSoftwareSourcesToManagedInstanceGroupDetails attach_software_sources_to_managed_instance_group_details: (required)
|
251
|
-
|
255
|
+
The software source `OCIDs`__ to attach to the managed instance group.
|
256
|
+
|
257
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
252
258
|
|
253
259
|
:param str opc_request_id: (optional)
|
254
260
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -283,7 +289,7 @@ class ManagedInstanceGroupClient(object):
|
|
283
289
|
:rtype: :class:`~oci.response.Response`
|
284
290
|
|
285
291
|
:example:
|
286
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
292
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/attach_software_sources_to_managed_instance_group.py.html>`__ to see an example of how to use attach_software_sources_to_managed_instance_group API.
|
287
293
|
"""
|
288
294
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
289
295
|
required_arguments = ['managedInstanceGroupId']
|
@@ -359,13 +365,139 @@ class ManagedInstanceGroupClient(object):
|
|
359
365
|
api_reference_link=api_reference_link,
|
360
366
|
required_arguments=required_arguments)
|
361
367
|
|
368
|
+
def change_managed_instance_group_compartment(self, managed_instance_group_id, change_managed_instance_group_compartment_details, **kwargs):
|
369
|
+
"""
|
370
|
+
Moves the specified managed instance group to a different compartment within the same tenancy. For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__.
|
371
|
+
|
372
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
373
|
+
|
374
|
+
|
375
|
+
:param str managed_instance_group_id: (required)
|
376
|
+
The `OCID`__ of the managed instance group.
|
377
|
+
|
378
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
379
|
+
|
380
|
+
:param oci.os_management_hub.models.ChangeManagedInstanceGroupCompartmentDetails change_managed_instance_group_compartment_details: (required)
|
381
|
+
The `OCID`__ of the compartment to move the group to.
|
382
|
+
|
383
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
384
|
+
|
385
|
+
:param str opc_request_id: (optional)
|
386
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
387
|
+
|
388
|
+
:param str if_match: (optional)
|
389
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
390
|
+
for a resource, set the `if-match` parameter to the value of the
|
391
|
+
etag from a previous GET or POST response for that resource.
|
392
|
+
The resource will be updated or deleted only if the etag you
|
393
|
+
provide matches the resource's current etag value.
|
394
|
+
|
395
|
+
:param str opc_retry_token: (optional)
|
396
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
397
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
398
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
399
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
400
|
+
might be rejected.
|
401
|
+
|
402
|
+
:param obj retry_strategy: (optional)
|
403
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
404
|
+
|
405
|
+
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.
|
406
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
407
|
+
|
408
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
409
|
+
|
410
|
+
:param bool allow_control_chars: (optional)
|
411
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
412
|
+
By default, the response will not allow control characters in strings
|
413
|
+
|
414
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
415
|
+
:rtype: :class:`~oci.response.Response`
|
416
|
+
|
417
|
+
:example:
|
418
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/change_managed_instance_group_compartment.py.html>`__ to see an example of how to use change_managed_instance_group_compartment API.
|
419
|
+
"""
|
420
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
421
|
+
required_arguments = ['managedInstanceGroupId']
|
422
|
+
resource_path = "/managedInstanceGroups/{managedInstanceGroupId}/actions/changeCompartment"
|
423
|
+
method = "POST"
|
424
|
+
operation_name = "change_managed_instance_group_compartment"
|
425
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ManagedInstanceGroup/ChangeManagedInstanceGroupCompartment"
|
426
|
+
|
427
|
+
# Don't accept unknown kwargs
|
428
|
+
expected_kwargs = [
|
429
|
+
"allow_control_chars",
|
430
|
+
"retry_strategy",
|
431
|
+
"opc_request_id",
|
432
|
+
"if_match",
|
433
|
+
"opc_retry_token"
|
434
|
+
]
|
435
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
436
|
+
if extra_kwargs:
|
437
|
+
raise ValueError(
|
438
|
+
f"change_managed_instance_group_compartment got unknown kwargs: {extra_kwargs!r}")
|
439
|
+
|
440
|
+
path_params = {
|
441
|
+
"managedInstanceGroupId": managed_instance_group_id
|
442
|
+
}
|
443
|
+
|
444
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
445
|
+
|
446
|
+
for (k, v) in six.iteritems(path_params):
|
447
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
448
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
449
|
+
|
450
|
+
header_params = {
|
451
|
+
"accept": "application/json",
|
452
|
+
"content-type": "application/json",
|
453
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
454
|
+
"if-match": kwargs.get("if_match", missing),
|
455
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
456
|
+
}
|
457
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
458
|
+
|
459
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
460
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
461
|
+
client_retry_strategy=self.retry_strategy
|
462
|
+
)
|
463
|
+
if retry_strategy is None:
|
464
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
465
|
+
|
466
|
+
if retry_strategy:
|
467
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
468
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
469
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
470
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
471
|
+
return retry_strategy.make_retrying_call(
|
472
|
+
self.base_client.call_api,
|
473
|
+
resource_path=resource_path,
|
474
|
+
method=method,
|
475
|
+
path_params=path_params,
|
476
|
+
header_params=header_params,
|
477
|
+
body=change_managed_instance_group_compartment_details,
|
478
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
479
|
+
operation_name=operation_name,
|
480
|
+
api_reference_link=api_reference_link,
|
481
|
+
required_arguments=required_arguments)
|
482
|
+
else:
|
483
|
+
return self.base_client.call_api(
|
484
|
+
resource_path=resource_path,
|
485
|
+
method=method,
|
486
|
+
path_params=path_params,
|
487
|
+
header_params=header_params,
|
488
|
+
body=change_managed_instance_group_compartment_details,
|
489
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
490
|
+
operation_name=operation_name,
|
491
|
+
api_reference_link=api_reference_link,
|
492
|
+
required_arguments=required_arguments)
|
493
|
+
|
362
494
|
def create_managed_instance_group(self, create_managed_instance_group_details, **kwargs):
|
363
495
|
"""
|
364
496
|
Creates a new managed instance group.
|
365
497
|
|
366
498
|
|
367
499
|
:param oci.os_management_hub.models.CreateManagedInstanceGroupDetails create_managed_instance_group_details: (required)
|
368
|
-
|
500
|
+
Provides the information used to create the managed instance group.
|
369
501
|
|
370
502
|
:param str opc_retry_token: (optional)
|
371
503
|
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
@@ -393,7 +525,7 @@ class ManagedInstanceGroupClient(object):
|
|
393
525
|
:rtype: :class:`~oci.response.Response`
|
394
526
|
|
395
527
|
:example:
|
396
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
528
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/create_managed_instance_group.py.html>`__ to see an example of how to use create_managed_instance_group API.
|
397
529
|
"""
|
398
530
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
399
531
|
required_arguments = []
|
@@ -459,11 +591,13 @@ class ManagedInstanceGroupClient(object):
|
|
459
591
|
|
460
592
|
def delete_managed_instance_group(self, managed_instance_group_id, **kwargs):
|
461
593
|
"""
|
462
|
-
Deletes
|
594
|
+
Deletes the specified managed instance group.
|
463
595
|
|
464
596
|
|
465
597
|
:param str managed_instance_group_id: (required)
|
466
|
-
The managed instance group
|
598
|
+
The `OCID`__ of the managed instance group.
|
599
|
+
|
600
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
467
601
|
|
468
602
|
:param str if_match: (optional)
|
469
603
|
For optimistic concurrency control. In the PUT or DELETE call
|
@@ -491,7 +625,7 @@ class ManagedInstanceGroupClient(object):
|
|
491
625
|
:rtype: :class:`~oci.response.Response`
|
492
626
|
|
493
627
|
:example:
|
494
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
628
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/delete_managed_instance_group.py.html>`__ to see an example of how to use delete_managed_instance_group API.
|
495
629
|
"""
|
496
630
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
497
631
|
required_arguments = ['managedInstanceGroupId']
|
@@ -568,10 +702,14 @@ class ManagedInstanceGroupClient(object):
|
|
568
702
|
|
569
703
|
|
570
704
|
:param str managed_instance_group_id: (required)
|
571
|
-
The managed instance group
|
705
|
+
The `OCID`__ of the managed instance group.
|
706
|
+
|
707
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
572
708
|
|
573
709
|
:param oci.os_management_hub.models.DetachManagedInstancesFromManagedInstanceGroupDetails detach_managed_instances_from_managed_instance_group_details: (required)
|
574
|
-
|
710
|
+
The managed instance `OCIDs`__ to detach from the managed instance group.
|
711
|
+
|
712
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
575
713
|
|
576
714
|
:param str opc_request_id: (optional)
|
577
715
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -606,7 +744,7 @@ class ManagedInstanceGroupClient(object):
|
|
606
744
|
:rtype: :class:`~oci.response.Response`
|
607
745
|
|
608
746
|
:example:
|
609
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
747
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/detach_managed_instances_from_managed_instance_group.py.html>`__ to see an example of how to use detach_managed_instances_from_managed_instance_group API.
|
610
748
|
"""
|
611
749
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
612
750
|
required_arguments = ['managedInstanceGroupId']
|
@@ -684,14 +822,18 @@ class ManagedInstanceGroupClient(object):
|
|
684
822
|
|
685
823
|
def detach_software_sources_from_managed_instance_group(self, managed_instance_group_id, detach_software_sources_from_managed_instance_group_details, **kwargs):
|
686
824
|
"""
|
687
|
-
Detaches software sources from a group.
|
825
|
+
Detaches the specified software sources from a managed instance group.
|
688
826
|
|
689
827
|
|
690
828
|
:param str managed_instance_group_id: (required)
|
691
|
-
The managed instance group
|
829
|
+
The `OCID`__ of the managed instance group.
|
830
|
+
|
831
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
692
832
|
|
693
833
|
:param oci.os_management_hub.models.DetachSoftwareSourcesFromManagedInstanceGroupDetails detach_software_sources_from_managed_instance_group_details: (required)
|
694
|
-
|
834
|
+
The software source `OCIDs`__ to detach from the managed instance group.
|
835
|
+
|
836
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
695
837
|
|
696
838
|
:param str opc_request_id: (optional)
|
697
839
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -726,7 +868,7 @@ class ManagedInstanceGroupClient(object):
|
|
726
868
|
:rtype: :class:`~oci.response.Response`
|
727
869
|
|
728
870
|
:example:
|
729
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
871
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/detach_software_sources_from_managed_instance_group.py.html>`__ to see an example of how to use detach_software_sources_from_managed_instance_group API.
|
730
872
|
"""
|
731
873
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
732
874
|
required_arguments = ['managedInstanceGroupId']
|
@@ -804,17 +946,16 @@ class ManagedInstanceGroupClient(object):
|
|
804
946
|
|
805
947
|
def disable_module_stream_on_managed_instance_group(self, managed_instance_group_id, disable_module_stream_on_managed_instance_group_details, **kwargs):
|
806
948
|
"""
|
807
|
-
Disables a module stream on a managed instance group. After the stream is
|
808
|
-
disabled, it is no longer possible to install the profiles that are
|
809
|
-
contained by the stream. All installed profiles must be removed prior
|
810
|
-
to disabling a module stream.
|
949
|
+
Disables a module stream on a managed instance group. After the stream is disabled, you can no longer install the profiles contained by the stream. Before removing the stream, you must remove all installed profiles for the stream by using the :func:`remove_module_stream_profile_from_managed_instance_group` operation.
|
811
950
|
|
812
951
|
|
813
952
|
:param str managed_instance_group_id: (required)
|
814
|
-
The managed instance group
|
953
|
+
The `OCID`__ of the managed instance group.
|
954
|
+
|
955
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
815
956
|
|
816
957
|
:param oci.os_management_hub.models.DisableModuleStreamOnManagedInstanceGroupDetails disable_module_stream_on_managed_instance_group_details: (required)
|
817
|
-
|
958
|
+
The details used to disable modules on the managed instance group.
|
818
959
|
|
819
960
|
:param str opc_request_id: (optional)
|
820
961
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -849,7 +990,7 @@ class ManagedInstanceGroupClient(object):
|
|
849
990
|
:rtype: :class:`~oci.response.Response`
|
850
991
|
|
851
992
|
:example:
|
852
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
993
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/disable_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use disable_module_stream_on_managed_instance_group API.
|
853
994
|
"""
|
854
995
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
855
996
|
required_arguments = ['managedInstanceGroupId']
|
@@ -927,18 +1068,16 @@ class ManagedInstanceGroupClient(object):
|
|
927
1068
|
|
928
1069
|
def enable_module_stream_on_managed_instance_group(self, managed_instance_group_id, enable_module_stream_on_managed_instance_group_details, **kwargs):
|
929
1070
|
"""
|
930
|
-
Enables a module stream on a managed instance group. After the stream is
|
931
|
-
enabled, it is possible to install the profiles that are contained
|
932
|
-
by the stream. Enabling a stream that is already enabled will
|
933
|
-
succeed. Attempting to enable a different stream for a module that
|
934
|
-
already has a stream enabled results in an error.
|
1071
|
+
Enables a module stream on a managed instance group. After the stream is enabled, you can install a module stream profile. Enabling a stream that is already enabled will succeed. Enabling a different stream for a module that already has a stream enabled results in an error. Instead, use the :func:`switch_module_stream_on_managed_instance_group` operation.
|
935
1072
|
|
936
1073
|
|
937
1074
|
:param str managed_instance_group_id: (required)
|
938
|
-
The managed instance group
|
1075
|
+
The `OCID`__ of the managed instance group.
|
1076
|
+
|
1077
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
939
1078
|
|
940
1079
|
:param oci.os_management_hub.models.EnableModuleStreamOnManagedInstanceGroupDetails enable_module_stream_on_managed_instance_group_details: (required)
|
941
|
-
|
1080
|
+
The details used to enable the module stream on the managed instance group.
|
942
1081
|
|
943
1082
|
:param str opc_request_id: (optional)
|
944
1083
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -973,7 +1112,7 @@ class ManagedInstanceGroupClient(object):
|
|
973
1112
|
:rtype: :class:`~oci.response.Response`
|
974
1113
|
|
975
1114
|
:example:
|
976
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1115
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/enable_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use enable_module_stream_on_managed_instance_group API.
|
977
1116
|
"""
|
978
1117
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
979
1118
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1055,7 +1194,9 @@ class ManagedInstanceGroupClient(object):
|
|
1055
1194
|
|
1056
1195
|
|
1057
1196
|
:param str managed_instance_group_id: (required)
|
1058
|
-
The managed instance group
|
1197
|
+
The `OCID`__ of the managed instance group.
|
1198
|
+
|
1199
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1059
1200
|
|
1060
1201
|
:param str opc_request_id: (optional)
|
1061
1202
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -1076,7 +1217,7 @@ class ManagedInstanceGroupClient(object):
|
|
1076
1217
|
:rtype: :class:`~oci.response.Response`
|
1077
1218
|
|
1078
1219
|
:example:
|
1079
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1220
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_managed_instance_group.py.html>`__ to see an example of how to use get_managed_instance_group API.
|
1080
1221
|
"""
|
1081
1222
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1082
1223
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1149,16 +1290,16 @@ class ManagedInstanceGroupClient(object):
|
|
1149
1290
|
|
1150
1291
|
def install_module_stream_profile_on_managed_instance_group(self, managed_instance_group_id, install_module_stream_profile_on_managed_instance_group_details, **kwargs):
|
1151
1292
|
"""
|
1152
|
-
Installs a profile for an module stream.
|
1153
|
-
enabled before a profile can be installed. If a module stream
|
1154
|
-
defines multiple profiles, each one can be installed independently.
|
1293
|
+
Installs a profile for an enabled module stream. If a module stream defines multiple profiles, you can install each one independently.
|
1155
1294
|
|
1156
1295
|
|
1157
1296
|
:param str managed_instance_group_id: (required)
|
1158
|
-
The managed instance group
|
1297
|
+
The `OCID`__ of the managed instance group.
|
1298
|
+
|
1299
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1159
1300
|
|
1160
1301
|
:param oci.os_management_hub.models.InstallModuleStreamProfileOnManagedInstanceGroupDetails install_module_stream_profile_on_managed_instance_group_details: (required)
|
1161
|
-
|
1302
|
+
The details used to install module stream profiles on a managed instance gorup.
|
1162
1303
|
|
1163
1304
|
:param str opc_request_id: (optional)
|
1164
1305
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -1193,7 +1334,7 @@ class ManagedInstanceGroupClient(object):
|
|
1193
1334
|
:rtype: :class:`~oci.response.Response`
|
1194
1335
|
|
1195
1336
|
:example:
|
1196
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1337
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/install_module_stream_profile_on_managed_instance_group.py.html>`__ to see an example of how to use install_module_stream_profile_on_managed_instance_group API.
|
1197
1338
|
"""
|
1198
1339
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1199
1340
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1271,15 +1412,16 @@ class ManagedInstanceGroupClient(object):
|
|
1271
1412
|
|
1272
1413
|
def install_packages_on_managed_instance_group(self, managed_instance_group_id, install_packages_on_managed_instance_group_details, **kwargs):
|
1273
1414
|
"""
|
1274
|
-
Installs
|
1275
|
-
instances in the managed instance group.
|
1415
|
+
Installs the specified packages on each managed instance in a managed instance group. The package must be compatible with the instances in the group.
|
1276
1416
|
|
1277
1417
|
|
1278
1418
|
:param str managed_instance_group_id: (required)
|
1279
|
-
The managed instance group
|
1419
|
+
The `OCID`__ of the managed instance group.
|
1420
|
+
|
1421
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1280
1422
|
|
1281
1423
|
:param oci.os_management_hub.models.InstallPackagesOnManagedInstanceGroupDetails install_packages_on_managed_instance_group_details: (required)
|
1282
|
-
|
1424
|
+
The names of packages to install on the specified managed instance group.
|
1283
1425
|
|
1284
1426
|
:param str opc_request_id: (optional)
|
1285
1427
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -1314,7 +1456,7 @@ class ManagedInstanceGroupClient(object):
|
|
1314
1456
|
:rtype: :class:`~oci.response.Response`
|
1315
1457
|
|
1316
1458
|
:example:
|
1317
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1459
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/install_packages_on_managed_instance_group.py.html>`__ to see an example of how to use install_packages_on_managed_instance_group API.
|
1318
1460
|
"""
|
1319
1461
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1320
1462
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1390,17 +1532,140 @@ class ManagedInstanceGroupClient(object):
|
|
1390
1532
|
api_reference_link=api_reference_link,
|
1391
1533
|
required_arguments=required_arguments)
|
1392
1534
|
|
1535
|
+
def install_windows_updates_on_managed_instance_group(self, managed_instance_group_id, install_windows_updates_on_managed_instance_group_details, **kwargs):
|
1536
|
+
"""
|
1537
|
+
Installs Windows updates on each managed instance in the managed instance group.
|
1538
|
+
|
1539
|
+
|
1540
|
+
:param str managed_instance_group_id: (required)
|
1541
|
+
The `OCID`__ of the managed instance group.
|
1542
|
+
|
1543
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1544
|
+
|
1545
|
+
:param oci.os_management_hub.models.InstallWindowsUpdatesOnManagedInstanceGroupDetails install_windows_updates_on_managed_instance_group_details: (required)
|
1546
|
+
Provides the details used to install Windows updates on a managed instance group.
|
1547
|
+
|
1548
|
+
:param str opc_request_id: (optional)
|
1549
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1550
|
+
|
1551
|
+
:param str opc_retry_token: (optional)
|
1552
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1553
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1554
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1555
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1556
|
+
might be rejected.
|
1557
|
+
|
1558
|
+
:param str if_match: (optional)
|
1559
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1560
|
+
for a resource, set the `if-match` parameter to the value of the
|
1561
|
+
etag from a previous GET or POST response for that resource.
|
1562
|
+
The resource will be updated or deleted only if the etag you
|
1563
|
+
provide matches the resource's current etag value.
|
1564
|
+
|
1565
|
+
:param obj retry_strategy: (optional)
|
1566
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1567
|
+
|
1568
|
+
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.
|
1569
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1570
|
+
|
1571
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1572
|
+
|
1573
|
+
:param bool allow_control_chars: (optional)
|
1574
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1575
|
+
By default, the response will not allow control characters in strings
|
1576
|
+
|
1577
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1578
|
+
:rtype: :class:`~oci.response.Response`
|
1579
|
+
|
1580
|
+
:example:
|
1581
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/install_windows_updates_on_managed_instance_group.py.html>`__ to see an example of how to use install_windows_updates_on_managed_instance_group API.
|
1582
|
+
"""
|
1583
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1584
|
+
required_arguments = ['managedInstanceGroupId']
|
1585
|
+
resource_path = "/managedInstanceGroups/{managedInstanceGroupId}/actions/installWindowsUpdates"
|
1586
|
+
method = "POST"
|
1587
|
+
operation_name = "install_windows_updates_on_managed_instance_group"
|
1588
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ManagedInstanceGroup/InstallWindowsUpdatesOnManagedInstanceGroup"
|
1589
|
+
|
1590
|
+
# Don't accept unknown kwargs
|
1591
|
+
expected_kwargs = [
|
1592
|
+
"allow_control_chars",
|
1593
|
+
"retry_strategy",
|
1594
|
+
"opc_request_id",
|
1595
|
+
"opc_retry_token",
|
1596
|
+
"if_match"
|
1597
|
+
]
|
1598
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1599
|
+
if extra_kwargs:
|
1600
|
+
raise ValueError(
|
1601
|
+
f"install_windows_updates_on_managed_instance_group got unknown kwargs: {extra_kwargs!r}")
|
1602
|
+
|
1603
|
+
path_params = {
|
1604
|
+
"managedInstanceGroupId": managed_instance_group_id
|
1605
|
+
}
|
1606
|
+
|
1607
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1608
|
+
|
1609
|
+
for (k, v) in six.iteritems(path_params):
|
1610
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1611
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1612
|
+
|
1613
|
+
header_params = {
|
1614
|
+
"accept": "application/json",
|
1615
|
+
"content-type": "application/json",
|
1616
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1617
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
1618
|
+
"if-match": kwargs.get("if_match", missing)
|
1619
|
+
}
|
1620
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1621
|
+
|
1622
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1623
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1624
|
+
client_retry_strategy=self.retry_strategy
|
1625
|
+
)
|
1626
|
+
if retry_strategy is None:
|
1627
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1628
|
+
|
1629
|
+
if retry_strategy:
|
1630
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1631
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1632
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1633
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1634
|
+
return retry_strategy.make_retrying_call(
|
1635
|
+
self.base_client.call_api,
|
1636
|
+
resource_path=resource_path,
|
1637
|
+
method=method,
|
1638
|
+
path_params=path_params,
|
1639
|
+
header_params=header_params,
|
1640
|
+
body=install_windows_updates_on_managed_instance_group_details,
|
1641
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1642
|
+
operation_name=operation_name,
|
1643
|
+
api_reference_link=api_reference_link,
|
1644
|
+
required_arguments=required_arguments)
|
1645
|
+
else:
|
1646
|
+
return self.base_client.call_api(
|
1647
|
+
resource_path=resource_path,
|
1648
|
+
method=method,
|
1649
|
+
path_params=path_params,
|
1650
|
+
header_params=header_params,
|
1651
|
+
body=install_windows_updates_on_managed_instance_group_details,
|
1652
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1653
|
+
operation_name=operation_name,
|
1654
|
+
api_reference_link=api_reference_link,
|
1655
|
+
required_arguments=required_arguments)
|
1656
|
+
|
1393
1657
|
def list_managed_instance_group_available_modules(self, managed_instance_group_id, **kwargs):
|
1394
1658
|
"""
|
1395
|
-
|
1396
|
-
criteria including but not limited to its name.
|
1659
|
+
List modules that are available for installation on the specified managed instance group. Filter the list against a variety of criteria including but not limited to module name.
|
1397
1660
|
|
1398
1661
|
|
1399
1662
|
:param str managed_instance_group_id: (required)
|
1400
|
-
The managed instance group
|
1663
|
+
The `OCID`__ of the managed instance group.
|
1664
|
+
|
1665
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1401
1666
|
|
1402
1667
|
:param str compartment_id: (optional)
|
1403
|
-
The OCID of the compartment that contains the resources to list.
|
1668
|
+
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
1404
1669
|
|
1405
1670
|
:param str name: (optional)
|
1406
1671
|
The resource name.
|
@@ -1453,7 +1718,7 @@ class ManagedInstanceGroupClient(object):
|
|
1453
1718
|
:rtype: :class:`~oci.response.Response`
|
1454
1719
|
|
1455
1720
|
:example:
|
1456
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1721
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_managed_instance_group_available_modules.py.html>`__ to see an example of how to use list_managed_instance_group_available_modules API.
|
1457
1722
|
"""
|
1458
1723
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1459
1724
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1565,7 +1830,9 @@ class ManagedInstanceGroupClient(object):
|
|
1565
1830
|
|
1566
1831
|
|
1567
1832
|
:param str managed_instance_group_id: (required)
|
1568
|
-
The managed instance group
|
1833
|
+
The `OCID`__ of the managed instance group.
|
1834
|
+
|
1835
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1569
1836
|
|
1570
1837
|
:param list[str] display_name: (optional)
|
1571
1838
|
A filter to return resources that match the given display names.
|
@@ -1574,7 +1841,7 @@ class ManagedInstanceGroupClient(object):
|
|
1574
1841
|
A filter to return resources that may partially match the given display name.
|
1575
1842
|
|
1576
1843
|
:param str compartment_id: (optional)
|
1577
|
-
The OCID of the compartment that contains the resources to list.
|
1844
|
+
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
1578
1845
|
|
1579
1846
|
:param int limit: (optional)
|
1580
1847
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -1603,9 +1870,7 @@ class ManagedInstanceGroupClient(object):
|
|
1603
1870
|
Allowed values are: "timeCreated", "displayName"
|
1604
1871
|
|
1605
1872
|
:param bool is_latest: (optional)
|
1606
|
-
|
1607
|
-
and stream profiles when set to true. All packages, module streams, and stream profiles are
|
1608
|
-
returned when set to false.
|
1873
|
+
Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
|
1609
1874
|
|
1610
1875
|
:param str opc_request_id: (optional)
|
1611
1876
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -1626,7 +1891,7 @@ class ManagedInstanceGroupClient(object):
|
|
1626
1891
|
:rtype: :class:`~oci.response.Response`
|
1627
1892
|
|
1628
1893
|
:example:
|
1629
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1894
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_managed_instance_group_available_packages.py.html>`__ to see an example of how to use list_managed_instance_group_available_packages API.
|
1630
1895
|
"""
|
1631
1896
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1632
1897
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1735,12 +2000,13 @@ class ManagedInstanceGroupClient(object):
|
|
1735
2000
|
|
1736
2001
|
def list_managed_instance_group_available_software_sources(self, managed_instance_group_id, **kwargs):
|
1737
2002
|
"""
|
1738
|
-
Lists available software sources for a specified managed instance group. Filter the list against a variety of
|
1739
|
-
criteria including but not limited to its name.
|
2003
|
+
Lists available software sources for a specified managed instance group. Filter the list against a variety of criteria including but not limited to the software source name. The results list only software sources that have not already been added to the group.
|
1740
2004
|
|
1741
2005
|
|
1742
2006
|
:param str managed_instance_group_id: (required)
|
1743
|
-
The managed instance group
|
2007
|
+
The `OCID`__ of the managed instance group.
|
2008
|
+
|
2009
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1744
2010
|
|
1745
2011
|
:param list[str] display_name: (optional)
|
1746
2012
|
A filter to return resources that match the given display names.
|
@@ -1749,7 +2015,7 @@ class ManagedInstanceGroupClient(object):
|
|
1749
2015
|
A filter to return resources that may partially match the given display name.
|
1750
2016
|
|
1751
2017
|
:param str compartment_id: (optional)
|
1752
|
-
The OCID of the compartment that contains the resources to list.
|
2018
|
+
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
1753
2019
|
|
1754
2020
|
:param int limit: (optional)
|
1755
2021
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -1796,7 +2062,7 @@ class ManagedInstanceGroupClient(object):
|
|
1796
2062
|
:rtype: :class:`~oci.response.Response`
|
1797
2063
|
|
1798
2064
|
:example:
|
1799
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2065
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_managed_instance_group_available_software_sources.py.html>`__ to see an example of how to use list_managed_instance_group_available_software_sources API.
|
1800
2066
|
"""
|
1801
2067
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1802
2068
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1908,7 +2174,9 @@ class ManagedInstanceGroupClient(object):
|
|
1908
2174
|
|
1909
2175
|
|
1910
2176
|
:param str managed_instance_group_id: (required)
|
1911
|
-
The managed instance group
|
2177
|
+
The `OCID`__ of the managed instance group.
|
2178
|
+
|
2179
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1912
2180
|
|
1913
2181
|
:param list[str] display_name: (optional)
|
1914
2182
|
A filter to return resources that match the given display names.
|
@@ -1922,12 +2190,12 @@ class ManagedInstanceGroupClient(object):
|
|
1922
2190
|
Example: 2017-07-14T02:40:00.000Z
|
1923
2191
|
|
1924
2192
|
:param datetime time_install_date_end: (optional)
|
1925
|
-
|
2193
|
+
A filter to return only packages that were installed on or before the date provided, in ISO 8601 format.
|
1926
2194
|
|
1927
2195
|
Example: 2017-07-14T02:40:00.000Z
|
1928
2196
|
|
1929
2197
|
:param str compartment_id: (optional)
|
1930
|
-
The OCID of the compartment that contains the resources to list.
|
2198
|
+
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
1931
2199
|
|
1932
2200
|
:param int limit: (optional)
|
1933
2201
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -1974,7 +2242,7 @@ class ManagedInstanceGroupClient(object):
|
|
1974
2242
|
:rtype: :class:`~oci.response.Response`
|
1975
2243
|
|
1976
2244
|
:example:
|
1977
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2245
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_managed_instance_group_installed_packages.py.html>`__ to see an example of how to use list_managed_instance_group_installed_packages API.
|
1978
2246
|
"""
|
1979
2247
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1980
2248
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2109,10 +2377,12 @@ class ManagedInstanceGroupClient(object):
|
|
2109
2377
|
|
2110
2378
|
|
2111
2379
|
:param str managed_instance_group_id: (required)
|
2112
|
-
The managed instance group
|
2380
|
+
The `OCID`__ of the managed instance group.
|
2381
|
+
|
2382
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2113
2383
|
|
2114
2384
|
:param str compartment_id: (optional)
|
2115
|
-
The OCID of the compartment that contains the resources to list.
|
2385
|
+
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
2116
2386
|
|
2117
2387
|
:param str name: (optional)
|
2118
2388
|
The resource name.
|
@@ -2121,8 +2391,7 @@ class ManagedInstanceGroupClient(object):
|
|
2121
2391
|
A filter to return resources that may partially match the name given.
|
2122
2392
|
|
2123
2393
|
:param str stream_name: (optional)
|
2124
|
-
The name of the stream
|
2125
|
-
is required if a profileName is specified.
|
2394
|
+
The name of the module stream. This parameter is required if a profile name is specified.
|
2126
2395
|
|
2127
2396
|
:param int limit: (optional)
|
2128
2397
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -2169,7 +2438,7 @@ class ManagedInstanceGroupClient(object):
|
|
2169
2438
|
:rtype: :class:`~oci.response.Response`
|
2170
2439
|
|
2171
2440
|
:example:
|
2172
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2441
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_managed_instance_group_modules.py.html>`__ to see an example of how to use list_managed_instance_group_modules API.
|
2173
2442
|
"""
|
2174
2443
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2175
2444
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2278,18 +2547,23 @@ class ManagedInstanceGroupClient(object):
|
|
2278
2547
|
|
2279
2548
|
def list_managed_instance_groups(self, **kwargs):
|
2280
2549
|
"""
|
2281
|
-
Lists managed instance groups that match the specified compartment or managed instance group OCID. Filter the
|
2282
|
-
|
2550
|
+
Lists managed instance groups that match the specified compartment or managed instance group `OCID`__. Filter the list against a variety of criteria including but not limited to name, status, architecture, and OS family.
|
2551
|
+
|
2552
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2283
2553
|
|
2284
2554
|
|
2285
2555
|
:param str compartment_id: (optional)
|
2286
|
-
The OCID of the compartment that contains the resources to list.
|
2556
|
+
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
2287
2557
|
|
2288
2558
|
:param str managed_instance_group_id: (optional)
|
2289
|
-
The OCID of the managed instance group
|
2559
|
+
The `OCID`__ of the managed instance group. This filter returns resources associated with this group.
|
2560
|
+
|
2561
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2290
2562
|
|
2291
2563
|
:param str software_source_id: (optional)
|
2292
|
-
The OCID
|
2564
|
+
The `OCID`__ of the software source. This filter returns resources associated with this software source.
|
2565
|
+
|
2566
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2293
2567
|
|
2294
2568
|
:param list[str] display_name: (optional)
|
2295
2569
|
A filter to return resources that match the given display names.
|
@@ -2303,9 +2577,9 @@ class ManagedInstanceGroupClient(object):
|
|
2303
2577
|
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
|
2304
2578
|
|
2305
2579
|
:param str os_family: (optional)
|
2306
|
-
A filter to return only
|
2580
|
+
A filter to return only resources that match the given operating system family.
|
2307
2581
|
|
2308
|
-
Allowed values are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7"
|
2582
|
+
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"
|
2309
2583
|
|
2310
2584
|
:param int limit: (optional)
|
2311
2585
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -2324,10 +2598,23 @@ class ManagedInstanceGroupClient(object):
|
|
2324
2598
|
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
2325
2599
|
|
2326
2600
|
:param str lifecycle_state: (optional)
|
2327
|
-
A filter to return only
|
2601
|
+
A filter to return only managed instance groups that are in the specified state.
|
2328
2602
|
|
2329
2603
|
Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
|
2330
2604
|
|
2605
|
+
:param list[str] location: (optional)
|
2606
|
+
A filter to return only resources whose location matches the given value.
|
2607
|
+
|
2608
|
+
Allowed values are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"
|
2609
|
+
|
2610
|
+
:param list[str] location_not_equal_to: (optional)
|
2611
|
+
A filter to return only resources whose location does not match the given value.
|
2612
|
+
|
2613
|
+
Allowed values are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"
|
2614
|
+
|
2615
|
+
:param bool is_managed_by_autonomous_linux: (optional)
|
2616
|
+
Indicates whether to list only resources managed by the Autonomous Linux service.
|
2617
|
+
|
2331
2618
|
:param str sort_order: (optional)
|
2332
2619
|
The sort order to use, either 'ASC' or 'DESC'.
|
2333
2620
|
|
@@ -2357,7 +2644,7 @@ class ManagedInstanceGroupClient(object):
|
|
2357
2644
|
:rtype: :class:`~oci.response.Response`
|
2358
2645
|
|
2359
2646
|
:example:
|
2360
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2647
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_managed_instance_groups.py.html>`__ to see an example of how to use list_managed_instance_groups API.
|
2361
2648
|
"""
|
2362
2649
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2363
2650
|
required_arguments = []
|
@@ -2380,6 +2667,9 @@ class ManagedInstanceGroupClient(object):
|
|
2380
2667
|
"limit",
|
2381
2668
|
"page",
|
2382
2669
|
"lifecycle_state",
|
2670
|
+
"location",
|
2671
|
+
"location_not_equal_to",
|
2672
|
+
"is_managed_by_autonomous_linux",
|
2383
2673
|
"sort_order",
|
2384
2674
|
"sort_by",
|
2385
2675
|
"opc_request_id"
|
@@ -2397,7 +2687,7 @@ class ManagedInstanceGroupClient(object):
|
|
2397
2687
|
)
|
2398
2688
|
|
2399
2689
|
if 'os_family' in kwargs:
|
2400
|
-
os_family_allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7"]
|
2690
|
+
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"]
|
2401
2691
|
if kwargs['os_family'] not in os_family_allowed_values:
|
2402
2692
|
raise ValueError(
|
2403
2693
|
f"Invalid value for `os_family`, must be one of { os_family_allowed_values }"
|
@@ -2410,6 +2700,22 @@ class ManagedInstanceGroupClient(object):
|
|
2410
2700
|
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
2411
2701
|
)
|
2412
2702
|
|
2703
|
+
if 'location' in kwargs:
|
2704
|
+
location_allowed_values = ["ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"]
|
2705
|
+
for location_item in kwargs['location']:
|
2706
|
+
if location_item not in location_allowed_values:
|
2707
|
+
raise ValueError(
|
2708
|
+
f"Invalid value for `location`, must be one of { location_allowed_values }"
|
2709
|
+
)
|
2710
|
+
|
2711
|
+
if 'location_not_equal_to' in kwargs:
|
2712
|
+
location_not_equal_to_allowed_values = ["ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"]
|
2713
|
+
for location_not_equal_to_item in kwargs['location_not_equal_to']:
|
2714
|
+
if location_not_equal_to_item not in location_not_equal_to_allowed_values:
|
2715
|
+
raise ValueError(
|
2716
|
+
f"Invalid value for `location_not_equal_to`, must be one of { location_not_equal_to_allowed_values }"
|
2717
|
+
)
|
2718
|
+
|
2413
2719
|
if 'sort_order' in kwargs:
|
2414
2720
|
sort_order_allowed_values = ["ASC", "DESC"]
|
2415
2721
|
if kwargs['sort_order'] not in sort_order_allowed_values:
|
@@ -2435,6 +2741,9 @@ class ManagedInstanceGroupClient(object):
|
|
2435
2741
|
"limit": kwargs.get("limit", missing),
|
2436
2742
|
"page": kwargs.get("page", missing),
|
2437
2743
|
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
2744
|
+
"location": self.base_client.generate_collection_format_param(kwargs.get("location", missing), 'multi'),
|
2745
|
+
"locationNotEqualTo": self.base_client.generate_collection_format_param(kwargs.get("location_not_equal_to", missing), 'multi'),
|
2746
|
+
"isManagedByAutonomousLinux": kwargs.get("is_managed_by_autonomous_linux", missing),
|
2438
2747
|
"sortOrder": kwargs.get("sort_order", missing),
|
2439
2748
|
"sortBy": kwargs.get("sort_by", missing)
|
2440
2749
|
}
|
@@ -2483,73 +2792,17 @@ class ManagedInstanceGroupClient(object):
|
|
2483
2792
|
|
2484
2793
|
def manage_module_streams_on_managed_instance_group(self, managed_instance_group_id, manage_module_streams_on_managed_instance_group_details, **kwargs):
|
2485
2794
|
"""
|
2486
|
-
|
2487
|
-
managed instance
|
2488
|
-
amount of module streams, and install or remove an arbitrary number
|
2489
|
-
of module stream profiles. When the operation is complete, the
|
2490
|
-
state of the modules, streams, and profiles on the managed instance group
|
2491
|
-
will match the state indicated in the operation.
|
2492
|
-
|
2493
|
-
Each module stream specified in the list of module streams to enable
|
2494
|
-
will be in the \"ENABLED\" state upon completion of the operation.
|
2495
|
-
If there was already a stream of that module enabled, any work
|
2496
|
-
required to switch from the current stream to the new stream is
|
2497
|
-
performed implicitly.
|
2498
|
-
|
2499
|
-
Each module stream specified in the list of module streams to disable
|
2500
|
-
will be in the \"DISABLED\" state upon completion of the operation.
|
2501
|
-
Any profiles that are installed for the module stream will be removed
|
2502
|
-
as part of the operation.
|
2503
|
-
|
2504
|
-
Each module stream profile specified in the list of profiles to install
|
2505
|
-
will be in the \"INSTALLED\" state upon completion of the operation,
|
2506
|
-
indicating that any packages that are part of the profile are installed
|
2507
|
-
on the managed instance. If the module stream containing the profile
|
2508
|
-
is not enabled, it will be enabled as part of the operation. There
|
2509
|
-
is an exception when attempting to install a stream of a profile when
|
2510
|
-
another stream of the same module is enabled. It is an error to attempt
|
2511
|
-
to install a profile of another module stream, unless enabling the
|
2512
|
-
new module stream is explicitly included in this operation.
|
2513
|
-
|
2514
|
-
Each module stream profile specified in the list of profiles to remove
|
2515
|
-
will be in the \"AVAILABLE\" state upon completion of the operation.
|
2516
|
-
The status of packages within the profile after the operation is
|
2517
|
-
complete is defined by the package manager on the managed instance group.
|
2518
|
-
|
2519
|
-
Operations that contain one or more elements that are not allowed
|
2520
|
-
are rejected.
|
2521
|
-
|
2522
|
-
The result of this request is a work request object. The returned
|
2523
|
-
work request is the parent of a structure of other work requests. Taken
|
2524
|
-
as a whole, this structure indicates the entire set of work to be
|
2525
|
-
performed to complete the operation.
|
2526
|
-
|
2527
|
-
This interface can also be used to perform a dry run of the operation
|
2528
|
-
rather than committing it to a managed instance group. If a dry run is
|
2529
|
-
requested, the OS Management Hub service will evaluate the operation
|
2530
|
-
against the current module, stream, and profile state on the managed
|
2531
|
-
instance. It will calculate the impact of the operation on all
|
2532
|
-
modules, streams, and profiles on the managed instance, including those
|
2533
|
-
that are implicitly impacted by the operation.
|
2534
|
-
|
2535
|
-
The work request resulting from a dry run behaves differently than
|
2536
|
-
a work request resulting from a committable operation. Dry run
|
2537
|
-
work requests are always singletons and never have children. The
|
2538
|
-
impact of the operation is returned using the log and error
|
2539
|
-
facilities of work requests. The impact of operations that are
|
2540
|
-
allowed by the OS Management Hub service are communicated as one or
|
2541
|
-
more work request log entries. Operations that are not allowed
|
2542
|
-
by the OS Management Hub service are communicated as one or more
|
2543
|
-
work request error entries. Each entry, for either logs or errors,
|
2544
|
-
contains a structured message containing the results of one
|
2545
|
-
or more operations.
|
2795
|
+
Enables or disables module streams and installs or removes module stream profiles. Once complete, the state of the modules, streams, and profiles will match the state indicated in the operation. See :func:`manage_module_streams_on_managed_instance_group_details` for more information.
|
2796
|
+
You can preform this operation as a dry run. For a dry run, the service evaluates the operation against the current module, stream, and profile state on the managed instance, but does not commit the changes. Instead, the service returns work request log or error entries indicating the impact of the operation.
|
2546
2797
|
|
2547
2798
|
|
2548
2799
|
:param str managed_instance_group_id: (required)
|
2549
|
-
The managed instance group
|
2800
|
+
The `OCID`__ of the managed instance group.
|
2801
|
+
|
2802
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2550
2803
|
|
2551
2804
|
:param oci.os_management_hub.models.ManageModuleStreamsOnManagedInstanceGroupDetails manage_module_streams_on_managed_instance_group_details: (required)
|
2552
|
-
|
2805
|
+
The set of changes to make to the modules, streams, and profiles on a managed instance group.
|
2553
2806
|
|
2554
2807
|
:param str opc_request_id: (optional)
|
2555
2808
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -2584,7 +2837,7 @@ class ManagedInstanceGroupClient(object):
|
|
2584
2837
|
:rtype: :class:`~oci.response.Response`
|
2585
2838
|
|
2586
2839
|
:example:
|
2587
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2840
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/manage_module_streams_on_managed_instance_group.py.html>`__ to see an example of how to use manage_module_streams_on_managed_instance_group API.
|
2588
2841
|
"""
|
2589
2842
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2590
2843
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2662,16 +2915,16 @@ class ManagedInstanceGroupClient(object):
|
|
2662
2915
|
|
2663
2916
|
def remove_module_stream_profile_from_managed_instance_group(self, managed_instance_group_id, remove_module_stream_profile_from_managed_instance_group_details, **kwargs):
|
2664
2917
|
"""
|
2665
|
-
Removes a profile for a module stream that is installed on a managed instance group.
|
2666
|
-
If a module stream is provided, rather than a fully qualified profile, all
|
2667
|
-
profiles that have been installed for the module stream will be removed.
|
2918
|
+
Removes a profile for a module stream that is installed on a managed instance group. Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.
|
2668
2919
|
|
2669
2920
|
|
2670
2921
|
:param str managed_instance_group_id: (required)
|
2671
|
-
The managed instance group
|
2922
|
+
The `OCID`__ of the managed instance group.
|
2923
|
+
|
2924
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2672
2925
|
|
2673
2926
|
:param oci.os_management_hub.models.RemoveModuleStreamProfileFromManagedInstanceGroupDetails remove_module_stream_profile_from_managed_instance_group_details: (required)
|
2674
|
-
|
2927
|
+
The details used to remove profiles from the managed instance group. Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.
|
2675
2928
|
|
2676
2929
|
:param str opc_request_id: (optional)
|
2677
2930
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -2706,7 +2959,7 @@ class ManagedInstanceGroupClient(object):
|
|
2706
2959
|
:rtype: :class:`~oci.response.Response`
|
2707
2960
|
|
2708
2961
|
:example:
|
2709
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2962
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/remove_module_stream_profile_from_managed_instance_group.py.html>`__ to see an example of how to use remove_module_stream_profile_from_managed_instance_group API.
|
2710
2963
|
"""
|
2711
2964
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2712
2965
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2784,14 +3037,16 @@ class ManagedInstanceGroupClient(object):
|
|
2784
3037
|
|
2785
3038
|
def remove_packages_from_managed_instance_group(self, managed_instance_group_id, remove_packages_from_managed_instance_group_details, **kwargs):
|
2786
3039
|
"""
|
2787
|
-
Removes
|
3040
|
+
Removes the specified packages from each managed instance in a managed instance group.
|
2788
3041
|
|
2789
3042
|
|
2790
3043
|
:param str managed_instance_group_id: (required)
|
2791
|
-
The managed instance group
|
3044
|
+
The `OCID`__ of the managed instance group.
|
3045
|
+
|
3046
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2792
3047
|
|
2793
3048
|
:param oci.os_management_hub.models.RemovePackagesFromManagedInstanceGroupDetails remove_packages_from_managed_instance_group_details: (required)
|
2794
|
-
|
3049
|
+
The names of packages to remove from the specified managed instance group.
|
2795
3050
|
|
2796
3051
|
:param str opc_request_id: (optional)
|
2797
3052
|
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
@@ -2826,7 +3081,7 @@ class ManagedInstanceGroupClient(object):
|
|
2826
3081
|
:rtype: :class:`~oci.response.Response`
|
2827
3082
|
|
2828
3083
|
:example:
|
2829
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3084
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/remove_packages_from_managed_instance_group.py.html>`__ to see an example of how to use remove_packages_from_managed_instance_group API.
|
2830
3085
|
"""
|
2831
3086
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2832
3087
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2902,13 +3157,140 @@ class ManagedInstanceGroupClient(object):
|
|
2902
3157
|
api_reference_link=api_reference_link,
|
2903
3158
|
required_arguments=required_arguments)
|
2904
3159
|
|
3160
|
+
def switch_module_stream_on_managed_instance_group(self, managed_instance_group_id, switch_module_stream_on_managed_instance_group_details, **kwargs):
|
3161
|
+
"""
|
3162
|
+
Enables a new stream for a module that already has a stream enabled.
|
3163
|
+
If any profiles or packages from the original module are installed,
|
3164
|
+
switching to a new stream will remove the existing packages and
|
3165
|
+
install their counterparts in the new stream.
|
3166
|
+
|
3167
|
+
|
3168
|
+
:param str managed_instance_group_id: (required)
|
3169
|
+
The `OCID`__ of the managed instance group.
|
3170
|
+
|
3171
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
3172
|
+
|
3173
|
+
:param oci.os_management_hub.models.SwitchModuleStreamOnManagedInstanceGroupDetails switch_module_stream_on_managed_instance_group_details: (required)
|
3174
|
+
Provides the details used to switch module streams on a managed instance group.
|
3175
|
+
|
3176
|
+
:param str opc_request_id: (optional)
|
3177
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
3178
|
+
|
3179
|
+
:param str opc_retry_token: (optional)
|
3180
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
3181
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
3182
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
3183
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
3184
|
+
might be rejected.
|
3185
|
+
|
3186
|
+
:param str if_match: (optional)
|
3187
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
3188
|
+
for a resource, set the `if-match` parameter to the value of the
|
3189
|
+
etag from a previous GET or POST response for that resource.
|
3190
|
+
The resource will be updated or deleted only if the etag you
|
3191
|
+
provide matches the resource's current etag value.
|
3192
|
+
|
3193
|
+
:param obj retry_strategy: (optional)
|
3194
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3195
|
+
|
3196
|
+
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.
|
3197
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3198
|
+
|
3199
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3200
|
+
|
3201
|
+
:param bool allow_control_chars: (optional)
|
3202
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3203
|
+
By default, the response will not allow control characters in strings
|
3204
|
+
|
3205
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
3206
|
+
:rtype: :class:`~oci.response.Response`
|
3207
|
+
|
3208
|
+
:example:
|
3209
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/switch_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use switch_module_stream_on_managed_instance_group API.
|
3210
|
+
"""
|
3211
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3212
|
+
required_arguments = ['managedInstanceGroupId']
|
3213
|
+
resource_path = "/managedInstanceGroups/{managedInstanceGroupId}/actions/moduleStreams/switchModuleStream"
|
3214
|
+
method = "POST"
|
3215
|
+
operation_name = "switch_module_stream_on_managed_instance_group"
|
3216
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ManagedInstanceGroup/SwitchModuleStreamOnManagedInstanceGroup"
|
3217
|
+
|
3218
|
+
# Don't accept unknown kwargs
|
3219
|
+
expected_kwargs = [
|
3220
|
+
"allow_control_chars",
|
3221
|
+
"retry_strategy",
|
3222
|
+
"opc_request_id",
|
3223
|
+
"opc_retry_token",
|
3224
|
+
"if_match"
|
3225
|
+
]
|
3226
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3227
|
+
if extra_kwargs:
|
3228
|
+
raise ValueError(
|
3229
|
+
f"switch_module_stream_on_managed_instance_group got unknown kwargs: {extra_kwargs!r}")
|
3230
|
+
|
3231
|
+
path_params = {
|
3232
|
+
"managedInstanceGroupId": managed_instance_group_id
|
3233
|
+
}
|
3234
|
+
|
3235
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
3236
|
+
|
3237
|
+
for (k, v) in six.iteritems(path_params):
|
3238
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3239
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3240
|
+
|
3241
|
+
header_params = {
|
3242
|
+
"accept": "application/json",
|
3243
|
+
"content-type": "application/json",
|
3244
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
3245
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
3246
|
+
"if-match": kwargs.get("if_match", missing)
|
3247
|
+
}
|
3248
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3249
|
+
|
3250
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3251
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3252
|
+
client_retry_strategy=self.retry_strategy
|
3253
|
+
)
|
3254
|
+
if retry_strategy is None:
|
3255
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
3256
|
+
|
3257
|
+
if retry_strategy:
|
3258
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3259
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
3260
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3261
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3262
|
+
return retry_strategy.make_retrying_call(
|
3263
|
+
self.base_client.call_api,
|
3264
|
+
resource_path=resource_path,
|
3265
|
+
method=method,
|
3266
|
+
path_params=path_params,
|
3267
|
+
header_params=header_params,
|
3268
|
+
body=switch_module_stream_on_managed_instance_group_details,
|
3269
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3270
|
+
operation_name=operation_name,
|
3271
|
+
api_reference_link=api_reference_link,
|
3272
|
+
required_arguments=required_arguments)
|
3273
|
+
else:
|
3274
|
+
return self.base_client.call_api(
|
3275
|
+
resource_path=resource_path,
|
3276
|
+
method=method,
|
3277
|
+
path_params=path_params,
|
3278
|
+
header_params=header_params,
|
3279
|
+
body=switch_module_stream_on_managed_instance_group_details,
|
3280
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3281
|
+
operation_name=operation_name,
|
3282
|
+
api_reference_link=api_reference_link,
|
3283
|
+
required_arguments=required_arguments)
|
3284
|
+
|
2905
3285
|
def update_all_packages_on_managed_instance_group(self, managed_instance_group_id, update_all_packages_on_managed_instance_group_details, **kwargs):
|
2906
3286
|
"""
|
2907
3287
|
Updates all packages on each managed instance in the specified managed instance group.
|
2908
3288
|
|
2909
3289
|
|
2910
3290
|
:param str managed_instance_group_id: (required)
|
2911
|
-
The managed instance group
|
3291
|
+
The `OCID`__ of the managed instance group.
|
3292
|
+
|
3293
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2912
3294
|
|
2913
3295
|
:param oci.os_management_hub.models.UpdateAllPackagesOnManagedInstanceGroupDetails update_all_packages_on_managed_instance_group_details: (required)
|
2914
3296
|
Details for update operation on the managed instance group.
|
@@ -2946,7 +3328,7 @@ class ManagedInstanceGroupClient(object):
|
|
2946
3328
|
:rtype: :class:`~oci.response.Response`
|
2947
3329
|
|
2948
3330
|
:example:
|
2949
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3331
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/update_all_packages_on_managed_instance_group.py.html>`__ to see an example of how to use update_all_packages_on_managed_instance_group API.
|
2950
3332
|
"""
|
2951
3333
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2952
3334
|
required_arguments = ['managedInstanceGroupId']
|
@@ -3028,10 +3410,12 @@ class ManagedInstanceGroupClient(object):
|
|
3028
3410
|
|
3029
3411
|
|
3030
3412
|
:param str managed_instance_group_id: (required)
|
3031
|
-
The managed instance group
|
3413
|
+
The `OCID`__ of the managed instance group.
|
3414
|
+
|
3415
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
3032
3416
|
|
3033
3417
|
:param oci.os_management_hub.models.UpdateManagedInstanceGroupDetails update_managed_instance_group_details: (required)
|
3034
|
-
|
3418
|
+
Provides the details used to update the managed instance group.
|
3035
3419
|
|
3036
3420
|
:param str if_match: (optional)
|
3037
3421
|
For optimistic concurrency control. In the PUT or DELETE call
|
@@ -3059,7 +3443,7 @@ class ManagedInstanceGroupClient(object):
|
|
3059
3443
|
:rtype: :class:`~oci.response.Response`
|
3060
3444
|
|
3061
3445
|
:example:
|
3062
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3446
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/update_managed_instance_group.py.html>`__ to see an example of how to use update_managed_instance_group API.
|
3063
3447
|
"""
|
3064
3448
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3065
3449
|
required_arguments = ['managedInstanceGroupId']
|