コード例 #1
0
 internal PSWindowsConfiguration(Microsoft.Azure.Batch.WindowsConfiguration omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
コード例 #2
0
 internal PSWindowsConfiguration(Microsoft.Azure.Batch.WindowsConfiguration omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
コード例 #3
0
 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);
 }
コード例 #4
0
 /// <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;
 }
コード例 #5
0
 public PSWindowsConfiguration(System.Nullable <bool> enableAutomaticUpdates = null)
 {
     this.omObject = new Microsoft.Azure.Batch.WindowsConfiguration(enableAutomaticUpdates);
 }
コード例 #6
0
 public PSWindowsConfiguration(System.Nullable<bool> enableAutomaticUpdates = null)
 {
     this.omObject = new Microsoft.Azure.Batch.WindowsConfiguration(enableAutomaticUpdates);
 }