Skip to content

Commit 8f72a2b

Browse files
author
Dragos Avadanei
committed
updating deprecation warning text to indicate the replacement of PurgeDisabled
1 parent 9d9ebba commit 8f72a2b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyAttributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ internal KeyAttributes(bool? enabled, DateTime? expires, DateTime? notBefore, st
6565

6666
public DateTime? Updated { get; private set; }
6767

68-
[Obsolete("This property is being deprecated and will be removed in a future release")]
68+
[Obsolete("The PurgeDisabled property is being deprecated and will be removed in a future release. Please use the RecoveryLevel property instead.")]
6969
public bool PurgeDisabled { get; private set; }
7070

7171
public string RecoveryLevel { get; private set; }

src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyIdentityItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ internal KeyIdentityItem(KeyBundle keyBundle)
6868

6969
public DateTime? Updated { get; private set; }
7070

71-
[Obsolete( "This property is being deprecated and will be removed in a future release" )]
71+
[Obsolete( "The PurgeDisabled property is being deprecated and will be removed in a future release. Please use the RecoveryLevel property instead." )]
7272
public bool PurgeDisabled { get; private set; }
7373

7474
public string RecoveryLevel { get; private set; }

src/ResourceManager/KeyVault/Commands.KeyVault/Models/SecretAttributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ internal SecretAttributes(bool? enabled, DateTime? expires, DateTime? notBefore,
6262

6363
public Hashtable Tags { get; set; }
6464

65-
[Obsolete( "This property is being deprecated and will be removed in a future release" )]
65+
[Obsolete( "The PurgeDisabled property is being deprecated and will be removed in a future release. Please use the RecoveryLevel property instead." )]
6666
public bool PurgeDisabled { get; private set; }
6767

6868
public string RecoveryLevel { get; private set; }

0 commit comments

Comments
 (0)