WhatIfOperationResult Interface

public interface WhatIfOperationResult

An immutable client-side representation of WhatIfOperationResult.

Method Summary

Modifier and Type Method and Description
abstract List<WhatIfChange> changes()

Gets the changes property: List of resource changes predicted by What-If operation.

abstract List<DeploymentDiagnosticsDefinition> diagnostics()

Gets the diagnostics property: List of resource diagnostics detected by What-If operation.

abstract ManagementError error()

Gets the error property: Error when What-If operation fails.

abstract WhatIfOperationResultInner innerModel()

Gets the inner com.azure.resourcemanager.resources.deployments.fluent.models.WhatIfOperationResultInner object.

abstract List<WhatIfChange> potentialChanges()

Gets the potentialChanges property: List of resource changes predicted by What-If operation.

abstract String status()

Gets the status property: Status of the What-If operation.

Method Details

changes

public abstract List<WhatIfChange> changes()

Gets the changes property: List of resource changes predicted by What-If operation.

Returns:

the changes value.

diagnostics

public abstract List<DeploymentDiagnosticsDefinition> diagnostics()

Gets the diagnostics property: List of resource diagnostics detected by What-If operation.

Returns:

the diagnostics value.

error

public abstract ManagementError error()

Gets the error property: Error when What-If operation fails.

Returns:

the error value.

innerModel

public abstract WhatIfOperationResultInner innerModel()

Gets the inner com.azure.resourcemanager.resources.deployments.fluent.models.WhatIfOperationResultInner object.

Returns:

the inner object.

potentialChanges

public abstract List<WhatIfChange> potentialChanges()

Gets the potentialChanges property: List of resource changes predicted by What-If operation.

Returns:

the potentialChanges value.

status

public abstract String status()

Gets the status property: Status of the What-If operation.

Returns:

the status value.

Applies to