WhatIfChange Constructors
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.
Overloads
WhatIfChange() |
Initializes a new instance of the WhatIfChange class. |
WhatIfChange(String, ChangeType, Object, Object, IList<WhatIfPropertyChange>) | |
WhatIfChange(String, ChangeType, String, Object, Object, IList<WhatIfPropertyChange>) |
Initializes a new instance of the WhatIfChange class. |
WhatIfChange()
Initializes a new instance of the WhatIfChange class.
public WhatIfChange ();
Public Sub New ()
Applies to
WhatIfChange(String, ChangeType, Object, Object, IList<WhatIfPropertyChange>)
public WhatIfChange (string resourceId, Microsoft.Azure.Management.Resources.Models.ChangeType changeType, object before = default, object after = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.WhatIfPropertyChange> delta = default);
new Microsoft.Azure.Management.Resources.Models.WhatIfChange : string * Microsoft.Azure.Management.Resources.Models.ChangeType * obj * obj * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.WhatIfPropertyChange> -> Microsoft.Azure.Management.Resources.Models.WhatIfChange
Public Sub New (resourceId As String, changeType As ChangeType, Optional before As Object = Nothing, Optional after As Object = Nothing, Optional delta As IList(Of WhatIfPropertyChange) = Nothing)
Parameters
- resourceId
- String
- changeType
- ChangeType
- before
- Object
- after
- Object
- delta
- IList<WhatIfPropertyChange>
Applies to
WhatIfChange(String, ChangeType, String, Object, Object, IList<WhatIfPropertyChange>)
Initializes a new instance of the WhatIfChange class.
public WhatIfChange (string resourceId, Microsoft.Azure.Management.Resources.Models.ChangeType changeType, string unsupportedReason = default, object before = default, object after = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.WhatIfPropertyChange> delta = default);
new Microsoft.Azure.Management.Resources.Models.WhatIfChange : string * Microsoft.Azure.Management.Resources.Models.ChangeType * string * obj * obj * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.WhatIfPropertyChange> -> Microsoft.Azure.Management.Resources.Models.WhatIfChange
Public Sub New (resourceId As String, changeType As ChangeType, Optional unsupportedReason As String = Nothing, Optional before As Object = Nothing, Optional after As Object = Nothing, Optional delta As IList(Of WhatIfPropertyChange) = Nothing)
Parameters
- resourceId
- String
Resource ID
- changeType
- ChangeType
Type of change that will be made to the resource when the deployment is executed. Possible values include: 'Create', 'Delete', 'Ignore', 'Deploy', 'NoChange', 'Modify', 'Unsupported'
- unsupportedReason
- String
The explanation about why the resource is unsupported by What-If.
- before
- Object
The snapshot of the resource before the deployment is executed.
- after
- Object
The predicted snapshot of the resource after the deployment is executed.
- delta
- IList<WhatIfPropertyChange>
The predicted changes to resource properties.