| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | namespace Azure.Storage.Blobs.Specialized |
| | 5 | | { |
| | 6 | | /// <summary> |
| | 7 | | /// Provides advanced client configuration options for connecting to Azure Blob |
| | 8 | | /// Storage. |
| | 9 | | /// </summary> |
| | 10 | | #pragma warning disable AZC0008 // ClientOptions should have a nested enum called ServiceVersion; This is an extension o |
| | 11 | | public class SpecializedBlobClientOptions : BlobClientOptions |
| | 12 | | #pragma warning restore AZC0008 // ClientOptions should have a nested enum called ServiceVersion |
| | 13 | | { |
| | 14 | | /// <summary> |
| | 15 | | /// Initializes a new instance of the <see cref="BlobClientOptions"/> |
| | 16 | | /// class. |
| | 17 | | /// </summary> |
| | 18 | | /// <param name="version"> |
| | 19 | | /// The <see cref="BlobClientOptions.ServiceVersion"/> of the service API used when |
| | 20 | | /// making requests. |
| | 21 | | /// </param> |
| 0 | 22 | | public SpecializedBlobClientOptions(ServiceVersion version = LatestVersion) : base(version) |
| | 23 | | { |
| 0 | 24 | | } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Settings for data encryption when uploading and downloading with a <see cref="BlobClient"/>. |
| | 28 | | /// Client-side encryption adds metadata to your blob which is necessary for decryption. |
| | 29 | | /// |
| | 30 | | /// For more information, see <a href="https://docs.microsoft.com/en-us/azure/storage/common/storage-client-side |
| | 31 | | /// </summary> |
| | 32 | | public ClientSideEncryptionOptions ClientSideEncryption |
| | 33 | | { |
| 0 | 34 | | get => _clientSideEncryptionOptions; |
| 0 | 35 | | set => _clientSideEncryptionOptions = value; |
| | 36 | | } |
| | 37 | | } |
| | 38 | | } |