3.0.0 • Published 5 years ago
@datafire/azure_sql_servervulnerabilityassessments v3.0.0
@datafire/azure_sql_servervulnerabilityassessments
Client library for SqlManagementClient
Installation and Usage
npm install --save @datafire/azure_sql_servervulnerabilityassessments
let azure_sql_servervulnerabilityassessments = require('@datafire/azure_sql_servervulnerabilityassessments').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
ServerVulnerabilityAssessments_ListByServer
Lists the vulnerability assessment policies associated with a server.
azure_sql_servervulnerabilityassessments.ServerVulnerabilityAssessments_ListByServer({
"resourceGroupName": "",
"serverName": "",
"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. - 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
ServerVulnerabilityAssessments_Delete
Removes the server's vulnerability assessment.
azure_sql_servervulnerabilityassessments.ServerVulnerabilityAssessments_Delete({
"resourceGroupName": "",
"serverName": "",
"vulnerabilityAssessmentName": "",
"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 for which the vulnerability assessment is defined. - vulnerabilityAssessmentName required
string
(values: default): The name of the vulnerability assessment. - 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
Output schema unknown
ServerVulnerabilityAssessments_Get
Gets the server's vulnerability assessment.
azure_sql_servervulnerabilityassessments.ServerVulnerabilityAssessments_Get({
"resourceGroupName": "",
"serverName": "",
"vulnerabilityAssessmentName": "",
"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 for which the vulnerability assessment is defined. - vulnerabilityAssessmentName required
string
(values: default): The name of the vulnerability assessment. - 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
ServerVulnerabilityAssessments_CreateOrUpdate
Creates or updates the server's vulnerability assessment.
azure_sql_servervulnerabilityassessments.ServerVulnerabilityAssessments_CreateOrUpdate({
"resourceGroupName": "",
"serverName": "",
"vulnerabilityAssessmentName": "",
"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 for which the vulnerability assessment is defined. - vulnerabilityAssessmentName required
string
(values: default): The name of the vulnerability assessment. - parameters required ServerVulnerabilityAssessment
- 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
Definitions
ServerVulnerabilityAssessment
- ServerVulnerabilityAssessment
object
: A server vulnerability assessment.- properties ServerVulnerabilityAssessmentProperties
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type.
ServerVulnerabilityAssessmentListResult
- ServerVulnerabilityAssessmentListResult
object
: A list of the server's vulnerability assessments.- nextLink
string
: Link to retrieve next page of results. - value
array
: Array of results.
- nextLink
ServerVulnerabilityAssessmentProperties
- ServerVulnerabilityAssessmentProperties
object
: Properties of a server Vulnerability Assessment.- recurringScans VulnerabilityAssessmentRecurringScansProperties
- storageAccountAccessKey
string
: Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. - storageContainerPath required
string
: A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). - storageContainerSasKey
string
: A shared access signature (SAS Key) that has read and write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.
VulnerabilityAssessmentRecurringScansProperties
- VulnerabilityAssessmentRecurringScansProperties
object
: Properties of a Vulnerability Assessment recurring scans.- emailSubscriptionAdmins
boolean
: Specifies that the schedule scan notification will be is sent to the subscription administrators. - emails
array
: Specifies an array of e-mail addresses to which the scan notification is sent.- items
string
- items
- isEnabled
boolean
: Recurring scans state.
- emailSubscriptionAdmins
3.0.0
5 years ago