| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.Security.KeyVault.Administration.Models |
| | 11 | | { |
| | 12 | | /// <summary> The SASTokenParameter. </summary> |
| | 13 | | internal partial class SASTokenParameter |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of SASTokenParameter. </summary> |
| | 16 | | /// <param name="storageResourceUri"> Azure Blob storage container Uri. </param> |
| | 17 | | /// <param name="token"> The SAS token pointing to an Azure Blob storage container. </param> |
| | 18 | | /// <exception cref="ArgumentNullException"> <paramref name="storageResourceUri"/> or <paramref name="token"/> i |
| 8 | 19 | | public SASTokenParameter(string storageResourceUri, string token) |
| | 20 | | { |
| 8 | 21 | | if (storageResourceUri == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(storageResourceUri)); |
| | 24 | | } |
| 8 | 25 | | if (token == null) |
| | 26 | | { |
| 0 | 27 | | throw new ArgumentNullException(nameof(token)); |
| | 28 | | } |
| | 29 | |
|
| 8 | 30 | | StorageResourceUri = storageResourceUri; |
| 8 | 31 | | Token = token; |
| 8 | 32 | | } |
| | 33 | |
|
| | 34 | | /// <summary> Azure Blob storage container Uri. </summary> |
| 8 | 35 | | public string StorageResourceUri { get; } |
| | 36 | | /// <summary> The SAS token pointing to an Azure Blob storage container. </summary> |
| 8 | 37 | | public string Token { get; } |
| | 38 | | } |
| | 39 | | } |