WhatIfOperationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.fluent.models.WhatIfOperationProperties

Implements

public final class WhatIfOperationProperties
implements JsonSerializable<WhatIfOperationProperties>

Deployment operation properties.

Method Summary

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

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

List<DeploymentDiagnosticsDefinition> diagnostics()

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

static WhatIfOperationProperties fromJson(JsonReader jsonReader)

Reads an instance of WhatIfOperationProperties from the JsonReader.

List<WhatIfChange> potentialChanges()

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

changes

public List<WhatIfChange> changes()

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

Returns:

the changes value.

diagnostics

public List<DeploymentDiagnosticsDefinition> diagnostics()

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

Returns:

the diagnostics value.

fromJson

public static WhatIfOperationProperties fromJson(JsonReader jsonReader)

Reads an instance of WhatIfOperationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WhatIfOperationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WhatIfOperationProperties.

potentialChanges

public List<WhatIfChange> potentialChanges()

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

Returns:

the potentialChanges value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to