oci 2.149.0__py3-none-any.whl → 2.149.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +340 -9
- oci/apm_config/models/__init__.py +22 -0
- oci/apm_config/models/apdex_rules_summary.py +7 -0
- oci/apm_config/models/config_summary.py +35 -2
- oci/apm_config/models/copy_configuration_details.py +86 -0
- oci/apm_config/models/export_configuration_details.py +76 -0
- oci/apm_config/models/export_configuration_response_details.py +70 -0
- oci/apm_config/models/export_import_apdex_rules_summary.py +128 -0
- oci/apm_config/models/export_import_config_summary.py +226 -0
- oci/apm_config/models/export_import_metric_group_summary.py +232 -0
- oci/apm_config/models/export_import_options_summary.py +194 -0
- oci/apm_config/models/export_import_span_filter_summary.py +163 -0
- oci/apm_config/models/import_configuration_details.py +113 -0
- oci/apm_config/models/import_configuration_failed_item_summary.py +193 -0
- oci/apm_config/models/import_configuration_failed_items_collection.py +70 -0
- oci/apm_config/models/metric_group_summary.py +7 -0
- oci/apm_config/models/options_summary.py +7 -0
- oci/apm_config/models/span_filter_summary.py +7 -0
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +633 -113
- oci/core/compute_client_composite_operations.py +82 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +10 -0
- oci/core/models/change_compute_host_compartment_details.py +76 -0
- oci/core/models/compute_host.py +826 -0
- oci/core/models/compute_host_collection.py +70 -0
- oci/core/models/compute_host_summary.py +720 -0
- oci/core/models/update_compute_host_details.py +154 -0
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +7469 -3597
- oci/data_science/data_science_client_composite_operations.py +981 -105
- oci/data_science/models/__init__.py +118 -0
- oci/data_science/models/application_component.py +193 -0
- oci/data_science/models/auth_configuration.py +115 -0
- oci/data_science/models/change_ml_application_compartment_details.py +76 -0
- oci/data_science/models/change_ml_application_implementation_compartment_details.py +70 -0
- oci/data_science/models/change_ml_application_instance_compartment_details.py +76 -0
- oci/data_science/models/change_ml_application_instance_view_compartment_details.py +76 -0
- oci/data_science/models/configuration_property.py +101 -0
- oci/data_science/models/configuration_property_schema.py +276 -0
- oci/data_science/models/create_auth_configuration_details.py +95 -0
- oci/data_science/models/create_iam_auth_configuration_create_details.py +48 -0
- oci/data_science/models/create_idcs_auth_configuration_details.py +79 -0
- oci/data_science/models/create_idcs_custom_service_auth_configuration_details.py +203 -0
- oci/data_science/models/create_ml_application_details.py +206 -0
- oci/data_science/models/create_ml_application_implementation_details.py +264 -0
- oci/data_science/models/create_ml_application_instance_details.py +326 -0
- oci/data_science/models/data_flow_application_application_component.py +94 -0
- oci/data_science/models/data_science_job_application_component.py +94 -0
- oci/data_science/models/data_science_model_application_component.py +94 -0
- oci/data_science/models/data_science_model_deployment_instance_component.py +125 -0
- oci/data_science/models/data_science_pipeline_application_component.py +94 -0
- oci/data_science/models/data_science_schedule_instance_component.py +94 -0
- oci/data_science/models/disable_ml_application_instance_view_trigger_details.py +70 -0
- oci/data_science/models/enable_ml_application_instance_view_trigger_details.py +70 -0
- oci/data_science/models/generic_oci_resource_application_component.py +125 -0
- oci/data_science/models/generic_oci_resource_instance_component.py +125 -0
- oci/data_science/models/iam_auth_configuration.py +49 -0
- oci/data_science/models/idcs_auth_configuration.py +111 -0
- oci/data_science/models/idcs_custom_service_auth_configuration.py +204 -0
- oci/data_science/models/implementation_log_details.py +140 -0
- oci/data_science/models/implementation_logging.py +120 -0
- oci/data_science/models/instance_component.py +201 -0
- oci/data_science/models/ml_application.py +410 -0
- oci/data_science/models/ml_application_collection.py +70 -0
- oci/data_science/models/ml_application_implementation.py +666 -0
- oci/data_science/models/ml_application_implementation_collection.py +70 -0
- oci/data_science/models/ml_application_implementation_summary.py +487 -0
- oci/data_science/models/ml_application_implementation_version.py +600 -0
- oci/data_science/models/ml_application_implementation_version_collection.py +70 -0
- oci/data_science/models/ml_application_implementation_version_summary.py +487 -0
- oci/data_science/models/ml_application_instance.py +736 -0
- oci/data_science/models/ml_application_instance_collection.py +70 -0
- oci/data_science/models/ml_application_instance_internal_trigger.py +125 -0
- oci/data_science/models/ml_application_instance_summary.py +456 -0
- oci/data_science/models/ml_application_instance_view.py +829 -0
- oci/data_science/models/ml_application_instance_view_collection.py +70 -0
- oci/data_science/models/ml_application_instance_view_summary.py +580 -0
- oci/data_science/models/ml_application_package_argument_details.py +210 -0
- oci/data_science/models/ml_application_package_arguments.py +70 -0
- oci/data_science/models/ml_application_summary.py +332 -0
- oci/data_science/models/object_storage_bucket_instance_component.py +125 -0
- oci/data_science/models/object_storage_object_instance_component.py +156 -0
- oci/data_science/models/prediction_endpoint_details.py +101 -0
- oci/data_science/models/prediction_uri.py +101 -0
- oci/data_science/models/trigger_ml_application_instance_flow_details.py +70 -0
- oci/data_science/models/update_ml_application_details.py +144 -0
- oci/data_science/models/update_ml_application_implementation_details.py +171 -0
- oci/data_science/models/update_ml_application_implementation_version_details.py +113 -0
- oci/data_science/models/update_ml_application_instance_details.py +206 -0
- oci/data_science/models/update_ml_application_instance_view_details.py +113 -0
- oci/data_science/models/work_request.py +59 -3
- oci/data_science/models/work_request_summary.py +59 -3
- oci/database/database_client.py +414 -414
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +12 -12
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +711 -111
- oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +132 -0
- oci/generative_ai_agent/models/__init__.py +66 -0
- oci/generative_ai_agent/models/agent.py +29 -2
- oci/generative_ai_agent/models/agent_endpoint.py +143 -0
- oci/generative_ai_agent/models/agent_endpoint_summary.py +143 -0
- oci/generative_ai_agent/models/agent_summary.py +29 -2
- oci/generative_ai_agent/models/api_schema_inline_input_location.py +80 -0
- oci/generative_ai_agent/models/api_schema_input_location.py +113 -0
- oci/generative_ai_agent/models/api_schema_object_storage_input_location.py +142 -0
- oci/generative_ai_agent/models/content_moderation_guardrail_config.py +141 -0
- oci/generative_ai_agent/models/create_agent_details.py +29 -2
- oci/generative_ai_agent/models/create_agent_endpoint_details.py +143 -0
- oci/generative_ai_agent/models/create_data_source_details.py +31 -0
- oci/generative_ai_agent/models/create_tool_details.py +307 -0
- oci/generative_ai_agent/models/data_source.py +31 -0
- oci/generative_ai_agent/models/function.py +134 -0
- oci/generative_ai_agent/models/function_calling_tool_config.py +76 -0
- oci/generative_ai_agent/models/guardrail_config.py +120 -0
- oci/generative_ai_agent/models/http_endpoint_auth_config.py +137 -0
- oci/generative_ai_agent/models/http_endpoint_delegated_bearer_auth_config.py +50 -0
- oci/generative_ai_agent/models/http_endpoint_idcs_auth_config.py +76 -0
- oci/generative_ai_agent/models/http_endpoint_no_auth_config.py +49 -0
- oci/generative_ai_agent/models/http_endpoint_oci_resource_principal_auth_config.py +49 -0
- oci/generative_ai_agent/models/http_endpoint_tool_config.py +134 -0
- oci/generative_ai_agent/models/human_input_config.py +70 -0
- oci/generative_ai_agent/models/idcs_secret.py +2 -1
- oci/generative_ai_agent/models/inline_input_location.py +80 -0
- oci/generative_ai_agent/models/input_location.py +113 -0
- oci/generative_ai_agent/models/knowledge_base_config.py +74 -0
- oci/generative_ai_agent/models/llm_config.py +66 -0
- oci/generative_ai_agent/models/llm_customization.py +70 -0
- oci/generative_ai_agent/models/object_storage_input_location.py +142 -0
- oci/generative_ai_agent/models/object_storage_prefix.py +2 -2
- oci/generative_ai_agent/models/object_storage_prefix_output_location.py +142 -0
- oci/generative_ai_agent/models/output_config.py +97 -0
- oci/generative_ai_agent/models/output_location.py +99 -0
- oci/generative_ai_agent/models/personally_identifiable_information_guardrail_config.py +141 -0
- oci/generative_ai_agent/models/prompt_injection_guardrail_config.py +90 -0
- oci/generative_ai_agent/models/rag_tool_config.py +107 -0
- oci/generative_ai_agent/models/sql_tool_config.py +341 -0
- oci/generative_ai_agent/models/tool.py +522 -0
- oci/generative_ai_agent/models/tool_collection.py +70 -0
- oci/generative_ai_agent/models/tool_config.py +133 -0
- oci/generative_ai_agent/models/tool_summary.py +486 -0
- oci/generative_ai_agent/models/update_agent_details.py +29 -2
- oci/generative_ai_agent/models/update_agent_endpoint_details.py +143 -0
- oci/generative_ai_agent/models/update_data_source_details.py +31 -0
- oci/generative_ai_agent/models/update_tool_details.py +241 -0
- oci/generative_ai_agent/models/work_request.py +19 -3
- oci/generative_ai_agent/models/work_request_summary.py +19 -3
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +128 -6
- oci/generative_ai_agent_runtime/models/__init__.py +24 -0
- oci/generative_ai_agent_runtime/models/chat_details.py +65 -3
- oci/generative_ai_agent_runtime/models/chat_result.py +95 -2
- oci/generative_ai_agent_runtime/models/citation.py +34 -3
- oci/generative_ai_agent_runtime/models/function_call.py +101 -0
- oci/generative_ai_agent_runtime/models/function_calling_performed_action.py +87 -0
- oci/generative_ai_agent_runtime/models/function_calling_required_action.py +83 -0
- oci/generative_ai_agent_runtime/models/human_approval_performed_action.py +103 -0
- oci/generative_ai_agent_runtime/models/knowledge_base_metadata_summary.py +262 -0
- oci/generative_ai_agent_runtime/models/knowledge_base_metadata_value.py +101 -0
- oci/generative_ai_agent_runtime/models/message_content.py +33 -2
- oci/generative_ai_agent_runtime/models/metadata_filter.py +101 -0
- oci/generative_ai_agent_runtime/models/paragraph.py +132 -0
- oci/generative_ai_agent_runtime/models/paragraph_citation.py +97 -0
- oci/generative_ai_agent_runtime/models/performed_action.py +138 -0
- oci/generative_ai_agent_runtime/models/required_action.py +134 -0
- oci/generative_ai_agent_runtime/models/retrieve_metadata_details.py +70 -0
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/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/lustre_file_storage/__init__.py +14 -0
- oci/lustre_file_storage/lustre_file_storage_client.py +1536 -0
- oci/lustre_file_storage/lustre_file_storage_client_composite_operations.py +202 -0
- oci/lustre_file_storage/models/__init__.py +44 -0
- oci/lustre_file_storage/models/change_lustre_file_system_compartment_details.py +74 -0
- oci/lustre_file_storage/models/create_lustre_file_system_details.py +559 -0
- oci/lustre_file_storage/models/lustre_file_system.py +986 -0
- oci/lustre_file_storage/models/lustre_file_system_collection.py +70 -0
- oci/lustre_file_storage/models/lustre_file_system_summary.py +921 -0
- oci/lustre_file_storage/models/maintenance_window.py +141 -0
- oci/lustre_file_storage/models/root_squash_configuration.py +193 -0
- oci/lustre_file_storage/models/update_lustre_file_system_details.py +327 -0
- oci/lustre_file_storage/models/work_request.py +449 -0
- oci/lustre_file_storage/models/work_request_error.py +144 -0
- oci/lustre_file_storage/models/work_request_error_collection.py +70 -0
- oci/lustre_file_storage/models/work_request_log_entry.py +107 -0
- oci/lustre_file_storage/models/work_request_log_entry_collection.py +70 -0
- oci/lustre_file_storage/models/work_request_resource.py +205 -0
- oci/lustre_file_storage/models/work_request_summary.py +447 -0
- oci/lustre_file_storage/models/work_request_summary_collection.py +70 -0
- 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/mngdmac/mac_device_client.py +6 -6
- oci/mngdmac/mac_order_client.py +22 -22
- 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/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- 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/create_operations_insights_warehouse_details.py +33 -2
- oci/opsi/models/operations_insights_warehouse.py +49 -2
- oci/opsi/models/operations_insights_warehouse_summary.py +33 -2
- oci/opsi/models/sql_plan_line.py +66 -0
- oci/opsi/models/update_operations_insights_warehouse_details.py +33 -2
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- 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 +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- 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 +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/models/functions_target_details.py +4 -0
- oci/sch/models/log_source.py +4 -6
- oci/sch/models/monitoring_target_details.py +0 -4
- oci/sch/models/notifications_target_details.py +0 -2
- oci/sch/models/plugin_source_details.py +4 -4
- oci/sch/models/service_connector.py +37 -0
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/__init__.py +44 -0
- oci/stack_monitoring/models/additional_configuration_details.py +70 -0
- oci/stack_monitoring/models/agent_extension_handler_configuration.py +277 -0
- oci/stack_monitoring/models/agent_extension_handler_configuration_property.py +101 -0
- oci/stack_monitoring/models/agent_extension_handler_metric_mapping_details.py +165 -0
- oci/stack_monitoring/models/agent_receiver_properties.py +70 -0
- oci/stack_monitoring/models/associated_monitored_resource.py +14 -6
- oci/stack_monitoring/models/associated_resources_summary.py +14 -6
- oci/stack_monitoring/models/auto_promote_config_details.py +1 -1
- oci/stack_monitoring/models/availability_metrics_details.py +101 -0
- oci/stack_monitoring/models/collectd_resource_name_configuration_details.py +132 -0
- oci/stack_monitoring/models/compute_auto_activate_plugin_config_details.py +146 -0
- oci/stack_monitoring/models/compute_auto_activate_plugin_config_summary.py +142 -0
- oci/stack_monitoring/models/config.py +19 -3
- oci/stack_monitoring/models/config_summary.py +8 -0
- oci/stack_monitoring/models/create_compute_auto_activate_plugin_config_details.py +107 -0
- oci/stack_monitoring/models/create_config_details.py +8 -0
- oci/stack_monitoring/models/create_maintenance_window_details.py +68 -2
- oci/stack_monitoring/models/create_monitored_resource_type_details.py +9 -5
- oci/stack_monitoring/models/create_onboard_config_details.py +259 -0
- oci/stack_monitoring/models/dynamic_group_details.py +148 -0
- oci/stack_monitoring/models/group_details.py +132 -0
- oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +18 -6
- oci/stack_monitoring/models/license_auto_assign_config_details.py +1 -1
- oci/stack_monitoring/models/license_enterprise_extensibility_config_details.py +1 -1
- oci/stack_monitoring/models/maintenance_window.py +108 -5
- oci/stack_monitoring/models/maintenance_window_summary.py +7 -3
- oci/stack_monitoring/models/metric_name_configuration_details.py +101 -0
- oci/stack_monitoring/models/monitored_resource.py +14 -6
- oci/stack_monitoring/models/monitored_resource_member_summary.py +14 -6
- oci/stack_monitoring/models/monitored_resource_summary.py +14 -6
- oci/stack_monitoring/models/monitored_resource_task.py +31 -0
- oci/stack_monitoring/models/monitored_resource_task_details.py +19 -3
- oci/stack_monitoring/models/monitored_resource_task_summary.py +31 -0
- oci/stack_monitoring/models/monitored_resource_type.py +129 -5
- oci/stack_monitoring/models/monitored_resource_type_summary.py +94 -5
- oci/stack_monitoring/models/onboard_config_details.py +296 -0
- oci/stack_monitoring/models/onboard_config_summary.py +174 -0
- oci/stack_monitoring/models/resource_type_config_details.py +124 -0
- oci/stack_monitoring/models/search_monitored_resources_details.py +14 -6
- oci/stack_monitoring/models/telegraf_resource_name_configuration_details.py +132 -0
- oci/stack_monitoring/models/update_agent_receiver_task_details.py +190 -0
- oci/stack_monitoring/models/update_compute_auto_activate_plugin_config_details.py +100 -0
- oci/stack_monitoring/models/update_config_details.py +8 -0
- oci/stack_monitoring/models/update_maintenance_window_details.py +68 -2
- oci/stack_monitoring/models/update_monitored_resource_type_details.py +7 -3
- oci/stack_monitoring/models/update_onboard_config_details.py +252 -0
- oci/stack_monitoring/models/update_resource_type_config_task_details.py +133 -0
- oci/stack_monitoring/models/work_request.py +11 -3
- oci/stack_monitoring/models/work_request_summary.py +11 -3
- oci/stack_monitoring/stack_monitoring_client.py +121 -93
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/METADATA +1 -1
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/RECORD +498 -336
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.dist-info}/WHEEL +0 -0
- {oci-2.149.0.dist-info → oci-2.149.2.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.149.
|
167
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.149.
|
271
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.149.
|
372
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.149.
|
467
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.149.
|
558
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.149.
|
665
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.149.
|
772
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.149.
|
894
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.149.
|
1025
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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']
|
@@ -1142,7 +1142,7 @@ class ComputeClient(object):
|
|
1142
1142
|
:rtype: :class:`~oci.response.Response`
|
1143
1143
|
|
1144
1144
|
:example:
|
1145
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1145
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/change_compute_gpu_memory_cluster_compartment.py.html>`__ to see an example of how to use change_compute_gpu_memory_cluster_compartment API.
|
1146
1146
|
"""
|
1147
1147
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1148
1148
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -1264,7 +1264,7 @@ class ComputeClient(object):
|
|
1264
1264
|
:rtype: :class:`~oci.response.Response`
|
1265
1265
|
|
1266
1266
|
:example:
|
1267
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1267
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/change_compute_gpu_memory_fabric_compartment.py.html>`__ to see an example of how to use change_compute_gpu_memory_fabric_compartment API.
|
1268
1268
|
"""
|
1269
1269
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1270
1270
|
required_arguments = ['computeGpuMemoryFabricId']
|
@@ -1340,6 +1340,130 @@ class ComputeClient(object):
|
|
1340
1340
|
api_reference_link=api_reference_link,
|
1341
1341
|
required_arguments=required_arguments)
|
1342
1342
|
|
1343
|
+
def change_compute_host_compartment(self, compute_host_id, change_compute_host_compartment_details, **kwargs):
|
1344
|
+
"""
|
1345
|
+
Moves a compute host into a different compartment. For information about moving resources between
|
1346
|
+
compartments, see `Moving Resources to a Different Compartment`__.
|
1347
|
+
|
1348
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
1349
|
+
|
1350
|
+
|
1351
|
+
:param str compute_host_id: (required)
|
1352
|
+
The `OCID`__ of the compute host.
|
1353
|
+
|
1354
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1355
|
+
|
1356
|
+
:param oci.core.models.ChangeComputeHostCompartmentDetails change_compute_host_compartment_details: (required)
|
1357
|
+
The configuration details for the move operation.
|
1358
|
+
|
1359
|
+
:param str if_match: (optional)
|
1360
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1361
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1362
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
1363
|
+
|
1364
|
+
:param str opc_request_id: (optional)
|
1365
|
+
Unique identifier for the request.
|
1366
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
1367
|
+
|
1368
|
+
:param str opc_retry_token: (optional)
|
1369
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1370
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1371
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
1372
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1373
|
+
may be rejected).
|
1374
|
+
|
1375
|
+
:param obj retry_strategy: (optional)
|
1376
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1377
|
+
|
1378
|
+
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.
|
1379
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1380
|
+
|
1381
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1382
|
+
|
1383
|
+
:param bool allow_control_chars: (optional)
|
1384
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1385
|
+
By default, the response will not allow control characters in strings
|
1386
|
+
|
1387
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1388
|
+
:rtype: :class:`~oci.response.Response`
|
1389
|
+
|
1390
|
+
:example:
|
1391
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/change_compute_host_compartment.py.html>`__ to see an example of how to use change_compute_host_compartment API.
|
1392
|
+
"""
|
1393
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1394
|
+
required_arguments = ['computeHostId']
|
1395
|
+
resource_path = "/computeHosts/{computeHostId}/actions/changeCompartment"
|
1396
|
+
method = "POST"
|
1397
|
+
operation_name = "change_compute_host_compartment"
|
1398
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ChangeComputeHostCompartment"
|
1399
|
+
|
1400
|
+
# Don't accept unknown kwargs
|
1401
|
+
expected_kwargs = [
|
1402
|
+
"allow_control_chars",
|
1403
|
+
"retry_strategy",
|
1404
|
+
"if_match",
|
1405
|
+
"opc_request_id",
|
1406
|
+
"opc_retry_token"
|
1407
|
+
]
|
1408
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1409
|
+
if extra_kwargs:
|
1410
|
+
raise ValueError(
|
1411
|
+
f"change_compute_host_compartment got unknown kwargs: {extra_kwargs!r}")
|
1412
|
+
|
1413
|
+
path_params = {
|
1414
|
+
"computeHostId": compute_host_id
|
1415
|
+
}
|
1416
|
+
|
1417
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1418
|
+
|
1419
|
+
for (k, v) in six.iteritems(path_params):
|
1420
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1421
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1422
|
+
|
1423
|
+
header_params = {
|
1424
|
+
"accept": "application/json",
|
1425
|
+
"content-type": "application/json",
|
1426
|
+
"if-match": kwargs.get("if_match", missing),
|
1427
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1428
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
1429
|
+
}
|
1430
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1431
|
+
|
1432
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1433
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1434
|
+
client_retry_strategy=self.retry_strategy
|
1435
|
+
)
|
1436
|
+
if retry_strategy is None:
|
1437
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1438
|
+
|
1439
|
+
if retry_strategy:
|
1440
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1441
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1442
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1443
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1444
|
+
return retry_strategy.make_retrying_call(
|
1445
|
+
self.base_client.call_api,
|
1446
|
+
resource_path=resource_path,
|
1447
|
+
method=method,
|
1448
|
+
path_params=path_params,
|
1449
|
+
header_params=header_params,
|
1450
|
+
body=change_compute_host_compartment_details,
|
1451
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1452
|
+
operation_name=operation_name,
|
1453
|
+
api_reference_link=api_reference_link,
|
1454
|
+
required_arguments=required_arguments)
|
1455
|
+
else:
|
1456
|
+
return self.base_client.call_api(
|
1457
|
+
resource_path=resource_path,
|
1458
|
+
method=method,
|
1459
|
+
path_params=path_params,
|
1460
|
+
header_params=header_params,
|
1461
|
+
body=change_compute_host_compartment_details,
|
1462
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1463
|
+
operation_name=operation_name,
|
1464
|
+
api_reference_link=api_reference_link,
|
1465
|
+
required_arguments=required_arguments)
|
1466
|
+
|
1343
1467
|
def change_compute_image_capability_schema_compartment(self, compute_image_capability_schema_id, change_compute_image_capability_schema_compartment_details, **kwargs):
|
1344
1468
|
"""
|
1345
1469
|
Moves a compute image capability schema into a different compartment within the same tenancy.
|
@@ -1387,7 +1511,7 @@ class ComputeClient(object):
|
|
1387
1511
|
:rtype: :class:`~oci.response.Response`
|
1388
1512
|
|
1389
1513
|
:example:
|
1390
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1514
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/change_compute_image_capability_schema_compartment.py.html>`__ to see an example of how to use change_compute_image_capability_schema_compartment API.
|
1391
1515
|
"""
|
1392
1516
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1393
1517
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -1506,7 +1630,7 @@ class ComputeClient(object):
|
|
1506
1630
|
:rtype: :class:`~oci.response.Response`
|
1507
1631
|
|
1508
1632
|
:example:
|
1509
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1633
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/change_dedicated_vm_host_compartment.py.html>`__ to see an example of how to use change_dedicated_vm_host_compartment API.
|
1510
1634
|
"""
|
1511
1635
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1512
1636
|
required_arguments = ['dedicatedVmHostId']
|
@@ -1629,7 +1753,7 @@ class ComputeClient(object):
|
|
1629
1753
|
:rtype: :class:`~oci.response.Response`
|
1630
1754
|
|
1631
1755
|
:example:
|
1632
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1756
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/change_image_compartment.py.html>`__ to see an example of how to use change_image_compartment API.
|
1633
1757
|
"""
|
1634
1758
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1635
1759
|
required_arguments = ['imageId']
|
@@ -1757,7 +1881,7 @@ class ComputeClient(object):
|
|
1757
1881
|
:rtype: :class:`~oci.response.Response`
|
1758
1882
|
|
1759
1883
|
:example:
|
1760
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1884
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/change_instance_compartment.py.html>`__ to see an example of how to use change_instance_compartment API.
|
1761
1885
|
"""
|
1762
1886
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1763
1887
|
required_arguments = ['instanceId']
|
@@ -1862,7 +1986,7 @@ class ComputeClient(object):
|
|
1862
1986
|
:rtype: :class:`~oci.response.Response`
|
1863
1987
|
|
1864
1988
|
:example:
|
1865
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
1989
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_app_catalog_subscription.py.html>`__ to see an example of how to use create_app_catalog_subscription API.
|
1866
1990
|
"""
|
1867
1991
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1868
1992
|
required_arguments = []
|
@@ -1964,7 +2088,7 @@ class ComputeClient(object):
|
|
1964
2088
|
:rtype: :class:`~oci.response.Response`
|
1965
2089
|
|
1966
2090
|
:example:
|
1967
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2091
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_compute_capacity_report.py.html>`__ to see an example of how to use create_compute_capacity_report API.
|
1968
2092
|
"""
|
1969
2093
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1970
2094
|
required_arguments = []
|
@@ -2071,7 +2195,7 @@ class ComputeClient(object):
|
|
2071
2195
|
:rtype: :class:`~oci.response.Response`
|
2072
2196
|
|
2073
2197
|
:example:
|
2074
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2198
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_compute_capacity_reservation.py.html>`__ to see an example of how to use create_compute_capacity_reservation API.
|
2075
2199
|
"""
|
2076
2200
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2077
2201
|
required_arguments = []
|
@@ -2173,7 +2297,7 @@ class ComputeClient(object):
|
|
2173
2297
|
:rtype: :class:`~oci.response.Response`
|
2174
2298
|
|
2175
2299
|
:example:
|
2176
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2300
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_compute_capacity_topology.py.html>`__ to see an example of how to use create_compute_capacity_topology API.
|
2177
2301
|
"""
|
2178
2302
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2179
2303
|
required_arguments = []
|
@@ -2297,7 +2421,7 @@ class ComputeClient(object):
|
|
2297
2421
|
:rtype: :class:`~oci.response.Response`
|
2298
2422
|
|
2299
2423
|
:example:
|
2300
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2424
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_compute_cluster.py.html>`__ to see an example of how to use create_compute_cluster API.
|
2301
2425
|
"""
|
2302
2426
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2303
2427
|
required_arguments = []
|
@@ -2394,7 +2518,7 @@ class ComputeClient(object):
|
|
2394
2518
|
:rtype: :class:`~oci.response.Response`
|
2395
2519
|
|
2396
2520
|
:example:
|
2397
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2521
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_compute_gpu_memory_cluster.py.html>`__ to see an example of how to use create_compute_gpu_memory_cluster API.
|
2398
2522
|
"""
|
2399
2523
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2400
2524
|
required_arguments = []
|
@@ -2489,7 +2613,7 @@ class ComputeClient(object):
|
|
2489
2613
|
:rtype: :class:`~oci.response.Response`
|
2490
2614
|
|
2491
2615
|
:example:
|
2492
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2616
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_compute_image_capability_schema.py.html>`__ to see an example of how to use create_compute_image_capability_schema API.
|
2493
2617
|
"""
|
2494
2618
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2495
2619
|
required_arguments = []
|
@@ -2591,7 +2715,7 @@ class ComputeClient(object):
|
|
2591
2715
|
:rtype: :class:`~oci.response.Response`
|
2592
2716
|
|
2593
2717
|
:example:
|
2594
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2718
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_dedicated_vm_host.py.html>`__ to see an example of how to use create_dedicated_vm_host API.
|
2595
2719
|
"""
|
2596
2720
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2597
2721
|
required_arguments = []
|
@@ -2711,7 +2835,7 @@ class ComputeClient(object):
|
|
2711
2835
|
:rtype: :class:`~oci.response.Response`
|
2712
2836
|
|
2713
2837
|
:example:
|
2714
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2838
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_image.py.html>`__ to see an example of how to use create_image API.
|
2715
2839
|
"""
|
2716
2840
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2717
2841
|
required_arguments = []
|
@@ -2810,7 +2934,7 @@ class ComputeClient(object):
|
|
2810
2934
|
:rtype: :class:`~oci.response.Response`
|
2811
2935
|
|
2812
2936
|
:example:
|
2813
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
2937
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/create_instance_console_connection.py.html>`__ to see an example of how to use create_instance_console_connection API.
|
2814
2938
|
"""
|
2815
2939
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2816
2940
|
required_arguments = []
|
@@ -2902,7 +3026,7 @@ class ComputeClient(object):
|
|
2902
3026
|
:rtype: :class:`~oci.response.Response`
|
2903
3027
|
|
2904
3028
|
:example:
|
2905
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3029
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_app_catalog_subscription.py.html>`__ to see an example of how to use delete_app_catalog_subscription API.
|
2906
3030
|
"""
|
2907
3031
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2908
3032
|
required_arguments = ['listingId', 'compartmentId', 'resourceVersion']
|
@@ -2992,7 +3116,7 @@ class ComputeClient(object):
|
|
2992
3116
|
:rtype: :class:`~oci.response.Response`
|
2993
3117
|
|
2994
3118
|
:example:
|
2995
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3119
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_compute_capacity_reservation.py.html>`__ to see an example of how to use delete_compute_capacity_reservation API.
|
2996
3120
|
"""
|
2997
3121
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2998
3122
|
required_arguments = ['capacityReservationId']
|
@@ -3096,7 +3220,7 @@ class ComputeClient(object):
|
|
3096
3220
|
:rtype: :class:`~oci.response.Response`
|
3097
3221
|
|
3098
3222
|
:example:
|
3099
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3223
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_compute_capacity_topology.py.html>`__ to see an example of how to use delete_compute_capacity_topology API.
|
3100
3224
|
"""
|
3101
3225
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3102
3226
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -3211,7 +3335,7 @@ class ComputeClient(object):
|
|
3211
3335
|
:rtype: :class:`~oci.response.Response`
|
3212
3336
|
|
3213
3337
|
:example:
|
3214
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3338
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_compute_cluster.py.html>`__ to see an example of how to use delete_compute_cluster API.
|
3215
3339
|
"""
|
3216
3340
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3217
3341
|
required_arguments = ['computeClusterId']
|
@@ -3313,7 +3437,7 @@ class ComputeClient(object):
|
|
3313
3437
|
:rtype: :class:`~oci.response.Response`
|
3314
3438
|
|
3315
3439
|
:example:
|
3316
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3440
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_compute_gpu_memory_cluster.py.html>`__ to see an example of how to use delete_compute_gpu_memory_cluster API.
|
3317
3441
|
"""
|
3318
3442
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3319
3443
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -3413,7 +3537,7 @@ class ComputeClient(object):
|
|
3413
3537
|
:rtype: :class:`~oci.response.Response`
|
3414
3538
|
|
3415
3539
|
:example:
|
3416
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3540
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_compute_image_capability_schema.py.html>`__ to see an example of how to use delete_compute_image_capability_schema API.
|
3417
3541
|
"""
|
3418
3542
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3419
3543
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -3509,7 +3633,7 @@ class ComputeClient(object):
|
|
3509
3633
|
:rtype: :class:`~oci.response.Response`
|
3510
3634
|
|
3511
3635
|
:example:
|
3512
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3636
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_console_history.py.html>`__ to see an example of how to use delete_console_history API.
|
3513
3637
|
"""
|
3514
3638
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3515
3639
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -3607,7 +3731,7 @@ class ComputeClient(object):
|
|
3607
3731
|
:rtype: :class:`~oci.response.Response`
|
3608
3732
|
|
3609
3733
|
:example:
|
3610
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3734
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_dedicated_vm_host.py.html>`__ to see an example of how to use delete_dedicated_vm_host API.
|
3611
3735
|
"""
|
3612
3736
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3613
3737
|
required_arguments = ['dedicatedVmHostId']
|
@@ -3705,7 +3829,7 @@ class ComputeClient(object):
|
|
3705
3829
|
:rtype: :class:`~oci.response.Response`
|
3706
3830
|
|
3707
3831
|
:example:
|
3708
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3832
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_image.py.html>`__ to see an example of how to use delete_image API.
|
3709
3833
|
"""
|
3710
3834
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3711
3835
|
required_arguments = ['imageId']
|
@@ -3801,7 +3925,7 @@ class ComputeClient(object):
|
|
3801
3925
|
:rtype: :class:`~oci.response.Response`
|
3802
3926
|
|
3803
3927
|
:example:
|
3804
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
3928
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/delete_instance_console_connection.py.html>`__ to see an example of how to use delete_instance_console_connection API.
|
3805
3929
|
"""
|
3806
3930
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3807
3931
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -3900,7 +4024,7 @@ class ComputeClient(object):
|
|
3900
4024
|
:rtype: :class:`~oci.response.Response`
|
3901
4025
|
|
3902
4026
|
:example:
|
3903
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4027
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/detach_boot_volume.py.html>`__ to see an example of how to use detach_boot_volume API.
|
3904
4028
|
"""
|
3905
4029
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3906
4030
|
required_arguments = ['bootVolumeAttachmentId']
|
@@ -4007,7 +4131,7 @@ class ComputeClient(object):
|
|
4007
4131
|
:rtype: :class:`~oci.response.Response`
|
4008
4132
|
|
4009
4133
|
:example:
|
4010
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4134
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/detach_vnic.py.html>`__ to see an example of how to use detach_vnic API.
|
4011
4135
|
"""
|
4012
4136
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4013
4137
|
required_arguments = ['vnicAttachmentId']
|
@@ -4106,7 +4230,7 @@ class ComputeClient(object):
|
|
4106
4230
|
:rtype: :class:`~oci.response.Response`
|
4107
4231
|
|
4108
4232
|
:example:
|
4109
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4233
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/detach_volume.py.html>`__ to see an example of how to use detach_volume API.
|
4110
4234
|
"""
|
4111
4235
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4112
4236
|
required_arguments = ['volumeAttachmentId']
|
@@ -4228,7 +4352,7 @@ class ComputeClient(object):
|
|
4228
4352
|
:rtype: :class:`~oci.response.Response`
|
4229
4353
|
|
4230
4354
|
:example:
|
4231
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4355
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/export_image.py.html>`__ to see an example of how to use export_image API.
|
4232
4356
|
"""
|
4233
4357
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4234
4358
|
required_arguments = ['imageId']
|
@@ -4328,7 +4452,7 @@ class ComputeClient(object):
|
|
4328
4452
|
:rtype: :class:`~oci.response.Response`
|
4329
4453
|
|
4330
4454
|
:example:
|
4331
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4455
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_app_catalog_listing.py.html>`__ to see an example of how to use get_app_catalog_listing API.
|
4332
4456
|
"""
|
4333
4457
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4334
4458
|
required_arguments = ['listingId']
|
@@ -4419,7 +4543,7 @@ class ComputeClient(object):
|
|
4419
4543
|
:rtype: :class:`~oci.response.Response`
|
4420
4544
|
|
4421
4545
|
:example:
|
4422
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4546
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_app_catalog_listing_agreements.py.html>`__ to see an example of how to use get_app_catalog_listing_agreements API.
|
4423
4547
|
"""
|
4424
4548
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4425
4549
|
required_arguments = ['listingId', 'resourceVersion']
|
@@ -4511,7 +4635,7 @@ class ComputeClient(object):
|
|
4511
4635
|
:rtype: :class:`~oci.response.Response`
|
4512
4636
|
|
4513
4637
|
:example:
|
4514
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4638
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_app_catalog_listing_resource_version.py.html>`__ to see an example of how to use get_app_catalog_listing_resource_version API.
|
4515
4639
|
"""
|
4516
4640
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4517
4641
|
required_arguments = ['listingId', 'resourceVersion']
|
@@ -4600,7 +4724,7 @@ class ComputeClient(object):
|
|
4600
4724
|
:rtype: :class:`~oci.response.Response`
|
4601
4725
|
|
4602
4726
|
:example:
|
4603
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4727
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_boot_volume_attachment.py.html>`__ to see an example of how to use get_boot_volume_attachment API.
|
4604
4728
|
"""
|
4605
4729
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4606
4730
|
required_arguments = ['bootVolumeAttachmentId']
|
@@ -4690,7 +4814,7 @@ class ComputeClient(object):
|
|
4690
4814
|
:rtype: :class:`~oci.response.Response`
|
4691
4815
|
|
4692
4816
|
:example:
|
4693
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4817
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_compute_capacity_reservation.py.html>`__ to see an example of how to use get_compute_capacity_reservation API.
|
4694
4818
|
"""
|
4695
4819
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4696
4820
|
required_arguments = ['capacityReservationId']
|
@@ -4789,7 +4913,7 @@ class ComputeClient(object):
|
|
4789
4913
|
:rtype: :class:`~oci.response.Response`
|
4790
4914
|
|
4791
4915
|
:example:
|
4792
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
4916
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_compute_capacity_topology.py.html>`__ to see an example of how to use get_compute_capacity_topology API.
|
4793
4917
|
"""
|
4794
4918
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4795
4919
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -4896,7 +5020,7 @@ class ComputeClient(object):
|
|
4896
5020
|
:rtype: :class:`~oci.response.Response`
|
4897
5021
|
|
4898
5022
|
:example:
|
4899
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5023
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_compute_cluster.py.html>`__ to see an example of how to use get_compute_cluster API.
|
4900
5024
|
"""
|
4901
5025
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4902
5026
|
required_arguments = ['computeClusterId']
|
@@ -4991,7 +5115,7 @@ class ComputeClient(object):
|
|
4991
5115
|
:rtype: :class:`~oci.response.Response`
|
4992
5116
|
|
4993
5117
|
:example:
|
4994
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5118
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_compute_global_image_capability_schema.py.html>`__ to see an example of how to use get_compute_global_image_capability_schema API.
|
4995
5119
|
"""
|
4996
5120
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4997
5121
|
required_arguments = ['computeGlobalImageCapabilitySchemaId']
|
@@ -5084,7 +5208,7 @@ class ComputeClient(object):
|
|
5084
5208
|
:rtype: :class:`~oci.response.Response`
|
5085
5209
|
|
5086
5210
|
:example:
|
5087
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5211
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.
|
5088
5212
|
"""
|
5089
5213
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5090
5214
|
required_arguments = ['computeGlobalImageCapabilitySchemaId', 'computeGlobalImageCapabilitySchemaVersionName']
|
@@ -5177,7 +5301,7 @@ class ComputeClient(object):
|
|
5177
5301
|
:rtype: :class:`~oci.response.Response`
|
5178
5302
|
|
5179
5303
|
:example:
|
5180
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5304
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_compute_gpu_memory_cluster.py.html>`__ to see an example of how to use get_compute_gpu_memory_cluster API.
|
5181
5305
|
"""
|
5182
5306
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5183
5307
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -5274,7 +5398,7 @@ class ComputeClient(object):
|
|
5274
5398
|
:rtype: :class:`~oci.response.Response`
|
5275
5399
|
|
5276
5400
|
:example:
|
5277
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5401
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_compute_gpu_memory_fabric.py.html>`__ to see an example of how to use get_compute_gpu_memory_fabric API.
|
5278
5402
|
"""
|
5279
5403
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5280
5404
|
required_arguments = ['computeGpuMemoryFabricId']
|
@@ -5345,6 +5469,107 @@ class ComputeClient(object):
|
|
5345
5469
|
api_reference_link=api_reference_link,
|
5346
5470
|
required_arguments=required_arguments)
|
5347
5471
|
|
5472
|
+
def get_compute_host(self, compute_host_id, **kwargs):
|
5473
|
+
"""
|
5474
|
+
Gets information about the specified compute host
|
5475
|
+
|
5476
|
+
|
5477
|
+
:param str compute_host_id: (required)
|
5478
|
+
The `OCID`__ of the compute host.
|
5479
|
+
|
5480
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
5481
|
+
|
5482
|
+
:param str opc_request_id: (optional)
|
5483
|
+
Unique identifier for the request.
|
5484
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
5485
|
+
|
5486
|
+
:param obj retry_strategy: (optional)
|
5487
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5488
|
+
|
5489
|
+
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.
|
5490
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
5491
|
+
|
5492
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
5493
|
+
|
5494
|
+
:param bool allow_control_chars: (optional)
|
5495
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5496
|
+
By default, the response will not allow control characters in strings
|
5497
|
+
|
5498
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHost`
|
5499
|
+
:rtype: :class:`~oci.response.Response`
|
5500
|
+
|
5501
|
+
:example:
|
5502
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_compute_host.py.html>`__ to see an example of how to use get_compute_host API.
|
5503
|
+
"""
|
5504
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5505
|
+
required_arguments = ['computeHostId']
|
5506
|
+
resource_path = "/computeHosts/{computeHostId}"
|
5507
|
+
method = "GET"
|
5508
|
+
operation_name = "get_compute_host"
|
5509
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/GetComputeHost"
|
5510
|
+
|
5511
|
+
# Don't accept unknown kwargs
|
5512
|
+
expected_kwargs = [
|
5513
|
+
"allow_control_chars",
|
5514
|
+
"retry_strategy",
|
5515
|
+
"opc_request_id"
|
5516
|
+
]
|
5517
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5518
|
+
if extra_kwargs:
|
5519
|
+
raise ValueError(
|
5520
|
+
f"get_compute_host got unknown kwargs: {extra_kwargs!r}")
|
5521
|
+
|
5522
|
+
path_params = {
|
5523
|
+
"computeHostId": compute_host_id
|
5524
|
+
}
|
5525
|
+
|
5526
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5527
|
+
|
5528
|
+
for (k, v) in six.iteritems(path_params):
|
5529
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5530
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5531
|
+
|
5532
|
+
header_params = {
|
5533
|
+
"accept": "application/json",
|
5534
|
+
"content-type": "application/json",
|
5535
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5536
|
+
}
|
5537
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5538
|
+
|
5539
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5540
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5541
|
+
client_retry_strategy=self.retry_strategy
|
5542
|
+
)
|
5543
|
+
if retry_strategy is None:
|
5544
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5545
|
+
|
5546
|
+
if retry_strategy:
|
5547
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5548
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5549
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5550
|
+
return retry_strategy.make_retrying_call(
|
5551
|
+
self.base_client.call_api,
|
5552
|
+
resource_path=resource_path,
|
5553
|
+
method=method,
|
5554
|
+
path_params=path_params,
|
5555
|
+
header_params=header_params,
|
5556
|
+
response_type="ComputeHost",
|
5557
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5558
|
+
operation_name=operation_name,
|
5559
|
+
api_reference_link=api_reference_link,
|
5560
|
+
required_arguments=required_arguments)
|
5561
|
+
else:
|
5562
|
+
return self.base_client.call_api(
|
5563
|
+
resource_path=resource_path,
|
5564
|
+
method=method,
|
5565
|
+
path_params=path_params,
|
5566
|
+
header_params=header_params,
|
5567
|
+
response_type="ComputeHost",
|
5568
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5569
|
+
operation_name=operation_name,
|
5570
|
+
api_reference_link=api_reference_link,
|
5571
|
+
required_arguments=required_arguments)
|
5572
|
+
|
5348
5573
|
def get_compute_image_capability_schema(self, compute_image_capability_schema_id, **kwargs):
|
5349
5574
|
"""
|
5350
5575
|
Gets the specified Compute Image Capability Schema
|
@@ -5372,7 +5597,7 @@ class ComputeClient(object):
|
|
5372
5597
|
:rtype: :class:`~oci.response.Response`
|
5373
5598
|
|
5374
5599
|
:example:
|
5375
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5600
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_compute_image_capability_schema.py.html>`__ to see an example of how to use get_compute_image_capability_schema API.
|
5376
5601
|
"""
|
5377
5602
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5378
5603
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -5474,7 +5699,7 @@ class ComputeClient(object):
|
|
5474
5699
|
:rtype: :class:`~oci.response.Response`
|
5475
5700
|
|
5476
5701
|
:example:
|
5477
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5702
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_console_history.py.html>`__ to see an example of how to use get_console_history API.
|
5478
5703
|
"""
|
5479
5704
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5480
5705
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -5568,7 +5793,7 @@ class ComputeClient(object):
|
|
5568
5793
|
:rtype: :class:`~oci.response.Response`
|
5569
5794
|
|
5570
5795
|
:example:
|
5571
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5796
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_console_history_content.py.html>`__ to see an example of how to use get_console_history_content API.
|
5572
5797
|
"""
|
5573
5798
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5574
5799
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -5672,7 +5897,7 @@ class ComputeClient(object):
|
|
5672
5897
|
:rtype: :class:`~oci.response.Response`
|
5673
5898
|
|
5674
5899
|
:example:
|
5675
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5900
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_dedicated_vm_host.py.html>`__ to see an example of how to use get_dedicated_vm_host API.
|
5676
5901
|
"""
|
5677
5902
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5678
5903
|
required_arguments = ['dedicatedVmHostId']
|
@@ -5767,7 +5992,7 @@ class ComputeClient(object):
|
|
5767
5992
|
:rtype: :class:`~oci.response.Response`
|
5768
5993
|
|
5769
5994
|
:example:
|
5770
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
5995
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_image.py.html>`__ to see an example of how to use get_image API.
|
5771
5996
|
"""
|
5772
5997
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5773
5998
|
required_arguments = ['imageId']
|
@@ -5864,7 +6089,7 @@ class ComputeClient(object):
|
|
5864
6089
|
:rtype: :class:`~oci.response.Response`
|
5865
6090
|
|
5866
6091
|
:example:
|
5867
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6092
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_image_shape_compatibility_entry.py.html>`__ to see an example of how to use get_image_shape_compatibility_entry API.
|
5868
6093
|
"""
|
5869
6094
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5870
6095
|
required_arguments = ['imageId', 'shapeName']
|
@@ -5965,7 +6190,7 @@ class ComputeClient(object):
|
|
5965
6190
|
:rtype: :class:`~oci.response.Response`
|
5966
6191
|
|
5967
6192
|
:example:
|
5968
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6193
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_instance.py.html>`__ to see an example of how to use get_instance API.
|
5969
6194
|
"""
|
5970
6195
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5971
6196
|
required_arguments = ['instanceId']
|
@@ -6051,7 +6276,7 @@ class ComputeClient(object):
|
|
6051
6276
|
:rtype: :class:`~oci.response.Response`
|
6052
6277
|
|
6053
6278
|
:example:
|
6054
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6279
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_instance_console_connection.py.html>`__ to see an example of how to use get_instance_console_connection API.
|
6055
6280
|
"""
|
6056
6281
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6057
6282
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -6141,7 +6366,7 @@ class ComputeClient(object):
|
|
6141
6366
|
:rtype: :class:`~oci.response.Response`
|
6142
6367
|
|
6143
6368
|
:example:
|
6144
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6369
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_instance_maintenance_event.py.html>`__ to see an example of how to use get_instance_maintenance_event API.
|
6145
6370
|
"""
|
6146
6371
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6147
6372
|
required_arguments = ['instanceMaintenanceEventId']
|
@@ -6243,7 +6468,7 @@ class ComputeClient(object):
|
|
6243
6468
|
:rtype: :class:`~oci.response.Response`
|
6244
6469
|
|
6245
6470
|
:example:
|
6246
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6471
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_instance_maintenance_reboot.py.html>`__ to see an example of how to use get_instance_maintenance_reboot API.
|
6247
6472
|
"""
|
6248
6473
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6249
6474
|
required_arguments = ['instanceId']
|
@@ -6342,7 +6567,7 @@ class ComputeClient(object):
|
|
6342
6567
|
:rtype: :class:`~oci.response.Response`
|
6343
6568
|
|
6344
6569
|
:example:
|
6345
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6570
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_measured_boot_report.py.html>`__ to see an example of how to use get_measured_boot_report API.
|
6346
6571
|
"""
|
6347
6572
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6348
6573
|
required_arguments = ['instanceId']
|
@@ -6435,7 +6660,7 @@ class ComputeClient(object):
|
|
6435
6660
|
:rtype: :class:`~oci.response.Response`
|
6436
6661
|
|
6437
6662
|
:example:
|
6438
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6663
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_vnic_attachment.py.html>`__ to see an example of how to use get_vnic_attachment API.
|
6439
6664
|
"""
|
6440
6665
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6441
6666
|
required_arguments = ['vnicAttachmentId']
|
@@ -6521,7 +6746,7 @@ class ComputeClient(object):
|
|
6521
6746
|
:rtype: :class:`~oci.response.Response`
|
6522
6747
|
|
6523
6748
|
:example:
|
6524
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6749
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_volume_attachment.py.html>`__ to see an example of how to use get_volume_attachment API.
|
6525
6750
|
"""
|
6526
6751
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6527
6752
|
required_arguments = ['volumeAttachmentId']
|
@@ -6610,7 +6835,7 @@ class ComputeClient(object):
|
|
6610
6835
|
:rtype: :class:`~oci.response.Response`
|
6611
6836
|
|
6612
6837
|
:example:
|
6613
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6838
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/get_windows_instance_initial_credentials.py.html>`__ to see an example of how to use get_windows_instance_initial_credentials API.
|
6614
6839
|
"""
|
6615
6840
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6616
6841
|
required_arguments = ['instanceId']
|
@@ -6764,7 +6989,7 @@ class ComputeClient(object):
|
|
6764
6989
|
:rtype: :class:`~oci.response.Response`
|
6765
6990
|
|
6766
6991
|
:example:
|
6767
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
6992
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/instance_action.py.html>`__ to see an example of how to use instance_action API.
|
6768
6993
|
"""
|
6769
6994
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6770
6995
|
required_arguments = ['instanceId', 'action']
|
@@ -6930,7 +7155,7 @@ class ComputeClient(object):
|
|
6930
7155
|
:rtype: :class:`~oci.response.Response`
|
6931
7156
|
|
6932
7157
|
:example:
|
6933
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
7158
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/launch_instance.py.html>`__ to see an example of how to use launch_instance API.
|
6934
7159
|
"""
|
6935
7160
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6936
7161
|
required_arguments = []
|
@@ -7036,7 +7261,7 @@ class ComputeClient(object):
|
|
7036
7261
|
:rtype: :class:`~oci.response.Response`
|
7037
7262
|
|
7038
7263
|
:example:
|
7039
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
7264
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_app_catalog_listing_resource_versions.py.html>`__ to see an example of how to use list_app_catalog_listing_resource_versions API.
|
7040
7265
|
"""
|
7041
7266
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7042
7267
|
required_arguments = ['listingId']
|
@@ -7175,7 +7400,7 @@ class ComputeClient(object):
|
|
7175
7400
|
:rtype: :class:`~oci.response.Response`
|
7176
7401
|
|
7177
7402
|
:example:
|
7178
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
7403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_app_catalog_listings.py.html>`__ to see an example of how to use list_app_catalog_listings API.
|
7179
7404
|
"""
|
7180
7405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7181
7406
|
required_arguments = []
|
@@ -7319,7 +7544,7 @@ class ComputeClient(object):
|
|
7319
7544
|
:rtype: :class:`~oci.response.Response`
|
7320
7545
|
|
7321
7546
|
:example:
|
7322
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
7547
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_app_catalog_subscriptions.py.html>`__ to see an example of how to use list_app_catalog_subscriptions API.
|
7323
7548
|
"""
|
7324
7549
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7325
7550
|
required_arguments = ['compartmentId']
|
@@ -7460,7 +7685,7 @@ class ComputeClient(object):
|
|
7460
7685
|
:rtype: :class:`~oci.response.Response`
|
7461
7686
|
|
7462
7687
|
:example:
|
7463
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
7688
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_boot_volume_attachments.py.html>`__ to see an example of how to use list_boot_volume_attachments API.
|
7464
7689
|
"""
|
7465
7690
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7466
7691
|
required_arguments = ['availabilityDomain', 'compartmentId']
|
@@ -7602,7 +7827,7 @@ class ComputeClient(object):
|
|
7602
7827
|
:rtype: :class:`~oci.response.Response`
|
7603
7828
|
|
7604
7829
|
:example:
|
7605
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
7830
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_capacity_reservation_instance_shapes.py.html>`__ to see an example of how to use list_compute_capacity_reservation_instance_shapes API.
|
7606
7831
|
"""
|
7607
7832
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7608
7833
|
required_arguments = ['compartmentId']
|
@@ -7764,7 +7989,7 @@ class ComputeClient(object):
|
|
7764
7989
|
:rtype: :class:`~oci.response.Response`
|
7765
7990
|
|
7766
7991
|
:example:
|
7767
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
7992
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_capacity_reservation_instances.py.html>`__ to see an example of how to use list_compute_capacity_reservation_instances API.
|
7768
7993
|
"""
|
7769
7994
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7770
7995
|
required_arguments = ['capacityReservationId']
|
@@ -7945,7 +8170,7 @@ class ComputeClient(object):
|
|
7945
8170
|
:rtype: :class:`~oci.response.Response`
|
7946
8171
|
|
7947
8172
|
:example:
|
7948
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
8173
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_capacity_reservations.py.html>`__ to see an example of how to use list_compute_capacity_reservations API.
|
7949
8174
|
"""
|
7950
8175
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7951
8176
|
required_arguments = ['compartmentId']
|
@@ -8117,7 +8342,7 @@ class ComputeClient(object):
|
|
8117
8342
|
:rtype: :class:`~oci.response.Response`
|
8118
8343
|
|
8119
8344
|
:example:
|
8120
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
8345
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_capacity_topologies.py.html>`__ to see an example of how to use list_compute_capacity_topologies API.
|
8121
8346
|
"""
|
8122
8347
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8123
8348
|
required_arguments = ['compartmentId']
|
@@ -8298,7 +8523,7 @@ class ComputeClient(object):
|
|
8298
8523
|
:rtype: :class:`~oci.response.Response`
|
8299
8524
|
|
8300
8525
|
:example:
|
8301
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
8526
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.
|
8302
8527
|
"""
|
8303
8528
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8304
8529
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -8481,7 +8706,7 @@ class ComputeClient(object):
|
|
8481
8706
|
:rtype: :class:`~oci.response.Response`
|
8482
8707
|
|
8483
8708
|
:example:
|
8484
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
8709
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.
|
8485
8710
|
"""
|
8486
8711
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8487
8712
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -8663,7 +8888,7 @@ class ComputeClient(object):
|
|
8663
8888
|
:rtype: :class:`~oci.response.Response`
|
8664
8889
|
|
8665
8890
|
:example:
|
8666
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
8891
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.
|
8667
8892
|
"""
|
8668
8893
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8669
8894
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -8843,7 +9068,7 @@ class ComputeClient(object):
|
|
8843
9068
|
:rtype: :class:`~oci.response.Response`
|
8844
9069
|
|
8845
9070
|
:example:
|
8846
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
9071
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_clusters.py.html>`__ to see an example of how to use list_compute_clusters API.
|
8847
9072
|
"""
|
8848
9073
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8849
9074
|
required_arguments = ['compartmentId']
|
@@ -8996,7 +9221,7 @@ class ComputeClient(object):
|
|
8996
9221
|
:rtype: :class:`~oci.response.Response`
|
8997
9222
|
|
8998
9223
|
:example:
|
8999
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
9224
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/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.
|
9000
9225
|
"""
|
9001
9226
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9002
9227
|
required_arguments = ['computeGlobalImageCapabilitySchemaId']
|
@@ -9155,7 +9380,7 @@ class ComputeClient(object):
|
|
9155
9380
|
:rtype: :class:`~oci.response.Response`
|
9156
9381
|
|
9157
9382
|
:example:
|
9158
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
9383
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_global_image_capability_schemas.py.html>`__ to see an example of how to use list_compute_global_image_capability_schemas API.
|
9159
9384
|
"""
|
9160
9385
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9161
9386
|
required_arguments = []
|
@@ -9305,7 +9530,7 @@ class ComputeClient(object):
|
|
9305
9530
|
:rtype: :class:`~oci.response.Response`
|
9306
9531
|
|
9307
9532
|
:example:
|
9308
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
9533
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_gpu_memory_cluster_instances.py.html>`__ to see an example of how to use list_compute_gpu_memory_cluster_instances API.
|
9309
9534
|
"""
|
9310
9535
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9311
9536
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -9487,7 +9712,7 @@ class ComputeClient(object):
|
|
9487
9712
|
:rtype: :class:`~oci.response.Response`
|
9488
9713
|
|
9489
9714
|
:example:
|
9490
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
9715
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_gpu_memory_clusters.py.html>`__ to see an example of how to use list_compute_gpu_memory_clusters API.
|
9491
9716
|
"""
|
9492
9717
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9493
9718
|
required_arguments = ['compartmentId']
|
@@ -9678,7 +9903,7 @@ class ComputeClient(object):
|
|
9678
9903
|
:rtype: :class:`~oci.response.Response`
|
9679
9904
|
|
9680
9905
|
:example:
|
9681
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
9906
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_gpu_memory_fabrics.py.html>`__ to see an example of how to use list_compute_gpu_memory_fabrics API.
|
9682
9907
|
"""
|
9683
9908
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9684
9909
|
required_arguments = ['compartmentId']
|
@@ -9794,6 +10019,190 @@ class ComputeClient(object):
|
|
9794
10019
|
api_reference_link=api_reference_link,
|
9795
10020
|
required_arguments=required_arguments)
|
9796
10021
|
|
10022
|
+
def list_compute_hosts(self, compartment_id, **kwargs):
|
10023
|
+
"""
|
10024
|
+
Generates a list of summary host details
|
10025
|
+
|
10026
|
+
|
10027
|
+
:param str compartment_id: (required)
|
10028
|
+
The `OCID`__ of the compartment.
|
10029
|
+
|
10030
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
10031
|
+
|
10032
|
+
:param str opc_request_id: (optional)
|
10033
|
+
Unique identifier for the request.
|
10034
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
10035
|
+
|
10036
|
+
:param str availability_domain: (optional)
|
10037
|
+
The name of the availability domain.
|
10038
|
+
|
10039
|
+
Example: `Uocm:PHX-AD-1`
|
10040
|
+
|
10041
|
+
:param str display_name: (optional)
|
10042
|
+
A filter to return only resources that match the given display name exactly.
|
10043
|
+
|
10044
|
+
:param str network_resource_id: (optional)
|
10045
|
+
The `OCID`__ of the compute host network resoruce.
|
10046
|
+
- Customer-unique HPC island ID
|
10047
|
+
- Customer-unique network block ID
|
10048
|
+
- Customer-unique local block ID
|
10049
|
+
|
10050
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
10051
|
+
|
10052
|
+
:param int limit: (optional)
|
10053
|
+
For list pagination. The maximum number of results per page, or items to return in a paginated
|
10054
|
+
\"List\" call. For important details about how pagination works, see
|
10055
|
+
`List Pagination`__.
|
10056
|
+
|
10057
|
+
Example: `50`
|
10058
|
+
|
10059
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
10060
|
+
|
10061
|
+
:param str page: (optional)
|
10062
|
+
For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
10063
|
+
call. For important details about how pagination works, see
|
10064
|
+
`List Pagination`__.
|
10065
|
+
|
10066
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
10067
|
+
|
10068
|
+
:param str sort_by: (optional)
|
10069
|
+
The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
10070
|
+
TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
10071
|
+
sort order is case sensitive.
|
10072
|
+
|
10073
|
+
**Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
10074
|
+
optionally filter by availability domain if the scope of the resource type is within a
|
10075
|
+
single availability domain. If you call one of these \"List\" operations without specifying
|
10076
|
+
an availability domain, the resources are grouped by availability domain, then sorted.
|
10077
|
+
|
10078
|
+
Allowed values are: "TIMECREATED", "DISPLAYNAME"
|
10079
|
+
|
10080
|
+
:param str sort_order: (optional)
|
10081
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
10082
|
+
is case sensitive.
|
10083
|
+
|
10084
|
+
Allowed values are: "ASC", "DESC"
|
10085
|
+
|
10086
|
+
:param str compute_host_lifecycle_state: (optional)
|
10087
|
+
A filter to return only ComputeHostSummary resources that match the given Compute Host lifecycle State OCID exactly.
|
10088
|
+
|
10089
|
+
:param str compute_host_health: (optional)
|
10090
|
+
A filter to return only ComputeHostSummary resources that match the given Compute Host health State OCID exactly.
|
10091
|
+
|
10092
|
+
:param obj retry_strategy: (optional)
|
10093
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
10094
|
+
|
10095
|
+
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.
|
10096
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
10097
|
+
|
10098
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
10099
|
+
|
10100
|
+
:param bool allow_control_chars: (optional)
|
10101
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
10102
|
+
By default, the response will not allow control characters in strings
|
10103
|
+
|
10104
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHostCollection`
|
10105
|
+
:rtype: :class:`~oci.response.Response`
|
10106
|
+
|
10107
|
+
:example:
|
10108
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_hosts.py.html>`__ to see an example of how to use list_compute_hosts API.
|
10109
|
+
"""
|
10110
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10111
|
+
required_arguments = ['compartmentId']
|
10112
|
+
resource_path = "/computeHosts"
|
10113
|
+
method = "GET"
|
10114
|
+
operation_name = "list_compute_hosts"
|
10115
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ListComputeHosts"
|
10116
|
+
|
10117
|
+
# Don't accept unknown kwargs
|
10118
|
+
expected_kwargs = [
|
10119
|
+
"allow_control_chars",
|
10120
|
+
"retry_strategy",
|
10121
|
+
"opc_request_id",
|
10122
|
+
"availability_domain",
|
10123
|
+
"display_name",
|
10124
|
+
"network_resource_id",
|
10125
|
+
"limit",
|
10126
|
+
"page",
|
10127
|
+
"sort_by",
|
10128
|
+
"sort_order",
|
10129
|
+
"compute_host_lifecycle_state",
|
10130
|
+
"compute_host_health"
|
10131
|
+
]
|
10132
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
10133
|
+
if extra_kwargs:
|
10134
|
+
raise ValueError(
|
10135
|
+
f"list_compute_hosts got unknown kwargs: {extra_kwargs!r}")
|
10136
|
+
|
10137
|
+
if 'sort_by' in kwargs:
|
10138
|
+
sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
|
10139
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
10140
|
+
raise ValueError(
|
10141
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
10142
|
+
)
|
10143
|
+
|
10144
|
+
if 'sort_order' in kwargs:
|
10145
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
10146
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
10147
|
+
raise ValueError(
|
10148
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
10149
|
+
)
|
10150
|
+
|
10151
|
+
query_params = {
|
10152
|
+
"availabilityDomain": kwargs.get("availability_domain", missing),
|
10153
|
+
"compartmentId": compartment_id,
|
10154
|
+
"displayName": kwargs.get("display_name", missing),
|
10155
|
+
"networkResourceId": kwargs.get("network_resource_id", missing),
|
10156
|
+
"limit": kwargs.get("limit", missing),
|
10157
|
+
"page": kwargs.get("page", missing),
|
10158
|
+
"sortBy": kwargs.get("sort_by", missing),
|
10159
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
10160
|
+
"computeHostLifecycleState": kwargs.get("compute_host_lifecycle_state", missing),
|
10161
|
+
"computeHostHealth": kwargs.get("compute_host_health", missing)
|
10162
|
+
}
|
10163
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
10164
|
+
|
10165
|
+
header_params = {
|
10166
|
+
"accept": "application/json, application/x-json-stream",
|
10167
|
+
"content-type": "application/json",
|
10168
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
10169
|
+
}
|
10170
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
10171
|
+
|
10172
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
10173
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
10174
|
+
client_retry_strategy=self.retry_strategy
|
10175
|
+
)
|
10176
|
+
if retry_strategy is None:
|
10177
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
10178
|
+
|
10179
|
+
if retry_strategy:
|
10180
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
10181
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
10182
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
10183
|
+
return retry_strategy.make_retrying_call(
|
10184
|
+
self.base_client.call_api,
|
10185
|
+
resource_path=resource_path,
|
10186
|
+
method=method,
|
10187
|
+
query_params=query_params,
|
10188
|
+
header_params=header_params,
|
10189
|
+
response_type="ComputeHostCollection",
|
10190
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10191
|
+
operation_name=operation_name,
|
10192
|
+
api_reference_link=api_reference_link,
|
10193
|
+
required_arguments=required_arguments)
|
10194
|
+
else:
|
10195
|
+
return self.base_client.call_api(
|
10196
|
+
resource_path=resource_path,
|
10197
|
+
method=method,
|
10198
|
+
query_params=query_params,
|
10199
|
+
header_params=header_params,
|
10200
|
+
response_type="ComputeHostCollection",
|
10201
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10202
|
+
operation_name=operation_name,
|
10203
|
+
api_reference_link=api_reference_link,
|
10204
|
+
required_arguments=required_arguments)
|
10205
|
+
|
9797
10206
|
def list_compute_image_capability_schemas(self, **kwargs):
|
9798
10207
|
"""
|
9799
10208
|
Lists Compute Image Capability Schema in the specified compartment. You can also query by a specific imageId.
|
@@ -9860,7 +10269,7 @@ class ComputeClient(object):
|
|
9860
10269
|
:rtype: :class:`~oci.response.Response`
|
9861
10270
|
|
9862
10271
|
:example:
|
9863
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
10272
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_compute_image_capability_schemas.py.html>`__ to see an example of how to use list_compute_image_capability_schemas API.
|
9864
10273
|
"""
|
9865
10274
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9866
10275
|
required_arguments = []
|
@@ -10024,7 +10433,7 @@ class ComputeClient(object):
|
|
10024
10433
|
:rtype: :class:`~oci.response.Response`
|
10025
10434
|
|
10026
10435
|
:example:
|
10027
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
10436
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_console_histories.py.html>`__ to see an example of how to use list_console_histories API.
|
10028
10437
|
"""
|
10029
10438
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10030
10439
|
required_arguments = ['compartmentId']
|
@@ -10175,7 +10584,7 @@ class ComputeClient(object):
|
|
10175
10584
|
:rtype: :class:`~oci.response.Response`
|
10176
10585
|
|
10177
10586
|
:example:
|
10178
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
10587
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_dedicated_vm_host_instance_shapes.py.html>`__ to see an example of how to use list_dedicated_vm_host_instance_shapes API.
|
10179
10588
|
"""
|
10180
10589
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10181
10590
|
required_arguments = ['compartmentId']
|
@@ -10319,7 +10728,7 @@ class ComputeClient(object):
|
|
10319
10728
|
:rtype: :class:`~oci.response.Response`
|
10320
10729
|
|
10321
10730
|
:example:
|
10322
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
10731
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_dedicated_vm_host_instances.py.html>`__ to see an example of how to use list_dedicated_vm_host_instances API.
|
10323
10732
|
"""
|
10324
10733
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10325
10734
|
required_arguments = ['dedicatedVmHostId', 'compartmentId']
|
@@ -10473,7 +10882,7 @@ class ComputeClient(object):
|
|
10473
10882
|
:rtype: :class:`~oci.response.Response`
|
10474
10883
|
|
10475
10884
|
:example:
|
10476
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
10885
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_dedicated_vm_host_shapes.py.html>`__ to see an example of how to use list_dedicated_vm_host_shapes API.
|
10477
10886
|
"""
|
10478
10887
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10479
10888
|
required_arguments = ['compartmentId']
|
@@ -10634,7 +11043,7 @@ class ComputeClient(object):
|
|
10634
11043
|
:rtype: :class:`~oci.response.Response`
|
10635
11044
|
|
10636
11045
|
:example:
|
10637
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
11046
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_dedicated_vm_hosts.py.html>`__ to see an example of how to use list_dedicated_vm_hosts API.
|
10638
11047
|
"""
|
10639
11048
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10640
11049
|
required_arguments = ['compartmentId']
|
@@ -10785,7 +11194,7 @@ class ComputeClient(object):
|
|
10785
11194
|
:rtype: :class:`~oci.response.Response`
|
10786
11195
|
|
10787
11196
|
:example:
|
10788
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
11197
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_image_shape_compatibility_entries.py.html>`__ to see an example of how to use list_image_shape_compatibility_entries API.
|
10789
11198
|
"""
|
10790
11199
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10791
11200
|
required_arguments = ['imageId']
|
@@ -10961,7 +11370,7 @@ class ComputeClient(object):
|
|
10961
11370
|
:rtype: :class:`~oci.response.Response`
|
10962
11371
|
|
10963
11372
|
:example:
|
10964
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
11373
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_images.py.html>`__ to see an example of how to use list_images API.
|
10965
11374
|
"""
|
10966
11375
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10967
11376
|
required_arguments = ['compartmentId']
|
@@ -11112,7 +11521,7 @@ class ComputeClient(object):
|
|
11112
11521
|
:rtype: :class:`~oci.response.Response`
|
11113
11522
|
|
11114
11523
|
:example:
|
11115
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
11524
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_instance_console_connections.py.html>`__ to see an example of how to use list_instance_console_connections API.
|
11116
11525
|
"""
|
11117
11526
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11118
11527
|
required_arguments = ['compartmentId']
|
@@ -11249,7 +11658,7 @@ class ComputeClient(object):
|
|
11249
11658
|
:rtype: :class:`~oci.response.Response`
|
11250
11659
|
|
11251
11660
|
:example:
|
11252
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
11661
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_instance_devices.py.html>`__ to see an example of how to use list_instance_devices API.
|
11253
11662
|
"""
|
11254
11663
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11255
11664
|
required_arguments = ['instanceId']
|
@@ -11438,7 +11847,7 @@ class ComputeClient(object):
|
|
11438
11847
|
:rtype: :class:`~oci.response.Response`
|
11439
11848
|
|
11440
11849
|
:example:
|
11441
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
11850
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_instance_maintenance_events.py.html>`__ to see an example of how to use list_instance_maintenance_events API.
|
11442
11851
|
"""
|
11443
11852
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11444
11853
|
required_arguments = ['compartmentId']
|
@@ -11633,7 +12042,7 @@ class ComputeClient(object):
|
|
11633
12042
|
:rtype: :class:`~oci.response.Response`
|
11634
12043
|
|
11635
12044
|
:example:
|
11636
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
12045
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_instances.py.html>`__ to see an example of how to use list_instances API.
|
11637
12046
|
"""
|
11638
12047
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11639
12048
|
required_arguments = ['compartmentId']
|
@@ -11786,7 +12195,7 @@ class ComputeClient(object):
|
|
11786
12195
|
:rtype: :class:`~oci.response.Response`
|
11787
12196
|
|
11788
12197
|
:example:
|
11789
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
12198
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_shapes.py.html>`__ to see an example of how to use list_shapes API.
|
11790
12199
|
"""
|
11791
12200
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11792
12201
|
required_arguments = ['compartmentId']
|
@@ -11910,7 +12319,7 @@ class ComputeClient(object):
|
|
11910
12319
|
:rtype: :class:`~oci.response.Response`
|
11911
12320
|
|
11912
12321
|
:example:
|
11913
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
12322
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_vnic_attachments.py.html>`__ to see an example of how to use list_vnic_attachments API.
|
11914
12323
|
"""
|
11915
12324
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11916
12325
|
required_arguments = ['compartmentId']
|
@@ -12038,7 +12447,7 @@ class ComputeClient(object):
|
|
12038
12447
|
:rtype: :class:`~oci.response.Response`
|
12039
12448
|
|
12040
12449
|
:example:
|
12041
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
12450
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/list_volume_attachments.py.html>`__ to see an example of how to use list_volume_attachments API.
|
12042
12451
|
"""
|
12043
12452
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12044
12453
|
required_arguments = ['compartmentId']
|
@@ -12138,7 +12547,7 @@ class ComputeClient(object):
|
|
12138
12547
|
:rtype: :class:`~oci.response.Response`
|
12139
12548
|
|
12140
12549
|
:example:
|
12141
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
12550
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/remove_image_shape_compatibility_entry.py.html>`__ to see an example of how to use remove_image_shape_compatibility_entry API.
|
12142
12551
|
"""
|
12143
12552
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12144
12553
|
required_arguments = ['imageId', 'shapeName']
|
@@ -12250,7 +12659,7 @@ class ComputeClient(object):
|
|
12250
12659
|
:rtype: :class:`~oci.response.Response`
|
12251
12660
|
|
12252
12661
|
:example:
|
12253
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
12662
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/terminate_instance.py.html>`__ to see an example of how to use terminate_instance API.
|
12254
12663
|
"""
|
12255
12664
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12256
12665
|
required_arguments = ['instanceId']
|
@@ -12365,7 +12774,7 @@ class ComputeClient(object):
|
|
12365
12774
|
:rtype: :class:`~oci.response.Response`
|
12366
12775
|
|
12367
12776
|
:example:
|
12368
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
12777
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_compute_capacity_reservation.py.html>`__ to see an example of how to use update_compute_capacity_reservation API.
|
12369
12778
|
"""
|
12370
12779
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12371
12780
|
required_arguments = ['capacityReservationId']
|
@@ -12474,7 +12883,7 @@ class ComputeClient(object):
|
|
12474
12883
|
:rtype: :class:`~oci.response.Response`
|
12475
12884
|
|
12476
12885
|
:example:
|
12477
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
12886
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_compute_capacity_topology.py.html>`__ to see an example of how to use update_compute_capacity_topology API.
|
12478
12887
|
"""
|
12479
12888
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12480
12889
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -12604,7 +13013,7 @@ class ComputeClient(object):
|
|
12604
13013
|
:rtype: :class:`~oci.response.Response`
|
12605
13014
|
|
12606
13015
|
:example:
|
12607
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
13016
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_compute_cluster.py.html>`__ to see an example of how to use update_compute_cluster API.
|
12608
13017
|
"""
|
12609
13018
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12610
13019
|
required_arguments = ['computeClusterId']
|
@@ -12723,7 +13132,7 @@ class ComputeClient(object):
|
|
12723
13132
|
:rtype: :class:`~oci.response.Response`
|
12724
13133
|
|
12725
13134
|
:example:
|
12726
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
13135
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_compute_gpu_memory_cluster.py.html>`__ to see an example of how to use update_compute_gpu_memory_cluster API.
|
12727
13136
|
"""
|
12728
13137
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12729
13138
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -12844,7 +13253,7 @@ class ComputeClient(object):
|
|
12844
13253
|
:rtype: :class:`~oci.response.Response`
|
12845
13254
|
|
12846
13255
|
:example:
|
12847
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
13256
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_compute_gpu_memory_fabric.py.html>`__ to see an example of how to use update_compute_gpu_memory_fabric API.
|
12848
13257
|
"""
|
12849
13258
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12850
13259
|
required_arguments = ['computeGpuMemoryFabricId']
|
@@ -12922,6 +13331,117 @@ class ComputeClient(object):
|
|
12922
13331
|
api_reference_link=api_reference_link,
|
12923
13332
|
required_arguments=required_arguments)
|
12924
13333
|
|
13334
|
+
def update_compute_host(self, compute_host_id, update_compute_host_details, **kwargs):
|
13335
|
+
"""
|
13336
|
+
Customer can update the some fields for ComputeHost record
|
13337
|
+
|
13338
|
+
|
13339
|
+
:param str compute_host_id: (required)
|
13340
|
+
The `OCID`__ of the compute host.
|
13341
|
+
|
13342
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
13343
|
+
|
13344
|
+
:param oci.core.models.UpdateComputeHostDetails update_compute_host_details: (required)
|
13345
|
+
Update compute capacity topology details.
|
13346
|
+
|
13347
|
+
:param str if_match: (optional)
|
13348
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
13349
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
13350
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
13351
|
+
|
13352
|
+
:param str opc_request_id: (optional)
|
13353
|
+
Unique identifier for the request.
|
13354
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
13355
|
+
|
13356
|
+
:param obj retry_strategy: (optional)
|
13357
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
13358
|
+
|
13359
|
+
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.
|
13360
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
13361
|
+
|
13362
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
13363
|
+
|
13364
|
+
:param bool allow_control_chars: (optional)
|
13365
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
13366
|
+
By default, the response will not allow control characters in strings
|
13367
|
+
|
13368
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
13369
|
+
:rtype: :class:`~oci.response.Response`
|
13370
|
+
|
13371
|
+
:example:
|
13372
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_compute_host.py.html>`__ to see an example of how to use update_compute_host API.
|
13373
|
+
"""
|
13374
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13375
|
+
required_arguments = ['computeHostId']
|
13376
|
+
resource_path = "/computeHosts/{computeHostId}"
|
13377
|
+
method = "PUT"
|
13378
|
+
operation_name = "update_compute_host"
|
13379
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/UpdateComputeHost"
|
13380
|
+
|
13381
|
+
# Don't accept unknown kwargs
|
13382
|
+
expected_kwargs = [
|
13383
|
+
"allow_control_chars",
|
13384
|
+
"retry_strategy",
|
13385
|
+
"if_match",
|
13386
|
+
"opc_request_id"
|
13387
|
+
]
|
13388
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
13389
|
+
if extra_kwargs:
|
13390
|
+
raise ValueError(
|
13391
|
+
f"update_compute_host got unknown kwargs: {extra_kwargs!r}")
|
13392
|
+
|
13393
|
+
path_params = {
|
13394
|
+
"computeHostId": compute_host_id
|
13395
|
+
}
|
13396
|
+
|
13397
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
13398
|
+
|
13399
|
+
for (k, v) in six.iteritems(path_params):
|
13400
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
13401
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
13402
|
+
|
13403
|
+
header_params = {
|
13404
|
+
"accept": "application/json",
|
13405
|
+
"content-type": "application/json",
|
13406
|
+
"if-match": kwargs.get("if_match", missing),
|
13407
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
13408
|
+
}
|
13409
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
13410
|
+
|
13411
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
13412
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
13413
|
+
client_retry_strategy=self.retry_strategy
|
13414
|
+
)
|
13415
|
+
if retry_strategy is None:
|
13416
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
13417
|
+
|
13418
|
+
if retry_strategy:
|
13419
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
13420
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
13421
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
13422
|
+
return retry_strategy.make_retrying_call(
|
13423
|
+
self.base_client.call_api,
|
13424
|
+
resource_path=resource_path,
|
13425
|
+
method=method,
|
13426
|
+
path_params=path_params,
|
13427
|
+
header_params=header_params,
|
13428
|
+
body=update_compute_host_details,
|
13429
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
13430
|
+
operation_name=operation_name,
|
13431
|
+
api_reference_link=api_reference_link,
|
13432
|
+
required_arguments=required_arguments)
|
13433
|
+
else:
|
13434
|
+
return self.base_client.call_api(
|
13435
|
+
resource_path=resource_path,
|
13436
|
+
method=method,
|
13437
|
+
path_params=path_params,
|
13438
|
+
header_params=header_params,
|
13439
|
+
body=update_compute_host_details,
|
13440
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
13441
|
+
operation_name=operation_name,
|
13442
|
+
api_reference_link=api_reference_link,
|
13443
|
+
required_arguments=required_arguments)
|
13444
|
+
|
12925
13445
|
def update_compute_image_capability_schema(self, compute_image_capability_schema_id, update_compute_image_capability_schema_details, **kwargs):
|
12926
13446
|
"""
|
12927
13447
|
Updates the specified Compute Image Capability Schema
|
@@ -12954,7 +13474,7 @@ class ComputeClient(object):
|
|
12954
13474
|
:rtype: :class:`~oci.response.Response`
|
12955
13475
|
|
12956
13476
|
:example:
|
12957
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
13477
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_compute_image_capability_schema.py.html>`__ to see an example of how to use update_compute_image_capability_schema API.
|
12958
13478
|
"""
|
12959
13479
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12960
13480
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -13057,7 +13577,7 @@ class ComputeClient(object):
|
|
13057
13577
|
:rtype: :class:`~oci.response.Response`
|
13058
13578
|
|
13059
13579
|
:example:
|
13060
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
13580
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_console_history.py.html>`__ to see an example of how to use update_console_history API.
|
13061
13581
|
"""
|
13062
13582
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13063
13583
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -13172,7 +13692,7 @@ class ComputeClient(object):
|
|
13172
13692
|
:rtype: :class:`~oci.response.Response`
|
13173
13693
|
|
13174
13694
|
:example:
|
13175
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
13695
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_dedicated_vm_host.py.html>`__ to see an example of how to use update_dedicated_vm_host API.
|
13176
13696
|
"""
|
13177
13697
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13178
13698
|
required_arguments = ['dedicatedVmHostId']
|
@@ -13289,7 +13809,7 @@ class ComputeClient(object):
|
|
13289
13809
|
:rtype: :class:`~oci.response.Response`
|
13290
13810
|
|
13291
13811
|
:example:
|
13292
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
13812
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_image.py.html>`__ to see an example of how to use update_image API.
|
13293
13813
|
"""
|
13294
13814
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13295
13815
|
required_arguments = ['imageId']
|
@@ -13410,7 +13930,7 @@ class ComputeClient(object):
|
|
13410
13930
|
:rtype: :class:`~oci.response.Response`
|
13411
13931
|
|
13412
13932
|
:example:
|
13413
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
13933
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_instance.py.html>`__ to see an example of how to use update_instance API.
|
13414
13934
|
"""
|
13415
13935
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13416
13936
|
required_arguments = ['instanceId']
|
@@ -13520,7 +14040,7 @@ class ComputeClient(object):
|
|
13520
14040
|
:rtype: :class:`~oci.response.Response`
|
13521
14041
|
|
13522
14042
|
:example:
|
13523
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
14043
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_instance_console_connection.py.html>`__ to see an example of how to use update_instance_console_connection API.
|
13524
14044
|
"""
|
13525
14045
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13526
14046
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -13636,7 +14156,7 @@ class ComputeClient(object):
|
|
13636
14156
|
:rtype: :class:`~oci.response.Response`
|
13637
14157
|
|
13638
14158
|
:example:
|
13639
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
14159
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_instance_maintenance_event.py.html>`__ to see an example of how to use update_instance_maintenance_event API.
|
13640
14160
|
"""
|
13641
14161
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13642
14162
|
required_arguments = ['instanceMaintenanceEventId']
|
@@ -13748,7 +14268,7 @@ class ComputeClient(object):
|
|
13748
14268
|
:rtype: :class:`~oci.response.Response`
|
13749
14269
|
|
13750
14270
|
:example:
|
13751
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.
|
14271
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.2/core/update_volume_attachment.py.html>`__ to see an example of how to use update_volume_attachment API.
|
13752
14272
|
"""
|
13753
14273
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13754
14274
|
required_arguments = ['volumeAttachmentId']
|