Share via


Microsoft.Security serverVulnerabilityAssessmentsSettings

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: 'string'
  kind: 'string'
  // For remaining properties, see Microsoft.Security/serverVulnerabilityAssessmentsSettings objects
}

Microsoft.Security/serverVulnerabilityAssessmentsSettings objects

Set the kind property to specify the type of object.

For AzureServersSetting, use:

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

Property Values

Microsoft.Security/serverVulnerabilityAssessmentsSettings

Name Description Value
kind Set to 'AzureServersSetting' for type AzureServersSetting. 'AzureServersSetting' (required)
name The resource name '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.

{
  "name": "string",
  "kind": "string"
  // For remaining properties, see Microsoft.Security/serverVulnerabilityAssessmentsSettings objects
}

Microsoft.Security/serverVulnerabilityAssessmentsSettings objects

Set the kind property to specify the type of object.

For AzureServersSetting, use:

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

Property Values

Microsoft.Security/serverVulnerabilityAssessmentsSettings

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

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)

Usage Examples

Terraform (AzAPI provider) resource definition

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

  • Subscription

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" {
  name = "string"
  kind = "string"
  // For remaining properties, see Microsoft.Security/serverVulnerabilityAssessmentsSettings objects
}

Microsoft.Security/serverVulnerabilityAssessmentsSettings objects

Set the kind property to specify the type of object.

For AzureServersSetting, use:

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

Property Values

Microsoft.Security/serverVulnerabilityAssessmentsSettings

Name Description Value
kind Set to 'AzureServersSetting' for type AzureServersSetting. 'AzureServersSetting' (required)
name The resource name 'azureServersSetting' (required)
type The resource type "Microsoft.Security/serverVulnerabilityAssessmentsSettings@2023-05-01"

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)