internal PSWindowsConfiguration(Microsoft.Azure.Batch.WindowsConfiguration omObject) { if ((omObject == null)) { throw new System.ArgumentNullException("omObject"); } this.omObject = omObject; }
internal PSWindowsConfiguration(Microsoft.Azure.Batch.WindowsConfiguration omObject) { if ((omObject == null)) { throw new System.ArgumentNullException("omObject"); } this.omObject = omObject; }
public PSVirtualMachineConfiguration(PSImageReference imageReference, string nodeAgentSkuId, PSWindowsConfiguration windowsConfiguration = default(PSWindowsConfiguration)) { Microsoft.Azure.Batch.WindowsConfiguration windowsConfigurationOmObject = null; if ((windowsConfiguration != null)) { windowsConfigurationOmObject = windowsConfiguration.omObject; } this.omObject = new Microsoft.Azure.Batch.VirtualMachineConfiguration(imageReference.omObject, nodeAgentSkuId, windowsConfigurationOmObject); }
/// <summary> /// Initializes a new instance of the <see cref="VirtualMachineConfiguration"/> class. /// </summary> /// <param name='imageReference'>A reference to the Azure Virtual Machines Marketplace image to use.</param> /// <param name='nodeAgentSkuId'>The SKU of Batch Node Agent to be provisioned on the compute node.</param> /// <param name='windowsConfiguration'>Windows operating system settings on the virtual machine. This property must not be specified if the ImageReference /// property specifies a Linux OS image.</param> public VirtualMachineConfiguration( ImageReference imageReference, string nodeAgentSkuId, WindowsConfiguration windowsConfiguration = default(WindowsConfiguration)) { this.propertyContainer = new PropertyContainer(); this.ImageReference = imageReference; this.NodeAgentSkuId = nodeAgentSkuId; this.WindowsConfiguration = windowsConfiguration; }
public PSWindowsConfiguration(System.Nullable <bool> enableAutomaticUpdates = null) { this.omObject = new Microsoft.Azure.Batch.WindowsConfiguration(enableAutomaticUpdates); }
public PSWindowsConfiguration(System.Nullable<bool> enableAutomaticUpdates = null) { this.omObject = new Microsoft.Azure.Batch.WindowsConfiguration(enableAutomaticUpdates); }