Skip to content

Commit

Permalink
update search
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhxiaofeng committed Jul 20, 2021
1 parent 65a3f99 commit 2b8536c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sdk/search/test-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {},
Expand Down Expand Up @@ -47,7 +54,7 @@
},
"ENDPOINT": {
"type": "string",
"value": "[concat('https://', parameters('baseName'), '.search.windows.net')]"
"value": "[concat('https://', parameters('baseName'), parameters('endpointSuffix'))]"
}
}
}

0 comments on commit 2b8536c

Please sign in to comment.