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
@@ -166,7 +166,7 @@ class EventClient(object):
|
|
166
166
|
:rtype: :class:`~oci.response.Response`
|
167
167
|
|
168
168
|
:example:
|
169
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
169
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/change_event_compartment.py.html>`__ to see an example of how to use change_event_compartment API.
|
170
170
|
"""
|
171
171
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
172
172
|
required_arguments = ['eventId']
|
@@ -278,7 +278,7 @@ class EventClient(object):
|
|
278
278
|
:rtype: :class:`~oci.response.Response`
|
279
279
|
|
280
280
|
:example:
|
281
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
281
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/delete_event.py.html>`__ to see an example of how to use delete_event API.
|
282
282
|
"""
|
283
283
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
284
284
|
required_arguments = ['eventId']
|
@@ -392,7 +392,7 @@ class EventClient(object):
|
|
392
392
|
:rtype: :class:`~oci.response.Response`
|
393
393
|
|
394
394
|
:example:
|
395
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
395
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/delete_event_content.py.html>`__ to see an example of how to use delete_event_content API.
|
396
396
|
"""
|
397
397
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
398
398
|
required_arguments = ['eventId']
|
@@ -495,7 +495,7 @@ class EventClient(object):
|
|
495
495
|
:rtype: :class:`~oci.response.Response`
|
496
496
|
|
497
497
|
:example:
|
498
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
498
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_event.py.html>`__ to see an example of how to use get_event API.
|
499
499
|
"""
|
500
500
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
501
501
|
required_arguments = ['eventId']
|
@@ -595,7 +595,7 @@ class EventClient(object):
|
|
595
595
|
:rtype: :class:`~oci.response.Response`
|
596
596
|
|
597
597
|
:example:
|
598
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
598
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_event_content.py.html>`__ to see an example of how to use get_event_content API.
|
599
599
|
"""
|
600
600
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
601
601
|
required_arguments = ['eventId']
|
@@ -709,7 +709,7 @@ class EventClient(object):
|
|
709
709
|
:rtype: :class:`~oci.response.Response`
|
710
710
|
|
711
711
|
:example:
|
712
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
712
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/import_event_content.py.html>`__ to see an example of how to use import_event_content API.
|
713
713
|
"""
|
714
714
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
715
715
|
required_arguments = ['eventId']
|
@@ -818,7 +818,7 @@ class EventClient(object):
|
|
818
818
|
:param list[str] type: (optional)
|
819
819
|
A filter to return only resources whose type matches the given value.
|
820
820
|
|
821
|
-
Allowed values are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
|
821
|
+
Allowed values are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
|
822
822
|
|
823
823
|
:param int limit: (optional)
|
824
824
|
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
@@ -876,7 +876,7 @@ class EventClient(object):
|
|
876
876
|
:rtype: :class:`~oci.response.Response`
|
877
877
|
|
878
878
|
:example:
|
879
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
879
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_events.py.html>`__ to see an example of how to use list_events API.
|
880
880
|
"""
|
881
881
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
882
882
|
required_arguments = []
|
@@ -919,7 +919,7 @@ class EventClient(object):
|
|
919
919
|
)
|
920
920
|
|
921
921
|
if 'type' in kwargs:
|
922
|
-
type_allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"]
|
922
|
+
type_allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"]
|
923
923
|
for type_item in kwargs['type']:
|
924
924
|
if type_item not in type_allowed_values:
|
925
925
|
raise ValueError(
|
@@ -1039,7 +1039,7 @@ class EventClient(object):
|
|
1039
1039
|
:rtype: :class:`~oci.response.Response`
|
1040
1040
|
|
1041
1041
|
:example:
|
1042
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1042
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/update_event.py.html>`__ to see an example of how to use update_event API.
|
1043
1043
|
"""
|
1044
1044
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1045
1045
|
required_arguments = ['eventId']
|
@@ -163,7 +163,7 @@ class LifecycleEnvironmentClient(object):
|
|
163
163
|
:rtype: :class:`~oci.response.Response`
|
164
164
|
|
165
165
|
:example:
|
166
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
166
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/attach_managed_instances_to_lifecycle_stage.py.html>`__ to see an example of how to use attach_managed_instances_to_lifecycle_stage API.
|
167
167
|
"""
|
168
168
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
169
169
|
required_arguments = ['lifecycleStageId']
|
@@ -289,7 +289,7 @@ class LifecycleEnvironmentClient(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/change_lifecycle_environment_compartment.py.html>`__ to see an example of how to use change_lifecycle_environment_compartment API.
|
293
293
|
"""
|
294
294
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
295
295
|
required_arguments = ['lifecycleEnvironmentId']
|
@@ -399,7 +399,7 @@ class LifecycleEnvironmentClient(object):
|
|
399
399
|
:rtype: :class:`~oci.response.Response`
|
400
400
|
|
401
401
|
:example:
|
402
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
402
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/create_lifecycle_environment.py.html>`__ to see an example of how to use create_lifecycle_environment API.
|
403
403
|
"""
|
404
404
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
405
405
|
required_arguments = []
|
@@ -499,7 +499,7 @@ class LifecycleEnvironmentClient(object):
|
|
499
499
|
:rtype: :class:`~oci.response.Response`
|
500
500
|
|
501
501
|
:example:
|
502
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
502
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/delete_lifecycle_environment.py.html>`__ to see an example of how to use delete_lifecycle_environment API.
|
503
503
|
"""
|
504
504
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
505
505
|
required_arguments = ['lifecycleEnvironmentId']
|
@@ -616,7 +616,7 @@ class LifecycleEnvironmentClient(object):
|
|
616
616
|
:rtype: :class:`~oci.response.Response`
|
617
617
|
|
618
618
|
:example:
|
619
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
619
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/detach_managed_instances_from_lifecycle_stage.py.html>`__ to see an example of how to use detach_managed_instances_from_lifecycle_stage API.
|
620
620
|
"""
|
621
621
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
622
622
|
required_arguments = ['lifecycleStageId']
|
@@ -721,7 +721,7 @@ class LifecycleEnvironmentClient(object):
|
|
721
721
|
:rtype: :class:`~oci.response.Response`
|
722
722
|
|
723
723
|
:example:
|
724
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
724
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_lifecycle_environment.py.html>`__ to see an example of how to use get_lifecycle_environment API.
|
725
725
|
"""
|
726
726
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
727
727
|
required_arguments = ['lifecycleEnvironmentId']
|
@@ -821,7 +821,7 @@ class LifecycleEnvironmentClient(object):
|
|
821
821
|
:rtype: :class:`~oci.response.Response`
|
822
822
|
|
823
823
|
:example:
|
824
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
824
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_lifecycle_stage.py.html>`__ to see an example of how to use get_lifecycle_stage API.
|
825
825
|
"""
|
826
826
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
827
827
|
required_arguments = ['lifecycleStageId']
|
@@ -915,7 +915,7 @@ class LifecycleEnvironmentClient(object):
|
|
915
915
|
:param str arch_type: (optional)
|
916
916
|
A filter to return only profiles that match the given archType.
|
917
917
|
|
918
|
-
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
|
918
|
+
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
|
919
919
|
|
920
920
|
:param str os_family: (optional)
|
921
921
|
A filter to return only resources that match the given operating system family.
|
@@ -983,7 +983,7 @@ class LifecycleEnvironmentClient(object):
|
|
983
983
|
:rtype: :class:`~oci.response.Response`
|
984
984
|
|
985
985
|
:example:
|
986
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
986
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_lifecycle_environments.py.html>`__ to see an example of how to use list_lifecycle_environments API.
|
987
987
|
"""
|
988
988
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
989
989
|
required_arguments = []
|
@@ -1017,7 +1017,7 @@ class LifecycleEnvironmentClient(object):
|
|
1017
1017
|
f"list_lifecycle_environments got unknown kwargs: {extra_kwargs!r}")
|
1018
1018
|
|
1019
1019
|
if 'arch_type' in kwargs:
|
1020
|
-
arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
|
1020
|
+
arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
|
1021
1021
|
if kwargs['arch_type'] not in arch_type_allowed_values:
|
1022
1022
|
raise ValueError(
|
1023
1023
|
f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
|
@@ -1196,7 +1196,7 @@ class LifecycleEnvironmentClient(object):
|
|
1196
1196
|
:rtype: :class:`~oci.response.Response`
|
1197
1197
|
|
1198
1198
|
:example:
|
1199
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1199
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_lifecycle_stage_installed_packages.py.html>`__ to see an example of how to use list_lifecycle_stage_installed_packages API.
|
1200
1200
|
"""
|
1201
1201
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1202
1202
|
required_arguments = ['lifecycleStageId']
|
@@ -1339,7 +1339,7 @@ class LifecycleEnvironmentClient(object):
|
|
1339
1339
|
:param str arch_type: (optional)
|
1340
1340
|
A filter to return only profiles that match the given archType.
|
1341
1341
|
|
1342
|
-
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
|
1342
|
+
Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
|
1343
1343
|
|
1344
1344
|
:param str os_family: (optional)
|
1345
1345
|
A filter to return only resources that match the given operating system family.
|
@@ -1407,7 +1407,7 @@ class LifecycleEnvironmentClient(object):
|
|
1407
1407
|
:rtype: :class:`~oci.response.Response`
|
1408
1408
|
|
1409
1409
|
:example:
|
1410
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1410
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_lifecycle_stages.py.html>`__ to see an example of how to use list_lifecycle_stages API.
|
1411
1411
|
"""
|
1412
1412
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1413
1413
|
required_arguments = []
|
@@ -1442,7 +1442,7 @@ class LifecycleEnvironmentClient(object):
|
|
1442
1442
|
f"list_lifecycle_stages got unknown kwargs: {extra_kwargs!r}")
|
1443
1443
|
|
1444
1444
|
if 'arch_type' in kwargs:
|
1445
|
-
arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
|
1445
|
+
arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
|
1446
1446
|
if kwargs['arch_type'] not in arch_type_allowed_values:
|
1447
1447
|
raise ValueError(
|
1448
1448
|
f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
|
@@ -1604,7 +1604,7 @@ class LifecycleEnvironmentClient(object):
|
|
1604
1604
|
:rtype: :class:`~oci.response.Response`
|
1605
1605
|
|
1606
1606
|
:example:
|
1607
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1607
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/promote_software_source_to_lifecycle_stage.py.html>`__ to see an example of how to use promote_software_source_to_lifecycle_stage API.
|
1608
1608
|
"""
|
1609
1609
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1610
1610
|
required_arguments = ['lifecycleStageId']
|
@@ -1688,6 +1688,128 @@ class LifecycleEnvironmentClient(object):
|
|
1688
1688
|
api_reference_link=api_reference_link,
|
1689
1689
|
required_arguments=required_arguments)
|
1690
1690
|
|
1691
|
+
def reboot_lifecycle_stage(self, lifecycle_stage_id, reboot_lifecycle_stage_details, **kwargs):
|
1692
|
+
"""
|
1693
|
+
Reboots all managed instances in the specified lifecycle stage.
|
1694
|
+
|
1695
|
+
|
1696
|
+
:param str lifecycle_stage_id: (required)
|
1697
|
+
The `OCID`__ of the lifecycle stage.
|
1698
|
+
|
1699
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1700
|
+
|
1701
|
+
:param oci.os_management_hub.models.RebootLifecycleStageDetails reboot_lifecycle_stage_details: (required)
|
1702
|
+
Details rebooting managed instances in a lifecycle stage.
|
1703
|
+
|
1704
|
+
:param str opc_request_id: (optional)
|
1705
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
1706
|
+
|
1707
|
+
:param str opc_retry_token: (optional)
|
1708
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1709
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1710
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1711
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1712
|
+
might be rejected.
|
1713
|
+
|
1714
|
+
:param str if_match: (optional)
|
1715
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
1716
|
+
for a resource, set the `if-match` parameter to the value of the
|
1717
|
+
etag from a previous GET or POST response for that resource.
|
1718
|
+
The resource will be updated or deleted only if the etag you
|
1719
|
+
provide matches the resource's current etag value.
|
1720
|
+
|
1721
|
+
:param obj retry_strategy: (optional)
|
1722
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1723
|
+
|
1724
|
+
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.
|
1725
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1726
|
+
|
1727
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1728
|
+
|
1729
|
+
:param bool allow_control_chars: (optional)
|
1730
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1731
|
+
By default, the response will not allow control characters in strings
|
1732
|
+
|
1733
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1734
|
+
:rtype: :class:`~oci.response.Response`
|
1735
|
+
|
1736
|
+
:example:
|
1737
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/reboot_lifecycle_stage.py.html>`__ to see an example of how to use reboot_lifecycle_stage API.
|
1738
|
+
"""
|
1739
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1740
|
+
required_arguments = ['lifecycleStageId']
|
1741
|
+
resource_path = "/lifecycleStages/{lifecycleStageId}/actions/reboot"
|
1742
|
+
method = "POST"
|
1743
|
+
operation_name = "reboot_lifecycle_stage"
|
1744
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/LifecycleStage/RebootLifecycleStage"
|
1745
|
+
|
1746
|
+
# Don't accept unknown kwargs
|
1747
|
+
expected_kwargs = [
|
1748
|
+
"allow_control_chars",
|
1749
|
+
"retry_strategy",
|
1750
|
+
"opc_request_id",
|
1751
|
+
"opc_retry_token",
|
1752
|
+
"if_match"
|
1753
|
+
]
|
1754
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1755
|
+
if extra_kwargs:
|
1756
|
+
raise ValueError(
|
1757
|
+
f"reboot_lifecycle_stage got unknown kwargs: {extra_kwargs!r}")
|
1758
|
+
|
1759
|
+
path_params = {
|
1760
|
+
"lifecycleStageId": lifecycle_stage_id
|
1761
|
+
}
|
1762
|
+
|
1763
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1764
|
+
|
1765
|
+
for (k, v) in six.iteritems(path_params):
|
1766
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1767
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1768
|
+
|
1769
|
+
header_params = {
|
1770
|
+
"accept": "application/json",
|
1771
|
+
"content-type": "application/json",
|
1772
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1773
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
1774
|
+
"if-match": kwargs.get("if_match", missing)
|
1775
|
+
}
|
1776
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1777
|
+
|
1778
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1779
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1780
|
+
client_retry_strategy=self.retry_strategy
|
1781
|
+
)
|
1782
|
+
if retry_strategy is None:
|
1783
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1784
|
+
|
1785
|
+
if retry_strategy:
|
1786
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1787
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1788
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1789
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1790
|
+
return retry_strategy.make_retrying_call(
|
1791
|
+
self.base_client.call_api,
|
1792
|
+
resource_path=resource_path,
|
1793
|
+
method=method,
|
1794
|
+
path_params=path_params,
|
1795
|
+
header_params=header_params,
|
1796
|
+
body=reboot_lifecycle_stage_details,
|
1797
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1798
|
+
operation_name=operation_name,
|
1799
|
+
api_reference_link=api_reference_link,
|
1800
|
+
required_arguments=required_arguments)
|
1801
|
+
else:
|
1802
|
+
return self.base_client.call_api(
|
1803
|
+
resource_path=resource_path,
|
1804
|
+
method=method,
|
1805
|
+
path_params=path_params,
|
1806
|
+
header_params=header_params,
|
1807
|
+
body=reboot_lifecycle_stage_details,
|
1808
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1809
|
+
operation_name=operation_name,
|
1810
|
+
api_reference_link=api_reference_link,
|
1811
|
+
required_arguments=required_arguments)
|
1812
|
+
|
1691
1813
|
def update_lifecycle_environment(self, lifecycle_environment_id, update_lifecycle_environment_details, **kwargs):
|
1692
1814
|
"""
|
1693
1815
|
Updates the specified lifecycle environment's name, description, stages, or tags.
|
@@ -1727,7 +1849,7 @@ class LifecycleEnvironmentClient(object):
|
|
1727
1849
|
:rtype: :class:`~oci.response.Response`
|
1728
1850
|
|
1729
1851
|
:example:
|
1730
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1852
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/update_lifecycle_environment.py.html>`__ to see an example of how to use update_lifecycle_environment API.
|
1731
1853
|
"""
|
1732
1854
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1733
1855
|
required_arguments = ['lifecycleEnvironmentId']
|
@@ -260,6 +260,50 @@ class LifecycleEnvironmentClientCompositeOperations(object):
|
|
260
260
|
except Exception as e:
|
261
261
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
262
262
|
|
263
|
+
def reboot_lifecycle_stage_and_wait_for_state(self, lifecycle_stage_id, reboot_lifecycle_stage_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
264
|
+
"""
|
265
|
+
Calls :py:func:`~oci.os_management_hub.LifecycleEnvironmentClient.reboot_lifecycle_stage` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
|
266
|
+
to enter the given state(s).
|
267
|
+
|
268
|
+
:param str lifecycle_stage_id: (required)
|
269
|
+
The `OCID`__ of the lifecycle stage.
|
270
|
+
|
271
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
272
|
+
|
273
|
+
:param oci.os_management_hub.models.RebootLifecycleStageDetails reboot_lifecycle_stage_details: (required)
|
274
|
+
Details rebooting managed instances in a lifecycle stage.
|
275
|
+
|
276
|
+
:param list[str] wait_for_states:
|
277
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
|
278
|
+
|
279
|
+
:param dict operation_kwargs:
|
280
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.LifecycleEnvironmentClient.reboot_lifecycle_stage`
|
281
|
+
|
282
|
+
:param dict waiter_kwargs:
|
283
|
+
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``
|
284
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
285
|
+
"""
|
286
|
+
operation_result = self.client.reboot_lifecycle_stage(lifecycle_stage_id, reboot_lifecycle_stage_details, **operation_kwargs)
|
287
|
+
if not wait_for_states:
|
288
|
+
return operation_result
|
289
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
290
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
291
|
+
return operation_result
|
292
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
293
|
+
|
294
|
+
try:
|
295
|
+
waiter_result = oci.wait_until(
|
296
|
+
self.client,
|
297
|
+
self.client.get_work_request(wait_for_resource_id),
|
298
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
299
|
+
**waiter_kwargs
|
300
|
+
)
|
301
|
+
result_to_return = waiter_result
|
302
|
+
|
303
|
+
return result_to_return
|
304
|
+
except Exception as e:
|
305
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
306
|
+
|
263
307
|
def update_lifecycle_environment_and_wait_for_state(self, lifecycle_environment_id, update_lifecycle_environment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
264
308
|
"""
|
265
309
|
Calls :py:func:`~oci.os_management_hub.LifecycleEnvironmentClient.update_lifecycle_environment` and waits for the :py:class:`~oci.os_management_hub.models.LifecycleEnvironment` acted upon
|