| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.Batch.Protocol.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Contains information about the container which a Task is executing. |
| | 18 | | /// </summary> |
| | 19 | | public partial class TaskContainerExecutionInformation |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the TaskContainerExecutionInformation |
| | 23 | | /// class. |
| | 24 | | /// </summary> |
| 1500 | 25 | | public TaskContainerExecutionInformation() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 1500 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the TaskContainerExecutionInformation |
| | 32 | | /// class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="containerId">The ID of the container.</param> |
| | 35 | | /// <param name="state">The state of the container.</param> |
| | 36 | | /// <param name="error">Detailed error information about the |
| | 37 | | /// container.</param> |
| 0 | 38 | | public TaskContainerExecutionInformation(string containerId = default(string), string state = default(string), s |
| | 39 | | { |
| 0 | 40 | | ContainerId = containerId; |
| 0 | 41 | | State = state; |
| 0 | 42 | | Error = error; |
| | 43 | | CustomInit(); |
| 0 | 44 | | } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// An initialization method that performs custom operations like setting defaults |
| | 48 | | /// </summary> |
| | 49 | | partial void CustomInit(); |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets or sets the ID of the container. |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "containerId")] |
| 3721 | 55 | | public string ContainerId { get; set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets or sets the state of the container. |
| | 59 | | /// </summary> |
| | 60 | | /// <remarks> |
| | 61 | | /// This is the state of the container according to the Docker service. |
| | 62 | | /// It is equivalent to the status field returned by "docker inspect". |
| | 63 | | /// </remarks> |
| | 64 | | [JsonProperty(PropertyName = "state")] |
| 3737 | 65 | | public string State { get; set; } |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// Gets or sets detailed error information about the container. |
| | 69 | | /// </summary> |
| | 70 | | /// <remarks> |
| | 71 | | /// This is the detailed error string from the Docker service, if |
| | 72 | | /// available. It is equivalent to the error field returned by "docker |
| | 73 | | /// inspect". |
| | 74 | | /// </remarks> |
| | 75 | | [JsonProperty(PropertyName = "error")] |
| 3710 | 76 | | public string Error { get; set; } |
| | 77 | |
|
| | 78 | | } |
| | 79 | | } |