azure-resource-manager-schemas/schemas/2018-06-01/Microsoft.Solutions.resourc...

464 строки
14 KiB
JSON

{
"id": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.Solutions.resourcesolutions.json#",
"title": "Microsoft.Solutions",
"description": "Microsoft Solutions Resource Types",
"$schema": "http://json-schema.org/draft-04/schema#",
"resourceDefinitions": {
"applicationDefinitions": {
"description": "Microsoft.Solutions/applicationDefinitions",
"properties": {
"apiVersion": {
"enum": [
"2018-06-01"
],
"type": "string"
},
"identity": {
"description": "The identity of the resource.",
"oneOf": [
{
"$ref": "#/definitions/Identity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"location": {
"description": "Resource location",
"type": "string"
},
"managedBy": {
"description": "ID of the resource that manages this resource.",
"type": "string"
},
"name": {
"description": "The name of the managed application definition.",
"maxLength": 64,
"minLength": 3,
"type": "string"
},
"properties": {
"description": "The managed application definition properties.",
"oneOf": [
{
"$ref": "#/definitions/ApplicationDefinitionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"sku": {
"description": "The SKU of the resource.",
"oneOf": [
{
"$ref": "#/definitions/Sku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.Solutions/applicationDefinitions"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"applications": {
"description": "Microsoft.Solutions/applications",
"properties": {
"apiVersion": {
"enum": [
"2018-06-01"
],
"type": "string"
},
"identity": {
"description": "The identity of the resource.",
"oneOf": [
{
"$ref": "#/definitions/Identity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"kind": {
"description": "The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.",
"oneOf": [
{
"pattern": "^[-\\w\\._,\\(\\)]+$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"location": {
"description": "Resource location",
"type": "string"
},
"managedBy": {
"description": "ID of the resource that manages this resource.",
"type": "string"
},
"name": {
"description": "The name of the managed application.",
"maxLength": 64,
"minLength": 3,
"type": "string"
},
"plan": {
"description": "The plan information.",
"oneOf": [
{
"$ref": "#/definitions/Plan"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "The managed application properties.",
"oneOf": [
{
"$ref": "#/definitions/ApplicationProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"sku": {
"description": "The SKU of the resource.",
"oneOf": [
{
"$ref": "#/definitions/Sku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.Solutions/applications"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"definitions": {
"ApplicationArtifact": {
"description": "Managed application artifact.",
"properties": {
"name": {
"description": "The managed application artifact name.",
"type": "string"
},
"type": {
"description": "The managed application artifact type.",
"oneOf": [
{
"enum": [
"Template",
"Custom"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"uri": {
"description": "The managed application artifact blob uri.",
"type": "string"
}
},
"type": "object"
},
"ApplicationDefinitionProperties": {
"description": "The managed application definition properties.",
"properties": {
"artifacts": {
"description": "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.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/ApplicationArtifact"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"authorizations": {
"description": "The managed application provider authorizations.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/ApplicationProviderAuthorization"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"createUiDefinition": {
"description": "The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.",
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"description": {
"description": "The managed application definition description.",
"type": "string"
},
"displayName": {
"description": "The managed application definition display name.",
"type": "string"
},
"isEnabled": {
"description": "A value indicating whether the package is enabled or not.",
"type": "string"
},
"lockLevel": {
"description": "The managed application lock level.",
"oneOf": [
{
"enum": [
"CanNotDelete",
"ReadOnly",
"None"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"mainTemplate": {
"description": "The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.",
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"packageFileUri": {
"description": "The managed application definition package file Uri. Use this element",
"type": "string"
}
},
"required": [
"lockLevel",
"authorizations"
],
"type": "object"
},
"ApplicationProperties": {
"description": "The managed application properties.",
"properties": {
"applicationDefinitionId": {
"description": "The fully qualified path of managed application definition Id.",
"type": "string"
},
"managedResourceGroupId": {
"description": "The managed resource group Id.",
"type": "string"
},
"parameters": {
"description": "Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.",
"oneOf": [
{
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"managedResourceGroupId"
],
"type": "object"
},
"ApplicationProviderAuthorization": {
"description": "The managed application provider authorization.",
"properties": {
"principalId": {
"description": "The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.",
"type": "string"
},
"roleDefinitionId": {
"description": "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.",
"type": "string"
}
},
"required": [
"principalId",
"roleDefinitionId"
],
"type": "object"
},
"Identity": {
"description": "Identity for the resource.",
"properties": {
"type": {
"description": "The identity type.",
"oneOf": [
{
"enum": [
"SystemAssigned"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"Plan": {
"description": "Plan for the managed application.",
"properties": {
"name": {
"description": "The plan name.",
"type": "string"
},
"product": {
"description": "The product code.",
"type": "string"
},
"promotionCode": {
"description": "The promotion code.",
"type": "string"
},
"publisher": {
"description": "The publisher ID.",
"type": "string"
},
"version": {
"description": "The plan's version.",
"type": "string"
}
},
"required": [
"name",
"publisher",
"product",
"version"
],
"type": "object"
},
"Sku": {
"description": "SKU for the resource.",
"properties": {
"capacity": {
"description": "The SKU capacity.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"family": {
"description": "The SKU family.",
"type": "string"
},
"model": {
"description": "The SKU model.",
"type": "string"
},
"name": {
"description": "The SKU name.",
"type": "string"
},
"size": {
"description": "The SKU size.",
"type": "string"
},
"tier": {
"description": "The SKU tier.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
}
}