| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.ResourceManager.Storage.Models |
| | 9 | | { |
| | 10 | | /// <summary> An access key for the storage account. </summary> |
| | 11 | | public partial class StorageAccountKey |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of StorageAccountKey. </summary> |
| 0 | 14 | | internal StorageAccountKey() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of StorageAccountKey. </summary> |
| | 19 | | /// <param name="keyName"> Name of the key. </param> |
| | 20 | | /// <param name="value"> Base 64-encoded value of the key. </param> |
| | 21 | | /// <param name="permissions"> Permissions for the key -- read-only or full permissions. </param> |
| 24 | 22 | | internal StorageAccountKey(string keyName, string value, KeyPermission? permissions) |
| | 23 | | { |
| 24 | 24 | | KeyName = keyName; |
| 24 | 25 | | Value = value; |
| 24 | 26 | | Permissions = permissions; |
| 24 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> Name of the key. </summary> |
| 28 | 30 | | public string KeyName { get; } |
| | 31 | | /// <summary> Base 64-encoded value of the key. </summary> |
| 16 | 32 | | public string Value { get; } |
| | 33 | | /// <summary> Permissions for the key -- read-only or full permissions. </summary> |
| 8 | 34 | | public KeyPermission? Permissions { get; } |
| | 35 | | } |
| | 36 | | } |