WhatIfChange Class
- java.
lang. Object - com.
azure. resourcemanager. resources. deployments. models. WhatIfChange
- com.
Implements
public final class WhatIfChange
implements JsonSerializable<WhatIfChange>
Information about a single resource change predicted by What-If operation.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Binary |
after()
Get the after property: The predicted snapshot of the resource after the deployment is executed. |
|
Binary |
before()
Get the before property: The snapshot of the resource before the deployment is executed. |
|
Change |
changeType()
Get the change |
|
List<What |
delta()
Get the delta property: The predicted changes to resource properties. |
| String |
deploymentId()
Get the deployment |
|
Deployment |
extension()
Get the extension property: The extension the resource was deployed with. |
|
static
What |
fromJson(JsonReader jsonReader)
Reads an instance of What |
|
Binary |
identifiers()
Get the identifiers property: A subset of properties that uniquely identify a Bicep extensible resource because it lacks a resource id like an Azure resource has. |
| String |
resourceId()
Get the resource |
| String |
resourceType()
Get the resource |
| String |
symbolicName()
Get the symbolic |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unsupportedReason()
Get the unsupported |
Methods inherited from java.lang.Object
Method Details
after
public BinaryData after()
Get the after property: The predicted snapshot of the resource after the deployment is executed.
Returns:
before
public BinaryData before()
Get the before property: The snapshot of the resource before the deployment is executed.
Returns:
changeType
public ChangeType changeType()
Get the changeType property: Type of change that will be made to the resource when the deployment is executed.
Returns:
delta
public List<WhatIfPropertyChange> delta()
Get the delta property: The predicted changes to resource properties.
Returns:
deploymentId
public String deploymentId()
Get the deploymentId property: The resource id of the Deployment responsible for this change.
Returns:
extension
public DeploymentExtensionDefinition extension()
Get the extension property: The extension the resource was deployed with.
Returns:
fromJson
public static WhatIfChange fromJson(JsonReader jsonReader)
Reads an instance of WhatIfChange from the JsonReader.
Parameters:
Returns:
Throws:
identifiers
public BinaryData identifiers()
Get the identifiers property: A subset of properties that uniquely identify a Bicep extensible resource because it lacks a resource id like an Azure resource has.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The fully-qualified ARM resource ID for this change.
Returns:
resourceType
public String resourceType()
Get the resourceType property: The resource type of the resource.
Returns:
symbolicName
public String symbolicName()
Get the symbolicName property: The symbolic name of the resource responsible for this change.
Returns:
toJson
unsupportedReason
public String unsupportedReason()
Get the unsupportedReason property: The explanation about why the resource is unsupported by What-If.
Returns: