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.
public static Azure.ResourceManager.Resources.Deployments.Models.WhatIfOperationResult WhatIfOperationResult(string status = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Deployments.Models.WhatIfChange> changes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Deployments.Models.WhatIfChange> potentialChanges = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Deployments.Models.DeploymentDiagnosticsDefinition> diagnostics = default, Azure.ResponseError error = default);
static member WhatIfOperationResult : string * seq<Azure.ResourceManager.Resources.Deployments.Models.WhatIfChange> * seq<Azure.ResourceManager.Resources.Deployments.Models.WhatIfChange> * seq<Azure.ResourceManager.Resources.Deployments.Models.DeploymentDiagnosticsDefinition> * Azure.ResponseError -> Azure.ResourceManager.Resources.Deployments.Models.WhatIfOperationResult
Public Shared Function WhatIfOperationResult (Optional status As String = Nothing, Optional changes As IEnumerable(Of WhatIfChange) = Nothing, Optional potentialChanges As IEnumerable(Of WhatIfChange) = Nothing, Optional diagnostics As IEnumerable(Of DeploymentDiagnosticsDefinition) = Nothing, Optional error As ResponseError = Nothing) As WhatIfOperationResult
Parameters
- status
- String
Status of the What-If operation.
- changes
- IEnumerable<WhatIfChange>
List of resource changes predicted by What-If operation.
- potentialChanges
- IEnumerable<WhatIfChange>
List of resource changes predicted by What-If operation.
- diagnostics
- IEnumerable<DeploymentDiagnosticsDefinition>
List of resource diagnostics detected by What-If operation.
- error
- ResponseError
Error when What-If operation fails.
Returns
A new WhatIfOperationResult instance for mocking.