diff --git a/101-azure-api-management-create/azuredeploy.json b/101-azure-api-management-create/azuredeploy.json index c51a6a60321e..e040b910e729 100644 --- a/101-azure-api-management-create/azuredeploy.json +++ b/101-azure-api-management-create/azuredeploy.json @@ -1,80 +1,63 @@ { "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", - "parameters": - { - "publisherEmail": - { + "parameters": { + "publisherEmail": { "type": "string", "minLength": 1, - "metadata": { - "description": "The email address of the owner of the service" - } - } - , - "publisherName": - { + "metadata": { + "description": "The email address of the owner of the service" + } + }, + "publisherName": { "type": "string", "minLength": 1, - "metadata": { - "description": "The name of the owner of the service" - } - } - , - "sku": - { + "metadata": { + "description": "The name of the owner of the service" + } + }, + "sku": { "type": "string", "allowedValues": [ - "Developer", - "Standard", - "Premium" + "Developer", + "Standard", + "Premium" ], "defaultValue": "Developer", - "metadata": { - "description": "The pricing tier of this API Management service" - } - } - , - "skuCount": - { + "metadata": { + "description": "The pricing tier of this API Management service" + } + }, + "skuCount": { "type": "string", "allowedValues": [ - "1", - "2" + "1", + "2" ], "defaultValue": "1", - "metadata": { - "description": "The instance size of this API Management service." - } + "metadata": { + "description": "The instance size of this API Management service." + } } - } - , - "variables": - { + }, + "variables": { "apiManagementServiceName": "[concat('apiservice', uniqueString(resourceGroup().id))]" - } - , + }, "resources": [ - { - "apiVersion": "2014-02-14", - "name": "[variables('apiManagementServiceName')]", - "type": "Microsoft.ApiManagement/service", - "location": "West US", - "tags": - { - } - , - "properties": { - "sku": - { + "apiVersion": "2017-03-01", + "name": "[variables('apiManagementServiceName')]", + "type": "Microsoft.ApiManagement/service", + "location": "West US", + "tags": {}, + "sku": { "name": "[parameters('sku')]", "capacity": "[parameters('skuCount')]" + }, + "properties": { + "publisherEmail": "[parameters('publisherEmail')]", + "publisherName": "[parameters('publisherName')]" } - , - "publisherEmail": "[parameters('publisherEmail')]", - "publisherName": "[parameters('publisherName')]" } - } ] }