SqlPoolVulnerabilityAssessmentRuleBaselines interface
Interface representing a SqlPoolVulnerabilityAssessmentRuleBaselines.
Methods
create |
Creates or updates a Sql pool's vulnerability assessment rule baseline. |
delete(string, string, string, string, string, Vulnerability |
Removes the database's vulnerability assessment rule baseline. |
get(string, string, string, string, string, Vulnerability |
Gets a SqlPool's vulnerability assessment rule baseline. |
Method Details
createOrUpdate(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, SqlPoolVulnerabilityAssessmentRuleBaseline, SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams)
Creates or updates a Sql pool's vulnerability assessment rule baseline.
function createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, parameters: SqlPoolVulnerabilityAssessmentRuleBaseline, options?: SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOptionalParams): Promise<SqlPoolVulnerabilityAssessmentRuleBaseline>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
- ruleId
-
string
The vulnerability assessment rule ID.
- baselineName
- VulnerabilityAssessmentPolicyBaselineName
The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for workspace level rule).
- parameters
- SqlPoolVulnerabilityAssessmentRuleBaseline
The requested rule baseline resource.
The options parameters.
Returns
delete(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, SqlPoolVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams)
Removes the database's vulnerability assessment rule baseline.
function delete(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, options?: SqlPoolVulnerabilityAssessmentRuleBaselinesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
- ruleId
-
string
The vulnerability assessment rule ID.
- baselineName
- VulnerabilityAssessmentPolicyBaselineName
The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for workspace level rule).
The options parameters.
Returns
Promise<void>
get(string, string, string, string, string, VulnerabilityAssessmentPolicyBaselineName, SqlPoolVulnerabilityAssessmentRuleBaselinesGetOptionalParams)
Gets a SqlPool's vulnerability assessment rule baseline.
function get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, ruleId: string, baselineName: VulnerabilityAssessmentPolicyBaselineName, options?: SqlPoolVulnerabilityAssessmentRuleBaselinesGetOptionalParams): Promise<SqlPoolVulnerabilityAssessmentRuleBaseline>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
- ruleId
-
string
The vulnerability assessment rule ID.
- baselineName
- VulnerabilityAssessmentPolicyBaselineName
The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
The options parameters.
Returns
Azure SDK for JavaScript