/// <summary>
 /// Initializes a new instance of the VirtualMachineProductProperties
 /// class.
 /// </summary>
 /// <param name="version">Specifies product version.</param>
 /// <param name="osDiskImage">OS disk image used by product.</param>
 /// <param name="dataDiskImages">List of attached data disks.</param>
 public VirtualMachineProductProperties(string version = default(string), OsDiskImage osDiskImage = default(OsDiskImage), IList <DataDiskImage> dataDiskImages = default(IList <DataDiskImage>))
 {
     Version        = version;
     OsDiskImage    = osDiskImage;
     DataDiskImages = dataDiskImages;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the ExtendedProduct class.
 /// </summary>
 /// <param name="galleryPackageBlobSasUri">The URI to the .azpkg file
 /// that provides information required for showing product in the
 /// gallery.</param>
 /// <param name="productKind">Specifies the kind of the product
 /// (virtualMachine or virtualMachineExtension).</param>
 /// <param name="computeRole">Specifies kind of compute role included
 /// in the package. Possible values include: 'None', 'IaaS',
 /// 'PaaS'</param>
 /// <param name="isSystemExtension">Specifies if product is a Virtual
 /// Machine Extension.</param>
 /// <param name="uriProperty">The URI.</param>
 /// <param name="supportMultipleExtensions">Indicates if specified
 /// product supports multiple extensions.</param>
 /// <param name="version">Specifies product version.</param>
 /// <param name="vmOsType">Specifies operating system used by the
 /// product. Possible values include: 'None', 'Windows',
 /// 'Linux'</param>
 /// <param name="vmScaleSetEnabled">Indicates if virtual machine Scale
 /// Set is enabled in the specified product.</param>
 /// <param name="osDiskImage">OS disk image used by product.</param>
 /// <param name="dataDiskImages">List of attached data disks.</param>
 public ExtendedProduct(string galleryPackageBlobSasUri = default(string), string productKind = default(string), string computeRole = default(string), bool?isSystemExtension = default(bool?), string uriProperty = default(string), bool?supportMultipleExtensions = default(bool?), string version = default(string), string vmOsType = default(string), bool?vmScaleSetEnabled = default(bool?), OsDiskImage osDiskImage = default(OsDiskImage), IList <DataDiskImage> dataDiskImages = default(IList <DataDiskImage>))
 {
     GalleryPackageBlobSasUri = galleryPackageBlobSasUri;
     ProductKind               = productKind;
     ComputeRole               = computeRole;
     IsSystemExtension         = isSystemExtension;
     UriProperty               = uriProperty;
     SupportMultipleExtensions = supportMultipleExtensions;
     Version           = version;
     VmOsType          = vmOsType;
     VmScaleSetEnabled = vmScaleSetEnabled;
     OsDiskImage       = osDiskImage;
     DataDiskImages    = dataDiskImages;
     CustomInit();
 }