WhatIfOperationResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. WhatIfOperationResultInner
- com.
Implements
public final class WhatIfOperationResultInner
implements JsonSerializable<WhatIfOperationResultInner>
Result of the What-If operation. Contains a list of predicted changes and a URL link to get to the next set of results.
Constructor | Description |
---|---|
What |
Creates an instance of What |
Modifier and Type | Method and Description |
---|---|
List<What |
changes()
Get the changes property: List of resource changes predicted by What-If operation. |
List<Deployment |
diagnostics()
Get the diagnostics property: List of resource diagnostics detected by What-If operation. |
Management |
error()
Get the error property: Error when What-If operation fails. |
static
What |
from Reads an instance of What |
List<What |
potential Get the potential |
String |
status()
Get the status property: Status of the What-If operation. |
Json |
to |
void |
validate()
Validates the instance. |
What |
with Set the changes property: List of resource changes predicted by What-If operation. |
What |
with Set the error property: Error when What-If operation fails. |
What |
with Set the potential |
What |
with Set the status property: Status of the What-If operation. |
Methods inherited from java.lang.Object
WhatIfOperationResultInner
public WhatIfOperationResultInner()
Creates an instance of WhatIfOperationResultInner class.
changes
public List
Get the changes property: List of resource changes predicted by What-If operation.
Returns:
diagnostics
public List
Get the diagnostics property: List of resource diagnostics detected by What-If operation.
Returns:
error
public ManagementError error()
Get the error property: Error when What-If operation fails.
Returns:
fromJson
public static WhatIfOperationResultInner fromJson(JsonReader jsonReader)
Reads an instance of WhatIfOperationResultInner from the JsonReader.
Parameters:
Returns:
Throws:
potentialChanges
public List
Get the potentialChanges property: List of resource changes predicted by What-If operation.
Returns:
status
public String status()
Get the status property: Status of the What-If operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withChanges
public WhatIfOperationResultInner withChanges(List
Set the changes property: List of resource changes predicted by What-If operation.
Parameters:
Returns:
withError
public WhatIfOperationResultInner withError(ManagementError error)
Set the error property: Error when What-If operation fails.
Parameters:
Returns:
withPotentialChanges
public WhatIfOperationResultInner withPotentialChanges(List
Set the potentialChanges property: List of resource changes predicted by What-If operation.
Parameters:
Returns:
withStatus
public WhatIfOperationResultInner withStatus(String status)
Set the status property: Status of the What-If operation.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: