Microsoft.Solutions applications 2018-03-01

Bicep resource definition

The applications resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep.

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

Resource format

To create a Microsoft.Solutions/applications resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Solutions/applications@2018-03-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    capacity: int
    family: 'string'
    model: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  kind: 'string'
  identity: {
    type: 'string'
    userAssignedIdentities: {}
  }
  managedBy: 'string'
  plan: {
    name: 'string'
    product: 'string'
    promotionCode: 'string'
    publisher: 'string'
    version: 'string'
  }
  properties: {
    applicationDefinitionId: 'string'
    jitAccessPolicy: {
      jitAccessEnabled: bool
      jitApprovalMode: 'string'
      jitApprovers: [
        {
          displayName: 'string'
          id: 'string'
          type: 'string'
        }
      ]
      maximumJitAccessDuration: 'string'
    }
    managedResourceGroupId: 'string'
    parameters: any()
    publisherPackageId: 'string'
  }
}

Property values

applications

Name Description Value
name The resource name string (required)
location Resource location string
tags Resource tags Dictionary of tag names and values. See Tags in templates
sku The SKU of the resource. Sku
kind The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. string (required)
identity The identity of the resource. Identity
managedBy ID of the resource that manages this resource. string
plan The plan information. Plan
properties The managed application properties. ApplicationProperties (required)

Identity

Name Description Value
type The identity type. 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. object

Plan

Name Description Value
name The plan name. string (required)
product The product code. string (required)
promotionCode The promotion code. string
publisher The publisher ID. string (required)
version The plan's version. string (required)

ApplicationProperties

Name Description Value
applicationDefinitionId The fully qualified path of managed application definition Id. string
jitAccessPolicy The managed application Jit access policy. ApplicationJitAccessPolicy
managedResourceGroupId The managed resource group Id. string
parameters Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. For Bicep, you can use the any() function.
publisherPackageId The publisher package Id. string

ApplicationJitAccessPolicy

Name Description Value
jitAccessEnabled Whether the JIT access is enabled. bool (required)
jitApprovalMode JIT approval mode. 'AutoApprove'
'ManualApprove'
'NotSpecified'
jitApprovers The JIT approvers JitApproverDefinition[]
maximumJitAccessDuration The maximum duration JIT access is granted. This is an ISO8601 time period value. string

JitApproverDefinition

Name Description Value
displayName The approver display name. string
id The approver service principal Id. string (required)
type The approver type. 'group'
'user'

Sku

Name Description Value
capacity The SKU capacity. int
family The SKU family. string
model The SKU model. string
name The SKU name. string (required)
size The SKU size. string
tier The SKU tier. string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a managed application with a customized view

Deploy to Azure
This template creates a managed application that has a customized default view.
Create a managed application that deploys linked templates

Deploy to Azure
This template creates a managed application that deploys linked templates.
Create a managed application with metrics and alerts

Deploy to Azure
This template creates a managed application that has application metrics and alerts.

ARM template resource definition

The applications resource type can be deployed to: Resource groups.

To learn about resource group deployments, see ARM template.

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

Resource format

To create a Microsoft.Solutions/applications resource, add the following JSON to your template.

{
  "type": "Microsoft.Solutions/applications",
  "apiVersion": "2018-03-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "model": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "kind": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {}
  },
  "managedBy": "string",
  "plan": {
    "name": "string",
    "product": "string",
    "promotionCode": "string",
    "publisher": "string",
    "version": "string"
  },
  "properties": {
    "applicationDefinitionId": "string",
    "jitAccessPolicy": {
      "jitAccessEnabled": "bool",
      "jitApprovalMode": "string",
      "jitApprovers": [
        {
          "displayName": "string",
          "id": "string",
          "type": "string"
        }
      ],
      "maximumJitAccessDuration": "string"
    },
    "managedResourceGroupId": "string",
    "parameters": {},
    "publisherPackageId": "string"
  }
}

Property values

applications

Name Description Value
type The resource type 'Microsoft.Solutions/applications'
apiVersion The resource api version '2018-03-01'
name The resource name string (required)
location Resource location string
tags Resource tags Dictionary of tag names and values. See Tags in templates
sku The SKU of the resource. Sku
kind The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. string (required)
identity The identity of the resource. Identity
managedBy ID of the resource that manages this resource. string
plan The plan information. Plan
properties The managed application properties. ApplicationProperties (required)

