ArmResourcesModelFactory.WhatIfOperationResult Method
Definition
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.
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.