diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/CommonDefinitions.json index b5fad40b666f..2d77832a3e93 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-03-01/CommonDefinitions.json @@ -557,6 +557,19 @@ } } }, + "ComputeModeOptions": { + "description": "Shared or dedicated app hosting.", + "enum": [ + "Shared", + "Dedicated", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "ComputeModeOptions", + "modelAsString": true + } + }, "ConnStringInfo": { "description": "Database connection string information.", "type": "object", @@ -2228,6 +2241,10 @@ "description": "Family code of the resource SKU.", "type": "string" }, + "computeMode": { + "$ref": "#/definitions/ComputeModeOptions", + "description": "Shared or dedicated app hosting." + }, "capacity": { "format": "int32", "description": "Current number of instances assigned to the resource.", @@ -2371,17 +2388,8 @@ "type": "string" }, "computeMode": { - "description": "Shared/dedicated workers.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } + "$ref": "#/definitions/ComputeModeOptions", + "description": "Shared or dedicated app hosting." }, "workerSize": { "description": "Size of the machines.", @@ -2742,17 +2750,8 @@ "type": "integer" }, "computeMode": { - "description": "Shared or dedicated app hosting.", - "enum": [ - "Shared", - "Dedicated", - "Dynamic" - ], - "type": "string", - "x-ms-enum": { - "name": "ComputeModeOptions", - "modelAsString": false - } + "$ref": "#/definitions/ComputeModeOptions", + "description": "Shared or dedicated app hosting." }, "workerSize": { "description": "VM size of the worker pool instances.", @@ -2792,4 +2791,4 @@ ] } ] -} \ No newline at end of file +}