Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineScaleSetUpdateStorageProfile class.
 /// </summary>
 /// <param name="imageReference">The image reference.</param>
 /// <param name="osDisk">The OS disk.</param>
 /// <param name="dataDisks">The data disks.</param>
 public VirtualMachineScaleSetUpdateStorageProfile(ImageReferenceInner imageReference = default(ImageReferenceInner), VirtualMachineScaleSetUpdateOSDisk osDisk = default(VirtualMachineScaleSetUpdateOSDisk), IList <VirtualMachineScaleSetDataDisk> dataDisks = default(IList <VirtualMachineScaleSetDataDisk>))
 {
     ImageReference = imageReference;
     OsDisk         = osDisk;
     DataDisks      = dataDisks;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the StorageProfile class.
 /// </summary>
 /// <param name="imageReference">Specifies information about the image
 /// to use. You can specify information about platform images,
 /// marketplace images, or virtual machine images. This element is
 /// required when you want to use a platform image, marketplace image,
 /// or virtual machine image, but is not used in other creation
 /// operations.</param>
 /// <param name="osDisk">Specifies information about the operating
 /// system disk used by the virtual machine. &lt;br&gt;&lt;br&gt; For
 /// more information about disks, see [About disks and VHDs for Azure
 /// virtual
 /// machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).</param>
 /// <param name="dataDisks">Specifies the parameters that are used to
 /// add a data disk to a virtual machine. &lt;br&gt;&lt;br&gt; For more
 /// information about disks, see [About disks and VHDs for Azure
 /// virtual
 /// machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).</param>
 public StorageProfile(ImageReferenceInner imageReference = default(ImageReferenceInner), OSDisk osDisk = default(OSDisk), IList <DataDisk> dataDisks = default(IList <DataDisk>))
 {
     ImageReference = imageReference;
     OsDisk         = osDisk;
     DataDisks      = dataDisks;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// UpgradeOperationHistoricalStatusInfoProperties class.
 /// </summary>
 /// <param name="runningStatus">Information about the overall status of
 /// the upgrade operation.</param>
 /// <param name="progress">Counts of the VM's in each state.</param>
 /// <param name="error">Error Details for this upgrade if there are
 /// any.</param>
 /// <param name="startedBy">Invoker of the Upgrade Operation. Possible
 /// values include: 'Unknown', 'User', 'Platform'</param>
 /// <param name="targetImageReference">Image Reference details</param>
 /// <param name="rollbackInfo">Information about OS rollback if
 /// performed</param>
 public UpgradeOperationHistoricalStatusInfoProperties(UpgradeOperationHistoryStatus runningStatus = default(UpgradeOperationHistoryStatus), RollingUpgradeProgressInfo progress = default(RollingUpgradeProgressInfo), ApiError error = default(ApiError), UpgradeOperationInvoker?startedBy = default(UpgradeOperationInvoker?), ImageReferenceInner targetImageReference = default(ImageReferenceInner), RollbackStatusInfo rollbackInfo = default(RollbackStatusInfo))
 {
     RunningStatus        = runningStatus;
     Progress             = progress;
     Error                = error;
     StartedBy            = startedBy;
     TargetImageReference = targetImageReference;
     RollbackInfo         = rollbackInfo;
     CustomInit();
 }