ResourceChangeList Class

Definition

A list of changes associated with a resource over a specific time interval.

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

Properties

Name Description
Changes

The pageable value returned by the operation, i.e. a list of changes to the resource.

  • The list is ordered from the most recent changes to the least recent changes.
  • This list will be empty if there were no changes during the requested interval.
  • The `Before` snapshot timestamp value of the oldest change can be outside of the specified time interval.
SkipToken

Skip token that encodes the skip information while executing the current request

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" }.

Methods

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

Explicit Interface Implementations

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

Applies to