Client library for SqlManagementClient
npm install --save @datafire/azure_sql_databasevulnerabilityassessmentbaselines
let azure_sql_databasevulnerabilityassessmentbaselines = require('@datafire/azure_sql_databasevulnerabilityassessmentbaselines').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities.
Removes the database's vulnerability assessment rule baseline.
azure_sql_databasevulnerabilityassessmentbaselines.DatabaseVulnerabilityAssessmentRuleBaselines_Delete({
"resourceGroupName": "",
"serverName": "",
"databaseName": "",
"vulnerabilityAssessmentName": "",
"ruleId": "",
"baselineName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
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 required
string
: The name of the server. - databaseName required
string
: The name of the database for which the vulnerability assessment rule baseline is defined. - vulnerabilityAssessmentName required
string
(values: default): The name of the vulnerability assessment. - ruleId required
string
: The vulnerability assessment rule ID. - baselineName required
string
(values: master, default): The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule). - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
Output schema unknown
Gets a database's vulnerability assessment rule baseline.
azure_sql_databasevulnerabilityassessmentbaselines.DatabaseVulnerabilityAssessmentRuleBaselines_Get({
"resourceGroupName": "",
"serverName": "",
"databaseName": "",
"vulnerabilityAssessmentName": "",
"ruleId": "",
"baselineName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
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 required
string
: The name of the server. - databaseName required
string
: The name of the database for which the vulnerability assessment rule baseline is defined. - vulnerabilityAssessmentName required
string
(values: default): The name of the vulnerability assessment. - ruleId required
string
: The vulnerability assessment rule ID. - baselineName required
string
(values: master, default): The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule). - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
Creates or updates a database's vulnerability assessment rule baseline.
azure_sql_databasevulnerabilityassessmentbaselines.DatabaseVulnerabilityAssessmentRuleBaselines_CreateOrUpdate({
"resourceGroupName": "",
"serverName": "",
"databaseName": "",
"vulnerabilityAssessmentName": "",
"ruleId": "",
"baselineName": "",
"parameters": {},
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
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 required
string
: The name of the server. - databaseName required
string
: The name of the database for which the vulnerability assessment rule baseline is defined. - vulnerabilityAssessmentName required
string
(values: default): The name of the vulnerability assessment. - ruleId required
string
: The vulnerability assessment rule ID. - baselineName required
string
(values: master, default): The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule). - parameters required DatabaseVulnerabilityAssessmentRuleBaseline
- subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
- DatabaseVulnerabilityAssessmentRuleBaseline
object
: A database vulnerability assessment rule baseline.- properties DatabaseVulnerabilityAssessmentRuleBaselineProperties
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type.
- DatabaseVulnerabilityAssessmentRuleBaselineItem
object
: Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result.- result required
array
: The rule baseline result- items
string
- items
- result required
- DatabaseVulnerabilityAssessmentRuleBaselineProperties
object
: Properties of a database Vulnerability Assessment rule baseline.- baselineResults required
array
: The rule baseline result
- baselineResults required