| | 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 | | /// Information used to connect to an Azure Fileshare. |
| | 18 | | /// </summary> |
| | 19 | | public partial class AzureFileShareConfiguration |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the AzureFileShareConfiguration |
| | 23 | | /// class. |
| | 24 | | /// </summary> |
| 2284 | 25 | | public AzureFileShareConfiguration() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 2284 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the AzureFileShareConfiguration |
| | 32 | | /// class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="accountName">The Azure Storage account name.</param> |
| | 35 | | /// <param name="azureFileUrl">The Azure Files URL.</param> |
| | 36 | | /// <param name="accountKey">The Azure Storage account key.</param> |
| | 37 | | /// <param name="relativeMountPath">The relative path on the compute |
| | 38 | | /// node where the file system will be mounted</param> |
| | 39 | | /// <param name="mountOptions">Additional command line options to pass |
| | 40 | | /// to the mount command.</param> |
| 0 | 41 | | public AzureFileShareConfiguration(string accountName, string azureFileUrl, string accountKey, string relativeMo |
| | 42 | | { |
| 0 | 43 | | AccountName = accountName; |
| 0 | 44 | | AzureFileUrl = azureFileUrl; |
| 0 | 45 | | AccountKey = accountKey; |
| 0 | 46 | | RelativeMountPath = relativeMountPath; |
| 0 | 47 | | MountOptions = mountOptions; |
| | 48 | | CustomInit(); |
| 0 | 49 | | } |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// An initialization method that performs custom operations like setting defaults |
| | 53 | | /// </summary> |
| | 54 | | partial void CustomInit(); |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets or sets the Azure Storage account name. |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "accountName")] |
| 5270 | 60 | | public string AccountName { get; set; } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets the Azure Files URL. |
| | 64 | | /// </summary> |
| | 65 | | /// <remarks> |
| | 66 | | /// This is of the form 'https://{account}.file.core.windows.net/'. |
| | 67 | | /// </remarks> |
| | 68 | | [JsonProperty(PropertyName = "azureFileUrl")] |
| 5271 | 69 | | public string AzureFileUrl { get; set; } |
| | 70 | |
|
| | 71 | | /// <summary> |
| | 72 | | /// Gets or sets the Azure Storage account key. |
| | 73 | | /// </summary> |
| | 74 | | [JsonProperty(PropertyName = "accountKey")] |
| 5249 | 75 | | public string AccountKey { get; set; } |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// Gets or sets the relative path on the compute node where the file |
| | 79 | | /// system will be mounted |
| | 80 | | /// </summary> |
| | 81 | | /// <remarks> |
| | 82 | | /// All file systems are mounted relative to the Batch mounts |
| | 83 | | /// directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment |
| | 84 | | /// variable. |
| | 85 | | /// </remarks> |
| | 86 | | [JsonProperty(PropertyName = "relativeMountPath")] |
| 5237 | 87 | | public string RelativeMountPath { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets additional command line options to pass to the mount |
| | 91 | | /// command. |
| | 92 | | /// </summary> |
| | 93 | | /// <remarks> |
| | 94 | | /// These are 'net use' options in Windows and 'mount' options in |
| | 95 | | /// Linux. |
| | 96 | | /// </remarks> |
| | 97 | | [JsonProperty(PropertyName = "mountOptions")] |
| 5236 | 98 | | public string MountOptions { get; set; } |
| | 99 | |
|
| | 100 | | } |
| | 101 | | } |