示例#1
0
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineScaleSetVMInstanceView 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="maintenanceRedeployStatus">The Maintenance Operation
 /// status 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 VirtualMachineScaleSetVMInstanceView(int?platformUpdateDomain = default(int?), int?platformFaultDomain = default(int?), 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), IList <InstanceViewStatus> statuses = default(IList <InstanceViewStatus>), string placementGroupId = default(string))
 {
     PlatformUpdateDomain = platformUpdateDomain;
     PlatformFaultDomain  = platformFaultDomain;
     RdpThumbPrint        = rdpThumbPrint;
     VmAgent = vmAgent;
     MaintenanceRedeployStatus = maintenanceRedeployStatus;
     Disks            = disks;
     Extensions       = extensions;
     VmHealth         = vmHealth;
     BootDiagnostics  = bootDiagnostics;
     Statuses         = statuses;
     PlacementGroupId = placementGroupId;
     CustomInit();
 }
示例#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="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="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>
 public VirtualMachineInstanceView(int?platformUpdateDomain = default(int?), int?platformFaultDomain = default(int?), string computerName = default(string), string osName = default(string), string osVersion = default(string), string rdpThumbPrint = default(string), VirtualMachineAgentInstanceView vmAgent = default(VirtualMachineAgentInstanceView), MaintenanceRedeployStatus maintenanceRedeployStatus = default(MaintenanceRedeployStatus), IList <DiskInstanceView> disks = default(IList <DiskInstanceView>), IList <VirtualMachineExtensionInstanceView> extensions = default(IList <VirtualMachineExtensionInstanceView>), BootDiagnosticsInstanceView bootDiagnostics = default(BootDiagnosticsInstanceView), IList <InstanceViewStatus> statuses = default(IList <InstanceViewStatus>))
 {
     PlatformUpdateDomain = platformUpdateDomain;
     PlatformFaultDomain  = platformFaultDomain;
     ComputerName         = computerName;
     OsName                    = osName;
     OsVersion                 = osVersion;
     RdpThumbPrint             = rdpThumbPrint;
     VmAgent                   = vmAgent;
     MaintenanceRedeployStatus = maintenanceRedeployStatus;
     Disks           = disks;
     Extensions      = extensions;
     BootDiagnostics = bootDiagnostics;
     Statuses        = statuses;
     CustomInit();
 }