Share via


ResourceMetadata Class

Definition

Recommendation resource metadata

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

Constructors

ResourceMetadata()

Creates an new ResourceMetadata instance.

Properties

Action

The action to view resource.

Plural

The plural user friendly name of resource type. eg: virtual machines

ResourceId

Azure resource Id of the assessed resource

Singular

The singular user friendly name of resource type. eg: virtual machine

Source

Source from which recommendation is generated

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceMetadata.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceMetadata.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceMetadata into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to