Share via


VMInfo Class

Definition

Details of VM Resource having NewRelic OneAgent installed

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.VMInfoTypeConverter))]
public class VMInfo : Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IVMInfo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.VMInfoTypeConverter))>]
type VMInfo = class
    interface IVMInfo
    interface IJsonSerializable
Public Class VMInfo
Implements IVMInfo
Inheritance
VMInfo
Attributes
Implements

Constructors

VMInfo()

Creates an new VMInfo instance.

Properties

AgentStatus

Status of the NewRelic agent installed on the VM.

AgentVersion

Version of the NewRelic agent installed on the VM.

VMId

Azure VM resource ID

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VMInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VMInfo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IVMInfo.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VMInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to