Delen via


DatabaseVulnerabilityAssessmentRuleBaselines interface

Interface representing a DatabaseVulnerabilityAssessmentRuleBaselines.

Methods

createOrUpdate(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaseline, DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams)

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

delete(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams)

Removes the database's vulnerability assessment rule baseline.

get(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaselinesGetOptionalParams)

Gets a database's vulnerability assessment rule baseline.

Method Details

createOrUpdate(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaseline, DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams)

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

function createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, parameters: DatabaseVulnerabilityAssessmentRuleBaseline, options?: DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams): Promise<DatabaseVulnerabilityAssessmentRuleBaseline>

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 for which the vulnerability assessment rule baseline is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

ruleId

string

The vulnerability assessment rule ID.

baselineName
VulnerabilityAssessmentPolicyBaselineName

The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).

parameters
DatabaseVulnerabilityAssessmentRuleBaseline

The requested rule baseline resource.

Returns

delete(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams)

Removes the database's vulnerability assessment rule baseline.

function delete(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, options?: DatabaseVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams): 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 for which the vulnerability assessment rule baseline is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

ruleId

string

The vulnerability assessment rule ID.

baselineName
VulnerabilityAssessmentPolicyBaselineName

The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).

Returns

Promise<void>

get(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaselinesGetOptionalParams)

Gets a database's vulnerability assessment rule baseline.

function get(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, options?: DatabaseVulnerabilityAssessmentRuleBaselinesGetOptionalParams): Promise<DatabaseVulnerabilityAssessmentRuleBaseline>

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 for which the vulnerability assessment rule baseline is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

ruleId

string

The vulnerability assessment rule ID.

baselineName
VulnerabilityAssessmentPolicyBaselineName

The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).

Returns