Skip to content

Commit 24363cd

Browse files
Merge pull request #225036 from HeidiSteen/heidist-rbac
[azure search] Updated links for create-service
2 parents b04accd + a32f418 commit 24363cd

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

articles/search/search-create-service-portal.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: HeidiSteen
88
ms.author: heidist
99
ms.service: cognitive-search
1010
ms.topic: conceptual
11-
ms.date: 10/13/2022
11+
ms.date: 01/25/2023
1212
---
1313

1414
# Create an Azure Cognitive Search service in the portal
@@ -17,7 +17,7 @@ ms.date: 10/13/2022
1717

1818
If you have an Azure subscription, including a [trial subscription](https://azure.microsoft.com/pricing/free-trial/?WT.mc_id=A261C142F), you can create a search service for free. Free services have limitations, but you can complete all of the quickstarts and most tutorials.
1919

20-
The easiest way to create search service is using the [Azure portal](https://portal.azure.com/), which is covered in this article. You can also use [Azure PowerShell](search-manage-powershell.md), [Azure CLI](/cli/azure/search), the [Management REST API](/rest/api/searchmanagement/), an [Azure Resource Manager service template](https://azure.microsoft.com/resources/templates/azure-search-create/), or a [Bicep file](search-get-started-bicep.md).
20+
The easiest way to create search service is using the [Azure portal](https://portal.azure.com/), which is covered in this article. You can also use [Azure PowerShell](search-manage-powershell.md#create-or-delete-a-service), [Azure CLI](search-manage-azure-cli.md#create-or-delete-a-service), the [Management REST API](search-manage-rest.md#create-or-update-a-service), an [Azure Resource Manager service template](search-get-started-arm.md), or a [Bicep file](search-get-started-bicep.md).
2121

2222
[![Animated GIF](./media/search-create-service-portal/AnimatedGif-AzureSearch-small.gif)](./media/search-create-service-portal/AnimatedGif-AzureSearch.gif#lightbox)
2323

@@ -26,18 +26,16 @@ The easiest way to create search service is using the [Azure portal](https://por
2626
The following service properties are fixed for the lifetime of the service. Because they're fixed, consider the usage implications as you fill in each property:
2727

2828
+ Service name becomes part of the URL endpoint ([review tips for helpful service names](#name-the-service)).
29-
+ [Tier](search-sku-tier.md) (Basic, Standard, and so forth) determines the underlying physical hardware and billing. Some features are tier-constrained.
29+
+ [Tier](search-sku-tier.md) (Free, Basic, Standard, and so forth) determines the underlying physical hardware and billing. Some features are tier-constrained.
3030
+ [Service region](#choose-a-region) can determine the availability of certain scenarios. If you need high availability or [AI enrichment](cognitive-search-concept-intro.md), you'll need to create the resource in a region that provides the feature.
3131

3232
## Subscribe (free or paid)
3333

34-
To try search for free, you have two options:
34+
To try search for free, [open a free Azure account](https://azure.microsoft.com/pricing/free-trial/?WT.mc_id=A261C142F) and then create your search service using the **Free** tier. Because the tier is fixed, it will never transition to become a billable tier.
3535

36-
+ [Open a free Azure account](https://azure.microsoft.com/pricing/free-trial/?WT.mc_id=A261C142F) and use free credits to try out paid Azure services. After credits are used up, keep the account and continue to use free Azure services, such as Websites. Your credit card is never charged unless you explicitly change your settings and ask to be charged.
36+
Alternatively, you can use free credits to try out paid Azure services, which means you can create your search service at **Basic** or above to get more capacity. Your credit card is never charged unless you explicitly change your settings and ask to be charged. Another approach is to [activate Azure credits in a Visual Studio subscription](https://azure.microsoft.com/pricing/member-offers/msdn-benefits-details/?WT.mc_id=A261C142F). A Visual Studio subscription gives you credits every month you can use for paid Azure services.
3737

38-
+ Alternatively, [activate Azure credits in a Visual Studio subscription](https://azure.microsoft.com/pricing/member-offers/msdn-benefits-details/?WT.mc_id=A261C142F). A Visual Studio subscription gives you credits every month you can use for paid Azure services.
39-
40-
Paid (or billable) search becomes effective when you choose a billable tier (Basic or above) when creating the resource.
38+
Paid (or billable) search occurs when you choose a billable tier (Basic or above) when creating the resource on a billable Azure subscription.
4139

4240
## Find the Azure Cognitive Search offering
4341

articles/search/search-manage-azure-cli.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: magottei
88
ms.service: cognitive-search
99
ms.devlang: azurecli
1010
ms.topic: how-to
11-
ms.date: 01/05/2023
11+
ms.date: 01/25/2023
1212
---
1313

1414
# Manage your Azure Cognitive Search service with the Azure CLI
@@ -151,6 +151,13 @@ Results should look similar to the following output:
151151
}
152152
```
153153

154+
[**az search service delete**](/cli/azure/search/service#az-search-service-delete-required-parameters) removes the service and its data.
155+
156+
```azurecli-interactive
157+
az search service delete --name <service-name> \
158+
--resource-group <search-service-resource-group-name> \
159+
```
160+
154161
### Create a service with IP rules
155162

156163
Depending on your security requirements, you may want to create a search service with an [IP firewall configured](service-configure-firewall.md). To do so, pass the Public IP (v4) addresses or CIDR ranges to the `ip-rules` argument as shown below. Rules should be separated by a comma (`,`) or semicolon (`;`).

articles/search/search-manage-powershell.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: heidist
99
ms.service: cognitive-search
1010
ms.devlang: powershell
1111
ms.topic: how-to
12-
ms.date: 06/08/2022
12+
ms.date: 01/25/2023
1313
ms.custom: devx-track-azurepowershell
1414
---
1515

@@ -193,9 +193,10 @@ ResourceId : /subscriptions/<alphanumeric-subscription-ID>/resourceGroups
193193
```azurepowershell-interactive
194194
New-AzSearchService -ResourceGroupName <resource-group-name> -Name <search-service-name> -Sku "Standard" -Location "West US" -PartitionCount 3 -ReplicaCount 3 -HostingMode Default
195195
```
196+
196197
Results should look similar to the following output.
197198

198-
```
199+
```azurepowershell
199200
ResourceGroupName : demo-westus
200201
Name : my-demo-searchapp
201202
Id : /subscriptions/<alphanumeric-subscription-ID>/demo-westus/providers/Microsoft.Search/searchServices/my-demo-searchapp
@@ -207,6 +208,21 @@ HostingMode : Default
207208
Tags
208209
```
209210

211+
[**Remove-AzSearchService**](/powershell/module/az.search/remove-azsearchservice) is used to delete a service and its data.
212+
213+
```azurepowershell-interactive
214+
Remove-AzSearchService -ResourceGroupName <resource-group-name> -Name <search-service-name>
215+
```
216+
217+
You'll be asked to confirm the action.
218+
219+
```azurepowershell
220+
Confirm
221+
Are you sure you want to remove Search Service 'pstestazuresearch01'?
222+
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y
223+
```
224+
225+
210226
### Create a service with IP rules
211227

212228
Depending on your security requirements, you may want to create a search service with an [IP firewall configured](service-configure-firewall.md). To do so, first define the IP Rules and then pass them to the `IPRuleList` parameter as shown below.

0 commit comments

Comments
 (0)