Share via


Microsoft.Security autoProvisioningSettings

Bicep resource definition

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

resource symbolicname 'Microsoft.Security/autoProvisioningSettings@2017-08-01-preview' = {
  scope: resourceSymbolicName or scope
  name: 'string'
  properties: {
    autoProvision: 'string'
  }
}

Property Values

Microsoft.Security/autoProvisioningSettings

Name Description Value
name The resource name string (required)
properties Auto provisioning setting data AutoProvisioningSettingProperties
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.

AutoProvisioningSettingProperties

Name Description Value
autoProvision Describes what kind of security agent provisioning action to take 'Off'
'On' (required)

ARM template resource definition

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

{
  "type": "Microsoft.Security/autoProvisioningSettings",
  "apiVersion": "2017-08-01-preview",
  "name": "string",
  "properties": {
    "autoProvision": "string"
  }
}

Property Values

Microsoft.Security/autoProvisioningSettings

Name Description Value
apiVersion The api version '2017-08-01-preview'
name The resource name string (required)
properties Auto provisioning setting data AutoProvisioningSettingProperties
type The resource type 'Microsoft.Security/autoProvisioningSettings'

AutoProvisioningSettingProperties

Name Description Value
autoProvision Describes what kind of security agent provisioning action to take 'Off'
'On' (required)

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/autoProvisioningSettings@2017-08-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      autoProvision = "string"
    }
  }
}

Property Values

Microsoft.Security/autoProvisioningSettings

Name Description Value
name The resource name string (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties Auto provisioning setting data AutoProvisioningSettingProperties
type The resource type "Microsoft.Security/autoProvisioningSettings@2017-08-01-preview"

AutoProvisioningSettingProperties

Name Description Value
autoProvision Describes what kind of security agent provisioning action to take 'Off'
'On' (required)