Microsoft.Solutions applicationDefinitions 2018-03-01
Bicep resource definition
The applicationDefinitions 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/applicationDefinitions resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Solutions/applicationDefinitions@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'
}
managedBy: 'string'
properties: {
artifacts: [
{
name: 'string'
type: 'string'
uri: 'string'
}
]
authorizations: [
{
principalId: 'string'
roleDefinitionId: 'string'
}
]
createUiDefinition: any()
description: 'string'
displayName: 'string'
isEnabled: bool
mainTemplate: any()
packageFileUri: 'string'
policies: [
{
name: 'string'
parameters: 'string'
policyDefinitionId: 'string'
}
]
}
}
Property values
applicationDefinitions
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 |
managedBy | ID of the resource that manages this resource. | string |
properties | The managed application definition properties. | ApplicationDefinitionProperties (required) |
ApplicationDefinitionProperties
Name | Description | Value |
---|---|---|
artifacts | The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. | ApplicationDefinitionArtifact[] |
authorizations | The managed application provider authorizations. | ApplicationAuthorization[] |
createUiDefinition | The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. | For Bicep, you can use the any() function. |
description | The managed application definition description. | string |
displayName | The managed application definition display name. | string |
isEnabled | A value indicating whether the package is enabled or not. | bool |
mainTemplate | The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. | For Bicep, you can use the any() function. |
packageFileUri | The managed application definition package file Uri. Use this element | string |
policies | The managed application provider policies. | ApplicationPolicy[] |
ApplicationDefinitionArtifact
Name | Description | Value |
---|---|---|
name | The managed application definition artifact name. | 'ApplicationResourceTemplate' 'CreateUiDefinition' 'MainTemplateParameters' 'NotSpecified' (required) |
type | The managed application definition artifact type. | 'Custom' 'NotSpecified' 'Template' (required) |
uri | The managed application definition artifact blob uri. | string (required) |
ApplicationAuthorization
Name | Description | Value |
---|---|---|
principalId | The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. | string (required) |
roleDefinitionId | The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. | string (required) |
ApplicationPolicy
Name | Description | Value |
---|---|---|
name | The policy name | string |
parameters | The policy parameters. | string |
policyDefinitionId | The policy definition Id. | string |
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 |
This template creates a managed application that has a customized default view. |
Create a managed application that deploys linked templates |
This template creates a managed application that deploys linked templates. |
Create a managed application with metrics and alerts |
This template creates a managed application that has application metrics and alerts. |
ARM template resource definition
The applicationDefinitions 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/applicationDefinitions resource, add the following JSON to your template.
{
"type": "Microsoft.Solutions/applicationDefinitions",
"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"
},
"managedBy": "string",
"properties": {
"artifacts": [
{
"name": "string",
"type": "string",
"uri": "string"
}
],
"authorizations": [
{
"principalId": "string",
"roleDefinitionId": "string"
}
],
"createUiDefinition": {},
"description": "string",
"displayName": "string",
"isEnabled": "bool",
"mainTemplate": {},
"packageFileUri": "string",
"policies": [
{
"name": "string",
"parameters": "string",
"policyDefinitionId": "string"
}
]
}
}
Property values
applicationDefinitions
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Solutions/applicationDefinitions' |
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 |
managedBy | ID of the resource that manages this resource. | string |
properties | The managed application definition properties. | ApplicationDefinitionProperties (required) |
ApplicationDefinitionProperties
Name | Description | Value |
---|---|---|
artifacts | The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. | ApplicationDefinitionArtifact[] |
authorizations | The managed application provider authorizations. | ApplicationAuthorization[] |
createUiDefinition | The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. | |
description | The managed application definition description. | string |
displayName | The managed application definition display name. | string |
isEnabled | A value indicating whether the package is enabled or not. | bool |
mainTemplate | The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. | |
packageFileUri | The managed application definition package file Uri. Use this element | string |
policies | The managed application provider policies. | ApplicationPolicy[] |
ApplicationDefinitionArtifact
Name | Description | Value |
---|---|---|
name | The managed application definition artifact name. | 'ApplicationResourceTemplate' 'CreateUiDefinition' 'MainTemplateParameters' 'NotSpecified' (required) |
type | The managed application definition artifact type. | 'Custom' 'NotSpecified' 'Template' (required) |
uri | The managed application definition artifact blob uri. | string (required) |
ApplicationAuthorization
Name | Description | Value |
---|---|---|
principalId | The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. | string (required) |
roleDefinitionId | The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. | string (required) |
ApplicationPolicy
Name | Description | Value |
---|---|---|
name | The policy name | string |
parameters | The policy parameters. | string |
policyDefinitionId | The policy definition Id. | string |
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 |
This template creates a managed application that has a customized default view. |
Create a managed application that deploys linked templates |
This template creates a managed application that deploys linked templates. |
Create a managed application with metrics and alerts |
This template creates a managed application that has application metrics and alerts. |
Terraform (AzAPI provider) resource definition
The applicationDefinitions 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/applicationDefinitions resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Solutions/applicationDefinitions@2018-03-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
artifacts = [
{
name = "string"
type = "string"
uri = "string"
}
]
authorizations = [
{
principalId = "string"
roleDefinitionId = "string"
}
]
description = "string"
displayName = "string"
isEnabled = bool
packageFileUri = "string"
policies = [
{
name = "string"
parameters = "string"
policyDefinitionId = "string"
}
]
}
sku = {
capacity = int
family = "string"
model = "string"
name = "string"
size = "string"
tier = "string"
}
managedBy = "string"
})
}
Property values
applicationDefinitions
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.Solutions/applicationDefinitions@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 |
managedBy | ID of the resource that manages this resource. | string |
properties | The managed application definition properties. | ApplicationDefinitionProperties (required) |
ApplicationDefinitionProperties
Name | Description | Value |
---|---|---|
artifacts | The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. | ApplicationDefinitionArtifact[] |
authorizations | The managed application provider authorizations. | ApplicationAuthorization[] |
createUiDefinition | The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. | |
description | The managed application definition description. | string |
displayName | The managed application definition display name. | string |
isEnabled | A value indicating whether the package is enabled or not. | bool |
mainTemplate | The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. | |
packageFileUri | The managed application definition package file Uri. Use this element | string |
policies | The managed application provider policies. | ApplicationPolicy[] |
ApplicationDefinitionArtifact
Name | Description | Value |
---|---|---|
name | The managed application definition artifact name. | "ApplicationResourceTemplate" "CreateUiDefinition" "MainTemplateParameters" "NotSpecified" (required) |
type | The managed application definition artifact type. | "Custom" "NotSpecified" "Template" (required) |
uri | The managed application definition artifact blob uri. | string (required) |
ApplicationAuthorization
Name | Description | Value |
---|---|---|
principalId | The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. | string (required) |
roleDefinitionId | The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. | string (required) |
ApplicationPolicy
Name | Description | Value |
---|---|---|
name | The policy name | string |
parameters | The policy parameters. | string |
policyDefinitionId | The policy definition Id. | string |
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 |