Microsoft.Sql managedInstances/vulnerabilityAssessments

Template format

To create a Microsoft.Sql/managedInstances/vulnerabilityAssessments resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.Sql/managedInstances/vulnerabilityAssessments",
  "apiVersion": "2018-06-01-preview",
  "properties": {
    "storageContainerPath": "string",
    "storageContainerSasKey": "string",
    "storageAccountAccessKey": "string",
    "recurringScans": {
      "isEnabled": "boolean",
      "emailSubscriptionAdmins": "boolean",
      "emails": [

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Sql/managedInstances/vulnerabilityAssessments object

Name Type Required Value
name string Yes The name of the vulnerability assessment.
type enum Yes vulnerabilityAssessments

See Set name and type for child resources.
apiVersion enum Yes 2018-06-01-preview
properties object Yes Resource properties. - ManagedInstanceVulnerabilityAssessmentProperties object

ManagedInstanceVulnerabilityAssessmentProperties object

Name Type Required Value
storageContainerPath string Yes A blob storage container path to hold the scan results (e.g.
storageContainerSasKey string No 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.
storageAccountAccessKey string No Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.
recurringScans object No The recurring scans settings - VulnerabilityAssessmentRecurringScansProperties object

VulnerabilityAssessmentRecurringScansProperties object

Name Type Required Value
isEnabled boolean No Recurring scans state.
emailSubscriptionAdmins boolean No Specifies that the schedule scan notification will be is sent to the subscription administrators.
emails array No Specifies an array of e-mail addresses to which the scan notification is sent. - string