Language

IconDefinition Class

Definition

Visual icon definition of an entity

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IconDefinitionTypeConverter))]
public class IconDefinition : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IIconDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IconDefinitionTypeConverter))>]
type IconDefinition = class
    interface IIconDefinition
    interface IJsonSerializable
Public Class IconDefinition
Implements IIconDefinition
Inheritance
IconDefinition
Attributes
Implements

Constructors

Name Description
IconDefinition()

Creates an new IconDefinition instance.

Properties

Name Description
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

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IconDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IconDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IIconDefinition.

FromJsonString(String)

Creates a new instance of IconDefinition, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of IconDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to