oci 2.152.0__py3-none-any.whl → 2.153.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/addons/adk/auth/__init__.py +2 -0
- oci/addons/adk/auth/oci/__init__.py +2 -0
- oci/addons/adk/run/__init__.py +2 -0
- oci/addons/adk/tool/function_tool.py +2 -1
- oci/adm/application_dependency_management_client.py +38 -38
- oci/adm/models/application_dependency.py +4 -3
- oci/adm/models/application_dependency_recommendation_summary.py +4 -4
- oci/adm/models/application_dependency_vulnerability_summary.py +57 -6
- oci/adm/models/detect_configuration.py +7 -7
- oci/adm/models/network_configuration.py +1 -2
- oci/adm/models/vulnerability.py +8 -4
- 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 +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +30 -30
- oci/apm_synthetics/models/create_script_details.py +10 -6
- oci/apm_synthetics/models/monitor.py +51 -0
- oci/apm_synthetics/models/monitor_result.py +2 -2
- oci/apm_synthetics/models/script.py +9 -5
- oci/apm_synthetics/models/script_summary.py +7 -3
- oci/apm_synthetics/models/update_script_details.py +10 -6
- 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 +578 -86
- oci/bds/bds_client_composite_operations.py +42 -0
- oci/bds/models/__init__.py +26 -0
- oci/bds/models/bds_capacity_report.py +132 -0
- oci/bds/models/bds_software_update.py +109 -0
- oci/bds/models/capacity_availability.py +121 -0
- oci/bds/models/capacity_report_shape_availability.py +128 -0
- oci/bds/models/create_bds_capacity_report_details.py +101 -0
- oci/bds/models/create_capacity_report_shape_availability_details.py +97 -0
- oci/bds/models/domain_type_capacity_report.py +107 -0
- oci/bds/models/install_os_patch_details.py +33 -2
- oci/bds/models/install_software_updates_details.py +70 -0
- oci/bds/models/multi_ad_capacity_report.py +107 -0
- oci/bds/models/os_patch_package_summary.py +57 -2
- oci/bds/models/patch_history_summary.py +13 -7
- oci/bds/models/single_ad_capacity_report.py +107 -0
- oci/bds/models/software_update.py +253 -0
- oci/bds/models/software_update_collection.py +70 -0
- oci/bds/models/software_update_summary.py +194 -0
- oci/bds/models/work_request.py +7 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/__init__.py +5 -1
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/capacity_management/demand_signal_client.py +1645 -0
- oci/capacity_management/demand_signal_client_composite_operations.py +318 -0
- oci/capacity_management/internal_demand_signal_client.py +1605 -0
- oci/capacity_management/internal_demand_signal_client_composite_operations.py +172 -0
- oci/capacity_management/models/__init__.py +79 -1
- oci/capacity_management/models/bulk_create_occm_demand_signal_item.py +400 -0
- oci/capacity_management/models/bulk_create_occm_demand_signal_item_details.py +101 -0
- oci/capacity_management/models/create_internal_occm_demand_signal_delivery_details.py +322 -0
- oci/capacity_management/models/create_occm_demand_signal_details.py +198 -0
- oci/capacity_management/models/create_occm_demand_signal_item_details.py +462 -0
- oci/capacity_management/models/internal_occm_demand_signal.py +431 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource.py +620 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_summary.py +588 -0
- oci/capacity_management/models/internal_occm_demand_signal_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery.py +555 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery_summary.py +495 -0
- oci/capacity_management/models/internal_occm_demand_signal_item_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_item_summary.py +674 -0
- oci/capacity_management/models/internal_occm_demand_signal_summary.py +431 -0
- oci/capacity_management/models/occm_demand_signal.py +464 -0
- oci/capacity_management/models/occm_demand_signal_catalog.py +418 -0
- oci/capacity_management/models/occm_demand_signal_catalog_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource.py +558 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource_summary.py +526 -0
- oci/capacity_management/models/occm_demand_signal_catalog_summary.py +386 -0
- oci/capacity_management/models/occm_demand_signal_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_delivery_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_delivery_summary.py +481 -0
- oci/capacity_management/models/occm_demand_signal_item.py +675 -0
- oci/capacity_management/models/occm_demand_signal_item_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_item_summary.py +643 -0
- oci/capacity_management/models/occm_demand_signal_resource_properties_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_resource_properties_summary.py +256 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_constraints_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_constraints_summary.py +101 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_option_summary.py +101 -0
- oci/capacity_management/models/occm_demand_signal_summary.py +400 -0
- oci/capacity_management/models/update_internal_occm_demand_signal_delivery_details.py +260 -0
- oci/capacity_management/models/update_internal_occm_demand_signal_details.py +98 -0
- oci/capacity_management/models/update_occm_demand_signal_details.py +210 -0
- oci/capacity_management/models/update_occm_demand_signal_item_details.py +326 -0
- 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 +46 -46
- oci/container_engine/models/cluster.py +33 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +1095 -163
- oci/core/compute_client_composite_operations.py +403 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +30 -0
- oci/core/models/attach_compute_host_group_host_details.py +74 -0
- oci/core/models/change_compute_host_group_compartment_details.py +76 -0
- oci/core/models/compute_bare_metal_host_placement_constraint_details.py +79 -0
- oci/core/models/compute_host.py +191 -0
- oci/core/models/compute_host_configuration_check_details.py +243 -0
- oci/core/models/compute_host_configuration_data.py +97 -0
- oci/core/models/compute_host_group.py +483 -0
- oci/core/models/compute_host_group_collection.py +70 -0
- oci/core/models/compute_host_group_summary.py +428 -0
- oci/core/models/compute_host_summary.py +62 -0
- oci/core/models/create_compute_host_group_details.py +282 -0
- oci/core/models/create_dedicated_vm_host_details.py +29 -2
- oci/core/models/create_ipv6_details.py +4 -4
- oci/core/models/create_local_peering_gateway_details.py +45 -0
- oci/core/models/create_private_ip_details.py +4 -4
- oci/core/models/create_vcn_details.py +33 -2
- oci/core/models/create_volume_details.py +8 -2
- oci/core/models/dedicated_vm_host.py +27 -0
- oci/core/models/detach_compute_host_group_host_details.py +74 -0
- oci/core/models/host_group_configuration.py +152 -0
- oci/core/models/host_group_placement_constraint_details.py +79 -0
- oci/core/models/instance.py +64 -2
- oci/core/models/instance_configuration_create_volume_details.py +8 -2
- oci/core/models/ipv6.py +4 -4
- oci/core/models/launch_instance_details.py +58 -0
- oci/core/models/local_peering_gateway.py +45 -0
- oci/core/models/placement_constraint_details.py +91 -0
- oci/core/models/private_ip.py +4 -4
- oci/core/models/recycle_details.py +125 -0
- oci/core/models/update_compute_host_group_details.py +216 -0
- oci/core/models/update_ipv6_details.py +4 -4
- oci/core/models/update_local_peering_gateway_details.py +45 -0
- oci/core/models/update_private_ip_details.py +4 -4
- oci/core/models/update_vcn_details.py +33 -2
- oci/core/models/update_vnic_details.py +2 -2
- oci/core/models/update_volume_details.py +8 -2
- oci/core/models/vcn.py +33 -2
- oci/core/models/vnic.py +2 -2
- oci/core/models/volume.py +8 -2
- oci/core/virtual_network_client.py +260 -260
- 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 +145 -145
- oci/database/database_client.py +795 -508
- oci/database/models/__init__.py +2 -0
- oci/database/models/autonomous_container_database.py +2 -2
- oci/database/models/autonomous_container_database_summary.py +2 -2
- oci/database/models/autonomous_db_version_summary.py +31 -0
- oci/database/models/backup.py +11 -5
- oci/database/models/backup_summary.py +11 -5
- oci/database/models/create_database_base.py +1 -1
- oci/database/models/create_external_backup_job_details.py +11 -7
- oci/database/models/db_system.py +11 -5
- oci/database/models/db_system_summary.py +11 -5
- oci/database/models/db_system_upgrade_summary.py +152 -0
- oci/database/models/external_container_database.py +11 -5
- oci/database/models/external_container_database_summary.py +11 -5
- oci/database/models/external_database_base.py +11 -5
- oci/database/models/external_non_container_database.py +11 -5
- oci/database/models/external_non_container_database_summary.py +11 -5
- oci/database/models/external_pluggable_database.py +11 -5
- oci/database/models/external_pluggable_database_summary.py +11 -5
- oci/database/models/launch_db_system_details.py +7 -3
- oci/database/models/launch_db_system_from_backup_details.py +7 -3
- oci/database/models/launch_db_system_from_database_details.py +7 -3
- oci/database_management/db_management_client.py +229 -229
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +14 -14
- 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/distributed_database/__init__.py +20 -0
- oci/distributed_database/distributed_autonomous_db_service_client.py +2315 -0
- oci/distributed_database/distributed_autonomous_db_service_client_composite_operations.py +605 -0
- oci/distributed_database/distributed_db_private_endpoint_service_client.py +944 -0
- oci/distributed_database/distributed_db_private_endpoint_service_client_composite_operations.py +238 -0
- oci/distributed_database/distributed_db_service_client.py +2435 -0
- oci/distributed_database/distributed_db_service_client_composite_operations.py +647 -0
- oci/distributed_database/distributed_db_work_request_service_client.py +654 -0
- oci/distributed_database/distributed_db_work_request_service_client_composite_operations.py +26 -0
- oci/distributed_database/models/__init__.py +158 -0
- oci/distributed_database/models/add_distributed_autonomous_database_gds_control_node_details.py +105 -0
- oci/distributed_database/models/add_distributed_database_gds_control_node_details.py +105 -0
- oci/distributed_database/models/catalog_peer_with_dedicated_infra.py +331 -0
- oci/distributed_database/models/catalog_peer_with_exadb_xs.py +331 -0
- oci/distributed_database/models/change_distributed_autonomous_database_compartment_details.py +74 -0
- oci/distributed_database/models/change_distributed_database_compartment_details.py +74 -0
- oci/distributed_database/models/change_distributed_database_private_endpoint_compartment_details.py +74 -0
- oci/distributed_database/models/change_distributed_db_backup_config_details.py +66 -0
- oci/distributed_database/models/configure_distributed_autonomous_database_gsms_details.py +103 -0
- oci/distributed_database/models/configure_distributed_database_gsms_details.py +103 -0
- oci/distributed_database/models/create_distributed_autonomous_database_catalog_details.py +101 -0
- oci/distributed_database/models/create_distributed_autonomous_database_catalog_with_dedicated_infra_details.py +342 -0
- oci/distributed_database/models/create_distributed_autonomous_database_details.py +799 -0
- oci/distributed_database/models/create_distributed_autonomous_database_shard_details.py +101 -0
- oci/distributed_database/models/create_distributed_autonomous_database_shard_with_dedicated_infra_details.py +377 -0
- oci/distributed_database/models/create_distributed_database_catalog_details.py +99 -0
- oci/distributed_database/models/create_distributed_database_catalog_with_exadb_xs_details.py +282 -0
- oci/distributed_database/models/create_distributed_database_details.py +810 -0
- oci/distributed_database/models/create_distributed_database_private_endpoint_details.py +260 -0
- oci/distributed_database/models/create_distributed_database_shard_details.py +99 -0
- oci/distributed_database/models/create_distributed_database_shard_with_exadb_xs_details.py +282 -0
- oci/distributed_database/models/distributed_autonomous_database.py +1143 -0
- oci/distributed_database/models/distributed_autonomous_database_associated_with_private_endpoint.py +105 -0
- oci/distributed_database/models/distributed_autonomous_database_catalog.py +194 -0
- oci/distributed_database/models/distributed_autonomous_database_catalog_with_dedicated_infra.py +559 -0
- oci/distributed_database/models/distributed_autonomous_database_collection.py +70 -0
- oci/distributed_database/models/distributed_autonomous_database_connection_string.py +70 -0
- oci/distributed_database/models/distributed_autonomous_database_gsm.py +385 -0
- oci/distributed_database/models/distributed_autonomous_database_gsm_image.py +105 -0
- oci/distributed_database/models/distributed_autonomous_database_shard.py +194 -0
- oci/distributed_database/models/distributed_autonomous_database_shard_with_dedicated_infra.py +592 -0
- oci/distributed_database/models/distributed_autonomous_database_summary.py +935 -0
- oci/distributed_database/models/distributed_autonomous_db_metadata.py +70 -0
- oci/distributed_database/models/distributed_database.py +1154 -0
- oci/distributed_database/models/distributed_database_associated_with_private_endpoint.py +105 -0
- oci/distributed_database/models/distributed_database_catalog.py +192 -0
- oci/distributed_database/models/distributed_database_catalog_with_exadb_xs.py +466 -0
- oci/distributed_database/models/distributed_database_collection.py +70 -0
- oci/distributed_database/models/distributed_database_gsm.py +385 -0
- oci/distributed_database/models/distributed_database_private_endpoint.py +639 -0
- oci/distributed_database/models/distributed_database_private_endpoint_collection.py +70 -0
- oci/distributed_database/models/distributed_database_private_endpoint_summary.py +479 -0
- oci/distributed_database/models/distributed_database_shard.py +192 -0
- oci/distributed_database/models/distributed_database_shard_with_exadb_xs.py +499 -0
- oci/distributed_database/models/distributed_database_summary.py +904 -0
- oci/distributed_database/models/distributed_db_backup_config.py +536 -0
- oci/distributed_database/models/distributed_db_backup_destination.py +362 -0
- oci/distributed_database/models/distributed_db_connection_string.py +70 -0
- oci/distributed_database/models/distributed_db_gsm_image.py +105 -0
- oci/distributed_database/models/distributed_db_metadata.py +70 -0
- oci/distributed_database/models/generate_distributed_autonomous_database_wallet_details.py +70 -0
- oci/distributed_database/models/generate_distributed_database_wallet_details.py +70 -0
- oci/distributed_database/models/patch_distributed_autonomous_database_details.py +73 -0
- oci/distributed_database/models/patch_distributed_database_details.py +73 -0
- oci/distributed_database/models/patch_insert_instruction.py +87 -0
- oci/distributed_database/models/patch_instruction.py +154 -0
- oci/distributed_database/models/patch_merge_instruction.py +95 -0
- oci/distributed_database/models/patch_remove_instruction.py +57 -0
- oci/distributed_database/models/shard_peer_with_dedicated_infra.py +331 -0
- oci/distributed_database/models/shard_peer_with_exadb_xs.py +331 -0
- oci/distributed_database/models/update_distributed_autonomous_database_details.py +136 -0
- oci/distributed_database/models/update_distributed_database_details.py +136 -0
- oci/distributed_database/models/update_distributed_database_private_endpoint_details.py +198 -0
- oci/distributed_database/models/upload_distributed_autonomous_database_signed_certificate_and_generate_wallet_details.py +71 -0
- oci/distributed_database/models/upload_distributed_database_signed_certificate_and_generate_wallet_details.py +71 -0
- oci/distributed_database/models/work_request.py +516 -0
- oci/distributed_database/models/work_request_error.py +134 -0
- oci/distributed_database/models/work_request_error_collection.py +70 -0
- oci/distributed_database/models/work_request_log_entry.py +101 -0
- oci/distributed_database/models/work_request_log_entry_collection.py +70 -0
- oci/distributed_database/models/work_request_resource.py +232 -0
- oci/distributed_database/models/work_request_summary.py +516 -0
- oci/distributed_database/models/work_request_summary_collection.py +70 -0
- 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 +27 -27
- oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
- oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
- oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
- oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
- 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 +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- 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 +89 -89
- 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 +200 -200
- 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/lustre_file_storage_client.py +11 -11
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +474 -14
- oci/management_dashboard/models/management_dashboard_tile_details.py +33 -2
- 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 +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/model_deployment/model_deployment_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +6 -0
- oci/mysql/models/create_db_system_details.py +58 -0
- oci/mysql/models/create_rest_details.py +117 -0
- oci/mysql/models/db_system.py +58 -0
- oci/mysql/models/db_system_snapshot.py +58 -0
- oci/mysql/models/db_system_summary.py +27 -0
- oci/mysql/models/replica.py +31 -0
- oci/mysql/models/replica_overrides.py +33 -2
- oci/mysql/models/replica_summary.py +31 -0
- oci/mysql/models/rest_details.py +117 -0
- oci/mysql/models/update_db_system_details.py +58 -0
- oci/mysql/models/update_rest_details.py +117 -0
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/models/__init__.py +24 -0
- oci/network_firewall/models/create_nat_rule_details.py +193 -0
- oci/network_firewall/models/create_nat_v4_rule_details.py +144 -0
- oci/network_firewall/models/create_network_firewall_details.py +27 -0
- oci/network_firewall/models/nat_configuration_request.py +70 -0
- oci/network_firewall/models/nat_configuration_response.py +101 -0
- oci/network_firewall/models/nat_rule.py +254 -0
- oci/network_firewall/models/nat_rule_collection.py +70 -0
- oci/network_firewall/models/nat_rule_match_criteria.py +132 -0
- oci/network_firewall/models/nat_rule_summary.py +228 -0
- oci/network_firewall/models/nat_v4_nat_rule.py +159 -0
- oci/network_firewall/models/nat_v4_nat_summary.py +152 -0
- oci/network_firewall/models/network_firewall.py +30 -11
- oci/network_firewall/models/network_firewall_policy.py +3 -11
- oci/network_firewall/models/network_firewall_policy_summary.py +3 -11
- oci/network_firewall/models/network_firewall_summary.py +30 -11
- oci/network_firewall/models/update_nat_rule_details.py +162 -0
- oci/network_firewall/models/update_nat_v4_rule_details.py +137 -0
- oci/network_firewall/models/update_network_firewall_details.py +27 -0
- oci/network_firewall/network_firewall_client.py +848 -108
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- 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 +17 -17
- 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/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 +14 -14
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/models/average_carbon_emission.py +3 -3
- oci/usage_api/models/create_email_recipients_group_details.py +3 -3
- oci/usage_api/models/email_recipient.py +6 -6
- oci/usage_api/models/email_recipients_group.py +5 -5
- oci/usage_api/models/email_recipients_group_collection.py +3 -3
- oci/usage_api/models/email_recipients_group_summary.py +5 -5
- oci/usage_api/models/forecast.py +5 -3
- oci/usage_api/models/report_query.py +16 -16
- oci/usage_api/models/request_summarized_usages_details.py +4 -4
- oci/usage_api/models/request_usage_carbon_emissions_details.py +143 -2
- oci/usage_api/models/saved_custom_table.py +4 -4
- oci/usage_api/models/scheduled_run.py +12 -12
- oci/usage_api/models/scheduled_run_summary.py +12 -12
- oci/usage_api/models/update_email_recipients_group_details.py +3 -3
- oci/usage_api/models/usage_carbon_emission_aggregation.py +5 -5
- oci/usage_api/models/usage_carbon_emission_summary.py +36 -5
- oci/usage_api/models/usage_carbon_emissions_query.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_query_collection.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_query_summary.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_report_query.py +98 -5
- oci/usage_api/usageapi_client.py +69 -69
- oci/usage_api/usageapi_client_composite_operations.py +4 -4
- 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.152.0.dist-info → oci-2.153.0.dist-info}/METADATA +1 -1
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/RECORD +548 -378
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/WHEEL +0 -0
- {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/top_level.txt +0 -0
oci/core/compute_client.py
CHANGED
@@ -164,7 +164,7 @@ class ComputeClient(object):
|
|
164
164
|
:rtype: :class:`~oci.response.Response`
|
165
165
|
|
166
166
|
:example:
|
167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
167
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/accept_shielded_integrity_policy.py.html>`__ to see an example of how to use accept_shielded_integrity_policy API.
|
168
168
|
"""
|
169
169
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
170
170
|
required_arguments = ['instanceId']
|
@@ -268,7 +268,7 @@ class ComputeClient(object):
|
|
268
268
|
:rtype: :class:`~oci.response.Response`
|
269
269
|
|
270
270
|
:example:
|
271
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
271
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/add_image_shape_compatibility_entry.py.html>`__ to see an example of how to use add_image_shape_compatibility_entry API.
|
272
272
|
"""
|
273
273
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
274
274
|
required_arguments = ['imageId', 'shapeName']
|
@@ -369,7 +369,7 @@ class ComputeClient(object):
|
|
369
369
|
:rtype: :class:`~oci.response.Response`
|
370
370
|
|
371
371
|
:example:
|
372
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
372
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/attach_boot_volume.py.html>`__ to see an example of how to use attach_boot_volume API.
|
373
373
|
"""
|
374
374
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
375
375
|
required_arguments = []
|
@@ -429,6 +429,131 @@ class ComputeClient(object):
|
|
429
429
|
api_reference_link=api_reference_link,
|
430
430
|
required_arguments=required_arguments)
|
431
431
|
|
432
|
+
def attach_compute_host_group_host(self, compute_host_id, attach_compute_host_group_host_details, **kwargs):
|
433
|
+
"""
|
434
|
+
Attaches the Compute BM Host to a Host group
|
435
|
+
|
436
|
+
|
437
|
+
:param str compute_host_id: (required)
|
438
|
+
The `OCID`__ of the compute host.
|
439
|
+
|
440
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
441
|
+
|
442
|
+
:param oci.core.models.AttachComputeHostGroupHostDetails attach_compute_host_group_host_details: (required)
|
443
|
+
The `OCID`__ of the compute host group.
|
444
|
+
|
445
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
446
|
+
|
447
|
+
:param str if_match: (optional)
|
448
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
449
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
450
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
451
|
+
|
452
|
+
:param str opc_retry_token: (optional)
|
453
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
454
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
455
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
456
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
457
|
+
may be rejected).
|
458
|
+
|
459
|
+
:param str opc_request_id: (optional)
|
460
|
+
Unique identifier for the request.
|
461
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
462
|
+
|
463
|
+
:param obj retry_strategy: (optional)
|
464
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
465
|
+
|
466
|
+
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.
|
467
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
468
|
+
|
469
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
470
|
+
|
471
|
+
:param bool allow_control_chars: (optional)
|
472
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
473
|
+
By default, the response will not allow control characters in strings
|
474
|
+
|
475
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHost`
|
476
|
+
:rtype: :class:`~oci.response.Response`
|
477
|
+
|
478
|
+
:example:
|
479
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/attach_compute_host_group_host.py.html>`__ to see an example of how to use attach_compute_host_group_host API.
|
480
|
+
"""
|
481
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
482
|
+
required_arguments = ['computeHostId']
|
483
|
+
resource_path = "/computeHosts/{computeHostId}/actions/attachToHostGroup"
|
484
|
+
method = "POST"
|
485
|
+
operation_name = "attach_compute_host_group_host"
|
486
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/AttachComputeHostGroupHost"
|
487
|
+
|
488
|
+
# Don't accept unknown kwargs
|
489
|
+
expected_kwargs = [
|
490
|
+
"allow_control_chars",
|
491
|
+
"retry_strategy",
|
492
|
+
"if_match",
|
493
|
+
"opc_retry_token",
|
494
|
+
"opc_request_id"
|
495
|
+
]
|
496
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
497
|
+
if extra_kwargs:
|
498
|
+
raise ValueError(
|
499
|
+
f"attach_compute_host_group_host got unknown kwargs: {extra_kwargs!r}")
|
500
|
+
|
501
|
+
path_params = {
|
502
|
+
"computeHostId": compute_host_id
|
503
|
+
}
|
504
|
+
|
505
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
506
|
+
|
507
|
+
for (k, v) in six.iteritems(path_params):
|
508
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
509
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
510
|
+
|
511
|
+
header_params = {
|
512
|
+
"accept": "application/json",
|
513
|
+
"content-type": "application/json",
|
514
|
+
"if-match": kwargs.get("if_match", missing),
|
515
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
516
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
517
|
+
}
|
518
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
519
|
+
|
520
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
521
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
522
|
+
client_retry_strategy=self.retry_strategy
|
523
|
+
)
|
524
|
+
if retry_strategy is None:
|
525
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
526
|
+
|
527
|
+
if retry_strategy:
|
528
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
529
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
530
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
531
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
532
|
+
return retry_strategy.make_retrying_call(
|
533
|
+
self.base_client.call_api,
|
534
|
+
resource_path=resource_path,
|
535
|
+
method=method,
|
536
|
+
path_params=path_params,
|
537
|
+
header_params=header_params,
|
538
|
+
body=attach_compute_host_group_host_details,
|
539
|
+
response_type="ComputeHost",
|
540
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
541
|
+
operation_name=operation_name,
|
542
|
+
api_reference_link=api_reference_link,
|
543
|
+
required_arguments=required_arguments)
|
544
|
+
else:
|
545
|
+
return self.base_client.call_api(
|
546
|
+
resource_path=resource_path,
|
547
|
+
method=method,
|
548
|
+
path_params=path_params,
|
549
|
+
header_params=header_params,
|
550
|
+
body=attach_compute_host_group_host_details,
|
551
|
+
response_type="ComputeHost",
|
552
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
553
|
+
operation_name=operation_name,
|
554
|
+
api_reference_link=api_reference_link,
|
555
|
+
required_arguments=required_arguments)
|
556
|
+
|
432
557
|
def attach_vnic(self, attach_vnic_details, **kwargs):
|
433
558
|
"""
|
434
559
|
Creates a secondary VNIC and attaches it to the specified instance.
|
@@ -464,7 +589,7 @@ class ComputeClient(object):
|
|
464
589
|
:rtype: :class:`~oci.response.Response`
|
465
590
|
|
466
591
|
:example:
|
467
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
592
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/attach_vnic.py.html>`__ to see an example of how to use attach_vnic API.
|
468
593
|
"""
|
469
594
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
470
595
|
required_arguments = []
|
@@ -555,7 +680,7 @@ class ComputeClient(object):
|
|
555
680
|
:rtype: :class:`~oci.response.Response`
|
556
681
|
|
557
682
|
:example:
|
558
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
683
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/attach_volume.py.html>`__ to see an example of how to use attach_volume API.
|
559
684
|
"""
|
560
685
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
561
686
|
required_arguments = []
|
@@ -662,7 +787,7 @@ class ComputeClient(object):
|
|
662
787
|
:rtype: :class:`~oci.response.Response`
|
663
788
|
|
664
789
|
:example:
|
665
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
790
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/capture_console_history.py.html>`__ to see an example of how to use capture_console_history API.
|
666
791
|
"""
|
667
792
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
668
793
|
required_arguments = []
|
@@ -769,7 +894,7 @@ class ComputeClient(object):
|
|
769
894
|
:rtype: :class:`~oci.response.Response`
|
770
895
|
|
771
896
|
:example:
|
772
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
897
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_compute_capacity_reservation_compartment.py.html>`__ to see an example of how to use change_compute_capacity_reservation_compartment API.
|
773
898
|
"""
|
774
899
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
775
900
|
required_arguments = ['capacityReservationId']
|
@@ -891,7 +1016,7 @@ class ComputeClient(object):
|
|
891
1016
|
:rtype: :class:`~oci.response.Response`
|
892
1017
|
|
893
1018
|
:example:
|
894
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1019
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_compute_capacity_topology_compartment.py.html>`__ to see an example of how to use change_compute_capacity_topology_compartment API.
|
895
1020
|
"""
|
896
1021
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
897
1022
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -1022,7 +1147,7 @@ class ComputeClient(object):
|
|
1022
1147
|
:rtype: :class:`~oci.response.Response`
|
1023
1148
|
|
1024
1149
|
:example:
|
1025
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1150
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_compute_cluster_compartment.py.html>`__ to see an example of how to use change_compute_cluster_compartment API.
|
1026
1151
|
"""
|
1027
1152
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1028
1153
|
required_arguments = ['computeClusterId']
|
@@ -1142,7 +1267,7 @@ class ComputeClient(object):
|
|
1142
1267
|
:rtype: :class:`~oci.response.Response`
|
1143
1268
|
|
1144
1269
|
:example:
|
1145
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1270
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/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
1271
|
"""
|
1147
1272
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1148
1273
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -1264,7 +1389,7 @@ class ComputeClient(object):
|
|
1264
1389
|
:rtype: :class:`~oci.response.Response`
|
1265
1390
|
|
1266
1391
|
:example:
|
1267
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1392
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/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
1393
|
"""
|
1269
1394
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1270
1395
|
required_arguments = ['computeGpuMemoryFabricId']
|
@@ -1388,7 +1513,7 @@ class ComputeClient(object):
|
|
1388
1513
|
:rtype: :class:`~oci.response.Response`
|
1389
1514
|
|
1390
1515
|
:example:
|
1391
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1516
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_compute_host_compartment.py.html>`__ to see an example of how to use change_compute_host_compartment API.
|
1392
1517
|
"""
|
1393
1518
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1394
1519
|
required_arguments = ['computeHostId']
|
@@ -1464,6 +1589,130 @@ class ComputeClient(object):
|
|
1464
1589
|
api_reference_link=api_reference_link,
|
1465
1590
|
required_arguments=required_arguments)
|
1466
1591
|
|
1592
|
+
def change_compute_host_group_compartment(self, compute_host_group_id, change_compute_host_group_compartment_details, **kwargs):
|
1593
|
+
"""
|
1594
|
+
Moves a compute host group into a different compartment. For information about moving resources between
|
1595
|
+
compartments, see `Moving Resources to a Different Compartment`__.
|
1596
|
+
|
1597
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
1598
|
+
|
1599
|
+
|
1600
|
+
:param str compute_host_group_id: (required)
|
1601
|
+
The `OCID`__ of the compute host group.
|
1602
|
+
|
1603
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1604
|
+
|
1605
|
+
:param oci.core.models.ChangeComputeHostGroupCompartmentDetails change_compute_host_group_compartment_details: (required)
|
1606
|
+
The configuration details for the move operation.
|
1607
|
+
|
1608
|
+
:param str if_match: (optional)
|
1609
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1610
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1611
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
1612
|
+
|
1613
|
+
:param str opc_request_id: (optional)
|
1614
|
+
Unique identifier for the request.
|
1615
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
1616
|
+
|
1617
|
+
:param str opc_retry_token: (optional)
|
1618
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1619
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
1620
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
1621
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1622
|
+
may be rejected).
|
1623
|
+
|
1624
|
+
:param obj retry_strategy: (optional)
|
1625
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1626
|
+
|
1627
|
+
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.
|
1628
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1629
|
+
|
1630
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1631
|
+
|
1632
|
+
:param bool allow_control_chars: (optional)
|
1633
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1634
|
+
By default, the response will not allow control characters in strings
|
1635
|
+
|
1636
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1637
|
+
:rtype: :class:`~oci.response.Response`
|
1638
|
+
|
1639
|
+
:example:
|
1640
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_compute_host_group_compartment.py.html>`__ to see an example of how to use change_compute_host_group_compartment API.
|
1641
|
+
"""
|
1642
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1643
|
+
required_arguments = ['computeHostGroupId']
|
1644
|
+
resource_path = "/computeHostGroups/{computeHostGroupId}/actions/changeCompartment"
|
1645
|
+
method = "POST"
|
1646
|
+
operation_name = "change_compute_host_group_compartment"
|
1647
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/ChangeComputeHostGroupCompartment"
|
1648
|
+
|
1649
|
+
# Don't accept unknown kwargs
|
1650
|
+
expected_kwargs = [
|
1651
|
+
"allow_control_chars",
|
1652
|
+
"retry_strategy",
|
1653
|
+
"if_match",
|
1654
|
+
"opc_request_id",
|
1655
|
+
"opc_retry_token"
|
1656
|
+
]
|
1657
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1658
|
+
if extra_kwargs:
|
1659
|
+
raise ValueError(
|
1660
|
+
f"change_compute_host_group_compartment got unknown kwargs: {extra_kwargs!r}")
|
1661
|
+
|
1662
|
+
path_params = {
|
1663
|
+
"computeHostGroupId": compute_host_group_id
|
1664
|
+
}
|
1665
|
+
|
1666
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1667
|
+
|
1668
|
+
for (k, v) in six.iteritems(path_params):
|
1669
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1670
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1671
|
+
|
1672
|
+
header_params = {
|
1673
|
+
"accept": "application/json",
|
1674
|
+
"content-type": "application/json",
|
1675
|
+
"if-match": kwargs.get("if_match", missing),
|
1676
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1677
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
1678
|
+
}
|
1679
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1680
|
+
|
1681
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1682
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1683
|
+
client_retry_strategy=self.retry_strategy
|
1684
|
+
)
|
1685
|
+
if retry_strategy is None:
|
1686
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1687
|
+
|
1688
|
+
if retry_strategy:
|
1689
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1690
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1691
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1692
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1693
|
+
return retry_strategy.make_retrying_call(
|
1694
|
+
self.base_client.call_api,
|
1695
|
+
resource_path=resource_path,
|
1696
|
+
method=method,
|
1697
|
+
path_params=path_params,
|
1698
|
+
header_params=header_params,
|
1699
|
+
body=change_compute_host_group_compartment_details,
|
1700
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1701
|
+
operation_name=operation_name,
|
1702
|
+
api_reference_link=api_reference_link,
|
1703
|
+
required_arguments=required_arguments)
|
1704
|
+
else:
|
1705
|
+
return self.base_client.call_api(
|
1706
|
+
resource_path=resource_path,
|
1707
|
+
method=method,
|
1708
|
+
path_params=path_params,
|
1709
|
+
header_params=header_params,
|
1710
|
+
body=change_compute_host_group_compartment_details,
|
1711
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1712
|
+
operation_name=operation_name,
|
1713
|
+
api_reference_link=api_reference_link,
|
1714
|
+
required_arguments=required_arguments)
|
1715
|
+
|
1467
1716
|
def change_compute_image_capability_schema_compartment(self, compute_image_capability_schema_id, change_compute_image_capability_schema_compartment_details, **kwargs):
|
1468
1717
|
"""
|
1469
1718
|
Moves a compute image capability schema into a different compartment within the same tenancy.
|
@@ -1511,7 +1760,7 @@ class ComputeClient(object):
|
|
1511
1760
|
:rtype: :class:`~oci.response.Response`
|
1512
1761
|
|
1513
1762
|
:example:
|
1514
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1763
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_compute_image_capability_schema_compartment.py.html>`__ to see an example of how to use change_compute_image_capability_schema_compartment API.
|
1515
1764
|
"""
|
1516
1765
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1517
1766
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -1630,7 +1879,7 @@ class ComputeClient(object):
|
|
1630
1879
|
:rtype: :class:`~oci.response.Response`
|
1631
1880
|
|
1632
1881
|
:example:
|
1633
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1882
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_dedicated_vm_host_compartment.py.html>`__ to see an example of how to use change_dedicated_vm_host_compartment API.
|
1634
1883
|
"""
|
1635
1884
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1636
1885
|
required_arguments = ['dedicatedVmHostId']
|
@@ -1753,7 +2002,7 @@ class ComputeClient(object):
|
|
1753
2002
|
:rtype: :class:`~oci.response.Response`
|
1754
2003
|
|
1755
2004
|
:example:
|
1756
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2005
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_image_compartment.py.html>`__ to see an example of how to use change_image_compartment API.
|
1757
2006
|
"""
|
1758
2007
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1759
2008
|
required_arguments = ['imageId']
|
@@ -1881,7 +2130,7 @@ class ComputeClient(object):
|
|
1881
2130
|
:rtype: :class:`~oci.response.Response`
|
1882
2131
|
|
1883
2132
|
:example:
|
1884
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2133
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/change_instance_compartment.py.html>`__ to see an example of how to use change_instance_compartment API.
|
1885
2134
|
"""
|
1886
2135
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1887
2136
|
required_arguments = ['instanceId']
|
@@ -1986,7 +2235,7 @@ class ComputeClient(object):
|
|
1986
2235
|
:rtype: :class:`~oci.response.Response`
|
1987
2236
|
|
1988
2237
|
:example:
|
1989
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2238
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_app_catalog_subscription.py.html>`__ to see an example of how to use create_app_catalog_subscription API.
|
1990
2239
|
"""
|
1991
2240
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1992
2241
|
required_arguments = []
|
@@ -2088,7 +2337,7 @@ class ComputeClient(object):
|
|
2088
2337
|
:rtype: :class:`~oci.response.Response`
|
2089
2338
|
|
2090
2339
|
:example:
|
2091
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2340
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_compute_capacity_report.py.html>`__ to see an example of how to use create_compute_capacity_report API.
|
2092
2341
|
"""
|
2093
2342
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2094
2343
|
required_arguments = []
|
@@ -2195,7 +2444,7 @@ class ComputeClient(object):
|
|
2195
2444
|
:rtype: :class:`~oci.response.Response`
|
2196
2445
|
|
2197
2446
|
:example:
|
2198
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2447
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_compute_capacity_reservation.py.html>`__ to see an example of how to use create_compute_capacity_reservation API.
|
2199
2448
|
"""
|
2200
2449
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2201
2450
|
required_arguments = []
|
@@ -2297,7 +2546,7 @@ class ComputeClient(object):
|
|
2297
2546
|
:rtype: :class:`~oci.response.Response`
|
2298
2547
|
|
2299
2548
|
:example:
|
2300
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2549
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_compute_capacity_topology.py.html>`__ to see an example of how to use create_compute_capacity_topology API.
|
2301
2550
|
"""
|
2302
2551
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2303
2552
|
required_arguments = []
|
@@ -2421,7 +2670,7 @@ class ComputeClient(object):
|
|
2421
2670
|
:rtype: :class:`~oci.response.Response`
|
2422
2671
|
|
2423
2672
|
:example:
|
2424
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2673
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_compute_cluster.py.html>`__ to see an example of how to use create_compute_cluster API.
|
2425
2674
|
"""
|
2426
2675
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2427
2676
|
required_arguments = []
|
@@ -2518,7 +2767,7 @@ class ComputeClient(object):
|
|
2518
2767
|
:rtype: :class:`~oci.response.Response`
|
2519
2768
|
|
2520
2769
|
:example:
|
2521
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2770
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_compute_gpu_memory_cluster.py.html>`__ to see an example of how to use create_compute_gpu_memory_cluster API.
|
2522
2771
|
"""
|
2523
2772
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2524
2773
|
required_arguments = []
|
@@ -2582,13 +2831,17 @@ class ComputeClient(object):
|
|
2582
2831
|
api_reference_link=api_reference_link,
|
2583
2832
|
required_arguments=required_arguments)
|
2584
2833
|
|
2585
|
-
def
|
2834
|
+
def create_compute_host_group(self, create_compute_host_group_details, **kwargs):
|
2586
2835
|
"""
|
2587
|
-
Creates compute
|
2836
|
+
Creates a new compute host group in the specified compartment and availability domain.
|
2588
2837
|
|
2589
2838
|
|
2590
|
-
:param oci.core.models.
|
2591
|
-
|
2839
|
+
:param oci.core.models.CreateComputeHostGroupDetails create_compute_host_group_details: (required)
|
2840
|
+
Details for creating a new host group.
|
2841
|
+
|
2842
|
+
:param str opc_request_id: (optional)
|
2843
|
+
Unique identifier for the request.
|
2844
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
2592
2845
|
|
2593
2846
|
:param str opc_retry_token: (optional)
|
2594
2847
|
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
@@ -2609,33 +2862,35 @@ class ComputeClient(object):
|
|
2609
2862
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2610
2863
|
By default, the response will not allow control characters in strings
|
2611
2864
|
|
2612
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.
|
2865
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHostGroup`
|
2613
2866
|
:rtype: :class:`~oci.response.Response`
|
2614
2867
|
|
2615
2868
|
:example:
|
2616
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2869
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_compute_host_group.py.html>`__ to see an example of how to use create_compute_host_group API.
|
2617
2870
|
"""
|
2618
2871
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2619
2872
|
required_arguments = []
|
2620
|
-
resource_path = "/
|
2873
|
+
resource_path = "/computeHostGroups"
|
2621
2874
|
method = "POST"
|
2622
|
-
operation_name = "
|
2623
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
2875
|
+
operation_name = "create_compute_host_group"
|
2876
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/CreateComputeHostGroup"
|
2624
2877
|
|
2625
2878
|
# Don't accept unknown kwargs
|
2626
2879
|
expected_kwargs = [
|
2627
2880
|
"allow_control_chars",
|
2628
2881
|
"retry_strategy",
|
2882
|
+
"opc_request_id",
|
2629
2883
|
"opc_retry_token"
|
2630
2884
|
]
|
2631
2885
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2632
2886
|
if extra_kwargs:
|
2633
2887
|
raise ValueError(
|
2634
|
-
f"
|
2888
|
+
f"create_compute_host_group got unknown kwargs: {extra_kwargs!r}")
|
2635
2889
|
|
2636
2890
|
header_params = {
|
2637
2891
|
"accept": "application/json",
|
2638
2892
|
"content-type": "application/json",
|
2893
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
2639
2894
|
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
2640
2895
|
}
|
2641
2896
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -2657,8 +2912,8 @@ class ComputeClient(object):
|
|
2657
2912
|
resource_path=resource_path,
|
2658
2913
|
method=method,
|
2659
2914
|
header_params=header_params,
|
2660
|
-
body=
|
2661
|
-
response_type="
|
2915
|
+
body=create_compute_host_group_details,
|
2916
|
+
response_type="ComputeHostGroup",
|
2662
2917
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
2663
2918
|
operation_name=operation_name,
|
2664
2919
|
api_reference_link=api_reference_link,
|
@@ -2668,25 +2923,118 @@ class ComputeClient(object):
|
|
2668
2923
|
resource_path=resource_path,
|
2669
2924
|
method=method,
|
2670
2925
|
header_params=header_params,
|
2671
|
-
body=
|
2672
|
-
response_type="
|
2926
|
+
body=create_compute_host_group_details,
|
2927
|
+
response_type="ComputeHostGroup",
|
2673
2928
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
2674
2929
|
operation_name=operation_name,
|
2675
2930
|
api_reference_link=api_reference_link,
|
2676
2931
|
required_arguments=required_arguments)
|
2677
2932
|
|
2678
|
-
def
|
2933
|
+
def create_compute_image_capability_schema(self, create_compute_image_capability_schema_details, **kwargs):
|
2679
2934
|
"""
|
2680
|
-
Creates
|
2681
|
-
Dedicated virtual machine hosts enable you to run your Compute virtual machine (VM) instances on dedicated servers
|
2682
|
-
that are a single tenant and not shared with other customers.
|
2683
|
-
For more information, see `Dedicated Virtual Machine Hosts`__.
|
2684
|
-
|
2685
|
-
__ https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm
|
2935
|
+
Creates compute image capability schema.
|
2686
2936
|
|
2687
2937
|
|
2688
|
-
:param oci.core.models.
|
2689
|
-
|
2938
|
+
:param oci.core.models.CreateComputeImageCapabilitySchemaDetails create_compute_image_capability_schema_details: (required)
|
2939
|
+
Compute Image Capability Schema creation details
|
2940
|
+
|
2941
|
+
:param str opc_retry_token: (optional)
|
2942
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2943
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
2944
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
2945
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
2946
|
+
may be rejected).
|
2947
|
+
|
2948
|
+
:param obj retry_strategy: (optional)
|
2949
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2950
|
+
|
2951
|
+
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.
|
2952
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2953
|
+
|
2954
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2955
|
+
|
2956
|
+
:param bool allow_control_chars: (optional)
|
2957
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2958
|
+
By default, the response will not allow control characters in strings
|
2959
|
+
|
2960
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeImageCapabilitySchema`
|
2961
|
+
:rtype: :class:`~oci.response.Response`
|
2962
|
+
|
2963
|
+
:example:
|
2964
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_compute_image_capability_schema.py.html>`__ to see an example of how to use create_compute_image_capability_schema API.
|
2965
|
+
"""
|
2966
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2967
|
+
required_arguments = []
|
2968
|
+
resource_path = "/computeImageCapabilitySchemas"
|
2969
|
+
method = "POST"
|
2970
|
+
operation_name = "create_compute_image_capability_schema"
|
2971
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/CreateComputeImageCapabilitySchema"
|
2972
|
+
|
2973
|
+
# Don't accept unknown kwargs
|
2974
|
+
expected_kwargs = [
|
2975
|
+
"allow_control_chars",
|
2976
|
+
"retry_strategy",
|
2977
|
+
"opc_retry_token"
|
2978
|
+
]
|
2979
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2980
|
+
if extra_kwargs:
|
2981
|
+
raise ValueError(
|
2982
|
+
f"create_compute_image_capability_schema got unknown kwargs: {extra_kwargs!r}")
|
2983
|
+
|
2984
|
+
header_params = {
|
2985
|
+
"accept": "application/json",
|
2986
|
+
"content-type": "application/json",
|
2987
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
2988
|
+
}
|
2989
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2990
|
+
|
2991
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2992
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2993
|
+
client_retry_strategy=self.retry_strategy
|
2994
|
+
)
|
2995
|
+
if retry_strategy is None:
|
2996
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2997
|
+
|
2998
|
+
if retry_strategy:
|
2999
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3000
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
3001
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3002
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3003
|
+
return retry_strategy.make_retrying_call(
|
3004
|
+
self.base_client.call_api,
|
3005
|
+
resource_path=resource_path,
|
3006
|
+
method=method,
|
3007
|
+
header_params=header_params,
|
3008
|
+
body=create_compute_image_capability_schema_details,
|
3009
|
+
response_type="ComputeImageCapabilitySchema",
|
3010
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3011
|
+
operation_name=operation_name,
|
3012
|
+
api_reference_link=api_reference_link,
|
3013
|
+
required_arguments=required_arguments)
|
3014
|
+
else:
|
3015
|
+
return self.base_client.call_api(
|
3016
|
+
resource_path=resource_path,
|
3017
|
+
method=method,
|
3018
|
+
header_params=header_params,
|
3019
|
+
body=create_compute_image_capability_schema_details,
|
3020
|
+
response_type="ComputeImageCapabilitySchema",
|
3021
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3022
|
+
operation_name=operation_name,
|
3023
|
+
api_reference_link=api_reference_link,
|
3024
|
+
required_arguments=required_arguments)
|
3025
|
+
|
3026
|
+
def create_dedicated_vm_host(self, create_dedicated_vm_host_details, **kwargs):
|
3027
|
+
"""
|
3028
|
+
Creates a new dedicated virtual machine host in the specified compartment and the specified availability domain.
|
3029
|
+
Dedicated virtual machine hosts enable you to run your Compute virtual machine (VM) instances on dedicated servers
|
3030
|
+
that are a single tenant and not shared with other customers.
|
3031
|
+
For more information, see `Dedicated Virtual Machine Hosts`__.
|
3032
|
+
|
3033
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm
|
3034
|
+
|
3035
|
+
|
3036
|
+
:param oci.core.models.CreateDedicatedVmHostDetails create_dedicated_vm_host_details: (required)
|
3037
|
+
The details for creating a new dedicated virtual machine host.
|
2690
3038
|
|
2691
3039
|
:param str opc_request_id: (optional)
|
2692
3040
|
Unique identifier for the request.
|
@@ -2715,7 +3063,7 @@ class ComputeClient(object):
|
|
2715
3063
|
:rtype: :class:`~oci.response.Response`
|
2716
3064
|
|
2717
3065
|
:example:
|
2718
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3066
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_dedicated_vm_host.py.html>`__ to see an example of how to use create_dedicated_vm_host API.
|
2719
3067
|
"""
|
2720
3068
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2721
3069
|
required_arguments = []
|
@@ -2835,7 +3183,7 @@ class ComputeClient(object):
|
|
2835
3183
|
:rtype: :class:`~oci.response.Response`
|
2836
3184
|
|
2837
3185
|
:example:
|
2838
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3186
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_image.py.html>`__ to see an example of how to use create_image API.
|
2839
3187
|
"""
|
2840
3188
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2841
3189
|
required_arguments = []
|
@@ -2934,7 +3282,7 @@ class ComputeClient(object):
|
|
2934
3282
|
:rtype: :class:`~oci.response.Response`
|
2935
3283
|
|
2936
3284
|
:example:
|
2937
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3285
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/create_instance_console_connection.py.html>`__ to see an example of how to use create_instance_console_connection API.
|
2938
3286
|
"""
|
2939
3287
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2940
3288
|
required_arguments = []
|
@@ -3026,7 +3374,7 @@ class ComputeClient(object):
|
|
3026
3374
|
:rtype: :class:`~oci.response.Response`
|
3027
3375
|
|
3028
3376
|
:example:
|
3029
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3377
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_app_catalog_subscription.py.html>`__ to see an example of how to use delete_app_catalog_subscription API.
|
3030
3378
|
"""
|
3031
3379
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3032
3380
|
required_arguments = ['listingId', 'compartmentId', 'resourceVersion']
|
@@ -3116,7 +3464,7 @@ class ComputeClient(object):
|
|
3116
3464
|
:rtype: :class:`~oci.response.Response`
|
3117
3465
|
|
3118
3466
|
:example:
|
3119
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3467
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_compute_capacity_reservation.py.html>`__ to see an example of how to use delete_compute_capacity_reservation API.
|
3120
3468
|
"""
|
3121
3469
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3122
3470
|
required_arguments = ['capacityReservationId']
|
@@ -3220,7 +3568,7 @@ class ComputeClient(object):
|
|
3220
3568
|
:rtype: :class:`~oci.response.Response`
|
3221
3569
|
|
3222
3570
|
:example:
|
3223
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3571
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_compute_capacity_topology.py.html>`__ to see an example of how to use delete_compute_capacity_topology API.
|
3224
3572
|
"""
|
3225
3573
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3226
3574
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -3335,7 +3683,7 @@ class ComputeClient(object):
|
|
3335
3683
|
:rtype: :class:`~oci.response.Response`
|
3336
3684
|
|
3337
3685
|
:example:
|
3338
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3686
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_compute_cluster.py.html>`__ to see an example of how to use delete_compute_cluster API.
|
3339
3687
|
"""
|
3340
3688
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3341
3689
|
required_arguments = ['computeClusterId']
|
@@ -3437,7 +3785,7 @@ class ComputeClient(object):
|
|
3437
3785
|
:rtype: :class:`~oci.response.Response`
|
3438
3786
|
|
3439
3787
|
:example:
|
3440
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3788
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_compute_gpu_memory_cluster.py.html>`__ to see an example of how to use delete_compute_gpu_memory_cluster API.
|
3441
3789
|
"""
|
3442
3790
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3443
3791
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -3508,6 +3856,110 @@ class ComputeClient(object):
|
|
3508
3856
|
api_reference_link=api_reference_link,
|
3509
3857
|
required_arguments=required_arguments)
|
3510
3858
|
|
3859
|
+
def delete_compute_host_group(self, compute_host_group_id, **kwargs):
|
3860
|
+
"""
|
3861
|
+
Deletes the specified compute host group
|
3862
|
+
|
3863
|
+
|
3864
|
+
:param str compute_host_group_id: (required)
|
3865
|
+
The `OCID`__ of the compute host group.
|
3866
|
+
|
3867
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
3868
|
+
|
3869
|
+
:param str opc_request_id: (optional)
|
3870
|
+
Unique identifier for the request.
|
3871
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
3872
|
+
|
3873
|
+
:param str if_match: (optional)
|
3874
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3875
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3876
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
3877
|
+
|
3878
|
+
:param obj retry_strategy: (optional)
|
3879
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3880
|
+
|
3881
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
3882
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3883
|
+
|
3884
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3885
|
+
|
3886
|
+
:param bool allow_control_chars: (optional)
|
3887
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3888
|
+
By default, the response will not allow control characters in strings
|
3889
|
+
|
3890
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
3891
|
+
:rtype: :class:`~oci.response.Response`
|
3892
|
+
|
3893
|
+
:example:
|
3894
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_compute_host_group.py.html>`__ to see an example of how to use delete_compute_host_group API.
|
3895
|
+
"""
|
3896
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3897
|
+
required_arguments = ['computeHostGroupId']
|
3898
|
+
resource_path = "/computeHostGroups/{computeHostGroupId}"
|
3899
|
+
method = "DELETE"
|
3900
|
+
operation_name = "delete_compute_host_group"
|
3901
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/DeleteComputeHostGroup"
|
3902
|
+
|
3903
|
+
# Don't accept unknown kwargs
|
3904
|
+
expected_kwargs = [
|
3905
|
+
"allow_control_chars",
|
3906
|
+
"retry_strategy",
|
3907
|
+
"opc_request_id",
|
3908
|
+
"if_match"
|
3909
|
+
]
|
3910
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3911
|
+
if extra_kwargs:
|
3912
|
+
raise ValueError(
|
3913
|
+
f"delete_compute_host_group got unknown kwargs: {extra_kwargs!r}")
|
3914
|
+
|
3915
|
+
path_params = {
|
3916
|
+
"computeHostGroupId": compute_host_group_id
|
3917
|
+
}
|
3918
|
+
|
3919
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
3920
|
+
|
3921
|
+
for (k, v) in six.iteritems(path_params):
|
3922
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3923
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3924
|
+
|
3925
|
+
header_params = {
|
3926
|
+
"accept": "application/json",
|
3927
|
+
"content-type": "application/json",
|
3928
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
3929
|
+
"if-match": kwargs.get("if_match", missing)
|
3930
|
+
}
|
3931
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3932
|
+
|
3933
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3934
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3935
|
+
client_retry_strategy=self.retry_strategy
|
3936
|
+
)
|
3937
|
+
|
3938
|
+
if retry_strategy:
|
3939
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3940
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3941
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3942
|
+
return retry_strategy.make_retrying_call(
|
3943
|
+
self.base_client.call_api,
|
3944
|
+
resource_path=resource_path,
|
3945
|
+
method=method,
|
3946
|
+
path_params=path_params,
|
3947
|
+
header_params=header_params,
|
3948
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3949
|
+
operation_name=operation_name,
|
3950
|
+
api_reference_link=api_reference_link,
|
3951
|
+
required_arguments=required_arguments)
|
3952
|
+
else:
|
3953
|
+
return self.base_client.call_api(
|
3954
|
+
resource_path=resource_path,
|
3955
|
+
method=method,
|
3956
|
+
path_params=path_params,
|
3957
|
+
header_params=header_params,
|
3958
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3959
|
+
operation_name=operation_name,
|
3960
|
+
api_reference_link=api_reference_link,
|
3961
|
+
required_arguments=required_arguments)
|
3962
|
+
|
3511
3963
|
def delete_compute_image_capability_schema(self, compute_image_capability_schema_id, **kwargs):
|
3512
3964
|
"""
|
3513
3965
|
Deletes the specified Compute Image Capability Schema
|
@@ -3537,7 +3989,7 @@ class ComputeClient(object):
|
|
3537
3989
|
:rtype: :class:`~oci.response.Response`
|
3538
3990
|
|
3539
3991
|
:example:
|
3540
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3992
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_compute_image_capability_schema.py.html>`__ to see an example of how to use delete_compute_image_capability_schema API.
|
3541
3993
|
"""
|
3542
3994
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3543
3995
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -3633,7 +4085,7 @@ class ComputeClient(object):
|
|
3633
4085
|
:rtype: :class:`~oci.response.Response`
|
3634
4086
|
|
3635
4087
|
:example:
|
3636
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4088
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_console_history.py.html>`__ to see an example of how to use delete_console_history API.
|
3637
4089
|
"""
|
3638
4090
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3639
4091
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -3731,7 +4183,7 @@ class ComputeClient(object):
|
|
3731
4183
|
:rtype: :class:`~oci.response.Response`
|
3732
4184
|
|
3733
4185
|
:example:
|
3734
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4186
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_dedicated_vm_host.py.html>`__ to see an example of how to use delete_dedicated_vm_host API.
|
3735
4187
|
"""
|
3736
4188
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3737
4189
|
required_arguments = ['dedicatedVmHostId']
|
@@ -3829,7 +4281,7 @@ class ComputeClient(object):
|
|
3829
4281
|
:rtype: :class:`~oci.response.Response`
|
3830
4282
|
|
3831
4283
|
:example:
|
3832
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4284
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_image.py.html>`__ to see an example of how to use delete_image API.
|
3833
4285
|
"""
|
3834
4286
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3835
4287
|
required_arguments = ['imageId']
|
@@ -3925,7 +4377,7 @@ class ComputeClient(object):
|
|
3925
4377
|
:rtype: :class:`~oci.response.Response`
|
3926
4378
|
|
3927
4379
|
:example:
|
3928
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4380
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/delete_instance_console_connection.py.html>`__ to see an example of how to use delete_instance_console_connection API.
|
3929
4381
|
"""
|
3930
4382
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3931
4383
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -4024,7 +4476,7 @@ class ComputeClient(object):
|
|
4024
4476
|
:rtype: :class:`~oci.response.Response`
|
4025
4477
|
|
4026
4478
|
:example:
|
4027
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4479
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/detach_boot_volume.py.html>`__ to see an example of how to use detach_boot_volume API.
|
4028
4480
|
"""
|
4029
4481
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4030
4482
|
required_arguments = ['bootVolumeAttachmentId']
|
@@ -4091,6 +4543,129 @@ class ComputeClient(object):
|
|
4091
4543
|
api_reference_link=api_reference_link,
|
4092
4544
|
required_arguments=required_arguments)
|
4093
4545
|
|
4546
|
+
def detach_compute_host_group_host(self, compute_host_id, detach_compute_host_group_host_details, **kwargs):
|
4547
|
+
"""
|
4548
|
+
Detaches the specified bare metal host from the compute host group
|
4549
|
+
|
4550
|
+
|
4551
|
+
:param str compute_host_id: (required)
|
4552
|
+
The `OCID`__ of the compute host.
|
4553
|
+
|
4554
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
4555
|
+
|
4556
|
+
:param oci.core.models.DetachComputeHostGroupHostDetails detach_compute_host_group_host_details: (required)
|
4557
|
+
The `OCID`__ of the compute host group.
|
4558
|
+
|
4559
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
4560
|
+
|
4561
|
+
:param str if_match: (optional)
|
4562
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
4563
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
4564
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
4565
|
+
|
4566
|
+
:param str opc_retry_token: (optional)
|
4567
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
4568
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
4569
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
4570
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
4571
|
+
may be rejected).
|
4572
|
+
|
4573
|
+
:param str opc_request_id: (optional)
|
4574
|
+
Unique identifier for the request.
|
4575
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
4576
|
+
|
4577
|
+
:param obj retry_strategy: (optional)
|
4578
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4579
|
+
|
4580
|
+
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.
|
4581
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
4582
|
+
|
4583
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
4584
|
+
|
4585
|
+
:param bool allow_control_chars: (optional)
|
4586
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
4587
|
+
By default, the response will not allow control characters in strings
|
4588
|
+
|
4589
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
4590
|
+
:rtype: :class:`~oci.response.Response`
|
4591
|
+
|
4592
|
+
:example:
|
4593
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/detach_compute_host_group_host.py.html>`__ to see an example of how to use detach_compute_host_group_host API.
|
4594
|
+
"""
|
4595
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4596
|
+
required_arguments = ['computeHostId']
|
4597
|
+
resource_path = "/computeHosts/{computeHostId}/actions/detachFromHostGroup"
|
4598
|
+
method = "POST"
|
4599
|
+
operation_name = "detach_compute_host_group_host"
|
4600
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/DetachComputeHostGroupHost"
|
4601
|
+
|
4602
|
+
# Don't accept unknown kwargs
|
4603
|
+
expected_kwargs = [
|
4604
|
+
"allow_control_chars",
|
4605
|
+
"retry_strategy",
|
4606
|
+
"if_match",
|
4607
|
+
"opc_retry_token",
|
4608
|
+
"opc_request_id"
|
4609
|
+
]
|
4610
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4611
|
+
if extra_kwargs:
|
4612
|
+
raise ValueError(
|
4613
|
+
f"detach_compute_host_group_host got unknown kwargs: {extra_kwargs!r}")
|
4614
|
+
|
4615
|
+
path_params = {
|
4616
|
+
"computeHostId": compute_host_id
|
4617
|
+
}
|
4618
|
+
|
4619
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
4620
|
+
|
4621
|
+
for (k, v) in six.iteritems(path_params):
|
4622
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
4623
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
4624
|
+
|
4625
|
+
header_params = {
|
4626
|
+
"accept": "application/json",
|
4627
|
+
"content-type": "application/json",
|
4628
|
+
"if-match": kwargs.get("if_match", missing),
|
4629
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
4630
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
4631
|
+
}
|
4632
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
4633
|
+
|
4634
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
4635
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
4636
|
+
client_retry_strategy=self.retry_strategy
|
4637
|
+
)
|
4638
|
+
if retry_strategy is None:
|
4639
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
4640
|
+
|
4641
|
+
if retry_strategy:
|
4642
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
4643
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
4644
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
4645
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
4646
|
+
return retry_strategy.make_retrying_call(
|
4647
|
+
self.base_client.call_api,
|
4648
|
+
resource_path=resource_path,
|
4649
|
+
method=method,
|
4650
|
+
path_params=path_params,
|
4651
|
+
header_params=header_params,
|
4652
|
+
body=detach_compute_host_group_host_details,
|
4653
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4654
|
+
operation_name=operation_name,
|
4655
|
+
api_reference_link=api_reference_link,
|
4656
|
+
required_arguments=required_arguments)
|
4657
|
+
else:
|
4658
|
+
return self.base_client.call_api(
|
4659
|
+
resource_path=resource_path,
|
4660
|
+
method=method,
|
4661
|
+
path_params=path_params,
|
4662
|
+
header_params=header_params,
|
4663
|
+
body=detach_compute_host_group_host_details,
|
4664
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4665
|
+
operation_name=operation_name,
|
4666
|
+
api_reference_link=api_reference_link,
|
4667
|
+
required_arguments=required_arguments)
|
4668
|
+
|
4094
4669
|
def detach_vnic(self, vnic_attachment_id, **kwargs):
|
4095
4670
|
"""
|
4096
4671
|
Detaches and deletes the specified secondary VNIC.
|
@@ -4131,7 +4706,7 @@ class ComputeClient(object):
|
|
4131
4706
|
:rtype: :class:`~oci.response.Response`
|
4132
4707
|
|
4133
4708
|
:example:
|
4134
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4709
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/detach_vnic.py.html>`__ to see an example of how to use detach_vnic API.
|
4135
4710
|
"""
|
4136
4711
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4137
4712
|
required_arguments = ['vnicAttachmentId']
|
@@ -4230,7 +4805,7 @@ class ComputeClient(object):
|
|
4230
4805
|
:rtype: :class:`~oci.response.Response`
|
4231
4806
|
|
4232
4807
|
:example:
|
4233
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4808
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/detach_volume.py.html>`__ to see an example of how to use detach_volume API.
|
4234
4809
|
"""
|
4235
4810
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4236
4811
|
required_arguments = ['volumeAttachmentId']
|
@@ -4352,7 +4927,7 @@ class ComputeClient(object):
|
|
4352
4927
|
:rtype: :class:`~oci.response.Response`
|
4353
4928
|
|
4354
4929
|
:example:
|
4355
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4930
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/export_image.py.html>`__ to see an example of how to use export_image API.
|
4356
4931
|
"""
|
4357
4932
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4358
4933
|
required_arguments = ['imageId']
|
@@ -4452,7 +5027,7 @@ class ComputeClient(object):
|
|
4452
5027
|
:rtype: :class:`~oci.response.Response`
|
4453
5028
|
|
4454
5029
|
:example:
|
4455
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5030
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_app_catalog_listing.py.html>`__ to see an example of how to use get_app_catalog_listing API.
|
4456
5031
|
"""
|
4457
5032
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4458
5033
|
required_arguments = ['listingId']
|
@@ -4543,7 +5118,7 @@ class ComputeClient(object):
|
|
4543
5118
|
:rtype: :class:`~oci.response.Response`
|
4544
5119
|
|
4545
5120
|
:example:
|
4546
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5121
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_app_catalog_listing_agreements.py.html>`__ to see an example of how to use get_app_catalog_listing_agreements API.
|
4547
5122
|
"""
|
4548
5123
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4549
5124
|
required_arguments = ['listingId', 'resourceVersion']
|
@@ -4635,7 +5210,7 @@ class ComputeClient(object):
|
|
4635
5210
|
:rtype: :class:`~oci.response.Response`
|
4636
5211
|
|
4637
5212
|
:example:
|
4638
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5213
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_app_catalog_listing_resource_version.py.html>`__ to see an example of how to use get_app_catalog_listing_resource_version API.
|
4639
5214
|
"""
|
4640
5215
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4641
5216
|
required_arguments = ['listingId', 'resourceVersion']
|
@@ -4724,7 +5299,7 @@ class ComputeClient(object):
|
|
4724
5299
|
:rtype: :class:`~oci.response.Response`
|
4725
5300
|
|
4726
5301
|
:example:
|
4727
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5302
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_boot_volume_attachment.py.html>`__ to see an example of how to use get_boot_volume_attachment API.
|
4728
5303
|
"""
|
4729
5304
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4730
5305
|
required_arguments = ['bootVolumeAttachmentId']
|
@@ -4814,7 +5389,7 @@ class ComputeClient(object):
|
|
4814
5389
|
:rtype: :class:`~oci.response.Response`
|
4815
5390
|
|
4816
5391
|
:example:
|
4817
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5392
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_capacity_reservation.py.html>`__ to see an example of how to use get_compute_capacity_reservation API.
|
4818
5393
|
"""
|
4819
5394
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4820
5395
|
required_arguments = ['capacityReservationId']
|
@@ -4913,7 +5488,7 @@ class ComputeClient(object):
|
|
4913
5488
|
:rtype: :class:`~oci.response.Response`
|
4914
5489
|
|
4915
5490
|
:example:
|
4916
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5491
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_capacity_topology.py.html>`__ to see an example of how to use get_compute_capacity_topology API.
|
4917
5492
|
"""
|
4918
5493
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4919
5494
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -5020,7 +5595,7 @@ class ComputeClient(object):
|
|
5020
5595
|
:rtype: :class:`~oci.response.Response`
|
5021
5596
|
|
5022
5597
|
:example:
|
5023
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5598
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_cluster.py.html>`__ to see an example of how to use get_compute_cluster API.
|
5024
5599
|
"""
|
5025
5600
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5026
5601
|
required_arguments = ['computeClusterId']
|
@@ -5115,7 +5690,7 @@ class ComputeClient(object):
|
|
5115
5690
|
:rtype: :class:`~oci.response.Response`
|
5116
5691
|
|
5117
5692
|
:example:
|
5118
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5693
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_global_image_capability_schema.py.html>`__ to see an example of how to use get_compute_global_image_capability_schema API.
|
5119
5694
|
"""
|
5120
5695
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5121
5696
|
required_arguments = ['computeGlobalImageCapabilitySchemaId']
|
@@ -5208,7 +5783,7 @@ class ComputeClient(object):
|
|
5208
5783
|
:rtype: :class:`~oci.response.Response`
|
5209
5784
|
|
5210
5785
|
:example:
|
5211
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5786
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_global_image_capability_schema_version.py.html>`__ to see an example of how to use get_compute_global_image_capability_schema_version API.
|
5212
5787
|
"""
|
5213
5788
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5214
5789
|
required_arguments = ['computeGlobalImageCapabilitySchemaId', 'computeGlobalImageCapabilitySchemaVersionName']
|
@@ -5301,7 +5876,7 @@ class ComputeClient(object):
|
|
5301
5876
|
:rtype: :class:`~oci.response.Response`
|
5302
5877
|
|
5303
5878
|
:example:
|
5304
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5879
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_gpu_memory_cluster.py.html>`__ to see an example of how to use get_compute_gpu_memory_cluster API.
|
5305
5880
|
"""
|
5306
5881
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5307
5882
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -5398,14 +5973,115 @@ class ComputeClient(object):
|
|
5398
5973
|
:rtype: :class:`~oci.response.Response`
|
5399
5974
|
|
5400
5975
|
:example:
|
5401
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5976
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_gpu_memory_fabric.py.html>`__ to see an example of how to use get_compute_gpu_memory_fabric API.
|
5402
5977
|
"""
|
5403
5978
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5404
5979
|
required_arguments = ['computeGpuMemoryFabricId']
|
5405
5980
|
resource_path = "/computeGpuMemoryFabrics/{computeGpuMemoryFabricId}"
|
5406
5981
|
method = "GET"
|
5407
|
-
operation_name = "get_compute_gpu_memory_fabric"
|
5408
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/GetComputeGpuMemoryFabric"
|
5982
|
+
operation_name = "get_compute_gpu_memory_fabric"
|
5983
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/GetComputeGpuMemoryFabric"
|
5984
|
+
|
5985
|
+
# Don't accept unknown kwargs
|
5986
|
+
expected_kwargs = [
|
5987
|
+
"allow_control_chars",
|
5988
|
+
"retry_strategy",
|
5989
|
+
"opc_request_id"
|
5990
|
+
]
|
5991
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5992
|
+
if extra_kwargs:
|
5993
|
+
raise ValueError(
|
5994
|
+
f"get_compute_gpu_memory_fabric got unknown kwargs: {extra_kwargs!r}")
|
5995
|
+
|
5996
|
+
path_params = {
|
5997
|
+
"computeGpuMemoryFabricId": compute_gpu_memory_fabric_id
|
5998
|
+
}
|
5999
|
+
|
6000
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
6001
|
+
|
6002
|
+
for (k, v) in six.iteritems(path_params):
|
6003
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
6004
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
6005
|
+
|
6006
|
+
header_params = {
|
6007
|
+
"accept": "application/json",
|
6008
|
+
"content-type": "application/json",
|
6009
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
6010
|
+
}
|
6011
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
6012
|
+
|
6013
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
6014
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
6015
|
+
client_retry_strategy=self.retry_strategy
|
6016
|
+
)
|
6017
|
+
if retry_strategy is None:
|
6018
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
6019
|
+
|
6020
|
+
if retry_strategy:
|
6021
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
6022
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
6023
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
6024
|
+
return retry_strategy.make_retrying_call(
|
6025
|
+
self.base_client.call_api,
|
6026
|
+
resource_path=resource_path,
|
6027
|
+
method=method,
|
6028
|
+
path_params=path_params,
|
6029
|
+
header_params=header_params,
|
6030
|
+
response_type="ComputeGpuMemoryFabric",
|
6031
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6032
|
+
operation_name=operation_name,
|
6033
|
+
api_reference_link=api_reference_link,
|
6034
|
+
required_arguments=required_arguments)
|
6035
|
+
else:
|
6036
|
+
return self.base_client.call_api(
|
6037
|
+
resource_path=resource_path,
|
6038
|
+
method=method,
|
6039
|
+
path_params=path_params,
|
6040
|
+
header_params=header_params,
|
6041
|
+
response_type="ComputeGpuMemoryFabric",
|
6042
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6043
|
+
operation_name=operation_name,
|
6044
|
+
api_reference_link=api_reference_link,
|
6045
|
+
required_arguments=required_arguments)
|
6046
|
+
|
6047
|
+
def get_compute_host(self, compute_host_id, **kwargs):
|
6048
|
+
"""
|
6049
|
+
Gets information about the specified compute host
|
6050
|
+
|
6051
|
+
|
6052
|
+
:param str compute_host_id: (required)
|
6053
|
+
The `OCID`__ of the compute host.
|
6054
|
+
|
6055
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
6056
|
+
|
6057
|
+
:param str opc_request_id: (optional)
|
6058
|
+
Unique identifier for the request.
|
6059
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
6060
|
+
|
6061
|
+
:param obj retry_strategy: (optional)
|
6062
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
6063
|
+
|
6064
|
+
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.
|
6065
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
6066
|
+
|
6067
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
6068
|
+
|
6069
|
+
:param bool allow_control_chars: (optional)
|
6070
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
6071
|
+
By default, the response will not allow control characters in strings
|
6072
|
+
|
6073
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHost`
|
6074
|
+
:rtype: :class:`~oci.response.Response`
|
6075
|
+
|
6076
|
+
:example:
|
6077
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_host.py.html>`__ to see an example of how to use get_compute_host API.
|
6078
|
+
"""
|
6079
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6080
|
+
required_arguments = ['computeHostId']
|
6081
|
+
resource_path = "/computeHosts/{computeHostId}"
|
6082
|
+
method = "GET"
|
6083
|
+
operation_name = "get_compute_host"
|
6084
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/GetComputeHost"
|
5409
6085
|
|
5410
6086
|
# Don't accept unknown kwargs
|
5411
6087
|
expected_kwargs = [
|
@@ -5416,10 +6092,10 @@ class ComputeClient(object):
|
|
5416
6092
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5417
6093
|
if extra_kwargs:
|
5418
6094
|
raise ValueError(
|
5419
|
-
f"
|
6095
|
+
f"get_compute_host got unknown kwargs: {extra_kwargs!r}")
|
5420
6096
|
|
5421
6097
|
path_params = {
|
5422
|
-
"
|
6098
|
+
"computeHostId": compute_host_id
|
5423
6099
|
}
|
5424
6100
|
|
5425
6101
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5452,7 +6128,7 @@ class ComputeClient(object):
|
|
5452
6128
|
method=method,
|
5453
6129
|
path_params=path_params,
|
5454
6130
|
header_params=header_params,
|
5455
|
-
response_type="
|
6131
|
+
response_type="ComputeHost",
|
5456
6132
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5457
6133
|
operation_name=operation_name,
|
5458
6134
|
api_reference_link=api_reference_link,
|
@@ -5463,19 +6139,19 @@ class ComputeClient(object):
|
|
5463
6139
|
method=method,
|
5464
6140
|
path_params=path_params,
|
5465
6141
|
header_params=header_params,
|
5466
|
-
response_type="
|
6142
|
+
response_type="ComputeHost",
|
5467
6143
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5468
6144
|
operation_name=operation_name,
|
5469
6145
|
api_reference_link=api_reference_link,
|
5470
6146
|
required_arguments=required_arguments)
|
5471
6147
|
|
5472
|
-
def
|
6148
|
+
def get_compute_host_group(self, compute_host_group_id, **kwargs):
|
5473
6149
|
"""
|
5474
|
-
Gets information about the specified compute host
|
6150
|
+
Gets information about the specified compute host group
|
5475
6151
|
|
5476
6152
|
|
5477
|
-
:param str
|
5478
|
-
The `OCID`__ of the compute host.
|
6153
|
+
:param str compute_host_group_id: (required)
|
6154
|
+
The `OCID`__ of the compute host group.
|
5479
6155
|
|
5480
6156
|
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
5481
6157
|
|
@@ -5495,18 +6171,18 @@ class ComputeClient(object):
|
|
5495
6171
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5496
6172
|
By default, the response will not allow control characters in strings
|
5497
6173
|
|
5498
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.
|
6174
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHostGroup`
|
5499
6175
|
:rtype: :class:`~oci.response.Response`
|
5500
6176
|
|
5501
6177
|
:example:
|
5502
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6178
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_host_group.py.html>`__ to see an example of how to use get_compute_host_group API.
|
5503
6179
|
"""
|
5504
6180
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5505
|
-
required_arguments = ['
|
5506
|
-
resource_path = "/
|
6181
|
+
required_arguments = ['computeHostGroupId']
|
6182
|
+
resource_path = "/computeHostGroups/{computeHostGroupId}"
|
5507
6183
|
method = "GET"
|
5508
|
-
operation_name = "
|
5509
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
6184
|
+
operation_name = "get_compute_host_group"
|
6185
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/GetComputeHostGroup"
|
5510
6186
|
|
5511
6187
|
# Don't accept unknown kwargs
|
5512
6188
|
expected_kwargs = [
|
@@ -5517,10 +6193,10 @@ class ComputeClient(object):
|
|
5517
6193
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5518
6194
|
if extra_kwargs:
|
5519
6195
|
raise ValueError(
|
5520
|
-
f"
|
6196
|
+
f"get_compute_host_group got unknown kwargs: {extra_kwargs!r}")
|
5521
6197
|
|
5522
6198
|
path_params = {
|
5523
|
-
"
|
6199
|
+
"computeHostGroupId": compute_host_group_id
|
5524
6200
|
}
|
5525
6201
|
|
5526
6202
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -5553,7 +6229,7 @@ class ComputeClient(object):
|
|
5553
6229
|
method=method,
|
5554
6230
|
path_params=path_params,
|
5555
6231
|
header_params=header_params,
|
5556
|
-
response_type="
|
6232
|
+
response_type="ComputeHostGroup",
|
5557
6233
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5558
6234
|
operation_name=operation_name,
|
5559
6235
|
api_reference_link=api_reference_link,
|
@@ -5564,7 +6240,7 @@ class ComputeClient(object):
|
|
5564
6240
|
method=method,
|
5565
6241
|
path_params=path_params,
|
5566
6242
|
header_params=header_params,
|
5567
|
-
response_type="
|
6243
|
+
response_type="ComputeHostGroup",
|
5568
6244
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5569
6245
|
operation_name=operation_name,
|
5570
6246
|
api_reference_link=api_reference_link,
|
@@ -5597,7 +6273,7 @@ class ComputeClient(object):
|
|
5597
6273
|
:rtype: :class:`~oci.response.Response`
|
5598
6274
|
|
5599
6275
|
:example:
|
5600
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6276
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_compute_image_capability_schema.py.html>`__ to see an example of how to use get_compute_image_capability_schema API.
|
5601
6277
|
"""
|
5602
6278
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5603
6279
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -5699,7 +6375,7 @@ class ComputeClient(object):
|
|
5699
6375
|
:rtype: :class:`~oci.response.Response`
|
5700
6376
|
|
5701
6377
|
:example:
|
5702
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6378
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_console_history.py.html>`__ to see an example of how to use get_console_history API.
|
5703
6379
|
"""
|
5704
6380
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5705
6381
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -5793,7 +6469,7 @@ class ComputeClient(object):
|
|
5793
6469
|
:rtype: :class:`~oci.response.Response`
|
5794
6470
|
|
5795
6471
|
:example:
|
5796
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6472
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_console_history_content.py.html>`__ to see an example of how to use get_console_history_content API.
|
5797
6473
|
"""
|
5798
6474
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5799
6475
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -5897,7 +6573,7 @@ class ComputeClient(object):
|
|
5897
6573
|
:rtype: :class:`~oci.response.Response`
|
5898
6574
|
|
5899
6575
|
:example:
|
5900
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6576
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_dedicated_vm_host.py.html>`__ to see an example of how to use get_dedicated_vm_host API.
|
5901
6577
|
"""
|
5902
6578
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5903
6579
|
required_arguments = ['dedicatedVmHostId']
|
@@ -5992,7 +6668,7 @@ class ComputeClient(object):
|
|
5992
6668
|
:rtype: :class:`~oci.response.Response`
|
5993
6669
|
|
5994
6670
|
:example:
|
5995
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6671
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_image.py.html>`__ to see an example of how to use get_image API.
|
5996
6672
|
"""
|
5997
6673
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5998
6674
|
required_arguments = ['imageId']
|
@@ -6089,7 +6765,7 @@ class ComputeClient(object):
|
|
6089
6765
|
:rtype: :class:`~oci.response.Response`
|
6090
6766
|
|
6091
6767
|
:example:
|
6092
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6768
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_image_shape_compatibility_entry.py.html>`__ to see an example of how to use get_image_shape_compatibility_entry API.
|
6093
6769
|
"""
|
6094
6770
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6095
6771
|
required_arguments = ['imageId', 'shapeName']
|
@@ -6190,7 +6866,7 @@ class ComputeClient(object):
|
|
6190
6866
|
:rtype: :class:`~oci.response.Response`
|
6191
6867
|
|
6192
6868
|
:example:
|
6193
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6869
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_instance.py.html>`__ to see an example of how to use get_instance API.
|
6194
6870
|
"""
|
6195
6871
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6196
6872
|
required_arguments = ['instanceId']
|
@@ -6276,7 +6952,7 @@ class ComputeClient(object):
|
|
6276
6952
|
:rtype: :class:`~oci.response.Response`
|
6277
6953
|
|
6278
6954
|
:example:
|
6279
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6955
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_instance_console_connection.py.html>`__ to see an example of how to use get_instance_console_connection API.
|
6280
6956
|
"""
|
6281
6957
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6282
6958
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -6366,7 +7042,7 @@ class ComputeClient(object):
|
|
6366
7042
|
:rtype: :class:`~oci.response.Response`
|
6367
7043
|
|
6368
7044
|
:example:
|
6369
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7045
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_instance_maintenance_event.py.html>`__ to see an example of how to use get_instance_maintenance_event API.
|
6370
7046
|
"""
|
6371
7047
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6372
7048
|
required_arguments = ['instanceMaintenanceEventId']
|
@@ -6468,7 +7144,7 @@ class ComputeClient(object):
|
|
6468
7144
|
:rtype: :class:`~oci.response.Response`
|
6469
7145
|
|
6470
7146
|
:example:
|
6471
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7147
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_instance_maintenance_reboot.py.html>`__ to see an example of how to use get_instance_maintenance_reboot API.
|
6472
7148
|
"""
|
6473
7149
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6474
7150
|
required_arguments = ['instanceId']
|
@@ -6567,7 +7243,7 @@ class ComputeClient(object):
|
|
6567
7243
|
:rtype: :class:`~oci.response.Response`
|
6568
7244
|
|
6569
7245
|
:example:
|
6570
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7246
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_measured_boot_report.py.html>`__ to see an example of how to use get_measured_boot_report API.
|
6571
7247
|
"""
|
6572
7248
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6573
7249
|
required_arguments = ['instanceId']
|
@@ -6660,7 +7336,7 @@ class ComputeClient(object):
|
|
6660
7336
|
:rtype: :class:`~oci.response.Response`
|
6661
7337
|
|
6662
7338
|
:example:
|
6663
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7339
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_vnic_attachment.py.html>`__ to see an example of how to use get_vnic_attachment API.
|
6664
7340
|
"""
|
6665
7341
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6666
7342
|
required_arguments = ['vnicAttachmentId']
|
@@ -6746,7 +7422,7 @@ class ComputeClient(object):
|
|
6746
7422
|
:rtype: :class:`~oci.response.Response`
|
6747
7423
|
|
6748
7424
|
:example:
|
6749
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7425
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_volume_attachment.py.html>`__ to see an example of how to use get_volume_attachment API.
|
6750
7426
|
"""
|
6751
7427
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6752
7428
|
required_arguments = ['volumeAttachmentId']
|
@@ -6835,7 +7511,7 @@ class ComputeClient(object):
|
|
6835
7511
|
:rtype: :class:`~oci.response.Response`
|
6836
7512
|
|
6837
7513
|
:example:
|
6838
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7514
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/get_windows_instance_initial_credentials.py.html>`__ to see an example of how to use get_windows_instance_initial_credentials API.
|
6839
7515
|
"""
|
6840
7516
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6841
7517
|
required_arguments = ['instanceId']
|
@@ -6989,7 +7665,7 @@ class ComputeClient(object):
|
|
6989
7665
|
:rtype: :class:`~oci.response.Response`
|
6990
7666
|
|
6991
7667
|
:example:
|
6992
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7668
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/instance_action.py.html>`__ to see an example of how to use instance_action API.
|
6993
7669
|
"""
|
6994
7670
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6995
7671
|
required_arguments = ['instanceId', 'action']
|
@@ -7155,7 +7831,7 @@ class ComputeClient(object):
|
|
7155
7831
|
:rtype: :class:`~oci.response.Response`
|
7156
7832
|
|
7157
7833
|
:example:
|
7158
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7834
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/launch_instance.py.html>`__ to see an example of how to use launch_instance API.
|
7159
7835
|
"""
|
7160
7836
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7161
7837
|
required_arguments = []
|
@@ -7261,7 +7937,7 @@ class ComputeClient(object):
|
|
7261
7937
|
:rtype: :class:`~oci.response.Response`
|
7262
7938
|
|
7263
7939
|
:example:
|
7264
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7940
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_app_catalog_listing_resource_versions.py.html>`__ to see an example of how to use list_app_catalog_listing_resource_versions API.
|
7265
7941
|
"""
|
7266
7942
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7267
7943
|
required_arguments = ['listingId']
|
@@ -7400,7 +8076,7 @@ class ComputeClient(object):
|
|
7400
8076
|
:rtype: :class:`~oci.response.Response`
|
7401
8077
|
|
7402
8078
|
:example:
|
7403
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8079
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_app_catalog_listings.py.html>`__ to see an example of how to use list_app_catalog_listings API.
|
7404
8080
|
"""
|
7405
8081
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7406
8082
|
required_arguments = []
|
@@ -7544,7 +8220,7 @@ class ComputeClient(object):
|
|
7544
8220
|
:rtype: :class:`~oci.response.Response`
|
7545
8221
|
|
7546
8222
|
:example:
|
7547
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8223
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_app_catalog_subscriptions.py.html>`__ to see an example of how to use list_app_catalog_subscriptions API.
|
7548
8224
|
"""
|
7549
8225
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7550
8226
|
required_arguments = ['compartmentId']
|
@@ -7685,7 +8361,7 @@ class ComputeClient(object):
|
|
7685
8361
|
:rtype: :class:`~oci.response.Response`
|
7686
8362
|
|
7687
8363
|
:example:
|
7688
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8364
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_boot_volume_attachments.py.html>`__ to see an example of how to use list_boot_volume_attachments API.
|
7689
8365
|
"""
|
7690
8366
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7691
8367
|
required_arguments = ['availabilityDomain', 'compartmentId']
|
@@ -7827,7 +8503,7 @@ class ComputeClient(object):
|
|
7827
8503
|
:rtype: :class:`~oci.response.Response`
|
7828
8504
|
|
7829
8505
|
:example:
|
7830
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8506
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_capacity_reservation_instance_shapes.py.html>`__ to see an example of how to use list_compute_capacity_reservation_instance_shapes API.
|
7831
8507
|
"""
|
7832
8508
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7833
8509
|
required_arguments = ['compartmentId']
|
@@ -7989,7 +8665,7 @@ class ComputeClient(object):
|
|
7989
8665
|
:rtype: :class:`~oci.response.Response`
|
7990
8666
|
|
7991
8667
|
:example:
|
7992
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8668
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_capacity_reservation_instances.py.html>`__ to see an example of how to use list_compute_capacity_reservation_instances API.
|
7993
8669
|
"""
|
7994
8670
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7995
8671
|
required_arguments = ['capacityReservationId']
|
@@ -8170,7 +8846,7 @@ class ComputeClient(object):
|
|
8170
8846
|
:rtype: :class:`~oci.response.Response`
|
8171
8847
|
|
8172
8848
|
:example:
|
8173
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8849
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_capacity_reservations.py.html>`__ to see an example of how to use list_compute_capacity_reservations API.
|
8174
8850
|
"""
|
8175
8851
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8176
8852
|
required_arguments = ['compartmentId']
|
@@ -8342,7 +9018,7 @@ class ComputeClient(object):
|
|
8342
9018
|
:rtype: :class:`~oci.response.Response`
|
8343
9019
|
|
8344
9020
|
:example:
|
8345
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9021
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_capacity_topologies.py.html>`__ to see an example of how to use list_compute_capacity_topologies API.
|
8346
9022
|
"""
|
8347
9023
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8348
9024
|
required_arguments = ['compartmentId']
|
@@ -8523,7 +9199,7 @@ class ComputeClient(object):
|
|
8523
9199
|
:rtype: :class:`~oci.response.Response`
|
8524
9200
|
|
8525
9201
|
:example:
|
8526
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9202
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_capacity_topology_compute_bare_metal_hosts.py.html>`__ to see an example of how to use list_compute_capacity_topology_compute_bare_metal_hosts API.
|
8527
9203
|
"""
|
8528
9204
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8529
9205
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -8706,7 +9382,7 @@ class ComputeClient(object):
|
|
8706
9382
|
:rtype: :class:`~oci.response.Response`
|
8707
9383
|
|
8708
9384
|
:example:
|
8709
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9385
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_capacity_topology_compute_hpc_islands.py.html>`__ to see an example of how to use list_compute_capacity_topology_compute_hpc_islands API.
|
8710
9386
|
"""
|
8711
9387
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8712
9388
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -8888,7 +9564,7 @@ class ComputeClient(object):
|
|
8888
9564
|
:rtype: :class:`~oci.response.Response`
|
8889
9565
|
|
8890
9566
|
:example:
|
8891
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9567
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_capacity_topology_compute_network_blocks.py.html>`__ to see an example of how to use list_compute_capacity_topology_compute_network_blocks API.
|
8892
9568
|
"""
|
8893
9569
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8894
9570
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -9068,7 +9744,7 @@ class ComputeClient(object):
|
|
9068
9744
|
:rtype: :class:`~oci.response.Response`
|
9069
9745
|
|
9070
9746
|
:example:
|
9071
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9747
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_clusters.py.html>`__ to see an example of how to use list_compute_clusters API.
|
9072
9748
|
"""
|
9073
9749
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9074
9750
|
required_arguments = ['compartmentId']
|
@@ -9221,7 +9897,7 @@ class ComputeClient(object):
|
|
9221
9897
|
:rtype: :class:`~oci.response.Response`
|
9222
9898
|
|
9223
9899
|
:example:
|
9224
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9900
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_global_image_capability_schema_versions.py.html>`__ to see an example of how to use list_compute_global_image_capability_schema_versions API.
|
9225
9901
|
"""
|
9226
9902
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9227
9903
|
required_arguments = ['computeGlobalImageCapabilitySchemaId']
|
@@ -9380,7 +10056,7 @@ class ComputeClient(object):
|
|
9380
10056
|
:rtype: :class:`~oci.response.Response`
|
9381
10057
|
|
9382
10058
|
:example:
|
9383
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10059
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_global_image_capability_schemas.py.html>`__ to see an example of how to use list_compute_global_image_capability_schemas API.
|
9384
10060
|
"""
|
9385
10061
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9386
10062
|
required_arguments = []
|
@@ -9530,7 +10206,7 @@ class ComputeClient(object):
|
|
9530
10206
|
:rtype: :class:`~oci.response.Response`
|
9531
10207
|
|
9532
10208
|
:example:
|
9533
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10209
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_gpu_memory_cluster_instances.py.html>`__ to see an example of how to use list_compute_gpu_memory_cluster_instances API.
|
9534
10210
|
"""
|
9535
10211
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9536
10212
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -9712,7 +10388,7 @@ class ComputeClient(object):
|
|
9712
10388
|
:rtype: :class:`~oci.response.Response`
|
9713
10389
|
|
9714
10390
|
:example:
|
9715
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10391
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_gpu_memory_clusters.py.html>`__ to see an example of how to use list_compute_gpu_memory_clusters API.
|
9716
10392
|
"""
|
9717
10393
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9718
10394
|
required_arguments = ['compartmentId']
|
@@ -9903,7 +10579,7 @@ class ComputeClient(object):
|
|
9903
10579
|
:rtype: :class:`~oci.response.Response`
|
9904
10580
|
|
9905
10581
|
:example:
|
9906
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10582
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_gpu_memory_fabrics.py.html>`__ to see an example of how to use list_compute_gpu_memory_fabrics API.
|
9907
10583
|
"""
|
9908
10584
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9909
10585
|
required_arguments = ['compartmentId']
|
@@ -10019,6 +10695,122 @@ class ComputeClient(object):
|
|
10019
10695
|
api_reference_link=api_reference_link,
|
10020
10696
|
required_arguments=required_arguments)
|
10021
10697
|
|
10698
|
+
def list_compute_host_groups(self, compartment_id, **kwargs):
|
10699
|
+
"""
|
10700
|
+
Lists the compute host groups that match the specified criteria and compartment.
|
10701
|
+
|
10702
|
+
|
10703
|
+
:param str compartment_id: (required)
|
10704
|
+
The `OCID`__ of the compartment.
|
10705
|
+
|
10706
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
10707
|
+
|
10708
|
+
:param str opc_request_id: (optional)
|
10709
|
+
Unique identifier for the request.
|
10710
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
10711
|
+
|
10712
|
+
:param str page: (optional)
|
10713
|
+
For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
10714
|
+
call. For important details about how pagination works, see
|
10715
|
+
`List Pagination`__.
|
10716
|
+
|
10717
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
10718
|
+
|
10719
|
+
:param int limit: (optional)
|
10720
|
+
For list pagination. The maximum number of results per page, or items to return in a paginated
|
10721
|
+
\"List\" call. For important details about how pagination works, see
|
10722
|
+
`List Pagination`__.
|
10723
|
+
|
10724
|
+
Example: `50`
|
10725
|
+
|
10726
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
10727
|
+
|
10728
|
+
:param obj retry_strategy: (optional)
|
10729
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
10730
|
+
|
10731
|
+
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.
|
10732
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
10733
|
+
|
10734
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
10735
|
+
|
10736
|
+
:param bool allow_control_chars: (optional)
|
10737
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
10738
|
+
By default, the response will not allow control characters in strings
|
10739
|
+
|
10740
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHostGroupCollection`
|
10741
|
+
:rtype: :class:`~oci.response.Response`
|
10742
|
+
|
10743
|
+
:example:
|
10744
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_host_groups.py.html>`__ to see an example of how to use list_compute_host_groups API.
|
10745
|
+
"""
|
10746
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10747
|
+
required_arguments = ['compartmentId']
|
10748
|
+
resource_path = "/computeHostGroups"
|
10749
|
+
method = "GET"
|
10750
|
+
operation_name = "list_compute_host_groups"
|
10751
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/ListComputeHostGroups"
|
10752
|
+
|
10753
|
+
# Don't accept unknown kwargs
|
10754
|
+
expected_kwargs = [
|
10755
|
+
"allow_control_chars",
|
10756
|
+
"retry_strategy",
|
10757
|
+
"opc_request_id",
|
10758
|
+
"page",
|
10759
|
+
"limit"
|
10760
|
+
]
|
10761
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
10762
|
+
if extra_kwargs:
|
10763
|
+
raise ValueError(
|
10764
|
+
f"list_compute_host_groups got unknown kwargs: {extra_kwargs!r}")
|
10765
|
+
|
10766
|
+
query_params = {
|
10767
|
+
"compartmentId": compartment_id,
|
10768
|
+
"page": kwargs.get("page", missing),
|
10769
|
+
"limit": kwargs.get("limit", missing)
|
10770
|
+
}
|
10771
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
10772
|
+
|
10773
|
+
header_params = {
|
10774
|
+
"accept": "application/json, application/x-json-stream",
|
10775
|
+
"content-type": "application/json",
|
10776
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
10777
|
+
}
|
10778
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
10779
|
+
|
10780
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
10781
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
10782
|
+
client_retry_strategy=self.retry_strategy
|
10783
|
+
)
|
10784
|
+
if retry_strategy is None:
|
10785
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
10786
|
+
|
10787
|
+
if retry_strategy:
|
10788
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
10789
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
10790
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
10791
|
+
return retry_strategy.make_retrying_call(
|
10792
|
+
self.base_client.call_api,
|
10793
|
+
resource_path=resource_path,
|
10794
|
+
method=method,
|
10795
|
+
query_params=query_params,
|
10796
|
+
header_params=header_params,
|
10797
|
+
response_type="ComputeHostGroupCollection",
|
10798
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10799
|
+
operation_name=operation_name,
|
10800
|
+
api_reference_link=api_reference_link,
|
10801
|
+
required_arguments=required_arguments)
|
10802
|
+
else:
|
10803
|
+
return self.base_client.call_api(
|
10804
|
+
resource_path=resource_path,
|
10805
|
+
method=method,
|
10806
|
+
query_params=query_params,
|
10807
|
+
header_params=header_params,
|
10808
|
+
response_type="ComputeHostGroupCollection",
|
10809
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10810
|
+
operation_name=operation_name,
|
10811
|
+
api_reference_link=api_reference_link,
|
10812
|
+
required_arguments=required_arguments)
|
10813
|
+
|
10022
10814
|
def list_compute_hosts(self, compartment_id, **kwargs):
|
10023
10815
|
"""
|
10024
10816
|
Generates a list of summary host details
|
@@ -10089,6 +10881,11 @@ class ComputeClient(object):
|
|
10089
10881
|
:param str compute_host_health: (optional)
|
10090
10882
|
A filter to return only ComputeHostSummary resources that match the given Compute Host health State OCID exactly.
|
10091
10883
|
|
10884
|
+
:param str compute_host_group_id: (optional)
|
10885
|
+
The `OCID`__ of the compute host group.
|
10886
|
+
|
10887
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
10888
|
+
|
10092
10889
|
:param obj retry_strategy: (optional)
|
10093
10890
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
10094
10891
|
|
@@ -10105,7 +10902,7 @@ class ComputeClient(object):
|
|
10105
10902
|
:rtype: :class:`~oci.response.Response`
|
10106
10903
|
|
10107
10904
|
:example:
|
10108
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10905
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_hosts.py.html>`__ to see an example of how to use list_compute_hosts API.
|
10109
10906
|
"""
|
10110
10907
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10111
10908
|
required_arguments = ['compartmentId']
|
@@ -10127,7 +10924,8 @@ class ComputeClient(object):
|
|
10127
10924
|
"sort_by",
|
10128
10925
|
"sort_order",
|
10129
10926
|
"compute_host_lifecycle_state",
|
10130
|
-
"compute_host_health"
|
10927
|
+
"compute_host_health",
|
10928
|
+
"compute_host_group_id"
|
10131
10929
|
]
|
10132
10930
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
10133
10931
|
if extra_kwargs:
|
@@ -10158,7 +10956,8 @@ class ComputeClient(object):
|
|
10158
10956
|
"sortBy": kwargs.get("sort_by", missing),
|
10159
10957
|
"sortOrder": kwargs.get("sort_order", missing),
|
10160
10958
|
"computeHostLifecycleState": kwargs.get("compute_host_lifecycle_state", missing),
|
10161
|
-
"computeHostHealth": kwargs.get("compute_host_health", missing)
|
10959
|
+
"computeHostHealth": kwargs.get("compute_host_health", missing),
|
10960
|
+
"computeHostGroupId": kwargs.get("compute_host_group_id", missing)
|
10162
10961
|
}
|
10163
10962
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
10164
10963
|
|
@@ -10269,7 +11068,7 @@ class ComputeClient(object):
|
|
10269
11068
|
:rtype: :class:`~oci.response.Response`
|
10270
11069
|
|
10271
11070
|
:example:
|
10272
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11071
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_compute_image_capability_schemas.py.html>`__ to see an example of how to use list_compute_image_capability_schemas API.
|
10273
11072
|
"""
|
10274
11073
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10275
11074
|
required_arguments = []
|
@@ -10433,7 +11232,7 @@ class ComputeClient(object):
|
|
10433
11232
|
:rtype: :class:`~oci.response.Response`
|
10434
11233
|
|
10435
11234
|
:example:
|
10436
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11235
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_console_histories.py.html>`__ to see an example of how to use list_console_histories API.
|
10437
11236
|
"""
|
10438
11237
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10439
11238
|
required_arguments = ['compartmentId']
|
@@ -10584,7 +11383,7 @@ class ComputeClient(object):
|
|
10584
11383
|
:rtype: :class:`~oci.response.Response`
|
10585
11384
|
|
10586
11385
|
:example:
|
10587
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11386
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_dedicated_vm_host_instance_shapes.py.html>`__ to see an example of how to use list_dedicated_vm_host_instance_shapes API.
|
10588
11387
|
"""
|
10589
11388
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10590
11389
|
required_arguments = ['compartmentId']
|
@@ -10728,7 +11527,7 @@ class ComputeClient(object):
|
|
10728
11527
|
:rtype: :class:`~oci.response.Response`
|
10729
11528
|
|
10730
11529
|
:example:
|
10731
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11530
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_dedicated_vm_host_instances.py.html>`__ to see an example of how to use list_dedicated_vm_host_instances API.
|
10732
11531
|
"""
|
10733
11532
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10734
11533
|
required_arguments = ['dedicatedVmHostId', 'compartmentId']
|
@@ -10882,7 +11681,7 @@ class ComputeClient(object):
|
|
10882
11681
|
:rtype: :class:`~oci.response.Response`
|
10883
11682
|
|
10884
11683
|
:example:
|
10885
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11684
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_dedicated_vm_host_shapes.py.html>`__ to see an example of how to use list_dedicated_vm_host_shapes API.
|
10886
11685
|
"""
|
10887
11686
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10888
11687
|
required_arguments = ['compartmentId']
|
@@ -11043,7 +11842,7 @@ class ComputeClient(object):
|
|
11043
11842
|
:rtype: :class:`~oci.response.Response`
|
11044
11843
|
|
11045
11844
|
:example:
|
11046
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11845
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_dedicated_vm_hosts.py.html>`__ to see an example of how to use list_dedicated_vm_hosts API.
|
11047
11846
|
"""
|
11048
11847
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11049
11848
|
required_arguments = ['compartmentId']
|
@@ -11194,7 +11993,7 @@ class ComputeClient(object):
|
|
11194
11993
|
:rtype: :class:`~oci.response.Response`
|
11195
11994
|
|
11196
11995
|
:example:
|
11197
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11996
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_image_shape_compatibility_entries.py.html>`__ to see an example of how to use list_image_shape_compatibility_entries API.
|
11198
11997
|
"""
|
11199
11998
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11200
11999
|
required_arguments = ['imageId']
|
@@ -11370,7 +12169,7 @@ class ComputeClient(object):
|
|
11370
12169
|
:rtype: :class:`~oci.response.Response`
|
11371
12170
|
|
11372
12171
|
:example:
|
11373
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12172
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_images.py.html>`__ to see an example of how to use list_images API.
|
11374
12173
|
"""
|
11375
12174
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11376
12175
|
required_arguments = ['compartmentId']
|
@@ -11521,7 +12320,7 @@ class ComputeClient(object):
|
|
11521
12320
|
:rtype: :class:`~oci.response.Response`
|
11522
12321
|
|
11523
12322
|
:example:
|
11524
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12323
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_instance_console_connections.py.html>`__ to see an example of how to use list_instance_console_connections API.
|
11525
12324
|
"""
|
11526
12325
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11527
12326
|
required_arguments = ['compartmentId']
|
@@ -11658,7 +12457,7 @@ class ComputeClient(object):
|
|
11658
12457
|
:rtype: :class:`~oci.response.Response`
|
11659
12458
|
|
11660
12459
|
:example:
|
11661
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12460
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_instance_devices.py.html>`__ to see an example of how to use list_instance_devices API.
|
11662
12461
|
"""
|
11663
12462
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11664
12463
|
required_arguments = ['instanceId']
|
@@ -11761,7 +12560,7 @@ class ComputeClient(object):
|
|
11761
12560
|
|
11762
12561
|
def list_instance_maintenance_events(self, compartment_id, **kwargs):
|
11763
12562
|
"""
|
11764
|
-
Gets a list of all the maintenance events for the given
|
12563
|
+
Gets a list of all the maintenance events for the given compartment.
|
11765
12564
|
|
11766
12565
|
|
11767
12566
|
:param str compartment_id: (required)
|
@@ -11847,7 +12646,7 @@ class ComputeClient(object):
|
|
11847
12646
|
:rtype: :class:`~oci.response.Response`
|
11848
12647
|
|
11849
12648
|
:example:
|
11850
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12649
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_instance_maintenance_events.py.html>`__ to see an example of how to use list_instance_maintenance_events API.
|
11851
12650
|
"""
|
11852
12651
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11853
12652
|
required_arguments = ['compartmentId']
|
@@ -12042,7 +12841,7 @@ class ComputeClient(object):
|
|
12042
12841
|
:rtype: :class:`~oci.response.Response`
|
12043
12842
|
|
12044
12843
|
:example:
|
12045
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12844
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_instances.py.html>`__ to see an example of how to use list_instances API.
|
12046
12845
|
"""
|
12047
12846
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12048
12847
|
required_arguments = ['compartmentId']
|
@@ -12195,7 +12994,7 @@ class ComputeClient(object):
|
|
12195
12994
|
:rtype: :class:`~oci.response.Response`
|
12196
12995
|
|
12197
12996
|
:example:
|
12198
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12997
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_shapes.py.html>`__ to see an example of how to use list_shapes API.
|
12199
12998
|
"""
|
12200
12999
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12201
13000
|
required_arguments = ['compartmentId']
|
@@ -12319,7 +13118,7 @@ class ComputeClient(object):
|
|
12319
13118
|
:rtype: :class:`~oci.response.Response`
|
12320
13119
|
|
12321
13120
|
:example:
|
12322
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13121
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_vnic_attachments.py.html>`__ to see an example of how to use list_vnic_attachments API.
|
12323
13122
|
"""
|
12324
13123
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12325
13124
|
required_arguments = ['compartmentId']
|
@@ -12447,7 +13246,7 @@ class ComputeClient(object):
|
|
12447
13246
|
:rtype: :class:`~oci.response.Response`
|
12448
13247
|
|
12449
13248
|
:example:
|
12450
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13249
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/list_volume_attachments.py.html>`__ to see an example of how to use list_volume_attachments API.
|
12451
13250
|
"""
|
12452
13251
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12453
13252
|
required_arguments = ['compartmentId']
|
@@ -12547,7 +13346,7 @@ class ComputeClient(object):
|
|
12547
13346
|
:rtype: :class:`~oci.response.Response`
|
12548
13347
|
|
12549
13348
|
:example:
|
12550
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13349
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/remove_image_shape_compatibility_entry.py.html>`__ to see an example of how to use remove_image_shape_compatibility_entry API.
|
12551
13350
|
"""
|
12552
13351
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12553
13352
|
required_arguments = ['imageId', 'shapeName']
|
@@ -12659,7 +13458,7 @@ class ComputeClient(object):
|
|
12659
13458
|
:rtype: :class:`~oci.response.Response`
|
12660
13459
|
|
12661
13460
|
:example:
|
12662
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13461
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/terminate_instance.py.html>`__ to see an example of how to use terminate_instance API.
|
12663
13462
|
"""
|
12664
13463
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12665
13464
|
required_arguments = ['instanceId']
|
@@ -12774,7 +13573,7 @@ class ComputeClient(object):
|
|
12774
13573
|
:rtype: :class:`~oci.response.Response`
|
12775
13574
|
|
12776
13575
|
:example:
|
12777
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13576
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_compute_capacity_reservation.py.html>`__ to see an example of how to use update_compute_capacity_reservation API.
|
12778
13577
|
"""
|
12779
13578
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12780
13579
|
required_arguments = ['capacityReservationId']
|
@@ -12883,7 +13682,7 @@ class ComputeClient(object):
|
|
12883
13682
|
:rtype: :class:`~oci.response.Response`
|
12884
13683
|
|
12885
13684
|
:example:
|
12886
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13685
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_compute_capacity_topology.py.html>`__ to see an example of how to use update_compute_capacity_topology API.
|
12887
13686
|
"""
|
12888
13687
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12889
13688
|
required_arguments = ['computeCapacityTopologyId']
|
@@ -13013,7 +13812,7 @@ class ComputeClient(object):
|
|
13013
13812
|
:rtype: :class:`~oci.response.Response`
|
13014
13813
|
|
13015
13814
|
:example:
|
13016
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13815
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_compute_cluster.py.html>`__ to see an example of how to use update_compute_cluster API.
|
13017
13816
|
"""
|
13018
13817
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13019
13818
|
required_arguments = ['computeClusterId']
|
@@ -13132,7 +13931,7 @@ class ComputeClient(object):
|
|
13132
13931
|
:rtype: :class:`~oci.response.Response`
|
13133
13932
|
|
13134
13933
|
:example:
|
13135
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13934
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_compute_gpu_memory_cluster.py.html>`__ to see an example of how to use update_compute_gpu_memory_cluster API.
|
13136
13935
|
"""
|
13137
13936
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13138
13937
|
required_arguments = ['computeGpuMemoryClusterId']
|
@@ -13253,7 +14052,7 @@ class ComputeClient(object):
|
|
13253
14052
|
:rtype: :class:`~oci.response.Response`
|
13254
14053
|
|
13255
14054
|
:example:
|
13256
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14055
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_compute_gpu_memory_fabric.py.html>`__ to see an example of how to use update_compute_gpu_memory_fabric API.
|
13257
14056
|
"""
|
13258
14057
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13259
14058
|
required_arguments = ['computeGpuMemoryFabricId']
|
@@ -13353,6 +14152,13 @@ class ComputeClient(object):
|
|
13353
14152
|
Unique identifier for the request.
|
13354
14153
|
If you need to contact Oracle about a particular request, please provide the request ID.
|
13355
14154
|
|
14155
|
+
:param str opc_retry_token: (optional)
|
14156
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
14157
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
14158
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
14159
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
14160
|
+
may be rejected).
|
14161
|
+
|
13356
14162
|
:param obj retry_strategy: (optional)
|
13357
14163
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
13358
14164
|
|
@@ -13369,7 +14175,7 @@ class ComputeClient(object):
|
|
13369
14175
|
:rtype: :class:`~oci.response.Response`
|
13370
14176
|
|
13371
14177
|
:example:
|
13372
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14178
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_compute_host.py.html>`__ to see an example of how to use update_compute_host API.
|
13373
14179
|
"""
|
13374
14180
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13375
14181
|
required_arguments = ['computeHostId']
|
@@ -13383,7 +14189,8 @@ class ComputeClient(object):
|
|
13383
14189
|
"allow_control_chars",
|
13384
14190
|
"retry_strategy",
|
13385
14191
|
"if_match",
|
13386
|
-
"opc_request_id"
|
14192
|
+
"opc_request_id",
|
14193
|
+
"opc_retry_token"
|
13387
14194
|
]
|
13388
14195
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
13389
14196
|
if extra_kwargs:
|
@@ -13404,7 +14211,8 @@ class ComputeClient(object):
|
|
13404
14211
|
"accept": "application/json",
|
13405
14212
|
"content-type": "application/json",
|
13406
14213
|
"if-match": kwargs.get("if_match", missing),
|
13407
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
14214
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
14215
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
13408
14216
|
}
|
13409
14217
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
13410
14218
|
|
@@ -13417,6 +14225,7 @@ class ComputeClient(object):
|
|
13417
14225
|
|
13418
14226
|
if retry_strategy:
|
13419
14227
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
14228
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
13420
14229
|
self.base_client.add_opc_client_retries_header(header_params)
|
13421
14230
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
13422
14231
|
return retry_strategy.make_retrying_call(
|
@@ -13442,6 +14251,129 @@ class ComputeClient(object):
|
|
13442
14251
|
api_reference_link=api_reference_link,
|
13443
14252
|
required_arguments=required_arguments)
|
13444
14253
|
|
14254
|
+
def update_compute_host_group(self, compute_host_group_id, update_compute_host_group_details, **kwargs):
|
14255
|
+
"""
|
14256
|
+
Updates the specified compute host group details.
|
14257
|
+
|
14258
|
+
|
14259
|
+
:param str compute_host_group_id: (required)
|
14260
|
+
The `OCID`__ of the compute host group.
|
14261
|
+
|
14262
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
14263
|
+
|
14264
|
+
:param oci.core.models.UpdateComputeHostGroupDetails update_compute_host_group_details: (required)
|
14265
|
+
Update compute host group details.
|
14266
|
+
|
14267
|
+
:param str if_match: (optional)
|
14268
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
14269
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
14270
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
14271
|
+
|
14272
|
+
:param str opc_request_id: (optional)
|
14273
|
+
Unique identifier for the request.
|
14274
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
14275
|
+
|
14276
|
+
:param str opc_retry_token: (optional)
|
14277
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
14278
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
14279
|
+
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
14280
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
14281
|
+
may be rejected).
|
14282
|
+
|
14283
|
+
:param obj retry_strategy: (optional)
|
14284
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
14285
|
+
|
14286
|
+
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.
|
14287
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
14288
|
+
|
14289
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
14290
|
+
|
14291
|
+
:param bool allow_control_chars: (optional)
|
14292
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
14293
|
+
By default, the response will not allow control characters in strings
|
14294
|
+
|
14295
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHostGroup`
|
14296
|
+
:rtype: :class:`~oci.response.Response`
|
14297
|
+
|
14298
|
+
:example:
|
14299
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_compute_host_group.py.html>`__ to see an example of how to use update_compute_host_group API.
|
14300
|
+
"""
|
14301
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14302
|
+
required_arguments = ['computeHostGroupId']
|
14303
|
+
resource_path = "/computeHostGroups/{computeHostGroupId}"
|
14304
|
+
method = "PUT"
|
14305
|
+
operation_name = "update_compute_host_group"
|
14306
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/UpdateComputeHostGroup"
|
14307
|
+
|
14308
|
+
# Don't accept unknown kwargs
|
14309
|
+
expected_kwargs = [
|
14310
|
+
"allow_control_chars",
|
14311
|
+
"retry_strategy",
|
14312
|
+
"if_match",
|
14313
|
+
"opc_request_id",
|
14314
|
+
"opc_retry_token"
|
14315
|
+
]
|
14316
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
14317
|
+
if extra_kwargs:
|
14318
|
+
raise ValueError(
|
14319
|
+
f"update_compute_host_group got unknown kwargs: {extra_kwargs!r}")
|
14320
|
+
|
14321
|
+
path_params = {
|
14322
|
+
"computeHostGroupId": compute_host_group_id
|
14323
|
+
}
|
14324
|
+
|
14325
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
14326
|
+
|
14327
|
+
for (k, v) in six.iteritems(path_params):
|
14328
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
14329
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
14330
|
+
|
14331
|
+
header_params = {
|
14332
|
+
"accept": "application/json",
|
14333
|
+
"content-type": "application/json",
|
14334
|
+
"if-match": kwargs.get("if_match", missing),
|
14335
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
14336
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
14337
|
+
}
|
14338
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
14339
|
+
|
14340
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
14341
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
14342
|
+
client_retry_strategy=self.retry_strategy
|
14343
|
+
)
|
14344
|
+
if retry_strategy is None:
|
14345
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
14346
|
+
|
14347
|
+
if retry_strategy:
|
14348
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
14349
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
14350
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
14351
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
14352
|
+
return retry_strategy.make_retrying_call(
|
14353
|
+
self.base_client.call_api,
|
14354
|
+
resource_path=resource_path,
|
14355
|
+
method=method,
|
14356
|
+
path_params=path_params,
|
14357
|
+
header_params=header_params,
|
14358
|
+
body=update_compute_host_group_details,
|
14359
|
+
response_type="ComputeHostGroup",
|
14360
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
14361
|
+
operation_name=operation_name,
|
14362
|
+
api_reference_link=api_reference_link,
|
14363
|
+
required_arguments=required_arguments)
|
14364
|
+
else:
|
14365
|
+
return self.base_client.call_api(
|
14366
|
+
resource_path=resource_path,
|
14367
|
+
method=method,
|
14368
|
+
path_params=path_params,
|
14369
|
+
header_params=header_params,
|
14370
|
+
body=update_compute_host_group_details,
|
14371
|
+
response_type="ComputeHostGroup",
|
14372
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
14373
|
+
operation_name=operation_name,
|
14374
|
+
api_reference_link=api_reference_link,
|
14375
|
+
required_arguments=required_arguments)
|
14376
|
+
|
13445
14377
|
def update_compute_image_capability_schema(self, compute_image_capability_schema_id, update_compute_image_capability_schema_details, **kwargs):
|
13446
14378
|
"""
|
13447
14379
|
Updates the specified Compute Image Capability Schema
|
@@ -13474,7 +14406,7 @@ class ComputeClient(object):
|
|
13474
14406
|
:rtype: :class:`~oci.response.Response`
|
13475
14407
|
|
13476
14408
|
:example:
|
13477
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14409
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_compute_image_capability_schema.py.html>`__ to see an example of how to use update_compute_image_capability_schema API.
|
13478
14410
|
"""
|
13479
14411
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13480
14412
|
required_arguments = ['computeImageCapabilitySchemaId']
|
@@ -13577,7 +14509,7 @@ class ComputeClient(object):
|
|
13577
14509
|
:rtype: :class:`~oci.response.Response`
|
13578
14510
|
|
13579
14511
|
:example:
|
13580
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14512
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_console_history.py.html>`__ to see an example of how to use update_console_history API.
|
13581
14513
|
"""
|
13582
14514
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13583
14515
|
required_arguments = ['instanceConsoleHistoryId']
|
@@ -13692,7 +14624,7 @@ class ComputeClient(object):
|
|
13692
14624
|
:rtype: :class:`~oci.response.Response`
|
13693
14625
|
|
13694
14626
|
:example:
|
13695
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14627
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_dedicated_vm_host.py.html>`__ to see an example of how to use update_dedicated_vm_host API.
|
13696
14628
|
"""
|
13697
14629
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13698
14630
|
required_arguments = ['dedicatedVmHostId']
|
@@ -13809,7 +14741,7 @@ class ComputeClient(object):
|
|
13809
14741
|
:rtype: :class:`~oci.response.Response`
|
13810
14742
|
|
13811
14743
|
:example:
|
13812
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14744
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_image.py.html>`__ to see an example of how to use update_image API.
|
13813
14745
|
"""
|
13814
14746
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13815
14747
|
required_arguments = ['imageId']
|
@@ -13930,7 +14862,7 @@ class ComputeClient(object):
|
|
13930
14862
|
:rtype: :class:`~oci.response.Response`
|
13931
14863
|
|
13932
14864
|
:example:
|
13933
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14865
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_instance.py.html>`__ to see an example of how to use update_instance API.
|
13934
14866
|
"""
|
13935
14867
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13936
14868
|
required_arguments = ['instanceId']
|
@@ -14040,7 +14972,7 @@ class ComputeClient(object):
|
|
14040
14972
|
:rtype: :class:`~oci.response.Response`
|
14041
14973
|
|
14042
14974
|
:example:
|
14043
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14975
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_instance_console_connection.py.html>`__ to see an example of how to use update_instance_console_connection API.
|
14044
14976
|
"""
|
14045
14977
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14046
14978
|
required_arguments = ['instanceConsoleConnectionId']
|
@@ -14156,7 +15088,7 @@ class ComputeClient(object):
|
|
14156
15088
|
:rtype: :class:`~oci.response.Response`
|
14157
15089
|
|
14158
15090
|
:example:
|
14159
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15091
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_instance_maintenance_event.py.html>`__ to see an example of how to use update_instance_maintenance_event API.
|
14160
15092
|
"""
|
14161
15093
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14162
15094
|
required_arguments = ['instanceMaintenanceEventId']
|
@@ -14268,7 +15200,7 @@ class ComputeClient(object):
|
|
14268
15200
|
:rtype: :class:`~oci.response.Response`
|
14269
15201
|
|
14270
15202
|
:example:
|
14271
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15203
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/core/update_volume_attachment.py.html>`__ to see an example of how to use update_volume_attachment API.
|
14272
15204
|
"""
|
14273
15205
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14274
15206
|
required_arguments = ['volumeAttachmentId']
|