Microsoft.Security serverVulnerabilityAssessmentsSettings 2023-05-01

Bicep resource definition

The serverVulnerabilityAssessmentsSettings 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/serverVulnerabilityAssessmentsSettings resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Security/serverVulnerabilityAssessmentsSettings@2023-05-01' = {
  name: 'azureServersSetting'
  kind: 'string'
  // For remaining properties, see serverVulnerabilityAssessmentsSettings objects
}

serverVulnerabilityAssessmentsSettings objects

Set the kind property to specify the type of object.

For AzureServersSetting, use:

  kind: 'AzureServersSetting'
  properties: {
    selectedProvider: 'MdeTvm'
  }

Property values

serverVulnerabilityAssessmentsSettings

Name Description Value
name The resource name 'azureServersSetting'
kind Set the object type AzureServersSetting (required)

AzureServersSetting

Name Description Value
kind The kind of the server vulnerability assessments setting. 'AzureServersSetting' (required)
properties The vulnerability assessments setting properties on Azure servers in the defined scope. ServerVulnerabilityAssessmentsAzureSettingProperties

ServerVulnerabilityAssessmentsAzureSettingProperties

Name Description Value
selectedProvider The selected vulnerability assessments provider on Azure servers in the defined scope. 'MdeTvm' (required)

ARM template resource definition

The serverVulnerabilityAssessmentsSettings 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/serverVulnerabilityAssessmentsSettings resource, add the following JSON to your template.

{
  "type": "Microsoft.Security/serverVulnerabilityAssessmentsSettings",
  "apiVersion": "2023-05-01",
  "name": "azureServersSetting",
  "kind": "string",
  // For remaining properties, see serverVulnerabilityAssessmentsSettings objects
}

serverVulnerabilityAssessmentsSettings objects

Set the kind property to specify the type of object.

For AzureServersSetting, use:

  "kind": "AzureServersSetting",
  "properties": {
    "selectedProvider": "MdeTvm"
  }

Property values

serverVulnerabilityAssessmentsSettings

Name Description Value
type The resource type 'Microsoft.Security/serverVulnerabilityAssessmentsSettings'
apiVersion The resource api version '2023-05-01'
name The resource name 'azureServersSetting'
kind Set the object type AzureServersSetting (required)

AzureServersSetting

Name Description Value
kind The kind of the server vulnerability assessments setting. 'AzureServersSetting' (required)
properties The vulnerability assessments setting properties on Azure servers in the defined scope. ServerVulnerabilityAssessmentsAzureSettingProperties

ServerVulnerabilityAssessmentsAzureSettingProperties

Name Description Value
selectedProvider The selected vulnerability assessments provider on Azure servers in the defined scope. 'MdeTvm' (required)

Terraform (AzAPI provider) resource definition

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

  • Subscriptions

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

Resource format

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/serverVulnerabilityAssessmentsSettings@2023-05-01"
  name = "azureServersSetting"
  parent_id = "string"
  // For remaining properties, see serverVulnerabilityAssessmentsSettings objects
  body = jsonencode({
    kind = "string"
  })
}

serverVulnerabilityAssessmentsSettings objects

Set the kind property to specify the type of object.

For AzureServersSetting, use:

  kind = "AzureServersSetting"
  properties = {
    selectedProvider = "MdeTvm"
  }

Property values

serverVulnerabilityAssessmentsSettings

Name Description Value
type The resource type "Microsoft.Security/serverVulnerabilityAssessmentsSettings@2023-05-01"
name The resource name "azureServersSetting"
parent_id To deploy to a subscription, use the ID of that subscription. string (required)
kind Set the object type AzureServersSetting (required)

AzureServersSetting

Name Description Value
kind The kind of the server vulnerability assessments setting. "AzureServersSetting" (required)
properties The vulnerability assessments setting properties on Azure servers in the defined scope. ServerVulnerabilityAssessmentsAzureSettingProperties

ServerVulnerabilityAssessmentsAzureSettingProperties

Name Description Value
selectedProvider The selected vulnerability assessments provider on Azure servers in the defined scope. "MdeTvm" (required)