def METHOD_NAME(alert_rule_name: Optional[str] = None,
                                  management_group_name: Optional[str] = None,
                                  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTenantActivityLogAlertResult:
    """
    Get Tenant Activity Log Alert rule.
    :param str alert_rule_name: The name of the Tenant Activity Log Alert rule.
    :param str management_group_name: The name of the management group. The name is case insensitive.
    """
    __args__ = dict()
    __args__['alertRuleName'] = alert_rule_name
    __args__['managementGroupName'] = management_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:alertsmanagement/v20230401preview:getTenantActivityLogAlert', __args__, opts=opts, typ=GetTenantActivityLogAlertResult).value
    return AwaitableGetTenantActivityLogAlertResult(
        actions=pulumi.get(__ret__, 'actions'),
        condition=pulumi.get(__ret__, 'condition'),
        description=pulumi.get(__ret__, 'description'),
        enabled=pulumi.get(__ret__, 'enabled'),
        id=pulumi.get(__ret__, 'id'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        scopes=pulumi.get(__ret__, 'scopes'),
        tags=pulumi.get(__ret__, 'tags'),
        tenant_scope=pulumi.get(__ret__, 'tenant_scope'),
        type=pulumi.get(__ret__, 'type'))