SqlVulnerabilityAssessmentsSettings interface

Interface representing a SqlVulnerabilityAssessmentsSettings.

Methods

createOrUpdate(string, string, string, SqlVulnerabilityAssessment, SqlVulnerabilityAssessmentsSettingsCreateOrUpdateOptionalParams)

Creates or updates SQL Vulnerability Assessment policy.

get(string, string, string, SqlVulnerabilityAssessmentsSettingsGetOptionalParams)

Gets SQL Vulnerability Assessment policy.

listByServer(string, string, SqlVulnerabilityAssessmentsSettingsListByServerOptionalParams)

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.

Returns

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.

Returns

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.

Returns