Skip to content

Latest commit

 

History

History

azure_sql_databasevulnerabilityassessmentbaselines

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@datafire/azure_sql_databasevulnerabilityassessmentbaselines

Client library for SqlManagementClient

Installation and Usage

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);
});

Description

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.

Actions

DatabaseVulnerabilityAssessmentRuleBaselines_Delete

Removes the database's vulnerability assessment rule baseline.

azure_sql_databasevulnerabilityassessmentbaselines.DatabaseVulnerabilityAssessmentRuleBaselines_Delete({
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": "",
  "vulnerabilityAssessmentName": "",
  "ruleId": "",
  "baselineName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • 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.

Output

Output schema unknown

DatabaseVulnerabilityAssessmentRuleBaselines_Get

Gets a database's vulnerability assessment rule baseline.

azure_sql_databasevulnerabilityassessmentbaselines.DatabaseVulnerabilityAssessmentRuleBaselines_Get({
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": "",
  "vulnerabilityAssessmentName": "",
  "ruleId": "",
  "baselineName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • 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.

Output

DatabaseVulnerabilityAssessmentRuleBaselines_CreateOrUpdate

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

  • 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.

Output

Definitions

DatabaseVulnerabilityAssessmentRuleBaseline

DatabaseVulnerabilityAssessmentRuleBaselineItem

  • DatabaseVulnerabilityAssessmentRuleBaselineItem object: Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result.
    • result required array: The rule baseline result
      • items string

DatabaseVulnerabilityAssessmentRuleBaselineProperties

  • DatabaseVulnerabilityAssessmentRuleBaselineProperties object: Properties of a database Vulnerability Assessment rule baseline.