def METHOD_NAME(baseline_name: Optional[str] = None,
                                                   resource_group_name: Optional[str] = None,
                                                   rule_id: Optional[str] = None,
                                                   server_name: Optional[str] = None,
                                                   system_database_name: Optional[str] = None,
                                                   vulnerability_assessment_name: Optional[str] = None,
                                                   opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlVulnerabilityAssessmentRuleBaselineResult:
    """
    Gets a system database's sql vulnerability assessment rule baseline.
    Azure REST API version: 2022-11-01-preview.
    :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    :param str rule_id: The vulnerability assessment rule ID.
    :param str server_name: The name of the server.
    :param str system_database_name: The vulnerability assessment system database name.
    :param str vulnerability_assessment_name: The name of the vulnerability assessment.
    """
    __args__ = dict()
    __args__['baselineName'] = baseline_name
    __args__['resourceGroupName'] = resource_group_name
    __args__['ruleId'] = rule_id
    __args__['serverName'] = server_name
    __args__['systemDatabaseName'] = system_database_name
    __args__['vulnerabilityAssessmentName'] = vulnerability_assessment_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:sql:getSqlVulnerabilityAssessmentRuleBaseline', __args__, opts=opts, typ=GetSqlVulnerabilityAssessmentRuleBaselineResult).value
    return AwaitableGetSqlVulnerabilityAssessmentRuleBaselineResult(
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        results=pulumi.get(__ret__, 'results'),
        system_data=pulumi.get(__ret__, 'system_data'),
        type=pulumi.get(__ret__, 'type'))