def METHOD_NAME(self, name: str, **kwargs: Dict) -> WorkspaceConnection:
    """Get a workspace connection by name.
    :param name: Name of the workspace connection.
    :type name: str
    :return: The workspace connection with the provided name.
    :rtype: WorkspaceConnection
    """
    obj = self._operation.METHOD_NAME(
        workspace_name=self._workspace_name,
        connection_name=name,
        **self._scope_kwargs,
        **kwargs,
    )
    return WorkspaceConnection._from_rest_object(rest_obj=obj)