@@ -159,6 +159,7 @@ DnsZone : ad35cna0mw
159159InstancePoolName :
160160MinimalTlsVersion :
161161BackupStorageRedundancy : Geo
162+ CurrentBackupStorageRedundancy : Geo
162163MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_WestUS_MI_2
163164```
164165
@@ -193,6 +194,7 @@ DnsZone : ad35cna0mw
193194InstancePoolName :
194195MinimalTlsVersion :
195196BackupStorageRedundancy : Geo
197+ CurrentBackupStorageRedundancy : Geo
196198MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
197199```
198200
@@ -227,6 +229,7 @@ DnsZone : ad35cna0mw
227229InstancePoolName :
228230MinimalTlsVersion :
229231BackupStorageRedundancy : Geo
232+ CurrentBackupStorageRedundancy : Geo
230233MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
231234```
232235
@@ -261,12 +264,50 @@ DnsZone : ad35cna0mw
261264InstancePoolName :
262265MinimalTlsVersion :
263266BackupStorageRedundancy : Geo
267+ CurrentBackupStorageRedundancy : Geo
264268MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
265269ZoneRedundant : true
266270```
267271
268272This command moves managed instance to another subnet
269273
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+
270311## PARAMETERS
271312
272313### -AdministratorPassword
0 commit comments