def METHOD_NAME(baseline_name: Optional[str] = None,
                                                        resource_group_name: Optional[str] = None,
                                                        rule_id: Optional[str] = None,
                                                        sql_pool_name: Optional[str] = None,
                                                        vulnerability_assessment_name: Optional[str] = None,
                                                        workspace_name: Optional[str] = None,
                                                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlPoolVulnerabilityAssessmentRuleBaselineResult:
    """
    Gets a SqlPool's vulnerability assessment rule baseline.
    :param str baseline_name: The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str rule_id: The vulnerability assessment rule ID.
    :param str sql_pool_name: SQL pool name
    :param str vulnerability_assessment_name: The name of the vulnerability assessment.
    :param str workspace_name: The name of the workspace.
    """
    __args__ = dict()
    __args__['baselineName'] = baseline_name
    __args__['resourceGroupName'] = resource_group_name
    __args__['ruleId'] = rule_id
    __args__['sqlPoolName'] = sql_pool_name
    __args__['vulnerabilityAssessmentName'] = vulnerability_assessment_name
    __args__['workspaceName'] = workspace_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:synapse/v20210601preview:getSqlPoolVulnerabilityAssessmentRuleBaseline', __args__, opts=opts, typ=GetSqlPoolVulnerabilityAssessmentRuleBaselineResult).value
    return AwaitableGetSqlPoolVulnerabilityAssessmentRuleBaselineResult(
        baseline_results=pulumi.get(__ret__, 'baseline_results'),
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        type=pulumi.get(__ret__, 'type'))