ArmComputeModelFactory.VirtualMachineScaleSetVmInstanceView Method
Definition
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 VirtualMachineScaleSetVmInstanceView.
public static Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmInstanceView VirtualMachineScaleSetVmInstanceView (int? platformUpdateDomain = default, int? platformFaultDomain = 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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default, Azure.Core.ResourceIdentifier assignedHost = default, string placementGroupId = default, string computerName = default, string osName = default, string osVersion = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default);
static member VirtualMachineScaleSetVmInstanceView : Nullable<int> * Nullable<int> * 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 * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> * Azure.Core.ResourceIdentifier * string * string * string * string * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> -> Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmInstanceView
Public Shared Function VirtualMachineScaleSetVmInstanceView (Optional platformUpdateDomain As Nullable(Of Integer) = Nothing, Optional platformFaultDomain As Nullable(Of Integer) = 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 statuses As IEnumerable(Of InstanceViewStatus) = Nothing, Optional assignedHost As ResourceIdentifier = Nothing, Optional placementGroupId As String = Nothing, Optional computerName As String = Nothing, Optional osName As String = Nothing, Optional osVersion As String = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing) As VirtualMachineScaleSetVmInstanceView
Parameters
- 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 disks 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.
- statuses
- IEnumerable<InstanceViewStatus>
The resource status information.
- assignedHost
- ResourceIdentifier
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.
- placementGroupId
- String
The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId.
- computerName
- String
Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> Max-length (Windows): 15 characters <br><br> Max-length (Linux): 64 characters. <br><br> For naming conventions and restrictions see Azure infrastructure services implementation guidelines.
- osName
- String
The Operating System running on the hybrid machine.
- osVersion
- String
The version of Operating System running on the hybrid machine.
- hyperVGeneration
- Nullable<HyperVGeneration>
The hypervisor generation of the Virtual Machine [V1, V2].
Returns
A new VirtualMachineScaleSetVmInstanceView instance for mocking.
Applies to
Azure SDK for .NET