From 2b8536c0e548cf7a865d57707bfe5eca91074981 Mon Sep 17 00:00:00 2001 From: zzhxiaofeng Date: Tue, 20 Jul 2021 11:22:37 +0800 Subject: [PATCH] update search --- sdk/search/test-resources.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sdk/search/test-resources.json b/sdk/search/test-resources.json index 4bf0f48bfb83..82ea24facf0c 100644 --- a/sdk/search/test-resources.json +++ b/sdk/search/test-resources.json @@ -15,6 +15,13 @@ "metadata": { "description": "SKU for search resource. The default is 'free'" } + }, + "endpointSuffix": { + "type": "string", + "defaultValue": ".search.windows.net", + "metadata": { + "description": "Endpoint suffix for sovereign clouds. The default uses the public Azure Cloud (.search.windows.net)" + } } }, "variables": {}, @@ -47,7 +54,7 @@ }, "ENDPOINT": { "type": "string", - "value": "[concat('https://', parameters('baseName'), '.search.windows.net')]" + "value": "[concat('https://', parameters('baseName'), parameters('endpointSuffix'))]" } } }