Share via


WhatIfOperationResult Constructors

Definition

Overloads

WhatIfOperationResult()

Initializes a new instance of the WhatIfOperationResult class.

WhatIfOperationResult(String, IList<WhatIfChange>, ErrorResponse)

Initializes a new instance of the WhatIfOperationResult class.

WhatIfOperationResult()

Initializes a new instance of the WhatIfOperationResult class.

public WhatIfOperationResult ();
Public Sub New ()

Applies to

WhatIfOperationResult(String, IList<WhatIfChange>, ErrorResponse)

Initializes a new instance of the WhatIfOperationResult class.

public WhatIfOperationResult (string status = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.WhatIfChange> changes = default, Microsoft.Azure.Management.ResourceManager.Models.ErrorResponse error = default);
new Microsoft.Azure.Management.ResourceManager.Models.WhatIfOperationResult : string * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.WhatIfChange> * Microsoft.Azure.Management.ResourceManager.Models.ErrorResponse -> Microsoft.Azure.Management.ResourceManager.Models.WhatIfOperationResult
Public Sub New (Optional status As String = Nothing, Optional changes As IList(Of WhatIfChange) = Nothing, Optional error As ErrorResponse = Nothing)

Parameters

status
String

Status of the What-If operation.

changes
IList<WhatIfChange>

List of resource changes predicted by What-If operation.

error
ErrorResponse

Error when What-If operation fails.

Applies to