def METHOD_NAME(add_remove: Optional[pulumi.Input[Optional[Union[str, 'AddRemove']]]] = None,
                                                lab_account_resource_id: Optional[pulumi.Input[Optional[str]]] = None,
                                                lab_resource_id: Optional[pulumi.Input[Optional[str]]] = None,
                                                user_name: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGlobalUserPersonalPreferencesResult]:
    """
    Get personal preferences for a user
    Azure REST API version: 2018-10-15.
    :param Union[str, 'AddRemove'] add_remove: Enum indicating if user is adding or removing a favorite lab
    :param str lab_account_resource_id: Resource Id of the lab account
    :param str lab_resource_id: Resource Id of the lab to add/remove from the favorites list
    :param str user_name: The name of the user.
    """
    ...