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