def METHOD_NAME(expand: Optional[pulumi.Input[Optional[str]]] = None,
                            group_name: Optional[pulumi.Input[str]] = None,
                            service_name: Optional[pulumi.Input[str]] = None,
                            task_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceTaskResult]:
    """
    The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. The GET method retrieves information about a service task.
    :param str expand: Expand the response
    :param str group_name: Name of the resource group
    :param str service_name: Name of the service
    :param str task_name: Name of the Task
    """
    ...