ArmComputeModelFactory.VirtualMachineInstanceView Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of VirtualMachineInstanceView.
public static Azure.ResourceManager.Compute.Models.VirtualMachineInstanceView VirtualMachineInstanceView (int? platformUpdateDomain = default, int? platformFaultDomain = default, string computerName = default, string osName = default, string osVersion = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default, string rdpThumbPrint = default, Azure.ResourceManager.Compute.Models.VirtualMachineAgentInstanceView vmAgent = default, Azure.ResourceManager.Compute.Models.MaintenanceRedeployStatus maintenanceRedeployStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.DiskInstanceView> disks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.VirtualMachineExtensionInstanceView> extensions = default, Azure.ResourceManager.Compute.Models.InstanceViewStatus vmHealthStatus = default, Azure.ResourceManager.Compute.Models.BootDiagnosticsInstanceView bootDiagnostics = default, string assignedHost = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default, Azure.ResourceManager.Compute.Models.VirtualMachinePatchStatus patchStatus = default, bool? isVmInStandbyPool = default);
static member VirtualMachineInstanceView : Nullable<int> * Nullable<int> * string * string * string * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> * string * Azure.ResourceManager.Compute.Models.VirtualMachineAgentInstanceView * Azure.ResourceManager.Compute.Models.MaintenanceRedeployStatus * seq<Azure.ResourceManager.Compute.Models.DiskInstanceView> * seq<Azure.ResourceManager.Compute.Models.VirtualMachineExtensionInstanceView> * Azure.ResourceManager.Compute.Models.InstanceViewStatus * Azure.ResourceManager.Compute.Models.BootDiagnosticsInstanceView * string * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> * Azure.ResourceManager.Compute.Models.VirtualMachinePatchStatus * Nullable<bool> -> Azure.ResourceManager.Compute.Models.VirtualMachineInstanceView
Public Shared Function VirtualMachineInstanceView (Optional platformUpdateDomain As Nullable(Of Integer) = Nothing, Optional platformFaultDomain As Nullable(Of Integer) = Nothing, Optional computerName As String = Nothing, Optional osName As String = Nothing, Optional osVersion As String = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing, Optional rdpThumbPrint As String = Nothing, Optional vmAgent As VirtualMachineAgentInstanceView = Nothing, Optional maintenanceRedeployStatus As MaintenanceRedeployStatus = Nothing, Optional disks As IEnumerable(Of DiskInstanceView) = Nothing, Optional extensions As IEnumerable(Of VirtualMachineExtensionInstanceView) = Nothing, Optional vmHealthStatus As InstanceViewStatus = Nothing, Optional bootDiagnostics As BootDiagnosticsInstanceView = Nothing, Optional assignedHost As String = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing, Optional patchStatus As VirtualMachinePatchStatus = Nothing, Optional isVmInStandbyPool As Nullable(Of Boolean) = Nothing) As VirtualMachineInstanceView
- computerName
- String
The computer name assigned to the virtual machine.
- osName
- String
The Operating System running on the virtual machine.
- osVersion
- String
The version of Operating System running on the virtual machine.
- hyperVGeneration
- Nullable<HyperVGeneration>
Specifies the HyperVGeneration Type associated with a resource.
- rdpThumbPrint
- String
The Remote desktop certificate thumbprint.
- vmAgent
- VirtualMachineAgentInstanceView
The VM Agent running on the virtual machine.
- maintenanceRedeployStatus
- MaintenanceRedeployStatus
The Maintenance Operation status on the virtual machine.
- disks
- IEnumerable<DiskInstanceView>
The virtual machine disk information.
- extensions
- IEnumerable<VirtualMachineExtensionInstanceView>
The extensions information.
- vmHealthStatus
- InstanceViewStatus
The health status for the VM.
- bootDiagnostics
- BootDiagnosticsInstanceView
Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- assignedHost
- String
Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. Minimum api-version: 2020-06-01.
- statuses
- IEnumerable<InstanceViewStatus>
The resource status information.
- patchStatus
- VirtualMachinePatchStatus
[Preview Feature] The status of virtual machine patch operations.
[Preview Feature] Specifies whether the VM is currently in or out of the Standby Pool.
A new VirtualMachineInstanceView instance for mocking.
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: