Partilhar via


AssetUpdatePayload Class

Definition

A request body used to update an asset.

public class AssetUpdatePayload : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Defender.Easm.AssetUpdatePayload>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Defender.Easm.AssetUpdatePayload>
type AssetUpdatePayload = class
    interface IJsonModel<AssetUpdatePayload>
    interface IPersistableModel<AssetUpdatePayload>
Public Class AssetUpdatePayload
Implements IJsonModel(Of AssetUpdatePayload), IPersistableModel(Of AssetUpdatePayload)
Inheritance
AssetUpdatePayload
Implements

Constructors

AssetUpdatePayload()

Initializes a new instance of AssetUpdatePayload.

Properties

ExternalId

A string which can be used to identify the asset in external systems.

Labels

Any Labels to update the asset with.

State

The state to update the asset to.

Transfers

A list of asset types to cascade the updates to.

Explicit Interface Implementations

IJsonModel<AssetUpdatePayload>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AssetUpdatePayload>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AssetUpdatePayload>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AssetUpdatePayload>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AssetUpdatePayload>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to