Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the ImageStorageProfile class.
 /// </summary>
 /// <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>
 /// <param name="zoneResilient">Specifies whether an image is zone
 /// resilient or not. Default is false. Zone resilient images can be
 /// created only in regions that provide Zone Redundant Storage
 /// (ZRS).</param>
 public ImageStorageProfile(ImageOSDisk osDisk = default(ImageOSDisk), IList <ImageDataDisk> dataDisks = default(IList <ImageDataDisk>), bool?zoneResilient = default(bool?))
 {
     OsDisk        = osDisk;
     DataDisks     = dataDisks;
     ZoneResilient = zoneResilient;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the ImageStorageProfile class.
 /// </summary>
 /// <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 ImageStorageProfile(ImageOSDisk osDisk, IList <ImageDataDisk> dataDisks = default(IList <ImageDataDisk>))
 {
     OsDisk    = osDisk;
     DataDisks = dataDisks;
     CustomInit();
 }