From 073e3bcca67e8bb889804ee66f391e064fe91fa1 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Mon, 5 Oct 2020 11:10:21 -0400 Subject: [PATCH] fix query param in cli call to get endpoint --- sdk/textanalytics/azure-ai-textanalytics/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/textanalytics/azure-ai-textanalytics/README.md b/sdk/textanalytics/azure-ai-textanalytics/README.md index 1bc236994738..b9c641809ebe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/README.md +++ b/sdk/textanalytics/azure-ai-textanalytics/README.md @@ -83,7 +83,7 @@ or [Azure CLI][azure_cli_endpoint_lookup]: ```bash # Get the endpoint for the text analytics resource -az cognitiveservices account show --name "resource-name" --resource-group "resource-group-name" --query "endpoint" +az cognitiveservices account show --name "resource-name" --resource-group "resource-group-name" --query "properties.endpoint" ``` #### Get the API Key