@@ -159,6 +159,7 @@ DnsZone : ad35cna0mw
159
159
InstancePoolName :
160
160
MinimalTlsVersion :
161
161
BackupStorageRedundancy : Geo
162
+ CurrentBackupStorageRedundancy : Geo
162
163
MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_WestUS_MI_2
163
164
```
164
165
@@ -193,6 +194,7 @@ DnsZone : ad35cna0mw
193
194
InstancePoolName :
194
195
MinimalTlsVersion :
195
196
BackupStorageRedundancy : Geo
197
+ CurrentBackupStorageRedundancy : Geo
196
198
MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
197
199
```
198
200
@@ -227,6 +229,7 @@ DnsZone : ad35cna0mw
227
229
InstancePoolName :
228
230
MinimalTlsVersion :
229
231
BackupStorageRedundancy : Geo
232
+ CurrentBackupStorageRedundancy : Geo
230
233
MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
231
234
```
232
235
@@ -261,12 +264,50 @@ DnsZone : ad35cna0mw
261
264
InstancePoolName :
262
265
MinimalTlsVersion :
263
266
BackupStorageRedundancy : Geo
267
+ CurrentBackupStorageRedundancy : Geo
264
268
MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
265
269
ZoneRedundant : true
266
270
```
267
271
268
272
This command moves managed instance to another subnet
269
273
274
+ ### Example 8: Update backup storage redundancy on existing instance
275
+ ``` powershell
276
+ Set-AzSqlInstance -Name "managediInstance1" -ResourceGroupName "Resourcegroup01" -BackupStorageRedundancy Local -Force
277
+ ```
278
+
279
+ ``` output
280
+ Location : westus
281
+ Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.Sql/managedInstances/managedInstance1
282
+ ResourceGroupName : resourcegroup01
283
+ ManagedInstanceName : managedInstance1
284
+ Tags :
285
+ Identity :
286
+ Sku : Microsoft.Azure.Management.Internal.Resources.Models.Sku
287
+ FullyQualifiedDomainName : managedInstance1.wusxxxxxxxxxxxxx.database.windows.net
288
+ AdministratorLogin : adminLogin1
289
+ AdministratorPassword :
290
+ SubnetId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourcegroup01/providers/Microsoft.Network/virtualNetworks/vnet_name/subnets/target_subnet_name
291
+ LicenseType : LicenseIncluded
292
+ VCores : 8
293
+ StorageSizeInGB : 256
294
+ Collation : SQL_Latin1_General_CP1_CI_AS
295
+ PublicDataEndpointEnabled : False
296
+ ProxyOverride :
297
+ TimezoneId : UTC
298
+ DnsZonePartner :
299
+ DnsZone : ad35cna0mw
300
+ InstancePoolName :
301
+ MinimalTlsVersion :
302
+ BackupStorageRedundancy : Geo
303
+ CurrentBackupStorageRedundancy : Geo
304
+ RequestedBackupStorageRedundancy : Local
305
+ MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
306
+ ZoneRedundant : False
307
+ ```
308
+
309
+ This command changes backups storage redundancy type for managed instance
310
+
270
311
## PARAMETERS
271
312
272
313
### -AdministratorPassword
0 commit comments