/// <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();
 }
示例#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="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>
 /// <param name="diskEncryptionConfiguration">The disk encryption
 /// configuration for the pool.</param>
 /// <param name="nodePlacementConfiguration">The node placement
 /// configuration for the pool.</param>
 /// <param name="extensions">The virtual machine extension 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), DiskEncryptionConfiguration diskEncryptionConfiguration = default(DiskEncryptionConfiguration), NodePlacementConfiguration nodePlacementConfiguration = default(NodePlacementConfiguration), IList <VMExtension> extensions = default(IList <VMExtension>))
 {
     ImageReference              = imageReference;
     NodeAgentSkuId              = nodeAgentSkuId;
     WindowsConfiguration        = windowsConfiguration;
     DataDisks                   = dataDisks;
     LicenseType                 = licenseType;
     ContainerConfiguration      = containerConfiguration;
     DiskEncryptionConfiguration = diskEncryptionConfiguration;
     NodePlacementConfiguration  = nodePlacementConfiguration;
     Extensions                  = extensions;
     CustomInit();
 }