Skip to content

Commit 2be0de5

Browse files
authored
Merge pull request #10387 from jaredmoo/removeAlias
Remove some deprecated SQL command aliases
2 parents e7721a7 + 17cc1ee commit 2be0de5

File tree

68 files changed

+232
-224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+232
-224
lines changed

src/Sql/Sql.Test/ScenarioTests/DatabaseBackupStretchTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function Test-ListStretchDatabaseRestorePoints
3333
-Edition Stretch -RequestedServiceObjectiveName DS100
3434

3535
# Get restore points from stretch database.
36-
$restorePoints = Get-AzSqlDatabaseRestorePoints -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $stretchdb.DatabaseName
36+
$restorePoints = Get-AzSqlDatabaseRestorePoint -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $stretchdb.DatabaseName
3737
Assert-Null $restorePoints # Since the stretch database has just been created, it should not have any discrete restore points.
3838
}
3939
finally

src/Sql/Sql.Test/ScenarioTests/DatabaseBackupTests.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ function Test-ListDatabaseRestorePoints
3737
-Edition Standard -RequestedServiceObjectiveName S0
3838

3939
# Get restore points from data warehouse database.
40-
$restorePoints = Get-AzSqlDatabaseRestorePoints -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName
40+
$restorePoints = Get-AzSqlDatabaseRestorePoint -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName
4141
Assert-Null $restorePoints # Since the data warehouse database has just been created, it should not have any discrete restore points.
4242

4343
# Get restore points from standard database through pipe.
44-
$restorePoints = $standarddb | Get-AzSqlDatabaseRestorePoints
44+
$restorePoints = $standarddb | Get-AzSqlDatabaseRestorePoint
4545
Assert-AreEqual $restorePoints.Count 1 # Standard databases should only have 1 continuous restore point.
4646
$restorePoint = $restorePoints[0]
4747
Assert-AreEqual $restorePoint.RestorePointType Continuous
@@ -369,7 +369,7 @@ function Test-NewDatabaseRestorePoint
369369
New-AzSqlDatabaseRestorePoint -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName -RestorePointLabel $label
370370

371371
# Get restore points from data warehouse database.
372-
$restorePoints = Get-AzSqlDatabaseRestorePoints -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName
372+
$restorePoints = Get-AzSqlDatabaseRestorePoint -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName
373373

374374
# We just created a restore point
375375
Assert-AreEqual $restorePoints.Count 1
@@ -405,7 +405,7 @@ function Test-RemoveDatabaseRestorePoint
405405
New-AzSqlDatabaseRestorePoint -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName -RestorePointLabel $label
406406

407407
# Get restore points from data warehouse database.
408-
$restorePoints = Get-AzSqlDatabaseRestorePoints -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName
408+
$restorePoints = Get-AzSqlDatabaseRestorePoint -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName
409409

410410
# We just created a restore point
411411
Assert-AreEqual $restorePoints.Count 1
@@ -418,7 +418,7 @@ function Test-RemoveDatabaseRestorePoint
418418

419419
Wait-Seconds 60
420420
# Get restore points from data warehouse database.
421-
$restorePoints = Get-AzSqlDatabaseRestorePoints -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName
421+
$restorePoints = Get-AzSqlDatabaseRestorePoint -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName
422422

423423
# We just created a restore point
424424
Assert-AreEqual $restorePoints.Count 0

src/Sql/Sql.Test/ScenarioTests/IndexRecommendationTests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
function Test-GetIndexRecommendations
2020
{
2121
# Get all recommended indexes for server
22-
$response = Get-AzSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus
22+
$response = Get-AzSqlDatabaseIndexRecommendation -ResourceGroup Group-6 -ServerName witest-eus
2323
ValidateResponse($response)
2424
Assert-AreEqual "Active" $response[0].State
2525

2626
# Get all recommended indexes for database
27-
$response = Get-AzSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus
27+
$response = Get-AzSqlDatabaseIndexRecommendation -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus
2828
ValidateResponse($response)
2929
Assert-AreEqual "Active" $response[0].State
3030

3131
# Get recommended indexes by name
32-
$response = Get-AzSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus -IndexRecommendationName nci_wi_Clusters_034590D0-0378-4AB9-96D5-C144B14F6A9B
32+
$response = Get-AzSqlDatabaseIndexRecommendation -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus -IndexRecommendationName nci_wi_Clusters_034590D0-0378-4AB9-96D5-C144B14F6A9B
3333
ValidateResponse($response)
3434
Assert-AreEqual "Active" $response[0].State
3535
}

