ComputeBatchModelFactory.BatchTaskContainerExecutionInfo 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 BatchTaskContainerExecutionInfo.
public static Azure.Compute.Batch.BatchTaskContainerExecutionInfo BatchTaskContainerExecutionInfo (string containerId = default, string state = default, string error = default);
static member BatchTaskContainerExecutionInfo : string * string * string -> Azure.Compute.Batch.BatchTaskContainerExecutionInfo
Public Shared Function BatchTaskContainerExecutionInfo (Optional containerId As String = Nothing, Optional state As String = Nothing, Optional error As String = Nothing) As BatchTaskContainerExecutionInfo
Parameters
- containerId
- String
The ID of the container.
- state
- String
The state of the container. This is the state of the container according to the Docker service. It is equivalent to the status field returned by "docker inspect".
- error
- String
Detailed error information about the container. This is the detailed error string from the Docker service, if available. It is equivalent to the error field returned by "docker inspect".
Returns
A new BatchTaskContainerExecutionInfo instance for mocking.
Applies to
Azure SDK for .NET