| | 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 | | /// The disk encryption configuration applied on compute nodes in the pool. |
| | 20 | | /// Disk encryption configuration is not supported on Linux pool created |
| | 21 | | /// with Shared Image Gallery Image. |
| | 22 | | /// </summary> |
| | 23 | | public partial class DiskEncryptionConfiguration |
| | 24 | | { |
| | 25 | | /// <summary> |
| | 26 | | /// Initializes a new instance of the DiskEncryptionConfiguration |
| | 27 | | /// class. |
| | 28 | | /// </summary> |
| 518 | 29 | | public DiskEncryptionConfiguration() |
| | 30 | | { |
| | 31 | | CustomInit(); |
| 518 | 32 | | } |
| | 33 | |
|
| | 34 | | /// <summary> |
| | 35 | | /// Initializes a new instance of the DiskEncryptionConfiguration |
| | 36 | | /// class. |
| | 37 | | /// </summary> |
| | 38 | | /// <param name="targets">The list of disk targets Batch Service will |
| | 39 | | /// encrypt on the compute node.</param> |
| 0 | 40 | | public DiskEncryptionConfiguration(IList<DiskEncryptionTarget> targets = default(IList<DiskEncryptionTarget>)) |
| | 41 | | { |
| 0 | 42 | | Targets = targets; |
| | 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 list of disk targets Batch Service will encrypt on |
| | 53 | | /// the compute node. |
| | 54 | | /// </summary> |
| | 55 | | /// <remarks> |
| | 56 | | /// If omitted, no disks on the compute nodes in the pool will be |
| | 57 | | /// encrypted. On Linux pool, only "TemporaryDisk" is supported; on |
| | 58 | | /// Windows pool, "OsDisk" and "TemporaryDisk" must be specified. |
| | 59 | | /// </remarks> |
| | 60 | | [JsonProperty(PropertyName = "targets")] |
| 1190 | 61 | | public IList<DiskEncryptionTarget> Targets { get; set; } |
| | 62 | |
|
| | 63 | | } |
| | 64 | | } |