DatabaseSqlVulnerabilityAssessmentRuleBaselines interface
Interface representing a DatabaseSqlVulnerabilityAssessmentRuleBaselines.
Methods
create |
Creates or updates a database's vulnerability assessment rule baseline. |
delete(string, string, string, string, string, string, Database |
Removes the database's vulnerability assessment rule baseline. |
get(string, string, string, string, string, string, Database |
Gets a database's sql vulnerability assessment rule baseline. |
list |
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.
The requested rule baseline resource.
The options parameters.
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.
The options parameters.
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.
The options parameters.
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
The options parameters.