Przeczytaj w języku angielskim

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

Applies to

Azure SDK for .NET Legacy
Produkt Wersje
Azure SDK for .NET Legacy

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

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

Azure SDK for .NET Legacy
Produkt Wersje
Azure SDK for .NET Legacy

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

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

Azure SDK for .NET Legacy
Produkt Wersje
Azure SDK for .NET Legacy