DatabaseSqlVulnerabilityAssessmentsSettings interface
Interface representing a DatabaseSqlVulnerabilityAssessmentsSettings.
Methods
get(string, string, string, string, Database |
Gets SQL Vulnerability Assessment policy for database. |
list |
Lists SQL Vulnerability Assessment policies associated with a database. |
Method Details
get(string, string, string, string, DatabaseSqlVulnerabilityAssessmentsSettingsGetOptionalParams)
Gets SQL Vulnerability Assessment policy for database.
function get(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, options?: DatabaseSqlVulnerabilityAssessmentsSettingsGetOptionalParams): Promise<SqlVulnerabilityAssessment>
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 SQL Vulnerability Assessment.
The options parameters.
Returns
Promise<SqlVulnerabilityAssessment>
listByDatabase(string, string, string, DatabaseSqlVulnerabilityAssessmentsSettingsListByDatabaseOptionalParams)
Lists SQL Vulnerability Assessment policies associated with a database.
function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseSqlVulnerabilityAssessmentsSettingsListByDatabaseOptionalParams): PagedAsyncIterableIterator<SqlVulnerabilityAssessment, SqlVulnerabilityAssessment[], 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.
The options parameters.