MechanicalInstanceVersionConfiguration#

class ansys.saf.product_configuration.mechanical.MechanicalInstanceVersionConfiguration(version: str)#

Bases: ansys.saf.product_configuration.interfaces.IProductInstanceVersionConfiguration

Configuration class for a specific version of Ansys Mechanical with secure gRPC connections.

Overview#

service_name

The name of the service associated with the Mechanical instance.

execution_command

The command to launch Mechanical.

environment

Environment variables for the Mechanical instance.

software_requirements

Required software to run Mechanical in HPS.

exe_path_for_pim

Path to the Mechanical executable.

service_type

Service type use for the health check.

enable_secure_flags

Enable secure communication with the Mechanical service.

linux_local_secure_flags

The command line arguments needed to configure the product instance for secure local communication on

windows_local_secure_flags

The command line arguments needed to configure the product instance for secure local communication on

remote_secure_flags

The command line arguments needed to configure the product instance for secure remote communication.

insecure_flags

The command line arguments needed to configure the product instance for insecure communication.

Import detail#

from ansys.saf.product_configuration.mechanical import MechanicalInstanceVersionConfiguration

Property detail#

property MechanicalInstanceVersionConfiguration.service_name: str#

The name of the service associated with the Mechanical instance.

property MechanicalInstanceVersionConfiguration.execution_command: str#

The command to launch Mechanical.

property MechanicalInstanceVersionConfiguration.environment: dict[str, str]#

Environment variables for the Mechanical instance.

property MechanicalInstanceVersionConfiguration.software_requirements: list[ansys.saf.product_configuration.interfaces.ISoftware]#

Required software to run Mechanical in HPS.

property MechanicalInstanceVersionConfiguration.exe_path_for_pim: str#

Path to the Mechanical executable.

property MechanicalInstanceVersionConfiguration.service_type: ansys.saf.product_configuration.interfaces.ServiceType#

Service type use for the health check.

property MechanicalInstanceVersionConfiguration.enable_secure_flags: bool#

Enable secure communication with the Mechanical service.

property MechanicalInstanceVersionConfiguration.linux_local_secure_flags: str#

The command line arguments needed to configure the product instance for secure local communication on Linux.

property MechanicalInstanceVersionConfiguration.windows_local_secure_flags: str#

The command line arguments needed to configure the product instance for secure local communication on Windows.

property MechanicalInstanceVersionConfiguration.remote_secure_flags: str#

The command line arguments needed to configure the product instance for secure remote communication.

property MechanicalInstanceVersionConfiguration.insecure_flags: str#

The command line arguments needed to configure the product instance for insecure communication.