Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the VirtualMachineConfiguration
 /// class.
 /// </summary>
 /// <param name="imageReference">A reference to the Azure Virtual
 /// Machines Marketplace Image or the custom Virtual Machine Image to
 /// use.</param>
 /// <param name="nodeAgentSkuId">The SKU of the Batch node agent to be
 /// provisioned on compute nodes in the pool.</param>
 /// <param name="windowsConfiguration">Windows operating system
 /// settings on the virtual machine.</param>
 /// <param name="dataDisks">The configuration for data disks attached
 /// to the compute nodes in the pool.</param>
 /// <param name="licenseType">The type of on-premises license to be
 /// used when deploying the operating system.</param>
 /// <param name="containerConfiguration">The container configuration
 /// for the pool.</param>
 public VirtualMachineConfiguration(ImageReference imageReference, string nodeAgentSkuId, WindowsConfiguration windowsConfiguration = default(WindowsConfiguration), IList <DataDisk> dataDisks = default(IList <DataDisk>), string licenseType = default(string), ContainerConfiguration containerConfiguration = default(ContainerConfiguration))
 {
     ImageReference         = imageReference;
     NodeAgentSkuId         = nodeAgentSkuId;
     WindowsConfiguration   = windowsConfiguration;
     DataDisks              = dataDisks;
     LicenseType            = licenseType;
     ContainerConfiguration = containerConfiguration;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the VirtualMachineConfiguration
 /// class.
 /// </summary>
 /// <param name="imageReference">A reference to the Azure Virtual
 /// Machines Marketplace Image or the custom Virtual Machine Image to
 /// use.</param>
 /// <param name="nodeAgentSkuId">The SKU of the Batch node agent to be
 /// provisioned on compute nodes in the pool.</param>
 /// <param name="osDisk">Settings for the operating system disk of the
 /// Virtual Machine.</param>
 /// <param name="windowsConfiguration">Windows operating system
 /// settings on the virtual machine.</param>
 /// <param name="dataDisks">The configuration for data disks attached
 /// to the comptue nodes in the pool.</param>
 /// <param name="licenseType">The type of on-premises license to be
 /// used when deploying the operating system.</param>
 public VirtualMachineConfiguration(ImageReference imageReference, string nodeAgentSkuId, OSDisk osDisk = default(OSDisk), WindowsConfiguration windowsConfiguration = default(WindowsConfiguration), IList <DataDisk> dataDisks = default(IList <DataDisk>), string licenseType = default(string))
 {
     ImageReference       = imageReference;
     OsDisk               = osDisk;
     NodeAgentSkuId       = nodeAgentSkuId;
     WindowsConfiguration = windowsConfiguration;
     DataDisks            = dataDisks;
     LicenseType          = licenseType;
     CustomInit();
 }