Share via


ArmResourcesModelFactory.WhatIfOperationResult Method

Definition

Initializes a new instance of WhatIfOperationResult.

public static Azure.ResourceManager.Resources.Models.WhatIfOperationResult WhatIfOperationResult (string status = default, Azure.ResponseError error = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WhatIfChange> changes = default);
static member WhatIfOperationResult : string * Azure.ResponseError * seq<Azure.ResourceManager.Resources.Models.WhatIfChange> -> Azure.ResourceManager.Resources.Models.WhatIfOperationResult
Public Shared Function WhatIfOperationResult (Optional status As String = Nothing, Optional error As ResponseError = Nothing, Optional changes As IEnumerable(Of WhatIfChange) = Nothing) As WhatIfOperationResult

Parameters

status
String

Status of the What-If operation.

error
ResponseError

Error when What-If operation fails.

changes
IEnumerable<WhatIfChange>

List of resource changes predicted by What-If operation.

Returns

A new WhatIfOperationResult instance for mocking.

Applies to