Skip to content

Commit 4ecbe31

Browse files
committed
edit
1 parent 84e6e23 commit 4ecbe31

File tree

1 file changed

+31
-11
lines changed

1 file changed

+31
-11
lines changed

articles/reliability/migrate-sql-database.md

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,24 @@ To create a geo-replica of the database:
197197

198198
## Disable zone-redundancy
199199

200-
To disable zone-redundancy for a single database or an elastic pool, you can use the portal or ARM API.
200+
To disable zone-redundancy for a single database or an elastic pool, you can use the portal, ARM API, PowerShell, and CLI.
201201

202-
To disable zone-redundancy for Hyperscale service tier, you can reverse the steps documented in [Redeployment (Hyperscale)](#redeployment-hyperscale).
202+
### Disable zone-redundancy for a single database
203+
204+
# [Portal](#tab/portal)
205+
206+
# [PowerShell](#tab/powershell)
207+
208+
# [CLI](#tab/cli)
203209

204-
# [Elastic pool](#tab/pool)
205210

206-
**To disable zone-redundancy with Azure portal:**
211+
# [ARM](#tab/arm)
212+
213+
214+
215+
### Disable zone-redundancy for an elastic pool
216+
217+
# [Portal](#tab/portal)
207218

208219
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.
209220

@@ -213,24 +224,30 @@ To disable zone-redundancy for Hyperscale service tier, you can reverse the step
213224

214225
1. Select **Save**.
215226

216-
**To disable zone-redundancy with PowerShell:**
227+
# [PowerShell](#tab/powershell)
217228

218229
```powershell
219230
Set-AzSqlElasticpool -ResourceGroupName "RSETLEM-AzureSQLDB" -ServerName "rs-az-testserver1" -ElasticPoolName "testep10" -ZoneRedundant:$false
220231
```
221232

222-
**To disable zone-redundancy with Azure CLI:**
233+
# [CLI](#tab/cli)
223234

224235
```azurecli
225236
az sql elastic-pool update --resource-group "RSETLEM-AzureSQLDB" --server "rs-az-testserver1" --name "testep10" --zone-redundant false
226237
```
227238

228-
**To disable zone-redundancy with ARM,** see [Databases - Create Or Update in ARM](/rest/api/sql/elastic-pools/create-or-update?tabs=HTTP) and use the `properties.zoneRedundant` property.
239+
240+
# [ARM](#tab/arm)
241+
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+
229246

230247
# [Single database](#tab/single)
231248

232249

233-
**To disable zone-redundancy with Azure portal:**
250+
# [Portal](#tab/portal)
234251

235252
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.
236253

@@ -240,23 +257,26 @@ az sql elastic-pool update --resource-group "RSETLEM-AzureSQLDB" --server "rs-az
240257

241258
1. Select **Save**.
242259

243-
**To disable zone-redundancy with PowerShell:**
260+
# [PowerShell](#tab/powershell)
244261

245262
```powershell
246263
set-azsqlDatabase -ResourceGroupName "RSETLEM-AzureSQLDB" -DatabaseName "TestDB1" -ServerName "rs-az-testserver1" -ZoneRedundant:$false
247264
```
248265

249-
**To disable zone-redundancy with Azure CLI:**
266+
# [CLI](#tab/cli)
250267

251268
```azurecli
252269
az sql db update --resource-group "RSETLEM-AzureSQLDB" --server "rs-az-testserver1" --name "TestDB1" --zone-redundant false
253270
```
254271

255-
**To disable zone-redundancy with ARM,** 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.
272+
# [ARM](#tab/arm)
256273

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.
257275

258276
---
259277

278+
To disable zone-redundancy for Hyperscale service tier, you can reverse the steps documented in [Redeployment (Hyperscale)](#redeployment-hyperscale).
279+
260280

261281
## Next steps
262282

0 commit comments

Comments
 (0)