src/Sql/Sql.Test/UnitTests/AzureSqlDatabaseBackupAttributeTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ public AzureSqlDatabaseBackupAttributeTests(ITestOutputHelper output)
3232

3333
[Fact]
3434
[Trait(Category.AcceptanceType, Category.CheckIn)]
35-
public void GetAzureSqlDatabaseRestorePointsAttributes()
35+
public void GetAzureSqlDatabaseRestorePointAttributes()
3636
{
37-
Type type = typeof(GetAzureSqlDatabaseRestorePoints);
37+
Type type = typeof(GetAzureSqlDatabaseRestorePoint);
3838
UnitTestHelper.CheckCmdletModifiesData(type, supportsShouldProcess: false);
3939
UnitTestHelper.CheckConfirmImpact(type, ConfirmImpact.None);
4040

src/Sql/Sql/Az.Sql.psd1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ AliasesToExport = 'Get-AzSqlDatabaseServerAuditingPolicy',
269269
'Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings',
270270
'Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings',
271271
'Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings',
272-
'Get-AzSqlDatabaseIndexRecommendations',
273-
'Get-AzSqlDatabaseRestorePoints',
274272
'Update-AzSqlInstanceVulnerabilityAssessmentSettings',
275273
'Get-AzSqlInstanceVulnerabilityAssessmentSettings',
276274
'Clear-AzSqlInstanceVulnerabilityAssessmentSettings',

src/Sql/Sql/ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
-->
2020
## Upcoming Release
2121
* Added support for restore of dropped databases on Managed Instances.
22+
* Removed deprecated aliases:
23+
* Get-AzSqlDatabaseIndexRecommendations (use Get-AzSqlDatabaseIndexRecommendation instead)
24+
* Get-AzSqlDatabaseRestorePoints (use Get-AzSqlDatabaseRestorePoint instead)
2225

2326
## Version 1.15.0
2427
* Add support for setting Active Directory Administrator on Managed Instance

src/Sql/Sql/Database Backup/Cmdlet/GetAzureSqlDatabaseRestorePoints.cs renamed to src/Sql/Sql/Database Backup/Cmdlet/GetAzureSqlDatabaseRestorePoint.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@
1919

2020
namespace Microsoft.Azure.Commands.Sql.Backup.Cmdlet
2121
{
22-
[GenericBreakingChange("Get-AzSqlDatabaseRestorePoints alias will be removed in an upcoming breaking change release", "2.0.0")]
2322
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SqlDatabaseRestorePoint", SupportsShouldProcess = true,ConfirmImpact = ConfirmImpact.None)]
2423
[OutputType(typeof(AzureSqlDatabaseRestorePointModel))]
25-
[Alias("Get-AzSqlDatabaseRestorePoints")]
26-
public class GetAzureSqlDatabaseRestorePoints : AzureSqlDatabaseRestorePointCmdletBase
24+
public class GetAzureSqlDatabaseRestorePoint : AzureSqlDatabaseRestorePointCmdletBase
2725
{
2826
/// <summary>
2927
/// Get the entities from the service

src/Sql/Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@
2626
namespace Microsoft.Azure.Commands.Sql.Cmdlet
2727
{
2828
/// <summary>
29-
/// Defines the Get-AzSqlDatabaseIndexRecommendations cmdlet
29+
/// Defines the Get-AzSqlDatabaseIndexRecommendation cmdlet
3030
/// </summary>
31-
[GenericBreakingChange("Get-AzSqlDatabaseIndexRecommendations alias will be removed in an upcoming breaking change release", "2.0.0")]
3231
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SqlDatabaseIndexRecommendation", ConfirmImpact = ConfirmImpact.None, SupportsShouldProcess = true)]
3332
[OutputType(typeof(IndexRecommendation))]
34-
[Alias("Get-AzSqlDatabaseIndexRecommendations")]
3533
public class GetAzureSqlDatabaseIndexRecommendations : AzureSqlCmdletBase<IEnumerable<IndexRecommendation>, AzureSqlDatabaseIndexRecommendationAdapter>
3634
{
3735
/// <summary>

src/Sql/Sql/help/Add-AzSqlInstanceKeyVaultKey.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ Adds a key vault key to the provided Managed Instance.
1212

1313
## SYNTAX
1414

15-
### AddAzureRmSqlInstanceKeyVaultKeyDefaultParameterSet (Default)
15+
### AddAzureRmSqlManagedInstanceKeyVaultKeyDefaultParameterSet (Default)
1616
```
1717
Add-AzSqlInstanceKeyVaultKey [-ResourceGroupName] <String> [-InstanceName] <String> [-KeyId] <String>
1818
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
1919
```
2020

21-
### AddAzureRmSqlInstanceKeyVaultKeyInputObjectParameterSet
21+
### AddAzureRmSqlManagedInstanceKeyVaultKeyInputObjectParameterSet
2222
```
2323
Add-AzSqlInstanceKeyVaultKey [-Instance] <AzureSqlManagedInstanceModel> [-KeyId] <String>
2424
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2525
```
2626

27-
### AddAzureRmSqlInstanceKeyVaultKeyResourceIdParameterSet
27+
### AddAzureRmSqlManagedInstanceKeyVaultKeyResourceIdParameterSet
2828
```
2929
Add-AzSqlInstanceKeyVaultKey [-InstanceResourceId] <String> [-KeyId] <String>
3030
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]

src/Sql/Sql/help/Az.Sql.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ Gets one or more Advisors for an Azure SQL Database.
9999
Gets the auditing settings of an Azure SQL database.
100100

101101
### [Get-AzSqlDatabaseAuditing](Get-AzSqlDatabaseAuditing.md)
102+
**Important: This cmdlet is deprecated, [Get-AzSqlDatbaseAudit](https://docs.microsoft.com/en-us/powershell/module/az.sql/get-azsqldatabaseaudit) is replacing it.**
103+
102104
Gets the auditing settings of an Azure SQL database.
103105

104106
### [Get-AzSqlDatabaseBackupLongTermRetentionPolicy](Get-AzSqlDatabaseBackupLongTermRetentionPolicy.md)
@@ -292,6 +294,8 @@ Gets one or more Advisors for an Azure SQL Server.
292294
Gets the auditing settings of an Azure SQL server.
293295

294296
### [Get-AzSqlServerAuditing](Get-AzSqlServerAuditing.md)
297+
**Important: This cmdlet is deprecated, [Get-AzSqlServerAudit](https://docs.microsoft.com/en-us/powershell/module/az.sql/get-azsqlserveraudit) is replacing it.**
298+
295299
Gets the auditing settings of an Azure SQL server.
296300

297301
### [Get-AzSqlServerCommunicationLink](Get-AzSqlServerCommunicationLink.md)
@@ -565,6 +569,8 @@ Modifies auto execute status of an Azure SQL Database Advisor.
565569
Changes the auditing settings for an Azure SQL database.
566570

567571
### [Set-AzSqlDatabaseAuditing](Set-AzSqlDatabaseAuditing.md)
572+
**Important: This cmdlet is deprecated, [Set-AzSqlDatabaseAudit](https://docs.microsoft.com/en-us/powershell/module/az.sql/set-azsqldatabaseaudit) is replacing it.**
573+
568574
Changes the auditing settings for an Azure SQL database.
569575

570576
### [Set-AzSqlDatabaseBackupLongTermRetentionPolicy](Set-AzSqlDatabaseBackupLongTermRetentionPolicy.md)
@@ -658,6 +664,8 @@ Updates the auto execute status of an Azure SQL Server Advisor.
658664
Changes the auditing settings of an Azure SQL server.
659665

660666
### [Set-AzSqlServerAuditing](Set-AzSqlServerAuditing.md)
667+
**Important: This cmdlet is deprecated, [Set-AzSqlServerAudit](https://docs.microsoft.com/en-us/powershell/module/az.sql/set-azsqlserveraudit) is replacing it.**
668+
661669
Changes the auditing settings of an Azure SQL server.
662670

663671
### [Set-AzSqlServerDisasterRecoveryConfiguration](Set-AzSqlServerDisasterRecoveryConfiguration.md)

src/Sql/Sql/help/Clear-AzSqlDatabaseAdvancedThreatProtectionSettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Accept wildcard characters: False
141141
```
142142
143143
### CommonParameters
144-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
144+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
145145
146146
## INPUTS
147147

src/Sql/Sql/help/Clear-AzSqlServerAdvancedThreatProtectionSettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Accept wildcard characters: False
127127
```
128128
129129
### CommonParameters
130-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
130+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
131131
132132
## INPUTS
133133

src/Sql/Sql/help/Disable-AzSqlInstanceAdvancedDataSecurity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Accept wildcard characters: False
140140
```
141141
142142
### CommonParameters
143-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
143+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
144144
145145
## INPUTS
146146

src/Sql/Sql/help/Disable-AzSqlServerAdvancedDataSecurity.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ IsEnabled : False
5353
The credentials, account, tenant, and subscription used for communication with Azure.
5454

5555
```yaml
56-
Type: IAzureContextContainer
56+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
5757
Parameter Sets: (All)
5858
Aliases: AzContext, AzureRmContext, AzureCredential
5959

@@ -68,7 +68,7 @@ Accept wildcard characters: False
6868
The server object to use with Advanced Data Security policy operation
6969
7070
```yaml
71-
Type: AzureSqlServerModel
71+
Type: Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel
7272
Parameter Sets: (All)
7373
Aliases:
7474

@@ -83,7 +83,7 @@ Accept wildcard characters: False
8383
The name of the resource group.
8484
8585
```yaml
86-
Type: String
86+
Type: System.String
8787
Parameter Sets: (All)
8888
Aliases:
8989

@@ -98,7 +98,7 @@ Accept wildcard characters: False
9898
SQL Database server name.
9999
100100
```yaml
101-
Type: String
101+
Type: System.String
102102
Parameter Sets: (All)
103103
Aliases:
104104

@@ -113,7 +113,7 @@ Accept wildcard characters: False
113113
Prompts you for confirmation before running the cmdlet.
114114
115115
```yaml
116-
Type: SwitchParameter
116+
Type: System.Management.Automation.SwitchParameter
117117
Parameter Sets: (All)
118118
Aliases: cf
119119

@@ -129,7 +129,7 @@ Shows what would happen if the cmdlet runs.
129129
The cmdlet is not run.
130130
131131
```yaml
132-
Type: SwitchParameter
132+
Type: System.Management.Automation.SwitchParameter
133133
Parameter Sets: (All)
134134
Aliases: wi
135135

@@ -141,8 +141,7 @@ Accept wildcard characters: False
141141
```
142142
143143
### CommonParameters
144-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
145-
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
144+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
146145
147146
## INPUTS
148147

src/Sql/Sql/help/Disable-AzSqlServerAdvancedThreatProtection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ IsEnabled : False
4343
## PARAMETERS
4444

4545
### CommonParameters
46-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
46+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
4747

4848
## INPUTS
4949

src/Sql/Sql/help/Enable-AzSqlInstanceAdvancedDataSecurity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Accept wildcard characters: False
186186
```
187187
188188
### CommonParameters
189-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
189+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
190190
191191
## INPUTS
192192

src/Sql/Sql/help/Enable-AzSqlServerAdvancedDataSecurity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Accept wildcard characters: False
186186
```
187187
188188
### CommonParameters
189-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
189+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
190190
191191
## INPUTS
192192

src/Sql/Sql/help/Enable-AzSqlServerAdvancedThreatProtection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ IsEnabled : True
4343
## PARAMETERS
4444

4545
### CommonParameters
46-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
46+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
4747

4848
## INPUTS
4949

src/Sql/Sql/help/Get-AzSqlDatabase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Required: False
151151
Position: 2
152152
Default value: None
153153
Accept pipeline input: True (ByPropertyName)
154-
Accept wildcard characters: True
154+
Accept wildcard characters: False
155155
```
156156
157157
### -DefaultProfile

src/Sql/Sql/help/Get-AzSqlDatabaseAdvancedThreatProtectionSettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Accept wildcard characters: False
136136
```
137137
138138
### CommonParameters
139-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
139+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
140140
141141
## INPUTS
142142

src/Sql/Sql/help/Get-AzSqlDatabaseAdvisor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Required: False
211211
Position: Named
212212
Default value: None
213213
Accept pipeline input: True (ByPropertyName)
214-
Accept wildcard characters: True
214+
Accept wildcard characters: False
215215
```
216216
217217
### -DatabaseName

src/Sql/Sql/help/Get-AzSqlDatabaseExpanded.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Required: False
5252
Position: 2
5353
Default value: None
5454
Accept pipeline input: True (ByPropertyName)
55-
Accept wildcard characters: True
55+
Accept wildcard characters: False
5656
```
5757
5858
### -DefaultProfile

src/Sql/Sql/help/Get-AzSqlDatabaseFailoverGroup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Required: False
7373
Position: 2
7474
Default value: None
7575
Accept pipeline input: True (ByPropertyName)
76-
Accept wildcard characters: True
76+
Accept wildcard characters: False
7777
```
7878
7979
### -ResourceGroupName

src/Sql/Sql/help/Get-AzSqlDatabaseGeoBackup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Required: False
6161
Position: 2
6262
Default value: None
6363
Accept pipeline input: True (ByPropertyName)
64-
Accept wildcard characters: True
64+
Accept wildcard characters: False
6565
```
6666
6767
### -DefaultProfile

0 commit comments

Comments
 (0)