WhatIfChange Constructors
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.
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. |
Initializes a new instance of the WhatIfChange class.
public WhatIfChange ();
Public Sub New ()
Applies to
Azure SDK for .NET Legacy
Produkt | Wersje |
---|---|
Azure SDK for .NET | Legacy |
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
Azure SDK for .NET Legacy
Produkt | Wersje |
---|---|
Azure SDK for .NET | Legacy |
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
Azure SDK for .NET Legacy
Produkt | Wersje |
---|---|
Azure SDK for .NET | Legacy |
Opinia o produkcie Azure SDK for .NET
Azure SDK for .NET to projekt typu open source. Wybierz link, aby przekazać opinię: