| | 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.EventHubs.Models |
| | 9 | | { |
| | 10 | | /// <summary> Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be re |
| | 11 | | public partial class RegenerateAccessKeyParameters |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of RegenerateAccessKeyParameters. </summary> |
| | 14 | | /// <param name="keyType"> The access key to regenerate. </param> |
| 24 | 15 | | public RegenerateAccessKeyParameters(KeyType keyType) |
| | 16 | | { |
| 24 | 17 | | KeyType = keyType; |
| 24 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of RegenerateAccessKeyParameters. </summary> |
| | 21 | | /// <param name="keyType"> The access key to regenerate. </param> |
| | 22 | | /// <param name="key"> Optional, if the key value provided, is set for KeyType or autogenerated Key value set fo |
| 0 | 23 | | internal RegenerateAccessKeyParameters(KeyType keyType, string key) |
| | 24 | | { |
| 0 | 25 | | KeyType = keyType; |
| 0 | 26 | | Key = key; |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> The access key to regenerate. </summary> |
| 24 | 30 | | public KeyType KeyType { get; } |
| | 31 | | /// <summary> Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType |
| 0 | 32 | | public string Key { get; set; } |
| | 33 | | } |
| | 34 | | } |