Share via


Microsoft.Security applications

Bicep resource definition

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

resource symbolicname 'Microsoft.Security/applications@2022-07-01-preview' = {
  scope: resourceSymbolicName or scope
  name: 'string'
  properties: {
    conditionSets: [
      any(...)
    ]
    description: 'string'
    displayName: 'string'
    sourceResourceType: 'string'
  }
}

Property Values

Microsoft.Security/applications

Name Description Value
name The resource name string (required)
properties Properties of a security application ApplicationProperties
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.

ApplicationProperties

Name Description Value
conditionSets The application conditionSets - see examples any[] (required)
description description of the application string
displayName display name of the application string
sourceResourceType The application source, what it affects, e.g. Assessments 'Assessments' (required)

ARM template resource definition

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

{
  "type": "Microsoft.Security/applications",
  "apiVersion": "2022-07-01-preview",
  "name": "string",
  "properties": {
    "conditionSets": [ {} ],
    "description": "string",
    "displayName": "string",
    "sourceResourceType": "string"
  }
}

Property Values

Microsoft.Security/applications

Name Description Value
apiVersion The api version '2022-07-01-preview'
name The resource name string (required)
properties Properties of a security application ApplicationProperties
type The resource type 'Microsoft.Security/applications'

ApplicationProperties

Name Description Value
conditionSets The application conditionSets - see examples any[] (required)
description description of the application string
displayName display name of the application string
sourceResourceType The application source, what it affects, e.g. Assessments 'Assessments' (required)

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/applications@2022-07-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      conditionSets = [
        ?
      ]
      description = "string"
      displayName = "string"
      sourceResourceType = "string"
    }
  }
}

Property Values

Microsoft.Security/applications

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 Properties of a security application ApplicationProperties
type The resource type "Microsoft.Security/applications@2022-07-01-preview"

ApplicationProperties

Name Description Value
conditionSets The application conditionSets - see examples any[] (required)
description description of the application string
displayName display name of the application string
sourceResourceType The application source, what it affects, e.g. Assessments 'Assessments' (required)