Show / Hide Table of Contents

    Class VirtualMachineInstanceView

    The instance view of a virtual machine.

    Inheritance
    Object
    VirtualMachineInstanceView
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class VirtualMachineInstanceView

    Constructors

    VirtualMachineInstanceView()

    Initializes a new instance of the VirtualMachineInstanceView class.

    Declaration
    public VirtualMachineInstanceView ();

    VirtualMachineInstanceView(Nullable<Int32>, Nullable<Int32>, String, String, String, String, String, VirtualMachineAgentInstanceView, MaintenanceRedeployStatus, IList<DiskInstanceView>, IList<VirtualMachineExtensionInstanceView>, BootDiagnosticsInstanceView, IList<InstanceViewStatus>)

    Initializes a new instance of the VirtualMachineInstanceView class.

    Declaration
    public VirtualMachineInstanceView (Nullable<int> platformUpdateDomain = null, Nullable<int> platformFaultDomain = null, string computerName = null, string osName = null, string osVersion = null, string hyperVGeneration = null, string rdpThumbPrint = null, Microsoft.Azure.Management.Compute.Models.VirtualMachineAgentInstanceView vmAgent = null, Microsoft.Azure.Management.Compute.Models.MaintenanceRedeployStatus maintenanceRedeployStatus = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DiskInstanceView> disks = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView> extensions = null, Microsoft.Azure.Management.Compute.Models.BootDiagnosticsInstanceView bootDiagnostics = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.InstanceViewStatus> statuses = null);
    Parameters
    Nullable<Int32> platformUpdateDomain

    Specifies the update domain of the virtual machine.

    Nullable<Int32> platformFaultDomain

    Specifies the fault domain of the virtual machine.

    String computerName

    The computer name assigned to the virtual machine.

    String osName

    The Operating System running on the virtual machine.

    String osVersion

    The version of Operating System running on the virtual machine.

    String hyperVGeneration

    Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', 'V2'

    String rdpThumbPrint

    The Remote desktop certificate thumbprint.

    VirtualMachineAgentInstanceView vmAgent

    The VM Agent running on the virtual machine.

    MaintenanceRedeployStatus maintenanceRedeployStatus

    The Maintenance Operation status on the virtual machine.

    IList<DiskInstanceView> disks

    The virtual machine disk information.

    IList<VirtualMachineExtensionInstanceView> extensions

    The extensions information.

    BootDiagnosticsInstanceView bootDiagnostics

    Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.

    IList<InstanceViewStatus> statuses

    The resource status information.

    Properties

    BootDiagnostics

    Gets or sets boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. &lt;br&gt;&lt;br&gt; You can easily view the output of your console log. &lt;br&gt;&lt;br&gt; Azure also enables you to see a screenshot of the VM from the hypervisor.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="bootDiagnostics")]
    public Microsoft.Azure.Management.Compute.Models.BootDiagnosticsInstanceView BootDiagnostics { get; set; }
    Property Value
    BootDiagnosticsInstanceView

    ComputerName

    Gets or sets the computer name assigned to the virtual machine.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="computerName")]
    public string ComputerName { get; set; }
    Property Value
    String

    Disks

    Gets or sets the virtual machine disk information.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="disks")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DiskInstanceView> Disks { get; set; }
    Property Value
    IList<DiskInstanceView>

    Extensions

    Gets or sets the extensions information.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="extensions")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView> Extensions { get; set; }
    Property Value
    IList<VirtualMachineExtensionInstanceView>

    HyperVGeneration

    Gets or sets specifies the HyperVGeneration Type associated with a resource. Possible values include: 'V1', 'V2'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="hyperVGeneration")]
    public string HyperVGeneration { get; set; }
    Property Value
    String

    MaintenanceRedeployStatus

    Gets or sets the Maintenance Operation status on the virtual machine.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="maintenanceRedeployStatus")]
    public Microsoft.Azure.Management.Compute.Models.MaintenanceRedeployStatus MaintenanceRedeployStatus { get; set; }
    Property Value
    MaintenanceRedeployStatus

    OsName

    Gets or sets the Operating System running on the virtual machine.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="osName")]
    public string OsName { get; set; }
    Property Value
    String

    OsVersion

    Gets or sets the version of Operating System running on the virtual machine.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="osVersion")]
    public string OsVersion { get; set; }
    Property Value
    String

    PlatformFaultDomain

    Gets or sets specifies the fault domain of the virtual machine.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="platformFaultDomain")]
    public Nullable<int> PlatformFaultDomain { get; set; }
    Property Value
    Nullable<Int32>

    PlatformUpdateDomain

    Gets or sets specifies the update domain of the virtual machine.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="platformUpdateDomain")]
    public Nullable<int> PlatformUpdateDomain { get; set; }
    Property Value
    Nullable<Int32>

    RdpThumbPrint

    Gets or sets the Remote desktop certificate thumbprint.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="rdpThumbPrint")]
    public string RdpThumbPrint { get; set; }
    Property Value
    String

    Statuses

    Gets or sets the resource status information.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="statuses")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.InstanceViewStatus> Statuses { get; set; }
    Property Value
    IList<InstanceViewStatus>

    VmAgent

    Gets or sets the VM Agent running on the virtual machine.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="vmAgent")]
    public Microsoft.Azure.Management.Compute.Models.VirtualMachineAgentInstanceView VmAgent { get; set; }
    Property Value
    VirtualMachineAgentInstanceView

    Back to top Azure SDK for Net