ArmResourcesModelFactory.WhatIfPropertyChange 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 WhatIfPropertyChange.
public static Azure.ResourceManager.Resources.Models.WhatIfPropertyChange WhatIfPropertyChange (string path = default, Azure.ResourceManager.Resources.Models.WhatIfPropertyChangeType propertyChangeType = Azure.ResourceManager.Resources.Models.WhatIfPropertyChangeType.Create, BinaryData before = default, BinaryData after = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WhatIfPropertyChange> children = default);
static member WhatIfPropertyChange : string * Azure.ResourceManager.Resources.Models.WhatIfPropertyChangeType * BinaryData * BinaryData * seq<Azure.ResourceManager.Resources.Models.WhatIfPropertyChange> -> Azure.ResourceManager.Resources.Models.WhatIfPropertyChange
Public Shared Function WhatIfPropertyChange (Optional path As String = Nothing, Optional propertyChangeType As WhatIfPropertyChangeType = Azure.ResourceManager.Resources.Models.WhatIfPropertyChangeType.Create, Optional before As BinaryData = Nothing, Optional after As BinaryData = Nothing, Optional children As IEnumerable(Of WhatIfPropertyChange) = Nothing) As WhatIfPropertyChange
Parameters
- path
- String
The path of the property.
- propertyChangeType
- WhatIfPropertyChangeType
The type of property change.
- before
- BinaryData
The value of the property before the deployment is executed.
- after
- BinaryData
The value of the property after the deployment is executed.
- children
- IEnumerable<WhatIfPropertyChange>
Nested property changes.
Returns
A new WhatIfPropertyChange instance for mocking.