oci 2.129.3__py3-none-any.whl → 2.130.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/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +870 -87
- oci/ai_speech/ai_service_speech_client_composite_operations.py +146 -0
- oci/ai_speech/models/__init__.py +70 -0
- oci/ai_speech/models/change_customization_compartment_details.py +78 -0
- oci/ai_speech/models/create_customization_details.py +289 -0
- oci/ai_speech/models/create_realtime_session_token_details.py +142 -0
- oci/ai_speech/models/customization.py +544 -0
- oci/ai_speech/models/customization_collection.py +72 -0
- oci/ai_speech/models/customization_dataset_details.py +109 -0
- oci/ai_speech/models/customization_inference.py +173 -0
- oci/ai_speech/models/customization_inference_entity.py +138 -0
- oci/ai_speech/models/customization_model_details.py +139 -0
- oci/ai_speech/models/customization_referenced_entities.py +134 -0
- oci/ai_speech/models/customization_summary.py +396 -0
- oci/ai_speech/models/entity.py +134 -0
- oci/ai_speech/models/entity_list.py +166 -0
- oci/ai_speech/models/entity_list_dataset.py +115 -0
- oci/ai_speech/models/location_details.py +101 -0
- oci/ai_speech/models/object_list_dataset.py +144 -0
- oci/ai_speech/models/object_storage_dataset.py +109 -0
- oci/ai_speech/models/pronunciation.py +99 -0
- oci/ai_speech/models/realtime_message.py +168 -0
- oci/ai_speech/models/realtime_message_ack_audio.py +85 -0
- oci/ai_speech/models/realtime_message_ack_audio_details.py +134 -0
- oci/ai_speech/models/realtime_message_authentication.py +140 -0
- oci/ai_speech/models/realtime_message_authentication_credentials.py +89 -0
- oci/ai_speech/models/realtime_message_authentication_token.py +89 -0
- oci/ai_speech/models/realtime_message_connect.py +58 -0
- oci/ai_speech/models/realtime_message_error.py +120 -0
- oci/ai_speech/models/realtime_message_out.py +103 -0
- oci/ai_speech/models/realtime_message_result.py +89 -0
- oci/ai_speech/models/realtime_message_result_transcription.py +258 -0
- oci/ai_speech/models/realtime_message_result_transcription_token.py +212 -0
- oci/ai_speech/models/realtime_message_send_final_result.py +51 -0
- oci/ai_speech/models/realtime_model_details.py +139 -0
- oci/ai_speech/models/realtime_parameters.py +390 -0
- oci/ai_speech/models/realtime_session_token.py +200 -0
- oci/ai_speech/models/update_customization_details.py +254 -0
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +29 -29
- oci/apm_synthetics/models/__init__.py +14 -0
- oci/apm_synthetics/models/basic_authentication_details.py +99 -0
- oci/apm_synthetics/models/browser_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/create_monitor_details.py +48 -9
- oci/apm_synthetics/models/database_wallet_details.py +103 -0
- oci/apm_synthetics/models/dns_sec_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/dns_server_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/dns_trace_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/ftp_monitor_configuration.py +379 -0
- oci/apm_synthetics/models/monitor.py +112 -11
- oci/apm_synthetics/models/monitor_configuration.py +19 -3
- oci/apm_synthetics/models/monitor_summary.py +112 -11
- oci/apm_synthetics/models/network_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/password.py +109 -0
- oci/apm_synthetics/models/password_in_text.py +82 -0
- oci/apm_synthetics/models/password_in_vault.py +83 -0
- oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/sql_monitor_configuration.py +307 -0
- oci/apm_synthetics/models/update_monitor_details.py +37 -6
- oci/apm_synthetics/models/vantage_point_info.py +33 -2
- oci/apm_synthetics/models/worker_monitor_list.py +11 -3
- 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/auth/certificate_retriever.py +13 -6
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +38 -5
- oci/auth/signers/instance_principals_security_token_signer.py +1 -1
- oci/auth/signers/key_pair_signer.py +2 -2
- oci/auth/signers/resource_principals_signer.py +17 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +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_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +508 -99
- oci/core/compute_client_composite_operations.py +39 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/instance_maintenance_event.py +1022 -0
- oci/core/models/instance_maintenance_event_summary.py +795 -0
- oci/core/models/update_instance_maintenance_event_details.py +281 -0
- oci/core/virtual_network_client.py +247 -247
- 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 +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +3762 -2702
- oci/data_safe/data_safe_client_composite_operations.py +307 -0
- oci/data_safe/models/__init__.py +14 -0
- oci/data_safe/models/alert.py +62 -0
- oci/data_safe/models/alert_policy.py +31 -0
- oci/data_safe/models/alert_policy_rule.py +127 -2
- oci/data_safe/models/alert_policy_rule_summary.py +127 -2
- oci/data_safe/models/alert_policy_summary.py +31 -0
- oci/data_safe/models/alert_summary.py +62 -0
- oci/data_safe/models/audit_event_summary.py +62 -0
- oci/data_safe/models/create_alert_policy_details.py +31 -0
- oci/data_safe/models/create_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/create_discovery_job_details.py +33 -0
- oci/data_safe/models/create_security_assessment_details.py +31 -0
- oci/data_safe/models/create_sensitive_data_model_details.py +35 -0
- oci/data_safe/models/create_user_assessment_details.py +31 -0
- oci/data_safe/models/discovery_job.py +31 -0
- oci/data_safe/models/finding_summary.py +31 -0
- oci/data_safe/models/generate_report_details.py +2 -2
- oci/data_safe/models/references.py +34 -3
- oci/data_safe/models/report.py +44 -5
- oci/data_safe/models/report_definition.py +40 -5
- oci/data_safe/models/report_definition_summary.py +7 -3
- oci/data_safe/models/report_summary.py +13 -5
- oci/data_safe/models/schedule_report_details.py +2 -2
- oci/data_safe/models/security_assessment.py +31 -0
- oci/data_safe/models/sensitive_data_model.py +35 -0
- oci/data_safe/models/sensitive_data_model_sensitive_type_collection.py +72 -0
- oci/data_safe/models/sensitive_data_model_sensitive_type_summary.py +103 -0
- oci/data_safe/models/sql_firewall_allowed_sql.py +626 -0
- oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -3
- oci/data_safe/models/sql_firewall_allowed_sql_summary.py +7 -3
- oci/data_safe/models/tables_for_discovery.py +103 -0
- oci/data_safe/models/target_alert_policy_association.py +31 -0
- oci/data_safe/models/target_alert_policy_association_summary.py +31 -0
- oci/data_safe/models/unset_security_assessment_baseline_details.py +72 -0
- oci/data_safe/models/unset_user_assessment_baseline_details.py +72 -0
- oci/data_safe/models/update_alert_policy_details.py +240 -0
- oci/data_safe/models/update_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/update_security_assessment_details.py +31 -0
- oci/data_safe/models/update_sensitive_data_model_details.py +35 -0
- oci/data_safe/models/update_user_assessment_details.py +31 -0
- oci/data_safe/models/user_assessment.py +31 -0
- oci/data_safe/models/user_assessment_summary.py +31 -0
- oci/data_safe/models/work_request.py +39 -3
- oci/data_safe/models/work_request_summary.py +39 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +707 -353
- oci/database/database_client_composite_operations.py +123 -0
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_database.py +103 -2
- oci/database/models/autonomous_database_summary.py +103 -2
- oci/database/models/change_autonomous_database_subscription_details.py +107 -0
- oci/database/models/change_cloud_exadata_infrastructure_subscription_details.py +107 -0
- oci/database/models/change_cloud_vm_cluster_subscription_details.py +107 -0
- oci/database/models/change_subscription_details.py +107 -0
- oci/database/models/cloud_exadata_infrastructure.py +35 -0
- oci/database/models/cloud_exadata_infrastructure_summary.py +35 -0
- oci/database/models/cloud_vm_cluster.py +35 -0
- oci/database/models/cloud_vm_cluster_summary.py +35 -0
- oci/database/models/create_autonomous_database_base.py +66 -0
- oci/database/models/create_autonomous_database_clone_details.py +14 -0
- oci/database/models/create_autonomous_database_details.py +14 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +14 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +14 -0
- oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
- oci/database/models/create_cloud_vm_cluster_details.py +35 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +14 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +14 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +14 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +14 -0
- oci/database/models/update_autonomous_database_details.py +31 -0
- oci/database_management/db_management_client.py +208 -208
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +792 -66
- oci/database_migration/database_migration_client_composite_operations.py +179 -0
- oci/database_migration/models/__init__.py +8 -0
- oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_parameter_file_version_details.py +181 -0
- oci/database_migration/models/job.py +31 -0
- oci/database_migration/models/non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/parameter_file_version.py +274 -0
- oci/database_migration/models/parameter_file_version_collection.py +72 -0
- oci/database_migration/models/parameter_file_version_summary.py +342 -0
- oci/database_migration/models/phase_status.py +80 -2
- oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +51 -51
- oci/fleet_software_update/fleet_software_update_client.py +259 -45
- oci/fleet_software_update/fleet_software_update_client_composite_operations.py +52 -1
- oci/fleet_software_update/models/__init__.py +4 -0
- oci/fleet_software_update/models/cloud_vm_cluster_target_summary.py +33 -2
- oci/fleet_software_update/models/create_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/create_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/diagnostics_collection_details.py +94 -0
- oci/fleet_software_update/models/fsu_collection_target.py +239 -0
- oci/fleet_software_update/models/fsu_cycle.py +27 -0
- oci/fleet_software_update/models/fsu_cycle_summary.py +27 -0
- oci/fleet_software_update/models/gi_resource_id_filter.py +7 -3
- oci/fleet_software_update/models/image_id_fsu_target_details.py +4 -1
- oci/fleet_software_update/models/patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/update_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/update_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/vm_cluster_target_summary.py +33 -2
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- 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 +68 -68
- 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 +1525 -662
- oci/identity_domains/models/__init__.py +12 -0
- oci/identity_domains/models/extension_social_identity_provider.py +220 -0
- oci/identity_domains/models/identity_propagation_trust.py +0 -49
- oci/identity_domains/models/identity_provider_jit_prov_assigned_groups.py +214 -0
- oci/identity_domains/models/social_identity_provider.py +2083 -0
- oci/identity_domains/models/social_identity_provider_jit_prov_assigned_groups.py +202 -0
- oci/identity_domains/models/social_identity_provider_relay_idp_param_mappings.py +147 -0
- oci/identity_domains/models/social_identity_provider_search_request.py +364 -0
- oci/identity_domains/models/social_identity_providers.py +196 -0
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +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/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/models/__init__.py +22 -0
- oci/network_firewall/models/create_tunnel_inspection_rule_details.py +218 -0
- oci/network_firewall/models/create_vxlan_inspection_rule_details.py +127 -0
- oci/network_firewall/models/tunnel_inspection_rule.py +280 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary.py +253 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary_collection.py +72 -0
- oci/network_firewall/models/update_tunnel_inspection_rule_details.py +187 -0
- oci/network_firewall/models/update_vxlan_inspection_rule_details.py +120 -0
- oci/network_firewall/models/vxlan_inspection_rule.py +141 -0
- oci/network_firewall/models/vxlan_inspection_rule_match_criteria.py +104 -0
- oci/network_firewall/models/vxlan_inspection_rule_profile.py +72 -0
- oci/network_firewall/models/vxlan_inspection_rule_summary.py +134 -0
- oci/network_firewall/network_firewall_client.py +837 -97
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/object_storage/transfer/internal/download/__init__.py +1 -1
- 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 +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/models/__init__.py +22 -0
- oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
- oci/opsi/models/autonomous_database_insight.py +1 -1
- oci/opsi/models/autonomous_database_insight_summary.py +1 -1
- oci/opsi/models/create_database_insight_details.py +11 -3
- oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +107 -0
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/database_configuration_summary.py +11 -3
- oci/opsi/models/database_insight.py +11 -3
- oci/opsi/models/database_insight_summary.py +11 -3
- oci/opsi/models/em_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/em_managed_external_database_insight.py +1 -1
- oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/enable_database_insight_details.py +11 -3
- oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +51 -0
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/host_containers.py +182 -0
- oci/opsi/models/host_cpu_usage.py +1 -1
- oci/opsi/models/host_filesystem_usage.py +30 -3
- oci/opsi/models/host_gpu_processes.py +1 -1
- oci/opsi/models/host_gpu_usage.py +1 -1
- oci/opsi/models/host_io_usage.py +244 -0
- oci/opsi/models/host_memory_usage.py +1 -1
- oci/opsi/models/host_network_activity_summary.py +1 -1
- oci/opsi/models/host_performance_metric_group.py +19 -3
- oci/opsi/models/host_top_processes.py +158 -3
- oci/opsi/models/ingest_my_sql_sql_stats_details.py +72 -0
- oci/opsi/models/ingest_my_sql_sql_stats_response_details.py +72 -0
- oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight.py +374 -0
- oci/opsi/models/mds_my_sql_database_insight_summary.py +210 -0
- oci/opsi/models/mds_mysql_database_configuration_summary.py +251 -0
- oci/opsi/models/my_sql_sql_stats.py +1074 -0
- oci/opsi/models/pe_comanaged_database_insight.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/resource_statistics.py +64 -2
- oci/opsi/models/summarize_host_insight_host_recommendation_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_usage_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.py +11 -3
- oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/update_database_insight_details.py +11 -3
- oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +2 -2
- oci/opsi/models/update_mds_my_sql_database_insight.py +65 -0
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +2 -2
- oci/opsi/operations_insights_client.py +464 -195
- 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 +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- 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 +25 -25
- oci/redis/models/create_redis_cluster_details.py +12 -2
- oci/redis/models/redis_cluster.py +19 -5
- oci/redis/models/redis_cluster_summary.py +12 -2
- oci/redis/models/update_redis_cluster_details.py +12 -2
- oci/redis/redis_cluster_client.py +11 -11
- 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/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/models/baselineable_metric.py +155 -124
- oci/stack_monitoring/models/baselineable_metric_summary.py +31 -0
- oci/stack_monitoring/models/create_baselineable_metric_details.py +35 -4
- oci/stack_monitoring/models/update_baselineable_metric_details.py +31 -0
- oci/stack_monitoring/stack_monitoring_client.py +74 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/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 +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/METADATA +1 -1
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/RECORD +507 -417
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/WHEEL +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/top_level.txt +0 -0
oci/core/compute_client.py
CHANGED
@@ -164,7 +164,7 @@ class ComputeClient(object):
|
|
164
164
|
:rtype: :class:`~oci.response.Response`
|
165
165
|
|
166
166
|
:example:
|
167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
167
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/accept_shielded_integrity_policy.py.html>`__ to see an example of how to use accept_shielded_integrity_policy API.
|
168
168
|
"""
|
169
169
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
170
170
|
required_arguments = ['instanceId']
|
@@ -268,7 +268,7 @@ class ComputeClient(object):
|
|
268
268
|
:rtype: :class:`~oci.response.Response`
|
269
269
|
|
270
270
|
:example:
|
271
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
271
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/add_image_shape_compatibility_entry.py.html>`__ to see an example of how to use add_image_shape_compatibility_entry API.
|
272
272
|
"""
|
273
273
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
274
274
|
required_arguments = ['imageId', 'shapeName']
|
@@ -369,7 +369,7 @@ class ComputeClient(object):
|
|
369
369
|
:rtype: :class:`~oci.response.Response`
|
370
370
|
|
371
371
|
:example:
|
372
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
372
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/attach_boot_volume.py.html>`__ to see an example of how to use attach_boot_volume API.
|
373
373
|
"""
|
374
374
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
375
375
|
required_arguments = []
|
@@ -464,7 +464,7 @@ class ComputeClient(object):
|
|
464
464
|
:rtype: :class:`~oci.response.Response`
|
465
465
|
|
466
466
|
:example:
|
467
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
467
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/attach_vnic.py.html>`__ to see an example of how to use attach_vnic API.
|
468
468
|
"""
|
469
469
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
470
470
|
required_arguments = []
|
@@ -555,7 +555,7 @@ class ComputeClient(object):
|
|
555
555
|
:rtype: :class:`~oci.response.Response`
|
556
556
|
|
557
557
|
:example:
|
558
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
558
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/attach_volume.py.html>`__ to see an example of how to use attach_volume API.
|
559
559
|
"""
|
560
560
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
561
561
|
required_arguments = []
|
@@ -662,7 +662,7 @@ class ComputeClient(object):
|
|
662
662
|
:rtype: :class:`~oci.response.Response`
|
663
663
|
|
664
664
|
:example:
|
665
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
665
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/capture_console_history.py.html>`__ to see an example of how to use capture_console_history API.
|
666
666
|
"""
|
667
667
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
668
668
|
required_arguments = []
|
@@ -769,7 +769,7 @@ class ComputeClient(object):
|
|
769
769
|
:rtype: :class:`~oci.response.Response`
|
770
770
|
|
771
771
|
:example:
|
772
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
772
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/change_compute_capacity_reservation_compartment.py.html>`__ to see an example of how to use change_compute_capacity_reservation_compartment API.
|
773
773
|
"""
|
774
774
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
775
775
|
required_arguments = ['capacityReservationId']
|
@@ -891,7 +891,7 @@ class ComputeClient(object):
|
|
891
891
|
:rtype: :class:`~oci.response.Response`
|
892
892
|
|
893
893
|
:example:
|
894
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
894
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/change_compute_capacity_topology_compartment.py.html>`__ to see an example of how to use change_compute_capacity_topology_compartment API.
|
895
895
|
"""
|
896
896
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
897
897
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -1022,7 +1022,7 @@ class ComputeClient(object):
|
|
1022
1022
|
:rtype: :class:`~oci.response.Response`
|
1023
1023
|
|
1024
1024
|
:example:
|
1025
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1025
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/change_compute_cluster_compartment.py.html>`__ to see an example of how to use change_compute_cluster_compartment API.
|
1026
1026
|
"""
|
1027
1027
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1028
1028
|
required_arguments = ['computeClusterId']
|
@@ -1143,7 +1143,7 @@ class ComputeClient(object):
|
|
1143
1143
|
:rtype: :class:`~oci.response.Response`
|
1144
1144
|
|
1145
1145
|
:example:
|
1146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/change_compute_image_capability_schema_compartment.py.html>`__ to see an example of how to use change_compute_image_capability_schema_compartment API.
|
1147
1147
|
"""
|
1148
1148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1149
1149
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -1262,7 +1262,7 @@ class ComputeClient(object):
|
|
1262
1262
|
:rtype: :class:`~oci.response.Response`
|
1263
1263
|
|
1264
1264
|
:example:
|
1265
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1265
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/change_dedicated_vm_host_compartment.py.html>`__ to see an example of how to use change_dedicated_vm_host_compartment API.
|
1266
1266
|
"""
|
1267
1267
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1268
1268
|
required_arguments = ['dedicatedVmHostId']
|
@@ -1385,7 +1385,7 @@ class ComputeClient(object):
|
|
1385
1385
|
:rtype: :class:`~oci.response.Response`
|
1386
1386
|
|
1387
1387
|
:example:
|
1388
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1388
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/change_image_compartment.py.html>`__ to see an example of how to use change_image_compartment API.
|
1389
1389
|
"""
|
1390
1390
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1391
1391
|
required_arguments = ['imageId']
|
@@ -1513,7 +1513,7 @@ class ComputeClient(object):
|
|
1513
1513
|
:rtype: :class:`~oci.response.Response`
|
1514
1514
|
|
1515
1515
|
:example:
|
1516
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1516
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/change_instance_compartment.py.html>`__ to see an example of how to use change_instance_compartment API.
|
1517
1517
|
"""
|
1518
1518
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1519
1519
|
required_arguments = ['instanceId']
|
@@ -1618,7 +1618,7 @@ class ComputeClient(object):
|
|
1618
1618
|
:rtype: :class:`~oci.response.Response`
|
1619
1619
|
|
1620
1620
|
:example:
|
1621
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1621
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_app_catalog_subscription.py.html>`__ to see an example of how to use create_app_catalog_subscription API.
|
1622
1622
|
"""
|
1623
1623
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1624
1624
|
required_arguments = []
|
@@ -1720,7 +1720,7 @@ class ComputeClient(object):
|
|
1720
1720
|
:rtype: :class:`~oci.response.Response`
|
1721
1721
|
|
1722
1722
|
:example:
|
1723
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1723
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_compute_capacity_report.py.html>`__ to see an example of how to use create_compute_capacity_report API.
|
1724
1724
|
"""
|
1725
1725
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1726
1726
|
required_arguments = []
|
@@ -1827,7 +1827,7 @@ class ComputeClient(object):
|
|
1827
1827
|
:rtype: :class:`~oci.response.Response`
|
1828
1828
|
|
1829
1829
|
:example:
|
1830
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1830
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_compute_capacity_reservation.py.html>`__ to see an example of how to use create_compute_capacity_reservation API.
|
1831
1831
|
"""
|
1832
1832
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1833
1833
|
required_arguments = []
|
@@ -1929,7 +1929,7 @@ class ComputeClient(object):
|
|
1929
1929
|
:rtype: :class:`~oci.response.Response`
|
1930
1930
|
|
1931
1931
|
:example:
|
1932
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1932
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_compute_capacity_topology.py.html>`__ to see an example of how to use create_compute_capacity_topology API.
|
1933
1933
|
"""
|
1934
1934
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1935
1935
|
required_arguments = []
|
@@ -2053,7 +2053,7 @@ class ComputeClient(object):
|
|
2053
2053
|
:rtype: :class:`~oci.response.Response`
|
2054
2054
|
|
2055
2055
|
:example:
|
2056
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2056
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_compute_cluster.py.html>`__ to see an example of how to use create_compute_cluster API.
|
2057
2057
|
"""
|
2058
2058
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2059
2059
|
required_arguments = []
|
@@ -2146,7 +2146,7 @@ class ComputeClient(object):
|
|
2146
2146
|
:rtype: :class:`~oci.response.Response`
|
2147
2147
|
|
2148
2148
|
:example:
|
2149
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_compute_image_capability_schema.py.html>`__ to see an example of how to use create_compute_image_capability_schema API.
|
2150
2150
|
"""
|
2151
2151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2152
2152
|
required_arguments = []
|
@@ -2248,7 +2248,7 @@ class ComputeClient(object):
|
|
2248
2248
|
:rtype: :class:`~oci.response.Response`
|
2249
2249
|
|
2250
2250
|
:example:
|
2251
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2251
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_dedicated_vm_host.py.html>`__ to see an example of how to use create_dedicated_vm_host API.
|
2252
2252
|
"""
|
2253
2253
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2254
2254
|
required_arguments = []
|
@@ -2368,7 +2368,7 @@ class ComputeClient(object):
|
|
2368
2368
|
:rtype: :class:`~oci.response.Response`
|
2369
2369
|
|
2370
2370
|
:example:
|
2371
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2371
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_image.py.html>`__ to see an example of how to use create_image API.
|
2372
2372
|
"""
|
2373
2373
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2374
2374
|
required_arguments = []
|
@@ -2467,7 +2467,7 @@ class ComputeClient(object):
|
|
2467
2467
|
:rtype: :class:`~oci.response.Response`
|
2468
2468
|
|
2469
2469
|
:example:
|
2470
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2470
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/create_instance_console_connection.py.html>`__ to see an example of how to use create_instance_console_connection API.
|
2471
2471
|
"""
|
2472
2472
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2473
2473
|
required_arguments = []
|
@@ -2559,7 +2559,7 @@ class ComputeClient(object):
|
|
2559
2559
|
:rtype: :class:`~oci.response.Response`
|
2560
2560
|
|
2561
2561
|
:example:
|
2562
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2562
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_app_catalog_subscription.py.html>`__ to see an example of how to use delete_app_catalog_subscription API.
|
2563
2563
|
"""
|
2564
2564
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2565
2565
|
required_arguments = ['listingId', 'compartmentId', 'resourceVersion']
|
@@ -2649,7 +2649,7 @@ class ComputeClient(object):
|
|
2649
2649
|
:rtype: :class:`~oci.response.Response`
|
2650
2650
|
|
2651
2651
|
:example:
|
2652
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2652
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_compute_capacity_reservation.py.html>`__ to see an example of how to use delete_compute_capacity_reservation API.
|
2653
2653
|
"""
|
2654
2654
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2655
2655
|
required_arguments = ['capacityReservationId']
|
@@ -2753,7 +2753,7 @@ class ComputeClient(object):
|
|
2753
2753
|
:rtype: :class:`~oci.response.Response`
|
2754
2754
|
|
2755
2755
|
:example:
|
2756
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2756
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_compute_capacity_topology.py.html>`__ to see an example of how to use delete_compute_capacity_topology API.
|
2757
2757
|
"""
|
2758
2758
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2759
2759
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -2868,7 +2868,7 @@ class ComputeClient(object):
|
|
2868
2868
|
:rtype: :class:`~oci.response.Response`
|
2869
2869
|
|
2870
2870
|
:example:
|
2871
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2871
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_compute_cluster.py.html>`__ to see an example of how to use delete_compute_cluster API.
|
2872
2872
|
"""
|
2873
2873
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2874
2874
|
required_arguments = ['computeClusterId']
|
@@ -2966,7 +2966,7 @@ class ComputeClient(object):
|
|
2966
2966
|
:rtype: :class:`~oci.response.Response`
|
2967
2967
|
|
2968
2968
|
:example:
|
2969
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2969
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_compute_image_capability_schema.py.html>`__ to see an example of how to use delete_compute_image_capability_schema API.
|
2970
2970
|
"""
|
2971
2971
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2972
2972
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -3062,7 +3062,7 @@ class ComputeClient(object):
|
|
3062
3062
|
:rtype: :class:`~oci.response.Response`
|
3063
3063
|
|
3064
3064
|
:example:
|
3065
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3065
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_console_history.py.html>`__ to see an example of how to use delete_console_history API.
|
3066
3066
|
"""
|
3067
3067
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3068
3068
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -3160,7 +3160,7 @@ class ComputeClient(object):
|
|
3160
3160
|
:rtype: :class:`~oci.response.Response`
|
3161
3161
|
|
3162
3162
|
:example:
|
3163
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3163
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_dedicated_vm_host.py.html>`__ to see an example of how to use delete_dedicated_vm_host API.
|
3164
3164
|
"""
|
3165
3165
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3166
3166
|
required_arguments = ['dedicatedVmHostId']
|
@@ -3258,7 +3258,7 @@ class ComputeClient(object):
|
|
3258
3258
|
:rtype: :class:`~oci.response.Response`
|
3259
3259
|
|
3260
3260
|
:example:
|
3261
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3261
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_image.py.html>`__ to see an example of how to use delete_image API.
|
3262
3262
|
"""
|
3263
3263
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3264
3264
|
required_arguments = ['imageId']
|
@@ -3354,7 +3354,7 @@ class ComputeClient(object):
|
|
3354
3354
|
:rtype: :class:`~oci.response.Response`
|
3355
3355
|
|
3356
3356
|
:example:
|
3357
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3357
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/delete_instance_console_connection.py.html>`__ to see an example of how to use delete_instance_console_connection API.
|
3358
3358
|
"""
|
3359
3359
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3360
3360
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -3453,7 +3453,7 @@ class ComputeClient(object):
|
|
3453
3453
|
:rtype: :class:`~oci.response.Response`
|
3454
3454
|
|
3455
3455
|
:example:
|
3456
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3456
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/detach_boot_volume.py.html>`__ to see an example of how to use detach_boot_volume API.
|
3457
3457
|
"""
|
3458
3458
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3459
3459
|
required_arguments = ['bootVolumeAttachmentId']
|
@@ -3560,7 +3560,7 @@ class ComputeClient(object):
|
|
3560
3560
|
:rtype: :class:`~oci.response.Response`
|
3561
3561
|
|
3562
3562
|
:example:
|
3563
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3563
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/detach_vnic.py.html>`__ to see an example of how to use detach_vnic API.
|
3564
3564
|
"""
|
3565
3565
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3566
3566
|
required_arguments = ['vnicAttachmentId']
|
@@ -3659,7 +3659,7 @@ class ComputeClient(object):
|
|
3659
3659
|
:rtype: :class:`~oci.response.Response`
|
3660
3660
|
|
3661
3661
|
:example:
|
3662
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3662
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/detach_volume.py.html>`__ to see an example of how to use detach_volume API.
|
3663
3663
|
"""
|
3664
3664
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3665
3665
|
required_arguments = ['volumeAttachmentId']
|
@@ -3781,7 +3781,7 @@ class ComputeClient(object):
|
|
3781
3781
|
:rtype: :class:`~oci.response.Response`
|
3782
3782
|
|
3783
3783
|
:example:
|
3784
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3784
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/export_image.py.html>`__ to see an example of how to use export_image API.
|
3785
3785
|
"""
|
3786
3786
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3787
3787
|
required_arguments = ['imageId']
|
@@ -3881,7 +3881,7 @@ class ComputeClient(object):
|
|
3881
3881
|
:rtype: :class:`~oci.response.Response`
|
3882
3882
|
|
3883
3883
|
:example:
|
3884
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3884
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_app_catalog_listing.py.html>`__ to see an example of how to use get_app_catalog_listing API.
|
3885
3885
|
"""
|
3886
3886
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3887
3887
|
required_arguments = ['listingId']
|
@@ -3972,7 +3972,7 @@ class ComputeClient(object):
|
|
3972
3972
|
:rtype: :class:`~oci.response.Response`
|
3973
3973
|
|
3974
3974
|
:example:
|
3975
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3975
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_app_catalog_listing_agreements.py.html>`__ to see an example of how to use get_app_catalog_listing_agreements API.
|
3976
3976
|
"""
|
3977
3977
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3978
3978
|
required_arguments = ['listingId', 'resourceVersion']
|
@@ -4064,7 +4064,7 @@ class ComputeClient(object):
|
|
4064
4064
|
:rtype: :class:`~oci.response.Response`
|
4065
4065
|
|
4066
4066
|
:example:
|
4067
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4067
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_app_catalog_listing_resource_version.py.html>`__ to see an example of how to use get_app_catalog_listing_resource_version API.
|
4068
4068
|
"""
|
4069
4069
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4070
4070
|
required_arguments = ['listingId', 'resourceVersion']
|
@@ -4153,7 +4153,7 @@ class ComputeClient(object):
|
|
4153
4153
|
:rtype: :class:`~oci.response.Response`
|
4154
4154
|
|
4155
4155
|
:example:
|
4156
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4156
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_boot_volume_attachment.py.html>`__ to see an example of how to use get_boot_volume_attachment API.
|
4157
4157
|
"""
|
4158
4158
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4159
4159
|
required_arguments = ['bootVolumeAttachmentId']
|
@@ -4243,7 +4243,7 @@ class ComputeClient(object):
|
|
4243
4243
|
:rtype: :class:`~oci.response.Response`
|
4244
4244
|
|
4245
4245
|
:example:
|
4246
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4246
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_compute_capacity_reservation.py.html>`__ to see an example of how to use get_compute_capacity_reservation API.
|
4247
4247
|
"""
|
4248
4248
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4249
4249
|
required_arguments = ['capacityReservationId']
|
@@ -4342,7 +4342,7 @@ class ComputeClient(object):
|
|
4342
4342
|
:rtype: :class:`~oci.response.Response`
|
4343
4343
|
|
4344
4344
|
:example:
|
4345
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4345
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_compute_capacity_topology.py.html>`__ to see an example of how to use get_compute_capacity_topology API.
|
4346
4346
|
"""
|
4347
4347
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4348
4348
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -4449,7 +4449,7 @@ class ComputeClient(object):
|
|
4449
4449
|
:rtype: :class:`~oci.response.Response`
|
4450
4450
|
|
4451
4451
|
:example:
|
4452
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4452
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_compute_cluster.py.html>`__ to see an example of how to use get_compute_cluster API.
|
4453
4453
|
"""
|
4454
4454
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4455
4455
|
required_arguments = ['computeClusterId']
|
@@ -4544,7 +4544,7 @@ class ComputeClient(object):
|
|
4544
4544
|
:rtype: :class:`~oci.response.Response`
|
4545
4545
|
|
4546
4546
|
:example:
|
4547
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4547
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_compute_global_image_capability_schema.py.html>`__ to see an example of how to use get_compute_global_image_capability_schema API.
|
4548
4548
|
"""
|
4549
4549
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4550
4550
|
required_arguments = ['computeGlobalImageCapabilitySchemaId']
|
@@ -4637,7 +4637,7 @@ class ComputeClient(object):
|
|
4637
4637
|
:rtype: :class:`~oci.response.Response`
|
4638
4638
|
|
4639
4639
|
:example:
|
4640
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4640
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_compute_global_image_capability_schema_version.py.html>`__ to see an example of how to use get_compute_global_image_capability_schema_version API.
|
4641
4641
|
"""
|
4642
4642
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4643
4643
|
required_arguments = ['computeGlobalImageCapabilitySchemaId', 'computeGlobalImageCapabilitySchemaVersionName']
|
@@ -4729,7 +4729,7 @@ class ComputeClient(object):
|
|
4729
4729
|
:rtype: :class:`~oci.response.Response`
|
4730
4730
|
|
4731
4731
|
:example:
|
4732
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4732
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_compute_image_capability_schema.py.html>`__ to see an example of how to use get_compute_image_capability_schema API.
|
4733
4733
|
"""
|
4734
4734
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4735
4735
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -4831,7 +4831,7 @@ class ComputeClient(object):
|
|
4831
4831
|
:rtype: :class:`~oci.response.Response`
|
4832
4832
|
|
4833
4833
|
:example:
|
4834
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4834
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_console_history.py.html>`__ to see an example of how to use get_console_history API.
|
4835
4835
|
"""
|
4836
4836
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4837
4837
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -4925,7 +4925,7 @@ class ComputeClient(object):
|
|
4925
4925
|
:rtype: :class:`~oci.response.Response`
|
4926
4926
|
|
4927
4927
|
:example:
|
4928
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4928
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_console_history_content.py.html>`__ to see an example of how to use get_console_history_content API.
|
4929
4929
|
"""
|
4930
4930
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4931
4931
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -5029,7 +5029,7 @@ class ComputeClient(object):
|
|
5029
5029
|
:rtype: :class:`~oci.response.Response`
|
5030
5030
|
|
5031
5031
|
:example:
|
5032
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5032
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_dedicated_vm_host.py.html>`__ to see an example of how to use get_dedicated_vm_host API.
|
5033
5033
|
"""
|
5034
5034
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5035
5035
|
required_arguments = ['dedicatedVmHostId']
|
@@ -5124,7 +5124,7 @@ class ComputeClient(object):
|
|
5124
5124
|
:rtype: :class:`~oci.response.Response`
|
5125
5125
|
|
5126
5126
|
:example:
|
5127
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5127
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_image.py.html>`__ to see an example of how to use get_image API.
|
5128
5128
|
"""
|
5129
5129
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5130
5130
|
required_arguments = ['imageId']
|
@@ -5221,7 +5221,7 @@ class ComputeClient(object):
|
|
5221
5221
|
:rtype: :class:`~oci.response.Response`
|
5222
5222
|
|
5223
5223
|
:example:
|
5224
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5224
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_image_shape_compatibility_entry.py.html>`__ to see an example of how to use get_image_shape_compatibility_entry API.
|
5225
5225
|
"""
|
5226
5226
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5227
5227
|
required_arguments = ['imageId', 'shapeName']
|
@@ -5322,7 +5322,7 @@ class ComputeClient(object):
|
|
5322
5322
|
:rtype: :class:`~oci.response.Response`
|
5323
5323
|
|
5324
5324
|
:example:
|
5325
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5325
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_instance.py.html>`__ to see an example of how to use get_instance API.
|
5326
5326
|
"""
|
5327
5327
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5328
5328
|
required_arguments = ['instanceId']
|
@@ -5408,7 +5408,7 @@ class ComputeClient(object):
|
|
5408
5408
|
:rtype: :class:`~oci.response.Response`
|
5409
5409
|
|
5410
5410
|
:example:
|
5411
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5411
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_instance_console_connection.py.html>`__ to see an example of how to use get_instance_console_connection API.
|
5412
5412
|
"""
|
5413
5413
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5414
5414
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -5470,6 +5470,103 @@ class ComputeClient(object):
|
|
5470
5470
|
api_reference_link=api_reference_link,
|
5471
5471
|
required_arguments=required_arguments)
|
5472
5472
|
|
5473
|
+
def get_instance_maintenance_event(self, instance_maintenance_event_id, **kwargs):
|
5474
|
+
"""
|
5475
|
+
Gets the maintenance event for the given instance.
|
5476
|
+
|
5477
|
+
|
5478
|
+
:param str instance_maintenance_event_id: (required)
|
5479
|
+
The OCID of the instance maintenance event.
|
5480
|
+
|
5481
|
+
:param str opc_request_id: (optional)
|
5482
|
+
Unique identifier for the request.
|
5483
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
5484
|
+
|
5485
|
+
:param obj retry_strategy: (optional)
|
5486
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5487
|
+
|
5488
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
5489
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5490
|
+
|
5491
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5492
|
+
|
5493
|
+
:param bool allow_control_chars: (optional)
|
5494
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5495
|
+
By default, the response will not allow control characters in strings
|
5496
|
+
|
5497
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.InstanceMaintenanceEvent`
|
5498
|
+
:rtype: :class:`~oci.response.Response`
|
5499
|
+
|
5500
|
+
:example:
|
5501
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_instance_maintenance_event.py.html>`__ to see an example of how to use get_instance_maintenance_event API.
|
5502
|
+
"""
|
5503
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5504
|
+
required_arguments = ['instanceMaintenanceEventId']
|
5505
|
+
resource_path = "/instanceMaintenanceEvents/{instanceMaintenanceEventId}"
|
5506
|
+
method = "GET"
|
5507
|
+
operation_name = "get_instance_maintenance_event"
|
5508
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceMaintenanceEvent/GetInstanceMaintenanceEvent"
|
5509
|
+
|
5510
|
+
# Don't accept unknown kwargs
|
5511
|
+
expected_kwargs = [
|
5512
|
+
"allow_control_chars",
|
5513
|
+
"retry_strategy",
|
5514
|
+
"opc_request_id"
|
5515
|
+
]
|
5516
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5517
|
+
if extra_kwargs:
|
5518
|
+
raise ValueError(
|
5519
|
+
f"get_instance_maintenance_event got unknown kwargs: {extra_kwargs!r}")
|
5520
|
+
|
5521
|
+
path_params = {
|
5522
|
+
"instanceMaintenanceEventId": instance_maintenance_event_id
|
5523
|
+
}
|
5524
|
+
|
5525
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5526
|
+
|
5527
|
+
for (k, v) in six.iteritems(path_params):
|
5528
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5529
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5530
|
+
|
5531
|
+
header_params = {
|
5532
|
+
"accept": "application/json",
|
5533
|
+
"content-type": "application/json",
|
5534
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5535
|
+
}
|
5536
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5537
|
+
|
5538
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5539
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5540
|
+
client_retry_strategy=self.retry_strategy
|
5541
|
+
)
|
5542
|
+
|
5543
|
+
if retry_strategy:
|
5544
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5545
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5546
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5547
|
+
return retry_strategy.make_retrying_call(
|
5548
|
+
self.base_client.call_api,
|
5549
|
+
resource_path=resource_path,
|
5550
|
+
method=method,
|
5551
|
+
path_params=path_params,
|
5552
|
+
header_params=header_params,
|
5553
|
+
response_type="InstanceMaintenanceEvent",
|
5554
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5555
|
+
operation_name=operation_name,
|
5556
|
+
api_reference_link=api_reference_link,
|
5557
|
+
required_arguments=required_arguments)
|
5558
|
+
else:
|
5559
|
+
return self.base_client.call_api(
|
5560
|
+
resource_path=resource_path,
|
5561
|
+
method=method,
|
5562
|
+
path_params=path_params,
|
5563
|
+
header_params=header_params,
|
5564
|
+
response_type="InstanceMaintenanceEvent",
|
5565
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5566
|
+
operation_name=operation_name,
|
5567
|
+
api_reference_link=api_reference_link,
|
5568
|
+
required_arguments=required_arguments)
|
5569
|
+
|
5473
5570
|
def get_instance_maintenance_reboot(self, instance_id, **kwargs):
|
5474
5571
|
"""
|
5475
5572
|
Gets the maximum possible date that a maintenance reboot can be extended. For more information, see
|
@@ -5503,7 +5600,7 @@ class ComputeClient(object):
|
|
5503
5600
|
:rtype: :class:`~oci.response.Response`
|
5504
5601
|
|
5505
5602
|
:example:
|
5506
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5603
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_instance_maintenance_reboot.py.html>`__ to see an example of how to use get_instance_maintenance_reboot API.
|
5507
5604
|
"""
|
5508
5605
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5509
5606
|
required_arguments = ['instanceId']
|
@@ -5602,7 +5699,7 @@ class ComputeClient(object):
|
|
5602
5699
|
:rtype: :class:`~oci.response.Response`
|
5603
5700
|
|
5604
5701
|
:example:
|
5605
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5702
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_measured_boot_report.py.html>`__ to see an example of how to use get_measured_boot_report API.
|
5606
5703
|
"""
|
5607
5704
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5608
5705
|
required_arguments = ['instanceId']
|
@@ -5695,7 +5792,7 @@ class ComputeClient(object):
|
|
5695
5792
|
:rtype: :class:`~oci.response.Response`
|
5696
5793
|
|
5697
5794
|
:example:
|
5698
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5795
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_vnic_attachment.py.html>`__ to see an example of how to use get_vnic_attachment API.
|
5699
5796
|
"""
|
5700
5797
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5701
5798
|
required_arguments = ['vnicAttachmentId']
|
@@ -5781,7 +5878,7 @@ class ComputeClient(object):
|
|
5781
5878
|
:rtype: :class:`~oci.response.Response`
|
5782
5879
|
|
5783
5880
|
:example:
|
5784
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5881
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_volume_attachment.py.html>`__ to see an example of how to use get_volume_attachment API.
|
5785
5882
|
"""
|
5786
5883
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5787
5884
|
required_arguments = ['volumeAttachmentId']
|
@@ -5870,7 +5967,7 @@ class ComputeClient(object):
|
|
5870
5967
|
:rtype: :class:`~oci.response.Response`
|
5871
5968
|
|
5872
5969
|
:example:
|
5873
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5970
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/get_windows_instance_initial_credentials.py.html>`__ to see an example of how to use get_windows_instance_initial_credentials API.
|
5874
5971
|
"""
|
5875
5972
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5876
5973
|
required_arguments = ['instanceId']
|
@@ -6024,7 +6121,7 @@ class ComputeClient(object):
|
|
6024
6121
|
:rtype: :class:`~oci.response.Response`
|
6025
6122
|
|
6026
6123
|
:example:
|
6027
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6124
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/instance_action.py.html>`__ to see an example of how to use instance_action API.
|
6028
6125
|
"""
|
6029
6126
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6030
6127
|
required_arguments = ['instanceId', 'action']
|
@@ -6184,7 +6281,7 @@ class ComputeClient(object):
|
|
6184
6281
|
:rtype: :class:`~oci.response.Response`
|
6185
6282
|
|
6186
6283
|
:example:
|
6187
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6284
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/launch_instance.py.html>`__ to see an example of how to use launch_instance API.
|
6188
6285
|
"""
|
6189
6286
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6190
6287
|
required_arguments = []
|
@@ -6290,7 +6387,7 @@ class ComputeClient(object):
|
|
6290
6387
|
:rtype: :class:`~oci.response.Response`
|
6291
6388
|
|
6292
6389
|
:example:
|
6293
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6390
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_app_catalog_listing_resource_versions.py.html>`__ to see an example of how to use list_app_catalog_listing_resource_versions API.
|
6294
6391
|
"""
|
6295
6392
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6296
6393
|
required_arguments = ['listingId']
|
@@ -6429,7 +6526,7 @@ class ComputeClient(object):
|
|
6429
6526
|
:rtype: :class:`~oci.response.Response`
|
6430
6527
|
|
6431
6528
|
:example:
|
6432
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6529
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_app_catalog_listings.py.html>`__ to see an example of how to use list_app_catalog_listings API.
|
6433
6530
|
"""
|
6434
6531
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6435
6532
|
required_arguments = []
|
@@ -6573,7 +6670,7 @@ class ComputeClient(object):
|
|
6573
6670
|
:rtype: :class:`~oci.response.Response`
|
6574
6671
|
|
6575
6672
|
:example:
|
6576
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6673
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_app_catalog_subscriptions.py.html>`__ to see an example of how to use list_app_catalog_subscriptions API.
|
6577
6674
|
"""
|
6578
6675
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6579
6676
|
required_arguments = ['compartmentId']
|
@@ -6714,7 +6811,7 @@ class ComputeClient(object):
|
|
6714
6811
|
:rtype: :class:`~oci.response.Response`
|
6715
6812
|
|
6716
6813
|
:example:
|
6717
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6814
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_boot_volume_attachments.py.html>`__ to see an example of how to use list_boot_volume_attachments API.
|
6718
6815
|
"""
|
6719
6816
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6720
6817
|
required_arguments = ['availabilityDomain', 'compartmentId']
|
@@ -6856,7 +6953,7 @@ class ComputeClient(object):
|
|
6856
6953
|
:rtype: :class:`~oci.response.Response`
|
6857
6954
|
|
6858
6955
|
:example:
|
6859
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6956
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_capacity_reservation_instance_shapes.py.html>`__ to see an example of how to use list_compute_capacity_reservation_instance_shapes API.
|
6860
6957
|
"""
|
6861
6958
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6862
6959
|
required_arguments = ['compartmentId']
|
@@ -7018,7 +7115,7 @@ class ComputeClient(object):
|
|
7018
7115
|
:rtype: :class:`~oci.response.Response`
|
7019
7116
|
|
7020
7117
|
:example:
|
7021
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7118
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_capacity_reservation_instances.py.html>`__ to see an example of how to use list_compute_capacity_reservation_instances API.
|
7022
7119
|
"""
|
7023
7120
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7024
7121
|
required_arguments = ['capacityReservationId']
|
@@ -7199,7 +7296,7 @@ class ComputeClient(object):
|
|
7199
7296
|
:rtype: :class:`~oci.response.Response`
|
7200
7297
|
|
7201
7298
|
:example:
|
7202
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7299
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_capacity_reservations.py.html>`__ to see an example of how to use list_compute_capacity_reservations API.
|
7203
7300
|
"""
|
7204
7301
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7205
7302
|
required_arguments = ['compartmentId']
|
@@ -7371,7 +7468,7 @@ class ComputeClient(object):
|
|
7371
7468
|
:rtype: :class:`~oci.response.Response`
|
7372
7469
|
|
7373
7470
|
:example:
|
7374
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7471
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_capacity_topologies.py.html>`__ to see an example of how to use list_compute_capacity_topologies API.
|
7375
7472
|
"""
|
7376
7473
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7377
7474
|
required_arguments = ['compartmentId']
|
@@ -7552,7 +7649,7 @@ class ComputeClient(object):
|
|
7552
7649
|
:rtype: :class:`~oci.response.Response`
|
7553
7650
|
|
7554
7651
|
:example:
|
7555
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7652
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_capacity_topology_compute_bare_metal_hosts.py.html>`__ to see an example of how to use list_compute_capacity_topology_compute_bare_metal_hosts API.
|
7556
7653
|
"""
|
7557
7654
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7558
7655
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -7735,7 +7832,7 @@ class ComputeClient(object):
|
|
7735
7832
|
:rtype: :class:`~oci.response.Response`
|
7736
7833
|
|
7737
7834
|
:example:
|
7738
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7835
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_capacity_topology_compute_hpc_islands.py.html>`__ to see an example of how to use list_compute_capacity_topology_compute_hpc_islands API.
|
7739
7836
|
"""
|
7740
7837
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7741
7838
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -7917,7 +8014,7 @@ class ComputeClient(object):
|
|
7917
8014
|
:rtype: :class:`~oci.response.Response`
|
7918
8015
|
|
7919
8016
|
:example:
|
7920
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8017
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_capacity_topology_compute_network_blocks.py.html>`__ to see an example of how to use list_compute_capacity_topology_compute_network_blocks API.
|
7921
8018
|
"""
|
7922
8019
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7923
8020
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -8097,7 +8194,7 @@ class ComputeClient(object):
|
|
8097
8194
|
:rtype: :class:`~oci.response.Response`
|
8098
8195
|
|
8099
8196
|
:example:
|
8100
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8197
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_clusters.py.html>`__ to see an example of how to use list_compute_clusters API.
|
8101
8198
|
"""
|
8102
8199
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8103
8200
|
required_arguments = ['compartmentId']
|
@@ -8250,7 +8347,7 @@ class ComputeClient(object):
|
|
8250
8347
|
:rtype: :class:`~oci.response.Response`
|
8251
8348
|
|
8252
8349
|
:example:
|
8253
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8350
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_global_image_capability_schema_versions.py.html>`__ to see an example of how to use list_compute_global_image_capability_schema_versions API.
|
8254
8351
|
"""
|
8255
8352
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8256
8353
|
required_arguments = ['computeGlobalImageCapabilitySchemaId']
|
@@ -8409,7 +8506,7 @@ class ComputeClient(object):
|
|
8409
8506
|
:rtype: :class:`~oci.response.Response`
|
8410
8507
|
|
8411
8508
|
:example:
|
8412
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8509
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_global_image_capability_schemas.py.html>`__ to see an example of how to use list_compute_global_image_capability_schemas API.
|
8413
8510
|
"""
|
8414
8511
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8415
8512
|
required_arguments = []
|
@@ -8563,7 +8660,7 @@ class ComputeClient(object):
|
|
8563
8660
|
:rtype: :class:`~oci.response.Response`
|
8564
8661
|
|
8565
8662
|
:example:
|
8566
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8663
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_compute_image_capability_schemas.py.html>`__ to see an example of how to use list_compute_image_capability_schemas API.
|
8567
8664
|
"""
|
8568
8665
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8569
8666
|
required_arguments = []
|
@@ -8727,7 +8824,7 @@ class ComputeClient(object):
|
|
8727
8824
|
:rtype: :class:`~oci.response.Response`
|
8728
8825
|
|
8729
8826
|
:example:
|
8730
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8827
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_console_histories.py.html>`__ to see an example of how to use list_console_histories API.
|
8731
8828
|
"""
|
8732
8829
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8733
8830
|
required_arguments = ['compartmentId']
|
@@ -8878,7 +8975,7 @@ class ComputeClient(object):
|
|
8878
8975
|
:rtype: :class:`~oci.response.Response`
|
8879
8976
|
|
8880
8977
|
:example:
|
8881
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8978
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_dedicated_vm_host_instance_shapes.py.html>`__ to see an example of how to use list_dedicated_vm_host_instance_shapes API.
|
8882
8979
|
"""
|
8883
8980
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8884
8981
|
required_arguments = ['compartmentId']
|
@@ -9022,7 +9119,7 @@ class ComputeClient(object):
|
|
9022
9119
|
:rtype: :class:`~oci.response.Response`
|
9023
9120
|
|
9024
9121
|
:example:
|
9025
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9122
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_dedicated_vm_host_instances.py.html>`__ to see an example of how to use list_dedicated_vm_host_instances API.
|
9026
9123
|
"""
|
9027
9124
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9028
9125
|
required_arguments = ['dedicatedVmHostId', 'compartmentId']
|
@@ -9176,7 +9273,7 @@ class ComputeClient(object):
|
|
9176
9273
|
:rtype: :class:`~oci.response.Response`
|
9177
9274
|
|
9178
9275
|
:example:
|
9179
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9276
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_dedicated_vm_host_shapes.py.html>`__ to see an example of how to use list_dedicated_vm_host_shapes API.
|
9180
9277
|
"""
|
9181
9278
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9182
9279
|
required_arguments = ['compartmentId']
|
@@ -9337,7 +9434,7 @@ class ComputeClient(object):
|
|
9337
9434
|
:rtype: :class:`~oci.response.Response`
|
9338
9435
|
|
9339
9436
|
:example:
|
9340
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9437
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_dedicated_vm_hosts.py.html>`__ to see an example of how to use list_dedicated_vm_hosts API.
|
9341
9438
|
"""
|
9342
9439
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9343
9440
|
required_arguments = ['compartmentId']
|
@@ -9488,7 +9585,7 @@ class ComputeClient(object):
|
|
9488
9585
|
:rtype: :class:`~oci.response.Response`
|
9489
9586
|
|
9490
9587
|
:example:
|
9491
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9588
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_image_shape_compatibility_entries.py.html>`__ to see an example of how to use list_image_shape_compatibility_entries API.
|
9492
9589
|
"""
|
9493
9590
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9494
9591
|
required_arguments = ['imageId']
|
@@ -9664,7 +9761,7 @@ class ComputeClient(object):
|
|
9664
9761
|
:rtype: :class:`~oci.response.Response`
|
9665
9762
|
|
9666
9763
|
:example:
|
9667
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9764
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_images.py.html>`__ to see an example of how to use list_images API.
|
9668
9765
|
"""
|
9669
9766
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9670
9767
|
required_arguments = ['compartmentId']
|
@@ -9815,7 +9912,7 @@ class ComputeClient(object):
|
|
9815
9912
|
:rtype: :class:`~oci.response.Response`
|
9816
9913
|
|
9817
9914
|
:example:
|
9818
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9915
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_instance_console_connections.py.html>`__ to see an example of how to use list_instance_console_connections API.
|
9819
9916
|
"""
|
9820
9917
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9821
9918
|
required_arguments = ['compartmentId']
|
@@ -9952,7 +10049,7 @@ class ComputeClient(object):
|
|
9952
10049
|
:rtype: :class:`~oci.response.Response`
|
9953
10050
|
|
9954
10051
|
:example:
|
9955
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10052
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_instance_devices.py.html>`__ to see an example of how to use list_instance_devices API.
|
9956
10053
|
"""
|
9957
10054
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9958
10055
|
required_arguments = ['instanceId']
|
@@ -10053,6 +10150,199 @@ class ComputeClient(object):
|
|
10053
10150
|
api_reference_link=api_reference_link,
|
10054
10151
|
required_arguments=required_arguments)
|
10055
10152
|
|
10153
|
+
def list_instance_maintenance_events(self, compartment_id, **kwargs):
|
10154
|
+
"""
|
10155
|
+
Gets a list of all the maintenance events for the given instance.
|
10156
|
+
|
10157
|
+
|
10158
|
+
:param str compartment_id: (required)
|
10159
|
+
The `OCID`__ of the compartment.
|
10160
|
+
|
10161
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
10162
|
+
|
10163
|
+
:param str instance_id: (optional)
|
10164
|
+
The OCID of the instance.
|
10165
|
+
|
10166
|
+
:param str lifecycle_state: (optional)
|
10167
|
+
A filter to only return resources that match the given lifecycle state.
|
10168
|
+
|
10169
|
+
Allowed values are: "SCHEDULED", "STARTED", "PROCESSING", "SUCCEEDED", "FAILED", "CANCELED"
|
10170
|
+
|
10171
|
+
:param str correlation_token: (optional)
|
10172
|
+
A filter to only return resources that have a matching correlationToken.
|
10173
|
+
|
10174
|
+
:param str instance_action: (optional)
|
10175
|
+
A filter to only return resources that match the given instance action.
|
10176
|
+
|
10177
|
+
:param datetime time_window_start_greater_than_or_equal_to: (optional)
|
10178
|
+
Starting range to return the maintenances which are not completed (date-time is in `RFC3339`__ format).
|
10179
|
+
|
10180
|
+
__ https://tools.ietf.org/html/rfc3339
|
10181
|
+
|
10182
|
+
:param datetime time_window_start_less_than_or_equal_to: (optional)
|
10183
|
+
Ending range to return the maintenances which are not completed (date-time is in `RFC3339`__ format).
|
10184
|
+
|
10185
|
+
__ https://tools.ietf.org/html/rfc3339
|
10186
|
+
|
10187
|
+
:param int limit: (optional)
|
10188
|
+
For list pagination. The maximum number of results per page, or items to return in a paginated
|
10189
|
+
\"List\" call. For important details about how pagination works, see
|
10190
|
+
`List Pagination`__.
|
10191
|
+
|
10192
|
+
Example: `50`
|
10193
|
+
|
10194
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
10195
|
+
|
10196
|
+
:param str page: (optional)
|
10197
|
+
For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
10198
|
+
call. For important details about how pagination works, see
|
10199
|
+
`List Pagination`__.
|
10200
|
+
|
10201
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
10202
|
+
|
10203
|
+
:param str sort_by: (optional)
|
10204
|
+
The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
10205
|
+
TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
10206
|
+
sort order is case sensitive.
|
10207
|
+
|
10208
|
+
**Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
10209
|
+
optionally filter by availability domain if the scope of the resource type is within a
|
10210
|
+
single availability domain. If you call one of these \"List\" operations without specifying
|
10211
|
+
an availability domain, the resources are grouped by availability domain, then sorted.
|
10212
|
+
|
10213
|
+
Allowed values are: "TIMECREATED", "DISPLAYNAME"
|
10214
|
+
|
10215
|
+
:param str sort_order: (optional)
|
10216
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
10217
|
+
is case sensitive.
|
10218
|
+
|
10219
|
+
Allowed values are: "ASC", "DESC"
|
10220
|
+
|
10221
|
+
:param str opc_request_id: (optional)
|
10222
|
+
Unique identifier for the request.
|
10223
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
10224
|
+
|
10225
|
+
:param obj retry_strategy: (optional)
|
10226
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
10227
|
+
|
10228
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
10229
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
10230
|
+
|
10231
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
10232
|
+
|
10233
|
+
:param bool allow_control_chars: (optional)
|
10234
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
10235
|
+
By default, the response will not allow control characters in strings
|
10236
|
+
|
10237
|
+
:return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.InstanceMaintenanceEventSummary`
|
10238
|
+
:rtype: :class:`~oci.response.Response`
|
10239
|
+
|
10240
|
+
:example:
|
10241
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_instance_maintenance_events.py.html>`__ to see an example of how to use list_instance_maintenance_events API.
|
10242
|
+
"""
|
10243
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10244
|
+
required_arguments = ['compartmentId']
|
10245
|
+
resource_path = "/instanceMaintenanceEvents"
|
10246
|
+
method = "GET"
|
10247
|
+
operation_name = "list_instance_maintenance_events"
|
10248
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceMaintenanceEventSummary/ListInstanceMaintenanceEvents"
|
10249
|
+
|
10250
|
+
# Don't accept unknown kwargs
|
10251
|
+
expected_kwargs = [
|
10252
|
+
"allow_control_chars",
|
10253
|
+
"retry_strategy",
|
10254
|
+
"instance_id",
|
10255
|
+
"lifecycle_state",
|
10256
|
+
"correlation_token",
|
10257
|
+
"instance_action",
|
10258
|
+
"time_window_start_greater_than_or_equal_to",
|
10259
|
+
"time_window_start_less_than_or_equal_to",
|
10260
|
+
"limit",
|
10261
|
+
"page",
|
10262
|
+
"sort_by",
|
10263
|
+
"sort_order",
|
10264
|
+
"opc_request_id"
|
10265
|
+
]
|
10266
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
10267
|
+
if extra_kwargs:
|
10268
|
+
raise ValueError(
|
10269
|
+
f"list_instance_maintenance_events got unknown kwargs: {extra_kwargs!r}")
|
10270
|
+
|
10271
|
+
if 'lifecycle_state' in kwargs:
|
10272
|
+
lifecycle_state_allowed_values = ["SCHEDULED", "STARTED", "PROCESSING", "SUCCEEDED", "FAILED", "CANCELED"]
|
10273
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
10274
|
+
raise ValueError(
|
10275
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
10276
|
+
)
|
10277
|
+
|
10278
|
+
if 'sort_by' in kwargs:
|
10279
|
+
sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
|
10280
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
10281
|
+
raise ValueError(
|
10282
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
10283
|
+
)
|
10284
|
+
|
10285
|
+
if 'sort_order' in kwargs:
|
10286
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
10287
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
10288
|
+
raise ValueError(
|
10289
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
10290
|
+
)
|
10291
|
+
|
10292
|
+
query_params = {
|
10293
|
+
"compartmentId": compartment_id,
|
10294
|
+
"instanceId": kwargs.get("instance_id", missing),
|
10295
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
10296
|
+
"correlationToken": kwargs.get("correlation_token", missing),
|
10297
|
+
"instanceAction": kwargs.get("instance_action", missing),
|
10298
|
+
"timeWindowStartGreaterThanOrEqualTo": kwargs.get("time_window_start_greater_than_or_equal_to", missing),
|
10299
|
+
"timeWindowStartLessThanOrEqualTo": kwargs.get("time_window_start_less_than_or_equal_to", missing),
|
10300
|
+
"limit": kwargs.get("limit", missing),
|
10301
|
+
"page": kwargs.get("page", missing),
|
10302
|
+
"sortBy": kwargs.get("sort_by", missing),
|
10303
|
+
"sortOrder": kwargs.get("sort_order", missing)
|
10304
|
+
}
|
10305
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
10306
|
+
|
10307
|
+
header_params = {
|
10308
|
+
"accept": "application/json",
|
10309
|
+
"content-type": "application/json",
|
10310
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
10311
|
+
}
|
10312
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
10313
|
+
|
10314
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
10315
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
10316
|
+
client_retry_strategy=self.retry_strategy
|
10317
|
+
)
|
10318
|
+
|
10319
|
+
if retry_strategy:
|
10320
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
10321
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
10322
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
10323
|
+
return retry_strategy.make_retrying_call(
|
10324
|
+
self.base_client.call_api,
|
10325
|
+
resource_path=resource_path,
|
10326
|
+
method=method,
|
10327
|
+
query_params=query_params,
|
10328
|
+
header_params=header_params,
|
10329
|
+
response_type="list[InstanceMaintenanceEventSummary]",
|
10330
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10331
|
+
operation_name=operation_name,
|
10332
|
+
api_reference_link=api_reference_link,
|
10333
|
+
required_arguments=required_arguments)
|
10334
|
+
else:
|
10335
|
+
return self.base_client.call_api(
|
10336
|
+
resource_path=resource_path,
|
10337
|
+
method=method,
|
10338
|
+
query_params=query_params,
|
10339
|
+
header_params=header_params,
|
10340
|
+
response_type="list[InstanceMaintenanceEventSummary]",
|
10341
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10342
|
+
operation_name=operation_name,
|
10343
|
+
api_reference_link=api_reference_link,
|
10344
|
+
required_arguments=required_arguments)
|
10345
|
+
|
10056
10346
|
def list_instances(self, compartment_id, **kwargs):
|
10057
10347
|
"""
|
10058
10348
|
Lists the instances in the specified compartment and the specified availability domain.
|
@@ -10143,7 +10433,7 @@ class ComputeClient(object):
|
|
10143
10433
|
:rtype: :class:`~oci.response.Response`
|
10144
10434
|
|
10145
10435
|
:example:
|
10146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10436
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_instances.py.html>`__ to see an example of how to use list_instances API.
|
10147
10437
|
"""
|
10148
10438
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10149
10439
|
required_arguments = ['compartmentId']
|
@@ -10296,7 +10586,7 @@ class ComputeClient(object):
|
|
10296
10586
|
:rtype: :class:`~oci.response.Response`
|
10297
10587
|
|
10298
10588
|
:example:
|
10299
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10589
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_shapes.py.html>`__ to see an example of how to use list_shapes API.
|
10300
10590
|
"""
|
10301
10591
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10302
10592
|
required_arguments = ['compartmentId']
|
@@ -10420,7 +10710,7 @@ class ComputeClient(object):
|
|
10420
10710
|
:rtype: :class:`~oci.response.Response`
|
10421
10711
|
|
10422
10712
|
:example:
|
10423
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10713
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_vnic_attachments.py.html>`__ to see an example of how to use list_vnic_attachments API.
|
10424
10714
|
"""
|
10425
10715
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10426
10716
|
required_arguments = ['compartmentId']
|
@@ -10548,7 +10838,7 @@ class ComputeClient(object):
|
|
10548
10838
|
:rtype: :class:`~oci.response.Response`
|
10549
10839
|
|
10550
10840
|
:example:
|
10551
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10841
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/list_volume_attachments.py.html>`__ to see an example of how to use list_volume_attachments API.
|
10552
10842
|
"""
|
10553
10843
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10554
10844
|
required_arguments = ['compartmentId']
|
@@ -10648,7 +10938,7 @@ class ComputeClient(object):
|
|
10648
10938
|
:rtype: :class:`~oci.response.Response`
|
10649
10939
|
|
10650
10940
|
:example:
|
10651
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10941
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/remove_image_shape_compatibility_entry.py.html>`__ to see an example of how to use remove_image_shape_compatibility_entry API.
|
10652
10942
|
"""
|
10653
10943
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10654
10944
|
required_arguments = ['imageId', 'shapeName']
|
@@ -10760,7 +11050,7 @@ class ComputeClient(object):
|
|
10760
11050
|
:rtype: :class:`~oci.response.Response`
|
10761
11051
|
|
10762
11052
|
:example:
|
10763
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11053
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/terminate_instance.py.html>`__ to see an example of how to use terminate_instance API.
|
10764
11054
|
"""
|
10765
11055
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10766
11056
|
required_arguments = ['instanceId']
|
@@ -10875,7 +11165,7 @@ class ComputeClient(object):
|
|
10875
11165
|
:rtype: :class:`~oci.response.Response`
|
10876
11166
|
|
10877
11167
|
:example:
|
10878
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11168
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_compute_capacity_reservation.py.html>`__ to see an example of how to use update_compute_capacity_reservation API.
|
10879
11169
|
"""
|
10880
11170
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10881
11171
|
required_arguments = ['capacityReservationId']
|
@@ -10984,7 +11274,7 @@ class ComputeClient(object):
|
|
10984
11274
|
:rtype: :class:`~oci.response.Response`
|
10985
11275
|
|
10986
11276
|
:example:
|
10987
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11277
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_compute_capacity_topology.py.html>`__ to see an example of how to use update_compute_capacity_topology API.
|
10988
11278
|
"""
|
10989
11279
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10990
11280
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -11114,7 +11404,7 @@ class ComputeClient(object):
|
|
11114
11404
|
:rtype: :class:`~oci.response.Response`
|
11115
11405
|
|
11116
11406
|
:example:
|
11117
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11407
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_compute_cluster.py.html>`__ to see an example of how to use update_compute_cluster API.
|
11118
11408
|
"""
|
11119
11409
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11120
11410
|
required_arguments = ['computeClusterId']
|
@@ -11222,7 +11512,7 @@ class ComputeClient(object):
|
|
11222
11512
|
:rtype: :class:`~oci.response.Response`
|
11223
11513
|
|
11224
11514
|
:example:
|
11225
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11515
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_compute_image_capability_schema.py.html>`__ to see an example of how to use update_compute_image_capability_schema API.
|
11226
11516
|
"""
|
11227
11517
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11228
11518
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -11325,7 +11615,7 @@ class ComputeClient(object):
|
|
11325
11615
|
:rtype: :class:`~oci.response.Response`
|
11326
11616
|
|
11327
11617
|
:example:
|
11328
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11618
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_console_history.py.html>`__ to see an example of how to use update_console_history API.
|
11329
11619
|
"""
|
11330
11620
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11331
11621
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -11440,7 +11730,7 @@ class ComputeClient(object):
|
|
11440
11730
|
:rtype: :class:`~oci.response.Response`
|
11441
11731
|
|
11442
11732
|
:example:
|
11443
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11733
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_dedicated_vm_host.py.html>`__ to see an example of how to use update_dedicated_vm_host API.
|
11444
11734
|
"""
|
11445
11735
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11446
11736
|
required_arguments = ['dedicatedVmHostId']
|
@@ -11557,7 +11847,7 @@ class ComputeClient(object):
|
|
11557
11847
|
:rtype: :class:`~oci.response.Response`
|
11558
11848
|
|
11559
11849
|
:example:
|
11560
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11850
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_image.py.html>`__ to see an example of how to use update_image API.
|
11561
11851
|
"""
|
11562
11852
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11563
11853
|
required_arguments = ['imageId']
|
@@ -11678,7 +11968,7 @@ class ComputeClient(object):
|
|
11678
11968
|
:rtype: :class:`~oci.response.Response`
|
11679
11969
|
|
11680
11970
|
:example:
|
11681
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11971
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_instance.py.html>`__ to see an example of how to use update_instance API.
|
11682
11972
|
"""
|
11683
11973
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11684
11974
|
required_arguments = ['instanceId']
|
@@ -11788,7 +12078,7 @@ class ComputeClient(object):
|
|
11788
12078
|
:rtype: :class:`~oci.response.Response`
|
11789
12079
|
|
11790
12080
|
:example:
|
11791
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12081
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_instance_console_connection.py.html>`__ to see an example of how to use update_instance_console_connection API.
|
11792
12082
|
"""
|
11793
12083
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11794
12084
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -11861,6 +12151,125 @@ class ComputeClient(object):
|
|
11861
12151
|
api_reference_link=api_reference_link,
|
11862
12152
|
required_arguments=required_arguments)
|
11863
12153
|
|
12154
|
+
def update_instance_maintenance_event(self, instance_maintenance_event_id, update_instance_maintenance_event_details, **kwargs):
|
12155
|
+
"""
|
12156
|
+
Updates the maintenance event for the given instance.
|
12157
|
+
|
12158
|
+
|
12159
|
+
:param str instance_maintenance_event_id: (required)
|
12160
|
+
The OCID of the instance maintenance event.
|
12161
|
+
|
12162
|
+
:param oci.core.models.UpdateInstanceMaintenanceEventDetails update_instance_maintenance_event_details: (required)
|
12163
|
+
Update instance maintenance event due date.
|
12164
|
+
|
12165
|
+
:param str opc_request_id: (optional)
|
12166
|
+
Unique identifier for the request.
|
12167
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
12168
|
+
|
12169
|
+
:param str if_match: (optional)
|
12170
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
12171
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
12172
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
12173
|
+
|
12174
|
+
:param str opc_retry_token: (optional)
|
12175
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
12176
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
12177
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
12178
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
12179
|
+
may be rejected).
|
12180
|
+
|
12181
|
+
:param obj retry_strategy: (optional)
|
12182
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
12183
|
+
|
12184
|
+
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.
|
12185
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
12186
|
+
|
12187
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
12188
|
+
|
12189
|
+
:param bool allow_control_chars: (optional)
|
12190
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
12191
|
+
By default, the response will not allow control characters in strings
|
12192
|
+
|
12193
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
12194
|
+
:rtype: :class:`~oci.response.Response`
|
12195
|
+
|
12196
|
+
:example:
|
12197
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_instance_maintenance_event.py.html>`__ to see an example of how to use update_instance_maintenance_event API.
|
12198
|
+
"""
|
12199
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12200
|
+
required_arguments = ['instanceMaintenanceEventId']
|
12201
|
+
resource_path = "/instanceMaintenanceEvents/{instanceMaintenanceEventId}"
|
12202
|
+
method = "PUT"
|
12203
|
+
operation_name = "update_instance_maintenance_event"
|
12204
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceMaintenanceEvent/UpdateInstanceMaintenanceEvent"
|
12205
|
+
|
12206
|
+
# Don't accept unknown kwargs
|
12207
|
+
expected_kwargs = [
|
12208
|
+
"allow_control_chars",
|
12209
|
+
"retry_strategy",
|
12210
|
+
"opc_request_id",
|
12211
|
+
"if_match",
|
12212
|
+
"opc_retry_token"
|
12213
|
+
]
|
12214
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
12215
|
+
if extra_kwargs:
|
12216
|
+
raise ValueError(
|
12217
|
+
f"update_instance_maintenance_event got unknown kwargs: {extra_kwargs!r}")
|
12218
|
+
|
12219
|
+
path_params = {
|
12220
|
+
"instanceMaintenanceEventId": instance_maintenance_event_id
|
12221
|
+
}
|
12222
|
+
|
12223
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
12224
|
+
|
12225
|
+
for (k, v) in six.iteritems(path_params):
|
12226
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
12227
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
12228
|
+
|
12229
|
+
header_params = {
|
12230
|
+
"accept": "application/json",
|
12231
|
+
"content-type": "application/json",
|
12232
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
12233
|
+
"if-match": kwargs.get("if_match", missing),
|
12234
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
12235
|
+
}
|
12236
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
12237
|
+
|
12238
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
12239
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
12240
|
+
client_retry_strategy=self.retry_strategy
|
12241
|
+
)
|
12242
|
+
if retry_strategy is None:
|
12243
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
12244
|
+
|
12245
|
+
if retry_strategy:
|
12246
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
12247
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
12248
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
12249
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
12250
|
+
return retry_strategy.make_retrying_call(
|
12251
|
+
self.base_client.call_api,
|
12252
|
+
resource_path=resource_path,
|
12253
|
+
method=method,
|
12254
|
+
path_params=path_params,
|
12255
|
+
header_params=header_params,
|
12256
|
+
body=update_instance_maintenance_event_details,
|
12257
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
12258
|
+
operation_name=operation_name,
|
12259
|
+
api_reference_link=api_reference_link,
|
12260
|
+
required_arguments=required_arguments)
|
12261
|
+
else:
|
12262
|
+
return self.base_client.call_api(
|
12263
|
+
resource_path=resource_path,
|
12264
|
+
method=method,
|
12265
|
+
path_params=path_params,
|
12266
|
+
header_params=header_params,
|
12267
|
+
body=update_instance_maintenance_event_details,
|
12268
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
12269
|
+
operation_name=operation_name,
|
12270
|
+
api_reference_link=api_reference_link,
|
12271
|
+
required_arguments=required_arguments)
|
12272
|
+
|
11864
12273
|
def update_volume_attachment(self, volume_attachment_id, update_volume_attachment_details, **kwargs):
|
11865
12274
|
"""
|
11866
12275
|
Updates information about the specified volume attachment.
|
@@ -11897,7 +12306,7 @@ class ComputeClient(object):
|
|
11897
12306
|
:rtype: :class:`~oci.response.Response`
|
11898
12307
|
|
11899
12308
|
:example:
|
11900
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12309
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/core/update_volume_attachment.py.html>`__ to see an example of how to use update_volume_attachment API.
|
11901
12310
|
"""
|
11902
12311
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11903
12312
|
required_arguments = ['volumeAttachmentId']
|