Skip to content

Commit d8198d9

Browse files
committed
edit
1 parent 4ecbe31 commit d8198d9

File tree

1 file changed

+16
-29
lines changed

1 file changed

+16
-29
lines changed

articles/reliability/migrate-sql-database.md

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -201,77 +201,64 @@ To disable zone-redundancy for a single database or an elastic pool, you can use
201201

202202
### Disable zone-redundancy for a single database
203203

204-
# [Portal](#tab/portal)
205-
206-
# [PowerShell](#tab/powershell)
207-
208-
# [CLI](#tab/cli)
209-
210-
211-
# [ARM](#tab/arm)
212-
213-
214-
215-
### Disable zone-redundancy for an elastic pool
216204

217205
# [Portal](#tab/portal)
218206

219-
1. Go to the [Azure portal](https://portal.azure.com) to find and select the elastic pool that you no longer want to be zone-redundant.
207+
1. Go to the [Azure portal](https://portal.azure.com) to find and select the database that you no longer want to be zone-redundant.
220208

221209
1. Select **Settings**, and then select **Configure**.
222210

223-
1. Select **No** for **Would you like to make this elastic pool zone redundant?**.
211+
1. Select **No** for **Would you like to make this database zone redundant?**
224212

225213
1. Select **Save**.
226214

227215
# [PowerShell](#tab/powershell)
228216

229217
```powershell
230-
Set-AzSqlElasticpool -ResourceGroupName "RSETLEM-AzureSQLDB" -ServerName "rs-az-testserver1" -ElasticPoolName "testep10" -ZoneRedundant:$false
218+
set-azsqlDatabase -ResourceGroupName "RSETLEM-AzureSQLDB" -DatabaseName "TestDB1" -ServerName "rs-az-testserver1" -ZoneRedundant:$false
231219
```
232220

233221
# [CLI](#tab/cli)
234222

235223
```azurecli
236-
az sql elastic-pool update --resource-group "RSETLEM-AzureSQLDB" --server "rs-az-testserver1" --name "testep10" --zone-redundant false
224+
az sql db update --resource-group "RSETLEM-AzureSQLDB" --server "rs-az-testserver1" --name "TestDB1" --zone-redundant false
237225
```
238226

239-
240227
# [ARM](#tab/arm)
241228

242-
See [Databases - Create Or Update in ARM](/rest/api/sql/elastic-pools/create-or-update?tabs=HTTP) and use the `properties.zoneRedundant` property.
243-
244-
245-
246-
247-
# [Single database](#tab/single)
248-
229+
See [Databases - Create Or Update in ARM](/rest/api/sql/2022-05-01-preview/databases/create-or-update?tabs=HTTP) and use the `properties.zoneRedundant` property.
230+
### Disable zone-redundancy for an elastic pool
249231

250232
# [Portal](#tab/portal)
251233

252-
1. Go to the [Azure portal](https://portal.azure.com) to find and select the database that you no longer want to be zone-redundant.
234+
1. Go to the [Azure portal](https://portal.azure.com) to find and select the elastic pool that you no longer want to be zone-redundant.
253235

254236
1. Select **Settings**, and then select **Configure**.
255237

256-
1. Select **No** for **Would you like to make this database zone redundant?**
238+
1. Select **No** for **Would you like to make this elastic pool zone redundant?**.
257239

258240
1. Select **Save**.
259241

260242
# [PowerShell](#tab/powershell)
261243

262244
```powershell
263-
set-azsqlDatabase -ResourceGroupName "RSETLEM-AzureSQLDB" -DatabaseName "TestDB1" -ServerName "rs-az-testserver1" -ZoneRedundant:$false
245+
Set-AzSqlElasticpool -ResourceGroupName "RSETLEM-AzureSQLDB" -ServerName "rs-az-testserver1" -ElasticPoolName "testep10" -ZoneRedundant:$false
264246
```
265247

266248
# [CLI](#tab/cli)
267249

268250
```azurecli
269-
az sql db update --resource-group "RSETLEM-AzureSQLDB" --server "rs-az-testserver1" --name "TestDB1" --zone-redundant false
251+
az sql elastic-pool update --resource-group "RSETLEM-AzureSQLDB" --server "rs-az-testserver1" --name "testep10" --zone-redundant false
270252
```
271253

254+
272255
# [ARM](#tab/arm)
273256

274-
See [Databases - Create Or Update in ARM](/rest/api/sql/2022-05-01-preview/databases/create-or-update?tabs=HTTP) and use the `properties.zoneRedundant` property.
257+
See [Databases - Create Or Update in ARM](/rest/api/sql/elastic-pools/create-or-update?tabs=HTTP) and use the `properties.zoneRedundant` property.
258+
259+
260+
261+
275262

276263
---
277264

0 commit comments

Comments
 (0)