diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json index 71f7a44cd8b7..bf8e4d00ffb8 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json @@ -156,7 +156,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ApplicationProperties" + "$ref": "#/definitions/Application" }, "description": "The application create request." } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json index ea2788d25f95..e56ca99e1c61 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json @@ -6,34 +6,36 @@ "api-version": "2015-03-01-preview", "subscriptionId": "subid", "parameters": { - "computeProfile": { - "roles": [{ - "name": "edgenode", - "targetInstanceCount": 1, - "hardwareProfile": { - "vmSize": "Standard_D12_v2" - } - }] - }, - "installScriptActions": [{ - "name": "app-install-app1", - "uri": "https://.../install.sh", - "parameters": "-version latest -port 20000", - "roles": [ - "edgenode" - ] - }], - "uninstallScriptActions": [], - "httpsEndpoints": [{ - "subDomainSuffix": "dss", - "destinationPort": 20000, - "accessModes": [ - "WebPage" - ] - }], - "provisioningState": "", - "applicationType": "CustomApplication", - "errors": [] + "properties": { + "computeProfile": { + "roles": [{ + "name": "edgenode", + "targetInstanceCount": 1, + "hardwareProfile": { + "vmSize": "Standard_D12_v2" + } + }] + }, + "installScriptActions": [{ + "name": "app-install-app1", + "uri": "https://.../install.sh", + "parameters": "-version latest -port 20000", + "roles": [ + "edgenode" + ] + }], + "uninstallScriptActions": [], + "httpsEndpoints": [{ + "subDomainSuffix": "dss", + "destinationPort": 20000, + "accessModes": [ + "WebPage" + ] + }], + "provisioningState": "", + "applicationType": "CustomApplication", + "errors": [] + } } }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json index 225b0aa592d3..0f93b242c986 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json @@ -158,7 +158,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ApplicationProperties" + "$ref": "#/definitions/Application" }, "description": "The application create request." } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json index a56b27bf2e7d..7b9a96e506d9 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json @@ -6,34 +6,36 @@ "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { - "computeProfile": { - "roles": [{ - "name": "edgenode", - "targetInstanceCount": 1, - "hardwareProfile": { - "vmSize": "Standard_D12_v2" - } - }] - }, - "installScriptActions": [{ - "name": "app-install-app1", - "uri": "https://.../install.sh", - "parameters": "-version latest -port 20000", - "roles": [ - "edgenode" - ] - }], - "uninstallScriptActions": [], - "httpsEndpoints": [{ - "subDomainSuffix": "dss", - "destinationPort": 20000, - "accessModes": [ - "WebPage" - ] - }], - "provisioningState": "", - "applicationType": "CustomApplication", - "errors": [] + "properties": { + "computeProfile": { + "roles": [{ + "name": "edgenode", + "targetInstanceCount": 1, + "hardwareProfile": { + "vmSize": "Standard_D12_v2" + } + }] + }, + "installScriptActions": [{ + "name": "app-install-app1", + "uri": "https://.../install.sh", + "parameters": "-version latest -port 20000", + "roles": [ + "edgenode" + ] + }], + "uninstallScriptActions": [], + "httpsEndpoints": [{ + "subDomainSuffix": "dss", + "destinationPort": 20000, + "accessModes": [ + "WebPage" + ] + }], + "provisioningState": "", + "applicationType": "CustomApplication", + "errors": [] + } } }, "responses": {