WhatIfChange Class
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.
Information about a single resource change predicted by What-If operation.
public class WhatIfChange : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.WhatIfChange>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.WhatIfChange>
public class WhatIfChange
type WhatIfChange = class
interface IJsonModel<WhatIfChange>
interface IPersistableModel<WhatIfChange>
type WhatIfChange = class
Public Class WhatIfChange
Implements IJsonModel(Of WhatIfChange), IPersistableModel(Of WhatIfChange)
Public Class WhatIfChange
- Inheritance
-
WhatIfChange
- Implements
Properties
After |
The predicted snapshot of the resource after the deployment is executed. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Before |
The snapshot of the resource before the deployment is executed. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
ChangeType |
Type of change that will be made to the resource when the deployment is executed. |
Delta |
The predicted changes to resource properties. |
DeploymentId |
The resource id of the Deployment responsible for this change. |
Identifiers |
A subset of properties that uniquely identify a Bicep extensible resource because it lacks a resource id like an Azure resource has. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
ResourceId |
Resource ID. |
SymbolicName |
The symbolic name of the resource responsible for this change. |
UnsupportedReason |
The explanation about why the resource is unsupported by What-If. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<WhatIfChange>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<WhatIfChange>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<WhatIfChange>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<WhatIfChange>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<WhatIfChange>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET