/// <summary> /// Validate the object. /// </summary> /// <exception cref="Rest.ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { if (SetupTask != null) { SetupTask.Validate(); } }
/// <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(); }
/// <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(); } }
/// <summary> /// Initializes a new instance of the NodeSetup class. /// </summary> /// <param name="setupTask">Specifies a setup task which can be used to /// customize the compute nodes of the cluster. The NodeSetup task runs /// everytime a VM is rebooted. For that reason the task code needs to /// be idempotent. Generally it is used to either download static data /// that is required for all jobs that run on the cluster VMs or to /// download/install software.</param> /// <param name="mountVolumes">Information on shared volumes to be used /// by jobs.</param> public NodeSetup(SetupTask setupTask = default(SetupTask), MountVolumes mountVolumes = default(MountVolumes)) { SetupTask = setupTask; MountVolumes = mountVolumes; CustomInit(); }