From 78992281b20e73c4f62d21fb17f71eca60e6f183 Mon Sep 17 00:00:00 2001 From: Vitalii Uslystyi Date: Tue, 22 Jun 2021 11:25:28 +0300 Subject: [PATCH] gcp monitor - update azuredeploy file --- ...azuredeploy_GCP_MONITOR_API_FunctionApp.json | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Solutions/GoogleCloudPlatformMonitor/Data Connectors/azuredeploy_GCP_MONITOR_API_FunctionApp.json b/Solutions/GoogleCloudPlatformMonitor/Data Connectors/azuredeploy_GCP_MONITOR_API_FunctionApp.json index 9b768c64a2..13fe554b4a 100644 --- a/Solutions/GoogleCloudPlatformMonitor/Data Connectors/azuredeploy_GCP_MONITOR_API_FunctionApp.json +++ b/Solutions/GoogleCloudPlatformMonitor/Data Connectors/azuredeploy_GCP_MONITOR_API_FunctionApp.json @@ -4,7 +4,9 @@ "parameters": { "FunctionName": { "defaultValue": "GCPMONITOR", - "type": "string" + "type": "string", + "minLength": 1, + "maxLength": 11 }, "GoogleCloudPlatformProjectIdList": { "type": "string", @@ -172,19 +174,6 @@ } ] }, - { - "type": "Microsoft.Web/sites/hostNameBindings", - "apiVersion": "2018-11-01", - "name": "[concat(variables('FunctionName'), '/', variables('FunctionName'), '.azurewebsites.net')]", - "location": "[resourceGroup().location]", - "dependsOn": [ - "[resourceId('Microsoft.Web/sites', variables('FunctionName'))]" - ], - "properties": { - "siteName": "[variables('FunctionName')]", - "hostNameType": "Verified" - } - }, { "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "apiVersion": "2019-06-01",