Partager via


WhatIfOperationResult Constructors

Definition

Overloads

WhatIfOperationResult()

Initializes a new instance of the WhatIfOperationResult class.

WhatIfOperationResult(String, ErrorResponse, IList<WhatIfChange>)

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, ErrorResponse, IList<WhatIfChange>)

Initializes a new instance of the WhatIfOperationResult class.

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

Parameters

status
String

Status of the What-If operation.

error
ErrorResponse

Error when What-If operation fails.

changes
IList<WhatIfChange>

List of resource changes predicted by What-If operation.

Applies to