Udostępnij za pośrednictwem


WhatIfChange Constructors

Definition

Overloads

WhatIfChange()

Initializes a new instance of the WhatIfChange class.

WhatIfChange(String, ChangeType, Object, Object, IList<WhatIfPropertyChange>)

Initializes a new instance of the WhatIfChange class.

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>)

Initializes a new instance of the WhatIfChange class.

public WhatIfChange (string resourceId, Microsoft.Azure.Management.ResourceManager.Models.ChangeType changeType, object before = default, object after = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.WhatIfPropertyChange> delta = default);
new Microsoft.Azure.Management.ResourceManager.Models.WhatIfChange : string * Microsoft.Azure.Management.ResourceManager.Models.ChangeType * obj * obj * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.WhatIfPropertyChange> -> Microsoft.Azure.Management.ResourceManager.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

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'

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.

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.ResourceManager.Models.ChangeType changeType, string unsupportedReason = default, object before = default, object after = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.WhatIfPropertyChange> delta = default);
new Microsoft.Azure.Management.ResourceManager.Models.WhatIfChange : string * Microsoft.Azure.Management.ResourceManager.Models.ChangeType * string * obj * obj * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.WhatIfPropertyChange> -> Microsoft.Azure.Management.ResourceManager.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.

Applies to