ArmChangeAnalysisModelFactory.PropertyChange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PropertyChange.
public static Azure.ResourceManager.ChangeAnalysis.Models.PropertyChange PropertyChange (Azure.ResourceManager.ChangeAnalysis.Models.ChangeType? changeType = default, Azure.ResourceManager.ChangeAnalysis.Models.ChangeCategory? changeCategory = default, string jsonPath = default, string displayName = default, Azure.ResourceManager.ChangeAnalysis.Models.PropertyChangeLevel? level = default, string description = default, string oldValue = default, string newValue = default, bool? isDataMasked = default);
static member PropertyChange : Nullable<Azure.ResourceManager.ChangeAnalysis.Models.ChangeType> * Nullable<Azure.ResourceManager.ChangeAnalysis.Models.ChangeCategory> * string * string * Nullable<Azure.ResourceManager.ChangeAnalysis.Models.PropertyChangeLevel> * string * string * string * Nullable<bool> -> Azure.ResourceManager.ChangeAnalysis.Models.PropertyChange
Public Shared Function PropertyChange (Optional changeType As Nullable(Of ChangeType) = Nothing, Optional changeCategory As Nullable(Of ChangeCategory) = Nothing, Optional jsonPath As String = Nothing, Optional displayName As String = Nothing, Optional level As Nullable(Of PropertyChangeLevel) = Nothing, Optional description As String = Nothing, Optional oldValue As String = Nothing, Optional newValue As String = Nothing, Optional isDataMasked As Nullable(Of Boolean) = Nothing) As PropertyChange
Parameters
- changeType
- Nullable<ChangeType>
The type of the change.
- changeCategory
- Nullable<ChangeCategory>
The change category.
- jsonPath
- String
The json path of the changed property.
- displayName
- String
The enhanced display name of the json path. E.g., the json path value[0].properties will be translated to something meaningful like slots["Staging"].properties.
- level
- Nullable<PropertyChangeLevel>
- description
- String
The description of the changed property.
- oldValue
- String
The value of the property before the change.
- newValue
- String
The value of the property after the change.
The boolean indicating whether the oldValue and newValue are masked. The values are masked if it contains sensitive information that the user doesn't have access to.
Returns
A new PropertyChange instance for mocking.
Applies to
Azure SDK for .NET