def METHOD_NAME(self):
    """Instance depends on the API version:
       * 2020-12-01: :class:`ManagedPrivateEndpointsOperations<azure.synapse.managedprivateendpoints.v2020_12_01.aio.operations.ManagedPrivateEndpointsOperations>`
       * 2021-06-01-preview: :class:`ManagedPrivateEndpointsOperations<azure.synapse.managedprivateendpoints.v2021_06_01_preview.aio.operations.ManagedPrivateEndpointsOperations>`
    """
    api_version = self._get_api_version('managed_private_endpoints')
    if api_version == '2020-12-01':
        from ..v2020_12_01.aio.operations import ManagedPrivateEndpointsOperations as OperationClass
    elif api_version == '2021-06-01-preview':
        from ..v2021_06_01_preview.aio.operations import ManagedPrivateEndpointsOperations as OperationClass
    else:
        raise ValueError("API version {} does not have operation group 'managed_private_endpoints'".format(api_version))
    return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))