def METHOD_NAME(resource_group_name: Optional[str] = None,
                          resource_name: Optional[str] = None,
                          opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkbookTemplateResult:
    """
    Get a single workbook template by its resourceName.
    Azure REST API version: 2020-11-20.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str resource_name: The name of the Application Insights component resource.
    """
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['resourceName'] = resource_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:insights:getWorkbookTemplate', __args__, opts=opts, typ=GetWorkbookTemplateResult).value
    return AwaitableGetWorkbookTemplateResult(
        author=pulumi.get(__ret__, 'author'),
        galleries=pulumi.get(__ret__, 'galleries'),
        id=pulumi.get(__ret__, 'id'),
        localized=pulumi.get(__ret__, 'localized'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        priority=pulumi.get(__ret__, 'priority'),
        tags=pulumi.get(__ret__, 'tags'),
        template_data=pulumi.get(__ret__, 'template_data'),
        type=pulumi.get(__ret__, 'type'))