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
@@ -1,419 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
-
|
5
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20191031
|
6
|
-
|
7
|
-
import oci # noqa: F401
|
8
|
-
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
9
|
-
|
10
|
-
|
11
|
-
class ApplicationMigrationClientCompositeOperations(object):
|
12
|
-
"""
|
13
|
-
This class provides a wrapper around :py:class:`~oci.application_migration.ApplicationMigrationClient` and offers convenience methods
|
14
|
-
for operations that would otherwise need to be chained together. For example, instead of performing an action
|
15
|
-
on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
16
|
-
to enter a given state, you can call a single method in this class to accomplish the same functionality
|
17
|
-
"""
|
18
|
-
|
19
|
-
def __init__(self, client, **kwargs):
|
20
|
-
"""
|
21
|
-
Creates a new ApplicationMigrationClientCompositeOperations object
|
22
|
-
|
23
|
-
:param ApplicationMigrationClient client:
|
24
|
-
The service client which will be wrapped by this object
|
25
|
-
"""
|
26
|
-
self.client = client
|
27
|
-
|
28
|
-
def change_migration_compartment_and_wait_for_state(self, migration_id, change_migration_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
-
"""
|
30
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.change_migration_compartment` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
31
|
-
to enter the given state(s).
|
32
|
-
|
33
|
-
:param str migration_id: (required)
|
34
|
-
The `OCID`__ of the migration.
|
35
|
-
|
36
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
37
|
-
|
38
|
-
:param oci.application_migration.models.ChangeCompartmentDetails change_migration_compartment_details: (required)
|
39
|
-
The updated compartment details
|
40
|
-
|
41
|
-
:param list[str] wait_for_states:
|
42
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
43
|
-
|
44
|
-
:param dict operation_kwargs:
|
45
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.change_migration_compartment`
|
46
|
-
|
47
|
-
:param dict waiter_kwargs:
|
48
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
49
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
50
|
-
"""
|
51
|
-
operation_result = self.client.change_migration_compartment(migration_id, change_migration_compartment_details, **operation_kwargs)
|
52
|
-
if not wait_for_states:
|
53
|
-
return operation_result
|
54
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
55
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
56
|
-
return operation_result
|
57
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
58
|
-
|
59
|
-
try:
|
60
|
-
waiter_result = oci.wait_until(
|
61
|
-
self.client,
|
62
|
-
self.client.get_work_request(wait_for_resource_id),
|
63
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
64
|
-
**waiter_kwargs
|
65
|
-
)
|
66
|
-
result_to_return = waiter_result
|
67
|
-
|
68
|
-
return result_to_return
|
69
|
-
except Exception as e:
|
70
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
71
|
-
|
72
|
-
def change_source_compartment_and_wait_for_state(self, source_id, change_source_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
73
|
-
"""
|
74
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.change_source_compartment` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
75
|
-
to enter the given state(s).
|
76
|
-
|
77
|
-
:param str source_id: (required)
|
78
|
-
The `OCID`__ of the source.
|
79
|
-
|
80
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
81
|
-
|
82
|
-
:param oci.application_migration.models.ChangeCompartmentDetails change_source_compartment_details: (required)
|
83
|
-
The updated compartment details
|
84
|
-
|
85
|
-
:param list[str] wait_for_states:
|
86
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
87
|
-
|
88
|
-
:param dict operation_kwargs:
|
89
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.change_source_compartment`
|
90
|
-
|
91
|
-
:param dict waiter_kwargs:
|
92
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
93
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
94
|
-
"""
|
95
|
-
operation_result = self.client.change_source_compartment(source_id, change_source_compartment_details, **operation_kwargs)
|
96
|
-
if not wait_for_states:
|
97
|
-
return operation_result
|
98
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
99
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
100
|
-
return operation_result
|
101
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
102
|
-
|
103
|
-
try:
|
104
|
-
waiter_result = oci.wait_until(
|
105
|
-
self.client,
|
106
|
-
self.client.get_work_request(wait_for_resource_id),
|
107
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
108
|
-
**waiter_kwargs
|
109
|
-
)
|
110
|
-
result_to_return = waiter_result
|
111
|
-
|
112
|
-
return result_to_return
|
113
|
-
except Exception as e:
|
114
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
115
|
-
|
116
|
-
def create_migration_and_wait_for_state(self, create_migration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
117
|
-
"""
|
118
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.create_migration` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
119
|
-
to enter the given state(s).
|
120
|
-
|
121
|
-
:param oci.application_migration.models.CreateMigrationDetails create_migration_details: (required)
|
122
|
-
The properties for creating a migration.
|
123
|
-
|
124
|
-
:param list[str] wait_for_states:
|
125
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
126
|
-
|
127
|
-
:param dict operation_kwargs:
|
128
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.create_migration`
|
129
|
-
|
130
|
-
:param dict waiter_kwargs:
|
131
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
132
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
133
|
-
"""
|
134
|
-
operation_result = self.client.create_migration(create_migration_details, **operation_kwargs)
|
135
|
-
if not wait_for_states:
|
136
|
-
return operation_result
|
137
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
138
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
139
|
-
return operation_result
|
140
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
141
|
-
|
142
|
-
try:
|
143
|
-
waiter_result = oci.wait_until(
|
144
|
-
self.client,
|
145
|
-
self.client.get_work_request(wait_for_resource_id),
|
146
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
147
|
-
**waiter_kwargs
|
148
|
-
)
|
149
|
-
result_to_return = waiter_result
|
150
|
-
|
151
|
-
return result_to_return
|
152
|
-
except Exception as e:
|
153
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
154
|
-
|
155
|
-
def create_source_and_wait_for_state(self, create_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
156
|
-
"""
|
157
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.create_source` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
158
|
-
to enter the given state(s).
|
159
|
-
|
160
|
-
:param oci.application_migration.models.CreateSourceDetails create_source_details: (required)
|
161
|
-
The properties for creating a source.
|
162
|
-
|
163
|
-
:param list[str] wait_for_states:
|
164
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
165
|
-
|
166
|
-
:param dict operation_kwargs:
|
167
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.create_source`
|
168
|
-
|
169
|
-
:param dict waiter_kwargs:
|
170
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
171
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
172
|
-
"""
|
173
|
-
operation_result = self.client.create_source(create_source_details, **operation_kwargs)
|
174
|
-
if not wait_for_states:
|
175
|
-
return operation_result
|
176
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
177
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
178
|
-
return operation_result
|
179
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
180
|
-
|
181
|
-
try:
|
182
|
-
waiter_result = oci.wait_until(
|
183
|
-
self.client,
|
184
|
-
self.client.get_work_request(wait_for_resource_id),
|
185
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
186
|
-
**waiter_kwargs
|
187
|
-
)
|
188
|
-
result_to_return = waiter_result
|
189
|
-
|
190
|
-
return result_to_return
|
191
|
-
except Exception as e:
|
192
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
193
|
-
|
194
|
-
def delete_migration_and_wait_for_state(self, migration_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
195
|
-
"""
|
196
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.delete_migration` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
197
|
-
to enter the given state(s).
|
198
|
-
|
199
|
-
:param str migration_id: (required)
|
200
|
-
The `OCID`__ of the migration.
|
201
|
-
|
202
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
203
|
-
|
204
|
-
:param list[str] wait_for_states:
|
205
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
206
|
-
|
207
|
-
:param dict operation_kwargs:
|
208
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.delete_migration`
|
209
|
-
|
210
|
-
:param dict waiter_kwargs:
|
211
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
212
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
213
|
-
"""
|
214
|
-
operation_result = None
|
215
|
-
try:
|
216
|
-
operation_result = self.client.delete_migration(migration_id, **operation_kwargs)
|
217
|
-
except oci.exceptions.ServiceError as e:
|
218
|
-
if e.status == 404:
|
219
|
-
return WAIT_RESOURCE_NOT_FOUND
|
220
|
-
else:
|
221
|
-
raise e
|
222
|
-
|
223
|
-
if not wait_for_states:
|
224
|
-
return operation_result
|
225
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
226
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
227
|
-
return operation_result
|
228
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
229
|
-
|
230
|
-
try:
|
231
|
-
waiter_result = oci.wait_until(
|
232
|
-
self.client,
|
233
|
-
self.client.get_work_request(wait_for_resource_id),
|
234
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
235
|
-
**waiter_kwargs
|
236
|
-
)
|
237
|
-
result_to_return = waiter_result
|
238
|
-
|
239
|
-
return result_to_return
|
240
|
-
except Exception as e:
|
241
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
242
|
-
|
243
|
-
def delete_source_and_wait_for_state(self, source_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
244
|
-
"""
|
245
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.delete_source` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
246
|
-
to enter the given state(s).
|
247
|
-
|
248
|
-
:param str source_id: (required)
|
249
|
-
The `OCID`__ of the source.
|
250
|
-
|
251
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
252
|
-
|
253
|
-
:param list[str] wait_for_states:
|
254
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
255
|
-
|
256
|
-
:param dict operation_kwargs:
|
257
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.delete_source`
|
258
|
-
|
259
|
-
:param dict waiter_kwargs:
|
260
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
261
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
262
|
-
"""
|
263
|
-
operation_result = None
|
264
|
-
try:
|
265
|
-
operation_result = self.client.delete_source(source_id, **operation_kwargs)
|
266
|
-
except oci.exceptions.ServiceError as e:
|
267
|
-
if e.status == 404:
|
268
|
-
return WAIT_RESOURCE_NOT_FOUND
|
269
|
-
else:
|
270
|
-
raise e
|
271
|
-
|
272
|
-
if not wait_for_states:
|
273
|
-
return operation_result
|
274
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
275
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
276
|
-
return operation_result
|
277
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
278
|
-
|
279
|
-
try:
|
280
|
-
waiter_result = oci.wait_until(
|
281
|
-
self.client,
|
282
|
-
self.client.get_work_request(wait_for_resource_id),
|
283
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
284
|
-
**waiter_kwargs
|
285
|
-
)
|
286
|
-
result_to_return = waiter_result
|
287
|
-
|
288
|
-
return result_to_return
|
289
|
-
except Exception as e:
|
290
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
291
|
-
|
292
|
-
def migrate_application_and_wait_for_state(self, migration_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
293
|
-
"""
|
294
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.migrate_application` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
295
|
-
to enter the given state(s).
|
296
|
-
|
297
|
-
:param str migration_id: (required)
|
298
|
-
The `OCID`__ of the migration.
|
299
|
-
|
300
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
301
|
-
|
302
|
-
:param list[str] wait_for_states:
|
303
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
304
|
-
|
305
|
-
:param dict operation_kwargs:
|
306
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.migrate_application`
|
307
|
-
|
308
|
-
:param dict waiter_kwargs:
|
309
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
310
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
311
|
-
"""
|
312
|
-
operation_result = self.client.migrate_application(migration_id, **operation_kwargs)
|
313
|
-
if not wait_for_states:
|
314
|
-
return operation_result
|
315
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
316
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
317
|
-
return operation_result
|
318
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
319
|
-
|
320
|
-
try:
|
321
|
-
waiter_result = oci.wait_until(
|
322
|
-
self.client,
|
323
|
-
self.client.get_work_request(wait_for_resource_id),
|
324
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
325
|
-
**waiter_kwargs
|
326
|
-
)
|
327
|
-
result_to_return = waiter_result
|
328
|
-
|
329
|
-
return result_to_return
|
330
|
-
except Exception as e:
|
331
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
332
|
-
|
333
|
-
def update_migration_and_wait_for_state(self, migration_id, update_migration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
334
|
-
"""
|
335
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.update_migration` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
336
|
-
to enter the given state(s).
|
337
|
-
|
338
|
-
:param str migration_id: (required)
|
339
|
-
The `OCID`__ of the migration.
|
340
|
-
|
341
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
342
|
-
|
343
|
-
:param oci.application_migration.models.UpdateMigrationDetails update_migration_details: (required)
|
344
|
-
Updated configuration for the migration.
|
345
|
-
|
346
|
-
:param list[str] wait_for_states:
|
347
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
348
|
-
|
349
|
-
:param dict operation_kwargs:
|
350
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.update_migration`
|
351
|
-
|
352
|
-
:param dict waiter_kwargs:
|
353
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
354
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
355
|
-
"""
|
356
|
-
operation_result = self.client.update_migration(migration_id, update_migration_details, **operation_kwargs)
|
357
|
-
if not wait_for_states:
|
358
|
-
return operation_result
|
359
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
360
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
361
|
-
return operation_result
|
362
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
363
|
-
|
364
|
-
try:
|
365
|
-
waiter_result = oci.wait_until(
|
366
|
-
self.client,
|
367
|
-
self.client.get_work_request(wait_for_resource_id),
|
368
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
369
|
-
**waiter_kwargs
|
370
|
-
)
|
371
|
-
result_to_return = waiter_result
|
372
|
-
|
373
|
-
return result_to_return
|
374
|
-
except Exception as e:
|
375
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
376
|
-
|
377
|
-
def update_source_and_wait_for_state(self, source_id, update_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
378
|
-
"""
|
379
|
-
Calls :py:func:`~oci.application_migration.ApplicationMigrationClient.update_source` and waits for the :py:class:`~oci.application_migration.models.WorkRequest`
|
380
|
-
to enter the given state(s).
|
381
|
-
|
382
|
-
:param str source_id: (required)
|
383
|
-
The `OCID`__ of the source.
|
384
|
-
|
385
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
386
|
-
|
387
|
-
:param oci.application_migration.models.UpdateSourceDetails update_source_details: (required)
|
388
|
-
Updated configuration for the source.
|
389
|
-
|
390
|
-
:param list[str] wait_for_states:
|
391
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.application_migration.models.WorkRequest.status`
|
392
|
-
|
393
|
-
:param dict operation_kwargs:
|
394
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.application_migration.ApplicationMigrationClient.update_source`
|
395
|
-
|
396
|
-
:param dict waiter_kwargs:
|
397
|
-
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
398
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
399
|
-
"""
|
400
|
-
operation_result = self.client.update_source(source_id, update_source_details, **operation_kwargs)
|
401
|
-
if not wait_for_states:
|
402
|
-
return operation_result
|
403
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
404
|
-
if 'opc-work-request-id' not in operation_result.headers:
|
405
|
-
return operation_result
|
406
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
407
|
-
|
408
|
-
try:
|
409
|
-
waiter_result = oci.wait_until(
|
410
|
-
self.client,
|
411
|
-
self.client.get_work_request(wait_for_resource_id),
|
412
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
413
|
-
**waiter_kwargs
|
414
|
-
)
|
415
|
-
result_to_return = waiter_result
|
416
|
-
|
417
|
-
return result_to_return
|
418
|
-
except Exception as e:
|
419
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
@@ -1,84 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
-
|
5
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20191031
|
6
|
-
|
7
|
-
from __future__ import absolute_import
|
8
|
-
|
9
|
-
from .authorization_details import AuthorizationDetails
|
10
|
-
from .change_compartment_details import ChangeCompartmentDetails
|
11
|
-
from .configuration_field import ConfigurationField
|
12
|
-
from .create_migration_details import CreateMigrationDetails
|
13
|
-
from .create_source_details import CreateSourceDetails
|
14
|
-
from .discovery_details import DiscoveryDetails
|
15
|
-
from .ics_discovery_details import IcsDiscoveryDetails
|
16
|
-
from .import_manifest import ImportManifest
|
17
|
-
from .import_source_details import ImportSourceDetails
|
18
|
-
from .internal_authorization_details import InternalAuthorizationDetails
|
19
|
-
from .internal_source_details import InternalSourceDetails
|
20
|
-
from .jcs_discovery_details import JcsDiscoveryDetails
|
21
|
-
from .migration import Migration
|
22
|
-
from .migration_summary import MigrationSummary
|
23
|
-
from .oac_discovery_details import OacDiscoveryDetails
|
24
|
-
from .occ_authorization_details import OccAuthorizationDetails
|
25
|
-
from .occ_source_details import OccSourceDetails
|
26
|
-
from .ocic_authorization_details import OcicAuthorizationDetails
|
27
|
-
from .ocic_authorization_token_details import OcicAuthorizationTokenDetails
|
28
|
-
from .ocic_source_details import OcicSourceDetails
|
29
|
-
from .oic_discovery_details import OicDiscoveryDetails
|
30
|
-
from .pcs_discovery_details import PcsDiscoveryDetails
|
31
|
-
from .resource_field import ResourceField
|
32
|
-
from .soacs_discovery_details import SoacsDiscoveryDetails
|
33
|
-
from .source import Source
|
34
|
-
from .source_application import SourceApplication
|
35
|
-
from .source_application_summary import SourceApplicationSummary
|
36
|
-
from .source_details import SourceDetails
|
37
|
-
from .source_summary import SourceSummary
|
38
|
-
from .update_migration_details import UpdateMigrationDetails
|
39
|
-
from .update_source_details import UpdateSourceDetails
|
40
|
-
from .work_request import WorkRequest
|
41
|
-
from .work_request_error import WorkRequestError
|
42
|
-
from .work_request_log_entry import WorkRequestLogEntry
|
43
|
-
from .work_request_resource import WorkRequestResource
|
44
|
-
from .work_request_summary import WorkRequestSummary
|
45
|
-
|
46
|
-
# Maps type names to classes for application_migration services.
|
47
|
-
application_migration_type_mapping = {
|
48
|
-
"AuthorizationDetails": AuthorizationDetails,
|
49
|
-
"ChangeCompartmentDetails": ChangeCompartmentDetails,
|
50
|
-
"ConfigurationField": ConfigurationField,
|
51
|
-
"CreateMigrationDetails": CreateMigrationDetails,
|
52
|
-
"CreateSourceDetails": CreateSourceDetails,
|
53
|
-
"DiscoveryDetails": DiscoveryDetails,
|
54
|
-
"IcsDiscoveryDetails": IcsDiscoveryDetails,
|
55
|
-
"ImportManifest": ImportManifest,
|
56
|
-
"ImportSourceDetails": ImportSourceDetails,
|
57
|
-
"InternalAuthorizationDetails": InternalAuthorizationDetails,
|
58
|
-
"InternalSourceDetails": InternalSourceDetails,
|
59
|
-
"JcsDiscoveryDetails": JcsDiscoveryDetails,
|
60
|
-
"Migration": Migration,
|
61
|
-
"MigrationSummary": MigrationSummary,
|
62
|
-
"OacDiscoveryDetails": OacDiscoveryDetails,
|
63
|
-
"OccAuthorizationDetails": OccAuthorizationDetails,
|
64
|
-
"OccSourceDetails": OccSourceDetails,
|
65
|
-
"OcicAuthorizationDetails": OcicAuthorizationDetails,
|
66
|
-
"OcicAuthorizationTokenDetails": OcicAuthorizationTokenDetails,
|
67
|
-
"OcicSourceDetails": OcicSourceDetails,
|
68
|
-
"OicDiscoveryDetails": OicDiscoveryDetails,
|
69
|
-
"PcsDiscoveryDetails": PcsDiscoveryDetails,
|
70
|
-
"ResourceField": ResourceField,
|
71
|
-
"SoacsDiscoveryDetails": SoacsDiscoveryDetails,
|
72
|
-
"Source": Source,
|
73
|
-
"SourceApplication": SourceApplication,
|
74
|
-
"SourceApplicationSummary": SourceApplicationSummary,
|
75
|
-
"SourceDetails": SourceDetails,
|
76
|
-
"SourceSummary": SourceSummary,
|
77
|
-
"UpdateMigrationDetails": UpdateMigrationDetails,
|
78
|
-
"UpdateSourceDetails": UpdateSourceDetails,
|
79
|
-
"WorkRequest": WorkRequest,
|
80
|
-
"WorkRequestError": WorkRequestError,
|
81
|
-
"WorkRequestLogEntry": WorkRequestLogEntry,
|
82
|
-
"WorkRequestResource": WorkRequestResource,
|
83
|
-
"WorkRequestSummary": WorkRequestSummary
|
84
|
-
}
|
@@ -1,130 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
-
|
5
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20191031
|
6
|
-
|
7
|
-
|
8
|
-
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
-
from oci.decorators import init_model_state_from_kwargs
|
10
|
-
|
11
|
-
|
12
|
-
@init_model_state_from_kwargs
|
13
|
-
class AuthorizationDetails(object):
|
14
|
-
"""
|
15
|
-
Details of the source environment from which you want to migrate applications to Oracle Cloud Infrastructure. It also contains access
|
16
|
-
credentials.
|
17
|
-
"""
|
18
|
-
|
19
|
-
#: A constant which can be used with the type property of a AuthorizationDetails.
|
20
|
-
#: This constant has a value of "OCIC"
|
21
|
-
TYPE_OCIC = "OCIC"
|
22
|
-
|
23
|
-
#: A constant which can be used with the type property of a AuthorizationDetails.
|
24
|
-
#: This constant has a value of "INTERNAL_COMPUTE"
|
25
|
-
TYPE_INTERNAL_COMPUTE = "INTERNAL_COMPUTE"
|
26
|
-
|
27
|
-
#: A constant which can be used with the type property of a AuthorizationDetails.
|
28
|
-
#: This constant has a value of "OCC"
|
29
|
-
TYPE_OCC = "OCC"
|
30
|
-
|
31
|
-
#: A constant which can be used with the type property of a AuthorizationDetails.
|
32
|
-
#: This constant has a value of "OCIC_IDCS"
|
33
|
-
TYPE_OCIC_IDCS = "OCIC_IDCS"
|
34
|
-
|
35
|
-
#: A constant which can be used with the type property of a AuthorizationDetails.
|
36
|
-
#: This constant has a value of "IMPORT"
|
37
|
-
TYPE_IMPORT = "IMPORT"
|
38
|
-
|
39
|
-
def __init__(self, **kwargs):
|
40
|
-
"""
|
41
|
-
Initializes a new AuthorizationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
42
|
-
to a service operations then you should favor using a subclass over the base class:
|
43
|
-
|
44
|
-
* :class:`~oci.application_migration.models.OccAuthorizationDetails`
|
45
|
-
* :class:`~oci.application_migration.models.InternalAuthorizationDetails`
|
46
|
-
* :class:`~oci.application_migration.models.OcicAuthorizationTokenDetails`
|
47
|
-
* :class:`~oci.application_migration.models.OcicAuthorizationDetails`
|
48
|
-
|
49
|
-
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
50
|
-
|
51
|
-
:param type:
|
52
|
-
The value to assign to the type property of this AuthorizationDetails.
|
53
|
-
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE", "OCC", "OCIC_IDCS", "IMPORT"
|
54
|
-
:type type: str
|
55
|
-
|
56
|
-
"""
|
57
|
-
self.swagger_types = {
|
58
|
-
'type': 'str'
|
59
|
-
}
|
60
|
-
|
61
|
-
self.attribute_map = {
|
62
|
-
'type': 'type'
|
63
|
-
}
|
64
|
-
|
65
|
-
self._type = None
|
66
|
-
|
67
|
-
@staticmethod
|
68
|
-
def get_subtype(object_dictionary):
|
69
|
-
"""
|
70
|
-
Given the hash representation of a subtype of this class,
|
71
|
-
use the info in the hash to return the class of the subtype.
|
72
|
-
"""
|
73
|
-
type = object_dictionary['type']
|
74
|
-
|
75
|
-
if type == 'OCC':
|
76
|
-
return 'OccAuthorizationDetails'
|
77
|
-
|
78
|
-
if type == 'INTERNAL_COMPUTE':
|
79
|
-
return 'InternalAuthorizationDetails'
|
80
|
-
|
81
|
-
if type == 'OCIC_IDCS':
|
82
|
-
return 'OcicAuthorizationTokenDetails'
|
83
|
-
|
84
|
-
if type == 'OCIC':
|
85
|
-
return 'OcicAuthorizationDetails'
|
86
|
-
else:
|
87
|
-
return 'AuthorizationDetails'
|
88
|
-
|
89
|
-
@property
|
90
|
-
def type(self):
|
91
|
-
"""
|
92
|
-
**[Required]** Gets the type of this AuthorizationDetails.
|
93
|
-
Type of the source environment from which you are migrating applications to Oracle Cloud Infrastructure.
|
94
|
-
|
95
|
-
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE", "OCC", "OCIC_IDCS", "IMPORT"
|
96
|
-
|
97
|
-
|
98
|
-
:return: The type of this AuthorizationDetails.
|
99
|
-
:rtype: str
|
100
|
-
"""
|
101
|
-
return self._type
|
102
|
-
|
103
|
-
@type.setter
|
104
|
-
def type(self, type):
|
105
|
-
"""
|
106
|
-
Sets the type of this AuthorizationDetails.
|
107
|
-
Type of the source environment from which you are migrating applications to Oracle Cloud Infrastructure.
|
108
|
-
|
109
|
-
|
110
|
-
:param type: The type of this AuthorizationDetails.
|
111
|
-
:type: str
|
112
|
-
"""
|
113
|
-
allowed_values = ["OCIC", "INTERNAL_COMPUTE", "OCC", "OCIC_IDCS", "IMPORT"]
|
114
|
-
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
115
|
-
raise ValueError(
|
116
|
-
f"Invalid value for `type`, must be None or one of {allowed_values}"
|
117
|
-
)
|
118
|
-
self._type = type
|
119
|
-
|
120
|
-
def __repr__(self):
|
121
|
-
return formatted_flat_dict(self)
|
122
|
-
|
123
|
-
def __eq__(self, other):
|
124
|
-
if other is None:
|
125
|
-
return False
|
126
|
-
|
127
|
-
return self.__dict__ == other.__dict__
|
128
|
-
|
129
|
-
def __ne__(self, other):
|
130
|
-
return not self == other
|