Skip to content

Commit 93b235e

Browse files
committed
Fix old auditing commands deprecation message
Fix old auditing commands deprecation message.
1 parent a966d83 commit 93b235e

7 files changed

+7
-7
lines changed

src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlDatabaseAuditingPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet
2222
/// Returns the auditing policy of a specific database.
2323
/// </summary>
2424
[Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseAuditingPolicy", SupportsShouldProcess = true), OutputType(typeof (AuditingPolicyModel))]
25-
[Obsolete("Get-AzureRmSqlDatabaseAuditingPolicy is obsolete. It will be removed in a future release. Please use the Get-AzureSqlDatabaseAuditing cmdlet instead.", false)]
25+
[Obsolete("Note that Table auditing is deprecated and this command will be removed in a future release. Please use the 'Get-AzureRmSqlDatabaseAuditing' command to get Blob auditing settings.", false)]
2626
public class GetAzureSqlDatabaseAuditingPolicy : SqlDatabaseAuditingCmdletBase
2727
{
2828
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlServerAuditingPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet
2323
/// </summary>
2424
[Cmdlet(VerbsCommon.Get, "AzureRmSqlServerAuditingPolicy", SupportsShouldProcess = true), OutputType(typeof (AuditingPolicyModel))]
2525
[Alias("Get-AzureRmSqlDatabaseServerAuditingPolicy")]
26-
[Obsolete("Get-AzureRmSqlServerAuditingPolicy is obsolete. It will be removed in a future release. Please use the Get-AzureSqlServerAuditing cmdlet instead.", false)]
26+
[Obsolete("Note that Table auditing is deprecated and this command will be removed in a future release. Please use the 'Get-AzureRmSqlServerAuditing' command to get Blob auditing settings.", false)]
2727
public class GetAzureSqlServerAuditingPolicy : SqlDatabaseServerAuditingCmdletBase
2828
{
2929
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlDatabaseAuditing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet
2222
/// Disables auditing on a specific database.
2323
/// </summary>
2424
[Cmdlet(VerbsCommon.Remove, "AzureRmSqlDatabaseAuditing", SupportsShouldProcess = true), OutputType(typeof(AuditingPolicyModel))]
25-
[Obsolete("Remove-AzureRmSqlDatabaseAuditing is obsolete. It will be removed in a future release. Please use the Set-AzureSqlDatabaseAuditing cmdlet instead.", false)]
25+
[Obsolete("Note that Table auditing is deprecated and this command will be removed in a future release. Please use the 'Set-AzureRmSqlDatabaseAuditing' command to configure Blob auditing.", false)]
2626
public class RemoveSqlDatabaseAuditing : SqlDatabaseAuditingCmdletBase
2727
{
2828
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlServerAuditing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet
2323
/// </summary>
2424
[Cmdlet(VerbsCommon.Remove, "AzureRmSqlServerAuditing", SupportsShouldProcess = true), OutputType(typeof(AuditingPolicyModel))]
2525
[Alias("Remove-AzureRmSqlDatabaseServerAuditing")]
26-
[Obsolete("Remove-AzureRmSqlServerAuditing is obsolete. It will be removed in a future release. Please use the Set-AzureSqlServerAuditing cmdlet instead.", false)]
26+
[Obsolete("Note that Table auditing is deprecated and this command will be removed in a future release. Please use the 'Set-AzureRmSqlServerAuditing' command to configure Blob auditing.", false)]
2727
public class RemoveSqlServerAuditing : SqlDatabaseServerAuditingCmdletBase
2828
{
2929
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlDatabaseAuditingPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet
2525
/// Sets the auditing policy properties for a specific database.
2626
/// </summary>
2727
[Cmdlet(VerbsCommon.Set, "AzureRmSqlDatabaseAuditingPolicy", SupportsShouldProcess = true), OutputType(typeof(AuditingPolicyModel))]
28-
[Obsolete("Set-AzureRmSqlDatabaseAuditingPolicy is obsolete. It will be removed in a future release. Please use the Set-AzureSqlDatabaseAuditing cmdlet instead.", false)]
28+
[Obsolete("Note that Table auditing is deprecated and this command will be removed in a future release. Please use the 'Set-AzureRmSqlDatabaseAuditing' command to configure Blob auditing.", false)]
2929
public class SetAzureSqlDatabaseAuditingPolicy : SqlDatabaseAuditingCmdletBase
3030
{
3131
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlServerAuditingPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet
2626
/// </summary>
2727
[Cmdlet(VerbsCommon.Set, "AzureRmSqlServerAuditingPolicy", SupportsShouldProcess = true), OutputType(typeof(AuditingPolicyModel))]
2828
[Alias("Set-AzureRmSqlDatabaseServerAuditingPolicy")]
29-
[Obsolete("Set-AzureRmSqlServerAuditingPolicy is obsolete. It will be removed in a future release. Please use the Set-AzureSqlDatabaseAuditing cmdlet instead.", false)]
29+
[Obsolete("Note that Table auditing is deprecated and this command will be removed in a future release. Please use the 'Set-AzureRmSqlServerAuditing' command to configure Blob auditing.", false)]
3030
public class SetAzureSqlServerAuditingPolicy : SqlDatabaseServerAuditingCmdletBase
3131
{
3232
/// <summary>

src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/UseAzureSqlServerAuditingPolicy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet
2323
/// </summary>
2424
[Cmdlet(VerbsOther.Use, "AzureRmSqlServerAuditingPolicy"), OutputType(typeof(AuditingPolicyModel))]
2525
[Alias("Use-AzureRmSqlDatabaseServerAuditingPolicy")]
26-
[Obsolete("Use-AzureRmSqlServerAuditingPolicy is obsolete. It will be removed in a future release. Please use the Set-AzureSqlDatabaseAuditing cmdlet instead.", false)]
26+
[Obsolete("Note that Table auditing is deprecated and this command will be removed in a future release. Please use the 'Set-AzureRmSqlDatabaseAuditing' command to configure Blob auditing.", false)]
2727
public class UseAzureSqlServerAuditingPolicy : SqlDatabaseAuditingCmdletBase
2828
{
2929
/// <summary>

0 commit comments

Comments
 (0)