{ "swagger": "2.0", "info": { "title": "ApplicationClient", "version": "2017-09-01", "description": "ARM applications" }, "host": "management.azure.com", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "security": [ { "azure_auth": [ "user_impersonation" ] } ], "securityDefinitions": { "azure_auth": { "type": "oauth2", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "flow": "implicit", "description": "Azure Active Directory OAuth2 Flow", "scopes": { "user_impersonation": "impersonate your user account" } } }, "paths": { "/providers/Microsoft.Solutions/operations": { "get": { "tags": [ "Operations" ], "operationId": "ListOperations", "description": "Lists all of the available Microsoft.Solutions REST API operations.", "x-ms-examples": { "List Solutions operations": { "$ref": "./examples/listSolutionsOperations.json" } }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK. The request has succeeded.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}": { "get": { "tags": [ "Applications" ], "operationId": "Applications_Get", "description": "Gets the managed application.", "x-ms-examples": { "Get a managed application": { "$ref": "./examples/getApplication.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "name": "applicationName", "in": "path", "required": true, "type": "string", "description": "The name of the managed application.", "minLength": 3, "maxLength": 64 }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK - Returns the managed application.", "schema": { "$ref": "#/definitions/Application" } }, "404": { "description": "Not Found", "x-ms-error-response": false }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } }, "delete": { "tags": [ "Applications" ], "operationId": "Applications_Delete", "description": "Deletes the managed application.", "x-ms-examples": { "Deletes a managed application": { "$ref": "./examples/deleteApplication.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "name": "applicationName", "in": "path", "required": true, "type": "string", "description": "The name of the managed application.", "minLength": 3, "maxLength": 64 }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK" }, "204": { "description": "NoContent" }, "202": { "description": "Accepted - Returns this status until the asynchronous operation has completed." }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } }, "put": { "tags": [ "Applications" ], "operationId": "Applications_CreateOrUpdate", "description": "Creates or updates a managed application.", "x-ms-examples": { "Create or update managed application": { "$ref": "./examples/createOrUpdateApplication.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "name": "applicationName", "in": "path", "required": true, "type": "string", "description": "The name of the managed application.", "minLength": 3, "maxLength": 64 }, { "name": "parameters", "in": "body", "required": true, "schema": { "$ref": "#/definitions/Application" }, "description": "Parameters supplied to the create or update a managed application." }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Created - Returns information about the managed application, including provisioning status.", "schema": { "$ref": "#/definitions/Application" } }, "201": { "description": "Created - Returns information about the managed application, including provisioning status.", "schema": { "$ref": "#/definitions/Application" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } }, "patch": { "tags": [ "Applications" ], "operationId": "Applications_Update", "description": "Updates an existing managed application.", "x-ms-examples": { "Update managed application": { "$ref": "./examples/updateApplication.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "name": "applicationName", "in": "path", "required": true, "type": "string", "description": "The name of the managed application.", "minLength": 3, "maxLength": 64 }, { "name": "parameters", "in": "body", "schema": { "$ref": "#/definitions/ApplicationPatchable" }, "description": "Parameters supplied to update an existing managed application." }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK.", "schema": { "$ref": "#/definitions/ApplicationPatchable" } }, "202": { "description": "Accepted - Returns this status until the asynchronous operation has completed.", "schema": { "$ref": "#/definitions/ApplicationPatchable" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}": { "get": { "tags": [ "ApplicationDefinitions" ], "operationId": "ApplicationDefinitions_Get", "description": "Gets the managed application definition.", "x-ms-examples": { "Get managed application definition": { "$ref": "./examples/getApplicationDefinition.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "name": "applicationDefinitionName", "in": "path", "required": true, "type": "string", "description": "The name of the managed application definition.", "minLength": 3, "maxLength": 64 }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK - Returns the managed application definition.", "schema": { "$ref": "#/definitions/ApplicationDefinition" } }, "404": { "description": "Not Found", "x-ms-error-response": false }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } }, "delete": { "tags": [ "ApplicationDefinitions" ], "operationId": "ApplicationDefinitions_Delete", "description": "Deletes the managed application definition.", "x-ms-examples": { "Deletes managed application definition": { "$ref": "./examples/deleteApplicationDefinition.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "name": "applicationDefinitionName", "in": "path", "required": true, "type": "string", "description": "The name of the managed application definition to delete.", "minLength": 3, "maxLength": 64 }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "204": { "description": "NoContent" }, "200": { "description": "OK" }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } }, "put": { "tags": [ "ApplicationDefinitions" ], "operationId": "ApplicationDefinitions_CreateOrUpdate", "description": "Creates or updates a managed application definition.", "x-ms-examples": { "Create or update managed application definition": { "$ref": "./examples/createOrUpdateApplicationDefinition.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "name": "applicationDefinitionName", "in": "path", "required": true, "type": "string", "description": "The name of the managed application definition.", "minLength": 3, "maxLength": 64 }, { "name": "parameters", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ApplicationDefinition" }, "description": "Parameters supplied to the create or update an managed application definition." }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK - Returns information about the managed application definition, including provisioning status.", "schema": { "$ref": "#/definitions/ApplicationDefinition" } }, "201": { "description": "Created - Returns information about the managed application definition, including provisioning status.", "schema": { "$ref": "#/definitions/ApplicationDefinition" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } }, "patch": { "tags": [ "ApplicationDefinitions" ], "operationId": "ApplicationDefinitions_Update", "description": "Updates the managed application definition.", "x-ms-examples": { "Update managed application definition": { "$ref": "./examples/updateApplicationDefinition.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "name": "applicationDefinitionName", "in": "path", "required": true, "type": "string", "description": "The name of the managed application definition to delete.", "minLength": 3, "maxLength": 64 }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" }, { "name": "parameters", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ApplicationDefinitionPatchable" }, "description": "Parameters supplied to the update a managed application definition." } ], "responses": { "200": { "description": "OK - Returns information about the managed application definition, including provisioning status.", "schema": { "$ref": "#/definitions/ApplicationDefinition" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions": { "get": { "tags": [ "ApplicationDefinitions" ], "operationId": "ApplicationDefinitions_ListByResourceGroup", "description": "Lists the managed application definitions in a resource group.", "x-ms-examples": { "Lists the managed application definitions in a resource group": { "$ref": "./examples/listApplicationDefinitionsByResourceGroup.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK - Returns an array of managed application definitions.", "schema": { "$ref": "#/definitions/ApplicationDefinitionListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications": { "get": { "tags": [ "Applications" ], "operationId": "Applications_ListByResourceGroup", "description": "Lists all the applications within a resource group.", "x-ms-examples": { "Lists all the applications within a resource group": { "$ref": "./examples/listApplicationsByResourceGroup.json" } }, "parameters": [ { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", "description": "The name of the resource group. The name is case insensitive.", "pattern": "^[-\\w\\._\\(\\)]+$", "minLength": 1, "maxLength": 90 }, { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK - Returns an array of applications.", "schema": { "$ref": "#/definitions/ApplicationListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applicationDefinitions": { "get": { "tags": [ "ApplicationDefinitions" ], "operationId": "ApplicationDefinitions_ListBySubscription", "description": "Lists the managed application definitions in a subscription.", "x-ms-examples": { "Lists the managed application definitions in a subscription": { "$ref": "./examples/listApplicationDefinitionsBySubscription.json" } }, "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK - Returns an array of managed application definitions.", "schema": { "$ref": "#/definitions/ApplicationDefinitionListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applications": { "get": { "tags": [ "Applications" ], "operationId": "Applications_ListBySubscription", "description": "Lists all the applications within a subscription.", "x-ms-examples": { "Lists all the applications within a subscription": { "$ref": "./examples/listApplicationsBySubscription.json" } }, "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "OK - Returns an array of applications.", "schema": { "$ref": "#/definitions/ApplicationListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/{applicationId}": { "get": { "tags": [ "Applications" ], "operationId": "Applications_GetById", "description": "Gets the managed application.", "x-ms-examples": { "Gets the managed application": { "$ref": "./examples/getApplicationById.json" } }, "parameters": [ { "name": "applicationId", "in": "path", "required": true, "type": "string", "description": "The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}", "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK - Returns the managed application.", "schema": { "$ref": "#/definitions/Application" } }, "404": { "description": "Not Found", "x-ms-error-response": false }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } }, "delete": { "tags": [ "Applications" ], "operationId": "Applications_DeleteById", "description": "Deletes the managed application.", "x-ms-examples": { "Deletes the managed application": { "$ref": "./examples/deleteApplicationById.json" } }, "parameters": [ { "name": "applicationId", "in": "path", "required": true, "type": "string", "description": "The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}", "x-ms-skip-url-encoding": true }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "204": { "description": "NoContent" }, "200": { "description": "OK" }, "202": { "description": "Accepted - Returns this status until the asynchronous operation has completed." }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } }, "put": { "tags": [ "Applications" ], "operationId": "Applications_CreateOrUpdateById", "description": "Creates or updates a managed application.", "x-ms-examples": { "Creates or updates a managed application": { "$ref": "./examples/createOrUpdateApplicationById.json" } }, "parameters": [ { "name": "applicationId", "in": "path", "required": true, "type": "string", "description": "The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}", "x-ms-skip-url-encoding": true }, { "name": "parameters", "in": "body", "required": true, "schema": { "$ref": "#/definitions/Application" }, "description": "Parameters supplied to the create or update a managed application." }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Created - Returns information about the managed application, including provisioning status.", "schema": { "$ref": "#/definitions/Application" } }, "201": { "description": "Created - Returns information about the managed application, including provisioning status.", "schema": { "$ref": "#/definitions/Application" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } }, "patch": { "tags": [ "Applications" ], "operationId": "Applications_UpdateById", "description": "Updates an existing managed application.", "x-ms-examples": { "Updates an existing managed application": { "$ref": "./examples/updateApplicationById.json" } }, "parameters": [ { "name": "applicationId", "in": "path", "required": true, "type": "string", "description": "The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}", "x-ms-skip-url-encoding": true }, { "name": "parameters", "in": "body", "schema": { "$ref": "#/definitions/ApplicationPatchable" }, "description": "Parameters supplied to update an existing managed application." }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK.", "schema": { "$ref": "#/definitions/ApplicationPatchable" } }, "202": { "description": "Accepted - Returns this status until the asynchronous operation has completed.", "schema": { "$ref": "#/definitions/ApplicationPatchable" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" } } } }, "definitions": { "Application": { "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/ApplicationProperties", "description": "The managed application properties." }, "plan": { "$ref": "#/definitions/Plan", "description": "The plan information." }, "kind": { "type": "string", "description": "The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.", "pattern": "^[-\\w\\._,\\(\\)]+$" } }, "required": [ "properties", "kind" ], "allOf": [ { "$ref": "#/definitions/GenericResource" } ], "description": "Information about managed application." }, "ApplicationPatchable": { "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/ApplicationPropertiesPatchable", "description": "The managed application properties." }, "plan": { "$ref": "#/definitions/PlanPatchable", "description": "The plan information." }, "kind": { "type": "string", "description": "The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.", "pattern": "^[-\\w\\._,\\(\\)]+$" } }, "allOf": [ { "$ref": "#/definitions/GenericResource" } ], "description": "Information about managed application." }, "ApplicationDefinition": { "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/ApplicationDefinitionProperties", "description": "The managed application definition properties." } }, "required": [ "properties" ], "allOf": [ { "$ref": "#/definitions/GenericResource" } ], "description": "Information about managed application definition." }, "ApplicationProperties": { "properties": { "managedResourceGroupId": { "type": "string", "description": "The managed resource group Id." }, "applicationDefinitionId": { "type": "string", "description": "The fully qualified path of managed application definition Id." }, "parameters": { "type": "object", "description": "Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string." }, "outputs": { "readOnly": true, "type": "object", "description": "Name and value pairs that define the managed application outputs." }, "provisioningState": { "readOnly": true, "$ref": "#/definitions/ProvisioningState", "description": "The managed application provisioning state." }, "uiDefinitionUri": { "type": "string", "description": "The blob URI where the UI definition file is located." } }, "required": [ "managedResourceGroupId" ], "description": "The managed application properties." }, "ApplicationPropertiesPatchable": { "properties": { "managedResourceGroupId": { "type": "string", "description": "The managed resource group Id." }, "applicationDefinitionId": { "type": "string", "description": "The fully qualified path of managed application definition Id." }, "parameters": { "type": "object", "description": "Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string." }, "outputs": { "readOnly": true, "type": "object", "description": "Name and value pairs that define the managed application outputs." }, "provisioningState": { "readOnly": true, "$ref": "#/definitions/ProvisioningState", "description": "The managed application provisioning state." }, "uiDefinitionUri": { "type": "string", "description": "The blob URI where the UI definition file is located." } }, "description": "The managed application properties." }, "ApplicationDefinitionProperties": { "properties": { "lockLevel": { "$ref": "#/definitions/ApplicationLockLevel", "description": "The managed application lock level." }, "displayName": { "type": "string", "description": "The managed application definition display name." }, "isEnabled": { "type": "string", "description": "A value indicating whether the package is enabled or not." }, "authorizations": { "description": "The managed application provider authorizations.", "type": "array", "items": { "$ref": "#/definitions/ApplicationProviderAuthorization" } }, "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.", "type": "array", "items": { "$ref": "#/definitions/ApplicationArtifact" } }, "description": { "type": "string", "description": "The managed application definition description." }, "packageFileUri": { "type": "string", "description": "The managed application definition package file Uri. Use this element" }, "mainTemplate": { "type": "object", "description": "The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string." }, "createUiDefinition": { "type": "object", "description": "The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string." } }, "required": [ "lockLevel", "authorizations" ], "description": "The managed application definition properties." }, "ApplicationDefinitionPatchable": { "type": "object", "properties": { "tags": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Application definition tags" } }, "description": "Information about an application definition request." }, "Plan": { "properties": { "name": { "type": "string", "description": "The plan name." }, "publisher": { "type": "string", "description": "The publisher ID." }, "product": { "type": "string", "description": "The product code." }, "promotionCode": { "type": "string", "description": "The promotion code." }, "version": { "type": "string", "description": "The plan's version." } }, "required": [ "name", "publisher", "product", "version" ], "description": "Plan for the managed application." }, "PlanPatchable": { "properties": { "name": { "type": "string", "description": "The plan name." }, "publisher": { "type": "string", "description": "The publisher ID." }, "product": { "type": "string", "description": "The product code." }, "promotionCode": { "type": "string", "description": "The promotion code." }, "version": { "type": "string", "description": "The plan's version." } }, "description": "Plan for the managed application." }, "GenericResource": { "properties": { "managedBy": { "type": "string", "description": "ID of the resource that manages this resource." }, "sku": { "$ref": "#/definitions/Sku", "description": "The SKU of the resource." }, "identity": { "$ref": "#/definitions/Identity", "description": "The identity of the resource." } }, "allOf": [ { "$ref": "#/definitions/Resource" } ], "description": "Resource information." }, "Sku": { "properties": { "name": { "type": "string", "description": "The SKU name." }, "tier": { "type": "string", "description": "The SKU tier." }, "size": { "type": "string", "description": "The SKU size." }, "family": { "type": "string", "description": "The SKU family." }, "model": { "type": "string", "description": "The SKU model." }, "capacity": { "type": "integer", "format": "int32", "description": "The SKU capacity." } }, "required": [ "name" ], "description": "SKU for the resource." }, "Identity": { "properties": { "principalId": { "readOnly": true, "type": "string", "description": "The principal ID of resource identity." }, "tenantId": { "readOnly": true, "type": "string", "description": "The tenant ID of resource." }, "type": { "type": "string", "description": "The identity type.", "enum": [ "SystemAssigned" ], "x-ms-enum": { "name": "ResourceIdentityType", "modelAsString": false } } }, "description": "Identity for the resource." }, "Resource": { "properties": { "id": { "readOnly": true, "type": "string", "description": "Resource ID" }, "name": { "readOnly": true, "type": "string", "description": "Resource name" }, "type": { "readOnly": true, "type": "string", "description": "Resource type" }, "location": { "type": "string", "description": "Resource location" }, "tags": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Resource tags" } }, "description": "Resource information.", "x-ms-azure-resource": true }, "ApplicationListResult": { "properties": { "value": { "type": "array", "items": { "$ref": "#/definitions/Application" }, "description": "The array of managed applications." }, "nextLink": { "type": "string", "description": "The URL to use for getting the next set of results." } }, "description": "List of managed applications." }, "ApplicationDefinitionListResult": { "properties": { "value": { "type": "array", "items": { "$ref": "#/definitions/ApplicationDefinition" }, "description": "The array of managed application definitions." }, "nextLink": { "type": "string", "description": "The URL to use for getting the next set of results." } }, "description": "List of managed application definitions." }, "ProvisioningState": { "description": "Provisioning status of the managed application.", "readOnly": true, "enum": [ "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", "Updating" ], "type": "string", "x-ms-enum": { "name": "ProvisioningState", "modelAsString": true } }, "ApplicationLockLevel": { "description": "The managed application lock level.", "enum": [ "CanNotDelete", "ReadOnly", "None" ], "type": "string", "x-ms-enum": { "name": "ApplicationLockLevel", "modelAsString": false } }, "ApplicationArtifactType": { "description": "The managed application artifact type.", "enum": [ "Template", "Custom" ], "type": "string", "x-ms-enum": { "name": "ApplicationArtifactType", "modelAsString": false } }, "ApplicationArtifact": { "properties": { "name": { "type": "string", "description": "The managed application artifact name." }, "uri": { "type": "string", "description": "The managed application artifact blob uri." }, "type": { "$ref": "#/definitions/ApplicationArtifactType", "description": "The managed application artifact type." } }, "description": "Managed application artifact." }, "ApplicationProviderAuthorization": { "properties": { "principalId": { "type": "string", "description": "The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources." }, "roleDefinitionId": { "type": "string", "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." } }, "required": [ "principalId", "roleDefinitionId" ], "description": "The managed application provider authorization." } }, "parameters": { "SubscriptionIdParameter": { "name": "subscriptionId", "in": "path", "required": true, "type": "string", "description": "The ID of the target subscription." }, "ApiVersionParameter": { "name": "api-version", "in": "query", "required": true, "type": "string", "description": "The API version to use for this operation." } } }