You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the URL, you need to specify the following information for the solution you want to delete:
119
-
120
-
-`subscriptionId`
121
-
-`resourceGroupName`
122
-
-`resourceProviderNamespace`
123
-
-`parentResourcePath`
124
-
-`resourceType`
125
-
-`resourceName`
126
-
127
118
### [CLI](#tab/cli)
128
119
129
-
To remove solutions, run the [az resource delete](cli/azure/resource#az-resource-delete) command. You need to specify the name of the resource, resource type, and resource group for the solution you want to delete:
120
+
To remove solutions, run the [az resource delete](/cli/azure/resource#az-resource-delete) command. You need to specify the name of the resource, resource type, and resource group for the solution you want to delete:
130
121
131
122
```azurecli
132
123
az resource delete --name <resource-name> --resource-type <resource-type> --resource-group <resource-group-name>
Run the [az monitor scheduled-query delete](/cli/azure/monitor/scheduled-query#az-monitor-scheduled-query-delete) command:
168
+
Delete the following alert rules by runing the [az monitor scheduled-query delete](/cli/azure/monitor/scheduled-query#az-monitor-scheduled-query-delete) command:
169
+
170
+
- AutoStop_VM_Child
171
+
- ScheduledStartStop_Parent
172
+
- SequencedStartStop_Parent
178
173
179
174
```azurecli
180
175
az monitor scheduled-query delete [--ids]
@@ -186,19 +181,19 @@ az monitor scheduled-query delete [--ids]
186
181
187
182
### [PowerShell](#tab/PowerShell)
188
183
189
-
Run the [Remove-AzScheduledQueryRule](/powershell/module/az.monitor/remove-azscheduledqueryrule) command.
184
+
Delete the following alert rules by running the [Remove-AzScheduledQueryRule](/powershell/module/az.monitor/remove-azscheduledqueryrule) command:
185
+
186
+
- AutoStop_VM_Child
187
+
- ScheduledStartStop_Parent
188
+
- SequencedStartStop_Parent
190
189
191
190
---
192
191
193
192
## Unlink the Automation account
194
193
195
194
### [Portal](#tab/azure-portal)
196
195
197
-
1. Open the **Automation accounts** menu and then select the account to remove.
198
-
1. On the **Related Resources** section of the menu, select **Linked workspace**.
199
-
1. Select **Unlink workspace** to unlink the workspace from your Automation account.
200
-
201
-
[](media/move-workspace/unlink-workspace.png#lightbox)
196
+
See [Delete a standalone Automation account linked to workspace](../../automation/delete-account.md#delete-a-standalone-automation-account-linked-to-workspace).
202
197
203
198
### [ REST API](#tab/rest-api)
204
199
@@ -238,19 +233,25 @@ Not supported.
238
233
239
234
### [ REST API](#tab/rest-api)
240
235
241
-
To move your workspace, use the [Resources - Move Resources API](/rest/api/resources/resources/move-resources).
236
+
To move your workspace, call the [Resources - Move Resources API](/rest/api/resources/resources/move-resources).
242
237
243
238
```http
244
239
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources?api-version=2021-04-01
245
240
```
246
241
247
242
### [CLI](#tab/cli)
248
243
249
-
To move your workspace, use the [az resource move](/cli/azure/resource#az-resource-move) command
244
+
To move your workspace, run the [az resource move](/cli/azure/resource#az-resource-move) command:
245
+
246
+
```azurecli
247
+
az resource move --destination-group
248
+
--ids
249
+
[--destination-subscription-id]
250
+
```
250
251
251
252
### [PowerShell](#tab/PowerShell)
252
253
253
-
To move your workspace, use the [Move-AzResource](/powershell/module/AzureRM.Resources/Move-AzureRmResource) cmdlet as shown in the following example:
254
+
To move your workspace, run the [Move-AzResource](/powershell/module/AzureRM.Resources/Move-AzureRmResource) cmdlet as shown in the following example:
0 commit comments