Identity

Name Description Value
type The identity type. 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. object

Plan

Name Description Value
name The plan name. string (required)
product The product code. string (required)
promotionCode The promotion code. string
publisher The publisher ID. string (required)
version The plan's version. string (required)

ApplicationProperties

Name Description Value
applicationDefinitionId The fully qualified path of managed application definition Id. string
jitAccessPolicy The managed application Jit access policy. ApplicationJitAccessPolicy
managedResourceGroupId The managed resource group Id. string
parameters Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.
publisherPackageId The publisher package Id. string

ApplicationJitAccessPolicy

Name Description Value
jitAccessEnabled Whether the JIT access is enabled. bool (required)
jitApprovalMode JIT approval mode. 'AutoApprove'
'ManualApprove'
'NotSpecified'
jitApprovers The JIT approvers JitApproverDefinition[]
maximumJitAccessDuration The maximum duration JIT access is granted. This is an ISO8601 time period value. string

JitApproverDefinition

Name Description Value
displayName The approver display name. string
id The approver service principal Id. string (required)
type The approver type. 'group'
'user'

Sku

Name Description Value
capacity The SKU capacity. int
family The SKU family. string
model The SKU model. string
name The SKU name. string (required)
size The SKU size. string
tier The SKU tier. string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a managed application with a customized view

Deploy to Azure
This template creates a managed application that has a customized default view.
Create a managed application that deploys linked templates

Deploy to Azure
This template creates a managed application that deploys linked templates.
Create a managed application with metrics and alerts

Deploy to Azure
This template creates a managed application that has application metrics and alerts.

Terraform (AzAPI provider) resource definition

The applications resource type can be deployed to: Resource groups.

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

Resource format

To create a Microsoft.Solutions/applications resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Solutions/applications@2018-03-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      applicationDefinitionId = "string"
      jitAccessPolicy = {
        jitAccessEnabled = bool
        jitApprovalMode = "string"
        jitApprovers = [
          {
            displayName = "string"
            id = "string"
            type = "string"
          }
        ]
        maximumJitAccessDuration = "string"
      }
      managedResourceGroupId = "string"
      publisherPackageId = "string"
    }
    sku = {
      capacity = int
      family = "string"
      model = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
    kind = "string"
    managedBy = "string"
    plan = {
      name = "string"
      product = "string"
      promotionCode = "string"
      publisher = "string"
      version = "string"
    }
  })
}

Property values

applications

Name Description Value
type The resource type "Microsoft.Solutions/applications@2018-03-01"
name The resource name string (required)
location Resource location string
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Resource tags Dictionary of tag names and values.
sku The SKU of the resource. Sku
kind The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. string (required)
identity The identity of the resource. Identity
managedBy ID of the resource that manages this resource. string
plan The plan information. Plan
properties The managed application properties. ApplicationProperties (required)

Identity

Name Description Value
type The identity type. "SystemAssigned"
"SystemAssigned, UserAssigned"
"UserAssigned"
identity_ids The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. Array of user identity IDs.

Plan

Name Description Value
name The plan name. string (required)
product The product code. string (required)
promotionCode The promotion code. string
publisher The publisher ID. string (required)
version The plan's version. string (required)

ApplicationProperties

Name Description Value
applicationDefinitionId The fully qualified path of managed application definition Id. string
jitAccessPolicy The managed application Jit access policy. ApplicationJitAccessPolicy
managedResourceGroupId The managed resource group Id. string
parameters Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.
publisherPackageId The publisher package Id. string

ApplicationJitAccessPolicy

Name Description Value
jitAccessEnabled Whether the JIT access is enabled. bool (required)
jitApprovalMode JIT approval mode. "AutoApprove"
"ManualApprove"
"NotSpecified"
jitApprovers The JIT approvers JitApproverDefinition[]
maximumJitAccessDuration The maximum duration JIT access is granted. This is an ISO8601 time period value. string

JitApproverDefinition

Name Description Value
displayName The approver display name. string
id The approver service principal Id. string (required)
type The approver type. "group"
"user"

Sku

Name Description Value
capacity The SKU capacity. int
family The SKU family. string
model The SKU model. string
name The SKU name. string (required)
size The SKU size. string
tier The SKU tier. string