| | | 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 Storage Container using |
| | | 18 | | /// Blobfuse. |
| | | 19 | | /// </summary> |
| | | 20 | | public partial class AzureBlobFileSystemConfiguration |
| | | 21 | | { |
| | | 22 | | /// <summary> |
| | | 23 | | /// Initializes a new instance of the AzureBlobFileSystemConfiguration |
| | | 24 | | /// class. |
| | | 25 | | /// </summary> |
| | 2305 | 26 | | public AzureBlobFileSystemConfiguration() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 2305 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the AzureBlobFileSystemConfiguration |
| | | 33 | | /// class. |
| | | 34 | | /// </summary> |
| | | 35 | | /// <param name="accountName">The Azure Storage Account name.</param> |
| | | 36 | | /// <param name="containerName">The Azure Blob Storage Container |
| | | 37 | | /// name.</param> |
| | | 38 | | /// <param name="relativeMountPath">The relative path on the compute |
| | | 39 | | /// node where the file system will be mounted</param> |
| | | 40 | | /// <param name="accountKey">The Azure Storage Account key.</param> |
| | | 41 | | /// <param name="sasKey">The Azure Storage SAS token.</param> |
| | | 42 | | /// <param name="blobfuseOptions">Additional command line options to |
| | | 43 | | /// pass to the mount command.</param> |
| | 0 | 44 | | public AzureBlobFileSystemConfiguration(string accountName, string containerName, string relativeMountPath, stri |
| | | 45 | | { |
| | 0 | 46 | | AccountName = accountName; |
| | 0 | 47 | | ContainerName = containerName; |
| | 0 | 48 | | AccountKey = accountKey; |
| | 0 | 49 | | SasKey = sasKey; |
| | 0 | 50 | | BlobfuseOptions = blobfuseOptions; |
| | 0 | 51 | | RelativeMountPath = relativeMountPath; |
| | | 52 | | CustomInit(); |
| | 0 | 53 | | } |
| | | 54 | | |
| | | 55 | | /// <summary> |
| | | 56 | | /// An initialization method that performs custom operations like setting defaults |
| | | 57 | | /// </summary> |
| | | 58 | | partial void CustomInit(); |
| | | 59 | | |
| | | 60 | | /// <summary> |
| | | 61 | | /// Gets or sets the Azure Storage Account name. |
| | | 62 | | /// </summary> |
| | | 63 | | [JsonProperty(PropertyName = "accountName")] |
| | 5302 | 64 | | public string AccountName { get; set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Gets or sets the Azure Blob Storage Container name. |
| | | 68 | | /// </summary> |
| | | 69 | | [JsonProperty(PropertyName = "containerName")] |
| | 5277 | 70 | | public string ContainerName { get; set; } |
| | | 71 | | |
| | | 72 | | /// <summary> |
| | | 73 | | /// Gets or sets the Azure Storage Account key. |
| | | 74 | | /// </summary> |
| | | 75 | | /// <remarks> |
| | | 76 | | /// This property is mutually exclusive with sasKey and one must be |
| | | 77 | | /// specified. |
| | | 78 | | /// </remarks> |
| | | 79 | | [JsonProperty(PropertyName = "accountKey")] |
| | 5271 | 80 | | public string AccountKey { get; set; } |
| | | 81 | | |
| | | 82 | | /// <summary> |
| | | 83 | | /// Gets or sets the Azure Storage SAS token. |
| | | 84 | | /// </summary> |
| | | 85 | | /// <remarks> |
| | | 86 | | /// This property is mutually exclusive with accountKey and one must be |
| | | 87 | | /// specified. |
| | | 88 | | /// </remarks> |
| | | 89 | | [JsonProperty(PropertyName = "sasKey")] |
| | 5300 | 90 | | public string SasKey { get; set; } |
| | | 91 | | |
| | | 92 | | /// <summary> |
| | | 93 | | /// Gets or sets additional command line options to pass to the mount |
| | | 94 | | /// command. |
| | | 95 | | /// </summary> |
| | | 96 | | /// <remarks> |
| | | 97 | | /// These are 'net use' options in Windows and 'mount' options in |
| | | 98 | | /// Linux. |
| | | 99 | | /// </remarks> |
| | | 100 | | [JsonProperty(PropertyName = "blobfuseOptions")] |
| | 5269 | 101 | | public string BlobfuseOptions { get; set; } |
| | | 102 | | |
| | | 103 | | /// <summary> |
| | | 104 | | /// Gets or sets the relative path on the compute node where the file |
| | | 105 | | /// system will be mounted |
| | | 106 | | /// </summary> |
| | | 107 | | /// <remarks> |
| | | 108 | | /// All file systems are mounted relative to the Batch mounts |
| | | 109 | | /// directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment |
| | | 110 | | /// variable. |
| | | 111 | | /// </remarks> |
| | | 112 | | [JsonProperty(PropertyName = "relativeMountPath")] |
| | 5273 | 113 | | public string RelativeMountPath { get; set; } |
| | | 114 | | |
| | | 115 | | } |
| | | 116 | | } |