Example #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineScaleSetVMInstanceViewInner class.
 /// </summary>
 /// <param name="platformUpdateDomain">The Update Domain count.</param>
 /// <param name="platformFaultDomain">The Fault Domain count.</param>
 /// <param name="rdpThumbPrint">The Remote desktop certificate
 /// thumbprint.</param>
 /// <param name="vmAgent">The VM Agent running on the virtual
 /// machine.</param>
 /// <param name="disks">The disks information.</param>
 /// <param name="extensions">The extensions information.</param>
 /// <param name="vmHealth">The health status for the VM.</param>
 /// <param name="bootDiagnostics">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; For Linux Virtual
 /// Machines, you can easily view the output of your console log.
 /// &lt;br&gt;&lt;br&gt; For both Windows and Linux virtual machines,
 /// Azure also enables you to see a screenshot of the VM from the
 /// hypervisor.</param>
 /// <param name="statuses">The resource status information.</param>
 /// <param name="placementGroupId">The placement group in which the VM
 /// is running. If the VM is deallocated it will not have a
 /// placementGroupId.</param>
 public VirtualMachineScaleSetVMInstanceViewInner(int?platformUpdateDomain = default(int?), int?platformFaultDomain = default(int?), string rdpThumbPrint = default(string), VirtualMachineAgentInstanceView vmAgent = default(VirtualMachineAgentInstanceView), IList <DiskInstanceView> disks = default(IList <DiskInstanceView>), IList <VirtualMachineExtensionInstanceView> extensions = default(IList <VirtualMachineExtensionInstanceView>), VirtualMachineHealthStatus vmHealth = default(VirtualMachineHealthStatus), BootDiagnosticsInstanceView bootDiagnostics = default(BootDiagnosticsInstanceView), IList <InstanceViewStatus> statuses = default(IList <InstanceViewStatus>), string placementGroupId = default(string))
 {
     PlatformUpdateDomain = platformUpdateDomain;
     PlatformFaultDomain  = platformFaultDomain;
     RdpThumbPrint        = rdpThumbPrint;
     VmAgent          = vmAgent;
     Disks            = disks;
     Extensions       = extensions;
     VmHealth         = vmHealth;
     BootDiagnostics  = bootDiagnostics;
     Statuses         = statuses;
     PlacementGroupId = placementGroupId;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the VirtualMachineInstanceView class.
 /// </summary>
 /// <param name="platformUpdateDomain">Specifies the update domain of
 /// the virtual machine.</param>
 /// <param name="platformFaultDomain">Specifies the fault domain of the
 /// virtual machine.</param>
 /// <param name="computerName">The computer name assigned to the
 /// virtual machine.</param>
 /// <param name="osName">The Operating System running on the virtual
 /// machine.</param>
 /// <param name="osVersion">The version of Operating System running on
 /// the virtual machine.</param>
 /// <param name="hyperVGeneration">Specifies the HyperVGeneration Type
 /// associated with a resource. Possible values include: 'V1',
 /// 'V2'</param>
 /// <param name="rdpThumbPrint">The Remote desktop certificate
 /// thumbprint.</param>
 /// <param name="vmAgent">The VM Agent running on the virtual
 /// machine.</param>
 /// <param name="maintenanceRedeployStatus">The Maintenance Operation
 /// status on the virtual machine.</param>
 /// <param name="disks">The virtual machine disk information.</param>
 /// <param name="extensions">The extensions information.</param>
 /// <param name="vmHealth">The health status for the VM.</param>
 /// <param name="bootDiagnostics">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.</param>
 /// <param name="assignedHost">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. &lt;br&gt;&lt;br&gt;Minimum
 /// api-version: 2020-06-01.</param>
 /// <param name="statuses">The resource status information.</param>
 /// <param name="patchStatus">The status of virtual machine patch
 /// operations.</param>
 public VirtualMachineInstanceView(int?platformUpdateDomain = default(int?), int?platformFaultDomain = default(int?), string computerName = default(string), string osName = default(string), string osVersion = default(string), HyperVGenerationType hyperVGeneration = default(HyperVGenerationType), string rdpThumbPrint = default(string), VirtualMachineAgentInstanceView vmAgent = default(VirtualMachineAgentInstanceView), MaintenanceRedeployStatus maintenanceRedeployStatus = default(MaintenanceRedeployStatus), IList <DiskInstanceView> disks = default(IList <DiskInstanceView>), IList <VirtualMachineExtensionInstanceView> extensions = default(IList <VirtualMachineExtensionInstanceView>), VirtualMachineHealthStatus vmHealth = default(VirtualMachineHealthStatus), BootDiagnosticsInstanceView bootDiagnostics = default(BootDiagnosticsInstanceView), string assignedHost = default(string), IList <InstanceViewStatus> statuses = default(IList <InstanceViewStatus>), VirtualMachinePatchStatus patchStatus = default(VirtualMachinePatchStatus))
 {
     PlatformUpdateDomain = platformUpdateDomain;
     PlatformFaultDomain  = platformFaultDomain;
     ComputerName         = computerName;
     OsName                    = osName;
     OsVersion                 = osVersion;
     HyperVGeneration          = hyperVGeneration;
     RdpThumbPrint             = rdpThumbPrint;
     VmAgent                   = vmAgent;
     MaintenanceRedeployStatus = maintenanceRedeployStatus;
     Disks           = disks;
     Extensions      = extensions;
     VmHealth        = vmHealth;
     BootDiagnostics = bootDiagnostics;
     AssignedHost    = assignedHost;
     Statuses        = statuses;
     PatchStatus     = patchStatus;
     CustomInit();
 }