- class ansys.platform.instancemanagement.Instance(definition_name: str, name: str, ready: bool, status_message: str, services: Mapping[str, Service], stub: ProductInstanceManagerStub | None = None)#
Provides a remote instance of a product.
This class is a context manager and can be used with the
withstatement to automatically stop the remote instance when the tasks are finished.
Build a gRPC channel to communicate with this instance.
Delete the remote product instance.
Update the instance information from the remote status.
Wait for the instance to be ready.
Name of the definition that created this instance.
Name of the instance.
Whether the instance is ready.
List of entry points exposed by the instance.
Status of the instance.