Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the NodeSetup class.
 /// </summary>
 /// <param name="setupTask">Setup task.</param>
 /// <param name="mountVolumes">Mount volumes.</param>
 /// <param name="performanceCountersSettings">Performance counters
 /// settings.</param>
 public NodeSetup(SetupTask setupTask = default(SetupTask), MountVolumes mountVolumes = default(MountVolumes), PerformanceCountersSettings performanceCountersSettings = default(PerformanceCountersSettings))
 {
     SetupTask    = setupTask;
     MountVolumes = mountVolumes;
     PerformanceCountersSettings = performanceCountersSettings;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (SetupTask != null)
     {
         SetupTask.Validate();
     }
     if (PerformanceCountersSettings != null)
     {
         PerformanceCountersSettings.Validate();
     }
 }