Condividi tramite


DeploymentStacksWhatIfPropertyChange Class

Definition

The predicted change to the resource property.

public class DeploymentStacksWhatIfPropertyChange : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.DeploymentStacks.Models.DeploymentStacksWhatIfPropertyChange>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.DeploymentStacks.Models.DeploymentStacksWhatIfPropertyChange>
type DeploymentStacksWhatIfPropertyChange = class
    interface IJsonModel<DeploymentStacksWhatIfPropertyChange>
    interface IPersistableModel<DeploymentStacksWhatIfPropertyChange>
Public Class DeploymentStacksWhatIfPropertyChange
Implements IJsonModel(Of DeploymentStacksWhatIfPropertyChange), IPersistableModel(Of DeploymentStacksWhatIfPropertyChange)
Inheritance
DeploymentStacksWhatIfPropertyChange
Implements

Properties

Name Description
After

The predicted value 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:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

Before

The predicted value 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:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

ChangeType

Type of change that will be made to the resource when the deployment is executed.

Children

Nested property changes.

Path

Type of change that will be made to the resource when the deployment is executed.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DeploymentStacksWhatIfPropertyChange>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<DeploymentStacksWhatIfPropertyChange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<DeploymentStacksWhatIfPropertyChange>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<DeploymentStacksWhatIfPropertyChange>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<DeploymentStacksWhatIfPropertyChange>.Write(ModelReaderWriterOptions)

Applies to