| | 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.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// A reference to the Azure Virtual Machines Marketplace Image and |
| | 20 | | /// additional information about the Image. |
| | 21 | | /// </summary> |
| | 22 | | public partial class ImageInformation |
| | 23 | | { |
| | 24 | | /// <summary> |
| | 25 | | /// Initializes a new instance of the ImageInformation class. |
| | 26 | | /// </summary> |
| 1001 | 27 | | public ImageInformation() |
| | 28 | | { |
| | 29 | | CustomInit(); |
| 1001 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Initializes a new instance of the ImageInformation class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="nodeAgentSKUId">The ID of the Compute Node agent SKU |
| | 36 | | /// which the Image supports.</param> |
| | 37 | | /// <param name="imageReference">The reference to the Azure Virtual |
| | 38 | | /// Machine's Marketplace Image.</param> |
| | 39 | | /// <param name="osType">The type of operating system (e.g. Windows or |
| | 40 | | /// Linux) of the Image.</param> |
| | 41 | | /// <param name="verificationType">Whether the Azure Batch service |
| | 42 | | /// actively verifies that the Image is compatible with the associated |
| | 43 | | /// Compute Node agent SKU.</param> |
| | 44 | | /// <param name="capabilities">The capabilities or features which the |
| | 45 | | /// Image supports.</param> |
| | 46 | | /// <param name="batchSupportEndOfLife">The time when the Azure Batch |
| | 47 | | /// service will stop accepting create Pool requests for the |
| | 48 | | /// Image.</param> |
| 0 | 49 | | public ImageInformation(string nodeAgentSKUId, ImageReference imageReference, OSType osType, VerificationType ve |
| | 50 | | { |
| 0 | 51 | | NodeAgentSKUId = nodeAgentSKUId; |
| 0 | 52 | | ImageReference = imageReference; |
| 0 | 53 | | OsType = osType; |
| 0 | 54 | | Capabilities = capabilities; |
| 0 | 55 | | BatchSupportEndOfLife = batchSupportEndOfLife; |
| 0 | 56 | | VerificationType = verificationType; |
| | 57 | | CustomInit(); |
| 0 | 58 | | } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// An initialization method that performs custom operations like setting defaults |
| | 62 | | /// </summary> |
| | 63 | | partial void CustomInit(); |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// Gets or sets the ID of the Compute Node agent SKU which the Image |
| | 67 | | /// supports. |
| | 68 | | /// </summary> |
| | 69 | | [JsonProperty(PropertyName = "nodeAgentSKUId")] |
| 2488 | 70 | | public string NodeAgentSKUId { get; set; } |
| | 71 | |
|
| | 72 | | /// <summary> |
| | 73 | | /// Gets or sets the reference to the Azure Virtual Machine's |
| | 74 | | /// Marketplace Image. |
| | 75 | | /// </summary> |
| | 76 | | [JsonProperty(PropertyName = "imageReference")] |
| 2478 | 77 | | public ImageReference ImageReference { get; set; } |
| | 78 | |
|
| | 79 | | /// <summary> |
| | 80 | | /// Gets or sets the type of operating system (e.g. Windows or Linux) |
| | 81 | | /// of the Image. |
| | 82 | | /// </summary> |
| | 83 | | /// <remarks> |
| | 84 | | /// Possible values include: 'linux', 'windows' |
| | 85 | | /// </remarks> |
| | 86 | | [JsonProperty(PropertyName = "osType")] |
| 2488 | 87 | | public OSType OsType { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets the capabilities or features which the Image supports. |
| | 91 | | /// </summary> |
| | 92 | | /// <remarks> |
| | 93 | | /// Not every capability of the Image is listed. Capabilities in this |
| | 94 | | /// list are considered of special interest and are generally related |
| | 95 | | /// to integration with other features in the Azure Batch service. |
| | 96 | | /// </remarks> |
| | 97 | | [JsonProperty(PropertyName = "capabilities")] |
| 2514 | 98 | | public IList<string> Capabilities { get; set; } |
| | 99 | |
|
| | 100 | | /// <summary> |
| | 101 | | /// Gets or sets the time when the Azure Batch service will stop |
| | 102 | | /// accepting create Pool requests for the Image. |
| | 103 | | /// </summary> |
| | 104 | | [JsonProperty(PropertyName = "batchSupportEndOfLife")] |
| 2487 | 105 | | public System.DateTime? BatchSupportEndOfLife { get; set; } |
| | 106 | |
|
| | 107 | | /// <summary> |
| | 108 | | /// Gets or sets whether the Azure Batch service actively verifies that |
| | 109 | | /// the Image is compatible with the associated Compute Node agent SKU. |
| | 110 | | /// </summary> |
| | 111 | | /// <remarks> |
| | 112 | | /// Possible values include: 'verified', 'unverified' |
| | 113 | | /// </remarks> |
| | 114 | | [JsonProperty(PropertyName = "verificationType")] |
| 2495 | 115 | | public VerificationType VerificationType { get; set; } |
| | 116 | |
|
| | 117 | | } |
| | 118 | | } |