def METHOD_NAME(resource_id: Optional[str] = None,
                                                   rule_id: Optional[str] = None,
                                                   workspace_id: Optional[str] = None,
                                                   opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlVulnerabilityAssessmentBaselineRuleResult:
    """
    Rule results.
    :param str resource_id: The identifier of the resource.
    :param str rule_id: The rule Id.
    :param str workspace_id: The workspace Id.
    """
    __args__ = dict()
    __args__['resourceId'] = resource_id
    __args__['ruleId'] = rule_id
    __args__['workspaceId'] = workspace_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:security/v20230201preview:getSqlVulnerabilityAssessmentBaselineRule', __args__, opts=opts, typ=GetSqlVulnerabilityAssessmentBaselineRuleResult).value
    return AwaitableGetSqlVulnerabilityAssessmentBaselineRuleResult(
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        properties=pulumi.get(__ret__, 'properties'),
        type=pulumi.get(__ret__, 'type'))