DatabaseSqlVulnerabilityAssessmentRuleBaselines interface

Interface representing a DatabaseSqlVulnerabilityAssessmentRuleBaselines.

Methods

createOrUpdate(string, string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselineInput, DatabaseSqlVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams)

Creates or updates a database's vulnerability assessment rule baseline.

delete(string, string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams)

Removes the database's vulnerability assessment rule baseline.

get(string, string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselinesGetOptionalParams)

Gets a database's sql vulnerability assessment rule baseline.

listByBaseline(string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselinesListByBaselineOptionalParams)

Gets a list of database's sql vulnerability assessment rule baselines.

Method Details

createOrUpdate(string, string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselineInput, DatabaseSqlVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams)

Creates or updates a database's vulnerability assessment rule baseline.

function createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, baselineName: string, ruleId: string, parameters: DatabaseSqlVulnerabilityAssessmentRuleBaselineInput, options?: DatabaseSqlVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams): Promise<DatabaseSqlVulnerabilityAssessmentRuleBaseline>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

baselineName

string

ruleId

string

The vulnerability assessment rule ID.

parameters
DatabaseSqlVulnerabilityAssessmentRuleBaselineInput

The requested rule baseline resource.

Returns

delete(string, string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams)

Removes the database's vulnerability assessment rule baseline.

function delete(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, baselineName: string, ruleId: string, options?: DatabaseSqlVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

baselineName

string

ruleId

string

The vulnerability assessment rule ID.

Returns

Promise<void>

get(string, string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselinesGetOptionalParams)

Gets a database's sql vulnerability assessment rule baseline.

function get(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, baselineName: string, ruleId: string, options?: DatabaseSqlVulnerabilityAssessmentRuleBaselinesGetOptionalParams): Promise<DatabaseSqlVulnerabilityAssessmentRuleBaseline>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

baselineName

string

ruleId

string

The vulnerability assessment rule ID.

Returns

listByBaseline(string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselinesListByBaselineOptionalParams)

Gets a list of database's sql vulnerability assessment rule baselines.

function listByBaseline(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, baselineName: string, options?: DatabaseSqlVulnerabilityAssessmentRuleBaselinesListByBaselineOptionalParams): PagedAsyncIterableIterator<DatabaseSqlVulnerabilityAssessmentRuleBaseline, DatabaseSqlVulnerabilityAssessmentRuleBaseline[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

baselineName

string

Returns