def METHOD_NAME(agent_name: Optional[pulumi.Input[str]] = None,
                             modernize_project_name: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             subscription_id: Optional[pulumi.Input[Optional[str]]] = None,
                             opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMigrateAgentResult]:
    """
    Gets the details of the modernizeProject agent.
    :param str agent_name: MigrateAgent name.
    :param str modernize_project_name: ModernizeProject name.
    :param str resource_group_name: Name of the Azure Resource Group that project is part of.
    :param str subscription_id: Azure Subscription Id in which project was created.
    """
    ...