@@ -17,7 +17,7 @@ Restores a SQL database.
1717```
1818Restore-AzSqlDatabase [-FromPointInTimeBackup] -PointInTime <DateTime> -ResourceId <String>
1919 -ServerName <String> -TargetDatabaseName <String> [-Edition <String>] [-ServiceObjectiveName <String>]
20- [-ElasticPoolName <String>] [-AsJob] [-LicenseType <String>] [-BackupStorageRedundancy <String>]
20+ [-ElasticPoolName <String>] [-AsJob] [-LicenseType <String>] [-HAReplicaCount <Int>] [- BackupStorageRedundancy <String>]
2121 [-ZoneRedundant] [-Tag <Hashtable>] [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>]
2222 [-WhatIf] [-Confirm] [<CommonParameters>]
2323```
@@ -26,7 +26,7 @@ Restore-AzSqlDatabase [-FromPointInTimeBackup] -PointInTime <DateTime> -Resource
2626```
2727Restore-AzSqlDatabase [-FromPointInTimeBackup] -PointInTime <DateTime> -ResourceId <String>
2828 -ServerName <String> -TargetDatabaseName <String> -Edition <String> [-AsJob] -ComputeGeneration <String>
29- -VCore <Int32> [-LicenseType <String>] [-BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>]
29+ -VCore <Int32> [-LicenseType <String>] [-HAReplicaCount <Int>] [- BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>]
3030 [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
3131 [<CommonParameters>]
3232```
@@ -36,15 +36,15 @@ Restore-AzSqlDatabase [-FromPointInTimeBackup] -PointInTime <DateTime> -Resource
3636Restore-AzSqlDatabase [-FromDeletedDatabaseBackup] [-PointInTime <DateTime>] -DeletionDate <DateTime>
3737 -ResourceId <String> -ServerName <String> -TargetDatabaseName <String> [-Edition <String>]
3838 [-ServiceObjectiveName <String>] [-ElasticPoolName <String>] [-AsJob] [-LicenseType <String>]
39- [-BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>] [-ResourceGroupName] <String>
39+ [-HAReplicaCount <Int>] [- BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>] [-ResourceGroupName] <String>
4040 [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
4141```
4242
4343### FromDeletedDatabaseBackupWithVcore
4444```
4545Restore-AzSqlDatabase [-FromDeletedDatabaseBackup] [-PointInTime <DateTime>] -DeletionDate <DateTime>
4646 -ResourceId <String> -ServerName <String> -TargetDatabaseName <String> -Edition <String> [-AsJob]
47- -ComputeGeneration <String> -VCore <Int32> [-LicenseType <String>] [-BackupStorageRedundancy <String>]
47+ -ComputeGeneration <String> -VCore <Int32> [-LicenseType <String>] [-HAReplicaCount <Int>] [- BackupStorageRedundancy <String>]
4848 [-ZoneRedundant] [-Tag <Hashtable>] [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>]
4949 [-WhatIf] [-Confirm] [<CommonParameters>]
5050```
@@ -53,15 +53,15 @@ Restore-AzSqlDatabase [-FromDeletedDatabaseBackup] [-PointInTime <DateTime>] -De
5353```
5454Restore-AzSqlDatabase [-FromGeoBackup] -ResourceId <String> -ServerName <String> -TargetDatabaseName <String>
5555 [-Edition <String>] [-ServiceObjectiveName <String>] [-ElasticPoolName <String>] [-AsJob]
56- [-LicenseType <String>] [-BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>]
56+ [-LicenseType <String>] [-HAReplicaCount <Int>] [- BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>]
5757 [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
5858 [<CommonParameters>]
5959```
6060
6161### FromGeoBackupWithVcore
6262```
6363Restore-AzSqlDatabase [-FromGeoBackup] -ResourceId <String> -ServerName <String> -TargetDatabaseName <String>
64- -Edition <String> [-AsJob] -ComputeGeneration <String> -VCore <Int32> [-LicenseType <String>]
64+ -Edition <String> [-AsJob] -ComputeGeneration <String> -VCore <Int32> [-LicenseType <String>] [-HAReplicaCount <Int>]
6565 [-BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>] [-ResourceGroupName] <String>
6666 [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
6767```
@@ -70,7 +70,7 @@ Restore-AzSqlDatabase [-FromGeoBackup] -ResourceId <String> -ServerName <String>
7070```
7171Restore-AzSqlDatabase [-FromLongTermRetentionBackup] -ResourceId <String> -ServerName <String>
7272 -TargetDatabaseName <String> [-Edition <String>] [-ServiceObjectiveName <String>] [-ElasticPoolName <String>]
73- [-AsJob] [-LicenseType <String>] [-BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>]
73+ [-AsJob] [-LicenseType <String>] [-HAReplicaCount <Int>] [- BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>]
7474 [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
7575 [<CommonParameters>]
7676```
@@ -79,7 +79,7 @@ Restore-AzSqlDatabase [-FromLongTermRetentionBackup] -ResourceId <String> -Serve
7979```
8080Restore-AzSqlDatabase [-FromLongTermRetentionBackup] -ResourceId <String> -ServerName <String>
8181 -TargetDatabaseName <String> -Edition <String> [-AsJob] -ComputeGeneration <String> -VCore <Int32>
82- [-LicenseType <String>] [-BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>]
82+ [-LicenseType <String>] [-HAReplicaCount <Int>] [- BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>]
8383 [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
8484 [<CommonParameters>]
8585```
@@ -329,6 +329,21 @@ Default value: None
329329Accept pipeline input : False
330330Accept wildcard characters : False
331331` ` `
332+ ### -HAReplicaCount
333+ The high availability replica count to associate with the Azure Sql Database.
334+
335+ ` ` ` yaml
336+ Type : System.Management.Automation.SwitchParameter
337+ Parameter Sets : (All)
338+ Aliases :
339+ Accepted values : 0, 1, 2
340+
341+ Required : False
342+ Position : Named
343+ Default value : None
344+ Accept pipeline input : False
345+ Accept wildcard characters : False
346+ ` ` `
332347
333348### -LicenseType
334349The license type for the Azure Sql database.
0 commit comments