SqlVulnerabilityAssessmentsSettings interface
Interface representing a SqlVulnerabilityAssessmentsSettings.
Methods
create |
Creates or updates SQL Vulnerability Assessment policy. |
get(string, string, string, Sql |
Gets SQL Vulnerability Assessment policy. |
list |
Lists SQL Vulnerability Assessment policies associated with a server. |
Method Details
createOrUpdate(string, string, string, SqlVulnerabilityAssessment, SqlVulnerabilityAssessmentsSettingsCreateOrUpdateOptionalParams)
Creates or updates SQL Vulnerability Assessment policy.
function createOrUpdate(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: string, parameters: SqlVulnerabilityAssessment, options?: SqlVulnerabilityAssessmentsSettingsCreateOrUpdateOptionalParams): 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.
- vulnerabilityAssessmentName
-
string
The name of the SQL Vulnerability Assessment.
- parameters
- SqlVulnerabilityAssessment
The requested resource.
The options parameters.
Returns
Promise<SqlVulnerabilityAssessment>
get(string, string, string, SqlVulnerabilityAssessmentsSettingsGetOptionalParams)
Gets SQL Vulnerability Assessment policy.
function get(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: string, options?: SqlVulnerabilityAssessmentsSettingsGetOptionalParams): 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.
- vulnerabilityAssessmentName
-
string
The name of the SQL Vulnerability Assessment.
The options parameters.
Returns
Promise<SqlVulnerabilityAssessment>
listByServer(string, string, SqlVulnerabilityAssessmentsSettingsListByServerOptionalParams)
Lists SQL Vulnerability Assessment policies associated with a server.
function listByServer(resourceGroupName: string, serverName: string, options?: SqlVulnerabilityAssessmentsSettingsListByServerOptionalParams): 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.
The options parameters.