Skip to content

Commit b239cb0

Browse files
authored
Add alias for some properties to avoid breaking change for keyvault (#22424)
1 parent 63976ea commit b239cb0

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.KeyVault.Models
7+
{
8+
public partial class MhsmNetworkRuleSet
9+
{
10+
/// <summary>
11+
/// This is an alias to the IPRules property. This is for backward compatibility.
12+
/// This property will be deprecated in the future, please use IPRules instead.
13+
/// </summary>
14+
public System.Collections.Generic.IList<MhsmipRule> IpRules {get=>IPRules; set=>IPRules=value; }
15+
}
16+
}

src/KeyVault/KeyVault.Sdk/Customized/NetworkRuleSet.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,10 @@ partial void CustomInit()
2323
// default values for properties IpRules and VirtualNetworkRules are 'null'
2424
// and so no explicit customization is necessary.
2525
}
26+
/// <summary>
27+
/// This is an alias to the IPRules property. This is for backward compatibility.
28+
/// This property will be deprecated in the future, please use IPRules instead.
29+
/// </summary>
30+
public System.Collections.Generic.IList<IPRule> IpRules {get=>IPRules; set=>IPRules=value; }
2631
}
2732
}

0 commit comments

Comments
 (0)