@@ -17,7 +17,7 @@ Restores a SQL database.
17
17
```
18
18
Restore-AzSqlDatabase [-FromPointInTimeBackup] -PointInTime <DateTime> -ResourceId <String>
19
19
-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>]
21
21
[-ZoneRedundant] [-Tag <Hashtable>] [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>]
22
22
[-WhatIf] [-Confirm] [<CommonParameters>]
23
23
```
@@ -26,7 +26,7 @@ Restore-AzSqlDatabase [-FromPointInTimeBackup] -PointInTime <DateTime> -Resource
26
26
```
27
27
Restore-AzSqlDatabase [-FromPointInTimeBackup] -PointInTime <DateTime> -ResourceId <String>
28
28
-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>]
30
30
[-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
31
31
[<CommonParameters>]
32
32
```
@@ -36,15 +36,15 @@ Restore-AzSqlDatabase [-FromPointInTimeBackup] -PointInTime <DateTime> -Resource
36
36
Restore-AzSqlDatabase [-FromDeletedDatabaseBackup] [-PointInTime <DateTime>] -DeletionDate <DateTime>
37
37
-ResourceId <String> -ServerName <String> -TargetDatabaseName <String> [-Edition <String>]
38
38
[-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>
40
40
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
41
41
```
42
42
43
43
### FromDeletedDatabaseBackupWithVcore
44
44
```
45
45
Restore-AzSqlDatabase [-FromDeletedDatabaseBackup] [-PointInTime <DateTime>] -DeletionDate <DateTime>
46
46
-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>]
48
48
[-ZoneRedundant] [-Tag <Hashtable>] [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>]
49
49
[-WhatIf] [-Confirm] [<CommonParameters>]
50
50
```
@@ -53,15 +53,15 @@ Restore-AzSqlDatabase [-FromDeletedDatabaseBackup] [-PointInTime <DateTime>] -De
53
53
```
54
54
Restore-AzSqlDatabase [-FromGeoBackup] -ResourceId <String> -ServerName <String> -TargetDatabaseName <String>
55
55
[-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>]
57
57
[-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
58
58
[<CommonParameters>]
59
59
```
60
60
61
61
### FromGeoBackupWithVcore
62
62
```
63
63
Restore-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>]
65
65
[-BackupStorageRedundancy <String>] [-ZoneRedundant] [-Tag <Hashtable>] [-ResourceGroupName] <String>
66
66
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
67
67
```
@@ -70,7 +70,7 @@ Restore-AzSqlDatabase [-FromGeoBackup] -ResourceId <String> -ServerName <String>
70
70
```
71
71
Restore-AzSqlDatabase [-FromLongTermRetentionBackup] -ResourceId <String> -ServerName <String>
72
72
-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>]
74
74
[-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
75
75
[<CommonParameters>]
76
76
```
@@ -79,7 +79,7 @@ Restore-AzSqlDatabase [-FromLongTermRetentionBackup] -ResourceId <String> -Serve
79
79
```
80
80
Restore-AzSqlDatabase [-FromLongTermRetentionBackup] -ResourceId <String> -ServerName <String>
81
81
-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>]
83
83
[-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
84
84
[<CommonParameters>]
85
85
```
@@ -329,6 +329,21 @@ Default value: None
329
329
Accept pipeline input : False
330
330
Accept wildcard characters : False
331
331
` ` `
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
+ ` ` `
332
347
333
348
### -LicenseType
334
349
The license type for the Azure Sql database.
0 commit comments