ManagedDatabaseVulnerabilityAssessmentRuleBaselines interface

Interface representing a ManagedDatabaseVulnerabilityAssessmentRuleBaselines.

Methods

createOrUpdate(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaseline, ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams)

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

delete(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, ManagedDatabaseVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams)

Removes the database's vulnerability assessment rule baseline.

get(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetOptionalParams)

Gets a database's vulnerability assessment rule baseline.

Method Details

createOrUpdate(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, DatabaseVulnerabilityAssessmentRuleBaseline, ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams)

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

function createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, parameters: DatabaseVulnerabilityAssessmentRuleBaseline, options?: ManagedDatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams): 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.

managedInstanceName

string

The name of the managed instance.

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, ManagedDatabaseVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams)

Removes the database's vulnerability assessment rule baseline.

function delete(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, options?: ManagedDatabaseVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams): 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.

managedInstanceName

string

The name of the managed instance.

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, ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetOptionalParams)

Gets a database's vulnerability assessment rule baseline.

function get(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, options?: ManagedDatabaseVulnerabilityAssessmentRuleBaselinesGetOptionalParams): 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.

managedInstanceName

string

The name of the managed instance.

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