Partager via


SqlVulnerabilityAssessmentAdapter Class

Definition

The SqlVulnerabilityAssessmentAdapter class is responsible for transforming the data that was received form the endpoints to the cmdlets model of vulnerability assessment settings and vice versa

public class SqlVulnerabilityAssessmentAdapter : Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Services.BaseSqlVulnerabilityAssessmentAdapter
type SqlVulnerabilityAssessmentAdapter = class
    inherit BaseSqlVulnerabilityAssessmentAdapter
Public Class SqlVulnerabilityAssessmentAdapter
Inherits BaseSqlVulnerabilityAssessmentAdapter
Inheritance
SqlVulnerabilityAssessmentAdapter

Constructors

SqlVulnerabilityAssessmentAdapter(IAzureContext)

Properties

Context

Gets or sets the Azure profile

(Inherited from BaseSqlVulnerabilityAssessmentAdapter)
Subscription

Gets or sets the Azure subscription

(Inherited from BaseSqlVulnerabilityAssessmentAdapter)
VulnerabilityAssessmentCommunicator

The Vulnerability Assessment endpoints communicator used by this adapter

(Inherited from BaseSqlVulnerabilityAssessmentAdapter)

Methods

ClearVulnerabilityAssessmentSettings(VulnerabilityAssessmentSettingsModel, String, String, ApplyToType)

Remove the Vulnerability Assessment

ConvertSettingsToModel(String, VulnerabilityAssessmentRecurringScansProperties, String)

Provides a Vulnerability Assessment settings model for the given database

(Inherited from BaseSqlVulnerabilityAssessmentAdapter)
GetVulnerabilityAssessmentSettings(String, String, String, ApplyToType)

Provides a Vulnerability Assessment settings model for the given database

(Inherited from BaseSqlVulnerabilityAssessmentAdapter)
SetVulnerabilityAssessmentSettingsWithStorageAccessKey(VulnerabilityAssessmentSettingsModel, String, String, ApplyToType)

Set settings with storage access key

SetVulnerabilityAssessmentSettingsWithStorageSasKey(VulnerabilityAssessmentSettingsModel, String, String, String, String, ApplyToType)

Set settings with storage SAS key

Applies to