oci 2.145.0__py3-none-any.whl → 2.146.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 +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- 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 +9 -9
- 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 +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- 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 +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- 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_engine/models/open_id_connect_token_authentication_config.py +37 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/container_instances/models/__init__.py +0 -4
- oci/container_instances/models/container_health_check.py +3 -11
- oci/container_instances/models/container_http_health_check.py +1 -1
- oci/container_instances/models/container_tcp_health_check.py +1 -1
- oci/container_instances/models/create_container_details.py +2 -2
- oci/container_instances/models/create_container_health_check_details.py +3 -11
- oci/container_instances/models/create_container_http_health_check_details.py +1 -1
- oci/container_instances/models/create_container_tcp_health_check_details.py +1 -1
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/create_byoip_range_details.py +66 -0
- oci/core/models/create_ipv6_details.py +97 -3
- oci/core/models/create_private_ip_details.py +96 -2
- oci/core/models/create_vnic_details.py +18 -18
- oci/core/models/ipv6.py +107 -3
- oci/core/models/launch_attach_volume_details.py +2 -2
- oci/core/models/network_security_group.py +7 -7
- oci/core/models/private_ip.py +107 -3
- oci/core/models/update_byoip_range_details.py +68 -2
- oci/core/models/update_ipv6_details.py +61 -4
- oci/core/models/update_private_ip_details.py +59 -2
- oci/core/models/update_vnic_details.py +8 -4
- oci/core/models/vnic.py +6 -2
- oci/core/virtual_network_client.py +519 -257
- oci/core/virtual_network_client_composite_operations.py +44 -0
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- 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 +306 -306
- oci/data_science/data_science_client.py +101 -101
- oci/data_science/models/__init__.py +8 -0
- oci/data_science/models/create_pipeline_details.py +31 -0
- oci/data_science/models/pipeline.py +31 -0
- oci/data_science/models/pipeline_container_step_details.py +32 -1
- oci/data_science/models/pipeline_container_step_run.py +1 -1
- oci/data_science/models/pipeline_container_step_update_details.py +34 -3
- oci/data_science/models/pipeline_custom_script_step_details.py +32 -1
- oci/data_science/models/pipeline_custom_script_step_run.py +1 -1
- oci/data_science/models/pipeline_custom_script_step_update_details.py +34 -3
- oci/data_science/models/pipeline_dataflow_configuration_details.py +281 -0
- oci/data_science/models/pipeline_dataflow_step_details.py +141 -0
- oci/data_science/models/pipeline_dataflow_step_run.py +122 -0
- oci/data_science/models/pipeline_dataflow_step_update_details.py +99 -0
- oci/data_science/models/pipeline_ml_job_step_details.py +1 -1
- oci/data_science/models/pipeline_ml_job_step_run.py +1 -1
- oci/data_science/models/pipeline_ml_job_step_update_details.py +1 -1
- oci/data_science/models/pipeline_step_details.py +11 -3
- oci/data_science/models/pipeline_step_override_details.py +29 -2
- oci/data_science/models/pipeline_step_run.py +11 -3
- oci/data_science/models/pipeline_step_update_details.py +11 -3
- oci/data_science/models/update_pipeline_details.py +31 -0
- oci/database/database_client.py +404 -404
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/__init__.py +14 -0
- oci/dblm/db_life_cycle_management_client.py +1762 -0
- oci/dblm/db_life_cycle_management_client_composite_operations.py +65 -0
- oci/dblm/models/__init__.py +70 -0
- oci/dblm/models/aggregated_vulnerability_collection.py +72 -0
- oci/dblm/models/aggregated_vulnerability_summary.py +134 -0
- oci/dblm/models/child_pdb.py +227 -0
- oci/dblm/models/create_vulnerability_scan_details.py +103 -0
- oci/dblm/models/dblm_vulnerability.py +393 -0
- oci/dblm/models/host_info.py +103 -0
- oci/dblm/models/metric_error.py +227 -0
- oci/dblm/models/notification_collection.py +72 -0
- oci/dblm/models/notification_summary.py +185 -0
- oci/dblm/models/patch_recommendation_summary.py +134 -0
- oci/dblm/models/patch_recommendations_details_summary.py +227 -0
- oci/dblm/models/resource_info.py +382 -0
- oci/dblm/models/resource_summary.py +227 -0
- oci/dblm/models/vulnerabilities_summary.py +227 -0
- oci/dblm/models/vulnerability_collection.py +72 -0
- oci/dblm/models/vulnerability_resource_collection.py +72 -0
- oci/dblm/models/vulnerability_resource_summary.py +475 -0
- oci/dblm/models/vulnerability_scan.py +525 -0
- oci/dblm/models/vulnerability_scan_collection.py +72 -0
- oci/dblm/models/vulnerability_scan_summary.py +443 -0
- oci/dblm/models/vulnerability_summary.py +196 -0
- oci/dblm/models/work_request.py +426 -0
- oci/dblm/models/work_request_error.py +136 -0
- oci/dblm/models/work_request_error_collection.py +72 -0
- oci/dblm/models/work_request_log_entry.py +103 -0
- oci/dblm/models/work_request_log_entry_collection.py +72 -0
- oci/dblm/models/work_request_resource.py +234 -0
- oci/dblm/models/work_request_summary.py +426 -0
- oci/dblm/models/work_request_summary_collection.py +72 -0
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- 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_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email/models/create_dkim_details.py +31 -0
- oci/email/models/dkim.py +62 -0
- oci/email/models/dkim_summary.py +62 -0
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- 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 +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- 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/load_balancer/models/create_load_balancer_details.py +15 -15
- oci/load_balancer/models/load_balancer.py +15 -15
- oci/load_balancer/models/update_load_balancer_details.py +15 -15
- oci/lockbox/lockbox_client.py +24 -24
- 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_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- 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 +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/backup.py +33 -0
- oci/mysql/models/backup_summary.py +33 -0
- oci/mysql/models/channel.py +35 -2
- oci/mysql/models/channel_summary.py +35 -2
- oci/mysql/models/configuration.py +35 -2
- oci/mysql/models/configuration_summary.py +35 -2
- oci/mysql/models/configuration_variables.py +4949 -1858
- oci/mysql/models/db_system.py +33 -0
- oci/mysql/models/db_system_summary.py +33 -0
- 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 +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- 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/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- 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 +181 -181
- 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/event_client.py +10 -10
- oci/os_management_hub/lifecycle_environment_client.py +138 -16
- oci/os_management_hub/lifecycle_environment_client_composite_operations.py +44 -0
- oci/os_management_hub/managed_instance_client.py +309 -35
- oci/os_management_hub/managed_instance_client_composite_operations.py +91 -0
- oci/os_management_hub/managed_instance_group_client.py +149 -27
- oci/os_management_hub/managed_instance_group_client_composite_operations.py +44 -0
- oci/os_management_hub/management_station_client.py +59 -16
- oci/os_management_hub/models/__init__.py +54 -0
- oci/os_management_hub/models/add_packages_to_software_source_details.py +35 -4
- oci/os_management_hub/models/agent_event.py +1 -1
- oci/os_management_hub/models/associate_managed_instances_with_management_station_details.py +103 -0
- oci/os_management_hub/models/attach_lifecycle_stage_to_profile_details.py +76 -0
- oci/os_management_hub/models/attach_managed_instance_group_to_profile_details.py +76 -0
- oci/os_management_hub/models/attach_managed_instances_to_lifecycle_stage_details.py +1 -1
- oci/os_management_hub/models/attach_management_station_to_profile_details.py +76 -0
- oci/os_management_hub/models/attach_software_sources_to_profile_details.py +76 -0
- oci/os_management_hub/models/available_package_summary.py +1 -1
- oci/os_management_hub/models/create_custom_software_source_details.py +54 -3
- oci/os_management_hub/models/create_lifecycle_environment_details.py +7 -3
- oci/os_management_hub/models/create_managed_instance_group_details.py +7 -3
- oci/os_management_hub/models/create_management_station_details.py +31 -0
- oci/os_management_hub/models/create_mirror_configuration_details.py +33 -2
- oci/os_management_hub/models/create_private_software_source_details.py +406 -0
- oci/os_management_hub/models/create_profile_details.py +12 -4
- oci/os_management_hub/models/create_scheduled_job_details.py +37 -2
- oci/os_management_hub/models/create_software_source_details.py +19 -3
- oci/os_management_hub/models/create_software_source_profile_details.py +7 -3
- oci/os_management_hub/models/create_station_profile_details.py +7 -3
- oci/os_management_hub/models/create_third_party_software_source_details.py +406 -0
- oci/os_management_hub/models/create_vendor_software_source_details.py +1 -1
- oci/os_management_hub/models/create_versioned_custom_software_source_details.py +54 -3
- oci/os_management_hub/models/create_windows_stand_alone_profile_details.py +288 -0
- oci/os_management_hub/models/custom_software_source.py +102 -9
- oci/os_management_hub/models/custom_software_source_summary.py +64 -8
- oci/os_management_hub/models/detach_managed_instances_from_lifecycle_stage_details.py +1 -1
- oci/os_management_hub/models/detach_software_sources_from_profile_details.py +76 -0
- oci/os_management_hub/models/event.py +23 -3
- oci/os_management_hub/models/event_summary.py +11 -3
- oci/os_management_hub/models/exploit_attempt_event.py +1 -1
- oci/os_management_hub/models/group_profile.py +16 -2
- oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py +33 -2
- oci/os_management_hub/models/installed_package_summary.py +1 -1
- oci/os_management_hub/models/kernel_crash_event.py +1 -1
- oci/os_management_hub/models/kernel_oops_event.py +1 -1
- oci/os_management_hub/models/ksplice_update_event.py +1 -1
- oci/os_management_hub/models/lifecycle_environment.py +7 -3
- oci/os_management_hub/models/lifecycle_environment_summary.py +7 -3
- oci/os_management_hub/models/lifecycle_profile.py +16 -2
- oci/os_management_hub/models/lifecycle_stage.py +7 -3
- oci/os_management_hub/models/lifecycle_stage_summary.py +7 -3
- oci/os_management_hub/models/managed_instance.py +80 -10
- oci/os_management_hub/models/managed_instance_analytic_summary.py +11 -3
- oci/os_management_hub/models/managed_instance_group.py +7 -3
- oci/os_management_hub/models/managed_instance_group_available_package_summary.py +7 -3
- oci/os_management_hub/models/managed_instance_group_summary.py +7 -3
- oci/os_management_hub/models/managed_instance_summary.py +47 -8
- oci/os_management_hub/models/management_station.py +276 -0
- oci/os_management_hub/models/management_station_event.py +1 -1
- oci/os_management_hub/models/management_station_event_data.py +58 -3
- oci/os_management_hub/models/management_station_summary.py +67 -4
- oci/os_management_hub/models/mirror_configuration.py +33 -2
- oci/os_management_hub/models/mirror_summary.py +107 -25
- oci/os_management_hub/models/mirrors_collection.py +2 -1
- oci/os_management_hub/models/module_stream.py +7 -3
- oci/os_management_hub/models/package_name_summary.py +7 -3
- oci/os_management_hub/models/package_summary.py +7 -3
- oci/os_management_hub/models/peer_management_station.py +108 -0
- oci/os_management_hub/models/private_software_source.py +330 -0
- oci/os_management_hub/models/private_software_source_summary.py +212 -0
- oci/os_management_hub/models/profile.py +84 -8
- oci/os_management_hub/models/profile_collection.py +1 -1
- oci/os_management_hub/models/profile_summary.py +17 -7
- oci/os_management_hub/models/profile_version.py +811 -0
- oci/os_management_hub/models/reboot_event.py +184 -0
- oci/os_management_hub/models/reboot_event_data.py +123 -0
- oci/os_management_hub/models/reboot_lifecycle_stage_details.py +101 -0
- oci/os_management_hub/models/reboot_managed_instance_details.py +101 -0
- oci/os_management_hub/models/reboot_managed_instance_group_details.py +101 -0
- oci/os_management_hub/models/remove_packages_from_software_source_details.py +72 -0
- oci/os_management_hub/models/replace_packages_in_software_source_details.py +72 -0
- oci/os_management_hub/models/rerun_work_request_details.py +103 -0
- oci/os_management_hub/models/scheduled_job.py +37 -2
- oci/os_management_hub/models/scheduled_job_operation.py +46 -5
- oci/os_management_hub/models/scheduled_job_summary.py +37 -2
- oci/os_management_hub/models/software_source.py +39 -15
- oci/os_management_hub/models/software_source_details.py +11 -3
- oci/os_management_hub/models/software_source_event.py +1 -1
- oci/os_management_hub/models/software_source_profile.py +16 -2
- oci/os_management_hub/models/software_source_summary.py +30 -10
- oci/os_management_hub/models/software_source_vendor_summary.py +7 -3
- oci/os_management_hub/models/software_update_event.py +1 -1
- oci/os_management_hub/models/station_health.py +7 -3
- oci/os_management_hub/models/station_profile.py +16 -2
- oci/os_management_hub/models/synchronize_mirrors_details.py +7 -3
- oci/os_management_hub/models/sysadmin_event.py +184 -0
- oci/os_management_hub/models/sysadmin_event_data.py +239 -0
- oci/os_management_hub/models/system_details.py +7 -3
- oci/os_management_hub/models/third_party_software_source.py +330 -0
- oci/os_management_hub/models/third_party_software_source_summary.py +212 -0
- oci/os_management_hub/models/updatable_package_summary.py +1 -1
- oci/os_management_hub/models/update_custom_software_source_details.py +1 -1
- oci/os_management_hub/models/update_management_station_details.py +31 -0
- oci/os_management_hub/models/update_mirror_configuration_details.py +33 -2
- oci/os_management_hub/models/update_private_software_source_details.py +272 -0
- oci/os_management_hub/models/update_profile_details.py +1 -1
- oci/os_management_hub/models/update_scheduled_job_details.py +2 -2
- oci/os_management_hub/models/update_software_source_details.py +19 -3
- oci/os_management_hub/models/update_third_party_software_source_details.py +272 -0
- 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 +1 -1
- oci/os_management_hub/models/update_work_request_details.py +9 -5
- oci/os_management_hub/models/vendor_software_source.py +5 -5
- oci/os_management_hub/models/vendor_software_source_summary.py +2 -2
- oci/os_management_hub/models/versioned_custom_software_source.py +102 -9
- oci/os_management_hub/models/versioned_custom_software_source_summary.py +63 -7
- oci/os_management_hub/models/windows_standalone_profile.py +17 -3
- oci/os_management_hub/models/work_request.py +102 -14
- oci/os_management_hub/models/work_request_error.py +4 -4
- oci/os_management_hub/models/work_request_error_collection.py +1 -1
- oci/os_management_hub/models/work_request_log_entry_collection.py +1 -1
- oci/os_management_hub/models/work_request_summary.py +47 -8
- oci/os_management_hub/models/work_request_summary_collection.py +1 -1
- oci/os_management_hub/onboarding_client.py +991 -75
- oci/os_management_hub/reporting_managed_instance_client.py +9 -9
- oci/os_management_hub/scheduled_job_client.py +9 -9
- oci/os_management_hub/software_source_client.py +848 -47
- oci/os_management_hub/software_source_client_composite_operations.py +132 -0
- oci/os_management_hub/work_request_client.py +144 -11
- oci/os_management_hub/work_request_client_composite_operations.py +46 -0
- 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 +26 -26
- oci/redis/models/redis_cluster.py +7 -3
- oci/redis/models/update_redis_cluster_details.py +31 -0
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- 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/security_attribute/security_attribute_client.py +18 -18
- 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 +87 -87
- 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/usageapi_client.py +33 -33
- 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 +14 -14
- 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/zpr/zpr_client.py +15 -15
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/METADATA +1 -1
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/RECORD +473 -411
- oci/container_instances/models/container_command_health_check.py +0 -147
- oci/container_instances/models/create_container_command_health_check_details.py +0 -132
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/WHEEL +0 -0
- {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,52 @@ class ManagedInstanceClientCompositeOperations(object):
|
|
25
25
|
"""
|
26
26
|
self.client = client
|
27
27
|
|
28
|
+
def associate_managed_instances_with_management_station_and_wait_for_state(self, management_station_id, associate_managed_instances_with_management_station_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.associate_managed_instances_with_management_station` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param str management_station_id: (required)
|
34
|
+
The `OCID`__ of the management station.
|
35
|
+
|
36
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
37
|
+
|
38
|
+
:param oci.os_management_hub.models.AssociateManagedInstancesWithManagementStationDetails associate_managed_instances_with_management_station_details: (required)
|
39
|
+
The managed instances `OCIDs`__ to associate to the management station.
|
40
|
+
|
41
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
42
|
+
|
43
|
+
:param list[str] wait_for_states:
|
44
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
|
45
|
+
|
46
|
+
:param dict operation_kwargs:
|
47
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceClient.associate_managed_instances_with_management_station`
|
48
|
+
|
49
|
+
:param dict waiter_kwargs:
|
50
|
+
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``
|
51
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
52
|
+
"""
|
53
|
+
operation_result = self.client.associate_managed_instances_with_management_station(management_station_id, associate_managed_instances_with_management_station_details, **operation_kwargs)
|
54
|
+
if not wait_for_states:
|
55
|
+
return operation_result
|
56
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
57
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
58
|
+
return operation_result
|
59
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
60
|
+
|
61
|
+
try:
|
62
|
+
waiter_result = oci.wait_until(
|
63
|
+
self.client,
|
64
|
+
self.client.get_work_request(wait_for_resource_id),
|
65
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
66
|
+
**waiter_kwargs
|
67
|
+
)
|
68
|
+
result_to_return = waiter_result
|
69
|
+
|
70
|
+
return result_to_return
|
71
|
+
except Exception as e:
|
72
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
73
|
+
|
28
74
|
def attach_software_sources_to_managed_instance_and_wait_for_state(self, managed_instance_id, attach_software_sources_to_managed_instance_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
75
|
"""
|
30
76
|
Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.attach_software_sources_to_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
@@ -506,6 +552,51 @@ class ManagedInstanceClientCompositeOperations(object):
|
|
506
552
|
except Exception as e:
|
507
553
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
508
554
|
|
555
|
+
def reboot_managed_instance_and_wait_for_state(self, managed_instance_id, reboot_managed_instance_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
556
|
+
"""
|
557
|
+
Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.reboot_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
558
|
+
to enter the given state(s).
|
559
|
+
|
560
|
+
:param str managed_instance_id: (required)
|
561
|
+
The `OCID`__ of the managed instance.
|
562
|
+
|
563
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
564
|
+
|
565
|
+
:param oci.os_management_hub.models.RebootManagedInstanceDetails reboot_managed_instance_details: (required)
|
566
|
+
The timeout to be set for the reboot job. The timeout is the amount of time in minutes that the service waits for
|
567
|
+
the reboot to complete before marking the job as failed.
|
568
|
+
|
569
|
+
:param list[str] wait_for_states:
|
570
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
|
571
|
+
|
572
|
+
:param dict operation_kwargs:
|
573
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceClient.reboot_managed_instance`
|
574
|
+
|
575
|
+
:param dict waiter_kwargs:
|
576
|
+
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``
|
577
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
578
|
+
"""
|
579
|
+
operation_result = self.client.reboot_managed_instance(managed_instance_id, reboot_managed_instance_details, **operation_kwargs)
|
580
|
+
if not wait_for_states:
|
581
|
+
return operation_result
|
582
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
583
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
584
|
+
return operation_result
|
585
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
586
|
+
|
587
|
+
try:
|
588
|
+
waiter_result = oci.wait_until(
|
589
|
+
self.client,
|
590
|
+
self.client.get_work_request(wait_for_resource_id),
|
591
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
592
|
+
**waiter_kwargs
|
593
|
+
)
|
594
|
+
result_to_return = waiter_result
|
595
|
+
|
596
|
+
return result_to_return
|
597
|
+
except Exception as e:
|
598
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
599
|
+
|
509
600
|
def refresh_software_on_managed_instance_and_wait_for_state(self, managed_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
510
601
|
"""
|
511
602
|
Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.refresh_software_on_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
@@ -165,7 +165,7 @@ class ManagedInstanceGroupClient(object):
|
|
165
165
|
:rtype: :class:`~oci.response.Response`
|
166
166
|
|
167
167
|
:example:
|
168
|
-
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.146.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.
|
169
169
|
"""
|
170
170
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
171
171
|
required_arguments = ['managedInstanceGroupId']
|
@@ -289,7 +289,7 @@ class ManagedInstanceGroupClient(object):
|
|
289
289
|
:rtype: :class:`~oci.response.Response`
|
290
290
|
|
291
291
|
:example:
|
292
|
-
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.146.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.
|
293
293
|
"""
|
294
294
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
295
295
|
required_arguments = ['managedInstanceGroupId']
|
@@ -415,7 +415,7 @@ class ManagedInstanceGroupClient(object):
|
|
415
415
|
:rtype: :class:`~oci.response.Response`
|
416
416
|
|
417
417
|
:example:
|
418
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
418
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/change_managed_instance_group_compartment.py.html>`__ to see an example of how to use change_managed_instance_group_compartment API.
|
419
419
|
"""
|
420
420
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
421
421
|
required_arguments = ['managedInstanceGroupId']
|
@@ -525,7 +525,7 @@ class ManagedInstanceGroupClient(object):
|
|
525
525
|
:rtype: :class:`~oci.response.Response`
|
526
526
|
|
527
527
|
:example:
|
528
|
-
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.146.0/osmanagementhub/create_managed_instance_group.py.html>`__ to see an example of how to use create_managed_instance_group API.
|
529
529
|
"""
|
530
530
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
531
531
|
required_arguments = []
|
@@ -625,7 +625,7 @@ class ManagedInstanceGroupClient(object):
|
|
625
625
|
:rtype: :class:`~oci.response.Response`
|
626
626
|
|
627
627
|
:example:
|
628
|
-
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.146.0/osmanagementhub/delete_managed_instance_group.py.html>`__ to see an example of how to use delete_managed_instance_group API.
|
629
629
|
"""
|
630
630
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
631
631
|
required_arguments = ['managedInstanceGroupId']
|
@@ -744,7 +744,7 @@ class ManagedInstanceGroupClient(object):
|
|
744
744
|
:rtype: :class:`~oci.response.Response`
|
745
745
|
|
746
746
|
:example:
|
747
|
-
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.146.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.
|
748
748
|
"""
|
749
749
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
750
750
|
required_arguments = ['managedInstanceGroupId']
|
@@ -868,7 +868,7 @@ class ManagedInstanceGroupClient(object):
|
|
868
868
|
:rtype: :class:`~oci.response.Response`
|
869
869
|
|
870
870
|
:example:
|
871
|
-
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.146.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.
|
872
872
|
"""
|
873
873
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
874
874
|
required_arguments = ['managedInstanceGroupId']
|
@@ -990,7 +990,7 @@ class ManagedInstanceGroupClient(object):
|
|
990
990
|
:rtype: :class:`~oci.response.Response`
|
991
991
|
|
992
992
|
:example:
|
993
|
-
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.146.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.
|
994
994
|
"""
|
995
995
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
996
996
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1112,7 +1112,7 @@ class ManagedInstanceGroupClient(object):
|
|
1112
1112
|
:rtype: :class:`~oci.response.Response`
|
1113
1113
|
|
1114
1114
|
:example:
|
1115
|
-
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.146.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.
|
1116
1116
|
"""
|
1117
1117
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1118
1118
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1217,7 +1217,7 @@ class ManagedInstanceGroupClient(object):
|
|
1217
1217
|
:rtype: :class:`~oci.response.Response`
|
1218
1218
|
|
1219
1219
|
:example:
|
1220
|
-
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.146.0/osmanagementhub/get_managed_instance_group.py.html>`__ to see an example of how to use get_managed_instance_group API.
|
1221
1221
|
"""
|
1222
1222
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1223
1223
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1334,7 +1334,7 @@ class ManagedInstanceGroupClient(object):
|
|
1334
1334
|
:rtype: :class:`~oci.response.Response`
|
1335
1335
|
|
1336
1336
|
:example:
|
1337
|
-
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.146.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.
|
1338
1338
|
"""
|
1339
1339
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1340
1340
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1456,7 +1456,7 @@ class ManagedInstanceGroupClient(object):
|
|
1456
1456
|
:rtype: :class:`~oci.response.Response`
|
1457
1457
|
|
1458
1458
|
:example:
|
1459
|
-
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.146.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.
|
1460
1460
|
"""
|
1461
1461
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1462
1462
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1578,7 +1578,7 @@ class ManagedInstanceGroupClient(object):
|
|
1578
1578
|
:rtype: :class:`~oci.response.Response`
|
1579
1579
|
|
1580
1580
|
:example:
|
1581
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1581
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.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
1582
|
"""
|
1583
1583
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1584
1584
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1718,7 +1718,7 @@ class ManagedInstanceGroupClient(object):
|
|
1718
1718
|
:rtype: :class:`~oci.response.Response`
|
1719
1719
|
|
1720
1720
|
:example:
|
1721
|
-
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.146.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.
|
1722
1722
|
"""
|
1723
1723
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1724
1724
|
required_arguments = ['managedInstanceGroupId']
|
@@ -1891,7 +1891,7 @@ class ManagedInstanceGroupClient(object):
|
|
1891
1891
|
:rtype: :class:`~oci.response.Response`
|
1892
1892
|
|
1893
1893
|
:example:
|
1894
|
-
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.146.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.
|
1895
1895
|
"""
|
1896
1896
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1897
1897
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2062,7 +2062,7 @@ class ManagedInstanceGroupClient(object):
|
|
2062
2062
|
:rtype: :class:`~oci.response.Response`
|
2063
2063
|
|
2064
2064
|
:example:
|
2065
|
-
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.146.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.
|
2066
2066
|
"""
|
2067
2067
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2068
2068
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2242,7 +2242,7 @@ class ManagedInstanceGroupClient(object):
|
|
2242
2242
|
:rtype: :class:`~oci.response.Response`
|
2243
2243
|
|
2244
2244
|
:example:
|
2245
|
-
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.146.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.
|
2246
2246
|
"""
|
2247
2247
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2248
2248
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2438,7 +2438,7 @@ class ManagedInstanceGroupClient(object):
|
|
2438
2438
|
:rtype: :class:`~oci.response.Response`
|
2439
2439
|
|
2440
2440
|
:example:
|
2441
|
-
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.146.0/osmanagementhub/list_managed_instance_group_modules.py.html>`__ to see an example of how to use list_managed_instance_group_modules API.
|
2442
2442
|
"""
|
2443
2443
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2444
2444
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2574,7 +2574,7 @@ class ManagedInstanceGroupClient(object):
|
|
2574
2574
|
:param str arch_type: (optional)
|
2575
2575
|
A filter to return only profiles that match the given archType.
|
2576
2576
|
|
2577
|
-
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
|
2577
|
+
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
|
2578
2578
|
|
2579
2579
|
:param str os_family: (optional)
|
2580
2580
|
A filter to return only resources that match the given operating system family.
|
@@ -2644,7 +2644,7 @@ class ManagedInstanceGroupClient(object):
|
|
2644
2644
|
:rtype: :class:`~oci.response.Response`
|
2645
2645
|
|
2646
2646
|
:example:
|
2647
|
-
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.146.0/osmanagementhub/list_managed_instance_groups.py.html>`__ to see an example of how to use list_managed_instance_groups API.
|
2648
2648
|
"""
|
2649
2649
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2650
2650
|
required_arguments = []
|
@@ -2680,7 +2680,7 @@ class ManagedInstanceGroupClient(object):
|
|
2680
2680
|
f"list_managed_instance_groups got unknown kwargs: {extra_kwargs!r}")
|
2681
2681
|
|
2682
2682
|
if 'arch_type' in kwargs:
|
2683
|
-
arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
|
2683
|
+
arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
|
2684
2684
|
if kwargs['arch_type'] not in arch_type_allowed_values:
|
2685
2685
|
raise ValueError(
|
2686
2686
|
f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
|
@@ -2837,7 +2837,7 @@ class ManagedInstanceGroupClient(object):
|
|
2837
2837
|
:rtype: :class:`~oci.response.Response`
|
2838
2838
|
|
2839
2839
|
:example:
|
2840
|
-
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.146.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.
|
2841
2841
|
"""
|
2842
2842
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2843
2843
|
required_arguments = ['managedInstanceGroupId']
|
@@ -2913,6 +2913,128 @@ class ManagedInstanceGroupClient(object):
|
|
2913
2913
|
api_reference_link=api_reference_link,
|
2914
2914
|
required_arguments=required_arguments)
|
2915
2915
|
|
2916
|
+
def reboot_managed_instance_group(self, managed_instance_group_id, reboot_managed_instance_group_details, **kwargs):
|
2917
|
+
"""
|
2918
|
+
Reboots all managed instances in the specified group.
|
2919
|
+
|
2920
|
+
|
2921
|
+
:param str managed_instance_group_id: (required)
|
2922
|
+
The `OCID`__ of the managed instance group.
|
2923
|
+
|
2924
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
2925
|
+
|
2926
|
+
:param oci.os_management_hub.models.RebootManagedInstanceGroupDetails reboot_managed_instance_group_details: (required)
|
2927
|
+
Provides the information used to reboot managed instances in a group.
|
2928
|
+
|
2929
|
+
:param str opc_request_id: (optional)
|
2930
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
2931
|
+
|
2932
|
+
:param str opc_retry_token: (optional)
|
2933
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2934
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
2935
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
2936
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
2937
|
+
might be rejected.
|
2938
|
+
|
2939
|
+
:param str if_match: (optional)
|
2940
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2941
|
+
for a resource, set the `if-match` parameter to the value of the
|
2942
|
+
etag from a previous GET or POST response for that resource.
|
2943
|
+
The resource will be updated or deleted only if the etag you
|
2944
|
+
provide matches the resource's current etag value.
|
2945
|
+
|
2946
|
+
:param obj retry_strategy: (optional)
|
2947
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2948
|
+
|
2949
|
+
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.
|
2950
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2951
|
+
|
2952
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2953
|
+
|
2954
|
+
:param bool allow_control_chars: (optional)
|
2955
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2956
|
+
By default, the response will not allow control characters in strings
|
2957
|
+
|
2958
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2959
|
+
:rtype: :class:`~oci.response.Response`
|
2960
|
+
|
2961
|
+
:example:
|
2962
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/reboot_managed_instance_group.py.html>`__ to see an example of how to use reboot_managed_instance_group API.
|
2963
|
+
"""
|
2964
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2965
|
+
required_arguments = ['managedInstanceGroupId']
|
2966
|
+
resource_path = "/managedInstanceGroups/{managedInstanceGroupId}/actions/reboot"
|
2967
|
+
method = "POST"
|
2968
|
+
operation_name = "reboot_managed_instance_group"
|
2969
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ManagedInstanceGroup/RebootManagedInstanceGroup"
|
2970
|
+
|
2971
|
+
# Don't accept unknown kwargs
|
2972
|
+
expected_kwargs = [
|
2973
|
+
"allow_control_chars",
|
2974
|
+
"retry_strategy",
|
2975
|
+
"opc_request_id",
|
2976
|
+
"opc_retry_token",
|
2977
|
+
"if_match"
|
2978
|
+
]
|
2979
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2980
|
+
if extra_kwargs:
|
2981
|
+
raise ValueError(
|
2982
|
+
f"reboot_managed_instance_group got unknown kwargs: {extra_kwargs!r}")
|
2983
|
+
|
2984
|
+
path_params = {
|
2985
|
+
"managedInstanceGroupId": managed_instance_group_id
|
2986
|
+
}
|
2987
|
+
|
2988
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2989
|
+
|
2990
|
+
for (k, v) in six.iteritems(path_params):
|
2991
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2992
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2993
|
+
|
2994
|
+
header_params = {
|
2995
|
+
"accept": "application/json",
|
2996
|
+
"content-type": "application/json",
|
2997
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
2998
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
2999
|
+
"if-match": kwargs.get("if_match", missing)
|
3000
|
+
}
|
3001
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3002
|
+
|
3003
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3004
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3005
|
+
client_retry_strategy=self.retry_strategy
|
3006
|
+
)
|
3007
|
+
if retry_strategy is None:
|
3008
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
3009
|
+
|
3010
|
+
if retry_strategy:
|
3011
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3012
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
3013
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3014
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3015
|
+
return retry_strategy.make_retrying_call(
|
3016
|
+
self.base_client.call_api,
|
3017
|
+
resource_path=resource_path,
|
3018
|
+
method=method,
|
3019
|
+
path_params=path_params,
|
3020
|
+
header_params=header_params,
|
3021
|
+
body=reboot_managed_instance_group_details,
|
3022
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3023
|
+
operation_name=operation_name,
|
3024
|
+
api_reference_link=api_reference_link,
|
3025
|
+
required_arguments=required_arguments)
|
3026
|
+
else:
|
3027
|
+
return self.base_client.call_api(
|
3028
|
+
resource_path=resource_path,
|
3029
|
+
method=method,
|
3030
|
+
path_params=path_params,
|
3031
|
+
header_params=header_params,
|
3032
|
+
body=reboot_managed_instance_group_details,
|
3033
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3034
|
+
operation_name=operation_name,
|
3035
|
+
api_reference_link=api_reference_link,
|
3036
|
+
required_arguments=required_arguments)
|
3037
|
+
|
2916
3038
|
def remove_module_stream_profile_from_managed_instance_group(self, managed_instance_group_id, remove_module_stream_profile_from_managed_instance_group_details, **kwargs):
|
2917
3039
|
"""
|
2918
3040
|
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.
|
@@ -2959,7 +3081,7 @@ class ManagedInstanceGroupClient(object):
|
|
2959
3081
|
:rtype: :class:`~oci.response.Response`
|
2960
3082
|
|
2961
3083
|
:example:
|
2962
|
-
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.146.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.
|
2963
3085
|
"""
|
2964
3086
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2965
3087
|
required_arguments = ['managedInstanceGroupId']
|
@@ -3081,7 +3203,7 @@ class ManagedInstanceGroupClient(object):
|
|
3081
3203
|
:rtype: :class:`~oci.response.Response`
|
3082
3204
|
|
3083
3205
|
:example:
|
3084
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3206
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.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.
|
3085
3207
|
"""
|
3086
3208
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3087
3209
|
required_arguments = ['managedInstanceGroupId']
|
@@ -3206,7 +3328,7 @@ class ManagedInstanceGroupClient(object):
|
|
3206
3328
|
:rtype: :class:`~oci.response.Response`
|
3207
3329
|
|
3208
3330
|
:example:
|
3209
|
-
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.146.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
3332
|
"""
|
3211
3333
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3212
3334
|
required_arguments = ['managedInstanceGroupId']
|
@@ -3328,7 +3450,7 @@ class ManagedInstanceGroupClient(object):
|
|
3328
3450
|
:rtype: :class:`~oci.response.Response`
|
3329
3451
|
|
3330
3452
|
:example:
|
3331
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3453
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.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.
|
3332
3454
|
"""
|
3333
3455
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3334
3456
|
required_arguments = ['managedInstanceGroupId']
|
@@ -3443,7 +3565,7 @@ class ManagedInstanceGroupClient(object):
|
|
3443
3565
|
:rtype: :class:`~oci.response.Response`
|
3444
3566
|
|
3445
3567
|
:example:
|
3446
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3568
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/update_managed_instance_group.py.html>`__ to see an example of how to use update_managed_instance_group API.
|
3447
3569
|
"""
|
3448
3570
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3449
3571
|
required_arguments = ['managedInstanceGroupId']
|
@@ -525,6 +525,50 @@ class ManagedInstanceGroupClientCompositeOperations(object):
|
|
525
525
|
except Exception as e:
|
526
526
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
527
527
|
|
528
|
+
def reboot_managed_instance_group_and_wait_for_state(self, managed_instance_group_id, reboot_managed_instance_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
529
|
+
"""
|
530
|
+
Calls :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.reboot_managed_instance_group` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
531
|
+
to enter the given state(s).
|
532
|
+
|
533
|
+
:param str managed_instance_group_id: (required)
|
534
|
+
The `OCID`__ of the managed instance group.
|
535
|
+
|
536
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
537
|
+
|
538
|
+
:param oci.os_management_hub.models.RebootManagedInstanceGroupDetails reboot_managed_instance_group_details: (required)
|
539
|
+
Provides the information used to reboot managed instances in a group.
|
540
|
+
|
541
|
+
:param list[str] wait_for_states:
|
542
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
|
543
|
+
|
544
|
+
:param dict operation_kwargs:
|
545
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.reboot_managed_instance_group`
|
546
|
+
|
547
|
+
:param dict waiter_kwargs:
|
548
|
+
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``
|
549
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
550
|
+
"""
|
551
|
+
operation_result = self.client.reboot_managed_instance_group(managed_instance_group_id, reboot_managed_instance_group_details, **operation_kwargs)
|
552
|
+
if not wait_for_states:
|
553
|
+
return operation_result
|
554
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
555
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
556
|
+
return operation_result
|
557
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
558
|
+
|
559
|
+
try:
|
560
|
+
waiter_result = oci.wait_until(
|
561
|
+
self.client,
|
562
|
+
self.client.get_work_request(wait_for_resource_id),
|
563
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
564
|
+
**waiter_kwargs
|
565
|
+
)
|
566
|
+
result_to_return = waiter_result
|
567
|
+
|
568
|
+
return result_to_return
|
569
|
+
except Exception as e:
|
570
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
571
|
+
|
528
572
|
def remove_module_stream_profile_from_managed_instance_group_and_wait_for_state(self, managed_instance_group_id, remove_module_stream_profile_from_managed_instance_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
529
573
|
"""
|
530
574
|
Calls :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.remove_module_stream_profile_from_managed_instance_group` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|