Share via


MetadataEntity Class

Definition

The metadata entity contract.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.MetadataEntityTypeConverter))]
public class MetadataEntity : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IMetadataEntity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.MetadataEntityTypeConverter))>]
type MetadataEntity = class
    interface IMetadataEntity
    interface IJsonSerializable
Public Class MetadataEntity
Implements IMetadataEntity
Inheritance
MetadataEntity
Attributes
Implements

Constructors

MetadataEntity()

Creates an new MetadataEntity instance.

Properties

ApplicableScenario

The list of scenarios applicable to this metadata entity.

DependsOn

The list of keys on which this entity depends on.

DisplayName

The display name.

Id

The resource Id of the metadata entity.

Name

The name of the metadata entity.

ResourceGroupName

Gets the resource group name

SupportedValue

The list of supported values.

Type

The type of the metadata entity.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MetadataEntity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MetadataEntity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IMetadataEntity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MetadataEntity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to