SqlVulnerabilityAssessmentRuleBaseline interface
Interface representing a SqlVulnerabilityAssessmentRuleBaseline.
Methods
create |
Creates or updates a database's vulnerability assessment rule baseline. |
get(string, string, string, string, string, Sql |
Gets a system database's sql vulnerability assessment rule baseline. |
list |
Gets a system database's sql vulnerability assessment rule baseline. |
Method Details
createOrUpdate(string, string, string, string, string, DatabaseSqlVulnerabilityAssessmentRuleBaselineInput, SqlVulnerabilityAssessmentRuleBaselineCreateOrUpdateOptionalParams)
Creates or updates a database's vulnerability assessment rule baseline.
function createOrUpdate(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: string, baselineName: string, ruleId: string, parameters: DatabaseSqlVulnerabilityAssessmentRuleBaselineInput, options?: SqlVulnerabilityAssessmentRuleBaselineCreateOrUpdateOptionalParams): 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.
- 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
get(string, string, string, string, string, SqlVulnerabilityAssessmentRuleBaselineGetOptionalParams)
Gets a system database's sql vulnerability assessment rule baseline.
function get(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: string, baselineName: string, ruleId: string, options?: SqlVulnerabilityAssessmentRuleBaselineGetOptionalParams): 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.
- 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, SqlVulnerabilityAssessmentRuleBaselineListByBaselineOptionalParams)
Gets a system database's sql vulnerability assessment rule baseline.
function listByBaseline(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: string, baselineName: string, options?: SqlVulnerabilityAssessmentRuleBaselineListByBaselineOptionalParams): 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.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
- baselineName
-
string
The options parameters.