Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Microsoft.Security sqlVulnerabilityAssessments

Bicep resource definition

The sqlVulnerabilityAssessments resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/sqlVulnerabilityAssessments resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Security/sqlVulnerabilityAssessments@2026-04-01-preview' = {
 scope: resourceSymbolicName or scope
 name: 'default'
 properties: {
 state: 'string'
 }
}

Property Values

Microsoft.Security/sqlVulnerabilityAssessments

Name Description Value
name The resource name 'default' (required)
properties SQL Vulnerability Assessment settings properties. SqlVulnerabilityAssessmentSettingsProperties
scope Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.

SqlVulnerabilityAssessmentSettingsProperties

Name Description Value
state Represents the state of a SQL Vulnerability Assessment. 'Disabled'
'Enabled'

ARM template resource definition

The sqlVulnerabilityAssessments resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/sqlVulnerabilityAssessments resource, add the following JSON to your template.

{
 "type": "Microsoft.Security/sqlVulnerabilityAssessments",
 "apiVersion": "2026-04-01-preview",
 "name": "string",
 "properties": {
 "state": "string"
 }
}

Property Values

Microsoft.Security/sqlVulnerabilityAssessments

Name Description Value
apiVersion The api version '2026-04-01-preview'
name The resource name 'default' (required)
properties SQL Vulnerability Assessment settings properties. SqlVulnerabilityAssessmentSettingsProperties
type The resource type 'Microsoft.Security/sqlVulnerabilityAssessments'

SqlVulnerabilityAssessmentSettingsProperties

Name Description Value
state Represents the state of a SQL Vulnerability Assessment. 'Disabled'
'Enabled'

Usage Examples

Terraform (AzAPI provider) resource definition

The sqlVulnerabilityAssessments resource type can be deployed with operations that target:

  • Tenant* Management groups* Subscription* Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/sqlVulnerabilityAssessments resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
 type = "Microsoft.Security/sqlVulnerabilityAssessments@2026-04-01-preview"
 name = "string"
 parent_id = "string"
 body = {
 properties = {
 state = "string"
 }
 }
}

Property Values

Microsoft.Security/sqlVulnerabilityAssessments

Name Description Value
name The resource name 'default' (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties SQL Vulnerability Assessment settings properties. SqlVulnerabilityAssessmentSettingsProperties
type The resource type "Microsoft.Security/sqlVulnerabilityAssessments@2026-04-01-preview"

SqlVulnerabilityAssessmentSettingsProperties

Name Description Value
state Represents the state of a SQL Vulnerability Assessment. 'Disabled'
'Enabled'

Feedback

Was this page helpful?

Additional resources