Skip to content

Commit 5534e63

Browse files
edit help file to show bsr update (#18298)
1 parent 2a5ad3b commit 5534e63

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

src/Sql/Sql/help/Set-AzSqlInstance.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ DnsZone : ad35cna0mw
159159
InstancePoolName :
160160
MinimalTlsVersion :
161161
BackupStorageRedundancy : Geo
162+
CurrentBackupStorageRedundancy : Geo
162163
MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_WestUS_MI_2
163164
```
164165

@@ -193,6 +194,7 @@ DnsZone : ad35cna0mw
193194
InstancePoolName :
194195
MinimalTlsVersion :
195196
BackupStorageRedundancy : Geo
197+
CurrentBackupStorageRedundancy : Geo
196198
MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
197199
```
198200

@@ -227,6 +229,7 @@ DnsZone : ad35cna0mw
227229
InstancePoolName :
228230
MinimalTlsVersion :
229231
BackupStorageRedundancy : Geo
232+
CurrentBackupStorageRedundancy : Geo
230233
MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
231234
```
232235

@@ -261,12 +264,50 @@ DnsZone : ad35cna0mw
261264
InstancePoolName :
262265
MinimalTlsVersion :
263266
BackupStorageRedundancy : Geo
267+
CurrentBackupStorageRedundancy : Geo
264268
MaintenanceConfigurationId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
265269
ZoneRedundant : true
266270
```
267271

268272
This 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

Comments
 (0)