ComputeBatchModelFactory.BatchNodeInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BatchNodeInfo.
public static Azure.Compute.Batch.BatchNodeInfo BatchNodeInfo (string affinityId = default, string nodeUrl = default, string poolId = default, string nodeId = default, string taskRootDirectory = default, string taskRootDirectoryUrl = default);
static member BatchNodeInfo : string * string * string * string * string * string -> Azure.Compute.Batch.BatchNodeInfo
Public Shared Function BatchNodeInfo (Optional affinityId As String = Nothing, Optional nodeUrl As String = Nothing, Optional poolId As String = Nothing, Optional nodeId As String = Nothing, Optional taskRootDirectory As String = Nothing, Optional taskRootDirectoryUrl As String = Nothing) As BatchNodeInfo
Parameters
- affinityId
- String
An identifier for the Node on which the Task ran, which can be passed when adding a Task to request that the Task be scheduled on this Compute Node.
- nodeUrl
- String
The URL of the Compute Node on which the Task ran.
- poolId
- String
The ID of the Pool on which the Task ran.
- nodeId
- String
The ID of the Compute Node on which the Task ran.
- taskRootDirectory
- String
The root directory of the Task on the Compute Node.
- taskRootDirectoryUrl
- String
The URL to the root directory of the Task on the Compute Node.
Returns
A new BatchNodeInfo instance for mocking.
Applies to
Azure SDK for .NET