public Observable<DatabaseVulnerabilityAssessmentRuleBaselineInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, String ruleId, VulnerabilityAssessmentPolicyBaselineName baselineName, List<DatabaseVulnerabilityAssessmentRuleBaselineItem> baselineResults) {
        return createOrUpdateWithServiceResponseAsync(resourceGroupName, managedInstanceName, databaseName, ruleId, baselineName, baselineResults).map(new Func1<ServiceResponse<DatabaseVulnerabilityAssessmentRuleBaselineInner>, DatabaseVulnerabilityAssessmentRuleBaselineInner>() {
            @Override
            public DatabaseVulnerabilityAssessmentRuleBaselineInner call(ServiceResponse<DatabaseVulnerabilityAssessmentRuleBaselineInner> response) {
                return response.body();
            }
        });
    }
public Observable < DatabaseVulnerabilityAssessmentRuleBaselineInner > createOrUpdateAsync ( String resourceGroupName , String managedInstanceName , String databaseName , String ruleId , VulnerabilityAssessmentPolicyBaselineName baselineName , List < DatabaseVulnerabilityAssessmentRuleBaselineItem > baselineResults ) { return createOrUpdateWithServiceResponseAsync ( resourceGroupName , managedInstanceName , databaseName , ruleId , baselineName , baselineResults ) . map ( new Func1 < ServiceResponse < DatabaseVulnerabilityAssessmentRuleBaselineInner > , DatabaseVulnerabilityAssessmentRuleBaselineInner > ( ) { @ Override public DatabaseVulnerabilityAssessmentRuleBaselineInner call ( ServiceResponse < DatabaseVulnerabilityAssessmentRuleBaselineInner > response ) { return response . body ( ) ; } } ) ; }
Creates or updates a database's vulnerability assessment rule baseline.

@param resourceGroupName 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 managedInstanceName The name of the managed instance.
@param databaseName The name of the database for which the vulnerability assessment rule baseline is defined.
@param ruleId The vulnerability assessment rule ID.
@param baselineName The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule). Possible values include: 'master', 'default'
@param baselineResults The rule baseline result
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the DatabaseVulnerabilityAssessmentRuleBaselineInner object