你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SqlVulnerabilityAssessmentRuleBaselineAdapter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The SqlVulnerabilityAssessmentRuleBaselineAdapter class is responsible for transforming the data that was received form the endpoints to the cmdlets model of vulnerability assessment baseline and vice versa
public class SqlVulnerabilityAssessmentRuleBaselineAdapter : Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Services.BaseSqlVulnerabilityAssessmentAdapter
type SqlVulnerabilityAssessmentRuleBaselineAdapter = class
inherit BaseSqlVulnerabilityAssessmentAdapter
Public Class SqlVulnerabilityAssessmentRuleBaselineAdapter
Inherits BaseSqlVulnerabilityAssessmentAdapter
- Inheritance
Constructors
SqlVulnerabilityAssessmentRuleBaselineAdapter(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
ClearVulnerabilityAssessmentRuleBaseline(VulnerabilityAssessmentRuleBaselineModel, String, String, ApplyToType) |
Remove the Vulnerability Assessment Rule Baseline |
ConvertSettingsToModel(String, VulnerabilityAssessmentRecurringScansProperties, String) |
Provides a Vulnerability Assessment settings model for the given database (Inherited from BaseSqlVulnerabilityAssessmentAdapter) |
GetVulnerabilityAssessmentRuleBaseline(String, String, String, String, Boolean, ApplyToType) |
Provides a database Vulnerability Assessment Rule Baseline model for the given database |
GetVulnerabilityAssessmentSettings(String, String, String, ApplyToType) |
Provides a Vulnerability Assessment settings model for the given database (Inherited from BaseSqlVulnerabilityAssessmentAdapter) |
SetVulnerabilityAssessmentRuleBaseline(VulnerabilityAssessmentRuleBaselineModel, String, String, ApplyToType) |
Transforms the given model to its endpoints acceptable structure and sends it to the endpoint |