/// <summary>
 /// Initializes a new instance of the GalleryImageVersionStorageProfile
 /// class.
 /// </summary>
 /// <param name="dataDiskImages">A list of data disk images.</param>
 public GalleryImageVersionStorageProfile(GalleryArtifactVersionSource source = default(GalleryArtifactVersionSource), GalleryOSDiskImage osDiskImage = default(GalleryOSDiskImage), IList <GalleryDataDiskImage> dataDiskImages = default(IList <GalleryDataDiskImage>))
 {
     Source         = source;
     OsDiskImage    = osDiskImage;
     DataDiskImages = dataDiskImages;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the GalleryDiskImage class.
 /// </summary>
 /// <param name="sizeInGB">This property indicates the size of the VHD
 /// to be created.</param>
 /// <param name="hostCaching">The host caching of the disk. Valid
 /// values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values
 /// include: 'None', 'ReadOnly', 'ReadWrite'</param>
 public GalleryDiskImage(int?sizeInGB = default(int?), HostCaching?hostCaching = default(HostCaching?), GalleryArtifactVersionSource source = default(GalleryArtifactVersionSource))
 {
     SizeInGB    = sizeInGB;
     HostCaching = hostCaching;
     Source      = source;
     CustomInit();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the GalleryDataDiskImage class.
 /// </summary>
 /// <param name="lun">This property specifies the logical unit number
 /// of the data disk. This value is used to identify data disks within
 /// the Virtual Machine and therefore must be unique for each data disk
 /// attached to the Virtual Machine.</param>
 /// <param name="sizeInGB">This property indicates the size of the VHD
 /// to be created.</param>
 /// <param name="hostCaching">The host caching of the disk. Valid
 /// values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values
 /// include: 'None', 'ReadOnly', 'ReadWrite'</param>
 public GalleryDataDiskImage(int lun, int?sizeInGB = default(int?), HostCaching?hostCaching = default(HostCaching?), GalleryArtifactVersionSource source = default(GalleryArtifactVersionSource))
     : base(sizeInGB, hostCaching, source)
 {
     Lun = lun;
     CustomInit();
 }