@datafire/azure_sql_managedinstancevulnerabilityassessments
Client library for SqlManagementClient
Installation and Usage
npm install --save @datafire/azure_sql_managedinstancevulnerabilityassessments
let azure_sql_managedinstancevulnerabilityassessments = require('@datafire/azure_sql_managedinstancevulnerabilityassessments').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
ManagedInstanceVulnerabilityAssessments_ListByInstance
Gets the managed instance's vulnerability assessment policies.
azure_sql_managedinstancevulnerabilityassessments.ManagedInstanceVulnerabilityAssessments_ListByInstance({
"resourceGroupName": "",
"managedInstanceName": "",
"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. - managedInstanceName required
string
: The name of the managed instance for which the vulnerability assessments is defined. - 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
ManagedInstanceVulnerabilityAssessments_Delete
Removes the managed instance's vulnerability assessment.
azure_sql_managedinstancevulnerabilityassessments.ManagedInstanceVulnerabilityAssessments_Delete({
"resourceGroupName": "",
"managedInstanceName": "",
"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. - managedInstanceName required
string
: The name of the managed instance 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
ManagedInstanceVulnerabilityAssessments_Get
Gets the managed instance's vulnerability assessment.
azure_sql_managedinstancevulnerabilityassessments.ManagedInstanceVulnerabilityAssessments_Get({
"resourceGroupName": "",
"managedInstanceName": "",
"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. - managedInstanceName required
string
: The name of the managed instance 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
ManagedInstanceVulnerabilityAssessments_CreateOrUpdate
Creates or updates the managed instance's vulnerability assessment.
azure_sql_managedinstancevulnerabilityassessments.ManagedInstanceVulnerabilityAssessments_CreateOrUpdate({
"resourceGroupName": "",
"managedInstanceName": "",
"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. - managedInstanceName required
string
: The name of the managed instance for which the vulnerability assessment is defined. - vulnerabilityAssessmentName required
string
(values: default): The name of the vulnerability assessment. - parameters required ManagedInstanceVulnerabilityAssessment
- 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
ManagedInstanceVulnerabilityAssessment
- ManagedInstanceVulnerabilityAssessment
object
: A managed instance vulnerability assessment.- properties ManagedInstanceVulnerabilityAssessmentProperties
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type.
ManagedInstanceVulnerabilityAssessmentListResult
- ManagedInstanceVulnerabilityAssessmentListResult
object
: A list of the ManagedInstance's vulnerability assessments.- nextLink
string
: Link to retrieve next page of results. - value
array
: Array of results.
- nextLink
ManagedInstanceVulnerabilityAssessmentProperties
- ManagedInstanceVulnerabilityAssessmentProperties
object
: Properties of a managed instance 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