get_available_cloud_config#
- Desktop.get_available_cloud_config(region='westeurope')#
Get available Ansys Cloud machines configuration.
- Parameters:
- region
str
Name of Ansys Cloud location region. Available regions are:
"westeurope"
,"eastus"
,"northcentralus"
,"southcentralus"
,"northeurope"
,"japaneast"
,"westus2"
,"centralindia"
.
- region
- Returns:
dict
Dictionary containing the config name and config details.
Examples
>>> from ansys.aedt.core import Desktop
>>> d = Desktop(version="2024.2", new_desktop=False) >>> d.select_scheduler("Ansys Cloud") >>> out = d.get_available_cloud_config() >>> job_id, job_name = d.submit_ansys_cloud_job('via_gsg.aedt', ... list(out.keys())[0], ... region="westeurope", ... job_name="MyJob" ... ) >>> o1=d.get_ansyscloud_job_info(job_id=job_id) >>> o2=d.get_ansyscloud_job_info(job_name=job_name) >>> d.download_job_results(job_id=job_id, ... project_path='via_gsg.aedt', ... results_folder='via_gsg_results') >>> d.release_desktop(False,False)