Share via


EntityIcon Class

Definition

Visual icon definition of an entity.

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

Constructors

EntityIcon(String)

Initializes a new instance of EntityIcon.

Properties

CustomData

Custom data. Base64-encoded SVG data. If set, this overrides the built-in icon.

IconName

Name of the built-in icon, or 'Custom' to use customData.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EntityIcon>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EntityIcon>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntityIcon>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EntityIcon>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EntityIcon>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to