Skip to content

Commit cdbba9d

Browse files
committed
Remove DontShow attributes as they are not supported by PowerShell 3.0.
1 parent a9ee682 commit cdbba9d

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

src/ResourceManager/Sql/Commands.Sql/Failover Group/Cmdlet/NewAzureSqlFailoverGroup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class NewAzureSqlFailoverGroup : AzureSqlFailoverGroupCmdletBase
8585
/// <summary>
8686
/// Gets or sets the grace period with data loss for the Sql Azure Failover Group.
8787
/// </summary>
88-
[Parameter(Mandatory = false, DontShow = true,
88+
[Parameter(Mandatory = false,
8989
HelpMessage = "Interval before automatic failover is initiated if an outage occurs on the primary server and failover cannot be completed without data loss.")]
9090
[ValidateNotNullOrEmpty]
9191
[ValidateRange(0, int.MaxValue)]
@@ -96,7 +96,7 @@ public class NewAzureSqlFailoverGroup : AzureSqlFailoverGroupCmdletBase
9696
/// <summary>
9797
/// Gets or sets the failover policy for read only endpoint of the Sql Azure Failover Group.
9898
/// </summary>
99-
[Parameter(Mandatory = false, DontShow = true,
99+
[Parameter(Mandatory = false,
100100
HelpMessage = "Whether an outage on the secondary server should trigger automatic failover of the read-only endpoint. This feature is not yet supported.")]
101101
[ValidateNotNullOrEmpty]
102102
public AllowReadOnlyFailoverToPrimary AllowReadOnlyFailoverToPrimary { get; set; }

src/ResourceManager/Sql/Commands.Sql/Failover Group/Cmdlet/SetAzureSqlFailoverGroup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class SetAzureSqlFailoverGroup : AzureSqlFailoverGroupCmdletBase
7272
/// <summary>
7373
/// Gets or sets the grace period with data loss for the Sql Azure Failover Group.
7474
/// </summary>
75-
[Parameter(Mandatory = false, DontShow = true,
75+
[Parameter(Mandatory = false,
7676
HelpMessage = "Interval before automatic failover is initiated if an outage occurs on the primary server and failover cannot be completed without data loss.")]
7777
[ValidateNotNullOrEmpty]
7878
[ValidateRange(0, int.MaxValue)]
@@ -83,7 +83,7 @@ public class SetAzureSqlFailoverGroup : AzureSqlFailoverGroupCmdletBase
8383
/// <summary>
8484
/// Gets or sets the failover policy for read only endpoint of the Sql Azure Failover Group.
8585
/// </summary>
86-
[Parameter(Mandatory = false, DontShow = true,
86+
[Parameter(Mandatory = false,
8787
HelpMessage = "Whether outages on the secondary server should trigger automatic failover of the read-only endpoint. This feature is not yet supported.")]
8888
[ValidateNotNullOrEmpty]
8989
public AllowReadOnlyFailoverToPrimary AllowReadOnlyFailoverToPrimary { get; set; }

src/ResourceManager/Sql/Commands.Sql/help/New-AzureRmSqlDatabaseFailoverGroup.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,21 @@ This command creates a new Failover Group with failover policy 'Manual' for two
4444

4545
## PARAMETERS
4646

47+
### -AllowReadOnlyFailoverToPrimary
48+
Whether an outage on the secondary server should trigger automatic failover of the read-only endpoint. This feature is not yet supported.
49+
50+
```yaml
51+
Type: AllowReadOnlyFailoverToPrimary
52+
Parameter Sets: (All)
53+
Aliases:
54+
55+
Required: False
56+
Position: Named
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
4762
### -FailoverGroupName
4863
The name of the Azure SQL Database Failover Group to create.
4964

src/ResourceManager/Sql/Commands.Sql/help/Set-AzureRmSqlDatabaseFailoverGroup.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,21 @@ Sets a Failover Group's failover policy to 'Manual' by piping in the Failover Gr
4444

4545
## PARAMETERS
4646

47+
### -AllowReadOnlyFailoverToPrimary
48+
Whether outages on the secondary server should trigger automatic failover of the read-only endpoint. This feature is not yet supported.
49+
50+
```yaml
51+
Type: AllowReadOnlyFailoverToPrimary
52+
Parameter Sets: (All)
53+
Aliases:
54+
55+
Required: False
56+
Position: Named
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
4762
### -FailoverGroupName
4863
The name of the Azure SQL Database Failover Group.
4964

0 commit comments

Comments
 (0)