Skip to content

Commit 844b962

Browse files
committed
updates-to-recovery-of-cognitive-resources
1 parent 3eb7748 commit 844b962

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

articles/cognitive-services/manage-resources.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,18 @@ Get-AzResource -ResourceId /subscriptions/{subscriptionId}/providers/Microsoft.C
7575
```azurecli-interactive
7676
az resource create --subscription {subscriptionID} -g {resourceGroup} -n {resourceName} --location {location} --namespace Microsoft.CognitiveServices --resource-type accounts --properties "{\"restore\": true}"
7777
```
78+
# [Using Azure Portal](#tab/azure-portal)
79+
80+
If you need to recover a deleted resource, navigate to the Azure portal and select your Cognitive Services subscription.
81+
Select "Manage deleted resources".
82+
83+
:::image type="content" source="media/recovery-of-deleted-resources.png" alt-text="sample":::
84+
85+
86+
Select the subscription in the dropdown list to locate the deleted resource you would like to recover.
87+
Select the deleted resource and click Recover.
88+
89+
:::image type="content" source="media/managing-deleted-resources.png" alt-text="sample":::
7890

7991
---
8092

@@ -111,9 +123,28 @@ Remove-AzResource -ResourceId /subscriptions/{subscriptionID}/providers/Microsof
111123
```azurecli-interactive
112124
az resource delete --ids /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroup}/deletedAccounts/{resourceName}
113125
```
126+
# [Using Azure Portal](#tab/azure-portal)
127+
128+
If you wish to purge a deleted resource, the steps are similar when recovering a deleted resource.
129+
130+
Navigate to the Azure portal and select your Cognitive Services subscription.
131+
Select "Manage deleted resources".
132+
133+
:::image type="content" source="media/recovery-of-deleted-resources.png" alt-text="sample":::
134+
135+
Select the subscription in the dropdown list to locate the deleted resource you would like to purge.
136+
Select the deleted resource and click Purge.
137+
Purging will permanently delete a Cognitive Services resource.
138+
139+
140+
:::image type="content" source="media/managing-deleted-resources.png" alt-text="sample":::
141+
142+
---
143+
144+
114145

115146
## See also
116147
* [Create a new resource using the Azure portal](cognitive-services-apis-create-account.md)
117148
* [Create a new resource using the Azure CLI](cognitive-services-apis-create-account-cli.md)
118149
* [Create a new resource using the client library](cognitive-services-apis-create-account-client-library.md)
119-
* [Create a new resource using an ARM template](create-account-resource-manager-template.md)
150+
* [Create a new resource using an ARM template](create-account-resource-manager-template.md)

0 commit comments

Comments
 (0)