Udostępnij za pośrednictwem


MultiInstanceSettings Constructors

Definition

Overloads

MultiInstanceSettings()

Initializes a new instance of the MultiInstanceSettings class.

MultiInstanceSettings(String, Nullable<Int32>, IList<ResourceFile>)

Initializes a new instance of the MultiInstanceSettings class.

MultiInstanceSettings()

Source:
MultiInstanceSettings.cs

Initializes a new instance of the MultiInstanceSettings class.

public MultiInstanceSettings ();
Public Sub New ()

Applies to

MultiInstanceSettings(String, Nullable<Int32>, IList<ResourceFile>)

Source:
MultiInstanceSettings.cs

Initializes a new instance of the MultiInstanceSettings class.

public MultiInstanceSettings (string coordinationCommandLine, int? numberOfInstances = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ResourceFile> commonResourceFiles = default);
new Microsoft.Azure.Batch.Protocol.Models.MultiInstanceSettings : string * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ResourceFile> -> Microsoft.Azure.Batch.Protocol.Models.MultiInstanceSettings
Public Sub New (coordinationCommandLine As String, Optional numberOfInstances As Nullable(Of Integer) = Nothing, Optional commonResourceFiles As IList(Of ResourceFile) = Nothing)

Parameters

coordinationCommandLine
String

The command line to run on all the Compute Nodes to enable them to coordinate when the primary runs the main Task command.

numberOfInstances
Nullable<Int32>

The number of Compute Nodes required by the Task.

commonResourceFiles
IList<ResourceFile>

A list of files that the Batch service will download before running the coordination command line.

Applies to